Hurd: Fix port deallocation on mknod error.
[glibc.git] / ChangeLog
blobfa79b77af5d920f3d64c3836680a5d57b81ccf41
1 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4         if __dir_mkfile succeeded.
6         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7         checking for _hurd_dtablesize.  Unlock it right after having
8         finished _hurd_dtable allocation.
10 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13         * sysdeps/mach/hurd/configure: Regenerated.
14         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15         special-casing to...
16         * sysdeps/gnu/configure.in: ... this new file.
17         * sysdeps/unix/sysv/linux/configure: Regenerated.
18         * sysdeps/gnu/configure: New generated file.
20         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21         for Linux: use nsec instead of usec, as well as:
22         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23         members of type struct timespec.
24         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25         New macros.
26         (struct stat64): Likewise.
27         (_STATBUF_ST_NSEC): New macro.
28         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31         __strtoul_internal rather than strtoul.
33 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36         and reject them.
38 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41         which preserves existing values.
42         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48         greater than FD_SETSIZE.
50 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
53         allocated, call __vm_protect to finish enabling the existing space, and
54         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
55         allocate the remainder.
57 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
60         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65         sysdeps/mach/hurd/readlink.c.
67         * posix/tst-sysconf.c (posix_options): Only use
68         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69         _POSIX_SYNCHRONIZED_IO when they are defined
70         * sysdeps/mach/hurd/bits/posix_opt.h:
71         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72         (_XOPEN_REALTIME): Undefine macro.
73         (_XOPEN_REALTIME_THREADS): Undefine macro.
74         (_XOPEN_SHM): Undefine macro.
75         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76         macro to -1.
77         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
78         macro to -1.
79         (_POSIX_ASYNC_IO): Undefine macro.
80         (_POSIX_PRIORITIZED_IO): Undefine macro.
81         (_POSIX_SPIN_LOCKS): Define macro to -1.
83         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
84         SA_NODEFER, SA_RESETHAND.
85         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
86         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
87         F_DUPFD_CLOEXEC.
89 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
91         * elf/Makefile (pldd-modules): Define unconditionally.
93 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
95         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
97 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
99         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
100         Return ENOENT when name is empty.
101         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
103 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
105         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
107         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
109 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
111         Fix mlock in all cases except non-readable pages.
112         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
113         instead of VM_PROT_ALL as parameter to __vm_wire function.
115         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
116         (__mkdir): When path is `/', just fail with EEXIST.
117         * sysdeps/mach/hurd/mkdirat.c: Likewise.
119 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
121         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
122         <sys/uio.h> (for writev).
123         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
124         and <sys/param.h> (for MIN).
126 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
128         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
129         REQUESTED_TIME.  Properly set the remaining time and return EINTR
130         if interrupted.
132 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
134         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
135         Depend on against $(link-rpcuserlibs).
137 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
139         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
140         (__libc_stack_end): Do not use attribute_relro.
141         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
142         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
143         to libthread-provided value.
144         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
145         attribute_relro.
147 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
149         [BZ #3748]
150         * bits/libc-lock.h (__libc_once_get): New macro.
151         * sysdeps/mach/bits/libc-lock.h: Likewise.
152         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
153         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
154         instead of using implementation details.
156         * libio/fileops.c: Unconditionally include <kernel-features.h>.
157         * libio/freopen.c: Likewise.
158         * libio/freopen64.c: Likewise.
159         * misc/syslog.c: Likewise.
160         * nscd/connections.c: Likewise.
161         * nscd/netgroupcache.c: Likewise.
162         * sysdeps/posix/getcwd.c: Likewise.
164 2012-05-10  Roland McGrath  <roland@hack.frob.com>
166         * math/w_ilogbf.c: Add #include <limits.h>.
168 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
170         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
171         path instead of returning without unlocking.
173         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
174         immediate-write ioctls.
175         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
177 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
179         * sysdeps/mach/hurd/i386/init-first.c (init): Use
180         __builtin_frame_address instead of making assumptions about the
181         location of the return address relative to DATA.  Force early load of
182         the return address.
183         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
184         __builtin_frame_address.
186         dup3 for GNU Hurd.
187         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
188         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
189         implement dup3 and do some further code clean-ups.
190         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
191         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
193 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
195         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
197         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
198         HURD_CRITICAL_END around holding _hurd_dtable_lock.
199         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
200         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
201         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
202         d->port.lock.
204         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
205         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
206         when handler == SIG_ERR, not when handler != SIG_ERR.
208 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
210         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
211         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
212         definitions.
214         accept4 for GNU Hurd.
215         * include/sys/socket.h (__libc_accept4): New prototype.
216         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
217         to implement __libc_accept4.
218         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
219         __libc_accept4.
220         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
222         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
223         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
224         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
225         signal-defines.sym.
227 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
229         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
231 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
233         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
234         assertion on O_CLOEXEC flag.
235         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
236         * hurd/intern-fd.c: Likewise.
237         * hurd/port2fd.c: Likewise.
239 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
241         [BZ #3906]
242         * bits/in.h (IPV6_PKTINFO): Define new macro.
243         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
245 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
247         [BZ #13954]
248         [BZ #13955]
249         [BZ #13956]
250         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
251         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
252         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
253         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
254         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
255         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
256         * math/libm-test.inc (logb_test) : Additional logb tests.
258 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
259             Andreas Jaeger  <aj@suse.de>
261         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
262         * configure: Regenerated.
263         * config.h.in (LINK_OBSOLETE_RPC): New macro.
264         * config.make.in (link-obsolete-rpc): New substituted variable.
265         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
266         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
267         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
268         (shared-only-routines): Don't set it under [link-obsolete-rpc],
269         so that libc.a contains the symbols.
270         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
271         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
272         * sunrpc/auth_none.c: Likewise.
273         * sunrpc/auth_unix.c: Likewise.
274         * sunrpc/authdes_prot.c: Likewise.
275         * sunrpc/authuxprot.c: Likewise.
276         * sunrpc/clnt_gen.c: Likewise.
277         * sunrpc/clnt_perr.c: Likewise.
278         * sunrpc/clnt_raw.c: Likewise.
279         * sunrpc/clnt_simp.c: Likewise.
280         * sunrpc/clnt_tcp.c: Likewise.
281         * sunrpc/clnt_udp.c: Likewise.
282         * sunrpc/clnt_unix.c: Likewise.
283         * sunrpc/des_crypt.c: Likewise.
284         * sunrpc/des_soft.c: Likewise.
285         * sunrpc/get_myaddr.c: Likewise.
286         * sunrpc/key_call.c: Likewise.
287         * sunrpc/key_prot.c: Likewise.
288         * sunrpc/netname.c: Likewise.
289         * sunrpc/pm_getmaps.c: Likewise.
290         * sunrpc/pm_getport.c: Likewise.
291         * sunrpc/pmap_clnt.c: Likewise.
292         * sunrpc/pmap_prot.c: Likewise.
293         * sunrpc/pmap_prot2.c: Likewise.
294         * sunrpc/pmap_rmt.c: Likewise.
295         * sunrpc/publickey.c: Likewise.
296         * sunrpc/rpc_cmsg.c: Likewise.
297         * sunrpc/rpc_common.c: Likewise.
298         * sunrpc/rpc_dtable.c: Likewise.
299         * sunrpc/rpc_prot.c: Likewise.
300         * sunrpc/rpc_thread.c: Likewise.
301         * sunrpc/rtime.c: Likewise.
302         * sunrpc/svc.c: Likewise.
303         * sunrpc/svc_auth.c: Likewise.
304         * sunrpc/svc_raw.c: Likewise.
305         * sunrpc/svc_run.c: Likewise.
306         * sunrpc/svc_tcp.c: Likewise.
307         * sunrpc/svc_udp.c: Likewise.
308         * sunrpc/svc_unix.c: Likewise.
309         * sunrpc/svcauth_des.c: Likewise.
310         * sunrpc/xcrypt.c: Likewise.
311         * sunrpc/xdr.c: Likewise.
312         * sunrpc/xdr_array.c: Likewise.
313         * sunrpc/xdr_float.c: Likewise.
314         * sunrpc/xdr_intXX_t.c: Likewise.
315         * sunrpc/xdr_mem.c: Likewise.
316         * sunrpc/xdr_rec.c: Likewise.
317         * sunrpc/xdr_ref.c: Likewise.
318         * sunrpc/xdr_sizeof.c: Likewise.
319         * sunrpc/xdr_stdio.c: Likewise.
321 2012-05-10  Roland McGrath  <roland@hack.frob.com>
323         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
324         change.  Update copyright years.
326 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
328         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
330 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
331             Joseph Myers  <joseph@codesourcery.com>
332             Paul Pluzhnikov  <ppluzhnikov@google.com>
334         [BZ #14012]
335         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
336         requiring rpcgen.
337         [cross-compiling] (extra-libs): Likewise.
338         [cross-compiling] (extra-libs-others): Likewise.
339         [cross-compiling] (librpcsvc-routines): Likewise.
340         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
341         [cross-compiling] (omit-deps): Likewise.
342         (sunrpc-CPPFLAGS): New variable.
343         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
344         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
345         (cross-rpcgen-objs): New variable.
346         (extra-objs): Append $(cross-rpcgen-objs).
347         ($(cross-rpcgen-objs)): New rule.
348         ($(objpfx)cross-rpcgen): Likewise.
349         (rpcgen-cmd): Define to use $(built-program-file).  Expand
350         comment.
351         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
352         ($(objpfx)x%.stmp): Likewise.
353         * sunrpc/proto.h [IS_IN_build] (_): Define.
354         [IS_IN_build] (_libc_intl_domainname): Likewise.
356 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
358         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
359         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
360         and R_X86_64_TPOFF64.
362 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
364         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
365         sysdeps/unix/sysv/syscalls.list.
366         (stime): Likewise.
367         (utime): Likewise.
368         * sysdeps/unix/sysv/syscalls.list: Remove file.
370 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
372         [BZ #3440]
373         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
374         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
375         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
376         (__LC_IDENTIFICATION): Make these macros useful in #if
377         expressions, as required by C99.
379 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
381         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
382         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
383         after this.
385 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
387         * stdlib/longlong.h: Updated from GCC.
389 2012-05-09  Andreas Jaeger  <aj@suse.de>
391         * nscd/nscd.c (run_modes): Make named enum, reorder so that
392         default is first entry.
393         (run_mode): Set type.
394         (main): Remove informal message about syslog.
395         (options): Fix typo.
397         [BZ #14053]
398         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
399         to asm.
400         (lrint): Likewise.
401         (llrintf): Likewise.
402         (llrint): Likewise.
403         (rint): Likewise.
404         (rintf): Likewise.
405         (nearbyint): Likewise.
406         (nearbyintf): Likewise.
408 2012-05-09  Andreas Jaeger  <aj@suse.de>
409             Pedro Alves  <palves@redhat.com>
411         * nscd/nscd.c (run_mode): Use enum.
412         (main): Cleanup coding style issue.
414 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
415             Andreas Jaeger  <aj@suse.de>
417         * nscd/nscd.c (go_background): Replaced with...
418         (run_mode): ... this.
419         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
420         (options): Add -F --foreground.
421         (main): Implement it.
422         (parse_opt): Parse it.
424 2012-05-09  Andreas Jaeger  <aj@suse.de>
426         [BZ #14083]
427         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
428         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
429         -Wconversion warning.
430         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
431         Likewise.
433 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
435         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
436         == 0.
437         (LC_ALL): Use macro-int-constant.
438         (LC_COLLATE): Likewise.
439         (LC_CTYPE): Likewise.
440         (LC_MESSAGES): Likewise.
441         (LC_MONETARY): Likewise.
442         (LC_NUMERIC): Likewise.
443         (LC_TIME): Likewise.
444         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
445         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
446         [ISO || ISO99 || ISO11] (*_t): Do not allow.
447         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
448         Specify type.
449         [C99-based standards] (float_t): Expect type.
450         [C99-based standards] (double_t): Expect type.
451         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
452         type.
453         [C99-based standards] (HUGE_VALL): Likewise.
454         [C99-based standards] (INFINITY): Likewise.
455         [C99-based standards] (NAN): Likewise.
456         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
457         [C99-based standards] (FP_NAN): Likewise.
458         [C99-based standards] (FP_NORMAL): Likewise.
459         [C99-based standards] (FP_SUBNORMAL): Likewise.
460         [C99-based standards] (FP_ZERO): Likewise.
461         [C99-based standards] (FP_FAST_FMA): Use
462         optional-macro-int-constant.  Specify type.  Require == 1.
463         [C99-based standards] (FP_FAST_FMAF): Likewise.
464         [C99-based standards] (FP_FAST_FMAL): Likewise.
465         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
466         [C99-based standards] (FP_ILOGBNAN): Likewise.
467         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
468         Specify type.
469         [C99-based standards] (MATH_ERREXCEPT): Likewise.
470         [C99-based standards] (math_errhandling): Specify type.
471         [ISO99 || ISO11] (signgam): Do not allow.
472         [non-C99-based standards] (copysignf): Do not allow.
473         [non-C99-based standards] (exp2f): Likewise.
474         [non-C99-based standards] (log2f): Likewise.
475         [non-C99-based standards] (modff): Allow.
476         [non-C99-based standards] (erff): Do not allow.
477         [non-C99-based standards] (erfcf): Likewise.
478         [non-C99-based standards] (gammaf): Likewise.
479         [non-C99-based standards] (hypotf): Likewise.
480         [non-C99-based standards] (j0f): Likewise.
481         [non-C99-based standards] (j1f): Likewise.
482         [non-C99-based standards] (jnf): Likewise.
483         [non-C99-based standards] (lgammaf): Likewise.
484         [non-C99-based standards] (tgammaf): Likewise.
485         [non-C99-based standards] (y0f): Likewise.
486         [non-C99-based standards] (y1f): Likewise.
487         [non-C99-based standards] (ynf): Likewise.
488         [non-C99-based standards] (isnanf): Likewise.
489         [non-C99-based standards] (acoshf): Likewise.
490         [non-C99-based standards] (asinhf): Likewise.
491         [non-C99-based standards] (atanhf): Likewise.
492         [non-C99-based standards] (cbrtf): Likewise.
493         [non-C99-based standards] (expm1f): Likewise.
494         [non-C99-based standards] (ilogbf): Likewise.
495         [non-C99-based standards] (log1pf): Likewise.
496         [non-C99-based standards] (logbf): Likewise.
497         [non-C99-based standards] (nextafterf): Likewise.
498         [non-C99-based standards] (remainderf): Likewise.
499         [non-C99-based standards] (rintf): Likewise.
500         [non-C99-based standards] (scalbf): Likewise.
501         [non-C99-based standards] (copysignl): Likewise.
502         [non-C99-based standards] (exp2l): Likewise.
503         [non-C99-based standards] (log2l): Likewise.
504         [non-C99-based standards] (modfl): Allow.
505         [non-C99-based standards] (erfl): Do not allow.
506         [non-C99-based standards] (erfcl): Likewise.
507         [non-C99-based standards] (gammal): Likewise.
508         [non-C99-based standards] (hypotl): Likewise.
509         [non-C99-based standards] (j0l): Likewise.
510         [non-C99-based standards] (j1l): Likewise.
511         [non-C99-based standards] (jnl): Likewise.
512         [non-C99-based standards] (lgammal): Likewise.
513         [non-C99-based standards] (tgammal): Likewise.
514         [non-C99-based standards] (y0l): Likewise.
515         [non-C99-based standards] (y1l): Likewise.
516         [non-C99-based standards] (ynl): Likewise.
517         [non-C99-based standards] (isnanl): Likewise.
518         [non-C99-based standards] (acoshl): Likewise.
519         [non-C99-based standards] (asinhl): Likewise.
520         [non-C99-based standards] (atanhl): Likewise.
521         [non-C99-based standards] (cbrtl): Likewise.
522         [non-C99-based standards] (expm1l): Likewise.
523         [non-C99-based standards] (ilogbl): Likewise.
524         [non-C99-based standards] (log1pl): Likewise.
525         [non-C99-based standards] (logbl): Likewise.
526         [non-C99-based standards] (nextafterl): Likewise.
527         [non-C99-based standards] (remainderl): Likewise.
528         [non-C99-based standards] (rintl): Likewise.
529         [non-C99-based standards] (scalbl): Likewise.
530         [ISO || ISO99 || ISO11] (*_t): Do not allow.
531         [non-C99-based standards] (FP_*): Do not allow.
532         [C99-based standards] (FP_*): Change to
533         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
534         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
535         allow.
536         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
537         (SIG_ERR): Likewise.
538         [X/Open-based standards] (SIG_HOLD): Likewise.
539         (SIG_IGN): Likewise.
540         (SIGABRT): Use macro-int-constant.  Specify type.  Require
541         positive value.
542         (SIGFPE): Likewise.
543         (SIGILL): Likewise.
544         (SIGINT): Likewise.
545         (SIGSEGV): Likewise.
546         (SIGTER): Likewise.
547         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
548         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
549         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
550         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
551         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
552         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
553         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
554         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
555         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
556         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
557         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
558         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
559         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
560         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
561         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
562         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
563         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
564         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
565         [X/Open-based standards] (SIGTRAP): Likewise.
566         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
567         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
568         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
569         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
570         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
571         allow.
573 2012-05-08  Ian Wienand  <ianw@vmware.com>
575         [BZ #14080]
576         * time/tzset.c (__tzset_parse_tz): Update default rules for
577         daylight time changes in the Energy Policy Act of 2005.
579 2012-05-09  Andreas Jaeger  <aj@suse.de>
581         [BZ #13983]
582         * elf/ldconfig.c (parse_conf): Change string to make clear that
583         ldconfig only issued a warning if ld.so.conf does not exist.
585 2012-05-08  David S. Miller  <davem@davemloft.net>
587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
588         movxtod instead of popping the value on the stack.
590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
592 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
594         * config.h.in: Add HAVE_ARM_PCS_VFP.
596 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
598         [BZ #13979]
599         * include/features.h: Warn if user requests __FORTIFY_SOURCE
600         checking but the checks are disabled for any reason.
602 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
604         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
605         and ELF64_R_TYPE with ELFW(R_TYPE).
607 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
609         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
610         (ulimit): Likewise.
612         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
613         (settimeofday): Likewise.
615 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
617         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
618         a struct th_u2 inside the union, and move tu_block/tu_code into
619         a new th_u3 union of tu_block/tu_code inside of that.  Move
620         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
621         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
622         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
623         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
624         (th_stuff): Change to th_u1.tu_stuff.
625         (th_data): Define.
626         (th_msg): Change to th_u1.th_u2.tu_data.
628 2012-05-07  David S. Miller  <davem@davemloft.net>
630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
632         [BZ #14074]
633         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
634         (SETUP_PIC_REG): Use it.
635         (SETUP_PIC_REG_LEAF): Use it.
637 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
639         [BZ #13885]
640         [BZ #13923]
641         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
642         USE_AS_EXPM1L.
643         (EXPL_FINITE): Likewise.
644         (FLDLOG): Likewise.
645         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
646         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
647         e_expl.S.
648         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
649         USE_AS_EXPM1L.
650         (EXPL_FINITE): Likewise.
651         (FLDLOG): Likewise.
652         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
653         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
654         e_expl.S.
655         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
656         test of -max_value argument for long double.
657         * sysdeps/i386/fpu/libm-test-ulps: Update.
658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
660 2012-05-06  David S. Miller  <davem@davemloft.net>
662         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
663         quad soft-float symbols whose references which are compiler
664         generated.
665         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
667 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
669         [BZ #13884]
670         [BZ #13914]
671         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
672         USE_AS_EXP10L.
673         (EXPL_FINITE): Likewise.
674         (FLDLOG): Likewise.
675         (c0): Likewise.
676         (c1): Likewise.
677         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
678         Adjust comments for base varying.
679         (__expl_finite): Change alias to EXPL_FINITE.
680         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
681         e_expl.S.
682         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
683         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
684         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
685         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
686         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
687         USE_AS_EXP10L.
688         (EXPL_FINITE): Likewise.
689         (FLDLOG): Likewise.
690         (c0): Likewise.
691         (c1): Likewise.
692         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
693         Adjust comments for base varying.
694         (__expl_finite): Change alias to EXPL_FINITE.
695         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
696         tests for bugs.
697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
699         [BZ #14064]
700         * math/libm-test.inc (check_float_internal): Correct ulp
701         calculation for subnormal expected results.
703 2012-05-06  Andreas Jaeger  <aj@suse.de>
705         * Makeconfig (+math-flags): New, set to -frounding-math.
706         (+cflags): Add +math-flags so that all of glibc gets compiled with
707         it.
709         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
711 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
713         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
714         Disable one test.
716         [BZ #13787]
717         [BZ #13922]
718         [BZ #14036]
719         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
720         (__ieee754_expl): Allow for and saturate large arguments.
721         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
722         (u_threshold): Likewise.
723         (__exp): Call __ieee754_exp before checking for overflow and
724         underflow.
725         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
726         (u_threshold): Likewise.
727         (__expf): Call __ieee754_expf before checking for overflow and
728         underflow.
729         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
730         (u_threshold): Likewise.
731         (__expl): Call __ieee754_expl before checking for overflow and
732         underflow.
733         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
734         (__ieee754_expl): Allow for and saturate large arguments.
735         * math/libm-test.inc (exp_test): Add another test.  Do not allow
736         missing overflow exception on overflow.
737         (expm1_test): Do not allow missing overflow exception on overflow.
739         * sysdeps/i386/fpu/e_expl.c: Move to ...
740         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
741         rather than using inline asm.
742         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
743         * sysdeps/x86_64/fpu/e_expl.S: Copy from
744         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
746         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
747         (nice): Likewise.
748         (poll): Likewise.
749         (signal): Likewise.
750         (time): Likewise.
751         (times): Likewise.
753 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
755         * sysdeps/unix/syscalls.list (adjtime): Add entry from
756         sysdeps/unix/common/syscalls.list.
757         (fchmod): Likewise.
758         (fchown): Likewise.
759         (ftruncate): Likewise.
760         (getrusage): Likewise.
761         (gettimeofday): Likewise.
762         (setpgid): Likewise.
763         (setregid): Likewise.
764         (setreuid): Likewise.
765         (sigaction): Likewise.
766         (truncate): Likewise.
767         (vhangup): Likewise.
768         * sysdeps/unix/common/syscalls.list: Remove file.
769         * sysdeps/unix/bsd/Implies: Don't include unix/common.
770         * sysdeps/unix/sysv/linux/Implies: Likewise.
772 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
774         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
776         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
777         Moved to ...
778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
779         Here.
780         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
781         to ...
782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
783         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
784         to ...
785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
786         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
787         to ...
788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
789         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
790         to ...
791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
792         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
793         to ...
794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
795         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
796         to ...
797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
798         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
799         to ...
800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
801         Here.
802         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
803         to ...
804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
805         Here.
806         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
807         to ...
808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
809         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
810         Moved to ...
811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
812         Here.
813         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
814         to ...
815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
817 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
819         * sysdeps/unix/common/bits/dirent.h: Remove file.
820         * sysdeps/unix/common/bits/fcntl.h: Likewise.
822         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
823         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
824         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
825         * sysdeps/unix/bsd/isatty.c: Likewise.
826         * sysdeps/unix/bsd/tcdrain.c: Likewise.
827         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
828         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
830 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
832         [BZ #13563]
833         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
834         long double comparison inaccuracies.
835         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
838 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
840         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
841         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
843 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
845         [BZ #14049]
846         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
847         nonzero digits before rounding a hex value.
848         * stdlib/tst-strtod.c (tests): Add another test.
850 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
852         * sysdeps/s390/fpu/libm-test-ulps: Update.
854 2012-05-03  Andreas Jaeger  <aj@suse.de>
856         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
857         does not get optimized out.
858         (malloc_opt_barrier): New.
860 2012-05-03  Andreas Jaeger  <aj@suse.de>
861             Roland McGrath  <roland@hack.frob.com>
863         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
864         intermediate file deletion.
865         (generated): Add .symlist files.
867 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
869         [BZ #13775]
870         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
871         Redirect under this condition.
872         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
873         [__USE_GNU] (__dprintf_chk): Not under this condition.
874         [__USE_GNU] (__vdprintf_chk): Likewise.
875         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
876         under this condition.
877         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
878         [__USE_XOPEN2K8] (dprintf): Define under this condition.
879         [__USE_XOPEN2K8] (vdprintf): Likewise.
880         [__USE_GNU] (__dprintf_chk): Not under this condition.
881         [__USE_GNU] (__vdprintf_chk): Likewise.
882         [__USE_GNU] (dprintf): Likewise.
883         [__USE_GNU] (vdprintf): Likewise.
885 2012-05-03  Roland McGrath  <roland@hack.frob.com>
887         * elf/Makefile (common-generated): Set this instead of generated for
888         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
889         $(all-built-dso)-derived lists.
891 2012-05-03  Andreas Jaeger  <aj@suse.de>
893         * sysdeps/i386/fpu/libm-test-ulps: Update.
895         * FAQ: Removed.
896         * FAQ.in: Likewise.
897         * scripts/gen-FAQ.pl: Likewise.
898         * manual/install.texi (Installation): Point to online location of
899         FAQ.
900         * Makefile (files-for-dist): Remove FAQ.
901         (FAQ): Remove.
903 2012-05-02  Allan McRae  <allan@archlinux.org>
905         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
906         (LDFLAGS-reldepmod5.so): Likewise.
907         (LDFLAGS-reldep6mod1.so): Likewise.
908         (LDFLAGS-reldep6mod4.so): Likewise.
909         (LDFLAGS-reldep8mod3.so): Likewise.
910         (LDFLAGS-unload4mod1.so): Likewise.
911         (LDFLAGS-unload4mod2.so): Likewise.
912         (LDFLAGS-tst-initorder): Likewise.
913         (LDFLAGS-tst-initordera2.so): Likewise.
914         (LDFLAGS-tst-initordera3.so): Likewise.
915         (LDFLAGS-tst-initordera4.so): Likewise.
916         (LDFLAGS-tst-initorderb2.so): Likewise.
917         (LDFLAGS-noload): Likewise.
918         (LDFLAGS-next): Likewise.
919         (LDFLAGS-order2mod1.so): Likewise.
920         (LDFLAGS-order2mod2.so): Likewise.
921         (LDFLAGS-tst-initorder2): Likewise.
922         (LDFLAGS-tst-initorder2a.so): Likewise.
923         (LDFLAGS-tst-initorder2b.so): Likewise.
924         (LDFLAGS-tst-initorder2c.so): Likewise.
925         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
927 2012-05-02  David S. Miller  <davem@davemloft.net>
929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
931 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
933         [BZ #14055]
934         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
936 2012-05-02  Andreas Jaeger  <aj@suse.de>
938         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
939         since we manipulate rounding mode.
940         (CPPFLAGS-test-idouble.c): Likewise.
941         (CPPFLAGS-test-ifloat.c): Likewise.
942         (CFLAGS-test-ldouble.c): Likewise.
943         (CFLAGS-test-double.c): Likewise.
944         (CFLAGS-test-float.c): Likewise.
945         (CFLAGS-test-misc.c): Likewise.
946         (CFLAGS-test-test-fenv.c): Likewise.
948 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
950         [BZ #2550]
951         [BZ #2570]
952         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
953         comparisons to determine direction to adjust input.
955 2012-05-01  Roland McGrath  <roland@hack.frob.com>
957         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
958         output to the target.
960         * scripts/localplt.awk: New file.
961         * elf/Makefile ($(objpfx)check-localplt): Target removed.
962         (check-localplt-CFLAGS): Variable removed.
963         ($(all-built-dso:=.jmprel)): New static pattern rule.
964         (generated): Add those targets.
965         (localplt-built-dso): New variable.
966         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
968         * elf/check-localplt.c: File removed.
970         * scripts/check-execstack.awk: New file.
971         * elf/Makefile ($(objpfx)check-execstack): Target removed.
972         (check-execstack-CFLAGS): Variable removed.
973         ($(objpfx)check-execstack.h): Target removed.
974         ($(objpfx)execstack-default): New target.
975         (generated): Add that instead of check-execstack.h.
976         ($(all-built-dso:=.phdr)): New static pattern rule.
977         (generated): Add those targets.
978         * elf/check-execstack.c: File removed.
980         * scripts/check-textrel.awk: New file.
981         * elf/Makefile ($(objpfx)check-textrel): Target removed.
982         (check-textrel-CFLAGS): Variable removed.
983         (all-built-dso): Use := to define.o
984         ($(all-built-dso:=.dyn)): New static pattern rule.
985         (generated): Add those targets.
986         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
987         * config.make.in (READELF): New substituted variable.
988         * elf/check-textrel.c: File removed.
990 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
992         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
993         allow.
994         * conform/data/ctype.h-data [C99-based standards] (isblank):
995         Expect function.
996         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
997         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
998         [ISO || ISO99 || ISO11] (*_t): Do not allow.
999         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1000         Specify type.  Require positive value.
1001         (EILSEQ): Likewise.
1002         (ERANGE): Likewise.
1003         [ISO || POSIX] (EILSEQ): Do not expect.
1004         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1005         Specify type.  Require positive value.
1006         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1007         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1008         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1009         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1010         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1011         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1012         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1013         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1014         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1015         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1016         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1017         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1018         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1019         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1020         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1021         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1022         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1023         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1024         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1025         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1026         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1027         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1028         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1029         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1030         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1031         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1032         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1033         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1034         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1035         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1036         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1037         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1038         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1039         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1040         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1041         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1042         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1043         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1044         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1045         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1046         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1047         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1048         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1049         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1050         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1051         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1052         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1053         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1054         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1055         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1056         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1057         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1058         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1059         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1060         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1061         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1062         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1063         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1064         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1065         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1066         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1067         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1068         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1069         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1070         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1071         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1072         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1073         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1074         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1075         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1076         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1077         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1078         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1079         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1080         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1081         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1082         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1083         Require >= 2.
1084         (FLT_ROUNDS): Expect as macro, not constant.
1085         (FLT_MANT_DIG): Use macro-int-constant.
1086         (DBL_MANT_DIG): Likewise.
1087         (LDBL_MANT_DIG): Likewise.
1088         (FLT_DIG): Likewise.
1089         (DBL_DIG): Likewise.
1090         (LDBL_DIG): Likewise.
1091         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
1092         (DBL_MIN_EXP): Likewise.
1093         (LDBL_MIN_EXP): Likewise.
1094         (FLT_MAX_EXP): Use macro-int-constant.
1095         (DBL_MAX_EXP): Likewise.
1096         (LDBL_MAX_EXP): Likewise.
1097         (FLT_MAX_10_EXP): Likewise.
1098         (DBL_MAX_10_EXP): Likewise.
1099         (LDBL_MAX_10_EXP): Likewise.
1100         (FLT_MAX): Use macro-constant.
1101         (DBL_MAX): Likewise.
1102         (LDBL_MAX): Likewise.
1103         (FLT_EPSILON): Use macro-constant.  Give upper bound.
1104         (DBL_EPSILON): Likewise.
1105         (LDBL_EPSILON): Likewise.
1106         (FLT_MIN): Likewise.
1107         (DBL_MIN): Likewise.
1108         (LDBL_MIN): Likewise.
1109         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1110         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1111         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1112         [ISO11] (FLT_HAS_SUBNORM): Likewise.
1113         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1114         [ISO11] (DBL_DECIMAL_DIG): Likewise.
1115         [ISO11] (FLT_DECIMAL_DIG): Likewise.
1116         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1117         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1118         [ISO11] (FLT_TRUE_MIN): Likewise.
1119         [ISO11] (LDBL_TRUE_MIN): Likewise.
1120         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1121         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1122         (SCHAR_MIN): Use macro-int-constant.  Specify type.
1123         (SCHAR_MAX): Likewise.
1124         (UCHAR_MAX): Likewise.
1125         (CHAR_MIN): Likewise.
1126         (CHAR_MAX): Likewise.
1127         (MB_LEN_MAX): Use macro-int-constant.
1128         (SHRT_MIN): Use macro-int-constant.  Specify type.
1129         (SHRT_MAX): Likewise.
1130         (USHRT_MAX): Likewise.
1131         (INT_MAX): Likewise.
1132         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
1133         bound negative.
1134         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1135         bound with "U".
1136         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1137         bound with "L".
1138         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
1139         bound negative.  Suffix upper bound with "L".
1140         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1141         bound with "UL".
1142         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1143         Specify type.
1144         [C99-based standards] (LLONG_MAX): Likewise.
1145         [C99-based standards] (ULLONG_MAX): Likewise.
1146         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
1147         == 0.
1148         [ISO11] (max_align_t): Require type.
1149         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1151         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1152         from $CFLAGS, without defining away __attribute__ calls.
1153         (checknamespace): Use $CFLAGS_namespace.
1155         * conform/conformtest.pl (@keywords): Only include C99 keywords
1156         for standards based on C99 or C11.
1158         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1159         Disable tests.
1160         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1161         UNIX98]: Likewise.
1163         * conform/conformtest.pl: Handle "macro-int-constant" and test for
1164         usability of symbols in #if.
1166         * conform/conformtest.pl: If macro or constant types start
1167         "promoted:", expect the symbol to be of the following type
1168         promoted by the integer promotions.
1170         * conform/conformtest.pl: Parse all "constant" and "macro" lines
1171         in one place.  Also handle "macro-constant".
1173         * conform/conformtest.pl: Only accept expected macro values with
1174         "==".  Parse all "macro" lines in one place.
1175         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1177         * conform/conformtest.pl: Handle braced types on "constant" lines
1178         instead of handling "typed-constant".
1179         * conform/data/signal.h-data: Use "constant" instead of
1180         "typed-constant".
1182         * conform/conformtest.pl: Handle "optional-" at start of lines in
1183         one place rather than duplicating several cases.  Handle each
1184         format of "macro" line with initial "optional-".
1186         * conform/conformtest.pl: Only accept expected constant or
1187         optional-constant values with "==".  Parse all "constant" lines in
1188         one place.  Parse all "optional-constant" lines in one place.
1189         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1190         * conform/data/fmtmsg.h-data: Likewise.
1191         * conform/data/netinet/in.h-data: Likewise.
1192         * conform/data/tar.h-data: Likewise.
1193         * conform/data/limits.h-data: Use "==" form on "constant" and
1194         "optional-constant" lines.
1196         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1197         Use -std=c99 for XOPEN2K.
1198         (@knownproblems): Remove.
1199         (newtoken): Don't check %isknown.
1201         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1202         Do not expect macro.
1203         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1204         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1205         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1206         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1207         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1208         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1209         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1210         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1211         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1212         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1213         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1214         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1215         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1216         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1217         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1218         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1219         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1220         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1221         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1222         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1223         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1224         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1225         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1226         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1227         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1228         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1229         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1230         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1231         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1232         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1233         [XPG3] (acosh): Likewise.
1234         [XPG3] (asinh): Likewise.
1235         [XPG3] (atanh): Likewise.
1236         [XPG3] (cbrt): Likewise.
1237         [XPG3] (expm1): Likewise.
1238         [XPG3] (ilogb): Likewise.
1239         [XPG3] (log1p): Likewise.
1240         [XPG3] (logb): Likewise.
1241         [XPG3] (nextafter): Likewise.
1242         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1243         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1244         [XPG3] (remainder): Likewise.
1245         [XPG3] (rint): Likewise.
1246         [XPG3 || XPG4 || UNIX98] (round): Likewise.
1247         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1248         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1249         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1250         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1251         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1252         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1253         [UNIX98 || XOPEN2K] (scalb): Expect.
1254         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1255         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1256         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1257         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1258         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1259         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1260         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1261         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1262         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1263         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1264         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1265         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1266         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1267         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1268         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1269         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1270         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1271         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1272         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1273         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1274         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1275         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1276         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1277         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1278         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1279         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1280         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1281         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1282         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1283         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1284         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1285         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1286         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1287         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1288         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1289         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1290         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1291         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1292         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1293         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1294         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1295         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1296         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1297         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1298         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1299         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1300         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1301         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1302         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1303         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1304         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1305         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1306         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1307         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1308         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1309         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1310         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1311         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1312         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1313         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1314         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1315         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1316         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1317         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1318         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1319         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1320         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1321         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1322         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1323         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1324         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1325         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1326         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1327         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1328         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1329         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1330         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1331         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1332         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1333         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1334         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1335         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1336         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1337         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1338         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1339         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1340         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1341         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1342         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1343         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1344         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1345         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1346         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1347         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1348         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1349         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1350         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1351         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1352         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1353         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1354         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1355         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1356         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1357         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1358         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1359         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1360         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1361         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1362         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1363         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1364         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1365         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1366         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1367         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1368         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1369         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1370         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1371         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1372         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1373         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1374         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1375         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1376         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1377         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1378         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1379         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1380         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1381         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1382         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1383         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1384         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1385         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1386         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1387         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1388         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1389         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1390         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1392         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1393         _XOPEN_SOURCE_EXTENDED for XPG4.
1395         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1397         * Makeconfig (localtime): Remove variable.
1398         (inst_localtime-file): Likewise.
1400 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1403         Update.
1404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1405         Update.
1406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1407         Update.
1408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1409         Update.
1410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1411         Update.
1412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1413         Update.
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1415         Update.
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1417         Update.
1418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1419         Update.
1421 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1423         [BZ #2550]
1424         [BZ #2570]
1425         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1426         comparisons to determine direction to adjust input.
1427         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1428         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1429         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1430         Likewise.
1431         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1432         Likewise.
1433         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1434         Likewise.
1435         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1436         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1437         Likewise.
1438         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1439         Likewise.
1440         * math/libm-test.inc (nexttoward_test): Add more tests.
1442 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1444         [BZ #14040]
1445         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1446         in version GLIBC_2.1, not GLIBC_2.0.
1447         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1448         Likewise.
1450 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
1452         [BZ #13942]
1453         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1454         (1 - x) * (1 + x).
1455         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1456         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1457         * math/libm-test.inc (acos_test): Add more tests.
1458         (asin_test): Likewise.
1459         * sysdeps/i386/fpu/libm-test-ulps: Update.
1460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1462         [BZ #14034]
1463         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1464         of square root.
1465         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1466         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1467         * math/libm-test.inc (acos_test_tonearest): New function.
1468         (acos_test_towardzero): Likewise.
1469         (acos_test_downward): Likewise.
1470         (acos_test_upward): Likewise.
1471         (asin_test_tonearest): Likewise.
1472         (asin_test_towardzero): Likewise.
1473         (asin_test_downward): Likewise.
1474         (asin_test_upward): Likewise.
1475         (main): Call the new functions.
1476         * sysdeps/i386/fpu/libm-test-ulps: Update.
1477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1479         [BZ #13884]
1480         [BZ #13924]
1481         * math/e_exp10.c: Include <float.h>.
1482         (__ieee754_exp10): Handle underflow here rather than multiplying
1483         large negative argument by M_LN10.
1484         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1485         of __ieee754_expf.
1486         * math/e_exp10l.c: Include <float.h>.
1487         (__ieee754_exp10l): Handle underflow here rather than multiplying
1488         large negative argument by M_LN10l.
1489         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
1490         spurious overflow exception on underflow.
1492 2012-04-29  Marek Polacek  <polacek@redhat.com>
1494         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1495         (__fortify_function): New macro.
1496         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1497         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1498         __extern_always_inline.
1499         * libio/bits/stdio2.h: Likewise.
1500         * libio/bits/stdio.h: Likewise.
1501         * string/string.h: Likewise.
1502         * string/bits/string3.h: Likewise.
1503         * include/stdio.h: Likewise.
1504         * stdlib/bits/stdlib.h: Likewise.
1505         * stdlib/stdlib.h: Likewise.
1506         * rt/bits/mqueue2.h: Likewise.
1507         * rt/mqueue.h: Likewise.
1508         * posix/bits/unistd.h: Likewise.
1509         * posix/unistd.h: Likewise.
1510         * io/bits/poll2.h: Likewise.
1511         * io/bits/fcntl2.h: Likewise.
1512         * io/fcntl.h: Likewise.
1513         * io/sys/poll.h: Likewise.
1514         * misc/bits/syslog.h: Likewise.
1515         * misc/bits/syslog-ldbl.h: Likewise.
1516         * misc/sys/syslog.h: Likewise.
1517         * socket/bits/socket2.h: Likewise.
1518         * socket/sys/socket.h: Likewise.
1519         * debug/tst-chk1.c: Likewise.
1520         * wcsmbs/bits/wchar2.h: Likewise.
1521         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1522         * wcsmbs/wchar.h: Likewise.
1524 2012-04-29  Andreas Jaeger  <aj@suse.de>
1526         * Makerules (tests): Remove enable-check-abi protection.
1527         (check-abi-warn): Remove.
1528         (check-abi-%): Remove check-abi-warn usage.
1530         * configure.in: Remove check-abi configure option.
1531         * configure: Regenerated.
1532         * config.make.in (enable-check-abi): Remove.
1534 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
1536         [BZ #14033]
1537         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1538         double functions to double *_finite functions.
1540         [BZ #13941]
1541         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1542         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1543         LDBL_MIN_EXP.
1544         * stdio-common/Makefile (tests): Add tst-sprintf3.
1545         * stdio-common/tst-sprintf3.c: New file.
1547         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1548         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1550 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1552         * conform/conformtest.pl: Remove duplicate typed-constant
1553         handling.
1555 2012-04-28  David S. Miller  <davem@davemloft.net>
1557         * Makerules (%.abilist): Add vpath on sysdep_dirs.
1558         (check-abi-%): Remove AWK script prerequisite and explicit
1559         abilist directory.
1560         (check-abi): Rewrite to just diff the symlist with the abilist.
1561         (config-tls, config-abi-config): Delete, no longer used.
1562         (update-abi-%): Remove AWK script and explicit abilist directory.
1563         (update-abi): Rewrite to simply compare and conditionally copy the
1564         symlist and the sysdep abilist file.  Remove update-abi-config
1565         checks.
1566         * abilist/ld.abilist: Remove.
1567         * abilist/libBrokenLocale.abilist: Remove.
1568         * abilist/libanl.abilist: Remove.
1569         * abilist/libcrypt.abilist: Remove.
1570         * abilist/libdl.abilist: Remove.
1571         * abilist/librt.abilist: Remove.
1572         * abilist/libthread_db.abilist: Remove.
1573         * abilist/libutil.abilist: Remove.
1574         * scripts/extract-abilist.awk: Remove.
1575         * scripts/merge-abilist.awk: Remove.
1576         * sysdeps/generic/libcidn.abilist: New file.
1577         * sysdeps/generic/libnss_compat.abilist: New file.
1578         * sysdeps/generic/libnss_db.abilist: New file.
1579         * sysdeps/generic/libnss_dns.abilist: New file.
1580         * sysdeps/generic/libnss_files.abilist: New file.
1581         * sysdeps/generic/libnss_hesiod.abilist: New file.
1582         * sysdeps/generic/libnss_nis.abilist: New file.
1583         * sysdeps/generic/libnss_nisplus.abilist: New file.
1584         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1585         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1586         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1587         file.
1588         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1589         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1590         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1591         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1592         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1593         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1594         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1595         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1596         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1597         file.
1598         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1599         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1600         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1601         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1602         file.
1603         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1604         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1605         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1606         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1607         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1608         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1609         file.
1610         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1611         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1612         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1613         file.
1614         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1616         New file.
1617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1618         New file.
1619         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1620         New file.
1621         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1622         New file.
1623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1624         New file.
1625         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1626         New file.
1627         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1628         New file.
1629         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1630         New file.
1631         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1632         New file.
1633         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1634         New file.
1635         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1636         New file.
1637         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1638         New file.
1639         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1640         New file.
1641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1642         file.
1643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1644         New file.
1645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1646         New file.
1647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1648         file.
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1650         New file.
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1652         New file.
1653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1654         file.
1655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1656         New file.
1657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1658         New file.
1659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1660         New file.
1661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1662         New file.
1663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1664         New file.
1665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1666         New file.
1667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1669         file.
1670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1671         New file.
1672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1673         file.
1674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1675         file.
1676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1677         file.
1678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1679         file.
1680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1681         file.
1682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1683         New file.
1684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1685         file.
1686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1687         file.
1688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1689         New file.
1690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1691         file.
1692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1694         file.
1695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1696         New file.
1697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1698         file.
1699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1700         file.
1701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1702         file.
1703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1704         file.
1705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1706         file.
1707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1708         New file.
1709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1710         file.
1711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1712         file.
1713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1714         New file.
1715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1716         file.
1717         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1718         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1719         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1720         file.
1721         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1722         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1723         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1724         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1725         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1726         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1727         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1728         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1729         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1730         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1733         file.
1734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1735         New file.
1736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1737         file.
1738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1739         file.
1740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1741         file.
1742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1743         file.
1744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1745         file.
1746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1747         New file.
1748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1749         New file.
1750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1751         file.
1752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1753         New file.
1754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1755         file.
1756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1758         file.
1759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1760         New file.
1761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1762         file.
1763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1764         file.
1765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1766         file.
1767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1768         file.
1769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1770         file.
1771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1772         New file.
1773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1774         New file.
1775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1776         file.
1777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1778         New file.
1779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1780         file.
1782 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1784         * conform/conformtest.pl: Fix typo in handling typed-constant from
1785         allow-header.
1787 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1789         * README: Cut down references to pre-2.6 Linux kernels and
1790         Linuxthreads.  Update lists of configurations in libc and ports
1791         and sort alphabetically.  Say "or newer" with Linux kernel version
1792         requirements.
1794         * config.h.in [IS_IN_build]: Allow compiling without optimization.
1796 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1798         [BZ #887]
1799         * math/libm-test.inc (logb_test_downward): New test to expose
1800         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1801         rounding mode.
1803 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1805         [BZ #14027]
1806         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1807         to be done.
1808         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1809         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1811 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1813         * sysdeps/unix/i386/brk.S: Remove file.
1814         * sysdeps/unix/i386/dl-brk.S: Likewise.
1815         * sysdeps/unix/i386/pipe.S: Likewise.
1816         * sysdeps/unix/i386/sigreturn.S: Likewise.
1817         * sysdeps/unix/i386/syscall.S: Likewise.
1818         * sysdeps/unix/i386/vfork.S: Likewise.
1819         * sysdeps/unix/i386/wait.S: Likewise.
1821         * sysdeps/unix/common/tcsendbrk.c: Move to ...
1822         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1824         * configure.in (arm*-none*): Do not allow without
1825         --enable-hacker-mode.
1826         (netbsd*): Remove case setting base_os.
1827         (386bsd*): Likewise.
1828         (freebsd*): Likewise.
1829         (bsdi*): Likewise.
1830         (osf*): Likewise.
1831         (sunos*): Likewise.
1832         (ultrix*): Likewise.
1833         (newsos*): Likewise.
1834         (dynix*): Likewise.
1835         (*bsd*): Likewise.
1836         (sysv*): Likewise.
1837         (isc*): Likewise.
1838         (esix*): Likewise.
1839         (sco*): Likewise.
1840         (minix*): Likewise.
1841         (irix4*): Likewise.
1842         (irix6*): Likewise.
1843         (solaris[2-9]*): Likewise.
1844         (none): Likewise.
1845         * configure: Regenerated.
1847 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1849         [BZ #11521]
1850         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1851         overflow or cancellation in calculating denominator.
1852         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1853         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1854         down expression to avoid unexpected rounding in newer GCCs.
1855         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1857 2012-04-26  David S. Miller  <davem@davemloft.net>
1859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1860         long-double compat symbols.
1861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1875 2012-04-25  David S. Miller  <davem@davemloft.net>
1877         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1878         HWCAP_* values only after the memory barriers have been defined.
1879         (atomic_full_barrier): Define.
1880         (atomic_read_barrier): Define.
1881         (atomic_write_barrier): Define.
1883 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1885         * shlib-versions: Add libgcc_s version information.
1886         * sysdeps/generic/libgcc_s.h: Remove.
1887         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1888         libgcc_s.h.
1889         * sysdeps/gnu/unwind-resume.c: Likewise.
1890         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1892 2012-04-25  David S. Miller  <davem@davemloft.net>
1894         * sysdeps/unix/sparc/brk.S: Delete.
1895         * sysdeps/unix/sparc/dl-brk.S: Delete.
1896         * sysdeps/unix/sparc/pipe.S: Delete.
1897         * sysdeps/unix/sparc/sysdep.S: Delete.
1898         * sysdeps/unix/sparc/sysdep.h: Delete.
1899         * sysdeps/unix/sparc/vfork.S: Delete.
1900         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1901         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1902         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1903         ret_ERRVAL, r0, r1, MOVE): Define.
1904         (JUMPTARGET): Remove.
1905         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1906         sysdeps/unix/sparc/sysdep.h
1907         (ENTRY, END): Remove.
1908         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1910 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
1912         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1913         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1914         -DIS_IN_build.
1916         * timezone/README: Update upstream location and email address for
1917         tzcode and tzdata.
1918         * timezone/zdump.c: Update from tzcode 2012b.
1919         * timezone/zic.c: Likewise.
1921         * configure.in (libc_cv_as_needed): Remove test.
1922         * configure: Regenerated.
1923         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1924         conditional definition.
1925         [$(have-as-needed) != yes] (no-as-needed): Likewise.
1926         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1927         * config.make.in (have-as-needed): Remove variable.
1929 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1930             Paul Pluzhnikov  <ppluzhnikov@google.com>
1932         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1933         strings correctly.
1935 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1937         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1938         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1939         * sysdeps/sh/strlen.S: Likewise.
1941 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1943         * sysdeps/unix/fork.S: Remove file.
1944         * sysdeps/unix/i386/fork.S: Likewise.
1945         * sysdeps/unix/sparc/fork.S: Likewise.
1947         * sysdeps/unix/system.c: Remove file.
1948         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1950         * sysdeps/unix/getegid.S: Remove file.
1951         * sysdeps/unix/geteuid.S: Likewise.
1953 2012-04-24  Roland McGrath  <roland@hack.frob.com>
1955         * scripts/check-localplt.awk: New file.
1956         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1957         of diff.
1958         * scripts/data/localplt-generic.data: Add a comment.
1960         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1961         NODE when __dir_mkfile failed.
1962         * sysdeps/mach/hurd/symlinkat.c: Likewise.
1963         Reported by Ludovic Courtès <ludo@gnu.org>.
1965 2012-04-24  Andreas Jaeger  <aj@suse.de>
1967         * Makerules (common-clean): Also remove gen-as-const-headers
1968         files.
1970 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1972         * Makerules (native-compile): Do not change working directory for
1973         build.  Use $(OUTPUT_OPTION) in command.
1974         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1976 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1978         [BZ #13886]
1979         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1980         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1981         * math/libm-test.inc (floor_test): Add more tests.
1982         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1984 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1986         * sysdeps/unix/getdents.c: Remove file.
1987         * sysdeps/unix/sysv/getdents.c: Likewise.
1988         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1990         * sysdeps/unix/syscalls.list (madvise): Add syscall from
1991         sysdeps/unix/mman/syscalls.list.
1992         (mmap): Likewise.
1993         (mprotect): Likewise.
1994         (msync): Likewise.
1995         (munmap): Likewise.
1996         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1997         * sysdeps/unix/mman/syscalls.list: Remove.
1998         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2000         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2001         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2002         * configure: Regenerated.
2003         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2004         $(libgcc_s_suffix).
2005         * config.make.in (libgcc_s_suffix): Remove variable.
2007 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
2009         * sysdeps/unix/sysv/gethostname.c: Move to ...
2010         * sysdeps/posix/gethostname.c: ... here.
2012         * sysdeps/unix/execve.S: Remove file.
2014         * sysdeps/unix/_exit.S: Remove file.
2016 2012-04-23  Andreas Jaeger  <aj@suse.de>
2018         [BZ #13739]
2019         * manual/Makefile: Remove make dist support, there's no
2020         need for a stand-alone documentation tar ball.
2021         (TEXI2DVI): Define always, it's not in Makeconfig.
2022         (dist): Removed.
2023         (tar-it): Removed.
2024         (edition): Removed.
2025         (glibc-doc-$(edition).tar): Removed
2026         (%.Z): Removed.
2027         (%.gz): Removed.
2028         (%.uu): Removed.
2029         (ETAGS): Remove, it's in Makeconfig.
2030         (move-if-change): Remove, it's in Makeconfig.
2032 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
2034         [BZ #13970]
2035         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2036         (strtod, strtof, strtold, strtol, strtoul, strtoq)
2037         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2038         (strtod_l, strtof_l, strtold_l): Remove __wur.
2039         It is not necessarily an error to ignore strtol's return value.
2040         One can reliably look at the stored endptr to decide whether
2041         the number had valid syntax.
2043 2012-04-21  Andreas Jaeger  <aj@suse.de>
2045         [BZ #13739]
2046         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2048 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
2050         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2051         * sysdeps/unix/sysv/Versions: Remove file.
2053 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
2055         [BZ #13927]
2056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2058 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
2060         [BZ #7064]
2061         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2062         version from __vm86.
2064 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
2066         * sysdeps/unix/common/lxstat.c: Remove file.
2067         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2069         * sysdeps/unix/sysv/Makefile: Remove file.
2071         * sysdeps/unix/sysv/direct.h: Remove file.
2073         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2074         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2075         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2076         * sysdeps/unix/sysv/bits/signum.h: Likewise.
2077         * sysdeps/unix/sysv/bits/stat.h: Likewise.
2078         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2079         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2081         * sysdeps/unix/sysv/setrlimit.c: Remove file.
2083         * sysdeps/unix/xmknod.c: Remove file.
2084         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2086         * sysdeps/unix/sysv/settimeofday.c: Remove file.
2088         * sysdeps/unix/sysv/i386/time.S: Remove file.
2090         * sysdeps/unix/fxstat.c: Remove file.
2091         * sysdeps/unix/xstat.c: Likewise.
2092         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2094         * sysdeps/unix/sysv/sigaction.c: Remove file.
2096         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2097         (sysdep_headers): Remove variable.
2098         [termio.h not in sysdep_headers] (generated): Likewise.
2099         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2100         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2101         * sysdeps/unix/sysv/tcdrain.c: Likewise.
2102         * sysdeps/unix/sysv/tcflow.c: Likewise.
2103         * sysdeps/unix/sysv/tcflush.c: Likewise.
2104         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2105         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2106         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2107         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2108         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2110         * sysdeps/unix/siglist.c: Remove file.
2112         * sysdeps/unix/getppid.S: Remove file.
2114         * sysdeps/unix/mkdir.c: Remove file.
2115         * sysdeps/unix/rmdir.c: Likewise.
2117 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
2119         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2120         ERR_MAX value.
2121         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2122         errlist-compat value.
2124 2012-04-18  David S. Miller  <davem@davemloft.net>
2126         * sysdeps/generic/memcopy.h (reg_char): Delete.
2127         * debug/strcat_chk.c: Use char, not reg_char.
2128         * debug/strcpy_chk.c: Likewise.
2129         * debug/strncat_chk.c: Likewise.
2130         * debug/strncpy_chk.c: Likewise.
2131         * string/memchr.c: Likewise.
2132         * string/memrchr.c: Likewise.
2133         * string/rawmemchr.c: Likewise.
2134         * string/strcat.c: Likewise.
2135         * string/strchr.c: Likewise.
2136         * string/strchrnul.c: Likewise.
2137         * string/strcmp.c: Likewise.
2138         * string/strcpy.c: Likewise.
2139         * string/strncat.c: Likewise.
2140         * string/strncmp.c: Likewise.
2141         * string/strncpy.c: Likewise.
2143 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2145         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2146         __builtin_memcopy is called when src and dest ranges are known to not
2147         overlap.
2149 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2151         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2152         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2153         fwd_align_merge macro call.
2154         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2155         bwd_align_merge macro call.
2156         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2158 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2160         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2161         bwd_align_merge macros.
2162         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2163         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2164         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2166 2012-04-18  David S. Miller  <davem@davemloft.net>
2168         * sysdeps/sparc/sparc64/memcopy.h: Delete.
2170 2012-04-18  Andreas Jaeger  <aj@suse.de>
2172         [BZ# 6794]
2173         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2174         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2175         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2177         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2178         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2179         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2181         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2182         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2183         Adjust for changed ldbl-128 files.
2185         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2186         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2187         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2189 2012-04-17  David S. Miller  <davem@davemloft.net>
2191         * sysdeps/sparc/sparc32/memcopy.h: Delete.
2193 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
2195         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2196         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2197         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2198         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2199         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2200         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2202 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2204         [BZ #6794]
2205         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2206         * math/libm-test.inc: Add ilogb errno and exception tests.
2207         * math/w_ilogb.c: New file: ilogb wrapper.
2208         * math/w_ilogbf.c: New file: ilogbf wrapper.
2209         * math/w_ilogbl.c: New file: ilogbl wrapper.
2210         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2211         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2212         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2213         exception being thrown with 0.0 as argument.
2214         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2215         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2216         exception being thrown with 0.0 as argument.
2217         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2218         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2219         exception being thrown with 0.0 as argument.
2220         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2221         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2222         exception being thrown with 0.0 as argument.
2223         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2224         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2225         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2226         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2227         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2228         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2229         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2230         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2231         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2233 2012-04-17  Petr Baudis  <pasky@ucw.cz>
2235         * include/sys/uio.h: Change __vector to __iovec to avoid clash
2236         with altivec.
2238 2012-04-16  Marek Polacek  <polacek@redhat.com>
2240         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2242 2012-04-16  Marek Polacek  <polacek@redhat.com>
2244         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2245         operands of fdivp instruction.
2247 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
2249         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2250         * elf/tst-auditmod3b.c: Likewise.
2251         * elf/tst-auditmod4b.c: Likewise.
2252         * elf/tst-auditmod5b.c: Likewise.
2253         * elf/tst-auditmod6b.c: Likewise.
2254         * elf/tst-auditmod6c.c: Likewise.
2255         * elf/tst-auditmod7b.c: Likewise.
2256         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2257         * sysdeps/x86_64/preconfigure.in: Likewise.
2258         * sysdeps/x86_64/preconfigure: Regenerated.
2260 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
2262         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2263         __ILP32__.
2265 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
2267         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2268         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2270 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
2272         [BZ #13973]
2273         * locale/iso-639.def: Fix gl language name. Spotted by
2274         Yaron Shahrabani.
2276 2012-04-12  Roland McGrath  <roland@hack.frob.com>
2278         [BZ #2074]
2279         * libio/libio.h (__io_write_fn): Update comment.
2281 2012-04-12  Petr Baudis  <pasky@ucw.cz>
2283         [BZ #2074]
2284         * stdio.texi (Hook Functions): The user provided writer function
2285         is not allowed to return -1.
2287 2012-04-11  David S. Miller  <davem@davemloft.net>
2289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2291 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
2293         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2294         Add a leading slash to rtkaio.
2296 2012-04-11  Jim Meyering  <meyering@redhat.com>
2298         [BZ #11959]
2299         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2300         It is not necessarily an error to ignore fwrite's return
2301         value.  One can reliably use ferror to test for errors after
2302         the fact.
2304 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2306         * bits/types.h (__snseconds_t): New type.
2307         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2309         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2310         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2311         (__SNSECONDS_T_TYPE): Likewise.
2312         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2313         (__SNSECONDS_T_TYPE): Likewise.
2314         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2315         (__SNSECONDS_T_TYPE): Likewise.
2317 2012-04-10  Andreas Jaeger  <aj@suse.de>
2319         [BZ #2636]
2320         * manual/time.texi (Processor Time): Return type of times is
2321         elapsed real time since an arbitrary point in the past.
2322         (CPU Time): Move CLK_TCK from here...
2323         (Processor Time): ...to here.  Correct description.
2324         * manual/conf.texi (Constants for Sysconf): Correct description of
2325         _SC_CLK_TCK.
2327 2012-04-10  David S. Miller  <davem@davemloft.net>
2329         [BZ #13967]
2330         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2331         where the is a gap between DT_REL(A) and DT_JMPREL.
2333 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2335         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2336         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2337         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2339 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2341         * elf/dl-support.c (_dl_inhibit_cache): New variable.
2342         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2343         (dl_main): Handle --inhibit-cache.
2344         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2345         _dl_inhibit_cache.
2346         * elf/dl-load.c (_dl_map_object): Use it.
2347         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2349 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2351         [BZ #13872]
2352         * sysdeps/i386/fpu/e_powl.S (p78): New object.
2353         (__ieee754_powl): Saturate large exponents rather than testing for
2354         overflow of y*log2(x).
2355         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2356         * math/libm-test.inc (pow_test): Do not permit spurious overflow
2357         exceptions.
2359         [BZ #11521]
2360         * math/s_ctan.c: Include <float.h>.
2361         (__ctan): Avoid internal overflow or cancellation in calculating
2362         denominator.
2363         * math/s_ctanf.c: Likewise.
2364         * math/s_ctanl.c: Likewise.
2365         * math/s_ctanh.c: Likewise.
2366         * math/s_ctanhf.c: Likewise.
2367         * math/s_ctanhl.c: Likewise.
2368         * math/libm-test.inc (ctan_test): Add more tests.
2369         (ctanh_test): Likewise.
2370         * sysdeps/i386/fpu/libm-test-ulps: Update.
2371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2373 2012-04-09  Andreas Jaeger  <aj@suse.de>
2375         [BZ #6894]
2376         * manual/filesys.texi (Directory Entries): Mention that d_namlen
2377         is an optional BSD extension.
2379         [BZ #10254]
2380         * manual/stdio.texi (Opening Streams): Document additional fopen
2381         parameters.
2383 2012-04-09  Roland McGrath  <roland@hack.frob.com>
2385         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2386         %eax without telling the compiler.
2388 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
2390         [BZ # 13963]
2391         * manual/install.texi: Use sourceware.org.
2393 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2395         [BZ #13873]
2396         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2397         (__ieee754_pow): Generate overflow and underflow using huge*huge
2398         and tiny*tiny rather than just returning constant infinity or zero
2399         for large exponents.
2400         * math/libm-test.inc (pow_test): Require overflow exceptions for
2401         applicable cases of large exponents.
2403         [BZ #706]
2404         * sysdeps/i386/fpu/e_pow.S (p10): New object.
2405         (__ieee754_pow): Use iterative multiplication algorithm only for
2406         integer exponents with absolute value below 1024.  Check for odd
2407         integer exponents when using algorithm for real exponents.
2408         * math/libm-test.inc (pow_test): Add more tests.
2409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2411 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
2413         [BZ #13705]
2414         * math/libm-test.inc (exp_test): Do not allow overflow exception
2415         on underflow test.
2417 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
2419         [BZ #13705]
2420         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2421         instead of __kernel_standard_f.
2423 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
2425         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2426         * sysdeps/x86_64/memset_chk.S: Likewise.
2428 2012-04-08  Andreas Jaeger  <aj@suse.de>
2430         [BZ #10153]
2431         * manual/startup.texi (Environment Access): Describe return value
2432         for putenv and setenv.
2434         [BZ #6895]
2435         * manual/filesys.texi (Directory Entries): Add description for
2436         DT_LNK.
2438         [BZ #6890]
2439         * manual/filesys.texi (Directory Entries): Clarify that it's file
2440         system not operating system in the description of DT_UNKNOWN.
2442         [BZ #6578]
2443         * manual/syslog.texi (closelog): Fix reference, it's openlog.
2445 2012-04-08  Stephen Compall  <s11@member.fsf.org>
2447         [BZ #6649]
2448         * manual/llio.texi (Opening and Closing Files): Add cross
2449         reference to explain mode argument.
2451 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
2453         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2454         * sysdeps/x86_64/memset_chk.S: Likewise.
2456 2012-04-07  David S. Miller  <davem@davemloft.net>
2458         * elf/elf.h (R_SPARC_WDISP10): Define.
2459         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2460         R_SPARC_SIZE32.
2461         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2462         R_SPARC_SIZE64 and R_SPARC_H34.
2464 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
2466         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2467         conditions and remove no longer applicable assertion.
2469 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2471         * bits/byteswap.h: Include <features.h>.
2472         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2473         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2475 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2477         * bits/byteswap.h (__bswap_16): Removed.
2478         Include <bits/byteswap-16.h> to get __bswap_16.
2479         * sysdeps/i386/bits/byteswap.h: Likewise.
2480         * sysdeps/s390/bits/byteswap.h: Likewise.
2481         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2482         * bits/byteswap-16.h: New file.
2483         * sysdeps/i386/bits/byteswap-16.h: Likewise.
2484         * sysdeps/s390/bits/byteswap-16.h: Likewise.
2485         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2486         * string/Makefile (headers): Add bits/byteswap-16.h.
2488 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2490         [BZ #13895]
2491         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2492         extra indirection.
2493         * nss/Makefile (tests-static, tests): Add tst-nss-static.
2494         * nss/tst-nss-static.c: New.
2496 2012-04-06  Robert Millan  <rmh@gnu.org>
2498         [BZ #6486]
2499         * manual/llio.texi (File Position Primitive): lseek
2500         refers to WHENCE when it really means OFFSET.
2502 2012-04-06  Andreas Jaeger  <aj@suse.de>
2504         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2505         strncmp declarations.
2507         * abilist/libc.abilist: Add __poll and __ppoll.
2509 2012-04-05  David S. Miller  <davem@davemloft.net>
2511         * scripts/check-local-headers.sh: Accept a host triplet in the
2512         path matched by the exclude regexp.
2514         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2515         definition.
2516         * sysdeps/powerpc/powerpc32/dl-machine.h
2517         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2518         * sysdeps/s390/s390-32/dl-machine.h
2519         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2520         * sysdeps/sparc/sparc32/dl-machine.h
2521         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2522         * sysdeps/sparc/sparc64/dl-machine.h
2523         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2525         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2526         lazy binding.
2527         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2528         undefined symbol errors.
2530         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2531         DT_NEEDED entries.
2533 2012-04-05  Michael Matz  <matz@suse.de>
2535         [BZ #13592]
2536         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2538 2012-04-05  Andreas Jaeger  <aj@suse.de>
2540         [BZ #13908]
2541         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2542         comment.
2544 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2546         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2547         which ROUND is no valid rounding mode.
2549 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2551         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2552         read again.
2553         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2555 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2557         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2558         an exception using FPU order intentionally.
2560 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2562         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2563         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2564         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2565         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2567 2012-04-05  Simon Josefsson  <simon@josefsson.org>
2569         [BZ #12340]
2570         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2571         EINVAL when BUFLEN is too smal.
2573 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
2575         [BZ #13553]
2576         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2577         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2579 2012-04-03  Andreas Jaeger  <aj@suse.de>
2581         [BZ #13938]
2582         * manual/setjmp.texi (System V contexts): Fix sentence.
2584         [BZ #13926]
2585         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2586         New macro for this case.
2587         [!__GNUC__] (__bswap_64): New inline function for this case.
2588         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2589         * bits/byteswap.h: Likewise.
2590         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2591         ull, guard with __GLIBC_HAVE_LONG_LONG.
2593         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2594         __GLIBC_HAVE_LONG_LONG.
2596         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2597         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2599 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2601         [BZ #13691]
2602         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2603         inptr and inend, rather than using last_ch.
2605 2012-04-02  David S. Miller  <davem@davemloft.net>
2607         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2608         * stdio-common/printf-parse.h (read_int): Change return type to
2609         'int', return -1 on INT_MAX overflow.
2610         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2611         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
2612         overflows INT_MAX.  Check for overflow of in-format-string precision
2613         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
2614         SIZE_MAX not INT_MAX for integer overflow test.
2615         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2616         skip the construct in the format string but do not record anything.
2617         * stdio-common/bug22.c: Adjust to test both width/prevision
2618         INT_MAX overflow as well as total length INT_MAX overflow.  Check
2619         explicitly for proper errno values.
2621 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
2623         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2624         CHAR_MAX.
2625         * string/test-strcmp.c [! WIDE]: Likewise.
2626         * time/tst-mktime2.c: Likewise for INT_MAX.
2627         * string/test-string.h: #include <sys/param.h> for MIN.
2629         * csu/init-first.c (__libc_init_first): Call __ctype_init.
2630         * sysdeps/i386/init-first.c (init): Likewise.
2631         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2632         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2633         * sysdeps/sh/init-first.c (init): Likewise.
2635 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
2637         * po/ru.po: Update from translation team.
2638         * po/vi.po: Likewise.
2640 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2642         * resolv/nss_dns/dns-host.c: Merge copyright years.
2644 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2646         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2647         Optimize memcpy with prefetch if
2648         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
2649         src, dst pointers have unequal 16 byte alignments.
2651 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2653         [BZ #13928]
2654         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2655         from a CNAME entry and return the minimum ttl for the query.
2656         (gaih_getanswer_slice): Likewise.
2658 2012-03-30  Jeff Law  <law@redhat.com>
2660         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2661         due to long keys.
2662         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2663         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2665         * resolv/nss_dns/dns-host.c: Update copyright year.
2667 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
2669         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2670         requests to save a system call.  Fix check that all bytes are sent.
2672         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2673         comments for sendmmsg.
2675 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2677         [BZ #13691]
2678         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2679         with only 1 character between 0x0041 and 0x01b0.
2680         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2681         * wcsmbs/tst-mbsnrtowcs.c: New file.
2683 2012-03-29  David S. Miller  <davem@davemloft.net>
2685         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2686         small copies by hand.
2688 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2690         [BZ #13761]
2691         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2692         _nss_compat_initgroups_dyn): Fall back to malloc/free
2693         for large group memberships.
2695 2012-03-28  David S. Miller  <davem@davemloft.net>
2697         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2698         that branches into memcpy.
2699         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2700         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2701         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2702         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2703         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2704         bits.
2705         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2706         implementation too.
2707         * sysdeps/sparc/mempcpy.S: New file.
2709         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2710         the IFUNC routine in the libc case.
2711         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2713         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2714         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2715         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2716         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2717         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2718         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2719         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2720         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2722         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2723         loop to 256 bytes instead of 64 bytes and fix test signedness.
2725         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2726         * sysdeps/sparc/sparc32/Makefile: rather than here...
2727         * sysdeps/sparc/sparc64/Makefile: and here.
2729 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
2731         * malloc/mallocbug.c: Avoid warnings about unused variables.
2733 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2735         [BZ #13760]
2736         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2737         in the right place. Discard and retry query if response is
2738         larger than input buffer size.
2740 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
2742         [BZ #369]
2743         [BZ #2678]
2744         [BZ #3866]
2745         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2746         x for large integer exponent.
2747         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2748         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
2749         sign of result as needed afterwards.
2750         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2751         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2752         result for underflowing pow the same as for overflow.
2753         (__kernel_standard_l): Handle powl overflow and underflow here
2754         rather than calling __kernel_standard.
2755         * math/libm-test.inc (pow_test): Add more tests.
2757         [BZ #3868]
2758         [BZ #13879]
2759         [BZ #13910]
2760         [BZ #13911]
2761         [BZ #13912]
2762         [BZ #13913]
2763         [BZ #13915]
2764         [BZ #13916]
2765         [BZ #13917]
2766         [BZ #13918]
2767         [BZ #13919]
2768         [BZ #13920]
2769         [BZ #13921]
2770         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2771         * sysdeps/ieee754/k_standard.c: Include <float.h>.
2772         (__kernel_standard_l): New function.
2773         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2774         __kernel_standard.
2775         * math/w_acosl.c (__acosl): Likewise.
2776         * math/w_asinl.c (__asinl): Likewise.
2777         * math/w_atan2l.c (__atan2l): Likewise.
2778         * math/w_atanhl.c (__atanhl): Likewise.
2779         * math/w_coshl.c (__coshl): Likewise.
2780         * math/w_exp10l.c (__exp10l): Likewise.
2781         * math/w_exp2l.c (__exp2l): Likewise.
2782         * math/w_fmodl.c (__fmodl): Likewise.
2783         * math/w_hypotl.c (__hypotl): Likewise.
2784         * math/w_j0l.c (__j0l, __y0l): Likewise.
2785         * math/w_j1l.c (__j1l, __y1l): Likewise.
2786         * math/w_jnl.c (__jnl, __ynl): Likewise.
2787         * math/w_lgammal.c (__lgammal): Likewise.
2788         * math/w_log10l.c (__log10l): Likewise.
2789         * math/w_log2l.c (__log2l): Likewise.
2790         * math/w_logl.c (__logl): Likewise.
2791         * math/w_powl.c (__powl): Likewise.
2792         * math/w_remainderl.c (__remainderl): Likewise.
2793         * math/w_scalbl.c (sysv_scalbl): Likewise.
2794         * math/w_sinhl.c (__sinhl): Likewise.
2795         * math/w_sqrtl.c (__sqrtl): Likewise.
2796         * math/w_tgammal.c (__tgammal): Likewise.
2797         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2798         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2799         * math/libm-test.inc (acos_test): Add more tests.
2800         (acosh_test): Likewise.
2801         (asin_test): Likewise.
2802         (atanh_test): Likewise.
2803         (exp_test): Likewise.
2804         (exp10_test): Likewise.
2805         (exp2_test): Likewise.
2806         (expm1_test): Likewise.
2807         (lgamma_test): Likewise.
2808         (log_test): Likewise.
2809         (log10_test): Likewise.
2810         (log1p_test): Likewise.
2811         (log2_test): Likewise.
2812         (pow_test): Do not allow some spurious overflow exceptions.
2813         (sqrt_test): Add more tests.
2814         (tgamma_test): Likewise.
2815         (y0_test): Likewise.
2816         (y1_test): Likewise.
2817         (yn_test): Likewise.
2819 2012-03-27  Anton Blanchard  <anton@samba.org>
2821         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2822         MAP_HUGETLB.
2823         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2824         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2825         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2827 2012-03-27  David S. Miller  <davem@davemloft.net>
2829         * conform/Makefile: Run run-conformtest.sh using $(BASH).
2831         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2832         have-as-vis3 check.
2834 2012-03-27  Andreas Jaeger  <aj@suse.de>
2836         * sysdeps/x86_64/elf/configure.in: Moved to ...
2837         * sysdeps/x86_64/configure.in: ... here.
2838         * sysdeps/x86_64/elf/start.S: Moved to ...
2839         * sysdeps/x86_64/start.S: ... here.
2840         * sysdeps/x86_64/elf/configure: Delete.
2842         * sysdeps/x86_64/configure.in: Merge contents from
2843         sysdeps/i386/configure.in (without i686 check).
2845         * sysdeps/i386/elf/Versions: Merge into ...
2846         * sysdeps/i386/Versions: ... this.
2847         * sysdeps/i386/elf/Versions: Delete file.
2848         * sysdeps/i386/elf/start.S: Moved to ...
2849         * sysdeps/i386/start.S: ...here.
2850         * sysdeps/i386/elf/configure.in: Merge into...
2851         * sysdeps/i386/configure.in: ...here.
2852         * sysdeps/i386/elf/configure.in: Delete file.
2853         * sysdeps/i386/elf/configure: Delete file.
2855         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2856         * debug/backtracesyms.c: ... here.
2857         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2858         * debug/backtracesymsfd.c: ... here.
2859         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2860         * sysdeps/generic/ifunc-sel.h: ... here.
2862         * sysdeps/unix/i386/start.c: Delete file.
2863         * sysdeps/unix/sparc/start.c: Delete file.
2864         * sysdeps/unix/start.c: Delete file.
2866         * sysdeps/sh/elf/configure.in: Moved to ...
2867         * sysdeps/sh/configure.in: ... here.
2868         * sysdeps/sh/elf/start.S: Moved to ...
2869         * sysdeps/sh/start.S: ... here.
2870         * sysdeps/sh/elf/configure: Delete file.
2872         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2873         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2874         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2875         * sysdeps/powerpc/powerpc64/entry.h: ... here.
2876         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2877         * sysdeps/powerpc/powerpc64/start.S: here.
2878         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2879         * sysdeps/powerpc/powerpc64/Makefile: ... this.
2880         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2881         * sysdeps/powerpc/powerpc64/configure.in: ... this.
2882         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2884         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2885         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2886         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2887         * sysdeps/powerpc/powerpc32/start.S: ... here.
2888         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2889         * sysdeps/powerpc/powerpc32/configure.in: ... this.
2890         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2892         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2893         * sysdeps/powerpc/ifunc-sel.h: ... here.
2894         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2895         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2897         * sysdeps/sparc/elf/configure.in: Moved to ...
2898         * sysdeps/sparc/configure.in: ... here.
2899         * sysdeps/sparc/elf/configure: Delete file.
2900         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2901         * sysdeps/sparc/sparc32/start.S: ... here.
2902         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2903         * sysdeps/sparc/sparc64/start.S: ... here.
2904         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2905         * sysdeps/sparc/sparc32/Makefile: ... this.
2906         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2907         * sysdeps/sparc/sparc64/Makefile: ... this.
2909         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2910         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2911         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2912         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2913         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2914         * sysdeps/s390/s390-32/setjmp.S: ... here.
2915         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2916         * sysdeps/s390/s390-32/configure.in: ... here.
2917         * sysdeps/s390/s390-32/elf/configure: Delete file.
2918         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2919         * sysdeps/s390/s390-32/start.S: ... here.
2921         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2922         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2923         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2924         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2925         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2926         * sysdeps/s390/s390-64/setjmp.S: ... here.
2927         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2928         * sysdeps/s390/s390-64/configure.in: ... here
2929         * sysdeps/s390/s390-64/elf/configure: Delete file.
2930         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2931         * sysdeps/s390/s390-64/start.S: ... here.
2932         * sysdeps/s390/s390-64/elf/configure: Delete.
2934         * configure.in: Remove support for elf directories in sysdeps.
2936         * configure: Regenerated.
2937         * sysdeps/i386/configure: Regenerated.
2938         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2939         * sysdeps/powerpc/powerpc64/configure: Regenerated.
2940         * sysdeps/s390/s390-32/configure: Regenerated.
2941         * sysdeps/s390/s390-64/configure: Regenerated.
2942         * sysdeps/sh/configure: Regenerated.
2943         * sysdeps/sparc/configure: Regenerated.
2944         * sysdeps/x86_64/configure: Regenerated.
2946 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
2948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2950         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2951         denormal result into account.
2953 2012-03-25  Roland McGrath  <roland@hack.frob.com>
2955         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2956         Reported by Allan McRae <allan@archlinux.org>.
2958 2012-03-23  Jeff Law  <law@redhat.com>
2960         * nss/getnssent.c (__nss_getent): Fix typo.
2962 2012-03-23  David S. Miller  <davem@davemloft.net>
2964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2966 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
2968         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2969         to pad to uint64_t for each field.
2970         (dl_tls_index): Replace unsigned long with uint64_t.
2972 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
2973         Paul Pluzhnikov  <ppluzhnikov@google.com>
2975         [BZ #6528]
2976         * grp/Makefile (otherlibs): Don't set it.
2977         * inet/Makefile (otherlibs): Likewise.
2978         * login/Makefile (otherlibs): Likewise.
2979         * nscd/Makefile (otherlibs): Likewise.
2980         * posix/Makefile (otherlibs): Likewise.
2981         * pwd/Makefile (otherlibs): Likewise.
2982         * rt/Makefile (otherlibs): Likewise.
2983         * sunrpc/Makefile (otherlibs): Likewise.
2984         * nss/Makefile (otherlibs): Likewise.
2985         Add libnss_files to routines and static-only-routines.
2986         ($(objpfx)getent): Remove rule.
2987         * resolv/Makefile: Add libnss_dns and libresolv to routines and
2988         static-only-routines.
2990 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2992         [BZ #13892]
2993         * math/s_cexp.c: Include <float.h>.
2994         (__cexp): Handle exp result overflowing not necessarily
2995         overflowing both real and imaginary parts of result.
2996         * math/s_cexpf.c: Likewise.
2997         * math/s_cexpl.c: Likewise.
2998         * math/libm-test.inc (cexp_test): Add more tests.
2999         * sysdeps/i386/fpu/libm-test-ulps: Update.
3000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3002 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3004         * include/link.h (ELFW): New macro.
3005         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3006         Replace ELF64_R_TYPE with ELFW(R_TYPE).
3008 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3010         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3011         with uint64_t.
3013 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3015         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3016         declaration.
3017         (struct La_x32_retval): Likewise.
3019 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3021         * sysdeps/x86_64/preconfigure.in: New file.
3022         * sysdeps/x86_64/preconfigure: New generated file.
3024 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
3026         [BZ #13824]
3027         * math/e_exp2l.c: Include <float.h>.
3028         (__ieee754_exp2l): Handle overflow and underflow cases
3029         separately.  Only pass fractional part of argument to
3030         __ieee754_expl.
3031         * math/libm-test.inc (exp2_test): Add more tests.
3033         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3034         negating x to take absolute value.
3035         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3036         Likewise.
3037         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3038         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3039         Likewise.
3040         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3041         computing low part if x was negated.
3042         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3044 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3046         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3047         la_x32_gnu_pltexit.
3048         (pltexit): Cast int_retval to ptrdiff_t.
3049         * elf/tst-auditmod3b.c: Likewise.
3050         * elf/tst-auditmod4b.c: Likewise.
3051         * elf/tst-auditmod5b.c: Likewise.
3052         * elf/tst-auditmod6b.c: Likewise.
3053         * elf/tst-auditmod6c.c: Likewise.
3054         * elf/tst-auditmod7b.c: Likewise.
3056         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3057         and x32_gnu_pltexit.
3059         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3060         __ELF_NATIVE_CLASS.
3061         (La_x32_regs): New macro.
3062         (La_x32_retval): Likewise.
3063         (la_x32_gnu_pltenter): New function prototype.
3064         (la_x32_gnu_pltexit): Likewise.
3066 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
3068         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3069         exponent.
3071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3073         * configure.in (libc_cv_cc_nofma): Check for option to disable
3074         generation of FMA instructions.
3075         * configure: Regenerate.
3076         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3077         * sysdeps/ieee754/dbl-64/Makefile: New file.
3078         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3079         Remove brandred-fma4.
3080         (CFLAGS-brandred-fma4.c): Remove.
3081         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3082         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3083         define.
3084         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3085         define.
3087 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3089         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3090         LLONG_MAX != LONG_MAX.
3091         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3092         (_fitoa_word): Likewise.
3093         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3094         LLONG_MAX != LONG_MAX.
3095         * stdio-common/_itowa.h: Include <_itoa.h>.
3096         (_itowa_word): Use _ITOA_WORD_TYPE on value.
3097         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
3098         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
3099         only if not defined.
3100         (_ITOA_WORD_TYPE): Likewise.
3101         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3102         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3104 2012-03-21  David S. Miller  <davem@davemloft.net>
3106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3108 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3110         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3111         of x86_64 when setting libc_cv_slibdir, libdir and
3112         libc_cv_localedir.
3113         * sysdeps/unix/sysv/linux/configure: Regenerated.
3115 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3117         * manual/lang.texi (Old Varargs): Remove section.
3118         (How Variadic): Update menu.
3119         (va_start): Do not mention varargs.h.
3121 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3122             Joseph Myers  <joseph@codesourcery.com>
3124         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3125         link test.
3126         * configure: Regenerated.
3128 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3130         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3131         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3132         conformtest.pl
3134 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3136         * NOTES: Remove.
3137         * Makefile (files-for-dist): Remove NOTES.
3138         (NOTES): Remove rule.
3139         * README: Don't refer to NOTES.
3140         * manual/creature.texi: Don't include macros.texi.
3141         * manual/intro.texi (creature.texi): Remove comment referring to
3142         NOTES.
3144         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3145         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3146         * configure: Regenerated.
3147         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3148         LIBC_TRY_CC_OPTION.
3149         (libc_cv_as_i686): Likewise.
3150         (libc_cv_cc_avx): Likewise.
3151         (libc_cv_cc_sse2avx): Likewise.
3152         (libc_cv_cc_fma4): Likewise.
3153         (libc_cv_cc_novzeroupper): Likewise.
3154         * sysdeps/i386/configure: Regenerated.
3156         [BZ #13883]
3157         * sysdeps/i386/fpu/s_cexp.S: Remove.
3158         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3159         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3160         * math/libm-test.inc (cexp_test): Add more tests.
3161         * sysdeps/i386/fpu/libm-test-ulps: Update.
3162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3164 2012-03-21  Allan McRae  <allan@archlinux.org>
3166         * timezone/Makefile: Do not install iso3166.tab and zone.tab
3168 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3170         [BZ #13871]
3171         * math/w_exp2.c: Do not include <float.h>.
3172         (o_threshold, u_threshold): Remove.
3173         (__exp2): Calculate result before checking finiteness and calling
3174         __kernel_standard.
3175         * math/w_exp2f.c: Likewise.
3176         * math/w_exp2l.c: Likewise.
3177         * math/libm-test.inc (exp2_test): Require overflow exception for
3178         1e6 input.
3180         [BZ #3866]
3181         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3182         range of signed 64-bit integers before using fistpll.  Remove
3183         checks for whether integers fit in mantissa bits.
3184         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3185         the range of signed 32-bit integers before using fistpl.  Remove
3186         checks for whether integers fit in mantissa bits.
3187         * sysdeps/i386/fpu/e_powl.S (p64): New object.
3188         (__ieee754_powl): Test for y outside the range of signed 64-bit
3189         integers before using fistpll.  Reduce 64-bit values to 63-bit
3190         ones as needed.
3191         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3192         divide-by-zero is raised for zero to large negative powers.
3193         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3194         (__ieee754_powl): Test for y outside the range of signed 64-bit
3195         integers before using fistpll.  Reduce 64-bit values to 63-bit
3196         ones as needed.
3197         * math/libm-test.inc (pow_test): Add more tests.
3199 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3201         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3202         <stdio-common/_itoa.h>.
3203         * debug/segfault.c: Likewise.
3204         * elf/dl-cache.c: Likewise.
3205         * elf/dl-minimal.c: Likewise.
3206         * elf/dl-misc.c: Likewise.
3207         * elf/dl-sysdep.c: Likewise.
3208         * elf/dl-version.c: Likewise.
3209         * elf/rtld.c: Likewise.
3210         * hurd/hurdsock.c: Likewise.
3211         * hurd/lookup-retry.c: Likewise.
3212         * malloc/malloc.c: Likewise.
3213         * malloc/mtrace.c: Likewise.
3214         * nscd/nscd_getgr_r.c: Likewise.
3215         * nscd/nscd_getpw_r.c: Likewise.
3216         * nscd/nscd_getserv_r.c: Likewise.
3217         * posix/getopt_init.c: Likewise.
3218         * posix/wordexp.c: Likewise.
3219         * stdio-common/_itoa.c: Likewise.
3220         * stdio-common/printf_fphex.c: Likewise.
3221         * stdio-common/vfprintf.c: Likewise.
3222         * string/_strerror.c: Likewise.
3223         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3224         * sysdeps/i386/i686/hp-timing.h: Likewise.
3225         * sysdeps/mach/_strerror.c: Likewise.
3226         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3227         * sysdeps/mach/hurd/sethostid.c: Likewise.
3228         * sysdeps/mach/hurd/xmknodat.c: Likewise.
3229         * sysdeps/mach/xpg-strerror.c: Likewise.
3230         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3231         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3232         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3233         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3234         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3235         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3236         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3237         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3238         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3239         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3240         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3241         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3242         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3243         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3244         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3245         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3246         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3247         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3248         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3249         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3250         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3252         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3254         * stdio-common/_itoa.h: Moved to ...
3255         * sysdeps/generic/_itoa.h: Here.
3257         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3259         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3260         instead of "_itoa.h" and "_itowa.h".
3261         * stdio-common/vfprintf.: Likewise.
3263 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3265         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3266         <bits/wordsize.h>.
3267         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3268         (__signbit): Likwise.
3269         (llrintf): Likwise.
3270         (llrint): Likwise.
3272 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3274         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3275         __WORDSIZE != 64.
3277 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
3279         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3280         OVERFLOW_EXCEPTION_OK.
3281         * math/libm-test.inc ("Philosophy"): Update comment about
3282         exception testing.
3283         (OVERFLOW_EXCEPTION): Define.
3284         (OVERFLOW_EXCEPTION_OK): Likewise.
3285         (INVALID_EXCEPTION_OK): Renumber.
3286         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3287         (IGNORE_ZERO_INF_SIGN): Likewise.
3288         (test_exceptions): Handle FE_OVERFLOW.
3289         (exp10_test): Expect overflow exceptions.
3290         (exp2_test): Likewise.
3291         (expm1_test): Likewise.
3292         (nextafter_test): Likewise.
3293         (pow_test): Likewise.
3294         (scalbn_test): Likewise.
3295         (scalbln_test): Likewise.
3297 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3299         * sysdeps/x86_64/bits/atomic.h
3300         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3301         64bit integer.
3302         (atomic_exchange_acq): Likewise.
3303         (__arch_exchange_and_add_body): Likewise.
3304         (__arch_add_body): Likewise.
3305         (atomic_add_negative): Likewise.
3306         (atomic_add_zero): Likewise.
3308 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3310         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3311         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3313 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3315         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3316         Check __x86_64__ instead of __WORDSIZE.
3318 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3320         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3322 2012-03-19  David S. Miller  <davem@davemloft.net>
3324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3326         * sysdeps/sparc/fpu/fenv_private.h: New file.
3327         * sysdeps/sparc/fpu/math_private.h: Use it.
3328         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3329         Remove.
3330         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3331         (libc_feholdexcept_setroundl): Remove.
3332         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3333         Remove.
3334         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3335         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3337 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3339         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3340         int64_t instead of long int.
3341         (INSERT_WORDS64): Likwise.
3343 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3345         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3346         _Unwind_GetCFA return to _Unwind_Ptr first.
3348 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
3350         [BZ #13629]
3351         * math/s_clog.c: Include <float.h>.
3352         (__clog): Scale large or subnormal inputs.
3353         * math/s_clogf.c: Likewise.
3354         * math/s_clogl.c: Likewise.
3355         * math/s_clog10.c: Include <float.h>.
3356         (M_LOG10_2): Define.
3357         (__clog10): Scale large or subnormal inputs.
3358         * math/s_clog10f.c: Likewise.
3359         * math/s_clog10l.c: Likewise.
3360         * math/libm-test.inc (clog_test): Add more tests.
3361         (clog10_test): Likewise.
3362         * sysdeps/i386/fpu/libm-test-ulps: Update.
3363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3365         [BZ #11451]
3366         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3367         x and y.
3368         * math/libm-test.inc (atan2_test): Add another test.
3370         * Makerules (common-objdir-compile): Remove.
3371         * sysdeps/unix/Makefile (config-generated): Do not add
3372         $(unix-generated) to variable.
3373         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3374         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3375         Remove rule.
3376         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3377         Likewise.
3378         [generic bits/local_lim.h] (before-compile): Do not append to
3379         variable.
3380         [generic bits/local_lim.h] (common-generated): Likewise.
3381         [generic sys/param.h] (before-compile): Do not append to variable.
3382         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3383         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3384         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3385         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3386         include.
3387         [generic sys/param.h] (sys/param.h-includes): Remove variable.
3388         [generic sys/param.h] (sys/param.h-includes): Remove rule.
3389         [generic sys/param.h] ($(addprefix
3390         $(common-objpfx),$(sys/param.h-includes))): Likewise.
3391         [generic sys/param.h] (common-generated): Do not append to
3392         variable.
3393         [generic sys/param.h] (sysdep_headers): Likewise.
3394         [generic bits/errno.h] (before-compile): Do not append to
3395         variable.
3396         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3397         rule.
3398         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3399         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3400         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3401         [generic bits/errno.h] (common-generated): Do not append to
3402         variable.
3403         [generic bits/ioctls.h] (before-compile): Do not append to
3404         variable.
3405         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3406         rule.
3407         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3408         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3409         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3410         rule.
3411         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3412         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3413         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3414         [generic bits/ioctls.h] (common-generated): Do not append to
3415         variable.
3416         [generic sys/syscall.h] (syscall.h): Remove variable.
3417         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3418         rule.
3419         [generic sys/syscall.h] (before-compile): Do not append to
3420         variable.
3421         [generic sys/syscall.h] (common-generated): Likewise.
3422         * sysdeps/unix/errnos-tmpl.c: Remove file.
3423         * sysdeps/unix/errnos.awk: Likewise.
3424         * sysdeps/unix/ioctls-tmpl.c: Likewise.
3425         * sysdeps/unix/ioctls.awk: Likewise.
3426         * sysdeps/unix/mk-local_lim.c: Likewise.
3427         * sysdeps/unix/snarf-ioctls: Likewise.
3429 2012-03-19  Richard Henderson  <rth@twiddle.net>
3431         * sysdeps/i386/fpu/fenv_private.h: New file.
3432         * sysdeps/i386/fpu/math_private.h: Use it.
3433         (math_opt_barrier, math_force_eval): Remove.
3434         (libc_feholdexcept_setround_53bit): Remove.
3435         (libc_feupdateenv_53bit): Remove.
3436         * sysdeps/x86_64/fpu/math_private.h: Likewise.
3437         (math_opt_barrier, math_force_eval): Remove.
3438         (libc_feholdexcept): Remove.
3439         (libc_feholdexcept_setround): Remove.
3440         (libc_fetestexcept, libc_fesetenv): Remove.
3441         (libc_feupdateenv_test): Remove.
3442         (libc_feupdateenv, libc_feholdsetround): Remove.
3443         (libc_feresetround): Remove.
3445         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3446         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3448         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3449         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3450         (libc_feupdateenv_testl): New.
3451         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3452         (libc_feupdateenv_testf): New.
3453         (libc_feupdateenv): Use libc_feupdateenv_test.
3454         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3455         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3457         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3458         (libc_feholdsetroundf, libc_feholdsetroundl): New.
3459         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3460         (libc_feresetround_noex): New.
3461         (libc_feresetround_noexf): New.
3462         (libc_feresetround_noexl): New.
3463         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3464         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3465         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3466         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3467         SET_RESTORE_ROUND.
3468         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3469         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3470         (__cos): Likewise.
3471         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3472         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3473         SET_RESTORE_ROUND_NOEX.
3474         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3475         SET_RESTORE_ROUND_NOEXF.
3476         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3477         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3478         (libc_feholdsetroundf): New.
3479         (libc_feresetround, libc_feresetroundf): New.
3481         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3482         (libc_feholdexcept_setround_53bit): Convert from macro to function.
3483         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
3485         * sysdeps/generic/math_private.h: Include <fenv.h>.
3486         (default_libc_feholdexcept): New.
3487         (default_libc_feholdexcept_setround): New.
3488         (default_libc_fesetenv, default_libc_feupdateenv): New.
3489         (libc_feholdexcept): Only define if undefined.
3490         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3491         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3492         (libc_feholdexcept_setroundl): Likewise.
3493         (libc_feholdexcept_setround_53bit): Likewise.
3494         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3495         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3496         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3497         (libc_feupdateenv_53bit): Likewise.
3498         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3499         (libc_feholdexcept): Convert from macro to inline function.
3500         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3501         (libc_fesetenv, libc_feupdateenv): Likewise.
3503         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3504         not previously defined.
3505         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3506         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3507         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3508         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3509         * sysdeps/ieee754/flt-32/math_private.h: New file.
3510         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3511         math_private.h below SET_FLOAT_WORD.
3512         (__isnan, __isinf_ns, __finite): Remove.
3513         (__isnanf, __isinf_nsf, __finitef): Remove.
3515 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
3517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3519 2012-03-17  David S. Miller  <davem@davemloft.net>
3521         [BZ #6471]
3522         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3523         for 2.16.
3525 2012-03-16  David S. Miller  <davem@davemloft.net>
3527         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3528         warnings.
3530         [BZ #6471]
3531         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3532         properly.
3533         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3534         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3535         sysdep_routines when subdir is sysvipc.
3536         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3537         __getshmlba helper.
3539         * sysdeps/sparc/fpu/libm-test/ulps: Update.
3541 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3543         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3544         [__LP64__].
3546 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3548         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3549         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3550         (__lround): Renamed to ...
3551         (__llround): This.  Replace long int with long long int.
3552         Define lround functions as aliases of llround functions.
3553         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3555 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3557         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3558         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
3559         adresses to uintptr_t.  Replace "long int" and "unsigned long
3560         int" with "greg_t" on va_arg.
3562 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3564         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3565         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3567         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3568         Move e_machine check before EI_CLASS check.  Handle x32
3569         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3570         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3571         SKIP_EM_IA_64 and include
3572         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3574         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3575         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3576         (add_system_dir): New macro.
3578         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3579         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3581 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3583         [BZ #2551]
3584         [BZ #2552]
3585         [BZ #2553]
3586         [BZ #2554]
3587         [BZ #2562]
3588         [BZ #2563]
3589         [BZ #2565]
3590         [BZ #2566]
3591         [BZ #2576]
3592         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3593         (y0): Likewise.
3594         * math/w_j0f.c (j0f): Likewise.
3595         (y0f): Likewise.
3596         * math/w_j0l.c (__j0l): Likewise.
3597         (__y0l): Likewise.
3598         * math/w_j1.c (j1): Likewise.
3599         (y1): Likewise.
3600         * math/w_j1f.c (j1f): Likewise.
3601         (y1f): Likewise.
3602         * math/w_j1l.c (__j1l): Likewise.
3603         (__y1l): Likewise.
3604         * math/w_jn.c (jn): Likewise.
3605         (yn): Likewise.
3606         * math/w_jnf.c (jnf): Likewise.
3607         (ynf): Likewise.
3608         * math/w_jnl.c (__jnl): Likewise.
3609         (__ynl): Likewise.
3610         * math/libm-test.inc (j0_test): Add more tests.
3611         (j1_test): Likewise.
3612         (jn_test): Likewise.  Add trailing semicolon to existing test.
3613         (y0_test): Likewise.
3614         (y1_test): Likewise.
3615         * sysdeps/i386/fpu/libm-test-ulps: Update.
3616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3618         [BZ #13851]
3619         [BZ #13854]
3620         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3621         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3622         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3623         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3624         (__tanl): Set errno for infinite argument.
3625         * sysdeps/i386/fpu/mptan.c: Remove.
3626         * sysdeps/i386/fpu/s_tan.S: Likewise.
3627         * sysdeps/i386/fpu/s_tanl.S: Likewise.
3628         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3629         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3630         * math/libm-test.inc (tan_test): Add more tests and enable more
3631         tests for double and long double.
3632         * sysdeps/i386/fpu/libm-test-ulps: Update.
3633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3635 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3637         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3638         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3640 2012-03-16  Roland McGrath  <roland@hack.frob.com>
3642         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3643         * configure.in: Use it for both main tree and add-ons.
3644         * configure: Regenerated.
3646 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3648         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3650 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3652         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3653         in comment.
3655         [BZ #13851]
3656         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3657         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3658         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3659         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3660         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3661         infinite argument.
3662         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3663         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3664         != 0 for prec == 2.
3665         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3666         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3667         * sysdeps/i386/fpu/s_cosl.S: Likewise.
3668         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3669         * sysdeps/i386/fpu/s_sinl.S: Likewise.
3670         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3671         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3672         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3673         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3674         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3675         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3676         * math/libm-test.inc (cos_test): Add more tests and enable more
3677         tests for long double.
3678         (sin_test): Likewise.
3679         (sincos_test): Likewise.
3680         * sysdeps/i386/fpu/libm-test-ulps: Update.
3681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3683 2012-03-16  David S. Miller  <davem@davemloft.net>
3685         * sysdeps/sparc/fpu/math_private.h: New file.
3687 2012-03-15  David S. Miller  <davem@davemloft.net>
3689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3690         file.
3691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3693         file.
3694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3699         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3700         sysdep routines.
3701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3703         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3704         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3706         * sysdeps/sparc/sparc-ifunc.h: New file.
3707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3708         sparc-ifunc.h
3709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3711         Likewise.
3712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3713         Likewise.
3714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3718         Likewise.
3719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3724         Likewise.
3725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3726         Likewise.
3727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3731         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3733         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3734         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3736         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3737         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3741         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3742         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3743         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3744         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3745         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3746         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3747         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3748         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3749         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3750         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3752 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3754         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3755         scaling.
3756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3758 2012-03-15  Andreas Jaeger  <aj@suse.de>
3760         [BZ #13852]
3761         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3762         ieee754/flt-32 implementation for sin, cos and sincos.
3763         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3764         * sysdeps/i386/fpu/s_cosf.S: Likewise.
3765         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3766         * sysdeps/i386/fpu/s_sinf.S: Likewise.
3767         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3768         ieee754/flt-32 implementation for tan.
3770         * math/libm-test.inc (cos_test): Enable some large input tests for
3771         float as well
3772         (sin_test): Likewise.
3773         (sincos_test): Likewise.
3774         (tan_test): Add tests for large input.
3776         * sysdeps/i386/fpu/libm-test-ulps: Update.
3778 2012-03-15  Andreas Jaeger  <aj@suse.de>
3780         [BZ #13658]
3781         * math/libm-test.inc (cos_test): Add more test cases.
3782         (sin_test): Likewise.
3783         (sincos_test): Likewise.
3785 2012-03-15  Andreas Jaeger  <aj@suse.de>
3787         [BZ #13837]
3788         * math/libm-test.inc (cos_test): Add a test case for large input
3789         value.
3790         (sin_test): Likewise.
3791         (sincos_test): Likewise.
3793 2012-03-15  Andreas Jaeger  <aj@suse.de>,
3794         Joseph Myers  <joseph@codesourcery.com>
3796         [BZ #13658]
3797         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3798         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3799         * sysdeps/i386/fpu/branred.c: Likewise.
3800         * sysdeps/i386/fpu/dosincos.c: Likewise.
3801         * sysdeps/i386/fpu/mpa.c: Likewise.
3802         * sysdeps/i386/fpu/s_cos.S: Likewise.
3803         * sysdeps/i386/fpu/s_sin.S: Likewise.
3804         * sysdeps/i386/fpu/s_sincos.S: Likewise.
3805         * sysdeps/i386/fpu/sincos32.c: Likewise.
3807         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3808         Define.
3809         (libc_feupdateenv_53bit): Define.
3810         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3811         Define.
3812         (libc_feupdateenv_53bit): Define.
3814         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3815         53 bit (without extend i386 double precision).
3817         * math/libm-test.inc (sincos_test): Add tests for large input.
3818         (sin): Likewise.
3819         (cos): Likewise.
3821         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3823 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3827 2012-03-15  David S. Miller  <davem@davemloft.net>
3829         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3830         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3831         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3832         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3837         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3838         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3839         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3840         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3842         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3843         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3845         file.
3846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3848         file.
3849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3851         file.
3852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3854         file.
3855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3856         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3857         fmin/fmax sysdep routines.
3858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3860 2012-03-14  David S. Miller  <davem@davemloft.net>
3862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3863         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3866         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3867         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3868         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3869         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3870         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3874         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3875         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3876         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3877         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3880         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3882         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3883         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3884         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3885         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3886         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3887         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3888         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3889         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3890         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3891         routines.
3892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3893         file.
3894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3896         file.
3897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3899         file.
3900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3902         file.
3903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3905         file.
3906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3908         file.
3909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3910         file.
3911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3912         file.
3913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3914         file.
3915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3916         New file.
3917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3918         file.
3919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3920         file.
3921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3923         file.
3924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3926         file.
3927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3929         file.
3930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3932         VIS3 routines.
3934         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3935         New file.
3937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3939         * sysdeps/sparc/configure.in: New file.
3940         * sysdeps/sparc/configure: Generate.
3941         * configure.in (libc_cv_sparc_as_vis3): Substitute.
3942         * configure: Regenerate.
3943         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3944         * config.make.in (have-as-vis3): New.
3945         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3946         available use -Av9d instead of -Av9a.
3947         * sysdeps/sparc/sparc64/Makefile: Likewise.
3948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3950         New file.
3951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3952         file.
3953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3954         New file.
3955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3956         file.
3957         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3958         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3959         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3960         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3961         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3963         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3964         fzeros/fnegs to load 0x80000000 into a float register instead of
3965         using the stack.
3966         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3968 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3971         bits/syscall.h.
3972         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3973         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3974         ($(inst_includedir)/bits/syscall.h): Remove rule.
3975         ($(objpfx)bits/syscall.d): Include instead of
3976         $(objpfx)syscall-list.d.
3977         (generated): Change syscall-list.h and syscall-list.d to
3978         bits/syscall.h and bits/syscall.d.
3980 2012-03-14  Roland McGrath  <roland@hack.frob.com>
3982         [BZ #13846]
3983         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3985 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3987         [BZ #13841]
3988         * math/s_csqrt.c: Include <float.h>.
3989         (__csqrt): Scale large or subnormal inputs.
3990         * math/s_csqrtf.c: Likewise.
3991         * math/s_csqrtl.c: Likewise.
3992         * math/libm-test.inc (csqrt_test): Add more tests.
3993         * sysdeps/i386/fpu/libm-test-ulps: Update.
3994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3996         [BZ #13840]
3997         * math/libm-test.inc (hypot_test): Add more tests.
3999 2012-03-13  David S. Miller  <davem@davemloft.net>
4001         [BZ #13840]
4002         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4003         double-precision for the calculation instead of scaling.
4005 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
4007         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4008         manipulate bits before adding and subtracting TWO52[sx].
4009         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4010         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4011         Likewise.
4012         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4014 2012-03-13  David S. Miller  <davem@davemloft.net>
4016         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4017         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4018         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4019         rtld-global-offsets.h
4020         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4022         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4023         large parameters.
4025         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4027         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4028         'err' in the ifdef scope in which it is actually used.
4030         * nss/nss_db/db-init.c: Include string.h
4032 2012-03-12  David S. Miller  <davem@davemloft.net>
4034         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4035         masking out of the most significant byte of random value used.
4036         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4037         Fix coding style in previous change.
4039         * sysdeps/unix/sysv/linux/kernel-features.h
4040         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4041         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4042         expression.
4043         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4044         later.
4046 2012-03-11  David S. Miller  <davem@davemloft.net>
4048         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4049         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4050         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4051         for 'resultvar' otherwise things get truncated on 64-bit.
4053         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4054         Fix masking out of the most significant byte of random value used.
4056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4058 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
4060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4062 2012-03-09  David S. Miller  <davem@davemloft.net>
4064         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4065         variables with appropriate CPP guards.
4066         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4067         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
4068         on resulting framesize and the management of the outregs buffer for pltexit.
4069         Preserve floating point return values across _dl_call_pltexit call.
4070         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4071         framesize and the management of the outregs buffer for pltexit.
4072         Preserve floating point return values across _dl_call_pltexit
4073         call.
4074         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4075         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4076         (print_exit): Fix format string for return register value.
4078 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
4080         * sunrpc/Makefile (others): Add rpcgen.
4081         ($(objpfx)rpcgen): Remove special build rule and dependency on
4082         libc.
4083         * sunrpc/rpcgen.c: New file.
4085 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
4087         [BZ #13673]
4088         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4089         * stdio-common/bug-vfprintf-nargs.c: Likewise.
4090         * sysdeps/i386/crti.S: Likewise.
4091         * sysdeps/i386/crtn.S: Likewise.
4092         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4093         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4094         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4095         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4096         * sysdeps/sh/crti.S: Likewise.
4097         * sysdeps/sh/crtn.S: Likewise.
4098         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4100         [BZ #13673]
4101         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4102         with URL.
4103         * locale/programs/locfile-kw.gperf: Likewise.
4104         * locale/programs/charmap-kw.h: Regenerated.
4105         * locale/programs/locfile-kw.h: Likewise.
4107         [BZ #13673]
4108         * intl/plural.y: Replace FSF snail mail address with URL.
4109         * intl/plural.c: Regenerated.
4111 2012-03-09  Richard Henderson  <rth@twiddle.net>
4113         * include/math_private.h: Remove file.
4114         * math/math_private.h: Move file ...
4115         * sysdeps/generic/math_private.h: ... here.
4117         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4118         * sysdeps/powerpc/fpu/math_private.h: Likewise.
4119         * sysdeps/x86_64/fpu/math_private.h: Likewise.
4121         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4122         and <math_private.h>.
4123         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4124         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4125         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4126         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4127         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4128         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4129         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4130         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4131         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4132         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4134         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4135         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4136         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4137         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4138         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4139         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4140         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4141         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4142         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4143         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4144         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4145         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4146         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4147         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4148         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4149         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4150         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4151         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4152         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4153         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4154         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4155         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4156         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4157         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4158         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4159         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4160         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4161         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4162         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4163         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4164         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4165         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4166         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4167         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4168         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4169         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4170         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4171         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4172         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4173         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4174         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4175         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4176         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4177         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4178         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4179         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4180         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4181         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4182         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4183         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4184         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4185         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4186         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4187         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4188         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4189         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4190         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4191         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4192         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4193         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4194         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4195         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4196         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4197         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4198         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4199         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4200         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4201         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4202         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4203         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4204         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4205         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4206         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4207         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4208         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4209         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4210         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4211         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4212         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4213         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4214         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4215         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4216         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4217         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4218         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4219         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4220         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4221         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4222         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4223         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4224         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4225         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4226         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4227         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4228         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4229         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4230         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4231         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4232         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4233         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4234         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4235         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4236         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4237         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4238         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4239         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4240         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4241         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4242         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4243         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4244         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4245         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4246         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4247         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4248         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4249         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4250         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4251         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4252         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4253         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4254         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4255         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4256         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4257         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4258         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4259         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4260         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4261         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4262         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4263         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4264         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4265         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4266         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4267         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4268         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4269         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4270         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4271         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4272         * sysdeps/ieee754/k_standard.c: Likewise.
4273         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4274         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4275         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4276         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4277         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4278         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4279         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4280         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4281         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4282         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4283         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4284         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4285         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4286         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4287         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4288         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4289         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4290         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4291         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4292         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4293         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4294         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4295         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4296         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4297         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4298         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4299         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4300         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4301         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4302         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4303         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4304         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4305         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4306         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4307         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4308         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4309         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4310         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4311         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4312         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4313         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4314         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4315         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4316         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4317         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4318         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4319         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4320         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4321         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4322         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4323         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4324         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4325         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4326         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4327         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4328         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4329         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4330         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4331         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4332         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4333         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4334         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4335         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4336         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4337         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4338         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4339         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4340         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4341         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4342         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4343         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4345         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4346         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4347         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4348         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4349         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4350         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4351         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4352         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4353         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4354         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4355         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4356         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4357         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4358         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4359         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4360         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4361         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4362         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4363         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4364         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4365         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4366         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4367         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4368         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4369         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4370         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4371         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4372         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4373         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4374         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4375         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4376         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4377         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4378         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4379         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4380         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4381         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4382         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4383         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4384         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4385         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4386         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4387         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4388         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4390         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4391         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4392         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4393         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4394         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4395         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4396         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4397         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4398         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4399         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4400         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4401         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4402         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4403         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4404         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4405         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4406         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4407         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4408         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4409         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4410         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4411         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4412         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4413         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4414         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4415         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4416         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4417         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4418         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4419         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4420         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4421         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4422         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4423         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4424         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4425         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4426         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4428         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4431         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4433         * sysdeps/ieee754/s_lib_version.c: Likewise.
4434         * sysdeps/ieee754/s_matherr.c: Likewise.
4435         * sysdeps/ieee754/s_signgam.c: Likewise.
4436         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4437         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4438         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4439         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4440         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4441         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4442         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4443         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4444         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4445         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4446         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4447         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4448         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4449         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4450         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4451         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4452         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4453         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4454         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4455         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4456         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4458 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4460         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4461         * sunrpc/rpc_main.c: Likewise.
4462         * sunrpc/rpc_svcout.c: Likewise.
4464 2012-03-09  David S. Miller  <davem@davemloft.net>
4466         * include/math_private.h: New file.
4468 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4470         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4471         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4472         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4473         from <bits/socket_type.h>.
4474         (enum __socket_type): Don't define here.
4475         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4476         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4477         bits/socket_type.h.
4479         [BZ #13566]
4480         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4481         checking __USE_GNU.
4483         * Makerules ($(inst_includedir)/%.h): New rule.
4484         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4485         (install-others): Remove variable setting.
4486         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4488 2012-03-08  Richard Henderson  <rth@twiddle.net>
4490         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4491         from macro to inline function; merge with the
4492         !__LIBC_INTERNAL_MATH_INLINES version.
4493         (__ieee754_sqrtf): Likewise.
4495         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4496         to inline function.
4497         (__rintf, __floor, __floorf): Likewise.
4499         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4500         macro to inline function.
4501         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4503         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4504         not <math/math_private.h>.
4506 2012-03-08  David S. Miller  <davem@davemloft.net>
4508         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4509         copyright year.
4510         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4512 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
4514         * resolv/gai_misc.c (handle_requests): Fix struct timespec
4515         normalization.
4516         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4517         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4519 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
4521         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
4522         be defined individually, they must be defined as a block.  Define
4523         S for printing a string instead of hidint the different by using a
4524         macro for adding the 'l'.
4525         * stdio-common/tst-fphex-wide.c: Adjust.
4527 2012-03-07  Marek Polacek  <polacek@redhat.com>
4529         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4531 2012-03-08  Marek Polacek  <polacek@redhat.com>
4533         [BZ #13806]
4534         * stdio-common/Makefile (tests): Add tst-fphex-wide.
4535         * stdio-common/tst-fphex.c: Define a few macros to make the
4536         test reusable.  Use them.
4537         * stdio-common/tst-fphex-wide.c: New file.
4539 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
4541         [BZ #6911]
4542         * manual/macros.texi (gnusystems): New macro.
4543         (nongnusystems): Likewise.
4544         (gnulinuxhurdsystems): Likewise.
4545         (gnuhurdsystems): Likewise..
4546         (gnulinuxsystems): Likewise.
4547         * manual/charset.texi: Use new macros or @theglibc{} to refer to
4548         variants of the GNU system, not "GNU system".
4549         * manual/conf.texi: Likewise.
4550         * manual/errno.texi: Likewise.  Update example of errno macro
4551         expansion.
4552         * manual/filesys.texi: Likewise.
4553         (getumask): Document as specific to GNU/Hurd.
4554         * manual/install.texi: Likewise.  Reword some references to
4555         GNU/Linux.
4556         * manual/intro.texi: Likewise.
4557         * manual/io.texi: Likewise.
4558         (File Name Portability): Detail which constraints are inapplicable
4559         to all GNU systems and which are only inapplicable to GNU/Hurd.
4560         * manual/job.texi: Likewise.
4561         * manual/llio.texi: Likewise.
4562         (O_NOCTTY): Document as present on GNU/Linux.
4563         * manual/maint.texi: Likewise.
4564         * manual/memory.texi: Likewise.
4565         * manual/pattern.texi: Likewise.
4566         * manual/pipe.texi: Likewise.
4567         * manual/process.texi: Likewise.
4568         * manual/resource.texi: Likewise.
4569         (RUSAGE_CHILDREN): Remove statement about specifying a particular
4570         child on GNU/Hurd.
4571         * manual/setjmp.texi: Likewise.
4572         * manual/signal.texi: Likewise.
4573         * manual/startup.texi: Likewise.
4574         * manual/stdio.texi: Likewise.
4575         * manual/terminal.texi: Likewise.
4576         (ONLCR): Document as POSIX.
4577         (OXTABS): Document availability on GNU/Linux as XTABS.
4578         (ONOEOT): Document availability separately from other bits.
4579         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4580         * manual/time.texi: Likewise.
4581         * manual/users.texi: Likewise.
4582         * INSTALL: Regenerated.
4583         * sysdeps/gnu/errlist.c: Regenerated.
4585         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4586         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4587         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
4588         puts.
4589         * configure: Regenerated.
4591 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
4593         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4594         default includes instead of AC_HEADER_CHECK.
4595         * sysdeps/i386/configure: Regenerated.
4597         [BZ #10716]
4598         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4599         * math/s_cacoshf.c (__cacoshf): Likewise.
4600         * math/s_cacoshl.c (__cacoshl): Likewise.
4601         * math/s_casinh.c (__casinh): Set signs of result from argument.
4602         * math/s_casinhf.c (__casinhf): Likewise.
4603         * math/s_casinhl.c (__casinhl): Likewise.
4604         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4605         (casinh_test): Add more tests.
4606         * sysdeps/i386/fpu/libm-test-ulps: Update.
4607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4609 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
4611         * po/zh_TW.po: Update from translation team.
4613         * login/Makefile (distribute): Remove variable.
4614         * catgets/Makefile: Likewise.
4615         * mach/Makefile: Likewise.
4616         * malloc/Makefile: Likewise.
4617         * misc/Makefile: Likewise.
4618         * iconv/Makefile: Likewise.
4619         * nscd/Makefile: Likewise.
4620         * hurd/Makefile: Likewise.
4621         * manual/Makefile: Likewise.
4622         * locale/Makefile: Likewise.
4623         * intl/Makefile: Likewise.
4624         * conform/Makefile: Likewise.
4625         * nss/Makefile: Likewise.
4626         * time/Makefile: Likewise.
4627         * soft-fp/Makefile: Likewise.
4628         * dirent/Makefile: Likewise.
4629         * gmon/Makefile: Likewise.
4630         * po/Makefile: Likewise.
4631         * rt/Makefile: Likewise.
4632         * socket/Makefile: Likewise.
4633         * math/Makefile: Likewise.
4634         * signal/Makefile: Likewise.
4635         * debug/Makefile: Likewise.
4636         * elf/Makefile: Likewise.
4637         * timezone/Makefile: Likewise.
4638         * stdlib/Makefile: Likewise.
4639         * iconvdata/Makefile: Likewise.
4640         * sunrpc/Makefile: Likewise.
4641         * io/Makefile: Likewise.
4642         * argp/Makefile: Likewise.
4643         * inet/Makefile: Likewise.
4644         * hesiod/Makefile: Likewise.
4645         * grp/Makefile: Likewise.
4646         * csu/Makefile: Likewise.
4647         * wctype/Makefile: Likewise.
4648         * crypt/Makefile: Likewise.
4649         * libio/Makefile: Likewise.
4650         * string/Makefile: Likewise.
4651         * nis/Makefile: Likewise.
4652         * resolv/Makefile: Likewise.
4653         * stdio-common/Makefile: Likewise.
4654         * wcsmbs/Makefile: Likewise.
4655         * dlfcn/Makefile: Likewise.
4656         * posix/Makefile: Likewise.
4658         [BZ #6959]
4659         * timezone/Makefile: Don't install timezone files, just the programs
4660         and scripts.
4662 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
4664         * nss/databases.def: Add missing gshadow entry.
4666         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
4668 2012-03-06  Marek Polacek  <polacek@redhat.com>
4670         [BZ #13726]
4671         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4672         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4673         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4674         * stdio-common/tst-long-dbl-fphex.c: New file.
4676 2012-03-06  David S. Miller  <davem@davemloft.net>
4678         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4679         (set_obp_int): New function.
4680         (get_obp_int): New function.
4681         (__get_clockfreq_via_dev_openprom): Likewise.
4682         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4683         Avoid unused variable warnings on 'val' and use builtin_expect.
4684         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4685         __builtin_expect.
4686         (INLINE_CLONE_SYSCALL): Likewise.
4688 2012-03-05  David S. Miller  <davem@davemloft.net>
4690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4692 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
4694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4696         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4697         only for |x| >= 40.
4698         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4700 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4702         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4703         Replace gettimeofday with __vdso_gettimeofday.
4705         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4706         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4707         __vdso_clock_gettime and __vdso_getcpu.
4709         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4710         time with __vdso_time.
4712 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4714         * manual/lang.texi (size_t): Note types to which size_t may be
4715         equivalent with the GNU C Library, but do not describe when
4716         differences between them are significant.
4718 2012-03-05  Andreas Jaeger  <aj@suse.de>
4720         * sysdeps/i386/fpu/libm-test-ulps: Update.
4722 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4724         [BZ #3976]
4725         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4726         (__ieee754_pow): Save and restore rounding mode and use
4727         round-to-nearest for main computations.
4728         * math/libm-test.inc (pow_test_tonearest): New function.
4729         (pow_test_towardzero): Likewise.
4730         (pow_test_downward): Likewise.
4731         (pow_test_upward): Likewise.
4732         (main): Call the new functions.
4733         * sysdeps/i386/fpu/libm-test-ulps: Update.
4734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4736         [BZ #3976]
4737         * math/libm-test.inc (cosh_test_tonearest): New function.
4738         (cosh_test_towardzero): Likewise.
4739         (cosh_test_downward): Likewise.
4740         (cosh_test_upward): Likewise.
4741         (sinh_test_tonearest): Likewise.
4742         (sinh_test_towardzero): Likewise.
4743         (sinh_test_downward): Likewise.
4744         (sinh_test_upward): Likewise.
4745         (main): Call the new functions.
4746         * sysdeps/i386/fpu/libm-test-ulps: Update.
4747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4749 2012-03-05  Tom de Vries  <tom@codesourcery.com>
4751         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4752         default stack guard is set in last bytes.
4753         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4755 2012-03-05  Kees Cook  <keescook@chromium.org>
4757         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4759         [BZ #13656]
4760         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4761         possibly allocate from heap instead of stack.
4762         * stdio-common/bug-vfprintf-nargs.c: New file.
4763         * stdio-common/Makefile (tests): Add nargs overflow test.
4765 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
4767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4769 2012-03-03  Marek Polacek  <polacek@redhat.com>
4771         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4772         * math/math_private.h: Likewise.
4773         * stdlib/tst-strtod.c: Likewise.
4774         * sysdeps/i386/i486/bits/atomic.h: Likewise.
4775         * sysdeps/x86_64/bits/atomic.h: Likewise.
4777 2012-03-02  David S. Miller  <davem@davemloft.net>
4779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4783         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4784         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4785         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4786         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4788 2012-03-02  Roland McGrath  <roland@hack.frob.com>
4790         [BZ #13792]
4791         * manual/examples/README: New file, says the example source files
4792         can be used under GPL>=2.
4793         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4794         line containing just "*/".
4795         * manual/examples/add.c: Add copyright header (GPL>=2).
4796         * manual/examples/argp-ex1.c: Likewise.
4797         * manual/examples/argp-ex2.c: Likewise.
4798         * manual/examples/argp-ex3.c: Likewise.
4799         * manual/examples/argp-ex4.c: Likewise.
4800         * manual/examples/atexit.c: Likewise.
4801         * manual/examples/db.c: Likewise.
4802         * manual/examples/dir.c: Likewise.
4803         * manual/examples/dir2.c: Likewise.
4804         * manual/examples/execinfo.c: Likewise.
4805         * manual/examples/filecli.c: Likewise.
4806         * manual/examples/filesrv.c: Likewise.
4807         * manual/examples/fmtmsgexpl.c: Likewise.
4808         * manual/examples/genpass.c: Likewise.
4809         * manual/examples/inetcli.c: Likewise.
4810         * manual/examples/inetsrv.c: Likewise.
4811         * manual/examples/isockad.c: Likewise.
4812         * manual/examples/longopt.c: Likewise.
4813         * manual/examples/memopen.c: Likewise.
4814         * manual/examples/memstrm.c: Likewise.
4815         * manual/examples/mkfsock.c: Likewise.
4816         * manual/examples/mkisock.c: Likewise.
4817         * manual/examples/mygetpass.c: Likewise.
4818         * manual/examples/pipe.c: Likewise.
4819         * manual/examples/popen.c: Likewise.
4820         * manual/examples/rprintf.c: Likewise.
4821         * manual/examples/search.c: Likewise.
4822         * manual/examples/select.c: Likewise.
4823         * manual/examples/setjmp.c: Likewise.
4824         * manual/examples/sigh1.c: Likewise.
4825         * manual/examples/sigusr.c: Likewise.
4826         * manual/examples/stpcpy.c: Likewise.
4827         * manual/examples/strdupa.c: Likewise.
4828         * manual/examples/strftim.c: Likewise.
4829         * manual/examples/strncat.c: Likewise.
4830         * manual/examples/subopt.c: Likewise.
4831         * manual/examples/swapcontext.c: Likewise.
4832         * manual/examples/termios.c: Likewise.
4833         * manual/examples/testopt.c: Likewise.
4834         * manual/examples/testpass.c: Likewise.
4835         * manual/examples/timeval_subtract.c: Likewise.
4837         [BZ #13792]
4838         * manual/time.texi (Elapsed Time): Move timeval_subtract example
4839         function to ...
4840         * manual/timeval_subtract.c.texi: ... here, new file.
4842 2012-03-02  David S. Miller  <davem@davemloft.net>
4844         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4846 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
4848         [BZ #3976]
4849         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4850         (__sin): Save and restore rounding mode and use round-to-nearest
4851         for all computations.
4852         (__cos): Save and restore rounding mode and use round-to-nearest
4853         for all computations.
4854         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4855         <fenv.h>.
4856         (tan): Save and restore rounding mode and use round-to-nearest for
4857         all computations.
4858         * math/libm-test.inc (cos_test_tonearest): New function.
4859         (cos_test_towardzero): Likewise.
4860         (cos_test_downward): Likewise.
4861         (cos_test_upward): Likewise.
4862         (sin_test_tonearest): Likewise.
4863         (sin_test_towardzero): Likewise.
4864         (sin_test_downward): Likewise.
4865         (sin_test_upward): Likewise.
4866         (tan_test_tonearest): Likewise.
4867         (tan_test_towardzero): Likewise.
4868         (tan_test_downward): Likewise.
4869         (tan_test_upward): Likewise.
4870         (main): Call the new functions.
4871         * sysdeps/i386/fpu/libm-test-ulps: Update.
4872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4874         [BZ #10135]
4875         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4876         small n, then large n, before computing and testing k+n.
4877         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4878         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4879         Likewise.
4880         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4881         Likewise.
4882         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4883         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4884         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4885         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4886         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4887         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4888         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4889         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4890         * math/libm-test.inc (scalbn_test): Add more tests.
4891         (scalbln_test): Likewise.
4893         * manual/filesys.texi (mode_t): Describe constraints on size and
4894         signedness, not exact equivalence to a particular type.
4895         (ino_t): Likewise.
4896         (ino64_t): Likewise.
4897         (dev_t): Likewise.
4898         (nlink_t): Likewise.
4899         (blkcnt_t): Likewise.
4900         (blkcnt64_t): Likewise.
4901         * manual/llio.texi (off_t): Likewise.
4903         [BZ #3976]
4904         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4905         (__ieee754_exp): Save and restore rounding mode and use
4906         round-to-nearest for all computations.
4907         * math/libm-test.inc (exp_test_tonearest): New function.
4908         (exp_test_towardzero): Likewise.
4909         (exp_test_downward): Likewise.
4910         (exp_test_upward): Likewise.
4911         (main): Call the new functions.
4912         * sysdeps/i386/fpu/libm-test-ulps: Update.
4913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4915 2012-03-01  Chris Demetriou  <cgd@google.com>
4917         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4918         have predictable order.
4920 2012-03-01  David S. Miller  <davem@davemloft.net>
4922         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4924         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4925         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4926         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4927         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4929         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4930         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4931         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4933         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4934         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4935         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4936         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4937         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4941         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4942         * sysdeps/sparc/fpu/libm-test-ulps: to here.
4943         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4945         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4946         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4947         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4948         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4949         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4950         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4951         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4952         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4953         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4954         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4955         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4956         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4957         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4958         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4959         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4961         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4962         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4963         * sysdeps/sparc/elf/configure: Regenerated.
4965 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
4967         * configure.in (AS, LD): Require binutils 2.20 or later.
4968         * configure: Regenerated.
4969         * manual/install.texi (Tools for Compilation): Give binutils 2.20
4970         as required minimum version.
4971         * INSTALL: Regenerated.
4973         [BZ #2541]
4974         [BZ #4108]
4975         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4976         before squaring exponent.
4977         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4978         bottom long double and 27 bits of top long double before squaring
4979         exponent.
4980         * math/libm-test.inc (erfc_test): Add more tests.
4981         * sysdeps/i386/fpu/libm-test-ulps: Update.
4982         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4985 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4987         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4988         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4989         containing bit-fields.
4990         * soft-fp/extended.h (_FP_UNION_E): Likewise.
4991         * soft-fp/single.h (_FP_UNION_S): Likewise.
4992         * soft-fp/double.h (_FP_UNION_D): Likewise.
4994 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4996         [BZ #13786]
4997         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4998         not include ../strcmp.S.
4999         [USE_AS_STRNCASECMP_L]: Likewise.
5000         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5001         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5002         * sysdeps/i386/i686/multiarch/strncase_l-c.c
5003         (__strncasecmp_l_ia32): Define as alias to
5004         __strncasecmp_l_nonascii.
5006         [BZ #5794]
5007         * math/libm-test.inc (expm1_test): Add test for bug 5794.
5008         * sysdeps/i386/fpu/libm-test-ulps: Update.
5009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5011         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5014 2012-02-29  Jeff Law  <law@redhat.com>
5016         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5017         out of bounds read.
5019 2012-02-29  Marek Polacek  <polacek@redhat.com>
5021         [BZ #13706]
5022         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5023         * elf/Makefile: Add rules to run tst-unused-dep.out.
5025 2012-02-28  David S. Miller  <davem@davemloft.net>
5027         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5028         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5029         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5030         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5031         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5032         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5034 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
5036         * math/libm-test.inc (llround_test): Move one test from
5037         lround_test.  Use TEST_f_L in moved test.
5038         (lround_test): Move misplaced test to llround_test.  Add testcase
5039         from bug 2561.
5041 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
5043         * sysdeps/x86_64/fpu/e_expf.S: New file.
5044         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5046 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
5048         [BZ #13637]
5049         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5050         of remain_len that may cause incomplete multi-byte character and
5051         false match.
5052         * posix/bug-regex33.c: New file.
5053         * posix/Makefile (tests): Add bug-regex33.
5055 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
5057         * manual/macros.texi: New file.
5058         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5059         * manual/libc.texinfo: Include macros.texi.
5060         * manual/creatute.texi: Likewise.
5061         * manual/install.texi: Likewise.
5062         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5063         @glibcadj{} in references to the GNU C Library.
5064         * manual/charset.texi: Likewise.
5065         * manual/conf.texi: Likewise.
5066         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
5067         when not using those macros.
5068         * manual/creature.texi: Likewise.
5069         * manual/crypt.texi: Likewise.
5070         * manual/errno.texi: Likewise.
5071         * manual/filesys.texi: Likewise.
5072         * manual/header.texi: Likewise.
5073         * manual/install.texi: Likewise.
5074         * manual/intro.texi: Likewise.
5075         * manual/io.texi: Likewise.
5076         * manual/job.texi: Likewise.
5077         * manual/lang.texi: Likewise.
5078         * manual/libc.texiinfo: Likewise.
5079         * manual/llio.texi: Likewise.
5080         * manual/locale.texi: Likewise.
5081         * manual/maint.texi: Likewise.
5082         * manual/math.texi: Likewise.
5083         * manual/memory.texi: Likewise.
5084         * manual/message.texi: Likewise.
5085         * manual/nss.texi: Likewise.
5086         * manual/pattern.texi: Likewise.
5087         * manual/process.texi: Likewise.
5088         * manual/resource.texi: Likewise.
5089         * manual/search.texi: Likewise.
5090         * manual/setjmp.texi: Likewise.
5091         * manual/signal.texi: Likewise.
5092         * manual/socket.texi: Likewise.
5093         * manual/startup.texi: Likewise.
5094         * manual/stdio.texi: Likewise.
5095         * manual/string.texi: Likewise.
5096         * manual/sysinfo.texi: Likewise.
5097         * manual/syslog.texi: Likewise.
5098         * manual/terminal.texi: Likewise.
5099         * manual/time.texi: Likewise.
5100         * manual/users.texi: Likewise.
5101         * INSTALL: Regenerated.
5102         * NOTES: Regenerated.
5103         * sysdeps/gnu/errlist.c: Regenerated.
5105 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5107         * include/dirent.h: Include <dirstream.h> before
5108         <dirent/dirent.h>.
5110 2012-02-28  David S. Miller  <davem@davemloft.net>
5112         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5113         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5114         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5115         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5117 2012-02-27  David S. Miller  <davem@davemloft.net>
5119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5121         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5122         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5125         frame pointer instead of stack pointer relative arg slot.
5126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5127         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5128         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5130 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
5132         [BZ #3992]
5133         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5135 2012-02-27  David S. Miller  <davem@davemloft.net>
5137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5141         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5142         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5143         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5144         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5146 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5148         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5149         later.  Allow versions 5-9.
5150         * configure: Regenerated.
5151         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5152         required minimum version and 4.6 as recommended version.  Do not
5153         mention bugs in GCC 2.7 and 2.8.
5154         * INSTALL: Regenerated.
5156 2012-02-27  David S. Miller  <davem@davemloft.net>
5158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5162         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5163         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5164         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5165         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5167         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5168         manipulate bits before adding and subtracting TWO112[sx].
5169         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5171 2012-02-27  Roland McGrath  <roland@hack.frob.com>
5173         [BZ #13775]
5174         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5175         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5176         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5177         being in POSIX, because they are in 1003.1-2008.
5179         * rt/tst-aio.c: Include <fcntl.h>.
5180         * rt/tst-aio7.c: Likewise.
5181         * rt/tst-aio64.c: Likewise.
5183         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5185 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5187         * manual/install.texi (--with-headers): Describe headers as
5188         interface headers, not private headers.
5189         (Specific advice for GNU/Linux systems): Describe use of headers
5190         from "make headers_install", not private headers from older
5191         kernels.
5192         * INSTALL: Regenerated.
5193         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5194         Change to 2.6.19.
5195         * sysdeps/unix/sysv/linux/configure: Regenerated.
5197         * manual/llio.texi (fclean): Remove documentation.
5199         * manual/Makefile (libc-texi-generated): New variable.  Include
5200         version.texi.
5201         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5202         $(libc-texi-generated), not duplicated list of files.
5203         (version.texi, stamp-version): New rules.
5204         (realclean): Remove $(libc-texi-generated), not individual files
5205         from that list.  Do not remove dir-add.texinfo.
5206         * manual/libc.texinfo: Comment out uses of edition numbers and
5207         references to printed manual.  Remove last-updated dates.
5208         (EDITION): Comment out.
5209         (ISBN): Likewise.
5210         (VERSION, UPDATED): Remove.
5211         (version.texi): Include.
5213 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
5215         * sysdeps/posix/spawni.c: Include <signal.h>.
5216         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5217         * sysdeps/pthread/aio_fsync.c: Likewise.
5219 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
5221         * conform/Makefile (tests): Run only when not cross-compiling and
5222         when fast-check is not defined.
5224         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5225         * conform/data/limits.h-data: Fixes for POSIX2008.
5226         * conform/run-conformtest.sh: Run all tests.
5227         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5228         headers.
5229         * include/bits/dlfcn.h: Likewise.
5230         * include/langinfo.h: Likewise.
5231         * include/monetary.h: Likewise.
5232         * include/sys/poll.h: Likewise.
5234         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5235         for __USE_GNU.
5236         * posix/spawn.h: Define __need_sigset_t.
5237         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5238         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5239         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
5240         to get sigevent_t only.
5241         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5242         only for __USE_GNU.
5243         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5244         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5245         process_vm_writev only for __USE_GNU.
5246         * termios/termios.h: Declare tcgetsid also for POSIX2008.
5248         * conform/Makefile: For now ignore errors from run-conformtest.
5249         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
5250         POSIX to avoid namespace pollution.  Don't prepend headers.
5251         * conform/data/aio.h-data: Fixes for POSIX testing.
5252         * conform/data/fcntl.h-data: Likewise.
5253         * conform/data/glob.h-data: Likewise.
5254         * conform/data/grp.h-data: Likewise.
5255         * conform/data/pthread.h-data: Likewise.
5256         * conform/data/pwd.h-data: Likewise.
5257         * conform/data/signal.h-data: Likewise.
5258         * conform/data/spawn.h-data: Likewise.
5259         * conform/data/stdio.h-data: Likewise.
5260         * conform/data/stdlib.h-data: Likewise.
5261         * conform/data/stropts.h-data: Likewise.
5262         * conform/data/sys/mman.h-data: Likewise.
5263         * conform/data/sys/stat.h-data: Likewise.
5264         * conform/data/sys/types.h-data: Likewise.
5265         * conform/data/sys/wait.h-data: Likewise.
5266         * conform/data/time.h-data: Likewise.
5267         * conform/data/unistd.h-data: Likewise.
5268         * conform/data/utime.h-data: Likewise.
5270         * io/sys/stat.h: fchmod was always in POSIX.
5271         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5272         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5273         * rt/aio.h: Define __need_timespec before including <time.h>.
5274         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5275         struct.  Add forward declaration of pthread_attr_t and use it in
5276         sigevent.
5277         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5278         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5279         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5280         always remove CLK_TCK definition.
5282 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
5284         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5286 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
5288         * conform/run-conformtest.sh: New file.
5289         * conform/Makefile: Run run-conformtest for tests.
5290         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
5291         support.
5293         * conform/data/uchar.h-data: New file.
5294         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5295         * conform/data/arpa/inet.h-data: Likewise.
5296         * conform/data/assert.h-data: Likewise.
5297         * conform/data/complex.h-data: Likewise.
5298         * conform/data/cpio.h-data: Likewise.
5299         * conform/data/ctype.h-data: Likewise.
5300         * conform/data/dirent.h-data: Likewise.
5301         * conform/data/dlfcn.h-data: Likewise.
5302         * conform/data/errno.h-data: Likewise.
5303         * conform/data/fcntl.h-data: Likewise.
5304         * conform/data/float.h-data: Likewise.
5305         * conform/data/fmtmsg.h-data: Likewise.
5306         * conform/data/fnmatch.h-data: Likewise.
5307         * conform/data/ftw.h-data: Likewise.
5308         * conform/data/glob.h-data: Likewise.
5309         * conform/data/grp.h-data: Likewise.
5310         * conform/data/iconv.h-data: Likewise.
5311         * conform/data/inttypes.h-data: Likewise.
5312         * conform/data/langinfo.h-data: Likewise.
5313         * conform/data/libgen.h-data: Likewise.
5314         * conform/data/limits.h-data: Likewise.
5315         * conform/data/locale.h-data: Likewise.
5316         * conform/data/math.h-data: Likewise.
5317         * conform/data/monetary.h-data: Likewise.
5318         * conform/data/mqueue.h-data: Likewise.
5319         * conform/data/ndbm.h-data: Likewise.
5320         * conform/data/net/if.h-data: Likewise.
5321         * conform/data/netdb.h-data: Likewise.
5322         * conform/data/netinet/in.h-data: Likewise.
5323         * conform/data/nl_types.h-data: Likewise.
5324         * conform/data/poll.h-data: Likewise.
5325         * conform/data/pthread.h-data: Likewise.
5326         * conform/data/pwd.h-data: Likewise.
5327         * conform/data/regex.h-data: Likewise.
5328         * conform/data/sched.h-data: Likewise.
5329         * conform/data/search.h-data: Likewise.
5330         * conform/data/semaphore.h-data: Likewise.
5331         * conform/data/setjmp.h-data: Likewise.
5332         * conform/data/signal.h-data: Likewise.
5333         * conform/data/spawn.h-data: Likewise.
5334         * conform/data/stdarg.h-data: Likewise.
5335         * conform/data/stdio.h-data: Likewise.
5336         * conform/data/stdlib.h-data: Likewise.
5337         * conform/data/string.h-data: Likewise.
5338         * conform/data/strings.h-data: Likewise.
5339         * conform/data/stropts.h-data: Likewise.
5340         * conform/data/sys/ipc.h-data: Likewise.
5341         * conform/data/sys/mman.h-data: Likewise.
5342         * conform/data/sys/msg.h-data: Likewise.
5343         * conform/data/sys/resource.h-data: Likewise.
5344         * conform/data/sys/select.h-data: Likewise.
5345         * conform/data/sys/sem.h-data: Likewise.
5346         * conform/data/sys/shm.h-data: Likewise.
5347         * conform/data/sys/socket.h-data: Likewise.
5348         * conform/data/sys/stat.h-data: Likewise.
5349         * conform/data/sys/statvfs.h-data: Likewise.
5350         * conform/data/sys/time.h-data: Likewise.
5351         * conform/data/sys/timeb.h-data: Likewise.
5352         * conform/data/sys/times.h-data: Likewise.
5353         * conform/data/sys/types.h-data: Likewise.
5354         * conform/data/sys/uio.h-data: Likewise.
5355         * conform/data/sys/un.h-data: Likewise.
5356         * conform/data/sys/utsname.h-data: Likewise.
5357         * conform/data/sys/wait.h-data: Likewise.
5358         * conform/data/syslog.h-data: Likewise.
5359         * conform/data/tar.h-data: Likewise.
5360         * conform/data/termios.h-data: Likewise.
5361         * conform/data/utime.h-data: Likewise.
5362         * conform/data/utmpx.h-data: Likewise.
5363         * conform/data/varargs.h-data: Likewise.
5364         * conform/data/wchar.h-data: Likewise.
5365         * conform/data/wctype.h-data: Likewise.
5366         * conform/data/wordexp.h-data: Likewise.
5368         * include/stropts.h: New file.
5369         * include/uchar.h: New file.
5370         * include/aio.h: Changes to allow conformtest.pl to use the headers.
5371         * include/assert.h: Likewise.
5372         * include/ctype.h: Likewise.
5373         * include/dirent.h: Likewise.
5374         * include/dlfcn.h: Likewise.
5375         * include/fcntl.h: Likewise.
5376         * include/fnmatch.h: Likewise.
5377         * include/glob.h: Likewise.
5378         * include/grp.h: Likewise.
5379         * include/libio.h: Likewise.
5380         * include/locale.h: Likewise.
5381         * include/math.h: Likewise.
5382         * include/net/if.h: Likewise.
5383         * include/netdb.h: Likewise.
5384         * include/netinet/in.h: Likewise.
5385         * include/pthread.h: Likewise.
5386         * include/pwd.h: Likewise.
5387         * include/regex.h: Likewise.
5388         * include/sched.h: Likewise.
5389         * include/search.h: Likewise.
5390         * include/setjmp.h: Likewise.
5391         * include/signal.h: Likewise.
5392         * include/stdio.h: Likewise.
5393         * include/stdlib.h: Likewise.
5394         * include/string.h: Likewise.
5395         * include/sys/cdefs.h: Likewise.
5396         * include/sys/mman.h: Likewise.
5397         * include/sys/msg.h: Likewise.
5398         * include/sys/resource.h: Likewise.
5399         * include/sys/select.h: Likewise.
5400         * include/sys/socket.h: Likewise.
5401         * include/sys/stat.h: Likewise.
5402         * include/sys/statvfs.h: Likewise.
5403         * include/sys/time.h: Likewise.
5404         * include/sys/times.h: Likewise.
5405         * include/sys/uio.h: Likewise.
5406         * include/sys/utsname.h: Likewise.
5407         * include/sys/wait.h: Likewise.
5408         * include/termios.h: Likewise.
5409         * include/time.h: Likewise.
5410         * include/ulimit.h: Likewise.
5411         * include/unistd.h: Likewise.
5412         * include/utime.h: Likewise.
5413         * include/wchar.h: Likewise.
5414         * include/wctype.h: Likewise.
5415         * include/wordexp.h: Likewise.
5417         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5419         * time/time.h: TIME_UTC must be a macro.
5420         Make timespec_get available for ISO C11 only as well.
5422 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
5424         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5425         Reported by Peng Haitao <penght@cn.fujitsu.com>.
5427 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5429         * configure.in: Use -o not -a in test for unsupported multi-arch.
5431 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5433         * manual/texinfo.tex: Update to version 2012-01-19.16.
5435 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5437         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5439 2012-02-24  Roland McGrath  <roland@hack.frob.com>
5441         [BZ #13738]
5442         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5443         * manual/fdl-1.3.texi: New file.
5444         * manual/fdl-1.1.texi: File removed.
5446         [BZ #13738]
5447         * manual/libc.texinfo (FDL_VERSION): New @set.
5448         Use it for mention of FDL in cover text.
5449         (Documentation License): Use it in @include file name.
5451 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5452             Roland McGrath  <roland@hack.frob.com>
5454         [BZ #5461]
5455         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5456         not LONG_LONG_MAX and LONG_LONG_MIN.
5457         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5458         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
5459         name.
5460         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5462 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5464         [BZ #2547]
5465         [BZ #11365]
5466         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5467         manipulate bits before adding and subtracting TWO23[sx].
5468         * math/libm-test.inc (nearbyint_test): Add more tests.
5470 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5472         [BZ #2548]
5473         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5474         bits before adding and subtracting TWO23[sx].
5475         * math/libm-test.inc (rint_test): Add more tests.
5476         (rint_test_tonearest): Likewise.
5477         (rint_test_towardzero): Likewise.
5478         (rint_test_downward): Likewise.
5479         (rint_test_upward: Likewise.
5481 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5483         [BZ #10110]
5484         * include/stdc-predef.h: New file.  Extracted from features.h.
5485         * include/features.h: Include stdc-predef.h.
5486         * Makefile (headers): Add stdc-predef.h.
5487         * CONFORMANCE (Compiler limitations): Update.
5489 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5491         * manual/libc.texinfo (VERSION, UPDATED): Revert.
5493 2012-02-21  David S. Miller  <davem@davemloft.net>
5495         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5496         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5498 2012-02-20  David S. Miller  <davem@davemloft.net>
5500         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5501         using a normal save/restore sequence, rather than allocating a
5502         dummy stack frame just to store a frame pointer and restore.
5503         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5505 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5507         * manual/install.texi: Fix stray word in line-wrapped comment.
5509 2012-02-20  David S. Miller  <davem@davemloft.net>
5511         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5512         both binutils and gcc support GOTDATA.
5514         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5515         "rd %pc" in the PIC register setup sequences.
5517         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5518         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5519         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5520         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5521         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5522         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5523         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5524         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5526         (SYSCALL_ERROR_HANDLER): Likewise.
5527         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5528         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5529         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5530         (SYSCALL_ERROR_HANDLER): Likewise.
5532         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5533         (HAVE_GCC_GOTDATA): New.
5534         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5535         relocation support in both binutils and gcc.
5536         * sysdeps/sparc/elf/configure: Regenerate.
5538         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5539         * sysdeps/sparc/sparc32/elf/configure: Delete.
5540         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5541         * sysdeps/sparc/sparc64/elf/configure: Delete.
5542         * sysdeps/sparc/elf/configure.in: New file.
5543         * sysdeps/sparc/elf/configure: Generate.
5545         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5546         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5547         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5548         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5549         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5551 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5553         * manual/install.texi: Do not mention specific glibc version
5554         numbers.
5555         * manual/libc.texinfo (VERSION, UPDATED): Update.
5556         (@copying): Use @copyright{} and range of years.
5558 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5560         [BZ #13695]
5561         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5562         [crti.S not in sysdirs] (generated): Do not append.
5563         [crti.S not in sysdirs] (omit-deps): Likewise.
5564         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5565         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5566         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5567         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5568         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5569         Likewise.
5570         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5571         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5572         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5573         * csu/defs.awk: Remove file.
5574         * sysdeps/generic/initfini.c: Likewise.
5575         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5576         variable.
5577         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5578         Likewise.
5580 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5582         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5583         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5584         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5585         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5586         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5587         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5588         <bits/epoll.h>.
5589         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5590         (__EPOLL_PACKED): Define to empty if not defined by
5591         <bits/epoll.h>.
5592         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5593         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5594         bits/epoll.h.
5596 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5598         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5599         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5600         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5601         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5602         <bits/timerfd.h>.
5603         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5604         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5605         bits/timerfd.h.
5607 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5609         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5610         in C locale.
5611         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5612         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5613         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5616 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
5618         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5619         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5621 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
5623         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5624         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5625         defined.
5626         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5627         Likewise.
5628         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5629         entry for 2.16.
5631 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
5633         * math/w_acos.c: Use non-signaling floating-point comparisons.
5634         * math/w_acosf.c: Likewise.
5635         * math/w_acosh.c: Likewise.
5636         * math/w_acoshf.c: Likewise.
5637         * math/w_acoshl.c: Likewise.
5638         * math/w_acosl.c: Likewise.
5639         * math/w_asin.c: Likewise.
5640         * math/w_asinf.c: Likewise.
5641         * math/w_asinl.c: Likewise.
5642         * math/w_atanh.c: Likewise.
5643         * math/w_atanhf.c: Likewise.
5644         * math/w_atanhl.c: Likewise.
5645         * math/w_exp2.c: Likewise.
5646         * math/w_exp2f.c: Likewise.
5647         * math/w_exp2l.c: Likewise.
5648         * math/w_j0.c: Likewise.
5649         * math/w_j0f.c: Likewise.
5650         * math/w_j0l.c: Likewise.
5651         * math/w_j1.c: Likewise.
5652         * math/w_j1f.c: Likewise.
5653         * math/w_j1l.c: Likewise.
5654         * math/w_jn.c: Likewise.
5655         * math/w_jnf.c: Likewise.
5656         * math/w_log.c: Likewise.
5657         * math/w_log10.c: Likewise.
5658         * math/w_log10f.c: Likewise.
5659         * math/w_log10l.c: Likewise.
5660         * math/w_log2.c: Likewise.
5661         * math/w_log2f.c: Likewise.
5662         * math/w_log2l.c: Likewise.
5663         * math/w_logf.c: Likewise.
5664         * math/w_logl.c: Likewise.
5665         * math/w_sqrt.c: Likewise.
5666         * math/w_sqrtf.c: Likewise.
5667         * math/w_sqrtl.c: Likewise.
5668         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5669         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5670         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5671         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5672         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5674 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5676         [BZ #9739]
5677         * manual/string.texi (strnlen): Use correct parameter name in
5678         equivalent expression.
5680 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5682         [BZ #11174]
5683         * manual/users.texi (seteuid): Consistently use neweuid for
5684         argument name.
5686 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5688         [BZ #13704]
5689         * manual/nss.texi (Services in the NSS configuration): Correct
5690         list of services in example configuration file.
5692 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
5694         [BZ #11322]
5695         * manual/arith.texi: Remove statements about negative zero
5696         behaving identically to zero.
5698 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5700         [BZ #5993]
5701         * manual/install.texi: Do not document upgrading from libc5.
5703 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5705         [BZ #4596]
5706         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5708 2012-02-18  David S. Miller  <davem@davemloft.net>
5710         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5711         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5712         %o7 across the call.
5713         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5714         instead.
5715         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5716         SETUP_PIC_REG_LEAF.
5717         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5718         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5719         * sysdeps/sparc/crtn.S: Likewise.
5721 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
5723         * aout/Makefile: Remove.
5725 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
5727         [BZ #13058]
5728         * manual/examples/argp-ex1.c (main): Format definition in GNU
5729         style.
5730         * manual/examples/argp-ex2.c (main): Likewise.
5731         * manual/examples/argp-ex3.c (main): Likewise.
5732         * manual/examples/argp-ex4.c (main): Likewise.
5733         * manual/examples/longopt.c (main): Use new-style prototype
5734         definition.
5735         * manual/examples/strncat.c (main): Specify return type and use
5736         (void) for arguments.
5737         * manual/examples/subopt.c (main): Use char **argv argument.
5739 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5741         [BZ #5077]
5742         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5743         rounding modes.
5745 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
5747         [BZ #6907]
5748         * manual/string.texi (strchr): Change when strchrnul is
5749         recommended.
5751 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
5753         [BZ #174]
5754         * manual/locale.texi (setlocale): Document LOCPATH.
5756 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5758         [BZ #10210]
5759         * manual/process.texi (execle): Move @dots{} before last argument.
5761 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
5763         [BZ #12047]
5764         * manual/charset.texi (Generic Charset Conversion): Fix typo
5765         (LC_TYPE -> LC_CTYPE).
5767 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
5769         [BZ #5805]
5770         * manual/arith.texi (scalbn): Use @var{} on parameter names.
5771         (scalbnf): Likewise.
5772         (scalbnl): Likewise.
5773         (scalbln): Likewise.
5774         (scalblnf): Likewise.
5775         (scalblnl): Likewise.
5776         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5777         (vwarnx): Likewise.
5778         (verr): Likewise.
5779         (verrx): Likewise.
5780         * manual/filesys.texi (telldir): Use braces around return type.
5781         * manual/llio.texi (mmap): Add space after comma.
5782         (mmap64): Likewise.
5783         * manual/math.texi (jn): Use @var{} on parameter names.
5784         (jnf): Likewise.
5785         (jnl): Likewise.
5786         (yn): Likewise.
5787         (ynf): Likewise.
5788         (ynl): Likewise.
5789         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5790         line.
5791         * manual/resource.texi (ulimit): Use @dots{} instead of literal
5792         "...".
5793         (sched_get_priority_min): Remove semicolon on @deftypefun line.
5794         (sched_get_priority_max): Likewise.
5795         * manual/signal.texi (sigvec): Add space after comma.
5796         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5797         names.
5798         (if_indextoname): Likewise.
5799         (if_freenameindex): Likewise.
5800         (sendto): Use ',' instead of '.' in prototype.
5801         * manual/startup.texi (syscall): Use @dots{} instead of literal
5802         "...".
5803         * manual/stdio.texi (__fpending): Separate initial words of
5804         paragraph from @deftypefun line.
5805         * manual/syslog.texi (syslog): Use @dots{} instead of literal
5806         "...".
5807         (vsyslog): Use @var{} on parameter names.
5808         * manual/terminal.texi (stty): Use @var{} on parameter names.
5809         * manual/users.texi (getutmp): Use @var{} on parameter names.
5810         (getutmpx): Likewise.
5812 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5814         [BZ #6884]
5815         * manual/stdio.texi (fopen): Fix typos in description of
5816         ",ccs=STRING".
5818 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
5820         [BZ #4026]
5821         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5822         get clock_id definition.
5824 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
5826         [BZ #4822]
5827         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5828         (madvise): Cast every argument to void on its own.
5830 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5832         [BZ #9902]
5833         * manual/startup.texi (Exit Status): Fix typo.
5835 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5837         [BZ #10140]
5838         * manual/examples/argp-ex1.c: Include <stdlib.h>.
5839         * manual/examples/argp-ex2.c: Likewise.
5840         * manual/examples/argp-ex3.c: Likewise.
5842 2012-02-16  Richard Henderson  <rth@redhat.com>
5844         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5845         * sysdeps/s390/s390-32/initfini.c: Remove.
5846         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5847         * sysdeps/s390/s390-64/initfini.c: Remove.
5849 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5851         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5852         compiler output for sysdeps/generic/initfini.c.
5853         * sysdeps/sh/elf/initfini.c: Remove file.
5855 2012-02-16  David S. Miller  <davem@davemloft.net>
5857         [BZ #11494]
5858         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5860         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5861         * sysdeps/sparc/crti.S: New file.
5862         * sysdeps/sparc/crtn.S: New file.
5863         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5864         * sysdeps/sparc/sparc64/Makefile: Likewise.
5866 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
5868         [BZ #3335]
5869         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5871 2012-02-15  Roland McGrath  <roland@hack.frob.com>
5873         [BZ #4822]
5874         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5876         * mach/devstream.c (cookie_io_functions_t): Macro removed.
5877         (write, read, close): Likewise.
5878         Patch by Aurelien Jarno <aurelien@aurel32.net>.
5880 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
5882         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5883         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5884         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5885         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5886         <bits/signalfd.h>.
5887         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5888         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5889         bits/signalfd.h.
5891 2012-02-14  Marek Polacek  <polacek@redhat.com>
5893         * sysdeps/x86_64/crti.S: New file.
5894         * sysdeps/x86_64/crtn.S: New file.
5895         * sysdeps/x86_64/elf/initfini.c: Remove file.
5897 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5899         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5900         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5901         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5902         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5903         <bits/inotify.h>.
5904         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5906         bits/inotify.h.
5908 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5910         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5911         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5912         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5913         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5914         <bits/eventfd.h>.
5915         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5917         bits/eventfd.h.
5919 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
5921         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5922         __feraiseexcept instead of feraiseexcept.
5924         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5925         nanosleep invocations.
5926         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5927         strings, and add error checking for a nanosleep invocations.
5929 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
5931         Replace FSF snail mail address with URLs, as per GNU coding standards.
5932         Most of the snail mail addresses were wrong anyway, and omitting
5933         them makes the source code easier to maintain.  Almost all of the
5934         changes are to license notices and to locale LC_IDENTIFICATION
5935         addresses, except for this one:
5936         * manual/libc.texinfo: In "Published by", give the FSF's URL,
5937         not its snail mail address.
5939 2012-02-09  Richard Henderson  <rth@twiddle.net>
5941         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5942         of kernel-features.h.
5944         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5946 2012-02-08  Marek Polacek  <polacek@redhat.com>
5948         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5949         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5950         * sysdeps/gnu/_G_config.h: Likewise.
5951         * sysdeps/generic/_G_config.h: Likewise.
5953 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5955         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5956         tests.
5957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5959         * sysdeps/powerpc/powerpc32/crti.S: New file.
5960         * sysdeps/powerpc/powerpc32/crtn.S: New file.
5961         * sysdeps/powerpc/powerpc64/crti.S: New file.
5962         * sysdeps/powerpc/powerpc64/crtn.S: New file.
5964         * Makeconfig (have-initfini): Don't set.
5965         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5966         * configure.in (nopic_initfini): Don't substitute.
5967         * config.h.in (HAVE_INITFINI): Don't #undef.
5968         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5969         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5971 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
5973         Support crti.S and crtn.S provided directly by architectures.
5974         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5975         [crti.S in sysdirs] (omit-deps): Likewise.
5976         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5977         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5978         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5979         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5980         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5981         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5982         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5983         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5984         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5985         compiler output for sysdeps/generic/initfini.c.
5986         * sysdeps/i386/elf/Makefile: Remove file.
5987         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5989 2012-02-07  Marek Polacek  <polacek@redhat.com>
5991         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5992         * sysdeps/gnu/_G_config.h: Likewise.
5993         * sysdeps/mach/hurd/_G_config.h: Likewise.
5995 2012-02-07  Marek Polacek  <polacek@redhat.com>
5997         * math/Makefile (tests): Add tst-CMPLX2.
5998         * math/tst-CMPLX2.c: New file.
6000 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
6002         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6004         * math/libm-test.inc (jn_test): Add missing L suffix.
6006 2012-02-06  Marek Polacek  <polacek@redhat.com>
6008         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6009         * sysdeps/i386/fpu/e_powf.S: Likewise.
6010         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6011         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6012         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6013         * sysdeps/i386/fpu/e_pow.S: Likewise.
6014         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6015         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6016         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6017         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6018         * sysdeps/i386/fpu/e_log2.S: Likewise.
6019         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6020         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6021         * sysdeps/i386/fpu/e_powl.S: Likewise.
6022         * sysdeps/i386/fpu/s_log1p.S: Likewise.
6023         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6024         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6025         * sysdeps/i386/fpu/e_logl.S: Likewise.
6026         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6027         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6028         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6029         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6030         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6031         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6032         * sysdeps/i386/fpu/e_log.S: Likewise.
6033         * sysdeps/i386/fpu/s_cexp.S: Likewise.
6034         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6035         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6036         * sysdeps/i386/fpu/e_logf.S: Likewise.
6037         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6038         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6039         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6040         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6041         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6042         * sysdeps/i386/fpu/e_log10.S: Likewise.
6043         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6044         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6045         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6046         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6047         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6048         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6049         * sysdeps/i386/asm-syntax.h: Likewise.
6050         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6051         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6052         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6053         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6054         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6055         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6056         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6057         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6058         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6059         * sysdeps/powerpc/sysdep.h: Likewise.
6060         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6061         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6063 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
6065         [BZ #411]
6066         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6068 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
6070         * sysdeps/i386/sysdep.h: Include <features.h>.
6071         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6072         version.
6074 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
6076         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6077         Define.
6078         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6079         LOAD_PIC_REG_STR.
6081 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6083         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6084         (SETUP_PIC_REG): Use GET_PC_THUNK.
6085         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6086         macro.
6088 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6090         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6091         for non-PIC compilation.
6092         (SETUP_PIC_REG): Add .p2align directive.
6093         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6094         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6095         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6096         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6097         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6098         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6099         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6100         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6101         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6102         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6103         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6104         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6105         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6106         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6107         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6108         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6109         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6110         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6111         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6112         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6113         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6114         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6115         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6116         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6117         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6118         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6119         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6120         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6121         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6122         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6123         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6124         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6125         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6126         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6127         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6128         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6129         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6130         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6131         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6132         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6133         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6135 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6137         * math/tst-CMPLX.c: Include <stdio.h>.
6139 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
6141         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6142         float.
6143         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6144         * sysdeps/sparc/bits/mathdef.h: Likewise.
6146 2012-01-31  Marek Polacek  <polacek@redhat.com>
6148         * libio/libio.h: Don't define _PARAMS.
6149         * locale/programs/config.h: Don't define PARAMS.
6150         * stdlib/strtol_l.c: Likewise.
6151         (__strtol_l): Remove PARAMS from the prototype.
6153 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
6155         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
6156         names.  Just use the correct names.  Remove unnecessary wrapper
6157         functions.
6158         * malloc/arena.c: Likewise.
6159         * malloc/hooks.c: Likewise.
6161         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6162         ARENA_TEST says not to.  Simplify test for creation of a new arena.
6163         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6165 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
6167         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6168         into tail calls.
6169         (update_get_addr): New function.
6170         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6171         GET_ADDR_MODULE parameter.
6173 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
6175         * crypt/cert.c: Remove __STDC__ conditionals.
6176         * crypt/crypt-entry.c: Likewise.
6177         * crypt/crypt_util.c: Likewise.
6178         * libio/filedoalloc.c: Likewise.
6179         * libio/fileops.c: Likewise.
6180         * libio/genops.c: Likewise.
6181         * libio/iofclose.c: Likewise.
6182         * libio/iofdopen.c: Likewise.
6183         * libio/iofopen.c: Likewise.
6184         * libio/iofopen64.c: Likewise.
6185         * libio/iogetdelim.c: Likewise.
6186         * libio/iopopen.c: Likewise.
6187         * libio/obprintf.c: Likewise.
6188         * libio/oldfileops.c: Likewise.
6189         * libio/oldiofclose.c: Likewise.
6190         * libio/oldiofdopen.c: Likewise.
6191         * libio/oldiofopen.c: Likewise.
6192         * libio/oldiopopen.c: Likewise.
6193         * libio/wfiledoalloc.c: Likewise.
6194         * libio/wgenops.c: Likewise.
6195         * locale/programs/xmalloc.c: Likewise.
6196         * misc/syslog.c: Likewise.
6197         * stdio-common/xbug.c: Likewise.
6198         * string/memchr.c: Likewise.
6199         * string/memcmp.c: Likewise.
6200         * string/memrchr.c: Likewise.
6201         * string/rawmemchr.c: Likewise.
6202         * sysdeps/posix/getcwd.c: Likewise.
6203         * time/strftime_l.c: Likewise.
6205 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
6207         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6208         * config.make.in (config-cflags-sse2avx): Define.
6209         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6210         Fix typo.
6212 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
6214         * scripts/config.guess: Update from upstream config git repository.
6215         * scripts/config.sub: Likewise.
6217 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
6219         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6220         (EM_NUM): Update.
6221         (R_TILEPRO_*, R_TILEGX_*): New macros.
6223         * scripts/firstversions.awk: Fix bug in version range handling.
6225         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6227         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6229         * include/sys/epoll.h: New file.
6230         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6231         libc_hidden_def.
6233 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
6235         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6236         Avoid unnecessary __WORDSIZE == 64 test.
6237         (fmaxf): Use VEX format if possible.
6238         (fmax): Likewise.
6239         (fminf): Likewise.
6240         (fmin): Likewise.
6242         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6243         * math/math_private.h: Remove libc_fegetround* and
6244         libc_fesetround*.
6245         * sysdeps/i386/configure.in: Check for -msse2avx.
6246         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6247         also if SSE2AVX is defined.
6248         Remove libc_fegetround* and libc_fesetround*.
6249         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6250         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
6251         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6252         of HAS_YMM_USABLE.
6253         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6254         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6255         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6256         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6257         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6259         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6261 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6263         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6264         size is not set.
6265         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6267 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
6269         [BZ #13618]
6270         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6271         relocation.
6272         * Makeconfig (libm): Define.
6273         * elf/Makefile: Add rules to build and run tst-relsort1.
6274         * elf/tst-relsort1.c: New file.
6275         * elf/tst-relsort1mod1.c: New file.
6276         * elf/tst-relsort1mod2.c: New file.
6278 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
6280         * math/s_ldexp.c: Remove __STDC__ conditionals.
6281         * math/s_ldexpf.c: Likewise.
6282         * math/s_ldexpl.c: Likewise.
6283         * math/s_nextafter.c: Likewise.
6284         * math/s_nexttowardf.c: Likewise.
6285         * math/s_significand.c: Likewise.
6286         * math/s_significandf.c: Likewise.
6287         * math/s_significandl.c: Likewise.
6288         * math/w_jnl.c: Likewise.
6289         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6290         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6291         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6292         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6293         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6294         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6295         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6296         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6297         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6298         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6299         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6300         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6301         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6302         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6303         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6304         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6305         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6306         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6307         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6308         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6309         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6310         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6311         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6312         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6313         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6314         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6315         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6316         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6317         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6318         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6319         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6320         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6321         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6322         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6323         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6324         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6325         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6326         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6327         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6328         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6329         * sysdeps/ieee754/k_standard.c: Likewise.
6330         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6331         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6332         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6334         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6335         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6336         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6337         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6338         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6339         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6340         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6341         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6342         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6343         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6346         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6347         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6348         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6349         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6350         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6351         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6352         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6353         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6354         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6355         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6356         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6357         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6358         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6359         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6360         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6361         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6362         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6363         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6364         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6365         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6366         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6367         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6368         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6369         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6370         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6371         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6372         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6373         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6374         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6375         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6376         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6377         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6378         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6379         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6380         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6381         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6382         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6383         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6384         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6385         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6386         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6387         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6388         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6389         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6390         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6391         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6392         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6393         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6394         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6395         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6396         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6397         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6398         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6399         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6400         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6401         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6402         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6403         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6404         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6405         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6406         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6407         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6408         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6409         * sysdeps/ieee754/s_matherr.c: Likewise.
6410         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6411         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6412         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6415 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6417         * crypt/md5.h: Remove __STDC__ conditionals.
6418         * libio/libioP.h: Likewise.
6419         * locale/programs/config.h: Likewise.
6420         * sysdeps/generic/sysdep.h: Likewise.
6421         * sysdeps/i386/asm-syntax.h: Likewise.
6422         * sysdeps/s390/asm-syntax.h: Likewise.
6423         * sysdeps/unix/sysdep.h: Likewise.
6424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6427 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6429         * libio/libio.h: Remove __STDC__ conditionals.
6430         * malloc/obstack.h: Likewise.
6431         * math/complex.h: Likewise.
6432         * math/math.h: Likewise.
6433         * sysdeps/generic/_G_config.h: Likewise.
6434         * sysdeps/gnu/_G_config.h: Likewise.
6435         * sysdeps/mach/hurd/_G_config.h: Likewise.
6436         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6437         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6438         * sysdeps/sparc/bits/mathdef.h: Likewise.
6440 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
6442         [BZ #13583]
6443         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6444         Clean up HAS_* macros.
6445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6446         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6447         possible.
6448         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6449         HAS_AVX.
6450         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6451         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6452         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6453         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6454         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6456 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
6458         * elf/tst-unique3.cc (gets): Remove declaration.
6459         * elf/tst-unique3lib.cc (gets): Likewise.
6460         * elf/tst-unique3lib2.cc (gets): Likewise.
6461         * elf/tst-unique4.cc (gets): Likewise.
6463 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
6465         * include/stdio.h: Add C++ protection.  Add gets declarations and
6466         definitions.
6467         * debug/tst-chk1.c: Don't declare gets here.
6468         * stdio-common/tst-gets.c: Likewise.
6470 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6472         * posix/glob: Remove directory.
6474 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6476         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6478 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
6480         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6481         of the non-standard EPFNOSUPPORT.
6483 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6485         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6486         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6487         ANYWHERE set to 1 only on KERN_NO_SPACE error.
6489 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
6491         * wcsmbs/uchar.h: Test __STDC_VERSION__.
6493 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
6495         * nscd/aicache.c (addhstaiX): Do not cache negative results of
6496         transient errors.
6497         * nscd/grpcache.c (cache_addgr): Likewise.
6498         * nscd/hstcache.c (cache_addhst): Likewise.
6499         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6500         * nscd/pwdcache.c (cache_addpw): Likewise.
6501         * nscd/servicescache.c (cache_addserv): Likewise.
6503 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
6505         * malloc/malloc.c: Various cleanups.
6506         * malloc/hooks.c: Likewise.
6508         * stdlib/Makefile (tests): Add bug-fmtmsg1.
6509         * stdlib/bug-fmtmsg1.c: New file.
6511         * stdlib/fmtmsg.c (init): Add missing unlock.
6512         Patch by Peng Haitao <penght@cn.fujitsu.com>.
6514 2012-01-12  Marek Polacek  <polacek@redhat.com>
6516         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6517         and _GNU_SOURCE.
6519 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
6521         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6522         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6523         macro to ensure uniqueness of label name.
6524         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6525         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6527 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
6529         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6531         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6532         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6533         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6534         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6536 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
6538         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6540         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6541         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6542         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6544         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6546         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6547         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6548         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6549         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6551         * math/bits/math-finite.h: Add ldexp support.
6553 2012-01-10  Marek Polacek  <polacek@redhat.com>
6555         * locale/programs/localedef.h (show_archive_content): Add noreturn
6556         attribute.
6558 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
6560         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6562 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6564         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6566         * io/Makefile (headers): Add bits/poll2.h.
6568 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
6570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6571         typo #include statement.
6573 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6575         * include/sys/cdefs.h: Define __attribute_alloc_size.
6576         * catgets/gencat.c: Add alloc_size attribute and apply consistently
6577         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6578         * elf/pldd.c: Likewise.
6579         * iconv/iconv_charmap.c: Likewise.
6580         * iconv/iconvconfig.c: Likewise.
6581         * iconv/strtab.c: Likewise.
6582         * locale/programs/locale.c: Likewise.
6583         * locale/programs/localedef.h: Likewise.
6584         * locale/programs/simple-hash.c: Likewise.
6585         * nscd/nscd.h: Likewise.
6586         * nss/makedb.c: Likewise.
6587         * sysdeps/generic/ldconfig.h: Likewise.
6588         * locale/programs/localedef.c: Remove xmalloc prototype.
6589         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6591 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6593         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6594         appropriate.
6596 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6598         * math/Makefile (tests): Add tst-CMPLX.
6599         * math/tst-CMPLX.c: New file.
6601         * math/complex.h (CMPLXL): Fix typo.
6603         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6604         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6605         GLIBC_2.16.
6606         * debug/tst-chk1.c: Add poll and ppoll tests.
6607         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6608         * include/sys/poll.h: Add hidden proto for ppoll.
6609         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6610         * sysdeps/mach/hurd/ppoll.c: Likewise.
6611         * io/ppoll.c: Likewise.
6612         * debug/poll_chk.c: New file.
6613         * debug/ppoll_chk.c: New file.
6614         * include/bits/poll2.h: New file.
6615         * io/bits/poll2.h: New file.
6617         [BZ #1350]
6618         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6620         * configure.in: static is always set to yes.  Remove.
6621         * config.make.in: Don't set build-static.
6622         * Makeconfig: Remove use of build-static.
6623         * dlfcn/Makefile: Likewise.
6624         * elf/Makefile: Likewise.
6625         * math/Makefile: Likewise.
6626         * misc/Makefile: Likewise.
6627         * nptl/Makefile: Likewise.
6628         * sysdeps/mach/hurd/Makefile: Likewise.
6630         * configure.in: PWD_P is not used anymore.
6631         * config.make.in: Remove PWD_P entry.
6633         * configure.in: Remove last remnants of RANLIB.
6634         No need to check for signed size_t anymore.
6635         Don't set libc_commonpagesize and libc_relro_required here for Alpha
6636         and IA-64.
6637         Remove __builtin_expect test because we require at least gcc 3.4.
6638         * aclocal.m4: Likewise.
6640         * wcsmbs/mbrtoc16.c: Implement using towc function.
6641         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6642         * wcsmbs/wcsmbsload.c: Likewise.
6643         * iconv/gconv_simple.c: Likewise.
6644         * iconv/gconv_int.h: Likewise.
6645         * iconv/gconv_builtin.h: Likewise.
6646         * iconv/iconv_prog.c: Remove CHAR16 handling.
6648         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6650         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6652         * configure.in: Remove --with-elf and --enable-bounded options.
6653         Dont set base_machine for ia64.  More non-ELF conditions removed.
6654         Remove testing and setting of leading underscore information.
6655         * config.make.in (build-bounded): Set to no.
6656         * config.h.in: Remove NO_UNDERSCORES entry.
6657         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
6658         them.
6659         * csu/start.c: Remove !NO_UNDERSCORE code.
6660         * locale/localeinfo.h: Likewise.
6661         * sysdeps/generic/machine-gmon.h: Likewise.
6662         * sysdeps/generic/sysdep.h: Likewise.
6663         * sysdeps/i386/sysdep.h: Likewise.
6664         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6665         * sysdeps/mach/sysdep.h: Likewise.
6666         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6667         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6668         * sysdeps/sh/sysdep.h: Likewise.
6669         * sysdeps/sparc/sparc32/alloca.S: Likewise.
6670         * sysdeps/unix/i386/sysdep.S: Likewise.
6671         * sysdeps/unix/sparc/start.c: Likewise.
6672         * sysdeps/unix/sparc/sysdep.S: Likewise.
6673         * sysdeps/unix/sparc/sysdep.h: Likewise.
6674         * sysdeps/unix/start.c: Likewise.
6675         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6676         * sysdeps/x86_64/sysdep.h: Likewise.
6678 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
6680         [BZ #13553]
6681         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6682         for non-gcc.
6683         * argp/argp-fmtstream.h: Use const instead __const.
6684         * argp/argp.h: Likewise.
6685         * assert/assert.h: Likewise.
6686         * bits/fenv.h: Likewise.
6687         * bits/sched.h: Likewise.
6688         * bits/sigset.h: Likewise.
6689         * bits/sigthread.h: Likewise.
6690         * catgets/nl_types.h: Likewise.
6691         * conform/data/pthread.h-data: Likewise.
6692         * crypt/crypt-private.h: Likewise.
6693         * crypt/crypt.h: Likewise.
6694         * crypt/crypt_util.c: Likewise.
6695         * ctype/ctype.h: Likewise.
6696         * debug/execinfo.h: Likewise.
6697         * debug/mbsnrtowcs_chk.c: Likewise.
6698         * debug/mbsrtowcs_chk.c: Likewise.
6699         * debug/wcsnrtombs_chk.c: Likewise.
6700         * debug/wcsrtombs_chk.c: Likewise.
6701         * debug/wcstombs_chk.c: Likewise.
6702         * dirent/dirent.h: Likewise.
6703         * dlfcn/dlfcn.h: Likewise.
6704         * elf/neededtest4.c: Likewise.
6705         * grp/grp.h: Likewise.
6706         * gshadow/gshadow.h: Likewise.
6707         * iconv/gconv.h: Likewise.
6708         * iconv/gconv_int.h: Likewise.
6709         * iconv/gconv_simple.c: Likewise.
6710         * iconv/iconv.h: Likewise.
6711         * iconv/loop.c: Likewise.
6712         * iconv/skeleton.c: Likewise.
6713         * include/aio.h: Likewise.
6714         * include/aliases.h: Likewise.
6715         * include/argz.h: Likewise.
6716         * include/arpa/inet.h: Likewise.
6717         * include/assert.h: Likewise.
6718         * include/dirent.h: Likewise.
6719         * include/dlfcn.h: Likewise.
6720         * include/execinfo.h: Likewise.
6721         * include/fcntl.h: Likewise.
6722         * include/fenv.h: Likewise.
6723         * include/glob.h: Likewise.
6724         * include/grp.h: Likewise.
6725         * include/libintl.h: Likewise.
6726         * include/mntent.h: Likewise.
6727         * include/netdb.h: Likewise.
6728         * include/pwd.h: Likewise.
6729         * include/rpc/netdb.h: Likewise.
6730         * include/sched.h: Likewise.
6731         * include/search.h: Likewise.
6732         * include/shadow.h: Likewise.
6733         * include/signal.h: Likewise.
6734         * include/stdio.h: Likewise.
6735         * include/stdlib.h: Likewise.
6736         * include/string.h: Likewise.
6737         * include/sys/socket.h: Likewise.
6738         * include/sys/stat.h: Likewise.
6739         * include/sys/statfs.h: Likewise.
6740         * include/sys/statvfs.h: Likewise.
6741         * include/sys/syslog.h: Likewise.
6742         * include/sys/time.h: Likewise.
6743         * include/sys/uio.h: Likewise.
6744         * include/time.h: Likewise.
6745         * include/unistd.h: Likewise.
6746         * include/utmp.h: Likewise.
6747         * include/wchar.h: Likewise.
6748         * include/wctype.h: Likewise.
6749         * inet/aliases.h: Likewise.
6750         * inet/arpa/inet.h: Likewise.
6751         * inet/netinet/ether.h: Likewise.
6752         * inet/netinet/in.h: Likewise.
6753         * intl/libintl.h: Likewise.
6754         * io/bits/fcntl2.h: Likewise.
6755         * io/fcntl.h: Likewise.
6756         * io/ftw.h: Likewise.
6757         * io/sys/poll.h: Likewise.
6758         * io/sys/stat.h: Likewise.
6759         * io/sys/statfs.h: Likewise.
6760         * io/sys/statvfs.h: Likewise.
6761         * io/utime.h: Likewise.
6762         * libio/bits/stdio.h: Likewise.
6763         * libio/bits/stdio2.h: Likewise.
6764         * libio/libio.h: Likewise.
6765         * libio/libioP.h: Likewise.
6766         * libio/stdio.h: Likewise.
6767         * locale/lc-ctype.c: Likewise.
6768         * locale/locale.h: Likewise.
6769         * login/utmp.h: Likewise.
6770         * malloc/arena.c: Likewise.
6771         * malloc/malloc.c: Likewise.
6772         * malloc/malloc.h: Likewise.
6773         * malloc/mcheck.c: Likewise.
6774         * malloc/mtrace.c: Likewise.
6775         * math/bits/mathcalls.h: Likewise.
6776         * math/fenv.h: Likewise.
6777         * math/math_private.h: Likewise.
6778         * misc/bits/error.h: Likewise.
6779         * misc/bits/syslog.h: Likewise.
6780         * misc/err.h: Likewise.
6781         * misc/error.h: Likewise.
6782         * misc/fstab.h: Likewise.
6783         * misc/mntent.h: Likewise.
6784         * misc/regexp.h: Likewise.
6785         * misc/search.h: Likewise.
6786         * misc/sgtty.h: Likewise.
6787         * misc/sys/mman.h: Likewise.
6788         * misc/sys/syslog.h: Likewise.
6789         * misc/sys/uio.h: Likewise.
6790         * misc/sys/xattr.h: Likewise.
6791         * misc/ttyent.h: Likewise.
6792         * nis/rpcsvc/ypclnt.h: Likewise.
6793         * nss/nss.h: Likewise.
6794         * posix/bits/unistd.h: Likewise.
6795         * posix/fnmatch.h: Likewise.
6796         * posix/glob.h: Likewise.
6797         * posix/sched.h: Likewise.
6798         * posix/spawn.h: Likewise.
6799         * posix/sys/wait.h: Likewise.
6800         * posix/unistd.h: Likewise.
6801         * posix/wordexp.h: Likewise.
6802         * pwd/pwd.h: Likewise.
6803         * resolv/netdb.h: Likewise.
6804         * resource/sys/resource.h: Likewise.
6805         * rt/aio.h: Likewise.
6806         * rt/bits/mqueue2.h: Likewise.
6807         * rt/mqueue.h: Likewise.
6808         * shadow/shadow.h: Likewise.
6809         * signal/signal.h: Likewise.
6810         * socket/send.c: Likewise.
6811         * socket/sendto.c: Likewise.
6812         * socket/sys/socket.h: Likewise.
6813         * stdio-common/printf.h: Likewise.
6814         * stdlib/bits/stdlib.h: Likewise.
6815         * stdlib/fmtmsg.h: Likewise.
6816         * stdlib/monetary.h: Likewise.
6817         * stdlib/stdlib.h: Likewise.
6818         * stdlib/ucontext.h: Likewise.
6819         * streams/stropts.h: Likewise.
6820         * string/argz.h: Likewise.
6821         * string/bits/string2.h: Likewise.
6822         * string/string.h: Likewise.
6823         * string/strings.h: Likewise.
6824         * sunrpc/rpc/auth.h: Likewise.
6825         * sunrpc/rpc/auth_des.h: Likewise.
6826         * sunrpc/rpc/clnt.h: Likewise.
6827         * sunrpc/rpc/netdb.h: Likewise.
6828         * sunrpc/rpc/pmap_clnt.h: Likewise.
6829         * sunrpc/rpc/xdr.h: Likewise.
6830         * sysdeps/generic/inttypes.h: Likewise.
6831         * sysdeps/generic/net/if.h: Likewise.
6832         * sysdeps/generic/sys/swap.h: Likewise.
6833         * sysdeps/gnu/net/if.h: Likewise.
6834         * sysdeps/gnu/utmpx.h: Likewise.
6835         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6836         * sysdeps/i386/i486/bits/string.h: Likewise.
6837         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6838         * sysdeps/s390/bits/string.h: Likewise.
6839         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6840         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6841         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6842         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6843         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6844         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6845         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6846         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6847         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6848         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6849         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6850         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6851         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6852         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6853         * sysdeps/unix/sysv/linux/readv.c: Likewise.
6854         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6855         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6856         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6857         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6858         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6859         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6860         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6861         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6862         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6863         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6864         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6865         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6866         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6867         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6868         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6869         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6870         * sysvipc/sys/ipc.h: Likewise.
6871         * sysvipc/sys/msg.h: Likewise.
6872         * sysvipc/sys/sem.h: Likewise.
6873         * sysvipc/sys/shm.h: Likewise.
6874         * termios/termios.h: Likewise.
6875         * time/sys/time.h: Likewise.
6876         * time/time.h: Likewise.
6877         * wcsmbs/bits/wchar2.h: Likewise.
6878         * wcsmbs/uchar.h: Likewise.
6879         * wcsmbs/wchar.h: Likewise.
6880         * wctype/wctype.h: Likewise.
6882         [BZ #13551]
6883         * Makeconfig: Remove all but ELF support including AIX support.
6884         * Makerules: Likewise.
6885         * config.h.in: Likewise.
6886         * config.make.in: Likewise.
6887         * configure: Likewise.
6888         * configure.in: Likewise.
6889         * csu/Makefile: Likewise.
6890         * csu/version.c: Likewise.
6891         * debug/Makefile: Likewise.
6892         * dlfcn/Makefile: Likewise.
6893         * elf/Makefile: Likewise.
6894         * extra-lib.mk: Likewise.
6895         * iconv/Makefile: Likewise.
6896         * include/libc-symbols.h: Likewise.
6897         * include/shlib-compat.h: Likewise.
6898         * resolv/Makefile: Likewise.
6899         * resolv/res_libc.c: Likewise.
6900         * rt/Makefile: Likewise.
6901         * sysdeps/i386/asm-syntax.h: Likewise.
6902         * sysdeps/i386/sysdep.h: Likewise.
6903         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6904         * sysdeps/mach/sysdep.h: Likewise.
6905         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6906         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6907         * sysdeps/s390/asm-syntax.h: Likewise.
6908         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6909         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6910         * sysdeps/sh/sysdep.h: Likewise.
6911         * sysdeps/unix/sparc/sysdep.h: Likewise.
6912         * sysdeps/wordsize-32/divdi3.c: Likewise.
6913         * sysdeps/x86_64/sysdep.h: Likewise.
6915         * argp/Versions: Remove _argp_unlock_xxx.
6917         [BZ #13559]
6918         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
6919         * abilist/libBrokenLocale.abilist: Likewise.
6920         * abilist/libanl.abilist: Likewise.
6921         * abilist/libc.abilist: Likewise.
6922         * abilist/libcrypt.abilist: Likewise.
6923         * abilist/libdl.abilist: Likewise.
6924         * abilist/libm.abilist: Likewise.
6925         * abilist/libnsl.abilist: Likewise.
6926         * abilist/libpthread.abilist: Likewise.
6927         * abilist/libresolv.abilist: Likewise.
6928         * abilist/librt.abilist: Likewise.
6929         * abilist/libthread_db.abilist: Likewise.
6930         * abilist/libutil.abilist: Likewise.
6931         * abilist/libnss_db.abilist: New file.
6933         * scripts/abilist.awk: Add support for indirect functions.
6935         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6937         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6939         * shlib-versions: Remove entries for ports architectures.
6941         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
6942         files in ports.
6943         * elf/stackguard-macros.h: Remove support for IA-64.
6944         * elf/tst-auditmod1.c: Likewise.
6945         * sysdeps/generic/ldsodefs.h: Likewise.
6947         * sysdeps/unix/sysv/linux/configure.in: Ports should define
6948         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6949         configure files.
6951         [BZ #13552]
6952         * configure.in: Remove --enable-omitfp support.
6953         * FAQ.in: Adjust.
6954         * config.make.in: Likewise.
6955         * Makeconfig: Likewise.
6956         * manual/install.texi: Likewise.
6958         In case anyone cares, the IA-64 architecture could move to ports.
6959         * sysdeps/ia64/*: Removed.
6960         * sysdeps/unix/sysv/linux/ia64/*: Removed.
6961         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6963         [BZ #13555]
6964         * configure.in: Remove entries for unsupported architectures.
6966         [BZ #13533]
6967         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6968         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
6969         routines.
6970         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6971         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6972         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
6973         fall back to using wcrtomb.
6974         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6975         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
6976         renaming.
6977         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6978         * wcsmbs/tst-c16c32-1.c: New file.
6980         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6981         local variable.
6983         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6985         * elf/tst-unique3.cc: Add explicit declaration of gets.
6986         * elf/tst-unique3lib.cc: Likewise.
6987         * elf/tst-unique3lib2.cc: Likewise.
6988         * elf/tst-unique4.cc: Likewise.
6990         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6992 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
6994         [BZ #13566]
6995         * assert/assert.h (static_assert): Don't define for C++.
6996         * libio/stdio.h (gets): Do declare for C++ <= C++11.
6997         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6999 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
7001         * iconv/loop.c (single loop): Fix assertion in storing of
7002         remaining bytes.
7004         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7006 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
7008         * posix/getconf.c: Update copyright year.
7009         * nss/getent.c: Likewise.
7010         * nss/makedb.c: Likewise.
7011         * iconv/iconvconfig.c: Likewise.
7012         * iconv/iconv_prog.c: Likewise.
7013         * elf/ldconfig.c: Likewise.
7014         * elf/pldd.c: Likewise.
7015         * elf/sotruss.ksh: Likewise.
7016         * catgets/gencat.c: Likewise.
7017         * csu/version.c: Likewise.
7018         * elf/ldd.bash.in: Likewise.
7019         * elf/sprof.c (print_version): Likewise.
7020         * locale/programs/locale.c: Likewise.
7021         * locale/programs/localedef.c: Likewise.
7022         * login/programs/pt_chown.c: Likewise.
7023         * nscd/nscd.c (print_version): Likewise.
7024         * debug/xtrace.sh: Likewise.
7025         * malloc/memusage.sh: Likewise.
7026         * malloc/mtrace.pl: Likewise.
7027         * debug/catchsegv.sh: Likewise.
7029 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
7031         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7032         pure attribute.
7034 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
7036         [BZ #13533]
7037         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7038         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7039         transformations.
7040         * iconv/gconv_int.h: Likewise.
7041         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7042         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7043         from libc for GLIBC_2.16.
7044         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7045         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7046         * wcsmbs/uchar.h: Really define mbstate_t.
7047         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7048         * wcsmbs/c16rtomb.c: New file.
7049         * wcsmbs/mbrtoc16.c: New file.
7050         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7051         for C/POSIX locale.
7052         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7053         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7055         * wcsmbs/wchar.h: Add missing __restrict.
7057 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7059         [BZ #13532]
7060         * time/Makefile (routines): Add timespec_get.
7061         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7062         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
7063         timespec for ISO C11.
7064         * time/timespec_get.c: New file.
7065         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7066         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7068         [BZ #13531]
7069         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7070         * stdlib/stdlib.h: Declare aligned_alloc.
7071         * Versions.def: Add GLIBC_2.16 for libc.
7072         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7074         [BZ 13527]
7075         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7076         ISO C11.
7078         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7079         code.
7081         [BZ #13528]
7082         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7084         [BZ #13529]
7085         * assert/assert.h (static_assert): Define.
7087         * version.h: Update for 2.16 development version.
7089         [BZ #13526]
7090         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7091         _ISOC11_SOURCE.
7093         * version.h (RELEASE): Bump for 2.15 release.
7094         * include/features.h (__GLIBC_MINOR__): Bump to 15.
7096         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7097         Patch by Marek Polacek <mpolacek@redhat.com>.
7099         * bits/byteswap.h: Protect long long constants with __extension__.
7100         * sysdeps/i386/bits/byteswap.h: Likewise.
7101         * sysdeps/ia64/bits/byteswap.h: Likewise.
7102         * sysdeps/s390/bits/byteswap.h: Likewise.
7103         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7105 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7107         [BZ #13540]
7108         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7109         destination buffer.
7110         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7112 2011-12-23  Marek Polacek  <polacek@redhat.com>
7114         * elf/dl-addr.c (determine_info): Add inline keyword.
7115         * elf/tst-auditmod4b.c (check_avx): Likewise.
7116         * elf/tst-auditmod6b.c (check_avx): Likewise.
7117         * elf/tst-auditmod6c.c (check_avx): Likewise.
7118         * elf/tst-auditmod7b.c (check_avx): Likewise.
7120 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7122         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7123         !__SSE_MATH__.
7125 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7127         [BZ #13540]
7128         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7129         processing for last bytes.
7131 2011-08-06  Bruno Haible  <bruno@clisp.org>
7133         [BZ #13061]
7134         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7135         U+0385, not to U+1FEE.
7137         [BZ #13062]
7138         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7139         entry for U+00A5 U+0301.
7141 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7143         [BZ #13166]
7144         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7145         buffer for the output is too small.
7147         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7148         optimization.
7150         [BZ #13185]
7151         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7152         SSE flags if possible.
7154 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7156         [BZ #13540]
7157         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7158         processing for last bytes.
7160 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
7162         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7163         (syscall-list-default-options, syscall-list-default-condition)
7164         (syscall-list-includes): Define.
7165         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7166         list of ABIs and options and #if conditions for each ABI.  Do not
7167         handle common syscalls between ABIs specially.
7168         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7169         Remove.
7170         (syscall-list-variants, syscall-list-32bit-options)
7171         (syscall-list-32bit-condition, syscall-list-64bit-options)
7172         (syscall-list-64bit-condition): Define.
7173         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7174         (syscall-list-variants, syscall-list-32bit-options)
7175         (syscall-list-32bit-condition, syscall-list-64bit-options)
7176         (syscall-list-64bit-condition): Define.
7177         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7178         Remove.
7179         (syscall-list-variants, syscall-list-32bit-options)
7180         (syscall-list-32bit-condition, syscall-list-64bit-options)
7181         (syscall-list-64bit-condition): Define.
7182         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7183         Remove.
7184         (syscall-list-variants, syscall-list-32bit-options)
7185         (syscall-list-32bit-condition, syscall-list-64bit-options)
7186         (syscall-list-64bit-condition): Define.
7188 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7190         * locale/iso-639.def: Add brx entry.
7192         [BZ #13328]
7193         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7194         Proposed by Mariusz_Cukr <marcukr@op.pl>.
7196         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7197         __feraiseexcept_renamed.
7199 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
7201         [BZ #13538]
7202         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7203         EPOLLET with unsigned values.
7204         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7205         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7207         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7208         to large cancellation.
7209         * math/s_cacoshf.c: Likewise.
7210         * math/s_cacoshl.c: Likewise.
7212 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
7214         [BZ #13305]
7215         [BZ #12786]
7216         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7217         * math/s_cacoshf.c: Likewise.
7218         * math/s_cacoshl.c: Likewise.
7220 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
7222         [BZ #13439]
7223         * iconv/gconv.h: Define __GCONV_SWAP.
7224         * iconvdata/unicode.c: The swap bit must be stored in __flags.
7225         * iconvdata/utf-16.c: Likewise.
7226         * iconvdata/utf-32.c: Likewise.
7228 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7230         [BZ #13524]
7231         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7232         numerator after shifting it by one limb.
7234 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
7236         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7237         under [__USE_EXTERN_INLINES].
7239 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
7241         [BZ #13446]
7242         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7244 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7246         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7247         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7248         optimized code.
7249         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7250         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7251         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7252         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7253         for strncasecmp/strncasecmp_l compilation.
7254         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7255         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7257 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
7259         [BZ #13484]
7260         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7261         of __asm__.
7263 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
7265         [BZ #13506]
7266         * time/tzfile.c (__tzfile_read): Check values from file header.
7268 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
7270         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7271         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7272         * powerpc/powerpc32/dl-start.S: Likewise.
7273         * powerpc/powerpc32/elf/start.S: Likewise.
7274         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7275         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7276         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7277         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7278         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7279         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7280         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7281         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7282         * powerpc/powerpc32/fpu/s_round.S: Likewise.
7283         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7284         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7285         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7286         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7287         * powerpc/powerpc32/memset.S: Likewise.
7288         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7289         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7290         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7291         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7292         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7293         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7294         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7295         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7296         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7297         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7298         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7299         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7300         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7302 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7304         * math/libm-test.inc: Added more nearbyint tests.
7305         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7306         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7307         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7308         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7310 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
7312         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7313         FD_CLOEXEC.
7315 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7317         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7318         Add wcscpy-ssse3 wcscpy-c.
7319         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7320         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7321         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7322         * sysdeps/x86_64/wcschr.S: New file.
7323         * sysdeps/x86_64/wcsrchr.S: New file.
7324         * string/test-strcmp.c: Remove checking of wcscmp function for
7325         wrong alignments.
7326         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7327         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7328         wcsrchr-sse2 wcsrchr-c.
7329         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7330         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7331         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7332         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7333         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7334         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7335         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7336         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7337         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7338         * wcsmbc/wcschr.c (WCSCHR): New macro.
7340 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7342         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7343         * wcsmbs/test-wcsrchr.c: New file.
7344         * string/test-strrchr.c: Add wcsrchr support.
7345         (WIDE): New macro.
7346         * wcsmbs/test-wcscpy.c: New file.
7347         * string/test-strcpy.c: Add wcscpy support.
7348         (WIDE): New macro.
7350 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
7352         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7353         the inner loop.
7355 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
7357         [BZ #13472]
7358         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7360 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
7362         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7363         Minor optimizations.
7365         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7366         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7367         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7369 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
7371         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7372         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7373         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7374         for gcc to avoid warnings.
7375         * inet/Makefile (tests): Add tst-checks.
7376         * inet/tst-checks.c: New file.
7378         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7379         warning.
7381         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7382         __wmemcmp_sse2.
7384         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7385         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7387         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7389 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
7391         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7392         problem.
7394         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7396 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
7398         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7399         conditional on GCC version.
7400         (__arch_compare_and_exchange_val_8_acq)
7401         (__arch_compare_and_exchange_val_16_acq)
7402         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7403         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7404         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7406 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
7408         * sysdeps/sh/backtrace.c: New file.
7410 2011-12-02  Andreas Schwab  <schwab@redhat.com>
7412         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
7413         parenthesis.
7415 2011-12-01  Andreas Schwab  <schwab@redhat.com>
7417         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7418         falling back to utime.
7420 2011-11-30  Andreas Schwab  <schwab@redhat.com>
7422         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7423         expectations for float.
7425 2011-11-29  Andreas Schwab  <schwab@redhat.com>
7427         * locale/weight.h (findidx): Add parameter len.
7428         * locale/weightwc.h (findidx): Likewise.
7429         * posix/fnmatch_loop.c (FCT): Adjust caller.
7430         * posix/regcomp.c (build_equiv_class): Likewise.
7431         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7432         * posix/regexec.c (check_node_accept_bytes): Likewise.
7433         * string/strcoll_l.c (STRCOLL): Likewise.
7434         * string/strxfrm_l.c (STRXFRM): Likewise.
7436 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
7438         * Makefile.in: Remove CVSOPT handling.
7439         * configure.in: Remove use of AC_REVISION.
7440         * iconvdata/Makefile (distribute): No need to filter out CVS.
7441         * scripts/list-sources.sh: Remove CVS, subversion and monotone
7442         handling.
7444 2011-11-16  Andreas Schwab  <schwab@redhat.com>
7446         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7447         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7448         [USE_AS_STRNCASECMP_L]: Likewise.
7449         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7450         NO_TLS_DIRECT_SEG_REFS.
7451         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7452         Fix argument offsets for non-PIC.
7453         [USE_AS_STRNCASECMP_L]: Likewise.
7454         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7455         NO_TLS_DIRECT_SEG_REFS.
7457 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7459         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7460         O_CLOEXEC.
7461         * locale/loadlocale.c (_nl_load_locale): Likewise.
7463 2011-11-15  Andreas Schwab  <schwab@redhat.com>
7465         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7466         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7467         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7468         (SYSCALL_GETTIME): Set errno on error.
7470         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7471         count references to noai6ai_cached.
7473 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7475         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7477         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7478         FD_CLOEXEC for /proc/self/maps.
7480         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7481         FD_CLOEXEC for /proc/meminfo.
7483         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7484         gai.conf.
7486         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
7487         FD_CLOEXEC for given file.
7489         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7491         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7492         FD_CLOEXEC for /etc/hosts.
7493         (_gethtent): Likewise.
7495         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7497         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7498         cancellation and set FD_CLOEXEC for /etc/netgroup.
7500         * nss/nss_files/files-key.c (search): Don't allow cancellation when
7501         reading /etc/publickey.
7503         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7504         allow cancellation when reading /etc/group.
7506         * nss/nss_files/files-alias.c (internal_setent): Don't allow
7507         cancellation.
7508         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
7510         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7511         when using data file.
7513         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7515         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7516         (write_nis_obj): Use "c" and "e" in fopen.
7518         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7520         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7522         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7524         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7526         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7527         locale.alias.
7529         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7531         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7533         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7535         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7536         file parsing and set FD_CLOEXEC.
7538 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7540         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7542 2011-11-14  Andreas Schwab  <schwab@redhat.com>
7544         * malloc/arena.c (arena_get2): Don't call reused_arena when
7545         _int_new_arena failed.
7547 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7549         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7550         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7551         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7552         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7553         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7554         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7555         to compile strcasecmp and strncasecmp.
7556         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7557         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7559         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7561 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
7563         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7564         locale-defines.sym to gen-as-const-headers.
7565         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7566         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7567         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7568         to compile strcasecmp and strncasecmp.
7569         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7570         strcasecmp_l and strncasecmp_l.
7571         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7572         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7573         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7574         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7575         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7576         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7577         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7578         * sysdeps/i386/i686/multiarch/strncase.S: New file.
7579         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7580         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7581         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7583 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
7585         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7586         result of SYSDEP_GETTIME_CPU to retval.
7587         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7588         parameter list to macro.  Remove trailing semicolon.  Adjust users.
7590         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7591         variable.
7593         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7594         mantissa words.
7595         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7597         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7598         from unused variable.
7600         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7601         DWARF definitions.
7602         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7603         for assembling.
7605         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7606         over namespaces.
7608         * sunrpc/rpc_prot.c (rejected): Fix case value.
7610         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7611         unsigned long long int to avoid warnings in shift.
7613         * posix/regex_internal.c (re_string_reconstruct): Actually use result
7614         of use of trans.
7615         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7616         variable tmp.
7618         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7619         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7620         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7622         * nis/nis_table.c (nis_list): Use variable of correct type for
7623         result of __follow_path call.
7625 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7627         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7628         of math functions ceil, trunc, floor, round, and sqrt, when
7629         avaliable on the platform.
7630         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7631         name clash.
7632         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7633         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7634         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7636 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
7638         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7639         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7641 2011-11-11  Roland McGrath  <roland@hack.frob.com>
7643         * include/unistd.h: Fix __readlink return type.
7644         Reported by Chris Metcalf <cmetcalf@tilera.com>.
7646 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
7648         * stdlib/ucontext.h: Undo last change for makecontext.
7650 2011-11-11  Andreas Schwab  <schwab@redhat.com>
7652         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7654         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7655         * setjmp/setjmp.h: Mark functions as non-leaf.
7656         * setjmp/bits/setjmp2.h: Likewise.
7657         * stdlib/ucontext.h: Likewise.
7659 2011-11-10  Andreas Schwab  <schwab@redhat.com>
7661         * malloc/arena.c (_int_new_arena): Don't increment narenas.
7662         (reused_arena): Don't check arena limit.
7663         (arena_get2): Atomically check arena limit.
7665 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
7667         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7668         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7671         instructions.
7673 2011-11-07  Andreas Schwab  <schwab@redhat.com>
7675         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7676         handler when locking.
7678         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7679         Fix size of allocated buffer.
7681 2011-11-04  Andreas Schwab  <schwab@redhat.com>
7683         [BZ #10103]
7684         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7685         declarations for long double functions.
7686         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7688         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7690 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7692         * nscd/nscd.c (main): Don't start AVC thread until credentials are
7693         installed.
7695         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7696         is disabled.
7698 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7700         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7702 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7704         * include/alloca.h (stackinfo_alloca_round): Define.
7705         (extend_alloca): Use it.
7706         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7707         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7708         here.
7710         * scripts/check-local-headers.sh: Ignore libaudit.h.
7712         * nscd/Makefile (extra-objs): Make recursively expanded.
7714 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
7716         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7717         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7719         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7720         * posix/tst-rfc3484-2.c: Likewise.
7721         * posix/tst-rfc3484-3.c: Likewise.
7723         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7724         process_vm_writev.
7725         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7726         process_vm_writev.
7727         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7728         process_vm_writev from libc using GLIBC_2.15 version.
7730         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7732 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
7734         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7735         stack usage.
7737 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
7739         [BZ #13367]
7740         * nss/getent.c (initgroups_keys): Show error message in case no group
7741         names are given.
7743         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7744         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7745         __bump_nl_timestamp.
7746         * nscd/connections (nscd_init): When host database is served open
7747         netlink socket and request notification about configuration changes.
7748         (main_loop_poll): Track netlink file descriptor and bump timestamp
7749         in case data becomes available.
7750         (main_loop_epoll): Likewise.
7751         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7752         (database_pers_head): Add extra_data fileds.
7753         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7754         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7755         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7756         Adjust caller.
7757         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7758         in6ai data, call __free_in6ai.
7759         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7760         Add -DHAVE_NETLINK.
7761         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
7762         interface information.  Reuse previous data if netlink timestamp
7763         is not changed.
7764         (__bump_nl_timestamp): New function.
7765         (__free_in6ai): New function.
7767 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
7769         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7770         close_not_cancel_no_status here.
7771         (__check_pf): Reorganize code a bit to not call close twice if OOM.
7773 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7775         [BZ #13276]
7776         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7777         return value.
7779         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7780         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7781         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7783 2011-07-03  Andreas Jaeger  <aj@suse.de>
7785         [BZ #10709]
7786         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7787         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7788         * math/libm-test.inc (sin_test): Add test case.
7790 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7792         [BZ #13337]
7793         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7794         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7796         * elf/chroot_canon.c (chroot_canon): Cleanups.
7798         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7800         [BZ #13335]
7801         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7802         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7804         * string/test-strchr.c: Make usable for strchrnul testing.
7805         * string/test-strchrnul.c: New file.
7806         * string/Makefile (strop-tests): Add strchrnul.
7808         * po/it.po: Update from translation team.
7809         * po/es.po: Likewise.
7811 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
7813         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7814         the three constants needed as parameters.  Drop the others.
7815         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7816         __m128i_strloadu_tolower.
7817         Create and initialize variable zero and use it in all the places
7818         where _mm_setzero_si128 was used.
7820         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7821         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7822         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7823         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7824         anymore.
7825         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7826         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7827         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7828         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7829         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7830         __mpranred, __mptan.
7831         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7832         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7833         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7834         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7835         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7836         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7837         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7838         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7839         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7841 2011-10-28  Andreas Schwab  <schwab@redhat.com>
7843         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7844         redefine if SHARED.
7845         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7847         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7848         wide char related routines to wcsmbs subdir.
7850 2011-10-27  Andreas Schwab  <schwab@redhat.com>
7852         [BZ #13344]
7853         * misc/sys/cdefs.h (__THROWNL): Define.
7854         * posix/unistd.h: Use __THREADNL instead of __THREAD
7855         for memory synchronization functions.
7857 2011-10-26  Roland McGrath  <roland@hack.frob.com>
7859         [BZ #13349]
7860         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7861         doesn't exist.
7862         * manual/stdio.texi (Obstack Streams): Node removed.
7864 2011-10-26  Andreas Schwab  <schwab@redhat.com>
7866         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7867         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7868         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7870         * math/math_private.h (math_force_eval): Allow non-addressable
7871         arguments.
7872         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7874 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7876         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7877         file is not needed.
7879         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7880         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7881         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7882         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7883         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7884         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7885         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7886         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7887         Add AVX variants.
7888         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7889         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7890         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7891         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7892         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7893         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7894         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7895         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7896         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7897         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7898         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7899         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7900         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7901         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7902         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7903         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7904         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7905         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7906         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7908         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7909         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
7911         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7912         place.  Use VEX encoding when compiling for AVX.
7914 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7916         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7917         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7919         * string/test-strchr.c (do_test): Don't generate NUL bytes.
7921 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7923         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7924         useless if() expression.
7925         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7926         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7927         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7928         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7929         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7930         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7931         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7932         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7933         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7934         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7935         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7936         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7937         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7938         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7939         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7940         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7941         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7942         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7943         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7945         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7947 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7949         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7950         condition.
7951         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7953 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7955         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7956         .text section.  Avoid duplicate constants.
7957         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7958         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7959         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7960         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7961         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7962         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7963         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7964         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7965         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7966         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7967         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7968         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7969         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7970         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7971         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7972         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7973         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7974         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7975         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7976         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7977         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7978         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7979         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7980         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7981         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7982         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7983         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7984         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7985         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7986         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7987         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7988         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7989         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7990         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7991         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7992         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7993         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7994         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7995         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7996         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7997         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7998         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7999         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8000         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8001         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8003 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
8005         * sysdeps/x86_64/dla.h: Move to ...
8006         * sysdeps/x86_64/fpu/dla.h: ...here.
8007         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8008         situations.  Use __builtin_fma only for gcc 4.6 and up.
8010         * config.make.in: Add have-mfma4 entry.
8011         * configure.in: Substitute libc_cv_cc_fma4.
8012         * math/Makefile (dbl-only-routines): Add sincostab.
8013         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8014         Use __sincostab not sincos.
8015         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8016         name is a macro.
8017         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8018         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8019         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8020         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
8021         using __copysign.
8022         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
8023         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
8024         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8025         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8026         and __inv.
8027         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8028         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8029         __copysign.
8030         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
8031         define aliases when function name is a macro.
8032         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8033         sysdeps/ieee754/dbl-64/sincos.tbl.
8034         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8035         fma4-enabled routines.
8036         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8037         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8038         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8039         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8040         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8041         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8042         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8043         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8044         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8045         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8046         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8047         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8048         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8049         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8050         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8051         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8052         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8053         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8054         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8055         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8056         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8057         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8058         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8059         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8060         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8061         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8062         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8063         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8064         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8065         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8067         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8068         rename.
8069         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8070         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8073         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8074         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8075         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8076         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8078 2011-10-24  Andreas Schwab  <schwab@redhat.com>
8080         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8082 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8084         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8086         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8087         prediction.
8088         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8090         * string/strnlen.c: Don't define STRNLEN, reverse logic.
8091         Remove unused variable magic_bits.
8092         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8094         * string/strnlen.c: Define and use STRNLEN macro.
8095         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8096         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8097         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8098         * wcsmbs/wcslen.c: Define and use WCSLEN.
8099         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8100         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8101         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8102         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8103         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8104         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8105         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8107 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8110         strnlen-sse2-no-bsf.
8111         Rename strlen-no-bsf to strlen-sse2-no-bsf.
8112         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8113         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8114         Add strnlen support.
8115         (USE_AS_STRNLEN): New macro.
8116         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8117         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8118         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8119         * sysdeps/x86_64/wcslen.S: New file.
8121 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
8123         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8124         XMM-moves are used for copying on small sizes.
8126 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8128         * wcsmbs/Makefile (strop-tests): Add wcschr.
8129         * wcsmbs/test-wcschr.c: New file.
8130         * string/test-strchr.c: Update.
8131         Add wcschr support.
8132         (WIDE): New macro.
8134 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8136         * wcsmbs/Makefile (strop-tests): Add wcslen.
8137         * wcsmbs/test-wcslen.c: New file.
8138         * string/test-strlen.c: Update.
8139         Add wcslen support.
8140         (WIDE): New macro.
8142 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8144         * po/it.po: Update from translation team.
8146 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8148         * sysdeps/x86_64/wcscmp.S: Update.
8149         Fix wrong comparison semantics.
8150         wcscmp shall use signed comparison not unsigned.
8151         Don't use substraction to avoid overflow bug.
8152         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8153         * wcsmbc/wcscmp.c: Likewise.
8154         * string/test-strcmp.c: Likewise.
8155         Add new tests to check cases with negative values.
8157 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8159         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8160         * sysdeps/x86_64/dla.h: ...here.  New file.
8161         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8162         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8163         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8164         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8165         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8166         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8167         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8168         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8169         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8171 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
8173         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8174         __ynl_finite aliases.
8176 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
8178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8180         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8181         define DLA_FMA.
8182         [DLA_FMA] (EMULV): Use DLA_FMA.
8183         [DLA_FMA] (MUL12): Use EMULV.
8184         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8185         that are not needed.
8186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8187         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8188         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8190         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8191         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8192         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8194 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
8196         * math/s_nan.c: Undef __nan.
8197         * math/s_nanf.c: Undef __nanf.
8198         * math/s_nanl.c: Undef __nanl.
8199         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8200         "math_private.h".
8202 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
8204         * math/s_catan.c: Add branch predictions.
8205         * math/s_catanf.c: Likewise.
8206         * math/s_catanh.c: Likewise.
8207         * math/s_catanhf.c: Likewise.
8208         * math/s_catanhl.c: Likewise.
8209         * math/s_catanl.c: Likewise.
8210         * math/s_cexp.c: Likewise.
8211         * math/s_cexpf.c: Likewise.
8212         * math/s_cexpl.c: Likewise.
8213         * math/s_clog.c: Likewise.
8214         * math/s_clog10.c: Likewise.
8215         * math/s_clog10f.c: Likewise.
8216         * math/s_clog10l.c: Likewise.
8217         * math/s_clogf.c: Likewise.
8218         * math/s_clogl.c: Likewise.
8219         * math/s_csqrt.c: Likewise.
8220         * math/s_csqrtf.c: Likewise.
8221         * math/s_csqrtl.c: Likewise.
8222         * math/s_ctanf.c: Likewise.
8223         * math/s_ctanh.c: Likewise.
8224         * math/s_ctanhf.c: Likewise.
8225         * math/s_ctanhl.c: Likewise.
8226         * math/s_ctanl.c: Likewise.
8228         * math/math_private.h: Define __nan, __nanf, __nanl.
8229         * math/s_cacosh.c: Include <math_private.h>.
8230         * math/s_cacoshl.c: Likewise.
8231         * math/s_casinh.c: Likewise.
8232         * math/s_casinhf.c: Likewise.
8233         * math/s_casinhl.c: Likewise.
8234         * math/s_ccos.c: Rely entire on ccosh.
8235         * math/s_ccosf.c: Rely entire on ccoshf.
8236         * math/s_ccosl.c: Rely entirely on ccoshl.
8237         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
8238         Remove tests for FE_INVALID.
8239         * math/s_ccoshf.c: Likewise.
8240         * math/s_ccoshl.c: Likewise.
8241         * math/s_csin.c: Likewise.
8242         * math/s_csinf.c: Likewise.
8243         * math/s_csinh.c Likewise.
8244         * math/s_csinhf.c: Likewise.
8245         * math/s_csinhl.c: Likewise.
8246         * math/s_csinl.c: Likewise.
8247         * math/s_ctan.c: Likewise.
8248         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8249         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8250         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8252 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
8254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8255         compilation problems.
8257         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8258         __builtin_expect.
8260 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
8262         * sysdeps/i386/configure.in: Test for -mfma4 option.
8263         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8264         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8265         COMMON_CPUID_INDEX_80000001.
8266         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8267         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8268         use it if FMA3 is not supported.
8269         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8271         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8272         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8274 2011-10-20  Andreas Schwab  <schwab@redhat.com>
8276         [BZ #12892]
8277         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8278         it would create a cycle with a link time dependency.
8280 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
8282         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8283         instruction.
8284         * string/Makefile (strop-tests): Add rawmemchr.
8285         * string/test-rawmemchr.c: New file.
8287         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8288         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
8289         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
8290         when compiling str{,n}casecmp and when AVX is available.  Hook up
8291         new optimized code in initializers.
8293 2011-10-19  Andreas Schwab  <schwab@redhat.com>
8295         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8296         __feraiseexcept instead of feraiseexcept.
8298 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
8300         * math/math_private.h: Define defaults for libc_fetestexcept and
8301         libc_feupdateenv.
8302         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8303         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8304         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8305         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8306         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8307         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8308         libc_fetestexcept and libc_feupdateenv.
8310         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8311         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8312         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8313         * sysdeps/x86_64/fpu/math_private.h: Define special version of
8314         libc_feholdexcept_setround.
8316         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8317         Add s_nearbyint-c and s_nearbyintf-c.
8318         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8319         nearbyintf inlines.
8320         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8321         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8322         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8323         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8325         * math/math_private.h: Define defaults for libc_fegetround,
8326         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8327         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8328         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8329         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8330         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8331         standard functions.
8332         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8333         Remove comments and hacks for old compiler versions.
8334         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8335         libc_fegetround, libc_fesetround, libc_feholdexcept, and
8336         libc_feholdexceptl.
8338 2011-10-18  Andreas Schwab  <schwab@redhat.com>
8340         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8341         (__feraiseexcept_renamed): Add __NTH.
8342         (feraiseexcept): Add __NTH.  Rename local variables to fix
8343         namespace violations.
8345 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
8347         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8349         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8351         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8352         recently added interfaces.
8353         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8355         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8356         about macro parameter expansion.
8358         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8359         __NO_MATH_INLINES is defined.  Cleanups.
8361         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8362         and __floorf is target has SSE4.1.
8363         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8364         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8365         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8366         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8368         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8369         name.
8370         (floorf): Likewise.
8372         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8374 2011-10-17  Andreas Schwab  <schwab@redhat.com>
8376         * misc/sys/cdefs.h: Fix last change.
8378         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8379         database lookup.
8381 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
8383         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8385         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8386         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8387         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8388         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8389         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8390         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8391         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8392         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8393         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8394         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8395         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8396         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8397         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8398         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8399         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8400         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8401         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8402         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8403         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8404         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8405         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8406         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8408         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8409         ceil, ceilf, floor, floorf.
8411         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8412         Perform IRELATIVE relocations last.
8414         * elf/do-rel.h: Add another parameter nrelative, replacing the
8415         local variable with the same name.  Change name of the function
8416         to end in Rel or Rela (uppercase).
8417         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8418         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
8419         elf_dynamic_do_##reloc function.
8421 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8423         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8424         is sufficient, at least on modern CPUs.
8426         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8428         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8429         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8431         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8432         __expl_finite.
8433         * math/bits/math-finite.h: Add entries for exp.
8434         * math/e_expl.c: Add __*_finite alias.
8435         * sysdeps/i386/fpu/e_exp.S: Likewise.
8436         * sysdeps/i386/fpu/e_expf.S: Likewise.
8437         * sysdeps/i386/fpu/e_expl.c: Likewise.
8438         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8439         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8440         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8441         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8442         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8443         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8444         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8446         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8447         is sufficient, at least on modern CPUs.
8449         * ctype/ctype-info.c (__ctype_init): Define.
8450         * include/ctype.h (__ctype_init): Declare.
8451         (__ctype_b_loc): The variable is always initialized.
8452         (__ctype_toupper_loc): Likewise.
8453         (__ctype_tolower_loc): Likewise.
8454         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8455         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8457 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
8459         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8461         * configure.in: Also look in $cxxmachine/include for C++ system
8462         headers.
8464 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8466         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8467         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8468         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8469         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
8470         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8471         (USE_AS_WMEMCMP): New macro.
8472         Fixing indents.
8473         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8474         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8475         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8476         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8477         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8478         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8479         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8480         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8481         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8482         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8483         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8484         (USE_AS_WMEMCMP): New macro.
8485         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8486         * sysdeps/string/test-memcmp.c: Update.
8487         Fix simple_wmemcmp.
8488         Add new tests.
8489         * wcsmbs/wmemcmp.c: Update.
8490         (WMEMCMP): New macro.
8491         Fix overflow bug.
8493 2011-10-12  Andreas Jaeger  <aj@suse.de>
8495         [BZ #13268]
8496         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8498 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8500         * libio/iofwide.c (do_length): Avoid warning.
8502         * ctype/ctype.h (__isctype_f): Add missing __THROW.
8504 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
8506         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8508         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8509         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8510         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8511         * sysdeps/i386/i686/fpu/e_log.S: New file.
8512         * sysdeps/i386/i686/fpu/e_logf.S: New file.
8513         * sysdeps/i386/i686/fpu/e_logl.S: New file.
8515         * ctype/ctype.h: Add support for inlined isXXX functions when
8516         compiling C++ code.
8518 2011-10-14  Andreas Schwab  <schwab@redhat.com>
8520         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8522         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8524 2011-10-13  Roland McGrath  <roland@hack.frob.com>
8526         [BZ #13291]
8527         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8529 2011-10-13  Andreas Schwab  <schwab@redhat.com>
8531         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8532         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8533         feraiseexcept.
8535         * sysdeps/x86_64/memrchr.S: Check for zero size.
8537         * string/stratcliff.c: Add memrchr tests.
8539 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8541         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8542         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8543         rawmemchr-sse2 rawmemchr-sse2-bsf.
8544         * sysdeps/i386/i686/multiarch/memchr.S: New file.
8545         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8546         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8547         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8548         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8549         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8550         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8551         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8552         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8553         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8554         * string/memrchr.c (MEMRCHR): New macro.
8556 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
8558         Add integration with gcc's -ffinite-math-only and optimize wrapper
8559         functions in libm.
8560         * Versions.def: Define GLIBC_2.15 version for libm.
8561         * math/Makefile (headers): Add bits/math-finite.h.
8562         * math/bits/math-finite.h: New file.
8563         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8564         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8565         * math/e_acoshl.c: Add __*_finite alias.
8566         * math/e_acosl.c: Likewise.
8567         * math/e_asinl.c: Likewise.
8568         * math/e_atan2l.c: Likewise.
8569         * math/e_atanhl.c: Likewise.
8570         * math/e_coshl.c: Likewise.
8571         * math/e_exp10.c: Likewise.
8572         * math/e_exp10f.c: Likewise.
8573         * math/e_exp10l.c: Likewise.
8574         * math/e_exp2l.c: Likewise.
8575         * math/e_fmodl.c: Likewise.
8576         * math/e_gammal_r.c: Likewise.
8577         * math/e_hypotl.c: Likewise.
8578         * math/e_j0l.c: Likewise.
8579         * math/e_j1l.c: Likewise.
8580         * math/e_jnl.c: Likewise.
8581         * math/e_lgammal_r.c: Likewise.
8582         * math/e_log10l.c: Likewise.
8583         * math/e_log2l.c: Likewise.
8584         * math/e_logl.c: Likewise.
8585         * math/e_powl.c: Likewise.
8586         * math/e_sinhl.c: Likewise.
8587         * math/e_sqrtl.c: Likewise.
8588         * math/e_scalb.c: Completely rewritten and optimized.
8589         * math/e_scalbf.c: Likewise.
8590         * math/e_scalbl.c: Likewise.
8591         * math/w_acos.c: Likewise.
8592         * math/w_acosf.c: Likewise.
8593         * math/w_acosl.c: Likewise.
8594         * math/w_acosh.c: Likewise.
8595         * math/w_acoshf.c: Likewise.
8596         * math/w_acoshl.c: Likewise.
8597         * math/w_asin.c: Likewise.
8598         * math/w_asinf.c: Likewise.
8599         * math/w_asinl.c: Likewise.
8600         * math/w_atan2.c: Likewise.
8601         * math/w_atan2f.c: Likewise.
8602         * math/w_atan2l.c: Likewise.
8603         * math/w_atanh.c: Likewise.
8604         * math/w_atanhf.c: Likewise.
8605         * math/w_atanhl.c: Likewise.
8606         * math/w_exp10.c: Likewise.
8607         * math/w_exp10f.c: Likewise.
8608         * math/w_exp10l.c: Likewise.
8609         * math/w_fmod.c: Likewise.
8610         * math/w_fmodf.c: Likewise.
8611         * math/w_fmodl.c: Likewise.
8612         * math/w_j0.c: Likewise.
8613         * math/w_j0f.c: Likewise.
8614         * math/w_j0l.c: Likewise.
8615         * math/w_j1.c: Likewise.
8616         * math/w_j1f.c: Likewise.
8617         * math/w_j1l.c: Likewise.
8618         * math/w_jn.c: Likewise.
8619         * math/w_jnf.c: Likewise.
8620         * math/w_log.c: Likewise.
8621         * math/w_logf.c: Likewise.
8622         * math/w_logl.c: Likewise.
8623         * math/w_log10.c: Likewise.
8624         * math/w_log10f.c: Likewise.
8625         * math/w_log10l.c: Likewise.
8626         * math/w_log2.c: Likewise.
8627         * math/w_log2f.c: Likewise.
8628         * math/w_log2l.c: Likewise.
8629         * math/w_pow.c: Likewise.
8630         * math/w_powf.c: Likewise.
8631         * math/w_powl.c: Likewise.
8632         * math/w_remainder.c: Likewise.
8633         * math/w_remainderf.c: Likewise.
8634         * math/w_remainderl.c: Likewise.
8635         * math/w_scalb.c: Likewise.
8636         * math/w_scalbf.c: Likewise.
8637         * math/w_scalbl.c: Likewise.
8638         * math/w_sqrt.c: Likewise.
8639         * math/w_sqrtf.c: Likewise.
8640         * math/w_sqrtl.c: Likewise.
8641         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8642         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
8643         used.
8644         * math/math_private.h: Declare __kernel_standard_f.
8645         * math/w_cosh.c: Remove cruft and optimize a bit.
8646         * math/w_coshf.c: Likewise.
8647         * math/w_coshl.c: Likewise.
8648         * math/w_exp2.c: Likewise.
8649         * math/w_exp2f.c: Likewise.
8650         * math/w_exp2l.c: Likewise.
8651         * math/w_hypot.c: Likewise.
8652         * math/w_hypotf.c: Likewise.
8653         * math/w_hypotl.c: Likewise.
8654         * math/w_lgamma.c: Likewise.
8655         * math/w_lgamma_r.c: Likewise.
8656         * math/w_lgammaf.c: Likewise.
8657         * math/w_lgammaf_r.c: Likewise.
8658         * math/w_lgammal.c: Likewise.
8659         * math/w_lgammal_r.c: Likewise.
8660         * math/w_sinh.c: Likewise.
8661         * math/w_sinhf.c: Likewise.
8662         * math/w_sinhl.c: Likewise.
8663         * math/w_tgamma.c: Likewise.
8664         * math/w_tgammaf.c: Likewise.
8665         * math/w_tgammal.c: Likewise.
8666         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8667         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8668         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8669         Minor optimizations.  Pretty printing.  Remove cruft.
8670         * sysdeps/i386/fpu/e_acosf.S: Likewise.
8671         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8672         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8673         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8674         * sysdeps/i386/fpu/e_acosl.c: Likewise.
8675         * sysdeps/i386/fpu/e_asin.S: Likewise.
8676         * sysdeps/i386/fpu/e_asinf.S: Likewise.
8677         * sysdeps/i386/fpu/e_atan2.S: Likewise.
8678         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8679         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8680         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8681         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8682         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8683         * sysdeps/i386/fpu/e_exp10.S: Likewise.
8684         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8685         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8686         * sysdeps/i386/fpu/e_exp2.S: Likewise.
8687         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8688         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8689         * sysdeps/i386/fpu/e_fmod.S: Likewise.
8690         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8691         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8692         * sysdeps/i386/fpu/e_hypot.S: Likewise.
8693         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8694         * sysdeps/i386/fpu/e_log.S: Likewise.
8695         * sysdeps/i386/fpu/e_log10.S: Likewise.
8696         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8697         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8698         * sysdeps/i386/fpu/e_log2.S: Likewise.
8699         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8700         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8701         * sysdeps/i386/fpu/e_logf.S: Likewise.
8702         * sysdeps/i386/fpu/e_logl.S: Likewise.
8703         * sysdeps/i386/fpu/e_pow.S: Likewise.
8704         * sysdeps/i386/fpu/e_powf.S: Likewise.
8705         * sysdeps/i386/fpu/e_powl.S: Likewise.
8706         * sysdeps/i386/fpu/e_remainder.S: Likewise.
8707         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8708         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8709         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8710         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8711         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8712         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8713         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8714         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8715         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8716         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8717         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8718         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8719         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8720         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8721         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8722         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8723         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8724         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8725         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8726         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8727         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8728         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8729         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8730         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8731         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8732         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8733         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8734         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8735         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8736         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8737         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8738         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8739         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8740         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8741         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8742         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8743         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8744         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8745         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8746         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8747         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8748         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8749         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8750         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8751         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8752         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8753         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8754         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8755         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8756         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8757         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8758         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8759         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8760         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8761         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8762         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8763         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8764         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8765         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8766         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8767         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8768         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8769         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8770         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8771         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8772         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8773         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8774         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8775         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8776         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8777         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8778         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8779         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8780         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8781         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8782         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8783         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8784         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8785         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8786         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8787         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8789         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8790         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8791         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8792         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8793         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8794         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8795         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8796         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8797         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8798         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8799         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8800         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8801         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8802         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8803         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8804         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8805         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8806         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8807         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8808         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8809         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8810         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8811         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8812         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8813         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8814         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8815         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8816         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8817         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8818         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8819         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8820         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8821         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8822         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8823         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8824         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8825         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
8826         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8827         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8828         (__isnanf): Likewise.
8829         (__isinf_ns): Likewise.
8830         (__isinf_nsf): Likewise.
8831         (__finite): Likewise.
8832         (__finitef): Likewise.
8833         (__ieee754_sqrt): Define as macro.
8834         (__ieee754_sqrtf): Define as macro.
8835         (__ieee754_sqrtl): Define as macro.
8836         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8837         inlined copy.
8838         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8839         __FINITE_MATH_ONLY__ consistent.
8840         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8842 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
8844         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8845         of rawmemchr.
8847         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8849 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
8851         * po/ja.po: Update from translation team.
8853 2011-10-08  Roland McGrath  <roland@hack.frob.com>
8855         * locale/programs/locarchive.c (prepare_address_space): New function.
8856         (create_archive, enlarge_archive, open_archive): Use it.
8858         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8859         inside [SHARED], where it is used.
8861         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8863         * nss/getent.c (netgroup_keys): Remove unused variable.
8864         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8866 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
8868         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8869         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8870         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8871         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8872         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8873         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8874         * math/Makefile (libm-calls): Add s_isinf_ns.
8875         * math/divtc3.c: Use __isinf_nsl instead of isinf.
8876         * math/multc3.c: Likewise.
8877         * math/s_casin.c: Likewise.
8878         * math/s_casinf.c: Likewise.
8879         * math/s_casinl.c: Likewise.
8880         * math/s_ccos.c: Likewise.
8881         * math/s_ccosf.c: Likewise.
8882         * math/s_ccosl.c: Likewise.
8883         * math/s_ctan.c: Likewise.
8884         * math/s_ctanf.c: Likewise.
8885         * math/s_ctanh.c: Likewise.
8886         * math/s_ctanhf.c: Likewise.
8887         * math/s_ctanhl.c: Likewise.
8888         * math/s_ctanl.c: Likewise.
8889         * math/w_fmod.c: Likewise.
8890         * math/w_fmodf.c: Likewise.
8891         * math/w_fmodl.c: Likewise.
8892         * math/w_remainder.c: Likewise.
8893         * math/w_remainderf.c: Likewise.
8894         * math/w_remainderl.c: Likewise.
8895         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8896         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8897         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8898         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8899         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8900         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8901         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8902         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8904         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8905         of the number.
8906         * stdio-common/printf_fphex.c: Likewise.
8907         * stdio-common/printf_size.c: Likewise.
8909         * math/e_exp10.c: Include math_private.h using <...> not "...".
8910         * math/e_exp10f.c: Likewise.
8911         * math/e_exp10l.c: Likewise.
8912         * math/e_exp2l.c: Likewise.
8913         * math/e_j0l.c: Likewise.
8914         * math/e_j1l.c: Likewise.
8915         * math/e_jnl.c: Likewise.
8916         * math/e_lgammal_r.c: Likewise.
8917         * math/e_rem_pio2l.c: Likewise.
8918         * math/e_scalb.c: Likewise.
8919         * math/e_scalbf.c: Likewise.
8920         * math/e_scalbl.c: Likewise.
8921         * math/k_cosl.c: Likewise.
8922         * math/k_sinl.c: Likewise.
8923         * math/k_tanl.c: Likewise.
8924         * math/s_cacoshf.c: Likewise.
8925         * math/s_catan.c: Likewise.
8926         * math/s_catanf.c: Likewise.
8927         * math/s_catanh.c: Likewise.
8928         * math/s_catanhf.c: Likewise.
8929         * math/s_catanhl.c: Likewise.
8930         * math/s_catanl.c: Likewise.
8931         * math/s_ccosh.c: Likewise.
8932         * math/s_ccoshf.c: Likewise.
8933         * math/s_ccoshl.c: Likewise.
8934         * math/s_cexp.c: Likewise.
8935         * math/s_cexpf.c: Likewise.
8936         * math/s_cexpl.c: Likewise.
8937         * math/s_clog.c: Likewise.
8938         * math/s_clog10.c: Likewise.
8939         * math/s_clog10f.c: Likewise.
8940         * math/s_clog10l.c: Likewise.
8941         * math/s_clogf.c: Likewise.
8942         * math/s_clogl.c: Likewise.
8943         * math/s_csin.c: Likewise.
8944         * math/s_csinf.c: Likewise.
8945         * math/s_csinh.c: Likewise.
8946         * math/s_csinhf.c: Likewise.
8947         * math/s_csinhl.c: Likewise.
8948         * math/s_csinl.c: Likewise.
8949         * math/s_csqrt.c: Likewise.
8950         * math/s_csqrtf.c: Likewise.
8951         * math/s_csqrtl.c: Likewise.
8952         * math/s_ctan.c: Likewise.
8953         * math/s_ctanf.c: Likewise.
8954         * math/s_ctanh.c: Likewise.
8955         * math/s_ctanhf.c: Likewise.
8956         * math/s_ctanhl.c: Likewise.
8957         * math/s_ctanl.c: Likewise.
8958         * math/s_ldexp.c: Likewise.
8959         * math/s_ldexpf.c: Likewise.
8960         * math/s_ldexpl.c: Likewise.
8961         * math/s_significand.c: Likewise.
8962         * math/s_significandf.c: Likewise.
8963         * math/s_significandl.c: Likewise.
8964         * math/w_acos.c: Likewise.
8965         * math/w_acosf.c: Likewise.
8966         * math/w_acosh.c: Likewise.
8967         * math/w_acoshf.c: Likewise.
8968         * math/w_acoshl.c: Likewise.
8969         * math/w_acosl.c: Likewise.
8970         * math/w_asin.c: Likewise.
8971         * math/w_asinf.c: Likewise.
8972         * math/w_asinl.c: Likewise.
8973         * math/w_atan2.c: Likewise.
8974         * math/w_atan2f.c: Likewise.
8975         * math/w_atan2l.c: Likewise.
8976         * math/w_atanh.c: Likewise.
8977         * math/w_atanhf.c: Likewise.
8978         * math/w_atanhl.c: Likewise.
8979         * math/w_cosh.c: Likewise.
8980         * math/w_coshf.c: Likewise.
8981         * math/w_coshl.c: Likewise.
8982         * math/w_dremf.c: Likewise.
8983         * math/w_exp10.c: Likewise.
8984         * math/w_exp10f.c: Likewise.
8985         * math/w_exp10l.c: Likewise.
8986         * math/w_exp2.c: Likewise.
8987         * math/w_exp2f.c: Likewise.
8988         * math/w_fmod.c: Likewise.
8989         * math/w_fmodf.c: Likewise.
8990         * math/w_fmodl.c: Likewise.
8991         * math/w_hypot.c: Likewise.
8992         * math/w_hypotf.c: Likewise.
8993         * math/w_hypotl.c: Likewise.
8994         * math/w_j0.c: Likewise.
8995         * math/w_j0f.c: Likewise.
8996         * math/w_j0l.c: Likewise.
8997         * math/w_j1.c: Likewise.
8998         * math/w_j1f.c: Likewise.
8999         * math/w_j1l.c: Likewise.
9000         * math/w_jn.c: Likewise.
9001         * math/w_jnf.c: Likewise.
9002         * math/w_jnl.c: Likewise.
9003         * math/w_lgamma.c: Likewise.
9004         * math/w_lgamma_r.c: Likewise.
9005         * math/w_lgammaf.c: Likewise.
9006         * math/w_lgammaf_r.c: Likewise.
9007         * math/w_lgammal.c: Likewise.
9008         * math/w_lgammal_r.c: Likewise.
9009         * math/w_log.c: Likewise.
9010         * math/w_log10.c: Likewise.
9011         * math/w_log10f.c: Likewise.
9012         * math/w_log10l.c: Likewise.
9013         * math/w_log2.c: Likewise.
9014         * math/w_log2f.c: Likewise.
9015         * math/w_log2l.c: Likewise.
9016         * math/w_logf.c: Likewise.
9017         * math/w_logl.c: Likewise.
9018         * math/w_pow.c: Likewise.
9019         * math/w_powf.c: Likewise.
9020         * math/w_powl.c: Likewise.
9021         * math/w_remainder.c: Likewise.
9022         * math/w_remainderf.c: Likewise.
9023         * math/w_remainderl.c: Likewise.
9024         * math/w_scalb.c: Likewise.
9025         * math/w_scalbf.c: Likewise.
9026         * math/w_scalbl.c: Likewise.
9027         * math/w_sinh.c: Likewise.
9028         * math/w_sinhf.c: Likewise.
9029         * math/w_sinhl.c: Likewise.
9030         * math/w_sqrt.c: Likewise.
9031         * math/w_sqrtf.c: Likewise.
9032         * math/w_sqrtl.c: Likewise.
9033         * math/w_tgamma.c: Likewise.
9034         * math/w_tgammaf.c: Likewise.
9035         * math/w_tgammal.c: Likewise.
9037         * po/ja.po: Update from translation team.
9039 2011-09-29  Andreas Jaeger  <aj@suse.de>
9041         [BZ #13179]
9042         * sunrpc/netname.c (netname2host): Fix logic.
9044         [BZ #6779]
9045         [BZ #6783]
9046         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9047         correctly.
9048         * math/w_remainder.c (__remainder): Likewise.
9049         * math/w_remainderf.c (__remainderf): Likewise.
9050         * math/libm-test.inc (remainder_test): Add test cases.
9052 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9054         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
9055         sdiv_qrnnd.
9057 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
9059         * string/test-memcmp.c: Avoid unncessary #defines.
9060         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9062 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9064         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9065         Use new sse2 version for core i3 - i7 as it's faster
9066         than sse42 version.
9067         (bit_Prefer_PMINUB_for_stringop): New.
9068         * sysdeps/x86_64/rawmemchr.S: Update.
9069         Replace with faster SSE2 version.
9070         * sysdeps/x86_64/memrchr.S: New file.
9071         * sysdeps/x86_64/memchr.S: Update.
9072         Replace with faster SSE2 version.
9074 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
9076         * elf/dl-load.c (lose): Add cast to avoid warning.
9078 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
9080         * po/ca.po: Update from translation team.
9082         * inet/getnetgrent_r.c: Hook up nscd.
9083         * nscd/Makefile (routines): Add nscd_netgroup.
9084         (nscd-modules): Add netgroupcache.
9085         (CFLAGS-netgroupcache.c): Define.
9086         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9087         (cache_search): Add const to second parameter.
9088         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9089         INNETGR.
9090         (dbs): Add netgrdb entry.
9091         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9092         (verify_persistent_db): Handle netgrdb.
9093         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9094         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9095         GETFDNETGR.
9096         (netgroup_response_header): Define.
9097         (innetgroup_response_header): Define.
9098         (datahead): Add netgroup_response_header and innetgroup_response_header
9099         elements.
9100         * nscd/nscd.conf: Add entries for netgroup cache.
9101         * nscd/nscd.h (dbtype): Add netgrdb.
9102         (_PATH_NSCD_NETGROUP_DB): Define.
9103         (netgroup_iov_disabled): Declare.
9104         (xmalloc, xcalloc, xrealloc): Move declarations here.
9105         (cache_search): Adjust prototype.
9106         Add netgroup-related prototypes.
9107         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9108         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9109         (__nscd_innetgr): Declare.
9110         * nscd/selinux.c (perms): Use access_vector_t as element type and
9111         add netgroup-related initializers.
9112         * nscd/netgroupcache.c: New file.
9113         * nscd/nscd_netgroup.c: New file.
9114         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9115         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9116         For four parameters use innetgr.
9117         * nss/nss_files/files-init.c: Add definition and callback for netgr.
9118         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9119         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9120         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9122         * nscd/connections.c (register_traced_file): Don't register file
9123         for disabled databases.
9125 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
9127         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9129         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9130         from tree and freeing node.
9132 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
9134         * nss/nsswitch.c (__nss_database_lookup): Handle
9135         nss_parse_service_list out of memory case.
9137 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
9139         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9140         out of memory case.
9142 2011-10-04  Andreas Schwab  <schwab@redhat.com>
9144         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9145         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9146         pass it down.
9147         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9148         elf_machine_rela, elf_machine_lazy_rel.
9149         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9150         (ELF_DYNAMIC_DO_REL): Likewise.
9151         (ELF_DYNAMIC_DO_RELA): Likewise.
9152         (ELF_DYNAMIC_RELOCATE): Likewise.
9153         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9154         to ELF_DYNAMIC_DO_REL.
9155         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9156         (dl_main): In trace mode always set __RTLD_NOIFUNC.
9157         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9158         elf_machine_rela.
9159         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9160         skip_ifunc, don't call ifunc function if non-zero.
9161         (elf_machine_rela): Likewise.
9162         (elf_machine_lazy_rel): Likewise.
9163         (elf_machine_lazy_rela): Likewise.
9164         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9165         (elf_machine_lazy_rel): Likewise.
9166         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9167         Likewise.
9168         (elf_machine_lazy_rel): Likewise.
9169         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9170         Likewise.
9171         (elf_machine_lazy_rel): Likewise.
9172         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9173         (elf_machine_lazy_rel): Likewise.
9174         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9175         (elf_machine_lazy_rel): Likewise.
9176         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9177         (elf_machine_lazy_rel): Likewise.
9178         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9179         (elf_machine_lazy_rel): Likewise.
9180         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9181         (elf_machine_lazy_rel): Likewise.
9182         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9183         (elf_machine_lazy_rel): Likewise.
9185 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
9187         * nss/nss_files/files-init.c (_nss_files_init): Use static
9188         initialization for all the *_traced_file variables.
9190 2011-09-28  Andreas Schwab  <schwab@redhat.com>
9192         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9194 2011-09-27  Roland McGrath  <roland@hack.frob.com>
9196         [BZ #13226]
9197         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9199 2011-09-27  Andreas Schwab  <schwab@redhat.com>
9201         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9202         Reread the line before reparsing it.
9204 2011-09-26  Andreas Schwab  <schwab@redhat.com>
9206         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9208 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
9209             Maxim Kuvyrkov  <maxim@codesourcery.com>
9210             Joseph Myers  <joseph@codesourcery.com>
9212         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9213         if needed for __stack_chk_guard.
9215 2011-09-19  Roland McGrath  <roland@hack.frob.com>
9217         * sysdeps/posix/spawni.c (script_execute): Always define it.
9218         It will be optimized away if unused.
9219         (maybe_script_execute): New function.
9220         (__spawni): Call it.
9222         * Makerules: Don't include tls.make.
9223         (config-tls): Always set to thread.
9224         * tls.make.c: File removed.
9226 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
9228         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9229         * config.make.in (CPPFLAGS-config): New substituted variable.
9231 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
9233         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9235         [BZ #13192]
9236         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9237         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9239 2011-09-15  Roland McGrath  <roland@hack.frob.com>
9241         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9242         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9243         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9244         (CALL_FAIL): Likewise.
9245         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9246         (CALL_FAIL): Macro removed.
9247         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9249 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
9251         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9252         for __FINITE_MATH_ONLY__ == 1.
9254 2011-09-15  Andreas Schwab  <schwab@redhat.com>
9256         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9257         __ieee754_sqrt instead of sqrt.
9258         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9259         __ieee754_sqrtf instead of sqrtf.
9260         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9261         __floorf instead of floorf.
9262         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9263         __floorf, __truncf instead of floorf, truncf.
9265 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
9267         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9269         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9270         __extern_always_inline.
9271         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9272         32-bit.
9274 2011-09-14  Andreas Schwab  <schwab@redhat.com>
9276         * elf/rtld.c (dl_main): Also relocate in dependency order when
9277         doing symbol dependency testing.
9279 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
9281         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9282         Always define `refsym'.
9284 2011-09-13  Andreas Schwab  <schwab@redhat.com>
9286         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9287         (__FD_ELT): Renamed from __FDELT.
9288         * misc/bits/select2.h (__FD_ELT): Likewise.
9289         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9290         __FD_MASK instead of __FDELT, __FDMASK.
9291         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9292         Likewise.
9293         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9294         Likewise.
9296         * elf/Makefile (gen-ldd): Fix pattern.
9298         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9299         (init_tls): Likewise.
9301 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
9303         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9305 2011-09-12  Andreas Schwab  <schwab@redhat.com>
9307         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9308         `struct cmsghdr *' instead of `void *'.
9309         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9310         Likewise.
9312 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
9314         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9315         if non-absolute.
9316         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9317         ldd_rewrite_script.
9319 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
9321         * configure.in: Remove --with-tls option.
9322         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9323         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9324         out in case it is missing.
9325         * sysdeps/ia64/elf/configure.in: Likewise.
9326         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9327         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9328         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9329         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9330         * sysdeps/sh/elf/configure.in: Likewise.
9331         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9332         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9333         * sysdeps/x86_64/elf/configure.in: Likewise.
9334         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9335         * sysdeps/mach/hurd/tls.h: Likewise.
9337         [BZ #13067]
9338         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9340         [BZ #13090]
9341         * configure.in: Fix use of AC_INIT.
9343         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9345 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
9347         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9348         __set_errno.
9349         * malloc/hooks.c: Likewise.
9351         [BZ #11929]
9352         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
9353         variables statically.
9354         (narenas): Initialize.
9355         (list_lock): Initialize.
9356         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
9357         initializtion of main_arena and list_lock.  Small cleanups.
9358         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9359         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
9360         Add initializers to main_arena and mp_.
9361         (malloc_state): Remove pagesize member.  Change all users to use
9362         GLRO(dl_pagesize).
9364         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9365         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
9366         is always initialized.
9368         * malloc/malloc.c: Removed unused configurations and dead code.
9369         * malloc/arena.c: Likewise.
9370         * malloc/hooks.c: Likewise.
9371         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9373         * include/tls.h: Removed.  USE___THREAD must always be defined.
9374         * bits/libc-tsd.h: Don't handle !USE___THREAD.
9375         * elf/dl-libc.c: Likewise.
9376         * elf/dl-tsd.c: Likewise.
9377         * include/errno.h: Likewise.
9378         * include/netdb.h: Likewise.
9379         * include/resolv.h: Likewise.
9380         * inet/herrno-loc.c: Likewise.
9381         * inet/herrno.c: Likewise.
9382         * malloc/arena.c: Likewise.
9383         * malloc/hooks.c: Likewise.
9384         * malloc/malloc.c: Likewise.
9385         * resolv/res-state.c: Likewise.
9386         * resolv/res_libc.c: Likewise.
9387         * sysdeps/i386/dl-machine.h: Likewise.
9388         * sysdeps/ia64/dl-machine.h: Likewise.
9389         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9390         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9391         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9392         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9393         * sysdeps/sh/dl-machine.h: Likewise.
9394         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9395         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9396         * sysdeps/unix/i386/sysdep.S: Likewise.
9397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9398         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9399         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9401         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9403         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9404         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9405         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9407         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9408         * sysdeps/x86_64/dl-machine.h: Likewise.
9409         * tls.make.c: Likewise.
9411         * configure.in: Remove --with-__thread option.  Make tests for
9412         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9413         tls_model attribute fail if no support is available.  Remove
9414         USE_IN_LIBIO.
9415         * Makeconfig: Adjust for dropped configure option.  All features are
9416         now mandatory.
9417         * Makerules: Likewise.
9418         * Versions.def: Likewise.
9419         * argp/argp-fmtstream.c: Likewise.
9420         * argp/argp-fmtstream.h: Likewise.
9421         * argp/argp-help.c: Likewise.
9422         * assert/assert.c: Likewise.
9423         * config.h.in: Likewise.
9424         * config.make.in: Likewise.
9425         * configure: Likewise.
9426         * configure.in: Likewise.
9427         * csu/Versions: Likewise.
9428         * csu/init.c: Likewise.
9429         * elf/tst-audit2.c: Likewise.
9430         * elf/tst-tls10.c: Likewise.
9431         * elf/tst-tls10.h: Likewise.
9432         * elf/tst-tls11.c: Likewise.
9433         * elf/tst-tls12.c: Likewise.
9434         * elf/tst-tls14.c: Likewise.
9435         * elf/tst-tlsmod11.c: Likewise.
9436         * elf/tst-tlsmod12.c: Likewise.
9437         * elf/tst-tlsmod13.c: Likewise.
9438         * elf/tst-tlsmod13a.c: Likewise.
9439         * elf/tst-tlsmod14a.c: Likewise.
9440         * elf/tst-tlsmod15b.c: Likewise.
9441         * elf/tst-tlsmod16a.c: Likewise.
9442         * elf/tst-tlsmod16b.c: Likewise.
9443         * elf/tst-tlsmod7.c: Likewise.
9444         * elf/tst-tlsmod8.c: Likewise.
9445         * elf/tst-tlsmod9.c: Likewise.
9446         * gmon/gmon.c: Likewise.
9447         * grp/fgetgrent_r.c: Likewise.
9448         * grp/putgrent.c: Likewise.
9449         * hurd/fopenport.c: Likewise.
9450         * include/libc-symbols.h: Likewise.
9451         * include/tls.h: Likewise.
9452         * intl/gettextP.h: Likewise.
9453         * intl/loadinfo.h: Likewise.
9454         * locale/global-locale.c: Likewise.
9455         * locale/localeinfo.h: Likewise.
9456         * mach/devstream.c: Likewise.
9457         * malloc/arena.c: Likewise.
9458         * malloc/set-freeres.c: Likewise.
9459         * misc/err.c: Likewise.
9460         * misc/getttyent.c: Likewise.
9461         * misc/mntent_r.c: Likewise.
9462         * posix/getopt.c: Likewise.
9463         * posix/wordexp.c: Likewise.
9464         * pwd/fgetpwent_r.c: Likewise.
9465         * resolv/Versions: Likewise.
9466         * resolv/res_hconf.c: Likewise.
9467         * shadow/fgetspent_r.c: Likewise.
9468         * shadow/putspent.c: Likewise.
9469         * stdio-common/printf_fphex.c: Likewise.
9470         * stdio-common/tmpfile.c: Likewise.
9471         * stdlib/abort.c: Likewise.
9472         * stdlib/fmtmsg.c: Likewise.
9473         * sunrpc/auth_unix.c: Likewise.
9474         * sunrpc/clnt_perr.c: Likewise.
9475         * sunrpc/clnt_tcp.c: Likewise.
9476         * sunrpc/clnt_udp.c: Likewise.
9477         * sunrpc/clnt_unix.c: Likewise.
9478         * sunrpc/openchild.c: Likewise.
9479         * sunrpc/svc_simple.c: Likewise.
9480         * sunrpc/svc_tcp.c: Likewise.
9481         * sunrpc/svc_udp.c: Likewise.
9482         * sunrpc/svc_unix.c: Likewise.
9483         * sunrpc/xdr.c: Likewise.
9484         * sunrpc/xdr_array.c: Likewise.
9485         * sunrpc/xdr_rec.c: Likewise.
9486         * sunrpc/xdr_ref.c: Likewise.
9487         * sunrpc/xdr_stdio.c: Likewise.
9489 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9491         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9493 2011-07-03  Andreas Jaeger  <aj@suse.de>
9495         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9496         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9497         regenerate with gen-libm-tests.pl.
9499 2010-05-12  Petr Baudis  <pasky@suse.cz>
9501         [BZ #11589]
9502         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9503         around j0() zero points by switching to j1().
9504         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9505         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9506         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9507         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9509 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9511         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9512         instead of 0.
9513         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9514         instead of 0.                              .
9515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9516         Patch in part by Pavel Roskin <proski@gnu.org>.
9518         [BZ #13138]
9519         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9520         realloc.
9521         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
9522         Free memory block if necessary.
9524         [BZ #12847]
9525         * libio/genops.c (INTDEF): For string streams the _lock pointer can
9526         be NULL.  Don't lock in this case.
9528 2011-09-09  Roland McGrath  <roland@hack.frob.com>
9530         * elf/elf.h (ELFOSABI_GNU): New macro.
9531         (ELFOSABI_LINUX): Define to that.
9533 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
9535         * string/strncat.c (strncat): Undef the symbol in case it has been
9536         defined in bits/string.h.
9538 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9540         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9542         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9543         link map.
9545 2011-08-17  Andreas Jaeger  <aj@suse.de>
9547         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9549 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9550             Ian Lance Taylor  <iant@google.com>
9552         * math/libm-test.inc (lround_test): New testcase.
9553         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9555 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
9557         * Makefile: Remove support for automatic cvs check-ins.
9558         * Makerules: Likewise.
9559         * config.make.in: Likewise.
9560         * configure.in: Likewise.
9561         * intl/Makefile: Likewise.
9562         * locale/Makefile: Likewise.
9563         * po/Makefile: Likewise.
9564         * posix/Makefile: Likewise.
9565         * sysdeps/gnu/Makefile: Likewise.
9566         * sysdeps/mach/hurd/Makefile: Likewise.
9567         * sysdeps/sparc/sparc32/Makefile: Likewise.
9569         [BZ #13118]
9570         * posix/Makefile (bug-regex32-ENV): Define.
9571         Patch by John Stanley <jpsinthemix@verizon.net>.
9573         * misc/Makefile (headers): Add bits/select2.h.
9574         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9575         * misc/bits/select2.h: New file.
9576         * include/bits/select2.h: New file.
9577         * debug/Makefile (routines): Add fdelt_chk.
9578         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9579         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9580         FD_ISSET.
9581         * debug/fdelt_chk.c: New file.
9583         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
9584         * wcsmbs/test-wmemcmp.c: Likewise.
9585         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9586         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9588 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9590         * string/Makefile (strop-tests): Add memcmp.
9591         * string/test-wmemcmp.c: New file.
9592         * string/test-memcmp.c: Add wmemcmp support.
9594 2011-09-08  Roland McGrath  <roland@hack.frob.com>
9596         [BZ #13153]
9597         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9598         2011-07-19 change.
9600         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9601         garbage value in a __mach_port_mod_refs call in the cases of the
9602         task-self and thread-self ports.
9604 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9606         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9608 2011-09-08  Andreas Schwab  <schwab@redhat.com>
9610         * elf/dl-load.c (lose): Check for non-null L.
9612 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9614         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9616         * elf/dl-libc.c (dlerror_run): Pass back error code from
9617         dl_catch_error.
9619         [BZ #13123]
9620         * elf/dl-load.c (lose): Free l_origin if it is valid.
9622         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9623         names.
9624         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9625         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9626         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9627         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9628         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9629         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9631 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9633         * sysdeps/powerpc/fpu/e_hypot.c: New file.
9634         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9635         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9636         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9637         * sysdeps/powerpc/fpu/k_cosf.c: New file.
9638         * sysdeps/powerpc/fpu/k_sinf.c: New file.
9639         * sysdeps/powerpc/fpu/s_cosf.c: New file.
9640         * sysdeps/powerpc/fpu/s_sinf.c: New file.
9641         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9642         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9644 2011-08-15  Alan Modra  <amodra@gmail.com>
9646         [BZ #13092]
9647         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9648         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9649         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
9650         ppc_mcount to static-only-routines.
9651         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9652         __mcount_internal.
9653         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9654         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
9656 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
9658         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9659         for finite and infinity parameters.
9661 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9663         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9664         and add nop instructions for throughput optimization.
9665         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9667 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
9669         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9670         aligned copy for power7 with vector-scalar instructions.
9671         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9673 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
9675         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9676         AVX check.
9678 2011-09-07  Andreas Schwab  <schwab@redhat.com>
9680         [BZ #13144]
9681         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9682         last change.
9684 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9686         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9687         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9688         syscall wrapper around clock_gettime in __vdso_clock_gettime.
9689         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9690         clock_gettime.
9692 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9694         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9695         Forgot to demangle the pointer.
9697         * sysdeps/i386/sysdep.h: Define atom_text_section.
9698         * sysdeps/x86_64/sysdep.h: Likewise.
9699         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9700         section with atom_text_section.
9701         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9702         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9703         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9704         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9705         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9707         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9708         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9709         already be defined.  Change to take two parameters and don't assign
9710         result to variable.  Adjust all users.
9711         Define INTERNAL_GETTIME if not already defined.
9712         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9713         call.
9714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9715         HAVE_CLOCK_GETTIME_VSYSCALL.
9716         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9718         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9719         gettimeofday vsyscall, just use time.
9721 2011-09-06  Andreas Schwab  <schwab@redhat.com>
9723         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9724         <errno.h>.
9726 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9728         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9729         syscall on x86-64.
9730         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9731         syscall.
9732         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9733         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9734         syscall if possible.
9736 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9738         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9739         e_ident.  Don't pass to find_mapsXX.
9740         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9742 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9744         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9745         strchr-sse2-no-bsf strrchr-sse2-no-bsf
9746         * sysdeps/x86_64/multiarch/strchr.S: Update.
9747         Check bit_slow_BSF bit.
9748         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9749         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9750         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9752 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9754         [BZ #13134]
9755         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9756         before glibc 2.15.
9757         (tryshell): Define.
9758         (__spawni): Change last parameter to be flag.  Test
9759         SPAWN_XFLAGS_USE_PATH flag to use path or not.
9760         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9761         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9762         * posix/spawni.c: Likewise.
9763         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9764         * posix/spawnp.c: Likewise.  Change normal version to use
9765         SPAWN_XFLAGS_USE_PATH.
9766         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9767         SPAWN_XFLAGS_TRY_SHELL.
9769         [BZ #13150]
9770         * posix/glob.h: Remove gcc 1.x support.
9772         [BZ #13068]
9773         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9775 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9777         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9778         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9779         strrchr-sse2-bsf
9780         * sysdeps/i386/i686/multiarch/strchr.S: New file.
9781         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9782         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9783         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9784         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9785         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9787 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9789         * sysdeps/x86_64/wcscmp.S: New file.
9791         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9792         wcscmp-c wcscmp-sse2
9793         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9794         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9795         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9796         * wcsmbs/wcscmp.c: Allow renaming.
9798 2011-09-05  David S. Miller  <davem@davemloft.net>
9800         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9801         stack slot, rather than the struct return pointer slot.
9802         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9803         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9805         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9807 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9809         * po/ja.po: Update from translation team.
9811         [BZ #13144]
9812         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9813         kernel in 64-bit binaries.
9815 2011-09-01  David S. Miller  <davem@davemloft.net>
9817         * elf/elf.h (HWCAP_SPARC_*): Move to..
9818         * sysdeps/sparc/sysdep.h: this new file and add new values.
9819         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9820         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9821         _DL_HWCAP_COUNT to 24.
9822         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9823         entries.
9824         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9825         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9826         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9827         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9828         instead of magic constants.
9829         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9831 2011-08-31  David S. Miller  <davem@davemloft.net>
9833         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9834         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9835         Reimplement to do errno handling inline.
9836         (SYSCALL_ERROR_HANDLER): New macro.
9837         (__SYSCALL_STRING): Do not do errno handling in asm.
9838         (__CLONE_SYSCALL_STRING): Delete.
9839         (__INTERNAL_SYSCALL_STRING): Delete.
9840         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9841         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9842         (PSEUDO): Reimplement to do errno handling inline.
9843         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9844         (SYSCALL_ERROR_HANDLER): New macro.
9845         (__SYSCALL_STRING): Do not do errno handling in asm.
9846         (__CLONE_SYSCALL_STRING): Delete.
9847         (__INTERNAL_SYSCALL_STRING): Delete.
9848         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9849         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9850         i386.
9851         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9852         (inline_syscall*): Add 'err' argument.
9853         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9854         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9855         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9856         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9858         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9859         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9861 2011-08-30  Andreas Schwab  <schwab@redhat.com>
9863         * elf/rtld.c (dl_main): Relocate objects in dependency order.
9865 2011-08-29  Jiri Olsa <jolsa@redhat.com>
9867         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9868         directive.
9870 2011-08-24  David S. Miller  <davem@davemloft.net>
9872         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9874 2011-08-24  Andreas Schwab  <schwab@redhat.com>
9876         * elf/Makefile: Add rules to build and run unload8 test.
9877         * elf/unload8.c: New file.
9878         * elf/unload8mod1.c: New file.
9879         * elf/unload8mod1x.c: New file.
9880         * elf/unload8mod2.c: New file.
9881         * elf/unload8mod3.c: New file.
9883         * elf/dl-close.c (_dl_close_worker): Reset private search list if
9884         it wasn't used.
9886 2011-08-23  David S. Miller  <davem@davemloft.net>
9888         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9889         subtract stack bias.
9890         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9891         %sp not %fp in calculations.
9892         (_JMPBUF_UNWINDS_ADJ): Likewise.
9894         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9895         (aio_suspend): Call it to force an exception region around the
9896         AIO_MISC_WAIT() invocation.
9898 2011-08-23  Andreas Schwab  <schwab@redhat.com>
9900         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9901         backslash.
9903 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
9905         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9906         protection macro.
9907         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9908         and <dl-machine.h>.
9909         (Elf64_FuncDesc): Remove.
9911 2011-08-22  David S. Miller  <davem@davemloft.net>
9913         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9914         sigaltstack check, add missing cfi directives.
9915         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9916         missing cfi directives, and sigaltstack handling.
9918 2011-08-16  Andreas Schwab  <schwab@redhat.com>
9920         [BZ #11724]
9921         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9922         object is seen twice.
9923         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9925         * elf/Makefile (distribute): Add tst-initorder2.c.
9926         (tests): Add tst-initorder2.
9927         (modules-names): Add tst-initorder2a tst-initorder2b
9928         tst-initorder2c tst-initorder2d.  Add rules to build them.
9929         ($(objpfx)tst-initorder2.out): New rule.
9930         * elf/tst-initorder2.c: New file.
9931         * elf/tst-initorder2.exp: New file.
9933 2011-08-22  Andreas Schwab  <schwab@redhat.com>
9935         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9937         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9938         dependencies back to end of function.
9940         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9941         $(elfobjdir)/ld.so.
9943 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
9945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9946         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9947         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9948         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9949         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9950         of __vdso_gettimeofday.
9951         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9952         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
9953         attribute_hidden.
9954         (_libc_vdso_platform_setup): Remove initialization of
9955         __vdso_gettimeofday and __vdso_time.
9957 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9959         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9960         and fgetc_unlocked.
9961         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9962         getc_unlocked.
9964         * elf/dl-open.c (add_to_global): Report additions to the global scope
9965         for LD_DEBUG=scopes.
9966         (dl_open_worker): Also print scope of newly loaded dependencies.
9967         (_dl_show_scope): Indicate if there is no scope.
9969         [BZ #13114]
9970         * stdio-common/Makefile (tests): Add bug24.
9971         * stdio-common/bug24.c: New file.
9973 2011-08-19  Andreas Jaeger  <aj@suse.de>
9975         [BZ #13114]
9976         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9977         non-existant file when using close-on-exec mode.
9979 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9982         the very first instruction.
9984         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9985         the CFI state in the end.
9986         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9987         inclusion of dl-trampoline.h.
9988         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9990 2011-08-19  Andreas Schwab  <schwab@redhat.com>
9992         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9993         expectations for long double.
9995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9996         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9998 2011-08-14  David S. Miller  <davem@davemloft.net>
10000         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10001         artificual limit depends upon the system page size.
10003 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
10005         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10006         * resolv/Makefile: Define CFLAGS-libresolv.
10008 2011-08-17  Andreas Schwab  <schwab@redhat.com>
10010         * nss/makedb.c (compute_tables): Make variables used in nested
10011         function static.
10013 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
10015         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10016         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10017         if buffer was too small.
10019         * elf/pldd.c (main): Attach to all threads in the process.
10020         Rewrite /proc handling to use *at functions.
10022 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
10024         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10025         specifies first scope to show.
10026         (dl_open_worker): Update callers.  Move printing scope of new
10027         object to before the relocation.
10028         * elf/rtld.c (dl_main): Update _dl_show_scope call.
10029         * sysdeps/generic/ldsodefs.h: Update declaration.
10031         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10032         string for the scope number.
10034 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
10036         * nscd/servicescache.c (cache_addserv): Make sure written is always
10037         initialized.
10039 2011-08-14  Roland McGrath  <roland@hack.frob.com>
10041         * sysdeps/i386/i486/bits/atomic.h
10042         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10043         statement expression, so as to suppress "set but not used" warning.
10044         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10046         * string/strncat.c (STRNCAT): Use prototype definition.
10048         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10049         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10050         -Iprograms here.
10051         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10052         (localedef-modules): Add localedef.
10053         (locale-modules): Add locale.
10055         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10056         * elf/rtld.c (dl_main): Invert order of assignment in last change,
10057         to avoid a warning.
10059 2011-08-14  David S. Miller  <davem@davemloft.net>
10061         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10062         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10064 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
10066         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10067         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10068         * elf/rtld.c (dl_main): Set l_name of vDSO.
10069         Call _dl_show_scope when DL_DEBUG_SCOPES.
10070         (process_dl_debug): Recognize scopes flag and also set it for all.
10071         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10072         Declare _dl_show_scope.
10074         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10075         (do_dlopen): Pass caller_dlopen to dl_open.
10076         (__libc_dlopen_mode): Initialize caller_dlopen.
10078         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10079         of libc.  Make tolower call locale-independent.  Optimize a bit by
10080         using isdigit instead of isalnum.
10081         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10083 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
10085         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10086         was a dependency or dynamically loaded.
10088 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
10090         * intl/l10nflist.c: Allow architecture-specific pop function.
10091         * sysdeps/x86_64/l10nflist.c: New file.
10093         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10094         classification.
10096 2011-08-10  Andreas Schwab  <schwab@redhat.com>
10098         * include/dirent.h: Add libc_hidden_proto for scandirat and
10099         scandirat64.  Don't declare __scandirat64.
10100         * dirent/scandirat.c: Add libc_hidden_def.
10101         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10102         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10104 2011-08-10  David S. Miller  <davem@davemloft.net>
10106         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10107         enum.
10108         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10109         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10110         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10112 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
10114         * Versions.def [libc]: Add GLIBC_2.15.
10115         * dirent/Makefile (routines): Add scandirat and scandirat64.
10116         * dirent/Versions [libc]: Export scandirat and scandirat64 for
10117         GLIBC_2.15.
10118         * dirent/dirent.h: Declare scandirat and scandirat64.
10119         * dirent/scandirat.c: New file.
10120         * dirent/scandirat64.c: New file.
10121         * sysdeps/wordsize-64/scandirat.c: New file.
10122         * sysdeps/wordsize-64/scandirat64.c: New file.
10123         * dirent/opendir.c: Define opendirat.
10124         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
10125         using scandirat.
10126         * dirent/scandir64.c: Adjust for scandir.c change.
10127         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
10128         __scandirat64, and __scandir_cancel_handler.
10129         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
10130         additional parameter and use openat instead of open (outside of ld.so).
10131         Add new __opendir as wrapper around __opendirat.
10132         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10133         here without requiring old scandirat implementation.
10135 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
10137         * dirent/scandir.c (cancel_handler): Renamed to
10138         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
10139         defined.  Adjust users.
10140         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10141         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10143 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
10145         * string/test-string.h (IMPL): Use __STRING to expand name and then
10146         stringify it.
10148         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
10149         of cleanups.
10151 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10153         * string/Makefile: Update.
10154         (strop-tests): Append strncat.
10155         * string/test-wcscmp.c: New file.
10156         New comprehensive test for wcscmp.
10157         * string/test-strcmp.c: Update.
10158         (WIDE): New define.
10160 2011-07-22  Andreas Schwab  <schwab@redhat.com>
10162         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10163         line.
10165 2011-07-26  Andreas Schwab  <schwab@redhat.com>
10167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10168         encoding to ACE if AI_IDN.
10170 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
10172         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10173         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10175 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10177         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10178         Fix overflow bug in strncat.
10179         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10181         * string/test-strncat.c: Update.
10182         Add new tests for checking overflow bugs.
10184 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10187         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10188         * sysdeps/i386/i686/multiarch/strcat.S: New file.
10189         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10190         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10191         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10192         * sysdeps/i386/i686/multiarch/strncat.S: New file.
10193         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10194         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10196         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10197         (USE_AS_STRCAT): Define.
10198         Add strcat and strncat support.
10199         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10201 2011-07-25  Andreas Schwab  <schwab@redhat.com>
10203         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10204         __n bigger than INT_MAX+1.
10205         (__strncmp_g): Likewise.
10207 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
10209         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10210         * libio/stido.h: Likewise.
10212         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10213         (AF_NFC): Define.
10214         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10215         (AF_NFC): Define.
10217         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10218         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10219         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10220         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10221         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10223         [BZ #13021]
10224         * scripts/test-installation.pl: Don't expect libnss_test1 to be
10225         installed.
10227         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10228         typo.
10229         (_dl_x86_64_save_sse): Likewise.
10231 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
10233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10234         OSXSAVE.
10235         (_dl_x86_64_save_sse): Likewise.
10237         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10239         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10241 2011-07-21  Andreas Schwab  <schwab@redhat.com>
10243         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10244         change.
10245         (_dl_x86_64_save_sse): Use correct AVX check.
10247 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10249         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10250         bug in strncpy/strncat.
10251         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10253 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
10255         * string/tester.c (test_strcat): Add tests for different alignments
10256         of source and destination.
10257         (test_strncat): Likewise.
10259 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
10261         [BZ #12852]
10262         * posix/glob.c (glob): Check passed in values before using them in
10263         expressions to avoid some overflows.
10264         (glob_in_dir): Likewise.
10266         [BZ #13007]
10267         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10268         check for AVX enablement so that we don't crash with old kernels and
10269         new hardware.
10270         * elf/tst-audit4.c: Add same checks here.
10271         * elf/tst-audit6.c: Likewise.
10273         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10275 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
10277         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10279 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
10281         * po/cs.po: Update from translation team.
10282         * po/bg.po: Likewise.
10284 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
10286         * misc/sys/cdefs.h: Add support for const attribute.
10287         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10288         to gnu_dev_{major,minor,makedev} functions.
10290 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
10292         * intl/dcigettext.c (get_output_charset): Add missing bracket.
10294 2011-07-20  Andreas Schwab  <schwab@redhat.com>
10296         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10297         strlen results.
10299 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10302         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10303         register in order to avoid conflicts with the soft frame pointer
10304         being held in r11 when necessary.
10305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10306         (INTERNAL_VSYSCALL_NCS): Likewise.
10308 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
10310         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10311         * elf/dl-fini.c (_dl_fini): Adjust caller.
10312         * elf/dl-close.c (_dl_close_worker): Likewise.
10313         * sysdeps/generic/ldsodefs.h: Adjust declaration.
10315 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10317         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10318         "aux_cache->nlibs < 0".
10320         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10321         in the reload-count case.
10323 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10326         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10327         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10328         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10329         * sysdeps/x86_64/multiarch/strcat.S: New file.
10330         * sysdeps/x86_64/multiarch/strncat.S: New file.
10331         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10332         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10333         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10334         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10335         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10336         (USE_AS_STRCAT): Define.
10337         Add strcat and strncat support.
10338         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10339         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10340         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10341         * string/strncat.c: Update.
10342         (USE_AS_STRNCAT): Define.
10343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10344         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10345         and i7.
10346         * sysdeps/x86_64/multiarch/init-arch.h
10347         (bit_Prefer_PMINUB_for_stringop): New.
10348         (index_Prefer_PMINUB_for_stringop): Likewise.
10349         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10350         bit_Prefer_PMINUB_for_stringop.
10352 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10354         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10355         buffer64.
10356         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10357         of casting of buffer.
10358         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10359         buffer32 and buffer64.
10360         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10361         writes instead of casting of buffer.
10362         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10363         buffer32.
10364         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10365         casting of buffer.
10367 2011-07-19  Andreas Schwab  <schwab@redhat.com>
10369         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10371 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10373         * nscd/nscd.c (termination_handler): Don't do anything for a database
10374         if it has not yet been initialized.
10376 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10378         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10380 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10382         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10384 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10386         * po/nl.po: Update from translation team.
10387         * po/sv.po: Likewise.
10389 2011-07-16  Roland McGrath  <roland@hack.frob.com>
10391         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10392         now disallowed by GCC.
10394         * configure.in (use-default-link): Default to yes if a test -shared
10395         link meets our qualifications.
10396         * configure: Regenerated.
10398         * config.make.in (output-format): New variable.
10399         * configure.in: Check for ld --print-output-format support.
10400         * configure: Regenerated.
10401         * Makerules ($(common-objpfx)format.lds)
10402         [$(output-format) != unknown]: Just use $(output-format),
10403         instead of the linker-script munging.
10405 2011-07-14  Roland McGrath  <roland@hack.frob.com>
10407         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10408         of $(common-objpfx)shlib.lds.
10409         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10411         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10412         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10414         * configure.in (-z relro check): Adjust test code to add a large
10415         writable data section after it.
10416         * configure: Regenerated.
10418 2011-07-11  Roland McGrath  <roland@hack.frob.com>
10420         * configure.in (-z relro check): Fix test code to make the variable
10421         truly const.
10422         * configure: Regenerated.
10424 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
10426         * nscd/nscd.h (struct traced_file): Define.
10427         (struct database_dyn): Remove inotify_descr, reset_res, and filename
10428         elements.  Add traced_files.
10429         (inotify_fd): Declare.
10430         (register_traced_file): Declare.
10431         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10432         (inotify_fd): Export.
10433         (resolv_conf_descr): Remove.
10434         (nscd_init): Move inotify descriptor creation to main.
10435         Don't register files for notification here.
10436         (register_traced_file): New function.
10437         (invalidate_cache): Don't use reset_res to determine whether to call
10438         res_init, go through the list of registered files.
10439         (main_loop_poll): The inotify descriptors are now stored in the
10440         structures for the traced files.
10441         (main_loop_epoll): Likewise
10442         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
10443         to __nss_disable_nscd.
10444         * nscd/cache.c (prune_cache): There is no single inotify descriptor
10445         for a database anymore.  Check the records for all the registered
10446         files instead.
10447         * nss/Makefile (libnss_files-routines): Add files-init.
10448         (libnss_db-routines): Add db-init.
10449         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10450         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10451         * nss/nss_db/db-init.c: New file.
10452         * nss/nss_files/files-init.c: New file.
10453         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
10454         __nss_lookup_function.
10455         (__nss_lookup_function): Call nss_load_library.
10456         (nss_load_all_libraries): New function.
10457         (__nss_disable_nscd): Take parameter with callback function for files
10458         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
10459         used for the cached services.
10460         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10461         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10462         options for features to all the files in nscd.
10464         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10466 2011-07-10  Roland McGrath  <roland@hack.frob.com>
10468         * csu/elf-init.c (__libc_csu_init): Comment typo.
10470 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
10472         * po/pl.po: Update from translation team.
10473         * po/ja.po: Likewise.
10474         * po/ru.po: Likewise.
10475         * po/ko.po: Likewise.
10476         * po/fr.po: Likewise.
10478 2011-07-09  Roland McGrath  <roland@hack.frob.com>
10480         * configure.in (.ctors/.dtors header and trailer check):
10481         Use an empirical test on a built program.
10482         * configure: Regenerated.
10484         * configure.in (-z relro check): Use an empirical test on a built DSO.
10485         Detect, but do not require, on ia64.
10486         * configure: Regenerated.
10488         * configure.in (READELF): Find it with AC_CHECK_TOOL.
10489         Update tests that use readelf to use $READELF instead.
10490         * configure: Regenerated.
10492 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
10494         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10495         if the result is not used.
10497 2011-07-05  Andreas Jaeger  <aj@suse.de>
10499         [BZ#9696]
10500         * stdlib/tst-strtod.c: Add testcase.
10502 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
10504         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10505         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10506         The latter has a higher limit.  Take additional parameter to pass to
10507         the new function.
10508         (__pathconf): Pass file to __statfs_link_max.
10509         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10510         __statfs_link_max.
10511         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10512         __statfs_link_max.
10514         [BZ #12868]
10515         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10516         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10517         Handle Lustre.
10518         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10519         (__statfs_filesize_max): Likewise.
10520         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10522 2011-07-05  Andreas Jaeger  <aj@suse.de>
10524         * resolv/res_comp.c (dn_skipname): Remove unused variable.
10526 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
10528         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10529         `status' variable.
10530         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10531         Likewise.
10533 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10535         * Makefile (strop-tests): Add strncat.
10536         * string/test-strncat.c: New file.
10538 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
10540         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10542 2011-06-21  Andreas Jaeger  <aj@suse.de>
10544         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10545         Copy rule from iconvdata/Makefile.
10547 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10549         [BZ #12922]
10550         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10551         but no long options are defined, just return 'W'.
10553 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
10555         [BZ #9696]
10556         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10558 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10560         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10561         netgroups to read.
10562         (innetgr): Likewise.
10564 2011-07-05  Roland McGrath  <roland@hack.frob.com>
10566         * config.make.in (install_root): Default to $(DESTDIR).
10568 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
10570         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10572 2011-07-02  Roland McGrath  <roland@hack.frob.com>
10574         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10576         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10577         containing directory rather than embedding absolute directory names.
10579         * scripts/check-local-headers.sh: Rewritten using awk.
10580         Match by word, not by line.  Print error messages for matches.
10581         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10583         * Makerules [shlib-lds-flags empty]:
10584         ($(common-objpfx)libc_pic.opts): New target.
10585         ($(common-objpfx)libc_pic.os.clean): New target.
10586         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10588         * config.make.in (OBJCOPY): New variable.
10589         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10590         * configure: Regenerated.
10592         * config.make.in (use-default-link): New variable.
10593         * configure.in (use_default_link): Grok --with-default-link to set it.
10594         * configure: Regenerated.
10595         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10596         (shlib-lds, shlib-lds-flags): Define to empty.
10598         * Makerules (shlib-lds): New variable.
10599         (shlib-lds-flags): New variable.
10600         (build-shlib, build-moduile, build-module-asneeded): Use it.
10601         ($(common-objpfx)libc.so): Use $(shlib-lds).
10602         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10603         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10605         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10606         DT_FLAGS/DT_FLAGS_1 with zero flags.
10608         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10609         linker script munging.
10611 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
10613         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10614         as 128-bit value.
10615         * crypt/sha512.c (sha512_process_block): Perform total addition using
10616         128-bit if possible.
10617         (__sha512_finish_ctx): Likewise.
10618         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10619         as 64-bit value.
10620         * crypt/sha256.c (SWAP64): Define.
10621         (sha256_process_block): Perform total addition using 64-bit if
10622         possible.
10623         (__sha256_finish_ctx): Likewise.
10625 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
10627         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
10628         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10629         * nscd/hstcache.c (cache_addhst): Likewise.
10630         * nscd/grpcache.c (cache_addgr): Likewise.
10631         * nscd/aicache.c (addhstaiX): Likewise
10632         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10634 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
10636         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10637         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10638         * nscd/hstcache.c (cache_addhst): Likewise.
10639         * nscd/grpcache.c (cache_addgr): Likewise.
10640         * nscd/aicache.c (addhstaiX): Likewise
10642 2011-07-01  Andreas Schwab  <schwab@redhat.com>
10644         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10645         domain only when needed.
10647 2011-06-30  Andreas Schwab  <schwab@redhat.com>
10649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10650         is always restored.
10652 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
10654         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10655         are re-adding the entry.
10656         * nscd/servicescache.c (cache_addserv): Likewise.
10658 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10660         * sysdeps/generic/dl-irel.h: fix protection against multiple
10661         inclusions.
10662         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10664 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
10666         [BZ #12935]
10667         * malloc/memusage.sh: Fix quoting in message.
10668         * debug/xtrace.sh: Likewise.
10670         * configure.in: Remove support for --experimental-malloc option, make
10671         it the default.
10672         * config.make.in: Likewise.
10673         * malloc/Makefile: Likewise.
10675 2011-06-27  Andreas Schwab  <schwab@redhat.com>
10677         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10678         two-byte characters.
10680 2011-06-27  Roland McGrath  <roland@hack.frob.com>
10682         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10683         AC_CACHE_CHECK invocation.
10684         * configure: Regenerated.
10686         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10688 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
10690         [BZ #12350]
10691         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
10692         bit from old_res_options.
10694         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10696         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10697         value type for setfct.
10699 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
10701         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10702         __gettimeofday instead of gettimeofday.
10704 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
10706         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10708 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10710         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10712         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10713         info.
10715 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10718         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10719         strcpy-sse2-unaligned strncpy-sse2-unaligned
10720         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10721         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10722         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10723         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10724         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10725         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10726         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10727         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10728         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10729         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10730         (STRCPY): Support SSE2 and SSSE3 versions.
10732 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
10734         [BZ #12874]
10735         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10736         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10737         kernels which artificially limit size of requests.
10739 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10741         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10742         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10743         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10744         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10745         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10746         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10747         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10748         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10749         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10750         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10751         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10752         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10753         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10754         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10755         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10757         Enable unaligned load optimization for Intel Core i3, i5 and i7
10758         processors.
10759         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10760         Define.
10761         (index_Fast_Unaligned_Load): Define.
10762         (HAS_FAST_UNALIGNED_LOAD): Define.
10764 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
10766         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10768 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10770         [BZ #12907]
10771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10772         until it is clear that the information is realy needed.
10773         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10775 2011-06-22  Andreas Schwab  <schwab@redhat.com>
10777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10779 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10781         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10782         /sys/devices/system/cpu/online if it is usable.
10784         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10785         reading the information from the /proc filesystem to once a second.
10787 2011-06-21  Andreas Jaeger  <aj@suse.de>
10789         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10790         NULL after inclusion of kernel headers.
10792 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
10794         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10795         calls to internal_setent.
10797         [BZ #12885]
10798         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10799         addresses using gethostbyname4_r ignore IPv4 addresses.
10801         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10802         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
10804         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10806 2011-06-20  David S. Miller  <davem@davemloft.net>
10808         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10809         inclusions.
10810         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10812         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10813         (elf_irel): Use it.
10814         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10815         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10816         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10817         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10818         * sysdeps/x86_64/dl-irel.h: Likewise.
10820         * elf/dl-runtime.c: Use elf_ifunc_invoke.
10821         * elf/dl-sym.c: Likewise.
10823 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10825         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
10826         need to dereference resplen2.
10828 2011-06-14  Andreas Schwab  <schwab@redhat.com>
10830         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10832 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10834         * Makeconfig: Define vardbdir and inst_vardbdir.
10835         * nss/Makefile: Add rules to install db-Makefile.
10837         * nss/nss_db/db-XXX.c: Cleanup.
10839         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10840         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10841         GLIBC_PRIVATE.
10842         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10843         * nss/makedb.c: Implement -g option to specify that value strings
10844         are generated and should not be added to table iterated over for
10845         get*ent calls.
10846         * nss/nss_db/db-initgroups.c: New file.
10848         * nss/getent.c: Add support for initgroups lookups through getgrouplist
10849         interface.
10851         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10852         (internal_getgrouplist): Adjust to name change.
10853         Update use_initgroups_entry if this is not the first call.
10854         * nss/databases.def: Add initgroups entry.
10856         * nss/makedb.c (compute_tables): Check result of multiple hash table
10857         sizes to minimize maximum chain length.
10859 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
10861         * Versions.def: Add entry for libnss_db.
10862         * shlib-versions: Likewise.
10863         * nss/Makefile: Add rules to build libnss_db.
10864         * nss/Versions: Add libnss_db information.  Organize libnss_files
10865         entries better.
10866         * nss/db-Makefile: Add gshadow support.  Change rules for the new
10867         makedb progra.  Some minor improvements to generate smaller files.
10868         * nss/nss_db/nss_db.h: Move NSS database header data structures to
10869         here from...
10870         * nss/makedb.c: ...here.
10871         Improve database format to be smaller and require less memory at
10872         runtime.
10873         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
10874         db anymore.
10875         * nss/nss_db/db-netgrp.c: Likewise.
10876         * nss/nss_db/db-open.c: Likewise.
10877         * nss/nss_files/flies-XXX.x: Adjust comments.
10878         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10879         * nss/nss_files/files-grp.c: Likewise.
10880         * nss/nss_files/files-hosts.c: Likewise.
10881         * nss/nss_files/files-network.c: Likewise.
10882         * nss/nss_files/files-proto.c: Likewise.
10883         * nss/nss_files/files-pwd.c: Likewise.
10884         * nss/nss_files/files-rpc.c: Likewise.
10885         * nss/nss_files/files-service.c: Likewise.
10886         * nss/nss_files/files-sgrp.c: Likewise.
10887         * nss/nss_files/files-spwd.c: Likewise.
10888         * nss/nss_db/db-alias.c: Removed.
10889         * nss/nss_db/dummy-db.h: Removed.
10891 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
10893         * nss/makedb.c: Rewritten to not use database library.
10894         * nss/Makefile: Update to build new makedb program.
10896 2011-06-14  Andreas Jaeger  <aj@suse.de>
10898         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10899         memset declaration.
10901 2011-06-10  Andreas Schwab  <schwab@redhat.com>
10903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10904         tmpbuf.
10906 2011-06-10  Roland McGrath  <roland@hack.frob.com>
10908         * Makerules (shlib.lds): Fail if the linker script comes out empty.
10909         * elf/Makefile ($(objpfx)ld.so): Likewise.
10911         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10912         Don't list ld.so twice in dependencies.
10914         * posix/bug-regex31.c: Include <stdlib.h>.
10916         * nscd/hstcache.c (cache_addhst): Remove unused variable.
10918         * nis/nss_compat/compat-spwd.c
10919         (getspent_next_nss_netgr): Remove unused variable.
10920         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10922         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10923         nonmembers" output to use the right array.
10925         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10927         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10929         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10930         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10931         * catgets/gencat.c (read_input_file): Likewise.
10932         * locale/programs/locarchive.c (enlarge_archive): Likewise.
10934         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10935         variable definition inside #if's controlling its use.
10937         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10939         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10941         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10943         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10944         unreachable code.
10946         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10948         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10949         * configure: Regenerated.
10951         * Makerules: Revert last change.
10952         * elf/Makefile: Likewise.
10954 2011-06-09  Roland McGrath  <roland@hack.frob.com>
10956         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10957         * elf/Makefile ($(objpfx)librtld.os): Likewise.
10958         (reloc-link): Likewise.
10960 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
10962         * elf/Makefile: Add rules to build pldd.
10963         * elf/pldd.c: New file.
10964         * elf/pldd-xx.c: New file.
10966 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
10968         * version.h: Update for 2.15 development version.
10970 2011-06-07  David S. Miller  <davem@davemloft.net>
10972         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10973         ifuncs.
10974         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10975         elf_machine_lazy_rel): Likewise.
10976         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10977         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10978         elf_machine_lazy_rel): Likewise.
10979         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10980         dl_hwcap via passed in argument.
10981         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10982         Likewise.
10984 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10986         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
10988 2011-06-06  Roland McGrath  <roland@hack.frob.com>
10990         [BZ #12849]
10991         * manual/fdl-1.1.texi: New file, verbatim from:
10992         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10993         * manual/lgpl-2.1.texi: New file, verbatim from:
10994         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10995         * manual/Makefile (licenses): New variable, list those new file names.
10996         (texis): Use it.
10997         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10999         * manual/fdl.texi: File removed.
11000         * manual/lesser.texi: File removed.
11001         * manual/libc.texinfo (Copying, Documentation License):
11002         Use new @include file names, put @appendix directive before @include.
11004 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
11006         [BZ #12841]
11007         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11008         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11009         (mq_open): Add __NTH.
11011 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
11013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11014         Assume Intel Core i3/i5/i7 processor if AVX is available.
11016 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
11018         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11019         typo.
11021 2011-05-31  Andreas Schwab  <schwab@redhat.com>
11023         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11024         memory.  Use alloca_account.  Fix memory leak when retrying.
11026 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
11028         * version.h (RELEASE): Bump for 2.14 release.
11029         * include/features.h (__GLIBC_MINOR__): Bump to 14.
11031         * config.make.in (RANLIB): Remove entry.
11033 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
11035         * po/Makefile (po-sed-cmd): Add ksh to extensions.
11036         (libc.pot): Work around missing support for .ksh extension in xgettext.
11038         [BZ #12684]
11039         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11040         if both request failed.
11041         (send_dg): In case of server errors clear resplen or *resplen2.
11043         [BZ #12454]
11044         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11045         when there are multiple maps.
11046         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11047         (_dl_fini): Remove test here.
11049         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11051 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
11053         [BZ #12350]
11054         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11055         bit from old_res_options.
11056         (gaih_inet): Likewise.
11058         [BZ #11099]
11059         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11060         as signed.
11062         * resolv/res_init.c (res_setoptions): Make the code more compact.
11064         [BZ #11558]
11065         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11066         set RES_USEVC.
11068         [BZ #11634]
11069         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11071         * malloc/malloc.h: Mark malloc hook variables as deprecated.
11073         [BZ #11781]
11074         * malloc/malloc.h: Declare malloc hook variables as volatile.
11076         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11077         in last patch.
11079         [BZ #11799]
11080         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11081         raise in the comment.
11082         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11084         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11086 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
11088         [BZ #12811]
11089         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11090         grow the buffers more if it already has to be sufficient.
11091         (build_wcs_upper_buffer): Likewise.
11092         * posix/regexec.c (check_matching): Likewise.
11093         (clean_state_log_if_needed): Likewise.
11094         (extend_buffers): Don't enlarge buffers beyond size of the input
11095         buffer.
11096         Patches mostly by Emil Wojak <emil@wojak.eu>.
11097         * posix/bug-regex32.c: New file.
11098         * posix/Makefile (tests): Add bug-regex32.
11100         * locale/findlocale.c (_nl_find_locale): Return right away if
11101         _nl_explode_name failed.
11102         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11104         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11106         * debug/xtrace.sh: Unify messages.
11107         * malloc/memusage.sh: Likewise.
11109         [BZ #12813]
11110         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11111         time symbol from vDSO.  Substitute with vsyscall if not available.
11112         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11113         __vdso_time.
11115         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11116         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11117         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11118         Add sendmmsg and internal_sendmmsg.
11119         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11120         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11121         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11123         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11124         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11125         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11127 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
11129         [BZ #12813]
11130         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11131         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
11132         available.
11133         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11134         __vdso_getcpu.
11136         [BZ #12814]
11137         * iconvdata/Makefile (tests): Add bug-iconv9.
11138         * iconvdata/bug-iconv9.c: New file.
11140 2011-05-27  Andreas Schwab  <schwab@redhat.com>
11142         [BZ #12814]
11143         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11145 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
11147         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11148         (struct user_regs_struct): Change intcs field back to cs.
11150 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
11152         * po/ja.po: Update from translation team.
11154 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
11156         [BZ #12795]
11157         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11158         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11160 2011-05-20  Andreas Schwab  <schwab@redhat.com>
11162         * stdlib/longlong.h: Update from GCC.
11164 2011-05-23  Andreas Schwab  <schwab@redhat.com>
11166         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11167         parameter name.
11168         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11169         Add parameter name.
11170         (__sysconf): Pass it down.
11172 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
11174         [BZ #12671]
11175         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11176         some situations.
11177         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11178         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11179         add in in __libc_use_alloca calls.  Adjust callers.
11180         (glob): Use malloc in some situations.
11182         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11183         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11184         pltexit.
11186 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
11188         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11189         and CLOCK_BOOTTIME_ALARM.
11191         [BZ #12782]
11192         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11193         is returned.
11195         * string/_strerror.c (__strerror_r): Print negative errors as signed
11196         numbers.
11198         [BZ #12777]
11199         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11200         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11201         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11203         * configure.in: Fix typo in redirection and correct removal of test
11204         files in two cases.
11206         [BZ #12788]
11207         * locale/setlocale.c (new_composite_name): Fix test to check for
11208         identical name of all categories.
11210         [BZ #12792]
11211         * libio/filedoalloc.c (local_isatty): New function.
11212         (_IO_file_doallocate): Use local_isatty.
11213         * stdio-common/perror.c (perror): In case a new stream is used
11214         forward the stream error.
11215         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11216         error flag.
11218 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
11220         [BZ #11869]
11221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11222         alloca.
11223         * include/alloca.h (extend_alloca_account): Define.
11225         [BZ #11857]
11226         * posix/regex.h: Fix comments with documentation of user-accessible
11227         fields after compilation and describe correct free'ing of pattern
11228         after re_compile_pattern.
11229         Patch by Reuben Thomas <rrt@sc3d.org>.
11231 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
11233         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11234         and -mno-altivec to prevent the compiler from using Altivec and/or
11235         VSX instructions when the corresponding registers are not available.
11237 2011-05-19  Andreas Schwab  <schwab@redhat.com>
11239         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11241 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
11243         * libio/freopen.c (freopen): Use __dup2, not dup2.
11244         * libio/freopen64.c (freopen64): Likewise.
11246 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11248         [BZ #12775]
11249         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11250         * math/Makefile (tests): Add test-powl.
11251         (CFLAGS-test-powl.c): Define.
11252         * math/test-powl.c: New file.
11254 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11256         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11258 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
11260         [BZ #11837]
11261         * iconvdata/gb18030.c: Update to GB18020-2005.
11263 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
11265         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11266         RE_SYNTAX_POSIX_AWK): Update to match recent development.
11267         Patch by Aharon Robbins <arnold@skeeve.com>.
11269         [BZ #11892]
11270         * stdlib/putenv.c (putenv): Don't always create copy of the variable
11271         on the stack.
11273         [BZ #11895]
11274         * misc/pselect.c (__pselect): Handle timeout value errors hidden
11275         through underflows.
11277         [BZ #12766]
11278         * misc/error.c (error_at_line): Ensure file_name and old_file_name
11279         point to strings before performing equality test for error_one_per_line
11280         mode.
11282         [BZ #11697]
11283         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11285         [BZ #11820]
11286         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11287         (struct user_fpregs_struct): Avoid __uint*_t types.
11289         [BZ #6420]
11290         * malloc/mtrace.c (tr_where): Add additional parameter to point to
11291         symbol info.  Use it instead of calling _dl_addr locally.
11292         (lock_and_info): New function.
11293         (tr_freehook): Call lock_and_info and pass symbol info as additional
11294         parameter to tr_where.
11295         (tr_mallochook): Likewise.
11296         (tr_reallochook): Likewise.
11297         (tr_memalignhook): Likewise.
11299         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
11300         used and couldn't be at all thread-safe.
11302 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
11304         * libio/freopen.c (freopen): Don't close old file descriptor
11305         before the new one is opened.  Instead dup the new file descriptor
11306         to the old one after the new stream is created.
11307         * libio/freopen64.c (freopen64): Likewise.
11308         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11309         * libio/fileops.c (_IO_new_file_close_it): Handle new
11310         _IO_FLAGS2_NOCLOSE flag.
11311         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11312         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11313         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11314         _IO_FLAGS2_NOCLOSE flag.
11315         * include/unistd.h: Add hidden_proto for dup3.
11316         Define __have_dup3.
11317         * io/dup3.c: Define hidden symbol.
11318         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11320         [BZ #7101]
11321         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11322         when an incomplete long option is used.
11323         * posix/tst-getopt_long1.c: New file.
11324         * posix/Makefile (tests): Add tst-getopt_long1.
11326         [BZ #10138]
11327         * scripts/config.guess: Update from autoconf-2.68.
11328         * scripts/config.sub: Likewise.
11330         [BZ #10157]
11331         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11332         tests into ...
11333         (has_cpuclock): ...this.  New function.
11334         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11335         macro here based on has_cpuclock code.
11337         [BZ #10149]
11338         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11339         First byte (not low byte) is now always NUL.
11340         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11342         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11343         Use non-cancelable interfaces.
11345         [BZ #9809]
11346         * locale/iso-639.def: Add entry for Sorani.
11348         [BZ #11901]
11349         * include/stdlib.h: Move include protection to the right place.
11350         Define abort_msg_s.  Declare __abort_msg with it.
11351         * stdlib/abort.c (__abort_msg): Adjust type.
11352         * assert/assert.c (__assert_fail_base): New function.  Majority
11353         of code from __assert_fail.  Allocate memory for __abort_msg with
11354         mmap.
11355         (__assert_fail): Now call __assert_fail_base.
11356         * assert/assert-perr.c: Remove bulk of implementation.  Use
11357         __assert_fail_base.
11358         * include/assert.hL Declare __assert_fail_base.
11359         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11360         mmap.
11361         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11363 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
11365         [BZ #11952]
11366         [BZ #12453]
11367         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11368         until all modules are registered in the DTV.
11369         * elf/Makefile: Add rules to build and run tst-tls19.
11370         * elf/tst-tls19.c: New file.
11371         * elf/tst-tls19mod1.c: New file.
11372         * elf/tst-tls19mod2.c: New file.
11373         * elf/tst-tls19mod3.c: New file.
11374         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11376         [BZ #12083]
11377         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11378         correctly.
11380         [BZ #12601]
11381         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11382         two-byte sequence errors.
11383         * iconvdata/Makefile (tests): Add bug-iconv8.
11384         * iconvdata/bug-iconv8.c: New file.
11386         [BZ #12626]
11387         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11388         buf2 definition.
11390         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11392         [BZ #12432]
11393         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11394         (dummy_getcfa): New function.
11395         (init): Get _Unwind_GetCFA address, use dummy if not found.
11396         (backtrace_helper): In recursion check, also check whether CFA changes.
11397         (__backtrace): Completely initialize arg.
11399         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11400         storing incomplete byte sequence in state object.  Avoid testing for
11401         guaranteed too small input if we know there is enough data available.
11403 2011-05-11  Andreas Schwab  <schwab@redhat.com>
11405         * Makeconfig (+link-pie): Indent.
11406         * Rules (binaries-pie): Define if $(have-fpie) and
11407         $(build-shared).
11408         (binaries-shared): Also filter out $(binaries-pie).
11409         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11410         * nscd/Makefile (others-pie): Add nscd.
11411         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11412         ($(objpfx)nscd): Remove command override.
11413         * login/Makefile (others-pie): Add pt_chown.
11414         ($(objpfx)pt_chown): Remove command override.
11415         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11416         remove command overrides.
11418 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
11420         * libio/tst_putwc.c: Fix error messages.
11422         [BZ #12724]
11423         * libio/fileops.c (_IO_new_file_close_it): Always flush when
11424         currently writing and seek to current position when not.
11425         * libio/Makefile (tests): Add bug-fclose1.
11426         * libio/bug-fclose1.c: New file.
11428 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
11430         [BZ #12511]
11431         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11432         don't set DF_1_NODELETE here.
11433         (do_lookup_x): When entering new entry test for copy relocation
11434         and if necessary set DF_1_NODELETE flag.
11435         * elf/tst-unique4.cc: New file.
11436         * elf/tst-unique4.h: New file.
11437         * elf/tst-unique4lib.cc: New file.
11438         * elf/Makefile: Add rules to build and run tst-unique4.
11439         Patch by Piotr Bury <pbury@goahead.com>.
11441 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
11443         [BZ #12052]
11444         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11446         [BZ #12625]
11447         * misc/mntent_r.c (addmntent): Flush the stream after the output
11449         [BZ #12393]
11450         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11451         (is_trusted_path_normalize): Skip initial colon.  Append slash
11452         to empty buffer.  Duplicate is_trusted_path code but allow
11453         constructed patch to be prefix.
11454         (is_dst): Allow $ORIGIN followed by /.
11455         (_dl_dst_substitute): Correct clearing of check_for_trusted.
11456         Correct testing of result of is_trusted_path_normalize
11457         (decompose_rpath): Fix warning.
11459 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
11461         [BZ #11257]
11462         * grp/initgroups.c (internal_getgrouplist): When we found the service
11463         list through the initgroups entry in nsswitch.conf do not always
11464         continue on a successful lookup.  Don't always use the
11465         __nss_group_database value if it is set.
11466         * nss/nsswitch.conf (initgroups): Change action for successful db
11467         lookup to continue for compatibility.
11469 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
11471         [BZ #11532]
11472         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11473         and CP774 modules.
11474         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11475         and CP774 modules.
11476         * iconvdata/tst-tables.sh: Likewise.
11477         * iconvdata/cp770.c: New file.
11478         * iconvdata/cp771.c: New file.
11479         * iconvdata/cp772.c: New file.
11480         * iconvdata/cp773.c: New file.
11481         * iconvdata/cp774.c: New file.
11482         * iconvdata/testdata/CP770: New file.
11483         * iconvdata/testdata/CP770..UTF8: New file.
11484         * iconvdata/testdata/CP771: New file.
11485         * iconvdata/testdata/CP771..UTF8: New file.
11486         * iconvdata/testdata/CP772: New file.
11487         * iconvdata/testdata/CP772..UTF8: New file.
11488         * iconvdata/testdata/CP773: New file.
11489         * iconvdata/testdata/CP773..UTF8: New file.
11490         * iconvdata/testdata/CP774: New file.
11491         * iconvdata/testdata/CP774..UTF8: New file.
11493         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11494         END CHARMAP line.
11495         * iconvdata/gen-8bit-gap.sh: Likewise.
11496         * iconvdata/gen-8bit.sh: Likewise.
11498         * locale/iso-639.def: Add ary entry.
11500         [BZ #11258]
11501         * locale/C-translit.h.in: Add U20A1 transliteration.
11503         [BZ #12178]
11504         * locale/iso-639.def: Add wae entry.
11505         Patch by Kevin Bortis <bortis@translate-wae.ch>.
11507         [BZ #12545]
11508         * locale/programs/localedef.c (construct_output_path): Use ssize_t
11509         for n.
11511         [BZ #12711]
11512         * locale/C-translit.h.in: Add entry for U20B9.
11513         Patch by pravin.d.s@gmail.com.
11515 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
11517         [BZ #12713]
11518         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11519         ENAMETOOLONG use generic getcwd.
11520         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
11521         in rtld.  Use *stat64.
11522         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11523         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11524         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11525         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11526         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11527         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11528         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11529         __fstatat64 macros.
11530         * include/dirent.h: Add libc_hidden_proto for rewinddir.
11531         * dirent/rewinddir.c: Add libc_hidden_def.
11532         * sysdeps/mach/hurd/rewinddir.c: Likewise.
11533         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
11535         * include/dirent.h (__alloc_dir): Add flags parameter.
11536         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11537         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11538         __alloc_dir.
11539         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
11540         from fdopendir if O_CLOEXEC is already set.
11542 2011-03-15  Alan Modra  <amodra@gmail.com>
11544         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11545         l_tls_firstbyte_offset non-zero.  Save padding offset in
11546         l_tls_firstbyte_offset for later use.
11547         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11548         freeing static tls block.
11550 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
11552         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11553         where #ifdef was intended.  The intent is to prevent ARG_MAX from
11554         being defined by the kernel headers.
11556 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
11558         [BZ #12734]
11559         * resolv/resolv.h: Define RES_NOTLDQUERY.
11560         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11561         no-tld-query and set RES_NOTLDQUERY.
11562         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11563         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11564         modern BIND to search name as TLD unless forbidden.
11566 2011-05-07  Petr Baudis  <pasky@suse.cz>
11567             Ulrich Drepper  <drepper@gmail.com>
11569         [BZ #12393]
11570         * elf/dl-load.c (fillin_rpath): Move trusted path check...
11571         (is_trusted_path): ...to here.
11572         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11573         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11574         using is_trusted_path_normalize() in setuid scripts.
11576 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11578         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11579         __BEGIN/__END_DECLS.
11581 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
11583         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11584         NSS_STATUS_NOTFOUND if no record was found.
11586 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11588         * sunrpc/Makefile (headers): Add rpc/netdb.h.
11589         (headers-not-in-tirpc): Remove rpc/netdb.h
11590         * resolv/netdb.h: Revert last change.
11592 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11594         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11595         circular dependency between libgcc.a and libc.a.
11597 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11599         * resolv/netdb.h: Don't include <rpc/netdb.h>.
11600         * nis/Makefile: Don't install rpcsvc/*.
11601         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11602         instead of <rpc/types.h>.
11603         (MAXHOSTNAMELEN): Define.
11605 2011-05-03  Andreas Schwab  <schwab@redhat.com>
11607         * elf/ldconfig.c (add_dir): Don't crash on empty path.
11609 2011-04-28  Maciej Babinski  <mbabinski@google.com>
11611         [BZ #12714]
11612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11613         gethostbyname4_r when IPv6 results are possible.
11615 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
11617         [BZ #12723]
11618         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11619         _PC_PIPE_BUF handling.
11621 2011-04-30  Bruno Haible  <bruno@clisp.org>
11623         [BZ #12717]
11624         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11625         * resolv/netdb.h (getnameinfo): Change type of flags parameter
11626         to 'int'.
11627         * inet/getnameinfo.c (getnameinfo): Likewise.
11629 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
11631         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11632         to groups setting in database lookup.
11633         * nss/nsswitch.conf: Add initgroups entry.
11635 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
11637         [BZ #12685]
11638         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11639         mode string.
11640         Patch by Eric Blake <eblake@redhat.com>.
11642 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
11644         * sunrpc/Makefile (need-export-routines): Add svc_run.
11645         (routines): Remove svc_run.
11646         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11647         * sunrpc/clnt_perr.c (clnt_perrno): Export.
11648         * sunrpc/svc_run.c (svc_run): Likewise.
11649         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11651 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
11653         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11654         problem in reallocation in last patch.
11656 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
11658         * sunrpc/Makefile: Move inclusion of Rules.
11660 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11662         * nss/nss_files/files-initgroups.c: New file.
11663         * nss/Makefile (libnss_files-routines): Add files-initgroups.
11664         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11665         _nss_files_initgroups_dyn.
11667 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
11669         * elf/elf.h (R_ARM_IRELATIVE): Define.
11671 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11673         * po/ru.po: Update from translation team.
11675 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11677         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11678         dependencies.
11680 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
11682         [BZ #12653]
11683         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11684         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11685         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11686         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11687         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11689 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
11691         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11692         differing bytes.
11693         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11694         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11695         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11697 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11699         [BZ #12420]
11700         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11701         storing it.
11702         * stdlib/bug-getcontext.c: New file.
11703         * stdlib/Makefile: Add rules to build and run bug-getcontext.
11705 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11707         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11708         instructions into .machine "z9-109".
11709         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11710         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11712 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11714         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11715         between environment variables and auxiliary vector.
11717 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
11719         * Makefile: Add rules to build linkobj/libc.so.
11720         * include/libc-symbols.h: Define libc_hidden_nolink.
11721         * include/rpc/auth.h: Mark functions which are to be hidden.
11722         * include/rpc/auth_des.h: Likewise.
11723         * include/rpc/auth_unix.h: Likewise.
11724         * include/rpc/clnt.h: Likewise.
11725         * include/rpc/des_crypt.h: Likewise.
11726         * include/rpc/key_prot.h: Likewise.
11727         * include/rpc/pmap_clnt.h: Likewise.
11728         * include/rpc/pmap_prot.h: Likewise.
11729         * include/rpc/pmap_rmt.h: Likewise.
11730         * include/rpc/rpc_msg.h: Likewise.
11731         * include/rpc/svc.h: Likewise.
11732         * include/rpc/svc_auth.h: Likewise.
11733         * include/rpc/xdr.h: Likewise.
11734         * nis/Makefile: Link all DSOs against linkobj/libc.so.
11735         * nss/Makefile: Likewise.
11736         * sunrpc/Makefile: Don't install headers.  Build library with normal
11737         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
11738         * sunrpc/auth_des.c: Hide exported symbols by default, export some
11739         for the compat linking library.  Remove use of INTDEF/INTUSE.
11740         * sunrpc/auth_none.c: Likewise.
11741         * sunrpc/auth_unix.c: Likewise.
11742         * sunrpc/authdes_prot.c: Likewise.
11743         * sunrpc/authuxprot.c: Likewise.
11744         * sunrpc/clnt_gen.c: Likewise.
11745         * sunrpc/clnt_perr.c: Likewise.
11746         * sunrpc/clnt_raw.c: Likewise.
11747         * sunrpc/clnt_simp.c: Likewise.
11748         * sunrpc/clnt_tcp.c: Likewise.
11749         * sunrpc/clnt_udp.c: Likewise.
11750         * sunrpc/clnt_unix.c: Likewise.
11751         * sunrpc/des_crypt.c: Likewise.
11752         * sunrpc/des_soft.c: Likewise.
11753         * sunrpc/get_myaddr.c: Likewise.
11754         * sunrpc/key_call.c: Likewise.
11755         * sunrpc/key_prot.c: Likewise.
11756         * sunrpc/netname.c: Likewise.
11757         * sunrpc/pm_getmaps.c: Likewise.
11758         * sunrpc/pm_getport.c: Likewise.
11759         * sunrpc/pmap_clnt.c: Likewise.
11760         * sunrpc/pmap_prot.c: Likewise.
11761         * sunrpc/pmap_prot2.c: Likewise.
11762         * sunrpc/pmap_rmt.c: Likewise.
11763         * sunrpc/publickey.c: Likewise.
11764         * sunrpc/rpc_cmsg.c: Likewise.
11765         * sunrpc/rpc_common.c: Likewise.
11766         * sunrpc/rpc_dtable.c: Likewise.
11767         * sunrpc/rpc_prot.c: Likewise.
11768         * sunrpc/rpc_thread.c: Likewise.
11769         * sunrpc/rtime.c: Likewise.
11770         * sunrpc/svc.c: Likewise.
11771         * sunrpc/svc_auth.c: Likewise.
11772         * sunrpc/svc_authux.c: Likewise.
11773         * sunrpc/svc_raw.c: Likewise.
11774         * sunrpc/svc_run.c: Likewise.
11775         * sunrpc/svc_simple.c: Likewise.
11776         * sunrpc/svc_tcp.c: Likewise.
11777         * sunrpc/svc_udp.c: Likewise.
11778         * sunrpc/svc_unix.c: Likewise.
11779         * sunrpc/svcauth_des.c: Likewise.
11780         * sunrpc/xcrypt.c: Likewise.
11781         * sunrpc/xdr.c: Likewise.
11782         * sunrpc/xdr_array.c: Likewise.
11783         * sunrpc/xdr_float.c: Likewise.
11784         * sunrpc/xdr_intXX_t.c: Likewise.
11785         * sunrpc/xdr_mem.c: Likewise.
11786         * sunrpc/xdr_rec.c: Likewise.
11787         * sunrpc/xdr_ref.c: Likewise.
11788         * sunrpc/xdr_sizeof.c: Likewise.
11789         * sunrpc/xdr_stdio.c: Likewise.
11791 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
11793         [BZ #12650]
11794         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11795         * sysdeps/ia64/dl-tls.h: Likewise.
11796         * sysdeps/powerpc/dl-tls.h: Likewise.
11797         * sysdeps/s390/dl-tls.h: Likewise.
11798         * sysdeps/sh/dl-tls.h: Likewise.
11799         * sysdeps/sparc/dl-tls.h: Likewise.
11800         * sysdeps/x86_64/dl-tls.h: Likewise.
11801         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11803 2011-03-14  Andreas Schwab  <schwab@redhat.com>
11805         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11806         rpath element also skip the following colon.
11807         (expand_dynamic_string_token): Add is_path parameter and pass
11808         down to DL_DST_REQUIRED and _dl_dst_substitute.
11809         (decompose_rpath): Call expand_dynamic_string_token with
11810         non-zero is_path.  Ignore empty rpaths.
11811         (_dl_map_object_from_fd): Call expand_dynamic_string_token
11812         with zero is_path.
11814 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
11816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11817         Make cancelable.
11819 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
11821         [BZ #12655]
11822         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11823         Patch by Filipe David Manana <fdmanana@apache.org>.
11825 2011-04-07  Andreas Schwab  <schwab@redhat.com>
11827         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11828         Maintain aligned stack.
11829         (CHECK_RSP): Remove unused macro.
11831 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
11833         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11834         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11836 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
11838         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11840         * include/features.h: Mention __USE_XOPEN2K8 in comment.
11842 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
11844         [BZ #12518]
11845         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11846         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11847         * sysdeps/x86_64/memmove.c: New file.
11848         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11849         (memcpy): Renamed to ...
11850         (__new_memcpy): This.
11851         (memcpy): Provide GLIBC_2_14 memcpy.
11852         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11853         (memcpy): Provide GLIBC_2_2_5 memcpy.
11855 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11857         [BZ #12631]
11858         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11860 2011-03-30  Andreas Schwab  <schwab@redhat.com>
11862         * misc/syncfs.c: New file.
11863         * misc/Makefile (routines): Add syncfs.
11864         * posix/unistd.h: Declare syncfs.
11865         * sysdeps/unix/syscalls.list: Add syncfs.
11867 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11869         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11870         open_by_handle_at.
11871         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11872         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11873         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11874         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11875         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11876         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11877         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11879 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11881         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11882         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11883         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11884         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11885         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11886         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11887         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11889         * io/Makefile: Compile fallocate.c, fallocate64.c, and
11890         sync_file_range.c with -fexceptions.
11891         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11892         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11893         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11894         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11895         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11896         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11897         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11898         sync_file_range as cancellation point
11899         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
11900         now a wrapper around __call_sync_file_range with cancellation handling.
11901         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11902         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
11903         function name to __call_sync_file_range.
11904         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11905         Add call_sync_file_range.
11907 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11910         bits/timex.h.
11912 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11914         * iconv/iconv.h: Fix typo in comment.
11915         * io/fcntl.h: Likewise.
11916         * libio/stdio.h: Likewise.
11917         * posix/spawn.h: Likewise.
11918         * posix/unistd.h: Likewise.
11919         * stdlib/stdlib.h: Likewise.
11920         * time/time.h: Likewise.
11921         * wcsmbs/wchar.h: Likewise.
11923         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11924         open_by_handle): Add.
11925         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11926         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
11927         Augment a few comments.
11928         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11929         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11930         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11932         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11933         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11934         open_by_handle.
11936         * io/fcntl.h (AT_EMPTY_PATH): Define.
11938 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
11940         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11941         * sysdeps/unix/sysv/linux/bits/time.h: New file.
11942         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11943         to...
11944         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
11945         * Versions.def: Add GLIBC_2.14.
11946         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11947         Export.
11949 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
11951         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11952         round counter.
11953         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11955 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11957         [BZ #12597]
11958         * string/test-strncmp.c (do_page_test): New function.
11959         (check2): Likewise.
11960         (test_main): Call check2.
11961         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11963 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
11965         [BZ #12587]
11966         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11967         Handle cache information in CPU leaf 4.
11968         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11970 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
11972         [BZ #12583]
11973         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11974         character representation.
11975         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11977 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
11979         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11980         END(__isnan) to END(__isnanf) to match function entry point/label
11981         EALIGN(__isnanf,...).
11983 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
11985         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11987 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
11989         [BZ #12510]
11990         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11991         copy from the symbol referenced in the relocation to initialize the
11992         used variable.
11993         Patch by Piotr Bury <pbury@goahead.com>.
11994         * elf/Makefile: Add rules to build and tst-unique3.
11995         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11996         * elf/tst-unique3.cc: New file.
11997         * elf/tst-unique3.h: New file.
11998         * elf/tst-unique3lib.cc: New file.
11999         * elf/tst-unique3lib2.cc: New file.
12001         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12003 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
12005         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12006         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
12007         to _start.
12009 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
12011         * elf/dl-load.c (_dl_map_object): If we are looking for the first
12012         to-be-loaded object along a path to loader is ld.so.
12014 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
12015             Ulrich Drepper  <drepper@gmail.com>
12017         * sysdeps/x86_64/memset.S: After aligning destination, code
12018         branches to different locations depending on the value of
12019         misalignment, when multiarch is enabled. Fix this.
12021 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
12023         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12024         Set _x86_64_preferred_memory_instruction for AMD processsors.
12025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12026         Set bit_Prefer_SSE_for_memop for AMD processors.
12028 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
12030         * libio/fmemopen.c (fmemopen): Optimize a bit.
12032 2011-03-03  Andreas Schwab  <schwab@redhat.com>
12034         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12036 2011-03-03  Roland McGrath  <roland@redhat.com>
12038         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12040 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
12042         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12043         __bzero_ultra1 instead of __memset_ultra1.
12045 2011-02-23  Andreas Schwab  <schwab@redhat.com>
12046             Ulrich Drepper  <drepper@gmail.com>
12048         [BZ #12509]
12049         * include/link.h (struct link_map): Add l_orig_initfini.
12050         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12051         returning unsuccessfully.
12052         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12053         close of a file loaded at startup, restore the original l_initfini
12054         list.
12055         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12056         list, store the pointer.
12057         * elf/Makefile ($(objpfx)noload-mem): New rule.
12058         (noload-ENV): Define.
12059         (tests): Add $(objpfx)noload-mem.
12060         * elf/noload.c: Include <memcheck.h>.
12061         (main): Call mtrace.  Close all opened handles.
12063 2011-02-17  Andreas Schwab  <schwab@redhat.com>
12065         [BZ #12454]
12066         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12067         dependencies are missing.
12069 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12071         Fix __if_freereq crash: Unlike the generic version which uses free,
12072         Hurd needs munmap.
12073         * sysdeps/mach/hurd/ifreq.h: New file.
12075 2011-01-27  Petr Baudis  <pasky@suse.cz>
12076             Ulrich Drepper  <drepper@gmail.com>
12078         [BZ 12445]#
12079         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12080         to extend_alloca().
12081         * stdio-common/bug23.c: New file.
12082         * stdio-common/Makefile (tests): Add bug23.
12084 2010-09-28  Andreas Schwab  <schwab@redhat.com>
12085             Ulrich Drepper  <drepper@gmail.com>
12087         [BZ #12489]
12088         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12089         before performing relro protection.  At old place add assertion
12090         to make sure nothing changed.
12092 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
12093             Glauber de Oliveira Costa  <glommer@gmail.com>
12095         * elf/elf.h: Add new ARM TLS relocs.
12097 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
12099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12100         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12101         cast from r3.
12102         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
12103         'tests' variable.
12104         * sysdeps/wordsize-64/tst-writev.c: New file.
12106 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
12108         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12109         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12110         insns in _dl_start to prevent a TOC reference before relocs are
12111         resolved.
12113 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
12115         [BZ #12469]
12116         * Makeconfig: Remove RANLIB definition.
12117         * Makerules: Don't use RANLIB.
12118         * aclocal.m4: Remove ranlib test.
12119         * configure.in: No need to check for ranlib.
12120         * elf/rtld-Rules: Don't use RANLIB.
12122 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12124         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12125         protection macro.
12126         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12127         inclusion protection macro.
12129         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12130         SIGRTMIN and SIGRTMAX and print information in that case only when
12131         SIGRTMIN is defined.
12133 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
12135         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12136         arginfo fn returning -1.
12138         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12139         and thousands string is zero terminated.
12141 2011-02-03  Andreas Schwab  <schwab@redhat.com>
12143         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12144         sysdeps/unix/sysv/linux/bits/socket.h.
12146 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12148         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12149         (__CPU_COUNT): Remove old macros.
12150         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12151         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12152         (__CPU_ALLOC, __CPU_FREE): Add macros.
12153         (__sched_cpualloc, __sched_cpufree): Add declarations.
12155 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
12157         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12158         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12159         * nscd/aicache.c (addhstaiX): Return timeout of added value.
12160         (readdhstai): Return value of addhstaiX call.
12161         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12162         (addgrbyX): Return value returned by cache_addgr.
12163         (readdgrbyname): Return value returned by addgrbyX.
12164         (readdgrbygid): Likewise.
12165         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12166         (addpwbyX): Return value returned by cache_addpw.
12167         (readdpwbyname): Return value returned by addhstbyX.
12168         (readdpwbyuid): Likewise.
12169         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12170         (addservbyX): Return value returned by cache_addserv.
12171         (readdservbyname): Return value returned by addservbyX:
12172         (readdservbyport): Likewise.
12173         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12174         (addhstbyX): Return value returned by cache_addhst.
12175         (readdhstbyname): Return value returned by addhstbyX.
12176         (readdhstbyaddr): Likewise.
12177         (readdhstbynamev6): Likewise.
12178         (readdhstbyaddrv6): Likewise.
12179         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12180         (readdinitgroups): Return value returned by addinitgroupsX.
12181         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12182         (prune_cache): Keep track of timeout value of re-added entries.
12183         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12184         * nscd/nscd.h: Adjust prototypes of readd* functions.
12186 2011-02-04  Roland McGrath  <roland@redhat.com>
12188         * nis/nis_server.c (nis_servstate): Use the right name for 0.
12189         (nis_stats): Likewise.
12190         * nis/nis_modify.c (nis_modify): Likewise.
12191         * nis/nis_remove.c (nis_remove): Likewise.
12192         * nis/nis_add.c (nis_add): Likewise.
12194         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12196         * posix/fnmatch_loop.c: Add some consts.
12198         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12200 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
12202         [BZ #12460]
12203         * config.make.in (config-cflags-novzeroupper): Define.
12204         * configure.in: Substitute libc_cv_cc_novzeroupper.
12205         * elf/Makefile (AVX-CFLAGS): Define.
12206         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12207         (CFLAGS-tst-auditmod4a.c): Likewise.
12208         (CFLAGS-tst-auditmod4b.c): Likewise.
12209         (CFLAGS-tst-auditmod6b.c): Likewise.
12210         (CFLAGS-tst-auditmod6c.c): Likewise.
12211         (CFLAGS-tst-auditmod7b.c): Likewise.
12212         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12214 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
12216         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12217         function to the callback.
12218         Patch partly by Jiri Olsa <jolsa@redhat.com>.
12220 2011-02-02  Andreas Schwab  <schwab@redhat.com>
12222         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12223         of errno.
12225 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
12227         [BZ #11724]
12228         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12229         of constructors.
12230         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12231         of destructors.
12232         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12234         [BZ #11724]
12235         * elf/Makefile: Add rules to build and run new test.
12236         * elf/tst-initorder.c: New file.
12237         * elf/tst-initorder.exp: New file.
12238         * elf/tst-initordera1.c: New file.
12239         * elf/tst-initordera2.c: New file.
12240         * elf/tst-initordera3.c: New file.
12241         * elf/tst-initordera4.c: New file.
12242         * elf/tst-initorderb1.c: New file.
12243         * elf/tst-initorderb2.c: New file.
12244         * elf/tst-order-a1.c: New file.
12245         * elf/tst-order-a2.c: New file.
12246         * elf/tst-order-a3.c: New file.
12247         * elf/tst-order-a4.c: New file.
12248         * elf/tst-order-b1.c: New file.
12249         * elf/tst-order-b2.c: New file.
12250         * elf/tst-order-main.c: New file.
12251         New test case by George Gensure <werkt0@gmail.com>.
12253 2010-10-01  Andreas Schwab  <schwab@redhat.com>
12255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12256         decoding ACE if AI_CANONIDN.
12258 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
12260         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12262 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
12264         * version.h (RELEASE): Bump for 2.13 release.
12265         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12267         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12269         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12270         MADV_NOHUGEPAGE.
12271         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12272         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12273         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12274         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12275         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12276         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12278         * posix/getconf.c: Update copyright year.
12279         * catgets/gencat.c: Likewise.
12280         * csu/version.c: Likewise.
12281         * debug/catchsegv.sh: Likewise.
12282         * debug/xtrace.sh: Likewise.
12283         * elf/ldconfig.c: Likewise.
12284         * elf/ldd.bash.in: Likewise.
12285         * elf/sprof.c (print_version): Likewise.
12286         * iconv/iconv_prog.c: Likewise.
12287         * iconv/iconvconfig.c: Likewise.
12288         * locale/programs/locale.c: Likewise.
12289         * locale/programs/localedef.c: Likewise.
12290         * malloc/memusage.sh: Likewise.
12291         * malloc/mtrace.pl: Likewise.
12292         * nscd/nscd.c (print_version): Likewise.
12293         * nss/getent.c: Likewise.
12295         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12296         PF_CAIF, and PF_ALG.
12297         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12299 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
12301         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12302         (modules-names): Use them.
12303         (ifunc-test-modules, ifunc-pie-tests): Define.
12304         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12305         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12306         (test-extras): Likewise.
12307         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12308         $(compile-command.c).
12309         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12310         (all-built-dso): Define.
12311         (check-textrel.out, check-execstack.out): Depend on it.
12313         * configure.in: Don't override --enable-multi-arch.
12315 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
12317         [BZ #6812]
12318         * nscd/hstcache.c (tryagain): Define.
12319         (cache_addhst): Return tryagain not notfound for temporary errors.
12320         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12321         failed.
12323 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
12325         [BZ #10563]
12326         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12327         to make the syscall.
12328         * sysdeps/unix/sysv/linux/setgroups.c: New file.
12330         [BZ #12378]
12331         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12332         and fall back to matching as normal character if the string ends before
12333         the matching ']' is found.  This is what POSIX requires.
12334         * posix/testfnm.c: Adjust test result.
12335         * posix/globtest.sh: Adjust test result.  Add new test.
12336         * posix/tst-fnmatch.input: Likewise.
12337         * posix/tst-fnmatch2.c: Add new test.
12339 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
12341         * elf/Makefile (check-execstack): Revert last change.  Depend on
12342         check-execstack.h.
12343         (check-execstack.h): New target.
12344         (generated): Add check-execstack.h.
12345         * elf/check-execstack.c: Include "check-execstack.h".
12346         (main): Revert last change.
12347         (handle_file): Return zero if GNU_STACK is absent and
12348         DEFAULT_STACK_PERMS doesn't include PF_X.
12350 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
12352         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12353         in child fails because the descriptor is already closed.
12354         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12355         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12356         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12358         [BZ #12397]
12359         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12360         syscall.
12362         [BZ #10484]
12363         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12364         temporary buffer used to handle multi lookups locally.
12365         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12367 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12369         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12370         loader is ld.so.
12372 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
12374         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12375         alignment for SSE2.
12377 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12379         [BZ #12394]
12380         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12381         characters.  When rounding increased number of integer digits recompute
12382         number of groups.
12383         * stdio-common/tst-grouping.c: New file.
12384         * stdio-common/Makefile: Add rules to build and run tst-grouping.
12386 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
12388         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12389         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
12391         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12392         void.
12393         * bits/select.h: Likewise.
12395 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
12397         * po/ja.po: Update from translation team.
12399 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
12401         [BZ #11155]
12402         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12403         implementation just like for lxstat, fxstatat, et al.
12405 2010-12-27  Jim Meyering  <meyering@redhat.com>
12407         [BZ #12348]
12408         * posix/regexec.c (build_trtable): Return failure indication upon
12409         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
12411 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
12413         [BZ #12201]
12414         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12415         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12416         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12417         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12419         [BZ #12207]
12420         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12422         [BZ #12204]
12423         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12424         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12426 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12428         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12429         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12430         script has SORT_BY_INIT_PRIORITY.
12431         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12432         NO_CTORS_DTORS_SECTIONS is defined.
12433         * elf/soinit.c: Likewise.
12434         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12435         NO_CTORS_DTORS_SECTIONS is defined.
12436         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12437         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12438         * sysdeps/sh/init-first.c: Likewise.
12439         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12441 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
12443         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12444         always use the slow path.
12446 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
12448         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12449         similar rule which adds the sysdep directories to the header search in
12450         order to pick up the correct platform stackinfo.h.
12451         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12452         perform test if it is, otherwise return successfully without testing.
12453         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12454         DEFAULT_STACK_PERMS define in stackinfo.h.
12455         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12456         defined in stackinfo.h.
12457         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12458         DEFAULT_STACK_PERMS defined in stackinfo.h.
12459         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12460         * sysdeps/ia64/stackinfo.h: Likewise.
12461         * sysdeps/s390/stackinfo.h: Likewise.
12462         * sysdeps/sh/stackinfo.h: Likewise.
12463         * sysdeps/sparc/stackinfo.h: Likewise.
12464         * sysdeps/x86_64/stackinfo.h: Likewise.
12465         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12466         PF_X for powerpc64.  Retain PF_X for powerpc32.
12468 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
12470         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12471         accurately.
12472         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12473         GETDENTS_64BIT_ALIGNED.
12475 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
12477         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12479 2010-12-10  Andreas Schwab  <schwab@redhat.com>
12481         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12482         _GNU_SOURCE.
12484         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12485         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12486         Remove __restrict.
12487         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12488         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12490 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
12492         [BZ #11655]
12493         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12494         are initialized.
12496 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
12498         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12500 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
12502         * po/it.po: Update from translation team.
12504 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12506         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12507         unused codes.
12509 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
12511         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12513 2010-11-24  Andreas Schwab  <schwab@redhat.com>
12515         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12516         specially.
12517         (gaih_getanswer_slice): Likewise.
12519 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
12521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12523 2010-05-31  Petr Baudis  <pasky@suse.cz>
12525         [BZ #11149]
12526         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12527         silently even in the chroot mode.
12529 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
12531         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12532         last patch a bit.  Pretty printing
12534 2010-05-31  Petr Baudis <pasky@suse.cz>
12536         [BZ #10085]
12537         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12538         initialization of skip_initgroups_dyn.
12540 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
12542         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12543         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12545 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
12547         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12549 2010-11-11  Andreas Schwab  <schwab@redhat.com>
12551         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12552         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12553         (tst-fnmatch-ENV): Set MALLOC_TRACE.
12554         ($(objpfx)tst-fnmatch-mem): New rule.
12555         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12556         * posix/tst-fnmatch.c (main): Call mtrace.
12558 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
12560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12561         Support Intel processor model 6 and model 0x2c.
12563 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
12565         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12566           signed comparison.
12568 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
12570         [BZ #12205]
12571         * string/test-strncasecmp.c (check_result): New function.
12572         (do_one_test): Use it.
12573         (check1): New function.
12574         (test_main): Use it.
12575         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12576         Support strcasecmp and strncasecmp.
12578 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
12580         [BZ #12194]
12581         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12582         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12584 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12586         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12587         IFUNC support.
12588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12589         memset-x86-64.
12590         * sysdeps/x86_64/multiarch/bzero.S: New file.
12591         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12592         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12593         * sysdeps/x86_64/multiarch/memset.S: New file.
12594         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12596         Set bit_Prefer_SSE_for_memop for Intel processors.
12597         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12598         Define.
12599         (index_Prefer_SSE_for_memop): Define.
12600         (HAS_PREFER_SSE_FOR_MEMOP): Define.
12602 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
12604         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12605         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12607 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
12609         [BZ #12191]
12610         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12611         (__x86_64_raw_data_cache_size_half): Likewise.
12612         (__x86_64_raw_shared_cache_size): Likewise.
12613         (__x86_64_raw_shared_cache_size_half): Likewise.
12615         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12616         (__x86_64_raw_data_cache_size_half): Likewise.
12617         (__x86_64_raw_shared_cache_size): Likewise.
12618         (__x86_64_raw_shared_cache_size_half): Likewise.
12619         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12620         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12621         and __x86_64_raw_shared_cache_size_half.  Round
12622         __x86_64_data_cache_size_half, __x86_64_data_cache_size
12623         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12624         to multiple of 256 bytes.
12626 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
12628         [BZ #12167]
12629         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12630         of inacessible symlinks.  Verify result of symlink before returning it.
12631         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12632         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12634 2010-10-28  Erich Ritz  <erichritz@gmail.com>
12636         * math/math.h (isinf): Fix typo in comment.
12638 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
12640         * po/da.po: Update from translation team.
12642 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
12644         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12645         is added to the list.
12647 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12648             Ulrich Drepper  <drepper@gmail.com>
12650         * elf/dl-object.c (_dl_new_object): Don't append the new object to
12651         the global list here.  Move code to...
12652         (_dl_add_to_namespace_list): ...here.  New function.
12653         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12654         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12655         * elf/dl-load.c (lose): Don't remove the element from the list.
12656         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12657         (_dl_map_object): Likewise.
12659 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
12661         [BZ #12159]
12662         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12663         into all bytes of SSE register.
12664         Patch by Richard Li <richardpku@gmail.com>.
12666 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
12668         [BZ #12140]
12669         * malloc/malloc.c (_int_free): Fill correct number of bytes when
12670         perturbing.
12672 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
12674         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12675         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12676         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12677         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12679         submachine.
12680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12682 2010-10-22  Andreas Schwab  <schwab@redhat.com>
12684         * include/dlfcn.h (__RTLD_SECURE): Define.
12685         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
12686         mode & __RTLD_SECURE instead.
12687         (open_path): Rename preloaded parameter to secure.
12688         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12689         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12690         * elf/dl-deps.c (openaux): Likewise.
12691         * elf/rtld.c (struct map_args): Remove is_preloaded.
12692         (map_doit): Don't use it.
12693         (dl_main): Likewise.
12694         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12695         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12697 2010-09-09  Andreas Schwab  <schwab@redhat.com>
12699         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12700         (sysd-rules-targets): Remove duplicates.
12701         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12702         rtld-%.$o dependency.
12704 2010-10-18  Andreas Schwab  <schwab@redhat.com>
12706         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12707         _dl_map_object do it.
12709 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
12711         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12712         fast fma builtins, define the macros in the C99 standard.
12713         (FP_FAST_FMAF): Likewise.
12714         (FP_FAST_FMAL): Likewise.
12715         * sysdeps/x86_64/bits/mathdef.h: Likewise.
12717         * bits/mathdef.h: Update copyright year.
12718         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12720 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
12722         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12723         builtins, define the macros in the C99 standard.
12724         (FP_FAST_FMAF): Likewise.
12725         (FP_FAST_FMAL): Likewise.
12726         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12727         multiply/add.
12728         (FP_FAST_FMAF): Likewise.
12730 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
12732         [BZ #3268]
12733         * math/libm-test.inc (fma_test): Some new testcases.
12734         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12735         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12736         y and infinite z.  Do multiplication by C already in long double.
12737         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12739         y and infinite z.  Do bitwise or of inexact bit into u.d.
12740         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12741         * sysdeps/i386/fpu/s_fmaf.S: Removed.
12742         * sysdeps/i386/fpu/s_fma.S: Removed.
12743         * sysdeps/i386/fpu/s_fmal.S: Removed.
12745 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
12747         [BZ #3268]
12748         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12749         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12750         computation is not scheduled after fetestexcept.  Fix value
12751         of minimum denormal long double.
12753 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
12755         [BZ #3268]
12756         * math/libm-test.inc (fma_test): Add some more tests.
12757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12758         correctly.
12760 2010-10-15  Andreas Schwab  <schwab@redhat.com>
12762         * scripts/data/localplt-s390-linux-gnu.data: New file.
12763         * scripts/data/localplt-s390x-linux-gnu.data: New file.
12765 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
12767         [BZ #3268]
12768         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12769         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12770         instead of dbl-64.
12771         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12772         inlines.
12773         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12775         if one of x and y is very large and the other is subnormal.
12776         * sysdeps/s390/fpu/s_fmaf.c: New file.
12777         * sysdeps/s390/fpu/s_fma.c: New file.
12778         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12779         * sysdeps/powerpc/fpu/s_fma.S: New file.
12780         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12781         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12782         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12784 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
12786         [BZ #3268]
12787         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12788         fma tests.
12789         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12790         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12791         * sysdeps/i386/i686/multiarch/s_fma.c: Include
12792         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12793         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12794         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12795         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12797 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
12799         [BZ #12078]
12800         * posix/regcomp.c (parse_branch): One more memory leak plugged.
12801         * posix/bug-regex31.input: Add test case.
12803 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12805         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12806         * posix/bug-regex31.input: New file.
12808         [BZ #12078]
12809         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12810         (parse_sub_exp): Fix last change, use postorder.
12812         * posix/bug-regex31.c: New file.
12813         * posix/Makefile: Add rules to build and run bug-regex31.
12815         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12817         [BZ #12078]
12818         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12820         [BZ #12108]
12821         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12822         to have entries in sys_siglist.
12824         [BZ #12093]
12825         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12826         be NULL.
12828 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
12830         [BZ #3268]
12831         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12832         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12833         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12834         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12835         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12836         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12837         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12838         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12839         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12840         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12841         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12842         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12843         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12844         * math/ftestexcept.c (fetestexcept): Likewise.
12845         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12846         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12847         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12848         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12849         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12850         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12851         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12853 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12855         [BZ #12107]
12856         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12857         newline.
12859 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
12861         * string/bug-strstr1.c: New file.
12862         * string/Makefile: Add rules to build and run bug-strstr1.
12864 2010-10-05  Eric Blake  <eblake@redhat.com>
12866         [BZ #12092]
12867         * string/str-two-way.h (two_way_long_needle): Always clear memory
12868         when skipping input due to the shift table.
12870 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
12872         [BZ #12005]
12873         * malloc/mcheck.c: Handle large requests.
12875         [BZ #12077]
12876         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12877         for strncmp and strncasecmp.
12878         * string/stratcliff.c: Add tests for strcmp and strncmp.
12879         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12881 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12883         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12884         __set_fpscr.
12886 2010-09-30  Andreas Jaeger  <aj@suse.de>
12888         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12889         (CGROUP_SUPER_MAGIC): Define.
12890         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12891         Handle btrfs and cgroup file systems.
12892         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12893         Likewise.
12895 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
12897         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12898         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12900 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12902         [BZ #12067]
12903         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12904         trying to locate the ELF header.
12906 2010-09-27  Andreas Schwab  <schwab@redhat.com>
12908         [BZ #11611]
12909         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12910         Mask out sign-bit copies when constructing f_fsid.
12912 2010-09-24  Petr Baudis <pasky@suse.cz>
12914         * debug/stack_chk_fail_local.c: Add missing licence exception.
12915         * debug/warning-nop.c: Likewise.
12917 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
12919         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12920         implementing getdents64 using getdents syscall, set d_type if
12921         __ASSUME_GETDENTS32_D_TYPE.
12923 2010-09-16  Andreas Schwab  <schwab@redhat.com>
12925         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12926         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12928 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
12930         [BZ #12037]
12931         * posix/unistd.h: Undo change of feature selection for ftruncate from
12932         2010-01-11.
12934 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
12936         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12937         detection.
12939 2010-09-20  Andreas Schwab  <schwab@redhat.com>
12941         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12942         fanotify_mark.
12943         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12945 2010-09-14  Andreas Schwab  <schwab@redhat.com>
12947         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12948         variables after CHECK_SP call.
12949         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12951 2010-09-13  Andreas Schwab  <schwab@redhat.com>
12952             Ulrich Drepper  <drepper@redhat.com>
12954         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12955         re-relocationg ld.so.
12956         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12957         _dl_init_paths call.
12958         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
12959         here anymore.
12961 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
12963         * resolv/res_init.c (__res_vinit): Count the default server we added.
12965 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
12966             Ulrich Drepper  <drepper@redhat.com>
12968         [BZ #11968]
12969         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12970         (____longjmp_chk): Use %ebx for saving value across system call.
12971         Add unwind info.
12973 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12975         * manual/Makefile: Don't mix pattern rules with normal rules.
12977 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12979         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12980         operation.
12981         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12982         * libio/iofopncook.c (_IO_cookie_init): Likewise.
12983         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12984         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12985         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12986         Likewise.
12988 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
12990         [BZ #11979]
12991         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12992         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12994 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
12996         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12997         * sysdeps/x86_64/addmul_1.S: Likewise.
12998         * sysdeps/x86_64/lshift.S: Likewise.
12999         * sysdeps/x86_64/mul_1.S: Likewise.
13000         * sysdeps/x86_64/rshift.S: Likewise.
13001         * sysdeps/x86_64/sub_n.S: Likewise.
13002         * sysdeps/x86_64/submul_1.S: Likewise.
13004 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13006         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13007         Define __sched_param instead of SCHED_* and sched_param when
13008         <bits/sched.h> is included with __need_schedparam defined.
13009         * bits/sched.h [__need_schedparam]
13010         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13011         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13012         (__defined_schedparam): Define to 1.
13013         (__sched_param): New structure, identical to sched_param.
13014         (__need_schedparam): Undefine.
13016 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
13018         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13019         (epoll_create1): Declare.
13021         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13023 2010-08-31  Andreas Schwab  <schwab@redhat.com>
13025         [BZ #7066]
13026         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13027         shifting retval into place.
13029 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
13031         * nis/rpcsvc/nis.h: Update copyright notice.
13032         * nis/rpcsvc/nis.x: Likewise.
13033         * nis/rpcsvc/nis_callback.h: Likewise.
13034         * nis/rpcsvc/nis_callback.x: Likewise.
13035         * nis/rpcsvc/nis_object.x: Likewise.
13036         * nis/rpcsvc/nis_tags.h: Likewise.
13037         * nis/rpcsvc/yp.h: Likewise.
13038         * nis/rpcsvc/yp.x: Likewise.
13039         * nis/rpcsvc/ypupd.h: Likewise.
13040         * nis/yp_xdr.c: Likewise.
13041         * nis/ypupdate_xdr.c: Likewise.
13043         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
13044         mainly the body of pmap_getport.  Add parameters to specify timeouts.
13045         (pmap_getport): Use __libc_rpc_getport.
13046         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13047         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13048         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13050 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
13052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13053         fanotify_mark.
13055 2010-08-27  Roland McGrath  <roland@redhat.com>
13057         * sysdeps/i386/i686/multiarch/Makefile
13058         (CFLAGS-varshift.c): New variable.
13060 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
13062         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13063         * sysdeps/i386/i686/multiarch/varshift.c: New file.
13065         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13067         * sysdeps/x86_64/strlen.S: Minimal code improvement.
13069 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13071         * sysdeps/x86_64/strlen.S: Unroll the loop.
13072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13073         strlen-sse2 strlen-sse2-bsf.
13074         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13075         __strlen_no_bsf if bit_Slow_BSF is set.
13076         (__strlen_sse42): Removed.
13077         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13078         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13080 2010-08-25  Roland McGrath  <roland@redhat.com>
13082         * sysdeps/x86_64/multiarch/varshift.S: File removed.
13083         * sysdeps/x86_64/multiarch/varshift.c: New file.
13084         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13085         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13086         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13087         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13089 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13092         strlen-sse2 strlen-sse2-bsf.
13093         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13094         __strlen_sse2_bsf if bit_Slow_BSF is unset.
13095         (__strlen_sse2): Removed.
13096         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13097         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13099         bit_Slow_BSF for Atom.
13100         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13101         (index_Slow_BSF): Define.
13102         (HAS_SLOW_BSF): Define.
13104 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
13106         [BZ #10851]
13107         * resolv/res_init.c (__res_vinit): When no server address at all
13108         is given default to loopback.
13110 2010-08-24  Roland McGrath  <roland@redhat.com>
13112         * configure.in: Remove config-name.h generation.
13113         * configure: Regenerated.
13114         * config-name.in: File removed.
13115         * scripts/config-uname.sh: New file.
13116         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13117         ($(objdir)config-name.h): New target.
13119         * sunrpc/rpc_parse.h: Avoid nested comment.
13121 2010-08-24  Richard Henderson  <rth@redhat.com>
13122             Ulrich Drepper  <drepper@redhat.com>
13123             H.J. Lu  <hongjiu.lu@intel.com>
13125         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13127         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13128         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
13129         _mm_alignr_epi8 with _mm_loadu_si128.
13130         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13131         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13132         (__m128i_shift_right): Removed.
13133         * sysdeps/i386/i686/multiarch/varshift.h: New file.
13134         * sysdeps/i386/i686/multiarch/varshift.S: New file.
13135         * sysdeps/x86_64/multiarch/varshift.h: New file.
13136         * sysdeps/x86_64/multiarch/varshift.S: New file.
13138 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
13140         * configure.in: Move assembler checks to before sysdep dir checking.
13142 2010-08-20  Petr Baudis  <pasky@suse.cz>
13144         * LICENSES: Sync the sunrpc license.
13146 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
13148         * sunrpc/auth_des.c: Update copyright notice once again.
13149         * sunrpc/auth_none.c: Likewise.
13150         * sunrpc/auth_unix.c: Likewise.
13151         * sunrpc/authdes_prot.c: Likewise.
13152         * sunrpc/authuxprot.c: Likewise.
13153         * sunrpc/bindrsvprt.c: Likewise.
13154         * sunrpc/clnt_gen.c: Likewise.
13155         * sunrpc/clnt_perr.c: Likewise.
13156         * sunrpc/clnt_raw.c: Likewise.
13157         * sunrpc/clnt_simp.c: Likewise.
13158         * sunrpc/clnt_tcp.c: Likewise.
13159         * sunrpc/clnt_udp.c: Likewise.
13160         * sunrpc/clnt_unix.c: Likewise.
13161         * sunrpc/des_crypt.c: Likewise.
13162         * sunrpc/des_soft.c: Likewise.
13163         * sunrpc/get_myaddr.c: Likewise.
13164         * sunrpc/getrpcport.c: Likewise.
13165         * sunrpc/key_call.c: Likewise.
13166         * sunrpc/key_prot.c: Likewise.
13167         * sunrpc/openchild.c: Likewise.
13168         * sunrpc/pm_getmaps.c: Likewise.
13169         * sunrpc/pm_getport.c: Likewise.
13170         * sunrpc/pmap_clnt.c: Likewise.
13171         * sunrpc/pmap_prot.c: Likewise.
13172         * sunrpc/pmap_prot2.c: Likewise.
13173         * sunrpc/pmap_rmt.c: Likewise.
13174         * sunrpc/rpc/auth.h: Likewise.
13175         * sunrpc/rpc/auth_unix.h: Likewise.
13176         * sunrpc/rpc/clnt.h: Likewise.
13177         * sunrpc/rpc/des_crypt.h: Likewise.
13178         * sunrpc/rpc/key_prot.h: Likewise.
13179         * sunrpc/rpc/netdb.h: Likewise.
13180         * sunrpc/rpc/pmap_clnt.h: Likewise.
13181         * sunrpc/rpc/pmap_prot.h: Likewise.
13182         * sunrpc/rpc/pmap_rmt.h: Likewise.
13183         * sunrpc/rpc/rpc.h: Likewise.
13184         * sunrpc/rpc/rpc_des.h: Likewise.
13185         * sunrpc/rpc/rpc_msg.h: Likewise.
13186         * sunrpc/rpc/svc.h: Likewise.
13187         * sunrpc/rpc/svc_auth.h: Likewise.
13188         * sunrpc/rpc/types.h: Likewise.
13189         * sunrpc/rpc/xdr.h: Likewise.
13190         * sunrpc/rpc_clntout.c: Likewise.
13191         * sunrpc/rpc_cmsg.c: Likewise.
13192         * sunrpc/rpc_common.c: Likewise.
13193         * sunrpc/rpc_cout.c: Likewise.
13194         * sunrpc/rpc_dtable.c: Likewise.
13195         * sunrpc/rpc_hout.c: Likewise.
13196         * sunrpc/rpc_main.c: Likewise.
13197         * sunrpc/rpc_parse.c: Likewise.
13198         * sunrpc/rpc_parse.h: Likewise.
13199         * sunrpc/rpc_prot.c: Likewise.
13200         * sunrpc/rpc_sample.c: Likewise.
13201         * sunrpc/rpc_scan.c: Likewise.
13202         * sunrpc/rpc_scan.h: Likewise.
13203         * sunrpc/rpc_svcout.c: Likewise.
13204         * sunrpc/rpc_tblout.c: Likewise.
13205         * sunrpc/rpc_util.c: Likewise.
13206         * sunrpc/rpc_util.h: Likewise.
13207         * sunrpc/rpcinfo.c: Likewise.
13208         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13209         * sunrpc/rpcsvc/key_prot.x: Likewise.
13210         * sunrpc/rpcsvc/klm_prot.x: Likewise.
13211         * sunrpc/rpcsvc/mount.x: Likewise.
13212         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13213         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13214         * sunrpc/rpcsvc/rex.x: Likewise.
13215         * sunrpc/rpcsvc/rstat.x: Likewise.
13216         * sunrpc/rpcsvc/rusers.x: Likewise.
13217         * sunrpc/rpcsvc/sm_inter.x: Likewise.
13218         * sunrpc/rpcsvc/spray.x: Likewise.
13219         * sunrpc/rpcsvc/yppasswd.x: Likewise.
13220         * sunrpc/rtime.c: Likewise.
13221         * sunrpc/svc.c: Likewise.
13222         * sunrpc/svc_auth.c: Likewise.
13223         * sunrpc/svc_authux.c: Likewise.
13224         * sunrpc/svc_raw.c: Likewise.
13225         * sunrpc/svc_run.c: Likewise.
13226         * sunrpc/svc_simple.c: Likewise.
13227         * sunrpc/svc_tcp.c: Likewise.
13228         * sunrpc/svc_udp.c: Likewise.
13229         * sunrpc/svc_unix.c: Likewise.
13230         * sunrpc/svcauth_des.c: Likewise.
13231         * sunrpc/xcrypt.c: Likewise.
13232         * sunrpc/xdr.c: Likewise.
13233         * sunrpc/xdr_array.c: Likewise.
13234         * sunrpc/xdr_float.c: Likewise.
13235         * sunrpc/xdr_mem.c: Likewise.
13236         * sunrpc/xdr_rec.c: Likewise.
13237         * sunrpc/xdr_ref.c: Likewise.
13238         * sunrpc/xdr_sizeof.c: Likewise.
13239         * sunrpc/xdr_stdio.c: Likewise.
13241         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13242         handling.
13244 2010-08-19  Andreas Schwab  <schwab@redhat.com>
13246         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13248 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
13250         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13251         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13252         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13253         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13254         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13255         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13256         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13257         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13258         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13259         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13260         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13261         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13262         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13263         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13265 2010-07-26  Anton Blanchard  <anton@samba.org>
13267         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13268         * malloc/arena.c (heap_trim): Likewise.
13270 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
13272         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13273         here.  Not...
13274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13275         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13277 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13279         * sysdeps/i386/elf/Makefile: New file.
13281 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
13283         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13284         from fanotify_init.
13285         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13286         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13288 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
13290         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13291         of strncasecmp_l.
13292         * sysdeps/multiarch/strcmp.S: Likewise.
13294 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
13296         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13297         strncase_l-nonascii.
13298         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13299         Add strncase_l-ssse3.
13300         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13301         * sysdeps/x86_64/strcmp.S: Likewise.
13302         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13303         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13304         * sysdeps/x86_64/strncase.S: New file.
13305         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13306         * sysdeps/x86_64/strncase_l.S: New file.
13307         * string/Makefile (strop-tests): Add strncasecmp.
13308         * string/test-strncasecmp.c: New file.
13310         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13311         warning.
13313         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13314         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13316 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
13318         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13320 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
13322         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13323         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13324         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13326 2010-05-01  Alan Modra  <amodra@gmail.com>
13328         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13329         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13330         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13331         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13332         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13333         tidying.  Don't tail-call __sigjmp_save for static lib.
13334         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13335         save location.
13336         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13337         (CALL_MCOUNT): Add eh info, and nop after bl.
13338         (TAIL_CALL_SYSCALL_ERROR): New macro.
13339         (PSEUDO_RET): Use it.
13340         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13341         Correct save location of integer regs and cr.
13342         (_dl_profile_resolve): Correct cr save location.  Delete nops
13343         after bl when SHARED.  Reduce cfi size a little by better
13344         placement of cfi directives.
13345         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13346         make a stack frame.  Instead use parm save area as a temp.
13347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13348         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
13349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13350         Don't make a stack frame for parent, use parm save area.
13351         Increase child stack frame to 112 bytes.  Don't save unused reg,
13352         and adjust reg usage.  Set up cfi on error recovery and
13353         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13355         (__makecontext): Add dummy nop after jump to exit.
13356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13357         Use correct parm save area and cr save, reduce stack frame.
13358         Correct cfi for possible PSEUDO_RET frame setup.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13360         Branch to local label emitted by PSEUDO_RET rather than
13361         __syscall_error.
13363 2010-08-12  Andreas Schwab  <schwab@redhat.com>
13365         [BZ #11904]
13366         * locale/programs/locale.c (print_assignment): New function.
13367         (show_locale_vars): Use it.
13369 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
13371         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13372         field.
13373         (struct statfs64): Likewise.
13374         (_STATFS_F_FLAGS): Define.
13375         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13376         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13377         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13378         (ST_VALID): Define locally.
13379         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13380         __statvfs_getflags, use the provided value.
13381         * sysdeps/unix/sysv/linux/kernel-features.h: Define
13382         __ASSUME_STATFS_F_FLAGS.
13384         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13386         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13387         Add sys/fanotify.h.
13388         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13389         fanotify_mask for GLIBC_2.13.
13390         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13391         fanotify_init and fanotify_mark.
13392         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13393         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13395         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13396         Add prlimit.
13397         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13398         prlimit64 for GLIBC_2.13.
13399         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13400         prlimit64.
13401         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13402         syscall.
13403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13404         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13405         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13406         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13407         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
13408         add prlimit alias.
13409         * sysdeps/unix/sysv/linux/prlimit.c: New file.
13411         [BZ #11903]
13412         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13413         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13415         * nss/Makefile: Add rules to build and run tst-nss-test1.
13416         * shlib-versions: Add entry for libnss_test1.
13417         * nss/nss_test1.c: New file.
13418         * nss/tst-nss-test1.c: New file.
13420         * nss/nsswitch.c (__nss_database_custom): Define new variable.
13421         (__nss_configure_lookup): Set appropriate entry in
13422         __nss_configure_lookup to true.
13423         * nss/nsswitch.h: Define enum with indeces of databases in
13424         databases and __nss_database_custom arrays.  Declare
13425         __nss_database_custom.
13426         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13427         to avoid using nscd when custom rules are installed.
13428         * nss/getXXbyYY_r.c: Likewise.
13429         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13431         * nss/nss_files/files-parse.c: Whitespace fixes.
13433 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
13435         [BZ #11883]
13436         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13437         * posix/fnmatch_loop.c: Likewise.
13439 2010-07-17  Andi Kleen  <ak@linux.intel.com>
13441         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13442         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13443         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13444         * Versions.def [GLIBC_2.13]: Add.
13446 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
13448         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13449         Also fail if tpwd after pwuid call is NULL.
13451 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13453         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13454         when converting to ms.
13456 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13458         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13459         EOPNOTSUPP errors with ENOTTY.
13460         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13461         EOPNOTSUPP errors with ENOTTY.
13463 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
13465         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13466         Add strcasecmp_l-ssse3.
13467         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13468         strcasecmp.
13469         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13470         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13471         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13473 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
13475         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13477         * string/Makefile (strop-tests): Add strcasecmp.
13478         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13479         strcasecmp_l-nonascii.
13480         (gen-as-const-headers): Add locale-defines.sym.
13481         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13482         * sysdeps/x86_64/strcasecmp.S: New file.
13483         * sysdeps/x86_64/strcasecmp_l.S: New file.
13484         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13485         * sysdeps/x86_64/locale-defines.sym: New file.
13486         * string/test-strcasecmp.c: New file.
13488         * string/test-strcasestr.c: Test both ends of the range of characters.
13489         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13491 2010-07-29  Roland McGrath  <roland@redhat.com>
13493         [BZ #11856]
13494         * manual/locale.texi (Yes-or-No Questions): Fix example code.
13496 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
13498         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13499         for ld.so.
13501 2010-07-27  Andreas Schwab  <schwab@redhat.com>
13503         * manual/memory.texi (Malloc Tunable Parameters): Document
13504         M_PERTURB.
13506 2010-07-26  Roland McGrath  <roland@redhat.com>
13508         [BZ #11840]
13509         * configure.in (-fgnu89-inline check): Set and substitute
13510         gnu89_inline, not libc_cv_gnu89_inline.
13511         * configure: Regenerated.
13512         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13514 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
13516         * string/test-strnlen.c: New file.
13517         * string/Makefile (strop-tests): Add strnlen.
13518         * string/tester.c (test_strnlen): Add a few more test cases.
13519         * string/tst-strlen.c: Better error reporting.
13521         * sysdeps/x86_64/strnlen.S: New file.
13523 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
13525         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13526         lower-latency instructions.
13528 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
13530         * string/test-strcasestr.c: New file.
13531         * string/test-strstr.c: New file.
13532         * string/Makefile (strop-tests): Add strstr and strcasestr.
13533         * string/str-two-way.h: Don't undefine MAX.
13534         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13536 2010-07-21  Andreas Schwab  <schwab@redhat.com>
13538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13539         strcasestr-nonascii.
13540         (CFLAGS-strcasestr-nonascii.c): Define.
13541         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13542         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13543         Remove unused attribute.
13545 2010-07-20  Roland McGrath  <roland@redhat.com>
13547         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13548         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
13549         ld.so.cache was broken.  With it, there is no way to disable dsocaps
13550         like LD_HWCAP_MASK can disable hwcaps.
13552 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13554         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13556 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
13558         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13559         call in strcasestr.
13560         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13561         __strcasestr_sse42_nonascii.
13562         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13563         strcasestr-nonascii.c.
13564         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13566 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
13568         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13569         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13570         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13571         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13573 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
13575         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13576         fcntl.
13578 2010-07-06  Andreas Schwab  <schwab@redhat.com>
13580         [BZ #11577]
13581         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13582         dl_signal_cerror.
13584 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
13586         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13587         _PC_PIPE_BUF using F_GETPIPE_SZ.
13589 2010-07-05  Roland McGrath  <roland@redhat.com>
13591         * manual/arith.texi (Rounding Functions): Fix rint description
13592         implicit in round description.
13594 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
13596         * elf/Makefile: Fix linking for a few tests to make recent linker
13597         happy.
13599 2010-06-30  Andreas Schwab  <schwab@redhat.com>
13601         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13602         $(common-objpfx)libc_nonshared.a.
13604 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
13606         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13607         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13608         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13609         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13610         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13611         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13612         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13613         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13628         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13629         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13630         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13631         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13632         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13633         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13634         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13635         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13636         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13637         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13638         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13639         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13655 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13657         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13658         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
13659         * string/memmove.c (memmove): Renamed to ...
13660         (MEMMOVE): ...this.  Default to memmove.
13661         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13662         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13663         (END_CHK): Define.
13664         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13665         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13666         mempcpy-ssse3-back memmove-ssse3-back.
13667         * sysdeps/x86_64/multiarch/bcopy.S: New file .
13668         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13669         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13670         * sysdeps/x86_64/multiarch/memcpy.S: New file.
13671         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13672         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13673         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13674         * sysdeps/x86_64/multiarch/memmove.c: New file.
13675         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13676         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13677         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13678         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13679         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13680         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13681         Define.
13682         (index_Fast_Copy_Backward): Define.
13683         (HAS_ARCH_FEATURE): Define.
13684         (HAS_FAST_REP_STRING): Define.
13685         (HAS_FAST_COPY_BACKWARD): Define.
13687 2010-06-21  Andreas Schwab  <schwab@redhat.com>
13689         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13690         Restore proper fallback handling.
13692 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
13694         [BZ #11701]
13695         * posix/group_member.c (__group_member): Correct checking loop.
13697         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13698         OOM in getpwuid_r correctly.  Return error number when the caller
13699         should return, otherwise -1.
13700         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13701         call returning > 0 value.
13702         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13704 2010-06-07  Andreas Schwab  <schwab@redhat.com>
13706         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13707         libc_nonshared.a from targets in modules-names.
13709 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
13711         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13712         requires it.
13714 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
13716         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13717         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13718         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13719         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13721 2010-06-02  Andreas Schwab  <schwab@redhat.com>
13723         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13725 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
13727         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13728         and F_GETPIPE_SZ.
13729         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13730         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13732         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13733         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13734         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13736 2010-06-14  Roland McGrath  <roland@redhat.com>
13738         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13740 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
13742         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13743         __REDIRECT followed by __THROW.
13744         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13745         * posix/getopt.h (getopt): Likewise.
13747 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13749         * hurd/lookup-at.c (__file_name_lookup_at): Accept
13750         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
13751         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13752         in AT_FLAGS.
13753         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13754         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13756 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
13758         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13760 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
13762         [BZ #11640]
13763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13764         Properly check family and model.
13766 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
13768         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13770 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
13772         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13774 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
13776         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13777         symbol reference.
13779 2010-05-19  Andreas Schwab  <schwab@redhat.com>
13781         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13782         symbol reference.
13784 2010-05-21  Andreas Schwab  <schwab@redhat.com>
13786         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13787         and internal_recvmmsg.
13788         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13789         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13790         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13791         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13793         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13794         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13795         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13797 2010-05-20  Andreas Schwab  <schwab@redhat.com>
13799         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13801 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
13803         POWER7 optimizations.
13804         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13805         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13807 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
13809         * version.h: Update for 2.13 development version.
13811 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
13813         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13814         exceptions.  Return 0.
13816 2010-05-07  Roland McGrath  <roland@redhat.com>
13818         * elf/ldconfig.c (main): Add a const.
13820 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
13822         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13823         (args_options): Add no-idn option.
13824         (ahosts_keys_int): Add idn_flags to ai_flags.
13825         (parse_option): Handle 'i' option to clear idn_flags.
13827         * malloc/malloc.c (_int_free): Possible race in the most recently
13828         added check.  Only act on the data if no current modification
13829         happened.
13831 See ChangeLog.17 for earlier changes.