Hurd: fix mode type for openat
[glibc.git] / ChangeLog
blob89a6ccfa5a84ee721fc33badcf125fdd56e6c84e
1 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4         instead of int.
6         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7         if __dir_mkfile succeeded.
9         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10         checking for _hurd_dtablesize.  Unlock it right after having
11         finished _hurd_dtable allocation.
13 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
15         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
16         * sysdeps/mach/hurd/configure: Regenerated.
17         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18         special-casing to...
19         * sysdeps/gnu/configure.in: ... this new file.
20         * sysdeps/unix/sysv/linux/configure: Regenerated.
21         * sysdeps/gnu/configure: New generated file.
23         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24         for Linux: use nsec instead of usec, as well as:
25         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26         members of type struct timespec.
27         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28         New macros.
29         (struct stat64): Likewise.
30         (_STATBUF_ST_NSEC): New macro.
31         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34         __strtoul_internal rather than strtoul.
36 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39         and reject them.
41 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44         which preserves existing values.
45         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50         TIMEOUT values.  Return EINVAL for NFDS values either negative or
51         greater than FD_SETSIZE.
53 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56         allocated, call __vm_protect to finish enabling the existing space, and
57         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58         allocate the remainder.
60 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68         sysdeps/mach/hurd/readlink.c.
70         * posix/tst-sysconf.c (posix_options): Only use
71         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72         _POSIX_SYNCHRONIZED_IO when they are defined
73         * sysdeps/mach/hurd/bits/posix_opt.h:
74         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75         (_XOPEN_REALTIME): Undefine macro.
76         (_XOPEN_REALTIME_THREADS): Undefine macro.
77         (_XOPEN_SHM): Undefine macro.
78         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79         macro to -1.
80         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
81         macro to -1.
82         (_POSIX_ASYNC_IO): Undefine macro.
83         (_POSIX_PRIORITIZED_IO): Undefine macro.
84         (_POSIX_SPIN_LOCKS): Define macro to -1.
86         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
87         SA_NODEFER, SA_RESETHAND.
88         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
89         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
90         F_DUPFD_CLOEXEC.
92 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
94         * elf/Makefile (pldd-modules): Define unconditionally.
96 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
98         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
100 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
102         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
103         Return ENOENT when name is empty.
104         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
106 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
108         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
110         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
112 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
114         Fix mlock in all cases except non-readable pages.
115         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
116         instead of VM_PROT_ALL as parameter to __vm_wire function.
118         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
119         (__mkdir): When path is `/', just fail with EEXIST.
120         * sysdeps/mach/hurd/mkdirat.c: Likewise.
122 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
124         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
125         <sys/uio.h> (for writev).
126         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
127         and <sys/param.h> (for MIN).
129 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
131         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
132         REQUESTED_TIME.  Properly set the remaining time and return EINTR
133         if interrupted.
135 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
137         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
138         Depend on against $(link-rpcuserlibs).
140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
142         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
143         (__libc_stack_end): Do not use attribute_relro.
144         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
145         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
146         to libthread-provided value.
147         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
148         attribute_relro.
150 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
152         [BZ #3748]
153         * bits/libc-lock.h (__libc_once_get): New macro.
154         * sysdeps/mach/bits/libc-lock.h: Likewise.
155         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
156         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
157         instead of using implementation details.
159         * libio/fileops.c: Unconditionally include <kernel-features.h>.
160         * libio/freopen.c: Likewise.
161         * libio/freopen64.c: Likewise.
162         * misc/syslog.c: Likewise.
163         * nscd/connections.c: Likewise.
164         * nscd/netgroupcache.c: Likewise.
165         * sysdeps/posix/getcwd.c: Likewise.
167 2012-05-10  Roland McGrath  <roland@hack.frob.com>
169         * math/w_ilogbf.c: Add #include <limits.h>.
171 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
173         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
174         path instead of returning without unlocking.
176         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
177         immediate-write ioctls.
178         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
180 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
182         * sysdeps/mach/hurd/i386/init-first.c (init): Use
183         __builtin_frame_address instead of making assumptions about the
184         location of the return address relative to DATA.  Force early load of
185         the return address.
186         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
187         __builtin_frame_address.
189         dup3 for GNU Hurd.
190         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
191         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
192         implement dup3 and do some further code clean-ups.
193         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
194         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
196 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
198         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
200         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
201         HURD_CRITICAL_END around holding _hurd_dtable_lock.
202         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
203         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
204         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
205         d->port.lock.
207         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
208         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
209         when handler == SIG_ERR, not when handler != SIG_ERR.
211 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
213         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
214         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
215         definitions.
217         accept4 for GNU Hurd.
218         * include/sys/socket.h (__libc_accept4): New prototype.
219         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
220         to implement __libc_accept4.
221         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
222         __libc_accept4.
223         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
225         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
226         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
227         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
228         signal-defines.sym.
230 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
232         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
234 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
236         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
237         assertion on O_CLOEXEC flag.
238         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
239         * hurd/intern-fd.c: Likewise.
240         * hurd/port2fd.c: Likewise.
242 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
244         [BZ #3906]
245         * bits/in.h (IPV6_PKTINFO): Define new macro.
246         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
248 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
250         [BZ #13954]
251         [BZ #13955]
252         [BZ #13956]
253         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
254         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
255         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
256         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
257         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
258         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
259         * math/libm-test.inc (logb_test) : Additional logb tests.
261 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
262             Andreas Jaeger  <aj@suse.de>
264         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
265         * configure: Regenerated.
266         * config.h.in (LINK_OBSOLETE_RPC): New macro.
267         * config.make.in (link-obsolete-rpc): New substituted variable.
268         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
269         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
270         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
271         (shared-only-routines): Don't set it under [link-obsolete-rpc],
272         so that libc.a contains the symbols.
273         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
274         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
275         * sunrpc/auth_none.c: Likewise.
276         * sunrpc/auth_unix.c: Likewise.
277         * sunrpc/authdes_prot.c: Likewise.
278         * sunrpc/authuxprot.c: Likewise.
279         * sunrpc/clnt_gen.c: Likewise.
280         * sunrpc/clnt_perr.c: Likewise.
281         * sunrpc/clnt_raw.c: Likewise.
282         * sunrpc/clnt_simp.c: Likewise.
283         * sunrpc/clnt_tcp.c: Likewise.
284         * sunrpc/clnt_udp.c: Likewise.
285         * sunrpc/clnt_unix.c: Likewise.
286         * sunrpc/des_crypt.c: Likewise.
287         * sunrpc/des_soft.c: Likewise.
288         * sunrpc/get_myaddr.c: Likewise.
289         * sunrpc/key_call.c: Likewise.
290         * sunrpc/key_prot.c: Likewise.
291         * sunrpc/netname.c: Likewise.
292         * sunrpc/pm_getmaps.c: Likewise.
293         * sunrpc/pm_getport.c: Likewise.
294         * sunrpc/pmap_clnt.c: Likewise.
295         * sunrpc/pmap_prot.c: Likewise.
296         * sunrpc/pmap_prot2.c: Likewise.
297         * sunrpc/pmap_rmt.c: Likewise.
298         * sunrpc/publickey.c: Likewise.
299         * sunrpc/rpc_cmsg.c: Likewise.
300         * sunrpc/rpc_common.c: Likewise.
301         * sunrpc/rpc_dtable.c: Likewise.
302         * sunrpc/rpc_prot.c: Likewise.
303         * sunrpc/rpc_thread.c: Likewise.
304         * sunrpc/rtime.c: Likewise.
305         * sunrpc/svc.c: Likewise.
306         * sunrpc/svc_auth.c: Likewise.
307         * sunrpc/svc_raw.c: Likewise.
308         * sunrpc/svc_run.c: Likewise.
309         * sunrpc/svc_tcp.c: Likewise.
310         * sunrpc/svc_udp.c: Likewise.
311         * sunrpc/svc_unix.c: Likewise.
312         * sunrpc/svcauth_des.c: Likewise.
313         * sunrpc/xcrypt.c: Likewise.
314         * sunrpc/xdr.c: Likewise.
315         * sunrpc/xdr_array.c: Likewise.
316         * sunrpc/xdr_float.c: Likewise.
317         * sunrpc/xdr_intXX_t.c: Likewise.
318         * sunrpc/xdr_mem.c: Likewise.
319         * sunrpc/xdr_rec.c: Likewise.
320         * sunrpc/xdr_ref.c: Likewise.
321         * sunrpc/xdr_sizeof.c: Likewise.
322         * sunrpc/xdr_stdio.c: Likewise.
324 2012-05-10  Roland McGrath  <roland@hack.frob.com>
326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
327         change.  Update copyright years.
329 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
331         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
333 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
334             Joseph Myers  <joseph@codesourcery.com>
335             Paul Pluzhnikov  <ppluzhnikov@google.com>
337         [BZ #14012]
338         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
339         requiring rpcgen.
340         [cross-compiling] (extra-libs): Likewise.
341         [cross-compiling] (extra-libs-others): Likewise.
342         [cross-compiling] (librpcsvc-routines): Likewise.
343         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
344         [cross-compiling] (omit-deps): Likewise.
345         (sunrpc-CPPFLAGS): New variable.
346         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
347         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
348         (cross-rpcgen-objs): New variable.
349         (extra-objs): Append $(cross-rpcgen-objs).
350         ($(cross-rpcgen-objs)): New rule.
351         ($(objpfx)cross-rpcgen): Likewise.
352         (rpcgen-cmd): Define to use $(built-program-file).  Expand
353         comment.
354         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
355         ($(objpfx)x%.stmp): Likewise.
356         * sunrpc/proto.h [IS_IN_build] (_): Define.
357         [IS_IN_build] (_libc_intl_domainname): Likewise.
359 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
361         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
362         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
363         and R_X86_64_TPOFF64.
365 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
367         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
368         sysdeps/unix/sysv/syscalls.list.
369         (stime): Likewise.
370         (utime): Likewise.
371         * sysdeps/unix/sysv/syscalls.list: Remove file.
373 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
375         [BZ #3440]
376         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
377         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
378         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
379         (__LC_IDENTIFICATION): Make these macros useful in #if
380         expressions, as required by C99.
382 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
384         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
385         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
386         after this.
388 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
390         * stdlib/longlong.h: Updated from GCC.
392 2012-05-09  Andreas Jaeger  <aj@suse.de>
394         * nscd/nscd.c (run_modes): Make named enum, reorder so that
395         default is first entry.
396         (run_mode): Set type.
397         (main): Remove informal message about syslog.
398         (options): Fix typo.
400         [BZ #14053]
401         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
402         to asm.
403         (lrint): Likewise.
404         (llrintf): Likewise.
405         (llrint): Likewise.
406         (rint): Likewise.
407         (rintf): Likewise.
408         (nearbyint): Likewise.
409         (nearbyintf): Likewise.
411 2012-05-09  Andreas Jaeger  <aj@suse.de>
412             Pedro Alves  <palves@redhat.com>
414         * nscd/nscd.c (run_mode): Use enum.
415         (main): Cleanup coding style issue.
417 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
418             Andreas Jaeger  <aj@suse.de>
420         * nscd/nscd.c (go_background): Replaced with...
421         (run_mode): ... this.
422         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
423         (options): Add -F --foreground.
424         (main): Implement it.
425         (parse_opt): Parse it.
427 2012-05-09  Andreas Jaeger  <aj@suse.de>
429         [BZ #14083]
430         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
431         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
432         -Wconversion warning.
433         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
434         Likewise.
436 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
438         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
439         == 0.
440         (LC_ALL): Use macro-int-constant.
441         (LC_COLLATE): Likewise.
442         (LC_CTYPE): Likewise.
443         (LC_MESSAGES): Likewise.
444         (LC_MONETARY): Likewise.
445         (LC_NUMERIC): Likewise.
446         (LC_TIME): Likewise.
447         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
448         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
449         [ISO || ISO99 || ISO11] (*_t): Do not allow.
450         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
451         Specify type.
452         [C99-based standards] (float_t): Expect type.
453         [C99-based standards] (double_t): Expect type.
454         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
455         type.
456         [C99-based standards] (HUGE_VALL): Likewise.
457         [C99-based standards] (INFINITY): Likewise.
458         [C99-based standards] (NAN): Likewise.
459         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
460         [C99-based standards] (FP_NAN): Likewise.
461         [C99-based standards] (FP_NORMAL): Likewise.
462         [C99-based standards] (FP_SUBNORMAL): Likewise.
463         [C99-based standards] (FP_ZERO): Likewise.
464         [C99-based standards] (FP_FAST_FMA): Use
465         optional-macro-int-constant.  Specify type.  Require == 1.
466         [C99-based standards] (FP_FAST_FMAF): Likewise.
467         [C99-based standards] (FP_FAST_FMAL): Likewise.
468         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
469         [C99-based standards] (FP_ILOGBNAN): Likewise.
470         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
471         Specify type.
472         [C99-based standards] (MATH_ERREXCEPT): Likewise.
473         [C99-based standards] (math_errhandling): Specify type.
474         [ISO99 || ISO11] (signgam): Do not allow.
475         [non-C99-based standards] (copysignf): Do not allow.
476         [non-C99-based standards] (exp2f): Likewise.
477         [non-C99-based standards] (log2f): Likewise.
478         [non-C99-based standards] (modff): Allow.
479         [non-C99-based standards] (erff): Do not allow.
480         [non-C99-based standards] (erfcf): Likewise.
481         [non-C99-based standards] (gammaf): Likewise.
482         [non-C99-based standards] (hypotf): Likewise.
483         [non-C99-based standards] (j0f): Likewise.
484         [non-C99-based standards] (j1f): Likewise.
485         [non-C99-based standards] (jnf): Likewise.
486         [non-C99-based standards] (lgammaf): Likewise.
487         [non-C99-based standards] (tgammaf): Likewise.
488         [non-C99-based standards] (y0f): Likewise.
489         [non-C99-based standards] (y1f): Likewise.
490         [non-C99-based standards] (ynf): Likewise.
491         [non-C99-based standards] (isnanf): Likewise.
492         [non-C99-based standards] (acoshf): Likewise.
493         [non-C99-based standards] (asinhf): Likewise.
494         [non-C99-based standards] (atanhf): Likewise.
495         [non-C99-based standards] (cbrtf): Likewise.
496         [non-C99-based standards] (expm1f): Likewise.
497         [non-C99-based standards] (ilogbf): Likewise.
498         [non-C99-based standards] (log1pf): Likewise.
499         [non-C99-based standards] (logbf): Likewise.
500         [non-C99-based standards] (nextafterf): Likewise.
501         [non-C99-based standards] (remainderf): Likewise.
502         [non-C99-based standards] (rintf): Likewise.
503         [non-C99-based standards] (scalbf): Likewise.
504         [non-C99-based standards] (copysignl): Likewise.
505         [non-C99-based standards] (exp2l): Likewise.
506         [non-C99-based standards] (log2l): Likewise.
507         [non-C99-based standards] (modfl): Allow.
508         [non-C99-based standards] (erfl): Do not allow.
509         [non-C99-based standards] (erfcl): Likewise.
510         [non-C99-based standards] (gammal): Likewise.
511         [non-C99-based standards] (hypotl): Likewise.
512         [non-C99-based standards] (j0l): Likewise.
513         [non-C99-based standards] (j1l): Likewise.
514         [non-C99-based standards] (jnl): Likewise.
515         [non-C99-based standards] (lgammal): Likewise.
516         [non-C99-based standards] (tgammal): Likewise.
517         [non-C99-based standards] (y0l): Likewise.
518         [non-C99-based standards] (y1l): Likewise.
519         [non-C99-based standards] (ynl): Likewise.
520         [non-C99-based standards] (isnanl): Likewise.
521         [non-C99-based standards] (acoshl): Likewise.
522         [non-C99-based standards] (asinhl): Likewise.
523         [non-C99-based standards] (atanhl): Likewise.
524         [non-C99-based standards] (cbrtl): Likewise.
525         [non-C99-based standards] (expm1l): Likewise.
526         [non-C99-based standards] (ilogbl): Likewise.
527         [non-C99-based standards] (log1pl): Likewise.
528         [non-C99-based standards] (logbl): Likewise.
529         [non-C99-based standards] (nextafterl): Likewise.
530         [non-C99-based standards] (remainderl): Likewise.
531         [non-C99-based standards] (rintl): Likewise.
532         [non-C99-based standards] (scalbl): Likewise.
533         [ISO || ISO99 || ISO11] (*_t): Do not allow.
534         [non-C99-based standards] (FP_*): Do not allow.
535         [C99-based standards] (FP_*): Change to
536         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
537         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
538         allow.
539         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
540         (SIG_ERR): Likewise.
541         [X/Open-based standards] (SIG_HOLD): Likewise.
542         (SIG_IGN): Likewise.
543         (SIGABRT): Use macro-int-constant.  Specify type.  Require
544         positive value.
545         (SIGFPE): Likewise.
546         (SIGILL): Likewise.
547         (SIGINT): Likewise.
548         (SIGSEGV): Likewise.
549         (SIGTER): Likewise.
550         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
551         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
552         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
553         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
554         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
555         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
556         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
557         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
558         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
559         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
560         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
561         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
562         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
563         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
564         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
565         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
566         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
567         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
568         [X/Open-based standards] (SIGTRAP): Likewise.
569         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
570         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
571         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
572         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
573         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
574         allow.
576 2012-05-08  Ian Wienand  <ianw@vmware.com>
578         [BZ #14080]
579         * time/tzset.c (__tzset_parse_tz): Update default rules for
580         daylight time changes in the Energy Policy Act of 2005.
582 2012-05-09  Andreas Jaeger  <aj@suse.de>
584         [BZ #13983]
585         * elf/ldconfig.c (parse_conf): Change string to make clear that
586         ldconfig only issued a warning if ld.so.conf does not exist.
588 2012-05-08  David S. Miller  <davem@davemloft.net>
590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
591         movxtod instead of popping the value on the stack.
593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
595 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
597         * config.h.in: Add HAVE_ARM_PCS_VFP.
599 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
601         [BZ #13979]
602         * include/features.h: Warn if user requests __FORTIFY_SOURCE
603         checking but the checks are disabled for any reason.
605 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
607         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
608         and ELF64_R_TYPE with ELFW(R_TYPE).
610 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
612         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
613         (ulimit): Likewise.
615         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
616         (settimeofday): Likewise.
618 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
620         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
621         a struct th_u2 inside the union, and move tu_block/tu_code into
622         a new th_u3 union of tu_block/tu_code inside of that.  Move
623         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
624         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
625         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
626         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
627         (th_stuff): Change to th_u1.tu_stuff.
628         (th_data): Define.
629         (th_msg): Change to th_u1.th_u2.tu_data.
631 2012-05-07  David S. Miller  <davem@davemloft.net>
633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
635         [BZ #14074]
636         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
637         (SETUP_PIC_REG): Use it.
638         (SETUP_PIC_REG_LEAF): Use it.
640 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
642         [BZ #13885]
643         [BZ #13923]
644         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
645         USE_AS_EXPM1L.
646         (EXPL_FINITE): Likewise.
647         (FLDLOG): Likewise.
648         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
649         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
650         e_expl.S.
651         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
652         USE_AS_EXPM1L.
653         (EXPL_FINITE): Likewise.
654         (FLDLOG): Likewise.
655         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
656         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
657         e_expl.S.
658         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
659         test of -max_value argument for long double.
660         * sysdeps/i386/fpu/libm-test-ulps: Update.
661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
663 2012-05-06  David S. Miller  <davem@davemloft.net>
665         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
666         quad soft-float symbols whose references which are compiler
667         generated.
668         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
670 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
672         [BZ #13884]
673         [BZ #13914]
674         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
675         USE_AS_EXP10L.
676         (EXPL_FINITE): Likewise.
677         (FLDLOG): Likewise.
678         (c0): Likewise.
679         (c1): Likewise.
680         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
681         Adjust comments for base varying.
682         (__expl_finite): Change alias to EXPL_FINITE.
683         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
684         e_expl.S.
685         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
686         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
687         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
688         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
689         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
690         USE_AS_EXP10L.
691         (EXPL_FINITE): Likewise.
692         (FLDLOG): Likewise.
693         (c0): Likewise.
694         (c1): Likewise.
695         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
696         Adjust comments for base varying.
697         (__expl_finite): Change alias to EXPL_FINITE.
698         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
699         tests for bugs.
700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
702         [BZ #14064]
703         * math/libm-test.inc (check_float_internal): Correct ulp
704         calculation for subnormal expected results.
706 2012-05-06  Andreas Jaeger  <aj@suse.de>
708         * Makeconfig (+math-flags): New, set to -frounding-math.
709         (+cflags): Add +math-flags so that all of glibc gets compiled with
710         it.
712         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
714 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
716         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
717         Disable one test.
719         [BZ #13787]
720         [BZ #13922]
721         [BZ #14036]
722         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
723         (__ieee754_expl): Allow for and saturate large arguments.
724         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
725         (u_threshold): Likewise.
726         (__exp): Call __ieee754_exp before checking for overflow and
727         underflow.
728         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
729         (u_threshold): Likewise.
730         (__expf): Call __ieee754_expf before checking for overflow and
731         underflow.
732         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
733         (u_threshold): Likewise.
734         (__expl): Call __ieee754_expl before checking for overflow and
735         underflow.
736         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
737         (__ieee754_expl): Allow for and saturate large arguments.
738         * math/libm-test.inc (exp_test): Add another test.  Do not allow
739         missing overflow exception on overflow.
740         (expm1_test): Do not allow missing overflow exception on overflow.
742         * sysdeps/i386/fpu/e_expl.c: Move to ...
743         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
744         rather than using inline asm.
745         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
746         * sysdeps/x86_64/fpu/e_expl.S: Copy from
747         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
749         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
750         (nice): Likewise.
751         (poll): Likewise.
752         (signal): Likewise.
753         (time): Likewise.
754         (times): Likewise.
756 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
758         * sysdeps/unix/syscalls.list (adjtime): Add entry from
759         sysdeps/unix/common/syscalls.list.
760         (fchmod): Likewise.
761         (fchown): Likewise.
762         (ftruncate): Likewise.
763         (getrusage): Likewise.
764         (gettimeofday): Likewise.
765         (setpgid): Likewise.
766         (setregid): Likewise.
767         (setreuid): Likewise.
768         (sigaction): Likewise.
769         (truncate): Likewise.
770         (vhangup): Likewise.
771         * sysdeps/unix/common/syscalls.list: Remove file.
772         * sysdeps/unix/bsd/Implies: Don't include unix/common.
773         * sysdeps/unix/sysv/linux/Implies: Likewise.
775 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
777         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
779         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
780         Moved to ...
781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
782         Here.
783         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
784         to ...
785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
786         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
787         to ...
788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
789         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
790         to ...
791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
792         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
793         to ...
794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
795         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
796         to ...
797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
798         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
799         to ...
800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
801         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
802         to ...
803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
804         Here.
805         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
806         to ...
807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
808         Here.
809         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
810         to ...
811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
812         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
813         Moved to ...
814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
815         Here.
816         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
817         to ...
818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
820 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
822         * sysdeps/unix/common/bits/dirent.h: Remove file.
823         * sysdeps/unix/common/bits/fcntl.h: Likewise.
825         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
826         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
827         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
828         * sysdeps/unix/bsd/isatty.c: Likewise.
829         * sysdeps/unix/bsd/tcdrain.c: Likewise.
830         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
831         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
833 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
835         [BZ #13563]
836         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
837         long double comparison inaccuracies.
838         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
841 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
843         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
844         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
846 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
848         [BZ #14049]
849         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
850         nonzero digits before rounding a hex value.
851         * stdlib/tst-strtod.c (tests): Add another test.
853 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
855         * sysdeps/s390/fpu/libm-test-ulps: Update.
857 2012-05-03  Andreas Jaeger  <aj@suse.de>
859         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
860         does not get optimized out.
861         (malloc_opt_barrier): New.
863 2012-05-03  Andreas Jaeger  <aj@suse.de>
864             Roland McGrath  <roland@hack.frob.com>
866         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
867         intermediate file deletion.
868         (generated): Add .symlist files.
870 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
872         [BZ #13775]
873         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
874         Redirect under this condition.
875         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
876         [__USE_GNU] (__dprintf_chk): Not under this condition.
877         [__USE_GNU] (__vdprintf_chk): Likewise.
878         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
879         under this condition.
880         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
881         [__USE_XOPEN2K8] (dprintf): Define under this condition.
882         [__USE_XOPEN2K8] (vdprintf): Likewise.
883         [__USE_GNU] (__dprintf_chk): Not under this condition.
884         [__USE_GNU] (__vdprintf_chk): Likewise.
885         [__USE_GNU] (dprintf): Likewise.
886         [__USE_GNU] (vdprintf): Likewise.
888 2012-05-03  Roland McGrath  <roland@hack.frob.com>
890         * elf/Makefile (common-generated): Set this instead of generated for
891         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
892         $(all-built-dso)-derived lists.
894 2012-05-03  Andreas Jaeger  <aj@suse.de>
896         * sysdeps/i386/fpu/libm-test-ulps: Update.
898         * FAQ: Removed.
899         * FAQ.in: Likewise.
900         * scripts/gen-FAQ.pl: Likewise.
901         * manual/install.texi (Installation): Point to online location of
902         FAQ.
903         * Makefile (files-for-dist): Remove FAQ.
904         (FAQ): Remove.
906 2012-05-02  Allan McRae  <allan@archlinux.org>
908         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
909         (LDFLAGS-reldepmod5.so): Likewise.
910         (LDFLAGS-reldep6mod1.so): Likewise.
911         (LDFLAGS-reldep6mod4.so): Likewise.
912         (LDFLAGS-reldep8mod3.so): Likewise.
913         (LDFLAGS-unload4mod1.so): Likewise.
914         (LDFLAGS-unload4mod2.so): Likewise.
915         (LDFLAGS-tst-initorder): Likewise.
916         (LDFLAGS-tst-initordera2.so): Likewise.
917         (LDFLAGS-tst-initordera3.so): Likewise.
918         (LDFLAGS-tst-initordera4.so): Likewise.
919         (LDFLAGS-tst-initorderb2.so): Likewise.
920         (LDFLAGS-noload): Likewise.
921         (LDFLAGS-next): Likewise.
922         (LDFLAGS-order2mod1.so): Likewise.
923         (LDFLAGS-order2mod2.so): Likewise.
924         (LDFLAGS-tst-initorder2): Likewise.
925         (LDFLAGS-tst-initorder2a.so): Likewise.
926         (LDFLAGS-tst-initorder2b.so): Likewise.
927         (LDFLAGS-tst-initorder2c.so): Likewise.
928         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
930 2012-05-02  David S. Miller  <davem@davemloft.net>
932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
934 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
936         [BZ #14055]
937         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
939 2012-05-02  Andreas Jaeger  <aj@suse.de>
941         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
942         since we manipulate rounding mode.
943         (CPPFLAGS-test-idouble.c): Likewise.
944         (CPPFLAGS-test-ifloat.c): Likewise.
945         (CFLAGS-test-ldouble.c): Likewise.
946         (CFLAGS-test-double.c): Likewise.
947         (CFLAGS-test-float.c): Likewise.
948         (CFLAGS-test-misc.c): Likewise.
949         (CFLAGS-test-test-fenv.c): Likewise.
951 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
953         [BZ #2550]
954         [BZ #2570]
955         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
956         comparisons to determine direction to adjust input.
958 2012-05-01  Roland McGrath  <roland@hack.frob.com>
960         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
961         output to the target.
963         * scripts/localplt.awk: New file.
964         * elf/Makefile ($(objpfx)check-localplt): Target removed.
965         (check-localplt-CFLAGS): Variable removed.
966         ($(all-built-dso:=.jmprel)): New static pattern rule.
967         (generated): Add those targets.
968         (localplt-built-dso): New variable.
969         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
971         * elf/check-localplt.c: File removed.
973         * scripts/check-execstack.awk: New file.
974         * elf/Makefile ($(objpfx)check-execstack): Target removed.
975         (check-execstack-CFLAGS): Variable removed.
976         ($(objpfx)check-execstack.h): Target removed.
977         ($(objpfx)execstack-default): New target.
978         (generated): Add that instead of check-execstack.h.
979         ($(all-built-dso:=.phdr)): New static pattern rule.
980         (generated): Add those targets.
981         * elf/check-execstack.c: File removed.
983         * scripts/check-textrel.awk: New file.
984         * elf/Makefile ($(objpfx)check-textrel): Target removed.
985         (check-textrel-CFLAGS): Variable removed.
986         (all-built-dso): Use := to define.o
987         ($(all-built-dso:=.dyn)): New static pattern rule.
988         (generated): Add those targets.
989         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
990         * config.make.in (READELF): New substituted variable.
991         * elf/check-textrel.c: File removed.
993 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
995         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
996         allow.
997         * conform/data/ctype.h-data [C99-based standards] (isblank):
998         Expect function.
999         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1000         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1001         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1002         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1003         Specify type.  Require positive value.
1004         (EILSEQ): Likewise.
1005         (ERANGE): Likewise.
1006         [ISO || POSIX] (EILSEQ): Do not expect.
1007         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1008         Specify type.  Require positive value.
1009         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1010         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1011         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1012         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1013         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1014         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1015         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1016         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1017         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1018         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1019         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1020         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1021         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1022         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1023         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1024         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1025         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1026         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1027         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1028         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1029         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1030         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1031         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1032         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1033         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1034         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1035         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1036         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1037         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1038         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1039         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1040         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1041         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1042         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1043         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1044         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1045         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1046         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1047         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1048         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1049         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1050         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1051         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1052         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1053         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1054         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1055         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1056         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1057         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1058         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1059         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1060         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1061         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1062         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1063         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1064         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1065         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1066         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1067         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1068         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1069         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1070         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1071         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1072         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1073         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1074         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1075         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1076         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1077         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1078         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1079         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1080         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1081         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1082         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1083         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1084         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1085         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1086         Require >= 2.
1087         (FLT_ROUNDS): Expect as macro, not constant.
1088         (FLT_MANT_DIG): Use macro-int-constant.
1089         (DBL_MANT_DIG): Likewise.
1090         (LDBL_MANT_DIG): Likewise.
1091         (FLT_DIG): Likewise.
1092         (DBL_DIG): Likewise.
1093         (LDBL_DIG): Likewise.
1094         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
1095         (DBL_MIN_EXP): Likewise.
1096         (LDBL_MIN_EXP): Likewise.
1097         (FLT_MAX_EXP): Use macro-int-constant.
1098         (DBL_MAX_EXP): Likewise.
1099         (LDBL_MAX_EXP): Likewise.
1100         (FLT_MAX_10_EXP): Likewise.
1101         (DBL_MAX_10_EXP): Likewise.
1102         (LDBL_MAX_10_EXP): Likewise.
1103         (FLT_MAX): Use macro-constant.
1104         (DBL_MAX): Likewise.
1105         (LDBL_MAX): Likewise.
1106         (FLT_EPSILON): Use macro-constant.  Give upper bound.
1107         (DBL_EPSILON): Likewise.
1108         (LDBL_EPSILON): Likewise.
1109         (FLT_MIN): Likewise.
1110         (DBL_MIN): Likewise.
1111         (LDBL_MIN): Likewise.
1112         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1113         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1114         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1115         [ISO11] (FLT_HAS_SUBNORM): Likewise.
1116         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1117         [ISO11] (DBL_DECIMAL_DIG): Likewise.
1118         [ISO11] (FLT_DECIMAL_DIG): Likewise.
1119         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1120         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1121         [ISO11] (FLT_TRUE_MIN): Likewise.
1122         [ISO11] (LDBL_TRUE_MIN): Likewise.
1123         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1124         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1125         (SCHAR_MIN): Use macro-int-constant.  Specify type.
1126         (SCHAR_MAX): Likewise.
1127         (UCHAR_MAX): Likewise.
1128         (CHAR_MIN): Likewise.
1129         (CHAR_MAX): Likewise.
1130         (MB_LEN_MAX): Use macro-int-constant.
1131         (SHRT_MIN): Use macro-int-constant.  Specify type.
1132         (SHRT_MAX): Likewise.
1133         (USHRT_MAX): Likewise.
1134         (INT_MAX): Likewise.
1135         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
1136         bound negative.
1137         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1138         bound with "U".
1139         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1140         bound with "L".
1141         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
1142         bound negative.  Suffix upper bound with "L".
1143         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1144         bound with "UL".
1145         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1146         Specify type.
1147         [C99-based standards] (LLONG_MAX): Likewise.
1148         [C99-based standards] (ULLONG_MAX): Likewise.
1149         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
1150         == 0.
1151         [ISO11] (max_align_t): Require type.
1152         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1154         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1155         from $CFLAGS, without defining away __attribute__ calls.
1156         (checknamespace): Use $CFLAGS_namespace.
1158         * conform/conformtest.pl (@keywords): Only include C99 keywords
1159         for standards based on C99 or C11.
1161         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1162         Disable tests.
1163         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1164         UNIX98]: Likewise.
1166         * conform/conformtest.pl: Handle "macro-int-constant" and test for
1167         usability of symbols in #if.
1169         * conform/conformtest.pl: If macro or constant types start
1170         "promoted:", expect the symbol to be of the following type
1171         promoted by the integer promotions.
1173         * conform/conformtest.pl: Parse all "constant" and "macro" lines
1174         in one place.  Also handle "macro-constant".
1176         * conform/conformtest.pl: Only accept expected macro values with
1177         "==".  Parse all "macro" lines in one place.
1178         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1180         * conform/conformtest.pl: Handle braced types on "constant" lines
1181         instead of handling "typed-constant".
1182         * conform/data/signal.h-data: Use "constant" instead of
1183         "typed-constant".
1185         * conform/conformtest.pl: Handle "optional-" at start of lines in
1186         one place rather than duplicating several cases.  Handle each
1187         format of "macro" line with initial "optional-".
1189         * conform/conformtest.pl: Only accept expected constant or
1190         optional-constant values with "==".  Parse all "constant" lines in
1191         one place.  Parse all "optional-constant" lines in one place.
1192         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1193         * conform/data/fmtmsg.h-data: Likewise.
1194         * conform/data/netinet/in.h-data: Likewise.
1195         * conform/data/tar.h-data: Likewise.
1196         * conform/data/limits.h-data: Use "==" form on "constant" and
1197         "optional-constant" lines.
1199         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1200         Use -std=c99 for XOPEN2K.
1201         (@knownproblems): Remove.
1202         (newtoken): Don't check %isknown.
1204         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1205         Do not expect macro.
1206         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1207         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1208         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1209         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1210         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1211         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1212         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1213         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1214         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1215         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1216         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1217         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1218         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1219         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1220         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1221         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1222         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1223         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1224         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1225         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1226         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1227         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1228         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1229         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1230         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1231         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1232         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1233         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1234         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1235         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1236         [XPG3] (acosh): Likewise.
1237         [XPG3] (asinh): Likewise.
1238         [XPG3] (atanh): Likewise.
1239         [XPG3] (cbrt): Likewise.
1240         [XPG3] (expm1): Likewise.
1241         [XPG3] (ilogb): Likewise.
1242         [XPG3] (log1p): Likewise.
1243         [XPG3] (logb): Likewise.
1244         [XPG3] (nextafter): Likewise.
1245         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1246         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1247         [XPG3] (remainder): Likewise.
1248         [XPG3] (rint): Likewise.
1249         [XPG3 || XPG4 || UNIX98] (round): Likewise.
1250         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1251         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1252         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1253         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1254         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1255         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1256         [UNIX98 || XOPEN2K] (scalb): Expect.
1257         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1258         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1259         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1260         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1261         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1262         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1263         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1264         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1265         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1266         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1267         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1268         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1269         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1270         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1271         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1272         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1273         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1274         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1275         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1276         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1277         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1278         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1279         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1280         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1281         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1282         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1283         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1284         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1285         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1286         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1287         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1288         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1289         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1290         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1291         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1292         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1293         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1294         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1295         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1296         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1297         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1298         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1299         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1300         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1301         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1302         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1303         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1304         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1305         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1306         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1307         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1308         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1309         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1310         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1311         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1312         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1313         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1314         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1315         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1316         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1317         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1318         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1319         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1320         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1321         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1322         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1323         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1324         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1325         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1326         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1327         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1328         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1329         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1330         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1331         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1332         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1333         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1334         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1335         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1336         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1337         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1338         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1339         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1340         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1341         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1342         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1343         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1344         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1345         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1346         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1347         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1348         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1349         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1350         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1351         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1352         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1353         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1354         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1355         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1356         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1357         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1358         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1359         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1360         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1361         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1362         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1363         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1364         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1365         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1366         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1367         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1368         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1369         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1370         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1371         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1372         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1373         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1374         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1375         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1376         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1377         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1378         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1379         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1380         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1381         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1382         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1383         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1384         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1385         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1386         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1387         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1388         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1389         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1390         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1391         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1392         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1393         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1395         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1396         _XOPEN_SOURCE_EXTENDED for XPG4.
1398         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1400         * Makeconfig (localtime): Remove variable.
1401         (inst_localtime-file): Likewise.
1403 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1406         Update.
1407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1408         Update.
1409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1410         Update.
1411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1412         Update.
1413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1414         Update.
1415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1416         Update.
1417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1418         Update.
1419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1420         Update.
1421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1422         Update.
1424 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1426         [BZ #2550]
1427         [BZ #2570]
1428         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1429         comparisons to determine direction to adjust input.
1430         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1431         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1432         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1433         Likewise.
1434         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1435         Likewise.
1436         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1437         Likewise.
1438         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1439         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1440         Likewise.
1441         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1442         Likewise.
1443         * math/libm-test.inc (nexttoward_test): Add more tests.
1445 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1447         [BZ #14040]
1448         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1449         in version GLIBC_2.1, not GLIBC_2.0.
1450         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1451         Likewise.
1453 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
1455         [BZ #13942]
1456         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1457         (1 - x) * (1 + x).
1458         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1459         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1460         * math/libm-test.inc (acos_test): Add more tests.
1461         (asin_test): Likewise.
1462         * sysdeps/i386/fpu/libm-test-ulps: Update.
1463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1465         [BZ #14034]
1466         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1467         of square root.
1468         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1469         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1470         * math/libm-test.inc (acos_test_tonearest): New function.
1471         (acos_test_towardzero): Likewise.
1472         (acos_test_downward): Likewise.
1473         (acos_test_upward): Likewise.
1474         (asin_test_tonearest): Likewise.
1475         (asin_test_towardzero): Likewise.
1476         (asin_test_downward): Likewise.
1477         (asin_test_upward): Likewise.
1478         (main): Call the new functions.
1479         * sysdeps/i386/fpu/libm-test-ulps: Update.
1480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1482         [BZ #13884]
1483         [BZ #13924]
1484         * math/e_exp10.c: Include <float.h>.
1485         (__ieee754_exp10): Handle underflow here rather than multiplying
1486         large negative argument by M_LN10.
1487         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1488         of __ieee754_expf.
1489         * math/e_exp10l.c: Include <float.h>.
1490         (__ieee754_exp10l): Handle underflow here rather than multiplying
1491         large negative argument by M_LN10l.
1492         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
1493         spurious overflow exception on underflow.
1495 2012-04-29  Marek Polacek  <polacek@redhat.com>
1497         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1498         (__fortify_function): New macro.
1499         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1500         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1501         __extern_always_inline.
1502         * libio/bits/stdio2.h: Likewise.
1503         * libio/bits/stdio.h: Likewise.
1504         * string/string.h: Likewise.
1505         * string/bits/string3.h: Likewise.
1506         * include/stdio.h: Likewise.
1507         * stdlib/bits/stdlib.h: Likewise.
1508         * stdlib/stdlib.h: Likewise.
1509         * rt/bits/mqueue2.h: Likewise.
1510         * rt/mqueue.h: Likewise.
1511         * posix/bits/unistd.h: Likewise.
1512         * posix/unistd.h: Likewise.
1513         * io/bits/poll2.h: Likewise.
1514         * io/bits/fcntl2.h: Likewise.
1515         * io/fcntl.h: Likewise.
1516         * io/sys/poll.h: Likewise.
1517         * misc/bits/syslog.h: Likewise.
1518         * misc/bits/syslog-ldbl.h: Likewise.
1519         * misc/sys/syslog.h: Likewise.
1520         * socket/bits/socket2.h: Likewise.
1521         * socket/sys/socket.h: Likewise.
1522         * debug/tst-chk1.c: Likewise.
1523         * wcsmbs/bits/wchar2.h: Likewise.
1524         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1525         * wcsmbs/wchar.h: Likewise.
1527 2012-04-29  Andreas Jaeger  <aj@suse.de>
1529         * Makerules (tests): Remove enable-check-abi protection.
1530         (check-abi-warn): Remove.
1531         (check-abi-%): Remove check-abi-warn usage.
1533         * configure.in: Remove check-abi configure option.
1534         * configure: Regenerated.
1535         * config.make.in (enable-check-abi): Remove.
1537 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
1539         [BZ #14033]
1540         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1541         double functions to double *_finite functions.
1543         [BZ #13941]
1544         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1545         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1546         LDBL_MIN_EXP.
1547         * stdio-common/Makefile (tests): Add tst-sprintf3.
1548         * stdio-common/tst-sprintf3.c: New file.
1550         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1551         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1553 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1555         * conform/conformtest.pl: Remove duplicate typed-constant
1556         handling.
1558 2012-04-28  David S. Miller  <davem@davemloft.net>
1560         * Makerules (%.abilist): Add vpath on sysdep_dirs.
1561         (check-abi-%): Remove AWK script prerequisite and explicit
1562         abilist directory.
1563         (check-abi): Rewrite to just diff the symlist with the abilist.
1564         (config-tls, config-abi-config): Delete, no longer used.
1565         (update-abi-%): Remove AWK script and explicit abilist directory.
1566         (update-abi): Rewrite to simply compare and conditionally copy the
1567         symlist and the sysdep abilist file.  Remove update-abi-config
1568         checks.
1569         * abilist/ld.abilist: Remove.
1570         * abilist/libBrokenLocale.abilist: Remove.
1571         * abilist/libanl.abilist: Remove.
1572         * abilist/libcrypt.abilist: Remove.
1573         * abilist/libdl.abilist: Remove.
1574         * abilist/librt.abilist: Remove.
1575         * abilist/libthread_db.abilist: Remove.
1576         * abilist/libutil.abilist: Remove.
1577         * scripts/extract-abilist.awk: Remove.
1578         * scripts/merge-abilist.awk: Remove.
1579         * sysdeps/generic/libcidn.abilist: New file.
1580         * sysdeps/generic/libnss_compat.abilist: New file.
1581         * sysdeps/generic/libnss_db.abilist: New file.
1582         * sysdeps/generic/libnss_dns.abilist: New file.
1583         * sysdeps/generic/libnss_files.abilist: New file.
1584         * sysdeps/generic/libnss_hesiod.abilist: New file.
1585         * sysdeps/generic/libnss_nis.abilist: New file.
1586         * sysdeps/generic/libnss_nisplus.abilist: New file.
1587         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1588         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1589         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1590         file.
1591         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1592         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1593         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1594         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1595         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1596         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1597         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1598         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1599         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1600         file.
1601         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1602         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1603         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1604         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1605         file.
1606         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1607         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1608         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1609         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1610         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1611         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1612         file.
1613         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1614         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1615         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1616         file.
1617         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1618         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1619         New file.
1620         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1621         New file.
1622         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1623         New file.
1624         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1625         New file.
1626         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1627         New file.
1628         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1629         New file.
1630         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1631         New file.
1632         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1633         New file.
1634         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1635         New file.
1636         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1637         New file.
1638         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1639         New file.
1640         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1641         New file.
1642         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1643         New file.
1644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1645         file.
1646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1647         New file.
1648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1649         New file.
1650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1651         file.
1652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1653         New file.
1654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1655         New file.
1656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1657         file.
1658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1659         New file.
1660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1661         New file.
1662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1663         New file.
1664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1665         New file.
1666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1667         New file.
1668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1669         New file.
1670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1672         file.
1673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1674         New file.
1675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1676         file.
1677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1678         file.
1679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1680         file.
1681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1682         file.
1683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1684         file.
1685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1686         New file.
1687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1688         file.
1689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1690         file.
1691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1692         New file.
1693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1694         file.
1695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1697         file.
1698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1699         New file.
1700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1701         file.
1702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1703         file.
1704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1705         file.
1706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1707         file.
1708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1709         file.
1710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1711         New file.
1712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1713         file.
1714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1715         file.
1716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1717         New file.
1718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1719         file.
1720         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1721         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1722         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1723         file.
1724         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1725         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1726         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1727         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1728         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1729         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1730         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1731         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1732         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1733         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1736         file.
1737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1738         New file.
1739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1740         file.
1741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1742         file.
1743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1744         file.
1745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1746         file.
1747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1748         file.
1749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1750         New file.
1751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1752         New file.
1753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1754         file.
1755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1756         New file.
1757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1758         file.
1759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1761         file.
1762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1763         New file.
1764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1765         file.
1766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1767         file.
1768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1769         file.
1770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1771         file.
1772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1773         file.
1774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1775         New file.
1776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1777         New file.
1778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1779         file.
1780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1781         New file.
1782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1783         file.
1785 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1787         * conform/conformtest.pl: Fix typo in handling typed-constant from
1788         allow-header.
1790 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1792         * README: Cut down references to pre-2.6 Linux kernels and
1793         Linuxthreads.  Update lists of configurations in libc and ports
1794         and sort alphabetically.  Say "or newer" with Linux kernel version
1795         requirements.
1797         * config.h.in [IS_IN_build]: Allow compiling without optimization.
1799 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1801         [BZ #887]
1802         * math/libm-test.inc (logb_test_downward): New test to expose
1803         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1804         rounding mode.
1806 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1808         [BZ #14027]
1809         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1810         to be done.
1811         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1812         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1814 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1816         * sysdeps/unix/i386/brk.S: Remove file.
1817         * sysdeps/unix/i386/dl-brk.S: Likewise.
1818         * sysdeps/unix/i386/pipe.S: Likewise.
1819         * sysdeps/unix/i386/sigreturn.S: Likewise.
1820         * sysdeps/unix/i386/syscall.S: Likewise.
1821         * sysdeps/unix/i386/vfork.S: Likewise.
1822         * sysdeps/unix/i386/wait.S: Likewise.
1824         * sysdeps/unix/common/tcsendbrk.c: Move to ...
1825         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1827         * configure.in (arm*-none*): Do not allow without
1828         --enable-hacker-mode.
1829         (netbsd*): Remove case setting base_os.
1830         (386bsd*): Likewise.
1831         (freebsd*): Likewise.
1832         (bsdi*): Likewise.
1833         (osf*): Likewise.
1834         (sunos*): Likewise.
1835         (ultrix*): Likewise.
1836         (newsos*): Likewise.
1837         (dynix*): Likewise.
1838         (*bsd*): Likewise.
1839         (sysv*): Likewise.
1840         (isc*): Likewise.
1841         (esix*): Likewise.
1842         (sco*): Likewise.
1843         (minix*): Likewise.
1844         (irix4*): Likewise.
1845         (irix6*): Likewise.
1846         (solaris[2-9]*): Likewise.
1847         (none): Likewise.
1848         * configure: Regenerated.
1850 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1852         [BZ #11521]
1853         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1854         overflow or cancellation in calculating denominator.
1855         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1856         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1857         down expression to avoid unexpected rounding in newer GCCs.
1858         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1860 2012-04-26  David S. Miller  <davem@davemloft.net>
1862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1863         long-double compat symbols.
1864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1878 2012-04-25  David S. Miller  <davem@davemloft.net>
1880         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1881         HWCAP_* values only after the memory barriers have been defined.
1882         (atomic_full_barrier): Define.
1883         (atomic_read_barrier): Define.
1884         (atomic_write_barrier): Define.
1886 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1888         * shlib-versions: Add libgcc_s version information.
1889         * sysdeps/generic/libgcc_s.h: Remove.
1890         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1891         libgcc_s.h.
1892         * sysdeps/gnu/unwind-resume.c: Likewise.
1893         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1895 2012-04-25  David S. Miller  <davem@davemloft.net>
1897         * sysdeps/unix/sparc/brk.S: Delete.
1898         * sysdeps/unix/sparc/dl-brk.S: Delete.
1899         * sysdeps/unix/sparc/pipe.S: Delete.
1900         * sysdeps/unix/sparc/sysdep.S: Delete.
1901         * sysdeps/unix/sparc/sysdep.h: Delete.
1902         * sysdeps/unix/sparc/vfork.S: Delete.
1903         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1904         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1905         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1906         ret_ERRVAL, r0, r1, MOVE): Define.
1907         (JUMPTARGET): Remove.
1908         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1909         sysdeps/unix/sparc/sysdep.h
1910         (ENTRY, END): Remove.
1911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1913 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
1915         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1916         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1917         -DIS_IN_build.
1919         * timezone/README: Update upstream location and email address for
1920         tzcode and tzdata.
1921         * timezone/zdump.c: Update from tzcode 2012b.
1922         * timezone/zic.c: Likewise.
1924         * configure.in (libc_cv_as_needed): Remove test.
1925         * configure: Regenerated.
1926         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1927         conditional definition.
1928         [$(have-as-needed) != yes] (no-as-needed): Likewise.
1929         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1930         * config.make.in (have-as-needed): Remove variable.
1932 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1933             Paul Pluzhnikov  <ppluzhnikov@google.com>
1935         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1936         strings correctly.
1938 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1940         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1941         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1942         * sysdeps/sh/strlen.S: Likewise.
1944 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1946         * sysdeps/unix/fork.S: Remove file.
1947         * sysdeps/unix/i386/fork.S: Likewise.
1948         * sysdeps/unix/sparc/fork.S: Likewise.
1950         * sysdeps/unix/system.c: Remove file.
1951         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1953         * sysdeps/unix/getegid.S: Remove file.
1954         * sysdeps/unix/geteuid.S: Likewise.
1956 2012-04-24  Roland McGrath  <roland@hack.frob.com>
1958         * scripts/check-localplt.awk: New file.
1959         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1960         of diff.
1961         * scripts/data/localplt-generic.data: Add a comment.
1963         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1964         NODE when __dir_mkfile failed.
1965         * sysdeps/mach/hurd/symlinkat.c: Likewise.
1966         Reported by Ludovic Courtès <ludo@gnu.org>.
1968 2012-04-24  Andreas Jaeger  <aj@suse.de>
1970         * Makerules (common-clean): Also remove gen-as-const-headers
1971         files.
1973 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1975         * Makerules (native-compile): Do not change working directory for
1976         build.  Use $(OUTPUT_OPTION) in command.
1977         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1979 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1981         [BZ #13886]
1982         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1983         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1984         * math/libm-test.inc (floor_test): Add more tests.
1985         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1987 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1989         * sysdeps/unix/getdents.c: Remove file.
1990         * sysdeps/unix/sysv/getdents.c: Likewise.
1991         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1993         * sysdeps/unix/syscalls.list (madvise): Add syscall from
1994         sysdeps/unix/mman/syscalls.list.
1995         (mmap): Likewise.
1996         (mprotect): Likewise.
1997         (msync): Likewise.
1998         (munmap): Likewise.
1999         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2000         * sysdeps/unix/mman/syscalls.list: Remove.
2001         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2003         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2004         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2005         * configure: Regenerated.
2006         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2007         $(libgcc_s_suffix).
2008         * config.make.in (libgcc_s_suffix): Remove variable.
2010 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
2012         * sysdeps/unix/sysv/gethostname.c: Move to ...
2013         * sysdeps/posix/gethostname.c: ... here.
2015         * sysdeps/unix/execve.S: Remove file.
2017         * sysdeps/unix/_exit.S: Remove file.
2019 2012-04-23  Andreas Jaeger  <aj@suse.de>
2021         [BZ #13739]
2022         * manual/Makefile: Remove make dist support, there's no
2023         need for a stand-alone documentation tar ball.
2024         (TEXI2DVI): Define always, it's not in Makeconfig.
2025         (dist): Removed.
2026         (tar-it): Removed.
2027         (edition): Removed.
2028         (glibc-doc-$(edition).tar): Removed
2029         (%.Z): Removed.
2030         (%.gz): Removed.
2031         (%.uu): Removed.
2032         (ETAGS): Remove, it's in Makeconfig.
2033         (move-if-change): Remove, it's in Makeconfig.
2035 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
2037         [BZ #13970]
2038         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2039         (strtod, strtof, strtold, strtol, strtoul, strtoq)
2040         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2041         (strtod_l, strtof_l, strtold_l): Remove __wur.
2042         It is not necessarily an error to ignore strtol's return value.
2043         One can reliably look at the stored endptr to decide whether
2044         the number had valid syntax.
2046 2012-04-21  Andreas Jaeger  <aj@suse.de>
2048         [BZ #13739]
2049         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2051 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
2053         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2054         * sysdeps/unix/sysv/Versions: Remove file.
2056 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
2058         [BZ #13927]
2059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2061 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
2063         [BZ #7064]
2064         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2065         version from __vm86.
2067 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
2069         * sysdeps/unix/common/lxstat.c: Remove file.
2070         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2072         * sysdeps/unix/sysv/Makefile: Remove file.
2074         * sysdeps/unix/sysv/direct.h: Remove file.
2076         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2077         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2078         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2079         * sysdeps/unix/sysv/bits/signum.h: Likewise.
2080         * sysdeps/unix/sysv/bits/stat.h: Likewise.
2081         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2082         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2084         * sysdeps/unix/sysv/setrlimit.c: Remove file.
2086         * sysdeps/unix/xmknod.c: Remove file.
2087         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2089         * sysdeps/unix/sysv/settimeofday.c: Remove file.
2091         * sysdeps/unix/sysv/i386/time.S: Remove file.
2093         * sysdeps/unix/fxstat.c: Remove file.
2094         * sysdeps/unix/xstat.c: Likewise.
2095         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2097         * sysdeps/unix/sysv/sigaction.c: Remove file.
2099         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2100         (sysdep_headers): Remove variable.
2101         [termio.h not in sysdep_headers] (generated): Likewise.
2102         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2103         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2104         * sysdeps/unix/sysv/tcdrain.c: Likewise.
2105         * sysdeps/unix/sysv/tcflow.c: Likewise.
2106         * sysdeps/unix/sysv/tcflush.c: Likewise.
2107         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2108         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2109         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2110         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2111         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2113         * sysdeps/unix/siglist.c: Remove file.
2115         * sysdeps/unix/getppid.S: Remove file.
2117         * sysdeps/unix/mkdir.c: Remove file.
2118         * sysdeps/unix/rmdir.c: Likewise.
2120 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
2122         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2123         ERR_MAX value.
2124         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2125         errlist-compat value.
2127 2012-04-18  David S. Miller  <davem@davemloft.net>
2129         * sysdeps/generic/memcopy.h (reg_char): Delete.
2130         * debug/strcat_chk.c: Use char, not reg_char.
2131         * debug/strcpy_chk.c: Likewise.
2132         * debug/strncat_chk.c: Likewise.
2133         * debug/strncpy_chk.c: Likewise.
2134         * string/memchr.c: Likewise.
2135         * string/memrchr.c: Likewise.
2136         * string/rawmemchr.c: Likewise.
2137         * string/strcat.c: Likewise.
2138         * string/strchr.c: Likewise.
2139         * string/strchrnul.c: Likewise.
2140         * string/strcmp.c: Likewise.
2141         * string/strcpy.c: Likewise.
2142         * string/strncat.c: Likewise.
2143         * string/strncmp.c: Likewise.
2144         * string/strncpy.c: Likewise.
2146 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2148         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2149         __builtin_memcopy is called when src and dest ranges are known to not
2150         overlap.
2152 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2154         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2155         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2156         fwd_align_merge macro call.
2157         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2158         bwd_align_merge macro call.
2159         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2161 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2163         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2164         bwd_align_merge macros.
2165         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2166         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2167         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2169 2012-04-18  David S. Miller  <davem@davemloft.net>
2171         * sysdeps/sparc/sparc64/memcopy.h: Delete.
2173 2012-04-18  Andreas Jaeger  <aj@suse.de>
2175         [BZ# 6794]
2176         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2177         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2178         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2180         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2181         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2182         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2184         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2185         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2186         Adjust for changed ldbl-128 files.
2188         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2189         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2190         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2192 2012-04-17  David S. Miller  <davem@davemloft.net>
2194         * sysdeps/sparc/sparc32/memcopy.h: Delete.
2196 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
2198         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2199         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2200         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2201         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2202         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2203         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2205 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2207         [BZ #6794]
2208         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2209         * math/libm-test.inc: Add ilogb errno and exception tests.
2210         * math/w_ilogb.c: New file: ilogb wrapper.
2211         * math/w_ilogbf.c: New file: ilogbf wrapper.
2212         * math/w_ilogbl.c: New file: ilogbl wrapper.
2213         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2214         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2215         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2216         exception being thrown with 0.0 as argument.
2217         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2218         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2219         exception being thrown with 0.0 as argument.
2220         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2221         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2222         exception being thrown with 0.0 as argument.
2223         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2224         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2225         exception being thrown with 0.0 as argument.
2226         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2227         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2228         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2229         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2230         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2231         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2232         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2233         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2234         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2236 2012-04-17  Petr Baudis  <pasky@ucw.cz>
2238         * include/sys/uio.h: Change __vector to __iovec to avoid clash
2239         with altivec.
2241 2012-04-16  Marek Polacek  <polacek@redhat.com>
2243         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2245 2012-04-16  Marek Polacek  <polacek@redhat.com>
2247         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2248         operands of fdivp instruction.
2250 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
2252         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2253         * elf/tst-auditmod3b.c: Likewise.
2254         * elf/tst-auditmod4b.c: Likewise.
2255         * elf/tst-auditmod5b.c: Likewise.
2256         * elf/tst-auditmod6b.c: Likewise.
2257         * elf/tst-auditmod6c.c: Likewise.
2258         * elf/tst-auditmod7b.c: Likewise.
2259         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2260         * sysdeps/x86_64/preconfigure.in: Likewise.
2261         * sysdeps/x86_64/preconfigure: Regenerated.
2263 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
2265         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2266         __ILP32__.
2268 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
2270         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2271         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2273 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
2275         [BZ #13973]
2276         * locale/iso-639.def: Fix gl language name. Spotted by
2277         Yaron Shahrabani.
2279 2012-04-12  Roland McGrath  <roland@hack.frob.com>
2281         [BZ #2074]
2282         * libio/libio.h (__io_write_fn): Update comment.
2284 2012-04-12  Petr Baudis  <pasky@ucw.cz>
2286         [BZ #2074]
2287         * stdio.texi (Hook Functions): The user provided writer function
2288         is not allowed to return -1.
2290 2012-04-11  David S. Miller  <davem@davemloft.net>
2292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2294 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
2296         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2297         Add a leading slash to rtkaio.
2299 2012-04-11  Jim Meyering  <meyering@redhat.com>
2301         [BZ #11959]
2302         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2303         It is not necessarily an error to ignore fwrite's return
2304         value.  One can reliably use ferror to test for errors after
2305         the fact.
2307 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2309         * bits/types.h (__snseconds_t): New type.
2310         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2312         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2313         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2314         (__SNSECONDS_T_TYPE): Likewise.
2315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2316         (__SNSECONDS_T_TYPE): Likewise.
2317         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2318         (__SNSECONDS_T_TYPE): Likewise.
2320 2012-04-10  Andreas Jaeger  <aj@suse.de>
2322         [BZ #2636]
2323         * manual/time.texi (Processor Time): Return type of times is
2324         elapsed real time since an arbitrary point in the past.
2325         (CPU Time): Move CLK_TCK from here...
2326         (Processor Time): ...to here.  Correct description.
2327         * manual/conf.texi (Constants for Sysconf): Correct description of
2328         _SC_CLK_TCK.
2330 2012-04-10  David S. Miller  <davem@davemloft.net>
2332         [BZ #13967]
2333         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2334         where the is a gap between DT_REL(A) and DT_JMPREL.
2336 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2338         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2339         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2340         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2342 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2344         * elf/dl-support.c (_dl_inhibit_cache): New variable.
2345         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2346         (dl_main): Handle --inhibit-cache.
2347         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2348         _dl_inhibit_cache.
2349         * elf/dl-load.c (_dl_map_object): Use it.
2350         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2352 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2354         [BZ #13872]
2355         * sysdeps/i386/fpu/e_powl.S (p78): New object.
2356         (__ieee754_powl): Saturate large exponents rather than testing for
2357         overflow of y*log2(x).
2358         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2359         * math/libm-test.inc (pow_test): Do not permit spurious overflow
2360         exceptions.
2362         [BZ #11521]
2363         * math/s_ctan.c: Include <float.h>.
2364         (__ctan): Avoid internal overflow or cancellation in calculating
2365         denominator.
2366         * math/s_ctanf.c: Likewise.
2367         * math/s_ctanl.c: Likewise.
2368         * math/s_ctanh.c: Likewise.
2369         * math/s_ctanhf.c: Likewise.
2370         * math/s_ctanhl.c: Likewise.
2371         * math/libm-test.inc (ctan_test): Add more tests.
2372         (ctanh_test): Likewise.
2373         * sysdeps/i386/fpu/libm-test-ulps: Update.
2374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2376 2012-04-09  Andreas Jaeger  <aj@suse.de>
2378         [BZ #6894]
2379         * manual/filesys.texi (Directory Entries): Mention that d_namlen
2380         is an optional BSD extension.
2382         [BZ #10254]
2383         * manual/stdio.texi (Opening Streams): Document additional fopen
2384         parameters.
2386 2012-04-09  Roland McGrath  <roland@hack.frob.com>
2388         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2389         %eax without telling the compiler.
2391 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
2393         [BZ # 13963]
2394         * manual/install.texi: Use sourceware.org.
2396 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2398         [BZ #13873]
2399         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2400         (__ieee754_pow): Generate overflow and underflow using huge*huge
2401         and tiny*tiny rather than just returning constant infinity or zero
2402         for large exponents.
2403         * math/libm-test.inc (pow_test): Require overflow exceptions for
2404         applicable cases of large exponents.
2406         [BZ #706]
2407         * sysdeps/i386/fpu/e_pow.S (p10): New object.
2408         (__ieee754_pow): Use iterative multiplication algorithm only for
2409         integer exponents with absolute value below 1024.  Check for odd
2410         integer exponents when using algorithm for real exponents.
2411         * math/libm-test.inc (pow_test): Add more tests.
2412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2414 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
2416         [BZ #13705]
2417         * math/libm-test.inc (exp_test): Do not allow overflow exception
2418         on underflow test.
2420 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
2422         [BZ #13705]
2423         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2424         instead of __kernel_standard_f.
2426 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
2428         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2429         * sysdeps/x86_64/memset_chk.S: Likewise.
2431 2012-04-08  Andreas Jaeger  <aj@suse.de>
2433         [BZ #10153]
2434         * manual/startup.texi (Environment Access): Describe return value
2435         for putenv and setenv.
2437         [BZ #6895]
2438         * manual/filesys.texi (Directory Entries): Add description for
2439         DT_LNK.
2441         [BZ #6890]
2442         * manual/filesys.texi (Directory Entries): Clarify that it's file
2443         system not operating system in the description of DT_UNKNOWN.
2445         [BZ #6578]
2446         * manual/syslog.texi (closelog): Fix reference, it's openlog.
2448 2012-04-08  Stephen Compall  <s11@member.fsf.org>
2450         [BZ #6649]
2451         * manual/llio.texi (Opening and Closing Files): Add cross
2452         reference to explain mode argument.
2454 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
2456         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2457         * sysdeps/x86_64/memset_chk.S: Likewise.
2459 2012-04-07  David S. Miller  <davem@davemloft.net>
2461         * elf/elf.h (R_SPARC_WDISP10): Define.
2462         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2463         R_SPARC_SIZE32.
2464         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2465         R_SPARC_SIZE64 and R_SPARC_H34.
2467 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
2469         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2470         conditions and remove no longer applicable assertion.
2472 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2474         * bits/byteswap.h: Include <features.h>.
2475         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2476         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2478 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2480         * bits/byteswap.h (__bswap_16): Removed.
2481         Include <bits/byteswap-16.h> to get __bswap_16.
2482         * sysdeps/i386/bits/byteswap.h: Likewise.
2483         * sysdeps/s390/bits/byteswap.h: Likewise.
2484         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2485         * bits/byteswap-16.h: New file.
2486         * sysdeps/i386/bits/byteswap-16.h: Likewise.
2487         * sysdeps/s390/bits/byteswap-16.h: Likewise.
2488         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2489         * string/Makefile (headers): Add bits/byteswap-16.h.
2491 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2493         [BZ #13895]
2494         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2495         extra indirection.
2496         * nss/Makefile (tests-static, tests): Add tst-nss-static.
2497         * nss/tst-nss-static.c: New.
2499 2012-04-06  Robert Millan  <rmh@gnu.org>
2501         [BZ #6486]
2502         * manual/llio.texi (File Position Primitive): lseek
2503         refers to WHENCE when it really means OFFSET.
2505 2012-04-06  Andreas Jaeger  <aj@suse.de>
2507         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2508         strncmp declarations.
2510         * abilist/libc.abilist: Add __poll and __ppoll.
2512 2012-04-05  David S. Miller  <davem@davemloft.net>
2514         * scripts/check-local-headers.sh: Accept a host triplet in the
2515         path matched by the exclude regexp.
2517         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2518         definition.
2519         * sysdeps/powerpc/powerpc32/dl-machine.h
2520         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2521         * sysdeps/s390/s390-32/dl-machine.h
2522         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2523         * sysdeps/sparc/sparc32/dl-machine.h
2524         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2525         * sysdeps/sparc/sparc64/dl-machine.h
2526         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2528         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2529         lazy binding.
2530         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2531         undefined symbol errors.
2533         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2534         DT_NEEDED entries.
2536 2012-04-05  Michael Matz  <matz@suse.de>
2538         [BZ #13592]
2539         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2541 2012-04-05  Andreas Jaeger  <aj@suse.de>
2543         [BZ #13908]
2544         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2545         comment.
2547 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2549         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2550         which ROUND is no valid rounding mode.
2552 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2554         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2555         read again.
2556         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2558 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2560         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2561         an exception using FPU order intentionally.
2563 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2565         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2566         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2567         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2568         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2570 2012-04-05  Simon Josefsson  <simon@josefsson.org>
2572         [BZ #12340]
2573         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2574         EINVAL when BUFLEN is too smal.
2576 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
2578         [BZ #13553]
2579         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2580         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2582 2012-04-03  Andreas Jaeger  <aj@suse.de>
2584         [BZ #13938]
2585         * manual/setjmp.texi (System V contexts): Fix sentence.
2587         [BZ #13926]
2588         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2589         New macro for this case.
2590         [!__GNUC__] (__bswap_64): New inline function for this case.
2591         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2592         * bits/byteswap.h: Likewise.
2593         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2594         ull, guard with __GLIBC_HAVE_LONG_LONG.
2596         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2597         __GLIBC_HAVE_LONG_LONG.
2599         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2600         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2602 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2604         [BZ #13691]
2605         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2606         inptr and inend, rather than using last_ch.
2608 2012-04-02  David S. Miller  <davem@davemloft.net>
2610         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2611         * stdio-common/printf-parse.h (read_int): Change return type to
2612         'int', return -1 on INT_MAX overflow.
2613         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2614         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
2615         overflows INT_MAX.  Check for overflow of in-format-string precision
2616         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
2617         SIZE_MAX not INT_MAX for integer overflow test.
2618         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2619         skip the construct in the format string but do not record anything.
2620         * stdio-common/bug22.c: Adjust to test both width/prevision
2621         INT_MAX overflow as well as total length INT_MAX overflow.  Check
2622         explicitly for proper errno values.
2624 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
2626         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2627         CHAR_MAX.
2628         * string/test-strcmp.c [! WIDE]: Likewise.
2629         * time/tst-mktime2.c: Likewise for INT_MAX.
2630         * string/test-string.h: #include <sys/param.h> for MIN.
2632         * csu/init-first.c (__libc_init_first): Call __ctype_init.
2633         * sysdeps/i386/init-first.c (init): Likewise.
2634         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2635         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2636         * sysdeps/sh/init-first.c (init): Likewise.
2638 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
2640         * po/ru.po: Update from translation team.
2641         * po/vi.po: Likewise.
2643 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2645         * resolv/nss_dns/dns-host.c: Merge copyright years.
2647 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2649         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2650         Optimize memcpy with prefetch if
2651         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
2652         src, dst pointers have unequal 16 byte alignments.
2654 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2656         [BZ #13928]
2657         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2658         from a CNAME entry and return the minimum ttl for the query.
2659         (gaih_getanswer_slice): Likewise.
2661 2012-03-30  Jeff Law  <law@redhat.com>
2663         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2664         due to long keys.
2665         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2666         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2668         * resolv/nss_dns/dns-host.c: Update copyright year.
2670 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
2672         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2673         requests to save a system call.  Fix check that all bytes are sent.
2675         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2676         comments for sendmmsg.
2678 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2680         [BZ #13691]
2681         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2682         with only 1 character between 0x0041 and 0x01b0.
2683         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2684         * wcsmbs/tst-mbsnrtowcs.c: New file.
2686 2012-03-29  David S. Miller  <davem@davemloft.net>
2688         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2689         small copies by hand.
2691 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2693         [BZ #13761]
2694         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2695         _nss_compat_initgroups_dyn): Fall back to malloc/free
2696         for large group memberships.
2698 2012-03-28  David S. Miller  <davem@davemloft.net>
2700         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2701         that branches into memcpy.
2702         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2703         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2704         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2705         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2706         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2707         bits.
2708         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2709         implementation too.
2710         * sysdeps/sparc/mempcpy.S: New file.
2712         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2713         the IFUNC routine in the libc case.
2714         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2716         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2717         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2718         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2719         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2720         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2721         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2722         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2723         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2725         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2726         loop to 256 bytes instead of 64 bytes and fix test signedness.
2728         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2729         * sysdeps/sparc/sparc32/Makefile: rather than here...
2730         * sysdeps/sparc/sparc64/Makefile: and here.
2732 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
2734         * malloc/mallocbug.c: Avoid warnings about unused variables.
2736 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2738         [BZ #13760]
2739         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2740         in the right place. Discard and retry query if response is
2741         larger than input buffer size.
2743 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
2745         [BZ #369]
2746         [BZ #2678]
2747         [BZ #3866]
2748         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2749         x for large integer exponent.
2750         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2751         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
2752         sign of result as needed afterwards.
2753         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2754         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2755         result for underflowing pow the same as for overflow.
2756         (__kernel_standard_l): Handle powl overflow and underflow here
2757         rather than calling __kernel_standard.
2758         * math/libm-test.inc (pow_test): Add more tests.
2760         [BZ #3868]
2761         [BZ #13879]
2762         [BZ #13910]
2763         [BZ #13911]
2764         [BZ #13912]
2765         [BZ #13913]
2766         [BZ #13915]
2767         [BZ #13916]
2768         [BZ #13917]
2769         [BZ #13918]
2770         [BZ #13919]
2771         [BZ #13920]
2772         [BZ #13921]
2773         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2774         * sysdeps/ieee754/k_standard.c: Include <float.h>.
2775         (__kernel_standard_l): New function.
2776         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2777         __kernel_standard.
2778         * math/w_acosl.c (__acosl): Likewise.
2779         * math/w_asinl.c (__asinl): Likewise.
2780         * math/w_atan2l.c (__atan2l): Likewise.
2781         * math/w_atanhl.c (__atanhl): Likewise.
2782         * math/w_coshl.c (__coshl): Likewise.
2783         * math/w_exp10l.c (__exp10l): Likewise.
2784         * math/w_exp2l.c (__exp2l): Likewise.
2785         * math/w_fmodl.c (__fmodl): Likewise.
2786         * math/w_hypotl.c (__hypotl): Likewise.
2787         * math/w_j0l.c (__j0l, __y0l): Likewise.
2788         * math/w_j1l.c (__j1l, __y1l): Likewise.
2789         * math/w_jnl.c (__jnl, __ynl): Likewise.
2790         * math/w_lgammal.c (__lgammal): Likewise.
2791         * math/w_log10l.c (__log10l): Likewise.
2792         * math/w_log2l.c (__log2l): Likewise.
2793         * math/w_logl.c (__logl): Likewise.
2794         * math/w_powl.c (__powl): Likewise.
2795         * math/w_remainderl.c (__remainderl): Likewise.
2796         * math/w_scalbl.c (sysv_scalbl): Likewise.
2797         * math/w_sinhl.c (__sinhl): Likewise.
2798         * math/w_sqrtl.c (__sqrtl): Likewise.
2799         * math/w_tgammal.c (__tgammal): Likewise.
2800         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2801         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2802         * math/libm-test.inc (acos_test): Add more tests.
2803         (acosh_test): Likewise.
2804         (asin_test): Likewise.
2805         (atanh_test): Likewise.
2806         (exp_test): Likewise.
2807         (exp10_test): Likewise.
2808         (exp2_test): Likewise.
2809         (expm1_test): Likewise.
2810         (lgamma_test): Likewise.
2811         (log_test): Likewise.
2812         (log10_test): Likewise.
2813         (log1p_test): Likewise.
2814         (log2_test): Likewise.
2815         (pow_test): Do not allow some spurious overflow exceptions.
2816         (sqrt_test): Add more tests.
2817         (tgamma_test): Likewise.
2818         (y0_test): Likewise.
2819         (y1_test): Likewise.
2820         (yn_test): Likewise.
2822 2012-03-27  Anton Blanchard  <anton@samba.org>
2824         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2825         MAP_HUGETLB.
2826         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2827         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2828         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2830 2012-03-27  David S. Miller  <davem@davemloft.net>
2832         * conform/Makefile: Run run-conformtest.sh using $(BASH).
2834         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2835         have-as-vis3 check.
2837 2012-03-27  Andreas Jaeger  <aj@suse.de>
2839         * sysdeps/x86_64/elf/configure.in: Moved to ...
2840         * sysdeps/x86_64/configure.in: ... here.
2841         * sysdeps/x86_64/elf/start.S: Moved to ...
2842         * sysdeps/x86_64/start.S: ... here.
2843         * sysdeps/x86_64/elf/configure: Delete.
2845         * sysdeps/x86_64/configure.in: Merge contents from
2846         sysdeps/i386/configure.in (without i686 check).
2848         * sysdeps/i386/elf/Versions: Merge into ...
2849         * sysdeps/i386/Versions: ... this.
2850         * sysdeps/i386/elf/Versions: Delete file.
2851         * sysdeps/i386/elf/start.S: Moved to ...
2852         * sysdeps/i386/start.S: ...here.
2853         * sysdeps/i386/elf/configure.in: Merge into...
2854         * sysdeps/i386/configure.in: ...here.
2855         * sysdeps/i386/elf/configure.in: Delete file.
2856         * sysdeps/i386/elf/configure: Delete file.
2858         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2859         * debug/backtracesyms.c: ... here.
2860         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2861         * debug/backtracesymsfd.c: ... here.
2862         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2863         * sysdeps/generic/ifunc-sel.h: ... here.
2865         * sysdeps/unix/i386/start.c: Delete file.
2866         * sysdeps/unix/sparc/start.c: Delete file.
2867         * sysdeps/unix/start.c: Delete file.
2869         * sysdeps/sh/elf/configure.in: Moved to ...
2870         * sysdeps/sh/configure.in: ... here.
2871         * sysdeps/sh/elf/start.S: Moved to ...
2872         * sysdeps/sh/start.S: ... here.
2873         * sysdeps/sh/elf/configure: Delete file.
2875         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2876         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2877         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2878         * sysdeps/powerpc/powerpc64/entry.h: ... here.
2879         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2880         * sysdeps/powerpc/powerpc64/start.S: here.
2881         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2882         * sysdeps/powerpc/powerpc64/Makefile: ... this.
2883         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2884         * sysdeps/powerpc/powerpc64/configure.in: ... this.
2885         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2887         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2888         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2889         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2890         * sysdeps/powerpc/powerpc32/start.S: ... here.
2891         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2892         * sysdeps/powerpc/powerpc32/configure.in: ... this.
2893         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2895         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2896         * sysdeps/powerpc/ifunc-sel.h: ... here.
2897         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2898         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2900         * sysdeps/sparc/elf/configure.in: Moved to ...
2901         * sysdeps/sparc/configure.in: ... here.
2902         * sysdeps/sparc/elf/configure: Delete file.
2903         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2904         * sysdeps/sparc/sparc32/start.S: ... here.
2905         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2906         * sysdeps/sparc/sparc64/start.S: ... here.
2907         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2908         * sysdeps/sparc/sparc32/Makefile: ... this.
2909         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2910         * sysdeps/sparc/sparc64/Makefile: ... this.
2912         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2913         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2914         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2915         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2916         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2917         * sysdeps/s390/s390-32/setjmp.S: ... here.
2918         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2919         * sysdeps/s390/s390-32/configure.in: ... here.
2920         * sysdeps/s390/s390-32/elf/configure: Delete file.
2921         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2922         * sysdeps/s390/s390-32/start.S: ... here.
2924         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2925         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2926         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2927         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2928         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2929         * sysdeps/s390/s390-64/setjmp.S: ... here.
2930         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2931         * sysdeps/s390/s390-64/configure.in: ... here
2932         * sysdeps/s390/s390-64/elf/configure: Delete file.
2933         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2934         * sysdeps/s390/s390-64/start.S: ... here.
2935         * sysdeps/s390/s390-64/elf/configure: Delete.
2937         * configure.in: Remove support for elf directories in sysdeps.
2939         * configure: Regenerated.
2940         * sysdeps/i386/configure: Regenerated.
2941         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2942         * sysdeps/powerpc/powerpc64/configure: Regenerated.
2943         * sysdeps/s390/s390-32/configure: Regenerated.
2944         * sysdeps/s390/s390-64/configure: Regenerated.
2945         * sysdeps/sh/configure: Regenerated.
2946         * sysdeps/sparc/configure: Regenerated.
2947         * sysdeps/x86_64/configure: Regenerated.
2949 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
2951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2953         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2954         denormal result into account.
2956 2012-03-25  Roland McGrath  <roland@hack.frob.com>
2958         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2959         Reported by Allan McRae <allan@archlinux.org>.
2961 2012-03-23  Jeff Law  <law@redhat.com>
2963         * nss/getnssent.c (__nss_getent): Fix typo.
2965 2012-03-23  David S. Miller  <davem@davemloft.net>
2967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2969 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
2971         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2972         to pad to uint64_t for each field.
2973         (dl_tls_index): Replace unsigned long with uint64_t.
2975 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
2976         Paul Pluzhnikov  <ppluzhnikov@google.com>
2978         [BZ #6528]
2979         * grp/Makefile (otherlibs): Don't set it.
2980         * inet/Makefile (otherlibs): Likewise.
2981         * login/Makefile (otherlibs): Likewise.
2982         * nscd/Makefile (otherlibs): Likewise.
2983         * posix/Makefile (otherlibs): Likewise.
2984         * pwd/Makefile (otherlibs): Likewise.
2985         * rt/Makefile (otherlibs): Likewise.
2986         * sunrpc/Makefile (otherlibs): Likewise.
2987         * nss/Makefile (otherlibs): Likewise.
2988         Add libnss_files to routines and static-only-routines.
2989         ($(objpfx)getent): Remove rule.
2990         * resolv/Makefile: Add libnss_dns and libresolv to routines and
2991         static-only-routines.
2993 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2995         [BZ #13892]
2996         * math/s_cexp.c: Include <float.h>.
2997         (__cexp): Handle exp result overflowing not necessarily
2998         overflowing both real and imaginary parts of result.
2999         * math/s_cexpf.c: Likewise.
3000         * math/s_cexpl.c: Likewise.
3001         * math/libm-test.inc (cexp_test): Add more tests.
3002         * sysdeps/i386/fpu/libm-test-ulps: Update.
3003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3005 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3007         * include/link.h (ELFW): New macro.
3008         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3009         Replace ELF64_R_TYPE with ELFW(R_TYPE).
3011 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3013         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3014         with uint64_t.
3016 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3018         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3019         declaration.
3020         (struct La_x32_retval): Likewise.
3022 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3024         * sysdeps/x86_64/preconfigure.in: New file.
3025         * sysdeps/x86_64/preconfigure: New generated file.
3027 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
3029         [BZ #13824]
3030         * math/e_exp2l.c: Include <float.h>.
3031         (__ieee754_exp2l): Handle overflow and underflow cases
3032         separately.  Only pass fractional part of argument to
3033         __ieee754_expl.
3034         * math/libm-test.inc (exp2_test): Add more tests.
3036         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3037         negating x to take absolute value.
3038         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3039         Likewise.
3040         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3041         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3042         Likewise.
3043         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3044         computing low part if x was negated.
3045         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3047 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3049         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3050         la_x32_gnu_pltexit.
3051         (pltexit): Cast int_retval to ptrdiff_t.
3052         * elf/tst-auditmod3b.c: Likewise.
3053         * elf/tst-auditmod4b.c: Likewise.
3054         * elf/tst-auditmod5b.c: Likewise.
3055         * elf/tst-auditmod6b.c: Likewise.
3056         * elf/tst-auditmod6c.c: Likewise.
3057         * elf/tst-auditmod7b.c: Likewise.
3059         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3060         and x32_gnu_pltexit.
3062         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3063         __ELF_NATIVE_CLASS.
3064         (La_x32_regs): New macro.
3065         (La_x32_retval): Likewise.
3066         (la_x32_gnu_pltenter): New function prototype.
3067         (la_x32_gnu_pltexit): Likewise.
3069 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
3071         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3072         exponent.
3074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3076         * configure.in (libc_cv_cc_nofma): Check for option to disable
3077         generation of FMA instructions.
3078         * configure: Regenerate.
3079         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3080         * sysdeps/ieee754/dbl-64/Makefile: New file.
3081         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3082         Remove brandred-fma4.
3083         (CFLAGS-brandred-fma4.c): Remove.
3084         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3085         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3086         define.
3087         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3088         define.
3090 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3092         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3093         LLONG_MAX != LONG_MAX.
3094         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3095         (_fitoa_word): Likewise.
3096         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3097         LLONG_MAX != LONG_MAX.
3098         * stdio-common/_itowa.h: Include <_itoa.h>.
3099         (_itowa_word): Use _ITOA_WORD_TYPE on value.
3100         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
3101         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
3102         only if not defined.
3103         (_ITOA_WORD_TYPE): Likewise.
3104         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3105         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3107 2012-03-21  David S. Miller  <davem@davemloft.net>
3109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3111 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3113         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3114         of x86_64 when setting libc_cv_slibdir, libdir and
3115         libc_cv_localedir.
3116         * sysdeps/unix/sysv/linux/configure: Regenerated.
3118 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3120         * manual/lang.texi (Old Varargs): Remove section.
3121         (How Variadic): Update menu.
3122         (va_start): Do not mention varargs.h.
3124 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3125             Joseph Myers  <joseph@codesourcery.com>
3127         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3128         link test.
3129         * configure: Regenerated.
3131 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3133         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3134         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3135         conformtest.pl
3137 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3139         * NOTES: Remove.
3140         * Makefile (files-for-dist): Remove NOTES.
3141         (NOTES): Remove rule.
3142         * README: Don't refer to NOTES.
3143         * manual/creature.texi: Don't include macros.texi.
3144         * manual/intro.texi (creature.texi): Remove comment referring to
3145         NOTES.
3147         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3148         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3149         * configure: Regenerated.
3150         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3151         LIBC_TRY_CC_OPTION.
3152         (libc_cv_as_i686): Likewise.
3153         (libc_cv_cc_avx): Likewise.
3154         (libc_cv_cc_sse2avx): Likewise.
3155         (libc_cv_cc_fma4): Likewise.
3156         (libc_cv_cc_novzeroupper): Likewise.
3157         * sysdeps/i386/configure: Regenerated.
3159         [BZ #13883]
3160         * sysdeps/i386/fpu/s_cexp.S: Remove.
3161         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3162         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3163         * math/libm-test.inc (cexp_test): Add more tests.
3164         * sysdeps/i386/fpu/libm-test-ulps: Update.
3165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3167 2012-03-21  Allan McRae  <allan@archlinux.org>
3169         * timezone/Makefile: Do not install iso3166.tab and zone.tab
3171 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3173         [BZ #13871]
3174         * math/w_exp2.c: Do not include <float.h>.
3175         (o_threshold, u_threshold): Remove.
3176         (__exp2): Calculate result before checking finiteness and calling
3177         __kernel_standard.
3178         * math/w_exp2f.c: Likewise.
3179         * math/w_exp2l.c: Likewise.
3180         * math/libm-test.inc (exp2_test): Require overflow exception for
3181         1e6 input.
3183         [BZ #3866]
3184         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3185         range of signed 64-bit integers before using fistpll.  Remove
3186         checks for whether integers fit in mantissa bits.
3187         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3188         the range of signed 32-bit integers before using fistpl.  Remove
3189         checks for whether integers fit in mantissa bits.
3190         * sysdeps/i386/fpu/e_powl.S (p64): New object.
3191         (__ieee754_powl): Test for y outside the range of signed 64-bit
3192         integers before using fistpll.  Reduce 64-bit values to 63-bit
3193         ones as needed.
3194         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3195         divide-by-zero is raised for zero to large negative powers.
3196         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3197         (__ieee754_powl): Test for y outside the range of signed 64-bit
3198         integers before using fistpll.  Reduce 64-bit values to 63-bit
3199         ones as needed.
3200         * math/libm-test.inc (pow_test): Add more tests.
3202 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3204         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3205         <stdio-common/_itoa.h>.
3206         * debug/segfault.c: Likewise.
3207         * elf/dl-cache.c: Likewise.
3208         * elf/dl-minimal.c: Likewise.
3209         * elf/dl-misc.c: Likewise.
3210         * elf/dl-sysdep.c: Likewise.
3211         * elf/dl-version.c: Likewise.
3212         * elf/rtld.c: Likewise.
3213         * hurd/hurdsock.c: Likewise.
3214         * hurd/lookup-retry.c: Likewise.
3215         * malloc/malloc.c: Likewise.
3216         * malloc/mtrace.c: Likewise.
3217         * nscd/nscd_getgr_r.c: Likewise.
3218         * nscd/nscd_getpw_r.c: Likewise.
3219         * nscd/nscd_getserv_r.c: Likewise.
3220         * posix/getopt_init.c: Likewise.
3221         * posix/wordexp.c: Likewise.
3222         * stdio-common/_itoa.c: Likewise.
3223         * stdio-common/printf_fphex.c: Likewise.
3224         * stdio-common/vfprintf.c: Likewise.
3225         * string/_strerror.c: Likewise.
3226         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3227         * sysdeps/i386/i686/hp-timing.h: Likewise.
3228         * sysdeps/mach/_strerror.c: Likewise.
3229         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3230         * sysdeps/mach/hurd/sethostid.c: Likewise.
3231         * sysdeps/mach/hurd/xmknodat.c: Likewise.
3232         * sysdeps/mach/xpg-strerror.c: Likewise.
3233         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3234         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3235         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3236         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3237         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3238         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3239         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3240         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3241         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3242         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3243         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3244         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3245         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3246         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3247         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3248         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3249         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3250         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3251         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3252         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3253         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3255         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3257         * stdio-common/_itoa.h: Moved to ...
3258         * sysdeps/generic/_itoa.h: Here.
3260         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3262         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3263         instead of "_itoa.h" and "_itowa.h".
3264         * stdio-common/vfprintf.: Likewise.
3266 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3268         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3269         <bits/wordsize.h>.
3270         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3271         (__signbit): Likwise.
3272         (llrintf): Likwise.
3273         (llrint): Likwise.
3275 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3277         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3278         __WORDSIZE != 64.
3280 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
3282         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3283         OVERFLOW_EXCEPTION_OK.
3284         * math/libm-test.inc ("Philosophy"): Update comment about
3285         exception testing.
3286         (OVERFLOW_EXCEPTION): Define.
3287         (OVERFLOW_EXCEPTION_OK): Likewise.
3288         (INVALID_EXCEPTION_OK): Renumber.
3289         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3290         (IGNORE_ZERO_INF_SIGN): Likewise.
3291         (test_exceptions): Handle FE_OVERFLOW.
3292         (exp10_test): Expect overflow exceptions.
3293         (exp2_test): Likewise.
3294         (expm1_test): Likewise.
3295         (nextafter_test): Likewise.
3296         (pow_test): Likewise.
3297         (scalbn_test): Likewise.
3298         (scalbln_test): Likewise.
3300 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3302         * sysdeps/x86_64/bits/atomic.h
3303         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3304         64bit integer.
3305         (atomic_exchange_acq): Likewise.
3306         (__arch_exchange_and_add_body): Likewise.
3307         (__arch_add_body): Likewise.
3308         (atomic_add_negative): Likewise.
3309         (atomic_add_zero): Likewise.
3311 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3313         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3314         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3316 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3318         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3319         Check __x86_64__ instead of __WORDSIZE.
3321 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3323         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3325 2012-03-19  David S. Miller  <davem@davemloft.net>
3327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3329         * sysdeps/sparc/fpu/fenv_private.h: New file.
3330         * sysdeps/sparc/fpu/math_private.h: Use it.
3331         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3332         Remove.
3333         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3334         (libc_feholdexcept_setroundl): Remove.
3335         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3336         Remove.
3337         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3338         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3340 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3342         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3343         int64_t instead of long int.
3344         (INSERT_WORDS64): Likwise.
3346 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3348         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3349         _Unwind_GetCFA return to _Unwind_Ptr first.
3351 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
3353         [BZ #13629]
3354         * math/s_clog.c: Include <float.h>.
3355         (__clog): Scale large or subnormal inputs.
3356         * math/s_clogf.c: Likewise.
3357         * math/s_clogl.c: Likewise.
3358         * math/s_clog10.c: Include <float.h>.
3359         (M_LOG10_2): Define.
3360         (__clog10): Scale large or subnormal inputs.
3361         * math/s_clog10f.c: Likewise.
3362         * math/s_clog10l.c: Likewise.
3363         * math/libm-test.inc (clog_test): Add more tests.
3364         (clog10_test): Likewise.
3365         * sysdeps/i386/fpu/libm-test-ulps: Update.
3366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3368         [BZ #11451]
3369         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3370         x and y.
3371         * math/libm-test.inc (atan2_test): Add another test.
3373         * Makerules (common-objdir-compile): Remove.
3374         * sysdeps/unix/Makefile (config-generated): Do not add
3375         $(unix-generated) to variable.
3376         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3377         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3378         Remove rule.
3379         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3380         Likewise.
3381         [generic bits/local_lim.h] (before-compile): Do not append to
3382         variable.
3383         [generic bits/local_lim.h] (common-generated): Likewise.
3384         [generic sys/param.h] (before-compile): Do not append to variable.
3385         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3386         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3387         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3388         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3389         include.
3390         [generic sys/param.h] (sys/param.h-includes): Remove variable.
3391         [generic sys/param.h] (sys/param.h-includes): Remove rule.
3392         [generic sys/param.h] ($(addprefix
3393         $(common-objpfx),$(sys/param.h-includes))): Likewise.
3394         [generic sys/param.h] (common-generated): Do not append to
3395         variable.
3396         [generic sys/param.h] (sysdep_headers): Likewise.
3397         [generic bits/errno.h] (before-compile): Do not append to
3398         variable.
3399         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3400         rule.
3401         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3402         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3403         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3404         [generic bits/errno.h] (common-generated): Do not append to
3405         variable.
3406         [generic bits/ioctls.h] (before-compile): Do not append to
3407         variable.
3408         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3409         rule.
3410         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3411         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3412         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3413         rule.
3414         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3415         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3416         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3417         [generic bits/ioctls.h] (common-generated): Do not append to
3418         variable.
3419         [generic sys/syscall.h] (syscall.h): Remove variable.
3420         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3421         rule.
3422         [generic sys/syscall.h] (before-compile): Do not append to
3423         variable.
3424         [generic sys/syscall.h] (common-generated): Likewise.
3425         * sysdeps/unix/errnos-tmpl.c: Remove file.
3426         * sysdeps/unix/errnos.awk: Likewise.
3427         * sysdeps/unix/ioctls-tmpl.c: Likewise.
3428         * sysdeps/unix/ioctls.awk: Likewise.
3429         * sysdeps/unix/mk-local_lim.c: Likewise.
3430         * sysdeps/unix/snarf-ioctls: Likewise.
3432 2012-03-19  Richard Henderson  <rth@twiddle.net>
3434         * sysdeps/i386/fpu/fenv_private.h: New file.
3435         * sysdeps/i386/fpu/math_private.h: Use it.
3436         (math_opt_barrier, math_force_eval): Remove.
3437         (libc_feholdexcept_setround_53bit): Remove.
3438         (libc_feupdateenv_53bit): Remove.
3439         * sysdeps/x86_64/fpu/math_private.h: Likewise.
3440         (math_opt_barrier, math_force_eval): Remove.
3441         (libc_feholdexcept): Remove.
3442         (libc_feholdexcept_setround): Remove.
3443         (libc_fetestexcept, libc_fesetenv): Remove.
3444         (libc_feupdateenv_test): Remove.
3445         (libc_feupdateenv, libc_feholdsetround): Remove.
3446         (libc_feresetround): Remove.
3448         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3449         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3451         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3452         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3453         (libc_feupdateenv_testl): New.
3454         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3455         (libc_feupdateenv_testf): New.
3456         (libc_feupdateenv): Use libc_feupdateenv_test.
3457         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3458         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3460         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3461         (libc_feholdsetroundf, libc_feholdsetroundl): New.
3462         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3463         (libc_feresetround_noex): New.
3464         (libc_feresetround_noexf): New.
3465         (libc_feresetround_noexl): New.
3466         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3467         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3468         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3469         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3470         SET_RESTORE_ROUND.
3471         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3472         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3473         (__cos): Likewise.
3474         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3475         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3476         SET_RESTORE_ROUND_NOEX.
3477         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3478         SET_RESTORE_ROUND_NOEXF.
3479         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3480         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3481         (libc_feholdsetroundf): New.
3482         (libc_feresetround, libc_feresetroundf): New.
3484         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3485         (libc_feholdexcept_setround_53bit): Convert from macro to function.
3486         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
3488         * sysdeps/generic/math_private.h: Include <fenv.h>.
3489         (default_libc_feholdexcept): New.
3490         (default_libc_feholdexcept_setround): New.
3491         (default_libc_fesetenv, default_libc_feupdateenv): New.
3492         (libc_feholdexcept): Only define if undefined.
3493         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3494         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3495         (libc_feholdexcept_setroundl): Likewise.
3496         (libc_feholdexcept_setround_53bit): Likewise.
3497         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3498         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3499         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3500         (libc_feupdateenv_53bit): Likewise.
3501         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3502         (libc_feholdexcept): Convert from macro to inline function.
3503         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3504         (libc_fesetenv, libc_feupdateenv): Likewise.
3506         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3507         not previously defined.
3508         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3509         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3510         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3511         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3512         * sysdeps/ieee754/flt-32/math_private.h: New file.
3513         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3514         math_private.h below SET_FLOAT_WORD.
3515         (__isnan, __isinf_ns, __finite): Remove.
3516         (__isnanf, __isinf_nsf, __finitef): Remove.
3518 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
3520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3522 2012-03-17  David S. Miller  <davem@davemloft.net>
3524         [BZ #6471]
3525         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3526         for 2.16.
3528 2012-03-16  David S. Miller  <davem@davemloft.net>
3530         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3531         warnings.
3533         [BZ #6471]
3534         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3535         properly.
3536         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3537         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3538         sysdep_routines when subdir is sysvipc.
3539         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3540         __getshmlba helper.
3542         * sysdeps/sparc/fpu/libm-test/ulps: Update.
3544 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3546         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3547         [__LP64__].
3549 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3551         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3552         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3553         (__lround): Renamed to ...
3554         (__llround): This.  Replace long int with long long int.
3555         Define lround functions as aliases of llround functions.
3556         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3558 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3560         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3561         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
3562         adresses to uintptr_t.  Replace "long int" and "unsigned long
3563         int" with "greg_t" on va_arg.
3565 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3567         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3568         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3570         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3571         Move e_machine check before EI_CLASS check.  Handle x32
3572         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3573         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3574         SKIP_EM_IA_64 and include
3575         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3577         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3578         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3579         (add_system_dir): New macro.
3581         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3582         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3584 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3586         [BZ #2551]
3587         [BZ #2552]
3588         [BZ #2553]
3589         [BZ #2554]
3590         [BZ #2562]
3591         [BZ #2563]
3592         [BZ #2565]
3593         [BZ #2566]
3594         [BZ #2576]
3595         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3596         (y0): Likewise.
3597         * math/w_j0f.c (j0f): Likewise.
3598         (y0f): Likewise.
3599         * math/w_j0l.c (__j0l): Likewise.
3600         (__y0l): Likewise.
3601         * math/w_j1.c (j1): Likewise.
3602         (y1): Likewise.
3603         * math/w_j1f.c (j1f): Likewise.
3604         (y1f): Likewise.
3605         * math/w_j1l.c (__j1l): Likewise.
3606         (__y1l): Likewise.
3607         * math/w_jn.c (jn): Likewise.
3608         (yn): Likewise.
3609         * math/w_jnf.c (jnf): Likewise.
3610         (ynf): Likewise.
3611         * math/w_jnl.c (__jnl): Likewise.
3612         (__ynl): Likewise.
3613         * math/libm-test.inc (j0_test): Add more tests.
3614         (j1_test): Likewise.
3615         (jn_test): Likewise.  Add trailing semicolon to existing test.
3616         (y0_test): Likewise.
3617         (y1_test): Likewise.
3618         * sysdeps/i386/fpu/libm-test-ulps: Update.
3619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3621         [BZ #13851]
3622         [BZ #13854]
3623         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3624         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3625         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3626         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3627         (__tanl): Set errno for infinite argument.
3628         * sysdeps/i386/fpu/mptan.c: Remove.
3629         * sysdeps/i386/fpu/s_tan.S: Likewise.
3630         * sysdeps/i386/fpu/s_tanl.S: Likewise.
3631         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3632         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3633         * math/libm-test.inc (tan_test): Add more tests and enable more
3634         tests for double and long double.
3635         * sysdeps/i386/fpu/libm-test-ulps: Update.
3636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3638 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3640         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3641         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3643 2012-03-16  Roland McGrath  <roland@hack.frob.com>
3645         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3646         * configure.in: Use it for both main tree and add-ons.
3647         * configure: Regenerated.
3649 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3651         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3653 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3655         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3656         in comment.
3658         [BZ #13851]
3659         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3660         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3661         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3662         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3663         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3664         infinite argument.
3665         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3666         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3667         != 0 for prec == 2.
3668         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3669         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3670         * sysdeps/i386/fpu/s_cosl.S: Likewise.
3671         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3672         * sysdeps/i386/fpu/s_sinl.S: Likewise.
3673         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3674         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3675         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3676         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3677         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3678         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3679         * math/libm-test.inc (cos_test): Add more tests and enable more
3680         tests for long double.
3681         (sin_test): Likewise.
3682         (sincos_test): Likewise.
3683         * sysdeps/i386/fpu/libm-test-ulps: Update.
3684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3686 2012-03-16  David S. Miller  <davem@davemloft.net>
3688         * sysdeps/sparc/fpu/math_private.h: New file.
3690 2012-03-15  David S. Miller  <davem@davemloft.net>
3692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3693         file.
3694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3696         file.
3697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3701         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3702         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3703         sysdep routines.
3704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3706         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3707         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3709         * sysdeps/sparc/sparc-ifunc.h: New file.
3710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3711         sparc-ifunc.h
3712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3714         Likewise.
3715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3716         Likewise.
3717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3721         Likewise.
3722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3727         Likewise.
3728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3729         Likewise.
3730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3734         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3736         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3737         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3744         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3746         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3747         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3748         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3749         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3750         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3751         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3752         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3753         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3755 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3757         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3758         scaling.
3759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3761 2012-03-15  Andreas Jaeger  <aj@suse.de>
3763         [BZ #13852]
3764         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3765         ieee754/flt-32 implementation for sin, cos and sincos.
3766         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3767         * sysdeps/i386/fpu/s_cosf.S: Likewise.
3768         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3769         * sysdeps/i386/fpu/s_sinf.S: Likewise.
3770         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3771         ieee754/flt-32 implementation for tan.
3773         * math/libm-test.inc (cos_test): Enable some large input tests for
3774         float as well
3775         (sin_test): Likewise.
3776         (sincos_test): Likewise.
3777         (tan_test): Add tests for large input.
3779         * sysdeps/i386/fpu/libm-test-ulps: Update.
3781 2012-03-15  Andreas Jaeger  <aj@suse.de>
3783         [BZ #13658]
3784         * math/libm-test.inc (cos_test): Add more test cases.
3785         (sin_test): Likewise.
3786         (sincos_test): Likewise.
3788 2012-03-15  Andreas Jaeger  <aj@suse.de>
3790         [BZ #13837]
3791         * math/libm-test.inc (cos_test): Add a test case for large input
3792         value.
3793         (sin_test): Likewise.
3794         (sincos_test): Likewise.
3796 2012-03-15  Andreas Jaeger  <aj@suse.de>,
3797         Joseph Myers  <joseph@codesourcery.com>
3799         [BZ #13658]
3800         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3801         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3802         * sysdeps/i386/fpu/branred.c: Likewise.
3803         * sysdeps/i386/fpu/dosincos.c: Likewise.
3804         * sysdeps/i386/fpu/mpa.c: Likewise.
3805         * sysdeps/i386/fpu/s_cos.S: Likewise.
3806         * sysdeps/i386/fpu/s_sin.S: Likewise.
3807         * sysdeps/i386/fpu/s_sincos.S: Likewise.
3808         * sysdeps/i386/fpu/sincos32.c: Likewise.
3810         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3811         Define.
3812         (libc_feupdateenv_53bit): Define.
3813         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3814         Define.
3815         (libc_feupdateenv_53bit): Define.
3817         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3818         53 bit (without extend i386 double precision).
3820         * math/libm-test.inc (sincos_test): Add tests for large input.
3821         (sin): Likewise.
3822         (cos): Likewise.
3824         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3826 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3830 2012-03-15  David S. Miller  <davem@davemloft.net>
3832         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3833         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3834         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3835         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3840         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3842         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3843         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3845         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3848         file.
3849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3851         file.
3852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3854         file.
3855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3857         file.
3858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3859         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3860         fmin/fmax sysdep routines.
3861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3863 2012-03-14  David S. Miller  <davem@davemloft.net>
3865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3868         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3869         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3870         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3871         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3872         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3876         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3877         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3880         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3883         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3884         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3885         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3886         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3887         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3888         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3889         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3890         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3891         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3892         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3893         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3894         routines.
3895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3896         file.
3897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3899         file.
3900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3902         file.
3903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3905         file.
3906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3908         file.
3909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3911         file.
3912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3913         file.
3914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3915         file.
3916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3917         file.
3918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3919         New file.
3920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3921         file.
3922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3923         file.
3924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3926         file.
3927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3929         file.
3930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3932         file.
3933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3935         VIS3 routines.
3937         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3938         New file.
3940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3942         * sysdeps/sparc/configure.in: New file.
3943         * sysdeps/sparc/configure: Generate.
3944         * configure.in (libc_cv_sparc_as_vis3): Substitute.
3945         * configure: Regenerate.
3946         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3947         * config.make.in (have-as-vis3): New.
3948         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3949         available use -Av9d instead of -Av9a.
3950         * sysdeps/sparc/sparc64/Makefile: Likewise.
3951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3953         New file.
3954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3955         file.
3956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3957         New file.
3958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3959         file.
3960         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3961         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3962         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3963         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3964         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3966         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3967         fzeros/fnegs to load 0x80000000 into a float register instead of
3968         using the stack.
3969         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3971 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3974         bits/syscall.h.
3975         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3976         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3977         ($(inst_includedir)/bits/syscall.h): Remove rule.
3978         ($(objpfx)bits/syscall.d): Include instead of
3979         $(objpfx)syscall-list.d.
3980         (generated): Change syscall-list.h and syscall-list.d to
3981         bits/syscall.h and bits/syscall.d.
3983 2012-03-14  Roland McGrath  <roland@hack.frob.com>
3985         [BZ #13846]
3986         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3988 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3990         [BZ #13841]
3991         * math/s_csqrt.c: Include <float.h>.
3992         (__csqrt): Scale large or subnormal inputs.
3993         * math/s_csqrtf.c: Likewise.
3994         * math/s_csqrtl.c: Likewise.
3995         * math/libm-test.inc (csqrt_test): Add more tests.
3996         * sysdeps/i386/fpu/libm-test-ulps: Update.
3997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3999         [BZ #13840]
4000         * math/libm-test.inc (hypot_test): Add more tests.
4002 2012-03-13  David S. Miller  <davem@davemloft.net>
4004         [BZ #13840]
4005         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4006         double-precision for the calculation instead of scaling.
4008 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
4010         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4011         manipulate bits before adding and subtracting TWO52[sx].
4012         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4013         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4014         Likewise.
4015         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4017 2012-03-13  David S. Miller  <davem@davemloft.net>
4019         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4020         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4021         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4022         rtld-global-offsets.h
4023         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4025         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4026         large parameters.
4028         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4030         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4031         'err' in the ifdef scope in which it is actually used.
4033         * nss/nss_db/db-init.c: Include string.h
4035 2012-03-12  David S. Miller  <davem@davemloft.net>
4037         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4038         masking out of the most significant byte of random value used.
4039         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4040         Fix coding style in previous change.
4042         * sysdeps/unix/sysv/linux/kernel-features.h
4043         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4044         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4045         expression.
4046         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4047         later.
4049 2012-03-11  David S. Miller  <davem@davemloft.net>
4051         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4052         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4053         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4054         for 'resultvar' otherwise things get truncated on 64-bit.
4056         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4057         Fix masking out of the most significant byte of random value used.
4059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4061 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
4063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4065 2012-03-09  David S. Miller  <davem@davemloft.net>
4067         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4068         variables with appropriate CPP guards.
4069         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4070         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
4071         on resulting framesize and the management of the outregs buffer for pltexit.
4072         Preserve floating point return values across _dl_call_pltexit call.
4073         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4074         framesize and the management of the outregs buffer for pltexit.
4075         Preserve floating point return values across _dl_call_pltexit
4076         call.
4077         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4078         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4079         (print_exit): Fix format string for return register value.
4081 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
4083         * sunrpc/Makefile (others): Add rpcgen.
4084         ($(objpfx)rpcgen): Remove special build rule and dependency on
4085         libc.
4086         * sunrpc/rpcgen.c: New file.
4088 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
4090         [BZ #13673]
4091         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4092         * stdio-common/bug-vfprintf-nargs.c: Likewise.
4093         * sysdeps/i386/crti.S: Likewise.
4094         * sysdeps/i386/crtn.S: Likewise.
4095         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4096         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4097         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4098         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4099         * sysdeps/sh/crti.S: Likewise.
4100         * sysdeps/sh/crtn.S: Likewise.
4101         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4103         [BZ #13673]
4104         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4105         with URL.
4106         * locale/programs/locfile-kw.gperf: Likewise.
4107         * locale/programs/charmap-kw.h: Regenerated.
4108         * locale/programs/locfile-kw.h: Likewise.
4110         [BZ #13673]
4111         * intl/plural.y: Replace FSF snail mail address with URL.
4112         * intl/plural.c: Regenerated.
4114 2012-03-09  Richard Henderson  <rth@twiddle.net>
4116         * include/math_private.h: Remove file.
4117         * math/math_private.h: Move file ...
4118         * sysdeps/generic/math_private.h: ... here.
4120         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4121         * sysdeps/powerpc/fpu/math_private.h: Likewise.
4122         * sysdeps/x86_64/fpu/math_private.h: Likewise.
4124         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4125         and <math_private.h>.
4126         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4127         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4128         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4129         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4130         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4131         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4132         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4133         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4134         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4135         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4136         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4137         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4138         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4139         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4140         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4141         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4142         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4143         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4144         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4145         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4146         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4147         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4148         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4149         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4150         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4151         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4152         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4153         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4154         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4155         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4156         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4157         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4158         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4159         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4160         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4161         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4162         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4163         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4164         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4165         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4166         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4167         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4168         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4169         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4170         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4171         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4172         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4173         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4174         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4175         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4176         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4177         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4178         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4179         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4180         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4181         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4182         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4183         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4184         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4185         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4186         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4187         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4188         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4189         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4190         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4191         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4192         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4193         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4194         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4195         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4196         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4197         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4198         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4199         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4200         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4201         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4202         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4203         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4204         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4205         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4206         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4207         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4208         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4209         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4210         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4211         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4212         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4213         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4214         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4215         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4216         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4217         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4218         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4219         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4220         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4221         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4222         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4223         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4224         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4225         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4226         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4227         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4228         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4229         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4230         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4231         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4232         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4233         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4234         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4235         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4236         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4237         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4238         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4239         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4240         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4241         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4242         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4243         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4244         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4245         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4246         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4247         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4248         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4249         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4250         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4251         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4252         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4253         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4254         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4255         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4256         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4257         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4258         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4259         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4260         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4261         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4262         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4263         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4264         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4265         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4266         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4267         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4268         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4269         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4270         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4271         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4272         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4273         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4274         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4275         * sysdeps/ieee754/k_standard.c: Likewise.
4276         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4277         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4278         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4279         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4280         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4281         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4282         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4283         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4284         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4285         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4286         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4287         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4288         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4289         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4290         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4291         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4292         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4293         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4294         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4295         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4296         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4297         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4298         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4299         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4300         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4301         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4302         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4303         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4304         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4305         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4306         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4307         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4308         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4309         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4310         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4311         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4312         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4313         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4314         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4315         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4316         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4317         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4318         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4319         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4320         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4321         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4322         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4323         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4324         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4325         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4326         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4327         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4328         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4329         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4330         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4331         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4332         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4333         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4334         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4335         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4336         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4337         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4338         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4339         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4340         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4341         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4342         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4343         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4344         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4345         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4346         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4347         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4348         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4349         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4350         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4351         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4352         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4353         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4354         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4355         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4356         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4357         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4358         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4359         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4360         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4361         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4362         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4363         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4364         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4365         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4366         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4367         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4368         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4369         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4370         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4371         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4372         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4373         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4374         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4375         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4376         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4377         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4378         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4379         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4380         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4381         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4382         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4383         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4384         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4385         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4386         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4387         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4388         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4390         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4391         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4392         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4393         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4394         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4395         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4396         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4397         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4398         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4399         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4400         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4401         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4402         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4403         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4404         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4405         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4406         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4407         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4408         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4409         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4410         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4411         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4412         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4413         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4414         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4415         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4416         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4417         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4418         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4419         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4420         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4421         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4423         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4424         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4425         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4426         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4428         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4431         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4433         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4434         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4435         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4436         * sysdeps/ieee754/s_lib_version.c: Likewise.
4437         * sysdeps/ieee754/s_matherr.c: Likewise.
4438         * sysdeps/ieee754/s_signgam.c: Likewise.
4439         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4440         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4441         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4442         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4443         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4444         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4445         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4446         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4447         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4448         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4449         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4450         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4451         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4452         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4453         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4454         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4455         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4456         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4457         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4458         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4459         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4461 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4463         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4464         * sunrpc/rpc_main.c: Likewise.
4465         * sunrpc/rpc_svcout.c: Likewise.
4467 2012-03-09  David S. Miller  <davem@davemloft.net>
4469         * include/math_private.h: New file.
4471 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4473         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4474         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4475         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4476         from <bits/socket_type.h>.
4477         (enum __socket_type): Don't define here.
4478         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4479         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4480         bits/socket_type.h.
4482         [BZ #13566]
4483         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4484         checking __USE_GNU.
4486         * Makerules ($(inst_includedir)/%.h): New rule.
4487         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4488         (install-others): Remove variable setting.
4489         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4491 2012-03-08  Richard Henderson  <rth@twiddle.net>
4493         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4494         from macro to inline function; merge with the
4495         !__LIBC_INTERNAL_MATH_INLINES version.
4496         (__ieee754_sqrtf): Likewise.
4498         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4499         to inline function.
4500         (__rintf, __floor, __floorf): Likewise.
4502         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4503         macro to inline function.
4504         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4506         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4507         not <math/math_private.h>.
4509 2012-03-08  David S. Miller  <davem@davemloft.net>
4511         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4512         copyright year.
4513         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4515 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
4517         * resolv/gai_misc.c (handle_requests): Fix struct timespec
4518         normalization.
4519         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4520         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4522 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
4524         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
4525         be defined individually, they must be defined as a block.  Define
4526         S for printing a string instead of hidint the different by using a
4527         macro for adding the 'l'.
4528         * stdio-common/tst-fphex-wide.c: Adjust.
4530 2012-03-07  Marek Polacek  <polacek@redhat.com>
4532         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4534 2012-03-08  Marek Polacek  <polacek@redhat.com>
4536         [BZ #13806]
4537         * stdio-common/Makefile (tests): Add tst-fphex-wide.
4538         * stdio-common/tst-fphex.c: Define a few macros to make the
4539         test reusable.  Use them.
4540         * stdio-common/tst-fphex-wide.c: New file.
4542 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
4544         [BZ #6911]
4545         * manual/macros.texi (gnusystems): New macro.
4546         (nongnusystems): Likewise.
4547         (gnulinuxhurdsystems): Likewise.
4548         (gnuhurdsystems): Likewise..
4549         (gnulinuxsystems): Likewise.
4550         * manual/charset.texi: Use new macros or @theglibc{} to refer to
4551         variants of the GNU system, not "GNU system".
4552         * manual/conf.texi: Likewise.
4553         * manual/errno.texi: Likewise.  Update example of errno macro
4554         expansion.
4555         * manual/filesys.texi: Likewise.
4556         (getumask): Document as specific to GNU/Hurd.
4557         * manual/install.texi: Likewise.  Reword some references to
4558         GNU/Linux.
4559         * manual/intro.texi: Likewise.
4560         * manual/io.texi: Likewise.
4561         (File Name Portability): Detail which constraints are inapplicable
4562         to all GNU systems and which are only inapplicable to GNU/Hurd.
4563         * manual/job.texi: Likewise.
4564         * manual/llio.texi: Likewise.
4565         (O_NOCTTY): Document as present on GNU/Linux.
4566         * manual/maint.texi: Likewise.
4567         * manual/memory.texi: Likewise.
4568         * manual/pattern.texi: Likewise.
4569         * manual/pipe.texi: Likewise.
4570         * manual/process.texi: Likewise.
4571         * manual/resource.texi: Likewise.
4572         (RUSAGE_CHILDREN): Remove statement about specifying a particular
4573         child on GNU/Hurd.
4574         * manual/setjmp.texi: Likewise.
4575         * manual/signal.texi: Likewise.
4576         * manual/startup.texi: Likewise.
4577         * manual/stdio.texi: Likewise.
4578         * manual/terminal.texi: Likewise.
4579         (ONLCR): Document as POSIX.
4580         (OXTABS): Document availability on GNU/Linux as XTABS.
4581         (ONOEOT): Document availability separately from other bits.
4582         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4583         * manual/time.texi: Likewise.
4584         * manual/users.texi: Likewise.
4585         * INSTALL: Regenerated.
4586         * sysdeps/gnu/errlist.c: Regenerated.
4588         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4589         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4590         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
4591         puts.
4592         * configure: Regenerated.
4594 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
4596         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4597         default includes instead of AC_HEADER_CHECK.
4598         * sysdeps/i386/configure: Regenerated.
4600         [BZ #10716]
4601         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4602         * math/s_cacoshf.c (__cacoshf): Likewise.
4603         * math/s_cacoshl.c (__cacoshl): Likewise.
4604         * math/s_casinh.c (__casinh): Set signs of result from argument.
4605         * math/s_casinhf.c (__casinhf): Likewise.
4606         * math/s_casinhl.c (__casinhl): Likewise.
4607         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4608         (casinh_test): Add more tests.
4609         * sysdeps/i386/fpu/libm-test-ulps: Update.
4610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4612 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
4614         * po/zh_TW.po: Update from translation team.
4616         * login/Makefile (distribute): Remove variable.
4617         * catgets/Makefile: Likewise.
4618         * mach/Makefile: Likewise.
4619         * malloc/Makefile: Likewise.
4620         * misc/Makefile: Likewise.
4621         * iconv/Makefile: Likewise.
4622         * nscd/Makefile: Likewise.
4623         * hurd/Makefile: Likewise.
4624         * manual/Makefile: Likewise.
4625         * locale/Makefile: Likewise.
4626         * intl/Makefile: Likewise.
4627         * conform/Makefile: Likewise.
4628         * nss/Makefile: Likewise.
4629         * time/Makefile: Likewise.
4630         * soft-fp/Makefile: Likewise.
4631         * dirent/Makefile: Likewise.
4632         * gmon/Makefile: Likewise.
4633         * po/Makefile: Likewise.
4634         * rt/Makefile: Likewise.
4635         * socket/Makefile: Likewise.
4636         * math/Makefile: Likewise.
4637         * signal/Makefile: Likewise.
4638         * debug/Makefile: Likewise.
4639         * elf/Makefile: Likewise.
4640         * timezone/Makefile: Likewise.
4641         * stdlib/Makefile: Likewise.
4642         * iconvdata/Makefile: Likewise.
4643         * sunrpc/Makefile: Likewise.
4644         * io/Makefile: Likewise.
4645         * argp/Makefile: Likewise.
4646         * inet/Makefile: Likewise.
4647         * hesiod/Makefile: Likewise.
4648         * grp/Makefile: Likewise.
4649         * csu/Makefile: Likewise.
4650         * wctype/Makefile: Likewise.
4651         * crypt/Makefile: Likewise.
4652         * libio/Makefile: Likewise.
4653         * string/Makefile: Likewise.
4654         * nis/Makefile: Likewise.
4655         * resolv/Makefile: Likewise.
4656         * stdio-common/Makefile: Likewise.
4657         * wcsmbs/Makefile: Likewise.
4658         * dlfcn/Makefile: Likewise.
4659         * posix/Makefile: Likewise.
4661         [BZ #6959]
4662         * timezone/Makefile: Don't install timezone files, just the programs
4663         and scripts.
4665 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
4667         * nss/databases.def: Add missing gshadow entry.
4669         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
4671 2012-03-06  Marek Polacek  <polacek@redhat.com>
4673         [BZ #13726]
4674         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4675         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4676         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4677         * stdio-common/tst-long-dbl-fphex.c: New file.
4679 2012-03-06  David S. Miller  <davem@davemloft.net>
4681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4682         (set_obp_int): New function.
4683         (get_obp_int): New function.
4684         (__get_clockfreq_via_dev_openprom): Likewise.
4685         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4686         Avoid unused variable warnings on 'val' and use builtin_expect.
4687         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4688         __builtin_expect.
4689         (INLINE_CLONE_SYSCALL): Likewise.
4691 2012-03-05  David S. Miller  <davem@davemloft.net>
4693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4695 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
4697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4699         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4700         only for |x| >= 40.
4701         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4703 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4705         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4706         Replace gettimeofday with __vdso_gettimeofday.
4708         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4709         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4710         __vdso_clock_gettime and __vdso_getcpu.
4712         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4713         time with __vdso_time.
4715 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4717         * manual/lang.texi (size_t): Note types to which size_t may be
4718         equivalent with the GNU C Library, but do not describe when
4719         differences between them are significant.
4721 2012-03-05  Andreas Jaeger  <aj@suse.de>
4723         * sysdeps/i386/fpu/libm-test-ulps: Update.
4725 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4727         [BZ #3976]
4728         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4729         (__ieee754_pow): Save and restore rounding mode and use
4730         round-to-nearest for main computations.
4731         * math/libm-test.inc (pow_test_tonearest): New function.
4732         (pow_test_towardzero): Likewise.
4733         (pow_test_downward): Likewise.
4734         (pow_test_upward): Likewise.
4735         (main): Call the new functions.
4736         * sysdeps/i386/fpu/libm-test-ulps: Update.
4737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4739         [BZ #3976]
4740         * math/libm-test.inc (cosh_test_tonearest): New function.
4741         (cosh_test_towardzero): Likewise.
4742         (cosh_test_downward): Likewise.
4743         (cosh_test_upward): Likewise.
4744         (sinh_test_tonearest): Likewise.
4745         (sinh_test_towardzero): Likewise.
4746         (sinh_test_downward): Likewise.
4747         (sinh_test_upward): Likewise.
4748         (main): Call the new functions.
4749         * sysdeps/i386/fpu/libm-test-ulps: Update.
4750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4752 2012-03-05  Tom de Vries  <tom@codesourcery.com>
4754         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4755         default stack guard is set in last bytes.
4756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4758 2012-03-05  Kees Cook  <keescook@chromium.org>
4760         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4762         [BZ #13656]
4763         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4764         possibly allocate from heap instead of stack.
4765         * stdio-common/bug-vfprintf-nargs.c: New file.
4766         * stdio-common/Makefile (tests): Add nargs overflow test.
4768 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
4770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4772 2012-03-03  Marek Polacek  <polacek@redhat.com>
4774         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4775         * math/math_private.h: Likewise.
4776         * stdlib/tst-strtod.c: Likewise.
4777         * sysdeps/i386/i486/bits/atomic.h: Likewise.
4778         * sysdeps/x86_64/bits/atomic.h: Likewise.
4780 2012-03-02  David S. Miller  <davem@davemloft.net>
4782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4786         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4787         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4788         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4789         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4791 2012-03-02  Roland McGrath  <roland@hack.frob.com>
4793         [BZ #13792]
4794         * manual/examples/README: New file, says the example source files
4795         can be used under GPL>=2.
4796         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4797         line containing just "*/".
4798         * manual/examples/add.c: Add copyright header (GPL>=2).
4799         * manual/examples/argp-ex1.c: Likewise.
4800         * manual/examples/argp-ex2.c: Likewise.
4801         * manual/examples/argp-ex3.c: Likewise.
4802         * manual/examples/argp-ex4.c: Likewise.
4803         * manual/examples/atexit.c: Likewise.
4804         * manual/examples/db.c: Likewise.
4805         * manual/examples/dir.c: Likewise.
4806         * manual/examples/dir2.c: Likewise.
4807         * manual/examples/execinfo.c: Likewise.
4808         * manual/examples/filecli.c: Likewise.
4809         * manual/examples/filesrv.c: Likewise.
4810         * manual/examples/fmtmsgexpl.c: Likewise.
4811         * manual/examples/genpass.c: Likewise.
4812         * manual/examples/inetcli.c: Likewise.
4813         * manual/examples/inetsrv.c: Likewise.
4814         * manual/examples/isockad.c: Likewise.
4815         * manual/examples/longopt.c: Likewise.
4816         * manual/examples/memopen.c: Likewise.
4817         * manual/examples/memstrm.c: Likewise.
4818         * manual/examples/mkfsock.c: Likewise.
4819         * manual/examples/mkisock.c: Likewise.
4820         * manual/examples/mygetpass.c: Likewise.
4821         * manual/examples/pipe.c: Likewise.
4822         * manual/examples/popen.c: Likewise.
4823         * manual/examples/rprintf.c: Likewise.
4824         * manual/examples/search.c: Likewise.
4825         * manual/examples/select.c: Likewise.
4826         * manual/examples/setjmp.c: Likewise.
4827         * manual/examples/sigh1.c: Likewise.
4828         * manual/examples/sigusr.c: Likewise.
4829         * manual/examples/stpcpy.c: Likewise.
4830         * manual/examples/strdupa.c: Likewise.
4831         * manual/examples/strftim.c: Likewise.
4832         * manual/examples/strncat.c: Likewise.
4833         * manual/examples/subopt.c: Likewise.
4834         * manual/examples/swapcontext.c: Likewise.
4835         * manual/examples/termios.c: Likewise.
4836         * manual/examples/testopt.c: Likewise.
4837         * manual/examples/testpass.c: Likewise.
4838         * manual/examples/timeval_subtract.c: Likewise.
4840         [BZ #13792]
4841         * manual/time.texi (Elapsed Time): Move timeval_subtract example
4842         function to ...
4843         * manual/timeval_subtract.c.texi: ... here, new file.
4845 2012-03-02  David S. Miller  <davem@davemloft.net>
4847         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4849 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
4851         [BZ #3976]
4852         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4853         (__sin): Save and restore rounding mode and use round-to-nearest
4854         for all computations.
4855         (__cos): Save and restore rounding mode and use round-to-nearest
4856         for all computations.
4857         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4858         <fenv.h>.
4859         (tan): Save and restore rounding mode and use round-to-nearest for
4860         all computations.
4861         * math/libm-test.inc (cos_test_tonearest): New function.
4862         (cos_test_towardzero): Likewise.
4863         (cos_test_downward): Likewise.
4864         (cos_test_upward): Likewise.
4865         (sin_test_tonearest): Likewise.
4866         (sin_test_towardzero): Likewise.
4867         (sin_test_downward): Likewise.
4868         (sin_test_upward): Likewise.
4869         (tan_test_tonearest): Likewise.
4870         (tan_test_towardzero): Likewise.
4871         (tan_test_downward): Likewise.
4872         (tan_test_upward): Likewise.
4873         (main): Call the new functions.
4874         * sysdeps/i386/fpu/libm-test-ulps: Update.
4875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877         [BZ #10135]
4878         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4879         small n, then large n, before computing and testing k+n.
4880         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4881         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4882         Likewise.
4883         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4884         Likewise.
4885         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4886         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4887         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4888         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4889         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4890         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4891         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4892         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4893         * math/libm-test.inc (scalbn_test): Add more tests.
4894         (scalbln_test): Likewise.
4896         * manual/filesys.texi (mode_t): Describe constraints on size and
4897         signedness, not exact equivalence to a particular type.
4898         (ino_t): Likewise.
4899         (ino64_t): Likewise.
4900         (dev_t): Likewise.
4901         (nlink_t): Likewise.
4902         (blkcnt_t): Likewise.
4903         (blkcnt64_t): Likewise.
4904         * manual/llio.texi (off_t): Likewise.
4906         [BZ #3976]
4907         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4908         (__ieee754_exp): Save and restore rounding mode and use
4909         round-to-nearest for all computations.
4910         * math/libm-test.inc (exp_test_tonearest): New function.
4911         (exp_test_towardzero): Likewise.
4912         (exp_test_downward): Likewise.
4913         (exp_test_upward): Likewise.
4914         (main): Call the new functions.
4915         * sysdeps/i386/fpu/libm-test-ulps: Update.
4916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4918 2012-03-01  Chris Demetriou  <cgd@google.com>
4920         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4921         have predictable order.
4923 2012-03-01  David S. Miller  <davem@davemloft.net>
4925         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4927         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4928         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4929         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4930         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4932         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4933         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4934         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4936         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4937         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4938         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4939         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4940         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4944         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4945         * sysdeps/sparc/fpu/libm-test-ulps: to here.
4946         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4948         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4949         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4950         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4951         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4952         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4953         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4954         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4955         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4956         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4957         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4958         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4959         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4960         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4961         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4962         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4963         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4964         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4965         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4966         * sysdeps/sparc/elf/configure: Regenerated.
4968 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
4970         * configure.in (AS, LD): Require binutils 2.20 or later.
4971         * configure: Regenerated.
4972         * manual/install.texi (Tools for Compilation): Give binutils 2.20
4973         as required minimum version.
4974         * INSTALL: Regenerated.
4976         [BZ #2541]
4977         [BZ #4108]
4978         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4979         before squaring exponent.
4980         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4981         bottom long double and 27 bits of top long double before squaring
4982         exponent.
4983         * math/libm-test.inc (erfc_test): Add more tests.
4984         * sysdeps/i386/fpu/libm-test-ulps: Update.
4985         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4990         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4991         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4992         containing bit-fields.
4993         * soft-fp/extended.h (_FP_UNION_E): Likewise.
4994         * soft-fp/single.h (_FP_UNION_S): Likewise.
4995         * soft-fp/double.h (_FP_UNION_D): Likewise.
4997 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4999         [BZ #13786]
5000         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5001         not include ../strcmp.S.
5002         [USE_AS_STRNCASECMP_L]: Likewise.
5003         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5004         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5005         * sysdeps/i386/i686/multiarch/strncase_l-c.c
5006         (__strncasecmp_l_ia32): Define as alias to
5007         __strncasecmp_l_nonascii.
5009         [BZ #5794]
5010         * math/libm-test.inc (expm1_test): Add test for bug 5794.
5011         * sysdeps/i386/fpu/libm-test-ulps: Update.
5012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5014         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5017 2012-02-29  Jeff Law  <law@redhat.com>
5019         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5020         out of bounds read.
5022 2012-02-29  Marek Polacek  <polacek@redhat.com>
5024         [BZ #13706]
5025         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5026         * elf/Makefile: Add rules to run tst-unused-dep.out.
5028 2012-02-28  David S. Miller  <davem@davemloft.net>
5030         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5031         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5032         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5033         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5034         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5035         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5037 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
5039         * math/libm-test.inc (llround_test): Move one test from
5040         lround_test.  Use TEST_f_L in moved test.
5041         (lround_test): Move misplaced test to llround_test.  Add testcase
5042         from bug 2561.
5044 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
5046         * sysdeps/x86_64/fpu/e_expf.S: New file.
5047         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5049 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
5051         [BZ #13637]
5052         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5053         of remain_len that may cause incomplete multi-byte character and
5054         false match.
5055         * posix/bug-regex33.c: New file.
5056         * posix/Makefile (tests): Add bug-regex33.
5058 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
5060         * manual/macros.texi: New file.
5061         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5062         * manual/libc.texinfo: Include macros.texi.
5063         * manual/creatute.texi: Likewise.
5064         * manual/install.texi: Likewise.
5065         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5066         @glibcadj{} in references to the GNU C Library.
5067         * manual/charset.texi: Likewise.
5068         * manual/conf.texi: Likewise.
5069         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
5070         when not using those macros.
5071         * manual/creature.texi: Likewise.
5072         * manual/crypt.texi: Likewise.
5073         * manual/errno.texi: Likewise.
5074         * manual/filesys.texi: Likewise.
5075         * manual/header.texi: Likewise.
5076         * manual/install.texi: Likewise.
5077         * manual/intro.texi: Likewise.
5078         * manual/io.texi: Likewise.
5079         * manual/job.texi: Likewise.
5080         * manual/lang.texi: Likewise.
5081         * manual/libc.texiinfo: Likewise.
5082         * manual/llio.texi: Likewise.
5083         * manual/locale.texi: Likewise.
5084         * manual/maint.texi: Likewise.
5085         * manual/math.texi: Likewise.
5086         * manual/memory.texi: Likewise.
5087         * manual/message.texi: Likewise.
5088         * manual/nss.texi: Likewise.
5089         * manual/pattern.texi: Likewise.
5090         * manual/process.texi: Likewise.
5091         * manual/resource.texi: Likewise.
5092         * manual/search.texi: Likewise.
5093         * manual/setjmp.texi: Likewise.
5094         * manual/signal.texi: Likewise.
5095         * manual/socket.texi: Likewise.
5096         * manual/startup.texi: Likewise.
5097         * manual/stdio.texi: Likewise.
5098         * manual/string.texi: Likewise.
5099         * manual/sysinfo.texi: Likewise.
5100         * manual/syslog.texi: Likewise.
5101         * manual/terminal.texi: Likewise.
5102         * manual/time.texi: Likewise.
5103         * manual/users.texi: Likewise.
5104         * INSTALL: Regenerated.
5105         * NOTES: Regenerated.
5106         * sysdeps/gnu/errlist.c: Regenerated.
5108 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5110         * include/dirent.h: Include <dirstream.h> before
5111         <dirent/dirent.h>.
5113 2012-02-28  David S. Miller  <davem@davemloft.net>
5115         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5116         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5117         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5118         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5120 2012-02-27  David S. Miller  <davem@davemloft.net>
5122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5124         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5125         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5128         frame pointer instead of stack pointer relative arg slot.
5129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5130         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5131         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5133 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
5135         [BZ #3992]
5136         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5138 2012-02-27  David S. Miller  <davem@davemloft.net>
5140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5144         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5145         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5146         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5147         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5149 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5151         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5152         later.  Allow versions 5-9.
5153         * configure: Regenerated.
5154         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5155         required minimum version and 4.6 as recommended version.  Do not
5156         mention bugs in GCC 2.7 and 2.8.
5157         * INSTALL: Regenerated.
5159 2012-02-27  David S. Miller  <davem@davemloft.net>
5161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5165         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5166         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5167         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5168         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5170         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5171         manipulate bits before adding and subtracting TWO112[sx].
5172         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5174 2012-02-27  Roland McGrath  <roland@hack.frob.com>
5176         [BZ #13775]
5177         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5178         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5179         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5180         being in POSIX, because they are in 1003.1-2008.
5182         * rt/tst-aio.c: Include <fcntl.h>.
5183         * rt/tst-aio7.c: Likewise.
5184         * rt/tst-aio64.c: Likewise.
5186         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5188 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5190         * manual/install.texi (--with-headers): Describe headers as
5191         interface headers, not private headers.
5192         (Specific advice for GNU/Linux systems): Describe use of headers
5193         from "make headers_install", not private headers from older
5194         kernels.
5195         * INSTALL: Regenerated.
5196         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5197         Change to 2.6.19.
5198         * sysdeps/unix/sysv/linux/configure: Regenerated.
5200         * manual/llio.texi (fclean): Remove documentation.
5202         * manual/Makefile (libc-texi-generated): New variable.  Include
5203         version.texi.
5204         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5205         $(libc-texi-generated), not duplicated list of files.
5206         (version.texi, stamp-version): New rules.
5207         (realclean): Remove $(libc-texi-generated), not individual files
5208         from that list.  Do not remove dir-add.texinfo.
5209         * manual/libc.texinfo: Comment out uses of edition numbers and
5210         references to printed manual.  Remove last-updated dates.
5211         (EDITION): Comment out.
5212         (ISBN): Likewise.
5213         (VERSION, UPDATED): Remove.
5214         (version.texi): Include.
5216 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
5218         * sysdeps/posix/spawni.c: Include <signal.h>.
5219         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5220         * sysdeps/pthread/aio_fsync.c: Likewise.
5222 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
5224         * conform/Makefile (tests): Run only when not cross-compiling and
5225         when fast-check is not defined.
5227         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5228         * conform/data/limits.h-data: Fixes for POSIX2008.
5229         * conform/run-conformtest.sh: Run all tests.
5230         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5231         headers.
5232         * include/bits/dlfcn.h: Likewise.
5233         * include/langinfo.h: Likewise.
5234         * include/monetary.h: Likewise.
5235         * include/sys/poll.h: Likewise.
5237         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5238         for __USE_GNU.
5239         * posix/spawn.h: Define __need_sigset_t.
5240         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5241         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5242         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
5243         to get sigevent_t only.
5244         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5245         only for __USE_GNU.
5246         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5247         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5248         process_vm_writev only for __USE_GNU.
5249         * termios/termios.h: Declare tcgetsid also for POSIX2008.
5251         * conform/Makefile: For now ignore errors from run-conformtest.
5252         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
5253         POSIX to avoid namespace pollution.  Don't prepend headers.
5254         * conform/data/aio.h-data: Fixes for POSIX testing.
5255         * conform/data/fcntl.h-data: Likewise.
5256         * conform/data/glob.h-data: Likewise.
5257         * conform/data/grp.h-data: Likewise.
5258         * conform/data/pthread.h-data: Likewise.
5259         * conform/data/pwd.h-data: Likewise.
5260         * conform/data/signal.h-data: Likewise.
5261         * conform/data/spawn.h-data: Likewise.
5262         * conform/data/stdio.h-data: Likewise.
5263         * conform/data/stdlib.h-data: Likewise.
5264         * conform/data/stropts.h-data: Likewise.
5265         * conform/data/sys/mman.h-data: Likewise.
5266         * conform/data/sys/stat.h-data: Likewise.
5267         * conform/data/sys/types.h-data: Likewise.
5268         * conform/data/sys/wait.h-data: Likewise.
5269         * conform/data/time.h-data: Likewise.
5270         * conform/data/unistd.h-data: Likewise.
5271         * conform/data/utime.h-data: Likewise.
5273         * io/sys/stat.h: fchmod was always in POSIX.
5274         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5275         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5276         * rt/aio.h: Define __need_timespec before including <time.h>.
5277         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5278         struct.  Add forward declaration of pthread_attr_t and use it in
5279         sigevent.
5280         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5281         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5282         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5283         always remove CLK_TCK definition.
5285 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
5287         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5289 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
5291         * conform/run-conformtest.sh: New file.
5292         * conform/Makefile: Run run-conformtest for tests.
5293         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
5294         support.
5296         * conform/data/uchar.h-data: New file.
5297         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5298         * conform/data/arpa/inet.h-data: Likewise.
5299         * conform/data/assert.h-data: Likewise.
5300         * conform/data/complex.h-data: Likewise.
5301         * conform/data/cpio.h-data: Likewise.
5302         * conform/data/ctype.h-data: Likewise.
5303         * conform/data/dirent.h-data: Likewise.
5304         * conform/data/dlfcn.h-data: Likewise.
5305         * conform/data/errno.h-data: Likewise.
5306         * conform/data/fcntl.h-data: Likewise.
5307         * conform/data/float.h-data: Likewise.
5308         * conform/data/fmtmsg.h-data: Likewise.
5309         * conform/data/fnmatch.h-data: Likewise.
5310         * conform/data/ftw.h-data: Likewise.
5311         * conform/data/glob.h-data: Likewise.
5312         * conform/data/grp.h-data: Likewise.
5313         * conform/data/iconv.h-data: Likewise.
5314         * conform/data/inttypes.h-data: Likewise.
5315         * conform/data/langinfo.h-data: Likewise.
5316         * conform/data/libgen.h-data: Likewise.
5317         * conform/data/limits.h-data: Likewise.
5318         * conform/data/locale.h-data: Likewise.
5319         * conform/data/math.h-data: Likewise.
5320         * conform/data/monetary.h-data: Likewise.
5321         * conform/data/mqueue.h-data: Likewise.
5322         * conform/data/ndbm.h-data: Likewise.
5323         * conform/data/net/if.h-data: Likewise.
5324         * conform/data/netdb.h-data: Likewise.
5325         * conform/data/netinet/in.h-data: Likewise.
5326         * conform/data/nl_types.h-data: Likewise.
5327         * conform/data/poll.h-data: Likewise.
5328         * conform/data/pthread.h-data: Likewise.
5329         * conform/data/pwd.h-data: Likewise.
5330         * conform/data/regex.h-data: Likewise.
5331         * conform/data/sched.h-data: Likewise.
5332         * conform/data/search.h-data: Likewise.
5333         * conform/data/semaphore.h-data: Likewise.
5334         * conform/data/setjmp.h-data: Likewise.
5335         * conform/data/signal.h-data: Likewise.
5336         * conform/data/spawn.h-data: Likewise.
5337         * conform/data/stdarg.h-data: Likewise.
5338         * conform/data/stdio.h-data: Likewise.
5339         * conform/data/stdlib.h-data: Likewise.
5340         * conform/data/string.h-data: Likewise.
5341         * conform/data/strings.h-data: Likewise.
5342         * conform/data/stropts.h-data: Likewise.
5343         * conform/data/sys/ipc.h-data: Likewise.
5344         * conform/data/sys/mman.h-data: Likewise.
5345         * conform/data/sys/msg.h-data: Likewise.
5346         * conform/data/sys/resource.h-data: Likewise.
5347         * conform/data/sys/select.h-data: Likewise.
5348         * conform/data/sys/sem.h-data: Likewise.
5349         * conform/data/sys/shm.h-data: Likewise.
5350         * conform/data/sys/socket.h-data: Likewise.
5351         * conform/data/sys/stat.h-data: Likewise.
5352         * conform/data/sys/statvfs.h-data: Likewise.
5353         * conform/data/sys/time.h-data: Likewise.
5354         * conform/data/sys/timeb.h-data: Likewise.
5355         * conform/data/sys/times.h-data: Likewise.
5356         * conform/data/sys/types.h-data: Likewise.
5357         * conform/data/sys/uio.h-data: Likewise.
5358         * conform/data/sys/un.h-data: Likewise.
5359         * conform/data/sys/utsname.h-data: Likewise.
5360         * conform/data/sys/wait.h-data: Likewise.
5361         * conform/data/syslog.h-data: Likewise.
5362         * conform/data/tar.h-data: Likewise.
5363         * conform/data/termios.h-data: Likewise.
5364         * conform/data/utime.h-data: Likewise.
5365         * conform/data/utmpx.h-data: Likewise.
5366         * conform/data/varargs.h-data: Likewise.
5367         * conform/data/wchar.h-data: Likewise.
5368         * conform/data/wctype.h-data: Likewise.
5369         * conform/data/wordexp.h-data: Likewise.
5371         * include/stropts.h: New file.
5372         * include/uchar.h: New file.
5373         * include/aio.h: Changes to allow conformtest.pl to use the headers.
5374         * include/assert.h: Likewise.
5375         * include/ctype.h: Likewise.
5376         * include/dirent.h: Likewise.
5377         * include/dlfcn.h: Likewise.
5378         * include/fcntl.h: Likewise.
5379         * include/fnmatch.h: Likewise.
5380         * include/glob.h: Likewise.
5381         * include/grp.h: Likewise.
5382         * include/libio.h: Likewise.
5383         * include/locale.h: Likewise.
5384         * include/math.h: Likewise.
5385         * include/net/if.h: Likewise.
5386         * include/netdb.h: Likewise.
5387         * include/netinet/in.h: Likewise.
5388         * include/pthread.h: Likewise.
5389         * include/pwd.h: Likewise.
5390         * include/regex.h: Likewise.
5391         * include/sched.h: Likewise.
5392         * include/search.h: Likewise.
5393         * include/setjmp.h: Likewise.
5394         * include/signal.h: Likewise.
5395         * include/stdio.h: Likewise.
5396         * include/stdlib.h: Likewise.
5397         * include/string.h: Likewise.
5398         * include/sys/cdefs.h: Likewise.
5399         * include/sys/mman.h: Likewise.
5400         * include/sys/msg.h: Likewise.
5401         * include/sys/resource.h: Likewise.
5402         * include/sys/select.h: Likewise.
5403         * include/sys/socket.h: Likewise.
5404         * include/sys/stat.h: Likewise.
5405         * include/sys/statvfs.h: Likewise.
5406         * include/sys/time.h: Likewise.
5407         * include/sys/times.h: Likewise.
5408         * include/sys/uio.h: Likewise.
5409         * include/sys/utsname.h: Likewise.
5410         * include/sys/wait.h: Likewise.
5411         * include/termios.h: Likewise.
5412         * include/time.h: Likewise.
5413         * include/ulimit.h: Likewise.
5414         * include/unistd.h: Likewise.
5415         * include/utime.h: Likewise.
5416         * include/wchar.h: Likewise.
5417         * include/wctype.h: Likewise.
5418         * include/wordexp.h: Likewise.
5420         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5422         * time/time.h: TIME_UTC must be a macro.
5423         Make timespec_get available for ISO C11 only as well.
5425 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
5427         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5428         Reported by Peng Haitao <penght@cn.fujitsu.com>.
5430 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5432         * configure.in: Use -o not -a in test for unsupported multi-arch.
5434 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5436         * manual/texinfo.tex: Update to version 2012-01-19.16.
5438 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5440         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5442 2012-02-24  Roland McGrath  <roland@hack.frob.com>
5444         [BZ #13738]
5445         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5446         * manual/fdl-1.3.texi: New file.
5447         * manual/fdl-1.1.texi: File removed.
5449         [BZ #13738]
5450         * manual/libc.texinfo (FDL_VERSION): New @set.
5451         Use it for mention of FDL in cover text.
5452         (Documentation License): Use it in @include file name.
5454 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5455             Roland McGrath  <roland@hack.frob.com>
5457         [BZ #5461]
5458         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5459         not LONG_LONG_MAX and LONG_LONG_MIN.
5460         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5461         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
5462         name.
5463         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5465 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5467         [BZ #2547]
5468         [BZ #11365]
5469         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5470         manipulate bits before adding and subtracting TWO23[sx].
5471         * math/libm-test.inc (nearbyint_test): Add more tests.
5473 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5475         [BZ #2548]
5476         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5477         bits before adding and subtracting TWO23[sx].
5478         * math/libm-test.inc (rint_test): Add more tests.
5479         (rint_test_tonearest): Likewise.
5480         (rint_test_towardzero): Likewise.
5481         (rint_test_downward): Likewise.
5482         (rint_test_upward: Likewise.
5484 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5486         [BZ #10110]
5487         * include/stdc-predef.h: New file.  Extracted from features.h.
5488         * include/features.h: Include stdc-predef.h.
5489         * Makefile (headers): Add stdc-predef.h.
5490         * CONFORMANCE (Compiler limitations): Update.
5492 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5494         * manual/libc.texinfo (VERSION, UPDATED): Revert.
5496 2012-02-21  David S. Miller  <davem@davemloft.net>
5498         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5499         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5501 2012-02-20  David S. Miller  <davem@davemloft.net>
5503         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5504         using a normal save/restore sequence, rather than allocating a
5505         dummy stack frame just to store a frame pointer and restore.
5506         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5508 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5510         * manual/install.texi: Fix stray word in line-wrapped comment.
5512 2012-02-20  David S. Miller  <davem@davemloft.net>
5514         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5515         both binutils and gcc support GOTDATA.
5517         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5518         "rd %pc" in the PIC register setup sequences.
5520         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5521         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5522         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5523         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5524         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5525         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5526         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5527         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5528         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5529         (SYSCALL_ERROR_HANDLER): Likewise.
5530         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5531         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5532         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5533         (SYSCALL_ERROR_HANDLER): Likewise.
5535         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5536         (HAVE_GCC_GOTDATA): New.
5537         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5538         relocation support in both binutils and gcc.
5539         * sysdeps/sparc/elf/configure: Regenerate.
5541         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5542         * sysdeps/sparc/sparc32/elf/configure: Delete.
5543         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5544         * sysdeps/sparc/sparc64/elf/configure: Delete.
5545         * sysdeps/sparc/elf/configure.in: New file.
5546         * sysdeps/sparc/elf/configure: Generate.
5548         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5549         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5550         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5551         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5552         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5554 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5556         * manual/install.texi: Do not mention specific glibc version
5557         numbers.
5558         * manual/libc.texinfo (VERSION, UPDATED): Update.
5559         (@copying): Use @copyright{} and range of years.
5561 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5563         [BZ #13695]
5564         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5565         [crti.S not in sysdirs] (generated): Do not append.
5566         [crti.S not in sysdirs] (omit-deps): Likewise.
5567         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5568         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5569         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5570         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5571         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5572         Likewise.
5573         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5574         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5575         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5576         * csu/defs.awk: Remove file.
5577         * sysdeps/generic/initfini.c: Likewise.
5578         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5579         variable.
5580         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5581         Likewise.
5583 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5585         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5586         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5587         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5588         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5589         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5590         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5591         <bits/epoll.h>.
5592         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5593         (__EPOLL_PACKED): Define to empty if not defined by
5594         <bits/epoll.h>.
5595         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5597         bits/epoll.h.
5599 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5601         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5602         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5603         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5604         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5605         <bits/timerfd.h>.
5606         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5608         bits/timerfd.h.
5610 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5612         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5613         in C locale.
5614         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5615         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5616         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5619 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
5621         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5622         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5624 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
5626         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5627         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5628         defined.
5629         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5630         Likewise.
5631         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5632         entry for 2.16.
5634 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
5636         * math/w_acos.c: Use non-signaling floating-point comparisons.
5637         * math/w_acosf.c: Likewise.
5638         * math/w_acosh.c: Likewise.
5639         * math/w_acoshf.c: Likewise.
5640         * math/w_acoshl.c: Likewise.
5641         * math/w_acosl.c: Likewise.
5642         * math/w_asin.c: Likewise.
5643         * math/w_asinf.c: Likewise.
5644         * math/w_asinl.c: Likewise.
5645         * math/w_atanh.c: Likewise.
5646         * math/w_atanhf.c: Likewise.
5647         * math/w_atanhl.c: Likewise.
5648         * math/w_exp2.c: Likewise.
5649         * math/w_exp2f.c: Likewise.
5650         * math/w_exp2l.c: Likewise.
5651         * math/w_j0.c: Likewise.
5652         * math/w_j0f.c: Likewise.
5653         * math/w_j0l.c: Likewise.
5654         * math/w_j1.c: Likewise.
5655         * math/w_j1f.c: Likewise.
5656         * math/w_j1l.c: Likewise.
5657         * math/w_jn.c: Likewise.
5658         * math/w_jnf.c: Likewise.
5659         * math/w_log.c: Likewise.
5660         * math/w_log10.c: Likewise.
5661         * math/w_log10f.c: Likewise.
5662         * math/w_log10l.c: Likewise.
5663         * math/w_log2.c: Likewise.
5664         * math/w_log2f.c: Likewise.
5665         * math/w_log2l.c: Likewise.
5666         * math/w_logf.c: Likewise.
5667         * math/w_logl.c: Likewise.
5668         * math/w_sqrt.c: Likewise.
5669         * math/w_sqrtf.c: Likewise.
5670         * math/w_sqrtl.c: Likewise.
5671         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5672         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5673         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5674         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5675         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5677 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5679         [BZ #9739]
5680         * manual/string.texi (strnlen): Use correct parameter name in
5681         equivalent expression.
5683 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5685         [BZ #11174]
5686         * manual/users.texi (seteuid): Consistently use neweuid for
5687         argument name.
5689 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5691         [BZ #13704]
5692         * manual/nss.texi (Services in the NSS configuration): Correct
5693         list of services in example configuration file.
5695 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
5697         [BZ #11322]
5698         * manual/arith.texi: Remove statements about negative zero
5699         behaving identically to zero.
5701 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5703         [BZ #5993]
5704         * manual/install.texi: Do not document upgrading from libc5.
5706 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5708         [BZ #4596]
5709         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5711 2012-02-18  David S. Miller  <davem@davemloft.net>
5713         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5714         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5715         %o7 across the call.
5716         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5717         instead.
5718         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5719         SETUP_PIC_REG_LEAF.
5720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5721         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5722         * sysdeps/sparc/crtn.S: Likewise.
5724 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
5726         * aout/Makefile: Remove.
5728 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
5730         [BZ #13058]
5731         * manual/examples/argp-ex1.c (main): Format definition in GNU
5732         style.
5733         * manual/examples/argp-ex2.c (main): Likewise.
5734         * manual/examples/argp-ex3.c (main): Likewise.
5735         * manual/examples/argp-ex4.c (main): Likewise.
5736         * manual/examples/longopt.c (main): Use new-style prototype
5737         definition.
5738         * manual/examples/strncat.c (main): Specify return type and use
5739         (void) for arguments.
5740         * manual/examples/subopt.c (main): Use char **argv argument.
5742 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5744         [BZ #5077]
5745         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5746         rounding modes.
5748 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
5750         [BZ #6907]
5751         * manual/string.texi (strchr): Change when strchrnul is
5752         recommended.
5754 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
5756         [BZ #174]
5757         * manual/locale.texi (setlocale): Document LOCPATH.
5759 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5761         [BZ #10210]
5762         * manual/process.texi (execle): Move @dots{} before last argument.
5764 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
5766         [BZ #12047]
5767         * manual/charset.texi (Generic Charset Conversion): Fix typo
5768         (LC_TYPE -> LC_CTYPE).
5770 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
5772         [BZ #5805]
5773         * manual/arith.texi (scalbn): Use @var{} on parameter names.
5774         (scalbnf): Likewise.
5775         (scalbnl): Likewise.
5776         (scalbln): Likewise.
5777         (scalblnf): Likewise.
5778         (scalblnl): Likewise.
5779         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5780         (vwarnx): Likewise.
5781         (verr): Likewise.
5782         (verrx): Likewise.
5783         * manual/filesys.texi (telldir): Use braces around return type.
5784         * manual/llio.texi (mmap): Add space after comma.
5785         (mmap64): Likewise.
5786         * manual/math.texi (jn): Use @var{} on parameter names.
5787         (jnf): Likewise.
5788         (jnl): Likewise.
5789         (yn): Likewise.
5790         (ynf): Likewise.
5791         (ynl): Likewise.
5792         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5793         line.
5794         * manual/resource.texi (ulimit): Use @dots{} instead of literal
5795         "...".
5796         (sched_get_priority_min): Remove semicolon on @deftypefun line.
5797         (sched_get_priority_max): Likewise.
5798         * manual/signal.texi (sigvec): Add space after comma.
5799         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5800         names.
5801         (if_indextoname): Likewise.
5802         (if_freenameindex): Likewise.
5803         (sendto): Use ',' instead of '.' in prototype.
5804         * manual/startup.texi (syscall): Use @dots{} instead of literal
5805         "...".
5806         * manual/stdio.texi (__fpending): Separate initial words of
5807         paragraph from @deftypefun line.
5808         * manual/syslog.texi (syslog): Use @dots{} instead of literal
5809         "...".
5810         (vsyslog): Use @var{} on parameter names.
5811         * manual/terminal.texi (stty): Use @var{} on parameter names.
5812         * manual/users.texi (getutmp): Use @var{} on parameter names.
5813         (getutmpx): Likewise.
5815 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5817         [BZ #6884]
5818         * manual/stdio.texi (fopen): Fix typos in description of
5819         ",ccs=STRING".
5821 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
5823         [BZ #4026]
5824         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5825         get clock_id definition.
5827 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
5829         [BZ #4822]
5830         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5831         (madvise): Cast every argument to void on its own.
5833 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5835         [BZ #9902]
5836         * manual/startup.texi (Exit Status): Fix typo.
5838 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5840         [BZ #10140]
5841         * manual/examples/argp-ex1.c: Include <stdlib.h>.
5842         * manual/examples/argp-ex2.c: Likewise.
5843         * manual/examples/argp-ex3.c: Likewise.
5845 2012-02-16  Richard Henderson  <rth@redhat.com>
5847         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5848         * sysdeps/s390/s390-32/initfini.c: Remove.
5849         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5850         * sysdeps/s390/s390-64/initfini.c: Remove.
5852 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5854         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5855         compiler output for sysdeps/generic/initfini.c.
5856         * sysdeps/sh/elf/initfini.c: Remove file.
5858 2012-02-16  David S. Miller  <davem@davemloft.net>
5860         [BZ #11494]
5861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5863         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5864         * sysdeps/sparc/crti.S: New file.
5865         * sysdeps/sparc/crtn.S: New file.
5866         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5867         * sysdeps/sparc/sparc64/Makefile: Likewise.
5869 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
5871         [BZ #3335]
5872         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5874 2012-02-15  Roland McGrath  <roland@hack.frob.com>
5876         [BZ #4822]
5877         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5879         * mach/devstream.c (cookie_io_functions_t): Macro removed.
5880         (write, read, close): Likewise.
5881         Patch by Aurelien Jarno <aurelien@aurel32.net>.
5883 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
5885         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5886         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5887         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5888         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5889         <bits/signalfd.h>.
5890         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5891         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5892         bits/signalfd.h.
5894 2012-02-14  Marek Polacek  <polacek@redhat.com>
5896         * sysdeps/x86_64/crti.S: New file.
5897         * sysdeps/x86_64/crtn.S: New file.
5898         * sysdeps/x86_64/elf/initfini.c: Remove file.
5900 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5902         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5903         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5904         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5905         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5906         <bits/inotify.h>.
5907         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5908         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5909         bits/inotify.h.
5911 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5913         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5914         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5915         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5916         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5917         <bits/eventfd.h>.
5918         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5919         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5920         bits/eventfd.h.
5922 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
5924         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5925         __feraiseexcept instead of feraiseexcept.
5927         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5928         nanosleep invocations.
5929         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5930         strings, and add error checking for a nanosleep invocations.
5932 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
5934         Replace FSF snail mail address with URLs, as per GNU coding standards.
5935         Most of the snail mail addresses were wrong anyway, and omitting
5936         them makes the source code easier to maintain.  Almost all of the
5937         changes are to license notices and to locale LC_IDENTIFICATION
5938         addresses, except for this one:
5939         * manual/libc.texinfo: In "Published by", give the FSF's URL,
5940         not its snail mail address.
5942 2012-02-09  Richard Henderson  <rth@twiddle.net>
5944         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5945         of kernel-features.h.
5947         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5949 2012-02-08  Marek Polacek  <polacek@redhat.com>
5951         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5952         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5953         * sysdeps/gnu/_G_config.h: Likewise.
5954         * sysdeps/generic/_G_config.h: Likewise.
5956 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5958         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5959         tests.
5960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5962         * sysdeps/powerpc/powerpc32/crti.S: New file.
5963         * sysdeps/powerpc/powerpc32/crtn.S: New file.
5964         * sysdeps/powerpc/powerpc64/crti.S: New file.
5965         * sysdeps/powerpc/powerpc64/crtn.S: New file.
5967         * Makeconfig (have-initfini): Don't set.
5968         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5969         * configure.in (nopic_initfini): Don't substitute.
5970         * config.h.in (HAVE_INITFINI): Don't #undef.
5971         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5972         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5974 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
5976         Support crti.S and crtn.S provided directly by architectures.
5977         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5978         [crti.S in sysdirs] (omit-deps): Likewise.
5979         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5980         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5981         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5982         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5983         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5984         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5985         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5986         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5987         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5988         compiler output for sysdeps/generic/initfini.c.
5989         * sysdeps/i386/elf/Makefile: Remove file.
5990         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5992 2012-02-07  Marek Polacek  <polacek@redhat.com>
5994         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5995         * sysdeps/gnu/_G_config.h: Likewise.
5996         * sysdeps/mach/hurd/_G_config.h: Likewise.
5998 2012-02-07  Marek Polacek  <polacek@redhat.com>
6000         * math/Makefile (tests): Add tst-CMPLX2.
6001         * math/tst-CMPLX2.c: New file.
6003 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
6005         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6007         * math/libm-test.inc (jn_test): Add missing L suffix.
6009 2012-02-06  Marek Polacek  <polacek@redhat.com>
6011         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6012         * sysdeps/i386/fpu/e_powf.S: Likewise.
6013         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6014         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6015         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6016         * sysdeps/i386/fpu/e_pow.S: Likewise.
6017         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6018         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6019         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6020         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6021         * sysdeps/i386/fpu/e_log2.S: Likewise.
6022         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6023         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6024         * sysdeps/i386/fpu/e_powl.S: Likewise.
6025         * sysdeps/i386/fpu/s_log1p.S: Likewise.
6026         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6027         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6028         * sysdeps/i386/fpu/e_logl.S: Likewise.
6029         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6030         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6031         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6032         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6033         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6034         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6035         * sysdeps/i386/fpu/e_log.S: Likewise.
6036         * sysdeps/i386/fpu/s_cexp.S: Likewise.
6037         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6038         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6039         * sysdeps/i386/fpu/e_logf.S: Likewise.
6040         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6041         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6042         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6043         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6044         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6045         * sysdeps/i386/fpu/e_log10.S: Likewise.
6046         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6047         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6048         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6049         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6050         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6051         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6052         * sysdeps/i386/asm-syntax.h: Likewise.
6053         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6054         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6055         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6056         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6057         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6058         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6059         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6060         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6061         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6062         * sysdeps/powerpc/sysdep.h: Likewise.
6063         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6064         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6066 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
6068         [BZ #411]
6069         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6071 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
6073         * sysdeps/i386/sysdep.h: Include <features.h>.
6074         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6075         version.
6077 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
6079         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6080         Define.
6081         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6082         LOAD_PIC_REG_STR.
6084 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6086         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6087         (SETUP_PIC_REG): Use GET_PC_THUNK.
6088         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6089         macro.
6091 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6093         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6094         for non-PIC compilation.
6095         (SETUP_PIC_REG): Add .p2align directive.
6096         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6097         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6098         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6099         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6100         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6101         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6102         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6103         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6104         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6105         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6106         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6107         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6108         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6109         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6110         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6111         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6112         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6113         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6114         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6115         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6116         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6117         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6118         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6119         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6120         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6121         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6122         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6123         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6124         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6125         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6126         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6127         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6128         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6129         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6130         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6131         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6132         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6133         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6134         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6135         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6136         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6138 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6140         * math/tst-CMPLX.c: Include <stdio.h>.
6142 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
6144         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6145         float.
6146         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6147         * sysdeps/sparc/bits/mathdef.h: Likewise.
6149 2012-01-31  Marek Polacek  <polacek@redhat.com>
6151         * libio/libio.h: Don't define _PARAMS.
6152         * locale/programs/config.h: Don't define PARAMS.
6153         * stdlib/strtol_l.c: Likewise.
6154         (__strtol_l): Remove PARAMS from the prototype.
6156 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
6158         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
6159         names.  Just use the correct names.  Remove unnecessary wrapper
6160         functions.
6161         * malloc/arena.c: Likewise.
6162         * malloc/hooks.c: Likewise.
6164         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6165         ARENA_TEST says not to.  Simplify test for creation of a new arena.
6166         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6168 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
6170         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6171         into tail calls.
6172         (update_get_addr): New function.
6173         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6174         GET_ADDR_MODULE parameter.
6176 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
6178         * crypt/cert.c: Remove __STDC__ conditionals.
6179         * crypt/crypt-entry.c: Likewise.
6180         * crypt/crypt_util.c: Likewise.
6181         * libio/filedoalloc.c: Likewise.
6182         * libio/fileops.c: Likewise.
6183         * libio/genops.c: Likewise.
6184         * libio/iofclose.c: Likewise.
6185         * libio/iofdopen.c: Likewise.
6186         * libio/iofopen.c: Likewise.
6187         * libio/iofopen64.c: Likewise.
6188         * libio/iogetdelim.c: Likewise.
6189         * libio/iopopen.c: Likewise.
6190         * libio/obprintf.c: Likewise.
6191         * libio/oldfileops.c: Likewise.
6192         * libio/oldiofclose.c: Likewise.
6193         * libio/oldiofdopen.c: Likewise.
6194         * libio/oldiofopen.c: Likewise.
6195         * libio/oldiopopen.c: Likewise.
6196         * libio/wfiledoalloc.c: Likewise.
6197         * libio/wgenops.c: Likewise.
6198         * locale/programs/xmalloc.c: Likewise.
6199         * misc/syslog.c: Likewise.
6200         * stdio-common/xbug.c: Likewise.
6201         * string/memchr.c: Likewise.
6202         * string/memcmp.c: Likewise.
6203         * string/memrchr.c: Likewise.
6204         * string/rawmemchr.c: Likewise.
6205         * sysdeps/posix/getcwd.c: Likewise.
6206         * time/strftime_l.c: Likewise.
6208 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
6210         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6211         * config.make.in (config-cflags-sse2avx): Define.
6212         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6213         Fix typo.
6215 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
6217         * scripts/config.guess: Update from upstream config git repository.
6218         * scripts/config.sub: Likewise.
6220 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
6222         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6223         (EM_NUM): Update.
6224         (R_TILEPRO_*, R_TILEGX_*): New macros.
6226         * scripts/firstversions.awk: Fix bug in version range handling.
6228         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6230         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6232         * include/sys/epoll.h: New file.
6233         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6234         libc_hidden_def.
6236 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
6238         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6239         Avoid unnecessary __WORDSIZE == 64 test.
6240         (fmaxf): Use VEX format if possible.
6241         (fmax): Likewise.
6242         (fminf): Likewise.
6243         (fmin): Likewise.
6245         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6246         * math/math_private.h: Remove libc_fegetround* and
6247         libc_fesetround*.
6248         * sysdeps/i386/configure.in: Check for -msse2avx.
6249         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6250         also if SSE2AVX is defined.
6251         Remove libc_fegetround* and libc_fesetround*.
6252         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6253         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
6254         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6255         of HAS_YMM_USABLE.
6256         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6257         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6258         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6259         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6260         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6262         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6264 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6266         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6267         size is not set.
6268         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6270 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
6272         [BZ #13618]
6273         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6274         relocation.
6275         * Makeconfig (libm): Define.
6276         * elf/Makefile: Add rules to build and run tst-relsort1.
6277         * elf/tst-relsort1.c: New file.
6278         * elf/tst-relsort1mod1.c: New file.
6279         * elf/tst-relsort1mod2.c: New file.
6281 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
6283         * math/s_ldexp.c: Remove __STDC__ conditionals.
6284         * math/s_ldexpf.c: Likewise.
6285         * math/s_ldexpl.c: Likewise.
6286         * math/s_nextafter.c: Likewise.
6287         * math/s_nexttowardf.c: Likewise.
6288         * math/s_significand.c: Likewise.
6289         * math/s_significandf.c: Likewise.
6290         * math/s_significandl.c: Likewise.
6291         * math/w_jnl.c: Likewise.
6292         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6293         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6294         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6295         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6296         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6297         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6298         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6299         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6300         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6301         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6302         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6303         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6304         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6305         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6306         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6307         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6308         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6309         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6311         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6312         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6313         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6314         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6315         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6316         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6317         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6318         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6319         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6320         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6321         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6322         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6323         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6324         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6325         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6326         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6327         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6328         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6329         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6330         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6331         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6332         * sysdeps/ieee754/k_standard.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6334         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6335         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6336         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6337         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6338         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6339         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6340         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6341         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6342         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6343         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6346         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6347         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6348         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6349         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6350         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6351         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6352         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6353         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6354         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6355         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6356         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6357         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6358         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6359         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6360         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6361         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6362         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6363         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6364         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6365         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6366         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6367         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6368         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6369         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6370         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6371         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6372         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6373         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6374         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6375         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6376         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6377         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6378         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6380         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6381         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6382         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6383         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6384         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6385         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6386         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6387         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6388         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6389         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6390         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6391         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6392         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6393         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6394         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6395         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6396         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6397         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6398         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6399         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6400         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6401         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6402         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6403         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6404         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6405         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6406         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6407         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6408         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6409         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6410         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6411         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6412         * sysdeps/ieee754/s_matherr.c: Likewise.
6413         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6414         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6415         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6416         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6418 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6420         * crypt/md5.h: Remove __STDC__ conditionals.
6421         * libio/libioP.h: Likewise.
6422         * locale/programs/config.h: Likewise.
6423         * sysdeps/generic/sysdep.h: Likewise.
6424         * sysdeps/i386/asm-syntax.h: Likewise.
6425         * sysdeps/s390/asm-syntax.h: Likewise.
6426         * sysdeps/unix/sysdep.h: Likewise.
6427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6430 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6432         * libio/libio.h: Remove __STDC__ conditionals.
6433         * malloc/obstack.h: Likewise.
6434         * math/complex.h: Likewise.
6435         * math/math.h: Likewise.
6436         * sysdeps/generic/_G_config.h: Likewise.
6437         * sysdeps/gnu/_G_config.h: Likewise.
6438         * sysdeps/mach/hurd/_G_config.h: Likewise.
6439         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6440         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6441         * sysdeps/sparc/bits/mathdef.h: Likewise.
6443 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
6445         [BZ #13583]
6446         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6447         Clean up HAS_* macros.
6448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6449         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6450         possible.
6451         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6452         HAS_AVX.
6453         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6454         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6455         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6456         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6457         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6459 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
6461         * elf/tst-unique3.cc (gets): Remove declaration.
6462         * elf/tst-unique3lib.cc (gets): Likewise.
6463         * elf/tst-unique3lib2.cc (gets): Likewise.
6464         * elf/tst-unique4.cc (gets): Likewise.
6466 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
6468         * include/stdio.h: Add C++ protection.  Add gets declarations and
6469         definitions.
6470         * debug/tst-chk1.c: Don't declare gets here.
6471         * stdio-common/tst-gets.c: Likewise.
6473 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6475         * posix/glob: Remove directory.
6477 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6479         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6481 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
6483         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6484         of the non-standard EPFNOSUPPORT.
6486 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6488         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6489         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6490         ANYWHERE set to 1 only on KERN_NO_SPACE error.
6492 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
6494         * wcsmbs/uchar.h: Test __STDC_VERSION__.
6496 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
6498         * nscd/aicache.c (addhstaiX): Do not cache negative results of
6499         transient errors.
6500         * nscd/grpcache.c (cache_addgr): Likewise.
6501         * nscd/hstcache.c (cache_addhst): Likewise.
6502         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6503         * nscd/pwdcache.c (cache_addpw): Likewise.
6504         * nscd/servicescache.c (cache_addserv): Likewise.
6506 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
6508         * malloc/malloc.c: Various cleanups.
6509         * malloc/hooks.c: Likewise.
6511         * stdlib/Makefile (tests): Add bug-fmtmsg1.
6512         * stdlib/bug-fmtmsg1.c: New file.
6514         * stdlib/fmtmsg.c (init): Add missing unlock.
6515         Patch by Peng Haitao <penght@cn.fujitsu.com>.
6517 2012-01-12  Marek Polacek  <polacek@redhat.com>
6519         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6520         and _GNU_SOURCE.
6522 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
6524         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6525         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6526         macro to ensure uniqueness of label name.
6527         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6528         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6530 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
6532         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6534         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6535         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6536         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6537         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6539 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
6541         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6543         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6544         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6545         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6547         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6549         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6550         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6551         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6552         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6554         * math/bits/math-finite.h: Add ldexp support.
6556 2012-01-10  Marek Polacek  <polacek@redhat.com>
6558         * locale/programs/localedef.h (show_archive_content): Add noreturn
6559         attribute.
6561 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
6563         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6565 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6567         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6569         * io/Makefile (headers): Add bits/poll2.h.
6571 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
6573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6574         typo #include statement.
6576 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6578         * include/sys/cdefs.h: Define __attribute_alloc_size.
6579         * catgets/gencat.c: Add alloc_size attribute and apply consistently
6580         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6581         * elf/pldd.c: Likewise.
6582         * iconv/iconv_charmap.c: Likewise.
6583         * iconv/iconvconfig.c: Likewise.
6584         * iconv/strtab.c: Likewise.
6585         * locale/programs/locale.c: Likewise.
6586         * locale/programs/localedef.h: Likewise.
6587         * locale/programs/simple-hash.c: Likewise.
6588         * nscd/nscd.h: Likewise.
6589         * nss/makedb.c: Likewise.
6590         * sysdeps/generic/ldconfig.h: Likewise.
6591         * locale/programs/localedef.c: Remove xmalloc prototype.
6592         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6594 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6596         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6597         appropriate.
6599 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6601         * math/Makefile (tests): Add tst-CMPLX.
6602         * math/tst-CMPLX.c: New file.
6604         * math/complex.h (CMPLXL): Fix typo.
6606         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6607         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6608         GLIBC_2.16.
6609         * debug/tst-chk1.c: Add poll and ppoll tests.
6610         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6611         * include/sys/poll.h: Add hidden proto for ppoll.
6612         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6613         * sysdeps/mach/hurd/ppoll.c: Likewise.
6614         * io/ppoll.c: Likewise.
6615         * debug/poll_chk.c: New file.
6616         * debug/ppoll_chk.c: New file.
6617         * include/bits/poll2.h: New file.
6618         * io/bits/poll2.h: New file.
6620         [BZ #1350]
6621         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6623         * configure.in: static is always set to yes.  Remove.
6624         * config.make.in: Don't set build-static.
6625         * Makeconfig: Remove use of build-static.
6626         * dlfcn/Makefile: Likewise.
6627         * elf/Makefile: Likewise.
6628         * math/Makefile: Likewise.
6629         * misc/Makefile: Likewise.
6630         * nptl/Makefile: Likewise.
6631         * sysdeps/mach/hurd/Makefile: Likewise.
6633         * configure.in: PWD_P is not used anymore.
6634         * config.make.in: Remove PWD_P entry.
6636         * configure.in: Remove last remnants of RANLIB.
6637         No need to check for signed size_t anymore.
6638         Don't set libc_commonpagesize and libc_relro_required here for Alpha
6639         and IA-64.
6640         Remove __builtin_expect test because we require at least gcc 3.4.
6641         * aclocal.m4: Likewise.
6643         * wcsmbs/mbrtoc16.c: Implement using towc function.
6644         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6645         * wcsmbs/wcsmbsload.c: Likewise.
6646         * iconv/gconv_simple.c: Likewise.
6647         * iconv/gconv_int.h: Likewise.
6648         * iconv/gconv_builtin.h: Likewise.
6649         * iconv/iconv_prog.c: Remove CHAR16 handling.
6651         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6653         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6655         * configure.in: Remove --with-elf and --enable-bounded options.
6656         Dont set base_machine for ia64.  More non-ELF conditions removed.
6657         Remove testing and setting of leading underscore information.
6658         * config.make.in (build-bounded): Set to no.
6659         * config.h.in: Remove NO_UNDERSCORES entry.
6660         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
6661         them.
6662         * csu/start.c: Remove !NO_UNDERSCORE code.
6663         * locale/localeinfo.h: Likewise.
6664         * sysdeps/generic/machine-gmon.h: Likewise.
6665         * sysdeps/generic/sysdep.h: Likewise.
6666         * sysdeps/i386/sysdep.h: Likewise.
6667         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6668         * sysdeps/mach/sysdep.h: Likewise.
6669         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6670         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6671         * sysdeps/sh/sysdep.h: Likewise.
6672         * sysdeps/sparc/sparc32/alloca.S: Likewise.
6673         * sysdeps/unix/i386/sysdep.S: Likewise.
6674         * sysdeps/unix/sparc/start.c: Likewise.
6675         * sysdeps/unix/sparc/sysdep.S: Likewise.
6676         * sysdeps/unix/sparc/sysdep.h: Likewise.
6677         * sysdeps/unix/start.c: Likewise.
6678         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6679         * sysdeps/x86_64/sysdep.h: Likewise.
6681 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
6683         [BZ #13553]
6684         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6685         for non-gcc.
6686         * argp/argp-fmtstream.h: Use const instead __const.
6687         * argp/argp.h: Likewise.
6688         * assert/assert.h: Likewise.
6689         * bits/fenv.h: Likewise.
6690         * bits/sched.h: Likewise.
6691         * bits/sigset.h: Likewise.
6692         * bits/sigthread.h: Likewise.
6693         * catgets/nl_types.h: Likewise.
6694         * conform/data/pthread.h-data: Likewise.
6695         * crypt/crypt-private.h: Likewise.
6696         * crypt/crypt.h: Likewise.
6697         * crypt/crypt_util.c: Likewise.
6698         * ctype/ctype.h: Likewise.
6699         * debug/execinfo.h: Likewise.
6700         * debug/mbsnrtowcs_chk.c: Likewise.
6701         * debug/mbsrtowcs_chk.c: Likewise.
6702         * debug/wcsnrtombs_chk.c: Likewise.
6703         * debug/wcsrtombs_chk.c: Likewise.
6704         * debug/wcstombs_chk.c: Likewise.
6705         * dirent/dirent.h: Likewise.
6706         * dlfcn/dlfcn.h: Likewise.
6707         * elf/neededtest4.c: Likewise.
6708         * grp/grp.h: Likewise.
6709         * gshadow/gshadow.h: Likewise.
6710         * iconv/gconv.h: Likewise.
6711         * iconv/gconv_int.h: Likewise.
6712         * iconv/gconv_simple.c: Likewise.
6713         * iconv/iconv.h: Likewise.
6714         * iconv/loop.c: Likewise.
6715         * iconv/skeleton.c: Likewise.
6716         * include/aio.h: Likewise.
6717         * include/aliases.h: Likewise.
6718         * include/argz.h: Likewise.
6719         * include/arpa/inet.h: Likewise.
6720         * include/assert.h: Likewise.
6721         * include/dirent.h: Likewise.
6722         * include/dlfcn.h: Likewise.
6723         * include/execinfo.h: Likewise.
6724         * include/fcntl.h: Likewise.
6725         * include/fenv.h: Likewise.
6726         * include/glob.h: Likewise.
6727         * include/grp.h: Likewise.
6728         * include/libintl.h: Likewise.
6729         * include/mntent.h: Likewise.
6730         * include/netdb.h: Likewise.
6731         * include/pwd.h: Likewise.
6732         * include/rpc/netdb.h: Likewise.
6733         * include/sched.h: Likewise.
6734         * include/search.h: Likewise.
6735         * include/shadow.h: Likewise.
6736         * include/signal.h: Likewise.
6737         * include/stdio.h: Likewise.
6738         * include/stdlib.h: Likewise.
6739         * include/string.h: Likewise.
6740         * include/sys/socket.h: Likewise.
6741         * include/sys/stat.h: Likewise.
6742         * include/sys/statfs.h: Likewise.
6743         * include/sys/statvfs.h: Likewise.
6744         * include/sys/syslog.h: Likewise.
6745         * include/sys/time.h: Likewise.
6746         * include/sys/uio.h: Likewise.
6747         * include/time.h: Likewise.
6748         * include/unistd.h: Likewise.
6749         * include/utmp.h: Likewise.
6750         * include/wchar.h: Likewise.
6751         * include/wctype.h: Likewise.
6752         * inet/aliases.h: Likewise.
6753         * inet/arpa/inet.h: Likewise.
6754         * inet/netinet/ether.h: Likewise.
6755         * inet/netinet/in.h: Likewise.
6756         * intl/libintl.h: Likewise.
6757         * io/bits/fcntl2.h: Likewise.
6758         * io/fcntl.h: Likewise.
6759         * io/ftw.h: Likewise.
6760         * io/sys/poll.h: Likewise.
6761         * io/sys/stat.h: Likewise.
6762         * io/sys/statfs.h: Likewise.
6763         * io/sys/statvfs.h: Likewise.
6764         * io/utime.h: Likewise.
6765         * libio/bits/stdio.h: Likewise.
6766         * libio/bits/stdio2.h: Likewise.
6767         * libio/libio.h: Likewise.
6768         * libio/libioP.h: Likewise.
6769         * libio/stdio.h: Likewise.
6770         * locale/lc-ctype.c: Likewise.
6771         * locale/locale.h: Likewise.
6772         * login/utmp.h: Likewise.
6773         * malloc/arena.c: Likewise.
6774         * malloc/malloc.c: Likewise.
6775         * malloc/malloc.h: Likewise.
6776         * malloc/mcheck.c: Likewise.
6777         * malloc/mtrace.c: Likewise.
6778         * math/bits/mathcalls.h: Likewise.
6779         * math/fenv.h: Likewise.
6780         * math/math_private.h: Likewise.
6781         * misc/bits/error.h: Likewise.
6782         * misc/bits/syslog.h: Likewise.
6783         * misc/err.h: Likewise.
6784         * misc/error.h: Likewise.
6785         * misc/fstab.h: Likewise.
6786         * misc/mntent.h: Likewise.
6787         * misc/regexp.h: Likewise.
6788         * misc/search.h: Likewise.
6789         * misc/sgtty.h: Likewise.
6790         * misc/sys/mman.h: Likewise.
6791         * misc/sys/syslog.h: Likewise.
6792         * misc/sys/uio.h: Likewise.
6793         * misc/sys/xattr.h: Likewise.
6794         * misc/ttyent.h: Likewise.
6795         * nis/rpcsvc/ypclnt.h: Likewise.
6796         * nss/nss.h: Likewise.
6797         * posix/bits/unistd.h: Likewise.
6798         * posix/fnmatch.h: Likewise.
6799         * posix/glob.h: Likewise.
6800         * posix/sched.h: Likewise.
6801         * posix/spawn.h: Likewise.
6802         * posix/sys/wait.h: Likewise.
6803         * posix/unistd.h: Likewise.
6804         * posix/wordexp.h: Likewise.
6805         * pwd/pwd.h: Likewise.
6806         * resolv/netdb.h: Likewise.
6807         * resource/sys/resource.h: Likewise.
6808         * rt/aio.h: Likewise.
6809         * rt/bits/mqueue2.h: Likewise.
6810         * rt/mqueue.h: Likewise.
6811         * shadow/shadow.h: Likewise.
6812         * signal/signal.h: Likewise.
6813         * socket/send.c: Likewise.
6814         * socket/sendto.c: Likewise.
6815         * socket/sys/socket.h: Likewise.
6816         * stdio-common/printf.h: Likewise.
6817         * stdlib/bits/stdlib.h: Likewise.
6818         * stdlib/fmtmsg.h: Likewise.
6819         * stdlib/monetary.h: Likewise.
6820         * stdlib/stdlib.h: Likewise.
6821         * stdlib/ucontext.h: Likewise.
6822         * streams/stropts.h: Likewise.
6823         * string/argz.h: Likewise.
6824         * string/bits/string2.h: Likewise.
6825         * string/string.h: Likewise.
6826         * string/strings.h: Likewise.
6827         * sunrpc/rpc/auth.h: Likewise.
6828         * sunrpc/rpc/auth_des.h: Likewise.
6829         * sunrpc/rpc/clnt.h: Likewise.
6830         * sunrpc/rpc/netdb.h: Likewise.
6831         * sunrpc/rpc/pmap_clnt.h: Likewise.
6832         * sunrpc/rpc/xdr.h: Likewise.
6833         * sysdeps/generic/inttypes.h: Likewise.
6834         * sysdeps/generic/net/if.h: Likewise.
6835         * sysdeps/generic/sys/swap.h: Likewise.
6836         * sysdeps/gnu/net/if.h: Likewise.
6837         * sysdeps/gnu/utmpx.h: Likewise.
6838         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6839         * sysdeps/i386/i486/bits/string.h: Likewise.
6840         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6841         * sysdeps/s390/bits/string.h: Likewise.
6842         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6843         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6844         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6845         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6846         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6847         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6848         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6849         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6850         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6851         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6852         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6853         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6854         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6855         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6856         * sysdeps/unix/sysv/linux/readv.c: Likewise.
6857         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6858         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6860         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6861         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6862         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6863         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6864         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6865         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6866         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6867         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6868         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6869         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6870         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6871         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6872         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6873         * sysvipc/sys/ipc.h: Likewise.
6874         * sysvipc/sys/msg.h: Likewise.
6875         * sysvipc/sys/sem.h: Likewise.
6876         * sysvipc/sys/shm.h: Likewise.
6877         * termios/termios.h: Likewise.
6878         * time/sys/time.h: Likewise.
6879         * time/time.h: Likewise.
6880         * wcsmbs/bits/wchar2.h: Likewise.
6881         * wcsmbs/uchar.h: Likewise.
6882         * wcsmbs/wchar.h: Likewise.
6883         * wctype/wctype.h: Likewise.
6885         [BZ #13551]
6886         * Makeconfig: Remove all but ELF support including AIX support.
6887         * Makerules: Likewise.
6888         * config.h.in: Likewise.
6889         * config.make.in: Likewise.
6890         * configure: Likewise.
6891         * configure.in: Likewise.
6892         * csu/Makefile: Likewise.
6893         * csu/version.c: Likewise.
6894         * debug/Makefile: Likewise.
6895         * dlfcn/Makefile: Likewise.
6896         * elf/Makefile: Likewise.
6897         * extra-lib.mk: Likewise.
6898         * iconv/Makefile: Likewise.
6899         * include/libc-symbols.h: Likewise.
6900         * include/shlib-compat.h: Likewise.
6901         * resolv/Makefile: Likewise.
6902         * resolv/res_libc.c: Likewise.
6903         * rt/Makefile: Likewise.
6904         * sysdeps/i386/asm-syntax.h: Likewise.
6905         * sysdeps/i386/sysdep.h: Likewise.
6906         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6907         * sysdeps/mach/sysdep.h: Likewise.
6908         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6909         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6910         * sysdeps/s390/asm-syntax.h: Likewise.
6911         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6912         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6913         * sysdeps/sh/sysdep.h: Likewise.
6914         * sysdeps/unix/sparc/sysdep.h: Likewise.
6915         * sysdeps/wordsize-32/divdi3.c: Likewise.
6916         * sysdeps/x86_64/sysdep.h: Likewise.
6918         * argp/Versions: Remove _argp_unlock_xxx.
6920         [BZ #13559]
6921         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
6922         * abilist/libBrokenLocale.abilist: Likewise.
6923         * abilist/libanl.abilist: Likewise.
6924         * abilist/libc.abilist: Likewise.
6925         * abilist/libcrypt.abilist: Likewise.
6926         * abilist/libdl.abilist: Likewise.
6927         * abilist/libm.abilist: Likewise.
6928         * abilist/libnsl.abilist: Likewise.
6929         * abilist/libpthread.abilist: Likewise.
6930         * abilist/libresolv.abilist: Likewise.
6931         * abilist/librt.abilist: Likewise.
6932         * abilist/libthread_db.abilist: Likewise.
6933         * abilist/libutil.abilist: Likewise.
6934         * abilist/libnss_db.abilist: New file.
6936         * scripts/abilist.awk: Add support for indirect functions.
6938         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6940         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6942         * shlib-versions: Remove entries for ports architectures.
6944         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
6945         files in ports.
6946         * elf/stackguard-macros.h: Remove support for IA-64.
6947         * elf/tst-auditmod1.c: Likewise.
6948         * sysdeps/generic/ldsodefs.h: Likewise.
6950         * sysdeps/unix/sysv/linux/configure.in: Ports should define
6951         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6952         configure files.
6954         [BZ #13552]
6955         * configure.in: Remove --enable-omitfp support.
6956         * FAQ.in: Adjust.
6957         * config.make.in: Likewise.
6958         * Makeconfig: Likewise.
6959         * manual/install.texi: Likewise.
6961         In case anyone cares, the IA-64 architecture could move to ports.
6962         * sysdeps/ia64/*: Removed.
6963         * sysdeps/unix/sysv/linux/ia64/*: Removed.
6964         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6966         [BZ #13555]
6967         * configure.in: Remove entries for unsupported architectures.
6969         [BZ #13533]
6970         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6971         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
6972         routines.
6973         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6974         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6975         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
6976         fall back to using wcrtomb.
6977         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6978         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
6979         renaming.
6980         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6981         * wcsmbs/tst-c16c32-1.c: New file.
6983         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6984         local variable.
6986         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6988         * elf/tst-unique3.cc: Add explicit declaration of gets.
6989         * elf/tst-unique3lib.cc: Likewise.
6990         * elf/tst-unique3lib2.cc: Likewise.
6991         * elf/tst-unique4.cc: Likewise.
6993         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6995 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
6997         [BZ #13566]
6998         * assert/assert.h (static_assert): Don't define for C++.
6999         * libio/stdio.h (gets): Do declare for C++ <= C++11.
7000         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7002 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
7004         * iconv/loop.c (single loop): Fix assertion in storing of
7005         remaining bytes.
7007         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7009 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
7011         * posix/getconf.c: Update copyright year.
7012         * nss/getent.c: Likewise.
7013         * nss/makedb.c: Likewise.
7014         * iconv/iconvconfig.c: Likewise.
7015         * iconv/iconv_prog.c: Likewise.
7016         * elf/ldconfig.c: Likewise.
7017         * elf/pldd.c: Likewise.
7018         * elf/sotruss.ksh: Likewise.
7019         * catgets/gencat.c: Likewise.
7020         * csu/version.c: Likewise.
7021         * elf/ldd.bash.in: Likewise.
7022         * elf/sprof.c (print_version): Likewise.
7023         * locale/programs/locale.c: Likewise.
7024         * locale/programs/localedef.c: Likewise.
7025         * login/programs/pt_chown.c: Likewise.
7026         * nscd/nscd.c (print_version): Likewise.
7027         * debug/xtrace.sh: Likewise.
7028         * malloc/memusage.sh: Likewise.
7029         * malloc/mtrace.pl: Likewise.
7030         * debug/catchsegv.sh: Likewise.
7032 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
7034         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7035         pure attribute.
7037 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
7039         [BZ #13533]
7040         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7041         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7042         transformations.
7043         * iconv/gconv_int.h: Likewise.
7044         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7045         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7046         from libc for GLIBC_2.16.
7047         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7048         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7049         * wcsmbs/uchar.h: Really define mbstate_t.
7050         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7051         * wcsmbs/c16rtomb.c: New file.
7052         * wcsmbs/mbrtoc16.c: New file.
7053         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7054         for C/POSIX locale.
7055         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7056         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7058         * wcsmbs/wchar.h: Add missing __restrict.
7060 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7062         [BZ #13532]
7063         * time/Makefile (routines): Add timespec_get.
7064         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7065         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
7066         timespec for ISO C11.
7067         * time/timespec_get.c: New file.
7068         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7069         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7071         [BZ #13531]
7072         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7073         * stdlib/stdlib.h: Declare aligned_alloc.
7074         * Versions.def: Add GLIBC_2.16 for libc.
7075         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7077         [BZ 13527]
7078         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7079         ISO C11.
7081         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7082         code.
7084         [BZ #13528]
7085         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7087         [BZ #13529]
7088         * assert/assert.h (static_assert): Define.
7090         * version.h: Update for 2.16 development version.
7092         [BZ #13526]
7093         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7094         _ISOC11_SOURCE.
7096         * version.h (RELEASE): Bump for 2.15 release.
7097         * include/features.h (__GLIBC_MINOR__): Bump to 15.
7099         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7100         Patch by Marek Polacek <mpolacek@redhat.com>.
7102         * bits/byteswap.h: Protect long long constants with __extension__.
7103         * sysdeps/i386/bits/byteswap.h: Likewise.
7104         * sysdeps/ia64/bits/byteswap.h: Likewise.
7105         * sysdeps/s390/bits/byteswap.h: Likewise.
7106         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7108 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7110         [BZ #13540]
7111         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7112         destination buffer.
7113         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7115 2011-12-23  Marek Polacek  <polacek@redhat.com>
7117         * elf/dl-addr.c (determine_info): Add inline keyword.
7118         * elf/tst-auditmod4b.c (check_avx): Likewise.
7119         * elf/tst-auditmod6b.c (check_avx): Likewise.
7120         * elf/tst-auditmod6c.c (check_avx): Likewise.
7121         * elf/tst-auditmod7b.c (check_avx): Likewise.
7123 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7125         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7126         !__SSE_MATH__.
7128 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7130         [BZ #13540]
7131         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7132         processing for last bytes.
7134 2011-08-06  Bruno Haible  <bruno@clisp.org>
7136         [BZ #13061]
7137         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7138         U+0385, not to U+1FEE.
7140         [BZ #13062]
7141         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7142         entry for U+00A5 U+0301.
7144 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7146         [BZ #13166]
7147         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7148         buffer for the output is too small.
7150         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7151         optimization.
7153         [BZ #13185]
7154         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7155         SSE flags if possible.
7157 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7159         [BZ #13540]
7160         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7161         processing for last bytes.
7163 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
7165         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7166         (syscall-list-default-options, syscall-list-default-condition)
7167         (syscall-list-includes): Define.
7168         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7169         list of ABIs and options and #if conditions for each ABI.  Do not
7170         handle common syscalls between ABIs specially.
7171         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7172         Remove.
7173         (syscall-list-variants, syscall-list-32bit-options)
7174         (syscall-list-32bit-condition, syscall-list-64bit-options)
7175         (syscall-list-64bit-condition): Define.
7176         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7177         (syscall-list-variants, syscall-list-32bit-options)
7178         (syscall-list-32bit-condition, syscall-list-64bit-options)
7179         (syscall-list-64bit-condition): Define.
7180         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7181         Remove.
7182         (syscall-list-variants, syscall-list-32bit-options)
7183         (syscall-list-32bit-condition, syscall-list-64bit-options)
7184         (syscall-list-64bit-condition): Define.
7185         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7186         Remove.
7187         (syscall-list-variants, syscall-list-32bit-options)
7188         (syscall-list-32bit-condition, syscall-list-64bit-options)
7189         (syscall-list-64bit-condition): Define.
7191 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7193         * locale/iso-639.def: Add brx entry.
7195         [BZ #13328]
7196         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7197         Proposed by Mariusz_Cukr <marcukr@op.pl>.
7199         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7200         __feraiseexcept_renamed.
7202 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
7204         [BZ #13538]
7205         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7206         EPOLLET with unsigned values.
7207         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7208         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7210         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7211         to large cancellation.
7212         * math/s_cacoshf.c: Likewise.
7213         * math/s_cacoshl.c: Likewise.
7215 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
7217         [BZ #13305]
7218         [BZ #12786]
7219         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7220         * math/s_cacoshf.c: Likewise.
7221         * math/s_cacoshl.c: Likewise.
7223 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
7225         [BZ #13439]
7226         * iconv/gconv.h: Define __GCONV_SWAP.
7227         * iconvdata/unicode.c: The swap bit must be stored in __flags.
7228         * iconvdata/utf-16.c: Likewise.
7229         * iconvdata/utf-32.c: Likewise.
7231 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7233         [BZ #13524]
7234         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7235         numerator after shifting it by one limb.
7237 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
7239         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7240         under [__USE_EXTERN_INLINES].
7242 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
7244         [BZ #13446]
7245         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7247 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7249         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7250         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7251         optimized code.
7252         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7253         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7254         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7255         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7256         for strncasecmp/strncasecmp_l compilation.
7257         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7258         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7260 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
7262         [BZ #13484]
7263         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7264         of __asm__.
7266 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
7268         [BZ #13506]
7269         * time/tzfile.c (__tzfile_read): Check values from file header.
7271 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
7273         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7274         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7275         * powerpc/powerpc32/dl-start.S: Likewise.
7276         * powerpc/powerpc32/elf/start.S: Likewise.
7277         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7278         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7279         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7280         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7281         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7282         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7283         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7284         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7285         * powerpc/powerpc32/fpu/s_round.S: Likewise.
7286         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7287         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7288         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7289         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7290         * powerpc/powerpc32/memset.S: Likewise.
7291         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7292         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7293         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7294         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7295         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7296         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7297         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7298         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7299         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7300         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7301         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7302         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7303         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7305 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7307         * math/libm-test.inc: Added more nearbyint tests.
7308         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7309         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7310         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7311         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7313 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
7315         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7316         FD_CLOEXEC.
7318 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7320         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7321         Add wcscpy-ssse3 wcscpy-c.
7322         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7323         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7324         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7325         * sysdeps/x86_64/wcschr.S: New file.
7326         * sysdeps/x86_64/wcsrchr.S: New file.
7327         * string/test-strcmp.c: Remove checking of wcscmp function for
7328         wrong alignments.
7329         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7330         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7331         wcsrchr-sse2 wcsrchr-c.
7332         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7333         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7334         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7335         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7336         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7337         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7338         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7339         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7340         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7341         * wcsmbc/wcschr.c (WCSCHR): New macro.
7343 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7345         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7346         * wcsmbs/test-wcsrchr.c: New file.
7347         * string/test-strrchr.c: Add wcsrchr support.
7348         (WIDE): New macro.
7349         * wcsmbs/test-wcscpy.c: New file.
7350         * string/test-strcpy.c: Add wcscpy support.
7351         (WIDE): New macro.
7353 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
7355         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7356         the inner loop.
7358 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
7360         [BZ #13472]
7361         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7363 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
7365         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7366         Minor optimizations.
7368         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7369         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7370         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7372 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
7374         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7375         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7376         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7377         for gcc to avoid warnings.
7378         * inet/Makefile (tests): Add tst-checks.
7379         * inet/tst-checks.c: New file.
7381         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7382         warning.
7384         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7385         __wmemcmp_sse2.
7387         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7388         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7390         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7392 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
7394         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7395         problem.
7397         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7399 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
7401         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7402         conditional on GCC version.
7403         (__arch_compare_and_exchange_val_8_acq)
7404         (__arch_compare_and_exchange_val_16_acq)
7405         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7406         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7407         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7409 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
7411         * sysdeps/sh/backtrace.c: New file.
7413 2011-12-02  Andreas Schwab  <schwab@redhat.com>
7415         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
7416         parenthesis.
7418 2011-12-01  Andreas Schwab  <schwab@redhat.com>
7420         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7421         falling back to utime.
7423 2011-11-30  Andreas Schwab  <schwab@redhat.com>
7425         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7426         expectations for float.
7428 2011-11-29  Andreas Schwab  <schwab@redhat.com>
7430         * locale/weight.h (findidx): Add parameter len.
7431         * locale/weightwc.h (findidx): Likewise.
7432         * posix/fnmatch_loop.c (FCT): Adjust caller.
7433         * posix/regcomp.c (build_equiv_class): Likewise.
7434         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7435         * posix/regexec.c (check_node_accept_bytes): Likewise.
7436         * string/strcoll_l.c (STRCOLL): Likewise.
7437         * string/strxfrm_l.c (STRXFRM): Likewise.
7439 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
7441         * Makefile.in: Remove CVSOPT handling.
7442         * configure.in: Remove use of AC_REVISION.
7443         * iconvdata/Makefile (distribute): No need to filter out CVS.
7444         * scripts/list-sources.sh: Remove CVS, subversion and monotone
7445         handling.
7447 2011-11-16  Andreas Schwab  <schwab@redhat.com>
7449         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7450         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7451         [USE_AS_STRNCASECMP_L]: Likewise.
7452         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7453         NO_TLS_DIRECT_SEG_REFS.
7454         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7455         Fix argument offsets for non-PIC.
7456         [USE_AS_STRNCASECMP_L]: Likewise.
7457         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7458         NO_TLS_DIRECT_SEG_REFS.
7460 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7462         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7463         O_CLOEXEC.
7464         * locale/loadlocale.c (_nl_load_locale): Likewise.
7466 2011-11-15  Andreas Schwab  <schwab@redhat.com>
7468         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7469         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7470         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7471         (SYSCALL_GETTIME): Set errno on error.
7473         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7474         count references to noai6ai_cached.
7476 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7478         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7480         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7481         FD_CLOEXEC for /proc/self/maps.
7483         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7484         FD_CLOEXEC for /proc/meminfo.
7486         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7487         gai.conf.
7489         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
7490         FD_CLOEXEC for given file.
7492         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7494         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7495         FD_CLOEXEC for /etc/hosts.
7496         (_gethtent): Likewise.
7498         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7500         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7501         cancellation and set FD_CLOEXEC for /etc/netgroup.
7503         * nss/nss_files/files-key.c (search): Don't allow cancellation when
7504         reading /etc/publickey.
7506         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7507         allow cancellation when reading /etc/group.
7509         * nss/nss_files/files-alias.c (internal_setent): Don't allow
7510         cancellation.
7511         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
7513         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7514         when using data file.
7516         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7518         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7519         (write_nis_obj): Use "c" and "e" in fopen.
7521         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7523         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7525         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7527         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7529         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7530         locale.alias.
7532         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7534         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7536         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7538         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7539         file parsing and set FD_CLOEXEC.
7541 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7543         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7545 2011-11-14  Andreas Schwab  <schwab@redhat.com>
7547         * malloc/arena.c (arena_get2): Don't call reused_arena when
7548         _int_new_arena failed.
7550 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7552         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7553         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7554         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7555         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7556         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7557         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7558         to compile strcasecmp and strncasecmp.
7559         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7560         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7562         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7564 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
7566         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7567         locale-defines.sym to gen-as-const-headers.
7568         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7569         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7570         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7571         to compile strcasecmp and strncasecmp.
7572         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7573         strcasecmp_l and strncasecmp_l.
7574         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7575         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7576         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7577         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7578         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7579         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7580         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7581         * sysdeps/i386/i686/multiarch/strncase.S: New file.
7582         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7583         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7584         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7586 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
7588         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7589         result of SYSDEP_GETTIME_CPU to retval.
7590         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7591         parameter list to macro.  Remove trailing semicolon.  Adjust users.
7593         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7594         variable.
7596         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7597         mantissa words.
7598         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7600         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7601         from unused variable.
7603         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7604         DWARF definitions.
7605         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7606         for assembling.
7608         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7609         over namespaces.
7611         * sunrpc/rpc_prot.c (rejected): Fix case value.
7613         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7614         unsigned long long int to avoid warnings in shift.
7616         * posix/regex_internal.c (re_string_reconstruct): Actually use result
7617         of use of trans.
7618         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7619         variable tmp.
7621         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7622         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7623         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7625         * nis/nis_table.c (nis_list): Use variable of correct type for
7626         result of __follow_path call.
7628 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7630         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7631         of math functions ceil, trunc, floor, round, and sqrt, when
7632         avaliable on the platform.
7633         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7634         name clash.
7635         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7636         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7637         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7639 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
7641         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7642         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7644 2011-11-11  Roland McGrath  <roland@hack.frob.com>
7646         * include/unistd.h: Fix __readlink return type.
7647         Reported by Chris Metcalf <cmetcalf@tilera.com>.
7649 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
7651         * stdlib/ucontext.h: Undo last change for makecontext.
7653 2011-11-11  Andreas Schwab  <schwab@redhat.com>
7655         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7657         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7658         * setjmp/setjmp.h: Mark functions as non-leaf.
7659         * setjmp/bits/setjmp2.h: Likewise.
7660         * stdlib/ucontext.h: Likewise.
7662 2011-11-10  Andreas Schwab  <schwab@redhat.com>
7664         * malloc/arena.c (_int_new_arena): Don't increment narenas.
7665         (reused_arena): Don't check arena limit.
7666         (arena_get2): Atomically check arena limit.
7668 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
7670         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7671         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7673         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7674         instructions.
7676 2011-11-07  Andreas Schwab  <schwab@redhat.com>
7678         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7679         handler when locking.
7681         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7682         Fix size of allocated buffer.
7684 2011-11-04  Andreas Schwab  <schwab@redhat.com>
7686         [BZ #10103]
7687         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7688         declarations for long double functions.
7689         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7691         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7693 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7695         * nscd/nscd.c (main): Don't start AVC thread until credentials are
7696         installed.
7698         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7699         is disabled.
7701 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7703         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7705 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7707         * include/alloca.h (stackinfo_alloca_round): Define.
7708         (extend_alloca): Use it.
7709         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7710         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7711         here.
7713         * scripts/check-local-headers.sh: Ignore libaudit.h.
7715         * nscd/Makefile (extra-objs): Make recursively expanded.
7717 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
7719         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7720         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7722         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7723         * posix/tst-rfc3484-2.c: Likewise.
7724         * posix/tst-rfc3484-3.c: Likewise.
7726         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7727         process_vm_writev.
7728         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7729         process_vm_writev.
7730         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7731         process_vm_writev from libc using GLIBC_2.15 version.
7733         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7735 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
7737         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7738         stack usage.
7740 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
7742         [BZ #13367]
7743         * nss/getent.c (initgroups_keys): Show error message in case no group
7744         names are given.
7746         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7747         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7748         __bump_nl_timestamp.
7749         * nscd/connections (nscd_init): When host database is served open
7750         netlink socket and request notification about configuration changes.
7751         (main_loop_poll): Track netlink file descriptor and bump timestamp
7752         in case data becomes available.
7753         (main_loop_epoll): Likewise.
7754         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7755         (database_pers_head): Add extra_data fileds.
7756         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7757         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7758         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7759         Adjust caller.
7760         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7761         in6ai data, call __free_in6ai.
7762         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7763         Add -DHAVE_NETLINK.
7764         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
7765         interface information.  Reuse previous data if netlink timestamp
7766         is not changed.
7767         (__bump_nl_timestamp): New function.
7768         (__free_in6ai): New function.
7770 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
7772         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7773         close_not_cancel_no_status here.
7774         (__check_pf): Reorganize code a bit to not call close twice if OOM.
7776 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7778         [BZ #13276]
7779         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7780         return value.
7782         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7783         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7784         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7786 2011-07-03  Andreas Jaeger  <aj@suse.de>
7788         [BZ #10709]
7789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7790         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7791         * math/libm-test.inc (sin_test): Add test case.
7793 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7795         [BZ #13337]
7796         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7797         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7799         * elf/chroot_canon.c (chroot_canon): Cleanups.
7801         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7803         [BZ #13335]
7804         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7805         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7807         * string/test-strchr.c: Make usable for strchrnul testing.
7808         * string/test-strchrnul.c: New file.
7809         * string/Makefile (strop-tests): Add strchrnul.
7811         * po/it.po: Update from translation team.
7812         * po/es.po: Likewise.
7814 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
7816         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7817         the three constants needed as parameters.  Drop the others.
7818         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7819         __m128i_strloadu_tolower.
7820         Create and initialize variable zero and use it in all the places
7821         where _mm_setzero_si128 was used.
7823         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7824         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7825         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7826         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7827         anymore.
7828         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7829         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7830         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7831         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7832         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7833         __mpranred, __mptan.
7834         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7835         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7836         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7837         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7838         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7839         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7840         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7841         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7842         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7844 2011-10-28  Andreas Schwab  <schwab@redhat.com>
7846         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7847         redefine if SHARED.
7848         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7850         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7851         wide char related routines to wcsmbs subdir.
7853 2011-10-27  Andreas Schwab  <schwab@redhat.com>
7855         [BZ #13344]
7856         * misc/sys/cdefs.h (__THROWNL): Define.
7857         * posix/unistd.h: Use __THREADNL instead of __THREAD
7858         for memory synchronization functions.
7860 2011-10-26  Roland McGrath  <roland@hack.frob.com>
7862         [BZ #13349]
7863         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7864         doesn't exist.
7865         * manual/stdio.texi (Obstack Streams): Node removed.
7867 2011-10-26  Andreas Schwab  <schwab@redhat.com>
7869         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7870         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7871         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7873         * math/math_private.h (math_force_eval): Allow non-addressable
7874         arguments.
7875         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7877 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7879         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7880         file is not needed.
7882         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7883         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7884         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7885         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7886         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7887         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7888         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7889         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7890         Add AVX variants.
7891         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7892         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7893         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7894         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7895         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7896         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7897         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7898         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7899         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7900         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7901         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7902         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7903         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7904         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7905         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7906         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7907         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7908         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7909         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7911         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7912         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
7914         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7915         place.  Use VEX encoding when compiling for AVX.
7917 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7919         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7920         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7922         * string/test-strchr.c (do_test): Don't generate NUL bytes.
7924 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7926         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7927         useless if() expression.
7928         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7929         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7930         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7931         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7932         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7933         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7934         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7936         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7937         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7938         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7939         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7940         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7941         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7942         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7943         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7944         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7945         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7946         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7948         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7950 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7952         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7953         condition.
7954         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7956 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7958         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7959         .text section.  Avoid duplicate constants.
7960         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7961         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7962         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7963         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7964         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7965         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7966         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7967         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7968         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7969         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7970         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7971         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7972         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7973         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7974         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7975         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7976         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7977         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7978         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7979         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7980         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7981         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7982         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7983         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7984         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7985         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7986         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7987         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7988         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7989         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7990         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7991         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7992         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7993         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7994         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7995         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7996         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7997         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7998         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7999         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8000         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8001         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8002         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8003         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8004         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8006 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
8008         * sysdeps/x86_64/dla.h: Move to ...
8009         * sysdeps/x86_64/fpu/dla.h: ...here.
8010         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8011         situations.  Use __builtin_fma only for gcc 4.6 and up.
8013         * config.make.in: Add have-mfma4 entry.
8014         * configure.in: Substitute libc_cv_cc_fma4.
8015         * math/Makefile (dbl-only-routines): Add sincostab.
8016         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8017         Use __sincostab not sincos.
8018         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8019         name is a macro.
8020         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8021         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8022         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8023         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
8024         using __copysign.
8025         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
8026         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
8027         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8028         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8029         and __inv.
8030         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8031         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8032         __copysign.
8033         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
8034         define aliases when function name is a macro.
8035         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8036         sysdeps/ieee754/dbl-64/sincos.tbl.
8037         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8038         fma4-enabled routines.
8039         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8040         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8041         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8042         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8043         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8044         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8045         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8046         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8047         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8048         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8049         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8050         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8051         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8052         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8053         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8054         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8055         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8056         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8057         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8058         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8059         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8060         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8061         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8062         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8063         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8064         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8065         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8066         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8067         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8068         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8070         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8071         rename.
8072         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8073         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8074         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8075         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8076         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8078         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8079         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8081 2011-10-24  Andreas Schwab  <schwab@redhat.com>
8083         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8085 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8087         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8089         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8090         prediction.
8091         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8093         * string/strnlen.c: Don't define STRNLEN, reverse logic.
8094         Remove unused variable magic_bits.
8095         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8097         * string/strnlen.c: Define and use STRNLEN macro.
8098         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8099         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8100         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8101         * wcsmbs/wcslen.c: Define and use WCSLEN.
8102         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8103         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8104         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8105         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8106         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8107         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8108         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8110 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8113         strnlen-sse2-no-bsf.
8114         Rename strlen-no-bsf to strlen-sse2-no-bsf.
8115         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8116         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8117         Add strnlen support.
8118         (USE_AS_STRNLEN): New macro.
8119         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8120         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8121         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8122         * sysdeps/x86_64/wcslen.S: New file.
8124 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
8126         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8127         XMM-moves are used for copying on small sizes.
8129 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8131         * wcsmbs/Makefile (strop-tests): Add wcschr.
8132         * wcsmbs/test-wcschr.c: New file.
8133         * string/test-strchr.c: Update.
8134         Add wcschr support.
8135         (WIDE): New macro.
8137 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8139         * wcsmbs/Makefile (strop-tests): Add wcslen.
8140         * wcsmbs/test-wcslen.c: New file.
8141         * string/test-strlen.c: Update.
8142         Add wcslen support.
8143         (WIDE): New macro.
8145 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8147         * po/it.po: Update from translation team.
8149 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8151         * sysdeps/x86_64/wcscmp.S: Update.
8152         Fix wrong comparison semantics.
8153         wcscmp shall use signed comparison not unsigned.
8154         Don't use substraction to avoid overflow bug.
8155         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8156         * wcsmbc/wcscmp.c: Likewise.
8157         * string/test-strcmp.c: Likewise.
8158         Add new tests to check cases with negative values.
8160 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8162         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8163         * sysdeps/x86_64/dla.h: ...here.  New file.
8164         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8165         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8166         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8168         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8169         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8170         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8171         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8172         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8174 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
8176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8177         __ynl_finite aliases.
8179 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
8181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8183         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8184         define DLA_FMA.
8185         [DLA_FMA] (EMULV): Use DLA_FMA.
8186         [DLA_FMA] (MUL12): Use EMULV.
8187         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8188         that are not needed.
8189         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8190         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8194         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8195         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8197 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
8199         * math/s_nan.c: Undef __nan.
8200         * math/s_nanf.c: Undef __nanf.
8201         * math/s_nanl.c: Undef __nanl.
8202         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8203         "math_private.h".
8205 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
8207         * math/s_catan.c: Add branch predictions.
8208         * math/s_catanf.c: Likewise.
8209         * math/s_catanh.c: Likewise.
8210         * math/s_catanhf.c: Likewise.
8211         * math/s_catanhl.c: Likewise.
8212         * math/s_catanl.c: Likewise.
8213         * math/s_cexp.c: Likewise.
8214         * math/s_cexpf.c: Likewise.
8215         * math/s_cexpl.c: Likewise.
8216         * math/s_clog.c: Likewise.
8217         * math/s_clog10.c: Likewise.
8218         * math/s_clog10f.c: Likewise.
8219         * math/s_clog10l.c: Likewise.
8220         * math/s_clogf.c: Likewise.
8221         * math/s_clogl.c: Likewise.
8222         * math/s_csqrt.c: Likewise.
8223         * math/s_csqrtf.c: Likewise.
8224         * math/s_csqrtl.c: Likewise.
8225         * math/s_ctanf.c: Likewise.
8226         * math/s_ctanh.c: Likewise.
8227         * math/s_ctanhf.c: Likewise.
8228         * math/s_ctanhl.c: Likewise.
8229         * math/s_ctanl.c: Likewise.
8231         * math/math_private.h: Define __nan, __nanf, __nanl.
8232         * math/s_cacosh.c: Include <math_private.h>.
8233         * math/s_cacoshl.c: Likewise.
8234         * math/s_casinh.c: Likewise.
8235         * math/s_casinhf.c: Likewise.
8236         * math/s_casinhl.c: Likewise.
8237         * math/s_ccos.c: Rely entire on ccosh.
8238         * math/s_ccosf.c: Rely entire on ccoshf.
8239         * math/s_ccosl.c: Rely entirely on ccoshl.
8240         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
8241         Remove tests for FE_INVALID.
8242         * math/s_ccoshf.c: Likewise.
8243         * math/s_ccoshl.c: Likewise.
8244         * math/s_csin.c: Likewise.
8245         * math/s_csinf.c: Likewise.
8246         * math/s_csinh.c Likewise.
8247         * math/s_csinhf.c: Likewise.
8248         * math/s_csinhl.c: Likewise.
8249         * math/s_csinl.c: Likewise.
8250         * math/s_ctan.c: Likewise.
8251         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8252         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8253         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8255 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
8257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8258         compilation problems.
8260         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8261         __builtin_expect.
8263 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
8265         * sysdeps/i386/configure.in: Test for -mfma4 option.
8266         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8267         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8268         COMMON_CPUID_INDEX_80000001.
8269         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8270         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8271         use it if FMA3 is not supported.
8272         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8274         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8275         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8277 2011-10-20  Andreas Schwab  <schwab@redhat.com>
8279         [BZ #12892]
8280         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8281         it would create a cycle with a link time dependency.
8283 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
8285         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8286         instruction.
8287         * string/Makefile (strop-tests): Add rawmemchr.
8288         * string/test-rawmemchr.c: New file.
8290         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8291         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
8292         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
8293         when compiling str{,n}casecmp and when AVX is available.  Hook up
8294         new optimized code in initializers.
8296 2011-10-19  Andreas Schwab  <schwab@redhat.com>
8298         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8299         __feraiseexcept instead of feraiseexcept.
8301 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
8303         * math/math_private.h: Define defaults for libc_fetestexcept and
8304         libc_feupdateenv.
8305         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8306         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8307         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8308         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8309         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8310         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8311         libc_fetestexcept and libc_feupdateenv.
8313         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8314         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8315         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8316         * sysdeps/x86_64/fpu/math_private.h: Define special version of
8317         libc_feholdexcept_setround.
8319         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8320         Add s_nearbyint-c and s_nearbyintf-c.
8321         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8322         nearbyintf inlines.
8323         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8324         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8325         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8326         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8328         * math/math_private.h: Define defaults for libc_fegetround,
8329         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8330         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8331         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8332         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8333         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8334         standard functions.
8335         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8336         Remove comments and hacks for old compiler versions.
8337         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8338         libc_fegetround, libc_fesetround, libc_feholdexcept, and
8339         libc_feholdexceptl.
8341 2011-10-18  Andreas Schwab  <schwab@redhat.com>
8343         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8344         (__feraiseexcept_renamed): Add __NTH.
8345         (feraiseexcept): Add __NTH.  Rename local variables to fix
8346         namespace violations.
8348 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
8350         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8352         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8354         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8355         recently added interfaces.
8356         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8358         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8359         about macro parameter expansion.
8361         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8362         __NO_MATH_INLINES is defined.  Cleanups.
8364         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8365         and __floorf is target has SSE4.1.
8366         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8367         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8368         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8369         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8371         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8372         name.
8373         (floorf): Likewise.
8375         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8377 2011-10-17  Andreas Schwab  <schwab@redhat.com>
8379         * misc/sys/cdefs.h: Fix last change.
8381         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8382         database lookup.
8384 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
8386         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8388         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8389         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8390         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8391         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8392         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8393         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8394         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8395         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8396         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8397         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8398         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8399         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8400         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8401         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8402         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8403         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8404         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8405         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8406         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8407         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8408         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8409         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8411         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8412         ceil, ceilf, floor, floorf.
8414         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8415         Perform IRELATIVE relocations last.
8417         * elf/do-rel.h: Add another parameter nrelative, replacing the
8418         local variable with the same name.  Change name of the function
8419         to end in Rel or Rela (uppercase).
8420         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8421         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
8422         elf_dynamic_do_##reloc function.
8424 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8426         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8427         is sufficient, at least on modern CPUs.
8429         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8431         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8432         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8434         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8435         __expl_finite.
8436         * math/bits/math-finite.h: Add entries for exp.
8437         * math/e_expl.c: Add __*_finite alias.
8438         * sysdeps/i386/fpu/e_exp.S: Likewise.
8439         * sysdeps/i386/fpu/e_expf.S: Likewise.
8440         * sysdeps/i386/fpu/e_expl.c: Likewise.
8441         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8442         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8443         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8444         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8445         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8446         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8447         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8449         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8450         is sufficient, at least on modern CPUs.
8452         * ctype/ctype-info.c (__ctype_init): Define.
8453         * include/ctype.h (__ctype_init): Declare.
8454         (__ctype_b_loc): The variable is always initialized.
8455         (__ctype_toupper_loc): Likewise.
8456         (__ctype_tolower_loc): Likewise.
8457         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8458         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8460 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
8462         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8464         * configure.in: Also look in $cxxmachine/include for C++ system
8465         headers.
8467 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8469         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8470         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8471         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8472         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
8473         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8474         (USE_AS_WMEMCMP): New macro.
8475         Fixing indents.
8476         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8477         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8478         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8479         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8481         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8482         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8483         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8484         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8485         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8486         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8487         (USE_AS_WMEMCMP): New macro.
8488         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8489         * sysdeps/string/test-memcmp.c: Update.
8490         Fix simple_wmemcmp.
8491         Add new tests.
8492         * wcsmbs/wmemcmp.c: Update.
8493         (WMEMCMP): New macro.
8494         Fix overflow bug.
8496 2011-10-12  Andreas Jaeger  <aj@suse.de>
8498         [BZ #13268]
8499         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8501 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8503         * libio/iofwide.c (do_length): Avoid warning.
8505         * ctype/ctype.h (__isctype_f): Add missing __THROW.
8507 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
8509         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8511         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8512         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8513         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8514         * sysdeps/i386/i686/fpu/e_log.S: New file.
8515         * sysdeps/i386/i686/fpu/e_logf.S: New file.
8516         * sysdeps/i386/i686/fpu/e_logl.S: New file.
8518         * ctype/ctype.h: Add support for inlined isXXX functions when
8519         compiling C++ code.
8521 2011-10-14  Andreas Schwab  <schwab@redhat.com>
8523         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8525         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8527 2011-10-13  Roland McGrath  <roland@hack.frob.com>
8529         [BZ #13291]
8530         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8532 2011-10-13  Andreas Schwab  <schwab@redhat.com>
8534         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8535         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8536         feraiseexcept.
8538         * sysdeps/x86_64/memrchr.S: Check for zero size.
8540         * string/stratcliff.c: Add memrchr tests.
8542 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8544         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8545         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8546         rawmemchr-sse2 rawmemchr-sse2-bsf.
8547         * sysdeps/i386/i686/multiarch/memchr.S: New file.
8548         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8549         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8550         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8551         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8552         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8553         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8554         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8555         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8556         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8557         * string/memrchr.c (MEMRCHR): New macro.
8559 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
8561         Add integration with gcc's -ffinite-math-only and optimize wrapper
8562         functions in libm.
8563         * Versions.def: Define GLIBC_2.15 version for libm.
8564         * math/Makefile (headers): Add bits/math-finite.h.
8565         * math/bits/math-finite.h: New file.
8566         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8567         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8568         * math/e_acoshl.c: Add __*_finite alias.
8569         * math/e_acosl.c: Likewise.
8570         * math/e_asinl.c: Likewise.
8571         * math/e_atan2l.c: Likewise.
8572         * math/e_atanhl.c: Likewise.
8573         * math/e_coshl.c: Likewise.
8574         * math/e_exp10.c: Likewise.
8575         * math/e_exp10f.c: Likewise.
8576         * math/e_exp10l.c: Likewise.
8577         * math/e_exp2l.c: Likewise.
8578         * math/e_fmodl.c: Likewise.
8579         * math/e_gammal_r.c: Likewise.
8580         * math/e_hypotl.c: Likewise.
8581         * math/e_j0l.c: Likewise.
8582         * math/e_j1l.c: Likewise.
8583         * math/e_jnl.c: Likewise.
8584         * math/e_lgammal_r.c: Likewise.
8585         * math/e_log10l.c: Likewise.
8586         * math/e_log2l.c: Likewise.
8587         * math/e_logl.c: Likewise.
8588         * math/e_powl.c: Likewise.
8589         * math/e_sinhl.c: Likewise.
8590         * math/e_sqrtl.c: Likewise.
8591         * math/e_scalb.c: Completely rewritten and optimized.
8592         * math/e_scalbf.c: Likewise.
8593         * math/e_scalbl.c: Likewise.
8594         * math/w_acos.c: Likewise.
8595         * math/w_acosf.c: Likewise.
8596         * math/w_acosl.c: Likewise.
8597         * math/w_acosh.c: Likewise.
8598         * math/w_acoshf.c: Likewise.
8599         * math/w_acoshl.c: Likewise.
8600         * math/w_asin.c: Likewise.
8601         * math/w_asinf.c: Likewise.
8602         * math/w_asinl.c: Likewise.
8603         * math/w_atan2.c: Likewise.
8604         * math/w_atan2f.c: Likewise.
8605         * math/w_atan2l.c: Likewise.
8606         * math/w_atanh.c: Likewise.
8607         * math/w_atanhf.c: Likewise.
8608         * math/w_atanhl.c: Likewise.
8609         * math/w_exp10.c: Likewise.
8610         * math/w_exp10f.c: Likewise.
8611         * math/w_exp10l.c: Likewise.
8612         * math/w_fmod.c: Likewise.
8613         * math/w_fmodf.c: Likewise.
8614         * math/w_fmodl.c: Likewise.
8615         * math/w_j0.c: Likewise.
8616         * math/w_j0f.c: Likewise.
8617         * math/w_j0l.c: Likewise.
8618         * math/w_j1.c: Likewise.
8619         * math/w_j1f.c: Likewise.
8620         * math/w_j1l.c: Likewise.
8621         * math/w_jn.c: Likewise.
8622         * math/w_jnf.c: Likewise.
8623         * math/w_log.c: Likewise.
8624         * math/w_logf.c: Likewise.
8625         * math/w_logl.c: Likewise.
8626         * math/w_log10.c: Likewise.
8627         * math/w_log10f.c: Likewise.
8628         * math/w_log10l.c: Likewise.
8629         * math/w_log2.c: Likewise.
8630         * math/w_log2f.c: Likewise.
8631         * math/w_log2l.c: Likewise.
8632         * math/w_pow.c: Likewise.
8633         * math/w_powf.c: Likewise.
8634         * math/w_powl.c: Likewise.
8635         * math/w_remainder.c: Likewise.
8636         * math/w_remainderf.c: Likewise.
8637         * math/w_remainderl.c: Likewise.
8638         * math/w_scalb.c: Likewise.
8639         * math/w_scalbf.c: Likewise.
8640         * math/w_scalbl.c: Likewise.
8641         * math/w_sqrt.c: Likewise.
8642         * math/w_sqrtf.c: Likewise.
8643         * math/w_sqrtl.c: Likewise.
8644         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8645         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
8646         used.
8647         * math/math_private.h: Declare __kernel_standard_f.
8648         * math/w_cosh.c: Remove cruft and optimize a bit.
8649         * math/w_coshf.c: Likewise.
8650         * math/w_coshl.c: Likewise.
8651         * math/w_exp2.c: Likewise.
8652         * math/w_exp2f.c: Likewise.
8653         * math/w_exp2l.c: Likewise.
8654         * math/w_hypot.c: Likewise.
8655         * math/w_hypotf.c: Likewise.
8656         * math/w_hypotl.c: Likewise.
8657         * math/w_lgamma.c: Likewise.
8658         * math/w_lgamma_r.c: Likewise.
8659         * math/w_lgammaf.c: Likewise.
8660         * math/w_lgammaf_r.c: Likewise.
8661         * math/w_lgammal.c: Likewise.
8662         * math/w_lgammal_r.c: Likewise.
8663         * math/w_sinh.c: Likewise.
8664         * math/w_sinhf.c: Likewise.
8665         * math/w_sinhl.c: Likewise.
8666         * math/w_tgamma.c: Likewise.
8667         * math/w_tgammaf.c: Likewise.
8668         * math/w_tgammal.c: Likewise.
8669         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8670         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8671         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8672         Minor optimizations.  Pretty printing.  Remove cruft.
8673         * sysdeps/i386/fpu/e_acosf.S: Likewise.
8674         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8675         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8676         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8677         * sysdeps/i386/fpu/e_acosl.c: Likewise.
8678         * sysdeps/i386/fpu/e_asin.S: Likewise.
8679         * sysdeps/i386/fpu/e_asinf.S: Likewise.
8680         * sysdeps/i386/fpu/e_atan2.S: Likewise.
8681         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8682         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8683         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8684         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8685         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8686         * sysdeps/i386/fpu/e_exp10.S: Likewise.
8687         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8688         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8689         * sysdeps/i386/fpu/e_exp2.S: Likewise.
8690         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8691         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8692         * sysdeps/i386/fpu/e_fmod.S: Likewise.
8693         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8694         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8695         * sysdeps/i386/fpu/e_hypot.S: Likewise.
8696         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8697         * sysdeps/i386/fpu/e_log.S: Likewise.
8698         * sysdeps/i386/fpu/e_log10.S: Likewise.
8699         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8700         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8701         * sysdeps/i386/fpu/e_log2.S: Likewise.
8702         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8703         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8704         * sysdeps/i386/fpu/e_logf.S: Likewise.
8705         * sysdeps/i386/fpu/e_logl.S: Likewise.
8706         * sysdeps/i386/fpu/e_pow.S: Likewise.
8707         * sysdeps/i386/fpu/e_powf.S: Likewise.
8708         * sysdeps/i386/fpu/e_powl.S: Likewise.
8709         * sysdeps/i386/fpu/e_remainder.S: Likewise.
8710         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8711         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8712         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8713         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8714         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8715         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8716         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8717         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8718         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8719         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8721         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8722         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8723         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8724         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8725         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8726         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8727         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8728         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8729         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8731         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8732         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8733         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8734         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8735         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8736         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8737         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8738         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8739         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8740         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8741         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8742         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8743         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8744         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8745         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8746         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8747         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8748         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8749         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8750         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8751         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8752         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8753         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8754         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8755         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8756         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8757         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8758         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8759         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8760         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8761         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8762         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8763         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8764         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8765         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8766         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8767         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8768         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8769         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8770         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8771         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8772         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8773         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8774         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8775         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8776         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8777         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8778         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8779         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8780         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8781         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8782         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8783         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8784         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8785         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8786         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8787         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8788         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8789         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8790         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8791         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8792         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8793         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8794         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8795         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8796         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8797         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8798         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8799         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8800         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8801         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8802         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8803         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8804         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8805         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8806         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8807         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8808         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8809         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8810         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8811         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8812         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8813         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8814         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8815         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8816         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8817         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8818         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8819         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8820         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8821         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8822         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8823         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8824         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8825         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8826         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8827         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8828         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
8829         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8830         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8831         (__isnanf): Likewise.
8832         (__isinf_ns): Likewise.
8833         (__isinf_nsf): Likewise.
8834         (__finite): Likewise.
8835         (__finitef): Likewise.
8836         (__ieee754_sqrt): Define as macro.
8837         (__ieee754_sqrtf): Define as macro.
8838         (__ieee754_sqrtl): Define as macro.
8839         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8840         inlined copy.
8841         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8842         __FINITE_MATH_ONLY__ consistent.
8843         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8845 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
8847         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8848         of rawmemchr.
8850         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8852 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
8854         * po/ja.po: Update from translation team.
8856 2011-10-08  Roland McGrath  <roland@hack.frob.com>
8858         * locale/programs/locarchive.c (prepare_address_space): New function.
8859         (create_archive, enlarge_archive, open_archive): Use it.
8861         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8862         inside [SHARED], where it is used.
8864         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8866         * nss/getent.c (netgroup_keys): Remove unused variable.
8867         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8869 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
8871         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8872         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8873         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8874         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8875         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8876         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8877         * math/Makefile (libm-calls): Add s_isinf_ns.
8878         * math/divtc3.c: Use __isinf_nsl instead of isinf.
8879         * math/multc3.c: Likewise.
8880         * math/s_casin.c: Likewise.
8881         * math/s_casinf.c: Likewise.
8882         * math/s_casinl.c: Likewise.
8883         * math/s_ccos.c: Likewise.
8884         * math/s_ccosf.c: Likewise.
8885         * math/s_ccosl.c: Likewise.
8886         * math/s_ctan.c: Likewise.
8887         * math/s_ctanf.c: Likewise.
8888         * math/s_ctanh.c: Likewise.
8889         * math/s_ctanhf.c: Likewise.
8890         * math/s_ctanhl.c: Likewise.
8891         * math/s_ctanl.c: Likewise.
8892         * math/w_fmod.c: Likewise.
8893         * math/w_fmodf.c: Likewise.
8894         * math/w_fmodl.c: Likewise.
8895         * math/w_remainder.c: Likewise.
8896         * math/w_remainderf.c: Likewise.
8897         * math/w_remainderl.c: Likewise.
8898         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8899         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8900         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8901         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8902         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8903         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8904         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8905         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8907         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8908         of the number.
8909         * stdio-common/printf_fphex.c: Likewise.
8910         * stdio-common/printf_size.c: Likewise.
8912         * math/e_exp10.c: Include math_private.h using <...> not "...".
8913         * math/e_exp10f.c: Likewise.
8914         * math/e_exp10l.c: Likewise.
8915         * math/e_exp2l.c: Likewise.
8916         * math/e_j0l.c: Likewise.
8917         * math/e_j1l.c: Likewise.
8918         * math/e_jnl.c: Likewise.
8919         * math/e_lgammal_r.c: Likewise.
8920         * math/e_rem_pio2l.c: Likewise.
8921         * math/e_scalb.c: Likewise.
8922         * math/e_scalbf.c: Likewise.
8923         * math/e_scalbl.c: Likewise.
8924         * math/k_cosl.c: Likewise.
8925         * math/k_sinl.c: Likewise.
8926         * math/k_tanl.c: Likewise.
8927         * math/s_cacoshf.c: Likewise.
8928         * math/s_catan.c: Likewise.
8929         * math/s_catanf.c: Likewise.
8930         * math/s_catanh.c: Likewise.
8931         * math/s_catanhf.c: Likewise.
8932         * math/s_catanhl.c: Likewise.
8933         * math/s_catanl.c: Likewise.
8934         * math/s_ccosh.c: Likewise.
8935         * math/s_ccoshf.c: Likewise.
8936         * math/s_ccoshl.c: Likewise.
8937         * math/s_cexp.c: Likewise.
8938         * math/s_cexpf.c: Likewise.
8939         * math/s_cexpl.c: Likewise.
8940         * math/s_clog.c: Likewise.
8941         * math/s_clog10.c: Likewise.
8942         * math/s_clog10f.c: Likewise.
8943         * math/s_clog10l.c: Likewise.
8944         * math/s_clogf.c: Likewise.
8945         * math/s_clogl.c: Likewise.
8946         * math/s_csin.c: Likewise.
8947         * math/s_csinf.c: Likewise.
8948         * math/s_csinh.c: Likewise.
8949         * math/s_csinhf.c: Likewise.
8950         * math/s_csinhl.c: Likewise.
8951         * math/s_csinl.c: Likewise.
8952         * math/s_csqrt.c: Likewise.
8953         * math/s_csqrtf.c: Likewise.
8954         * math/s_csqrtl.c: Likewise.
8955         * math/s_ctan.c: Likewise.
8956         * math/s_ctanf.c: Likewise.
8957         * math/s_ctanh.c: Likewise.
8958         * math/s_ctanhf.c: Likewise.
8959         * math/s_ctanhl.c: Likewise.
8960         * math/s_ctanl.c: Likewise.
8961         * math/s_ldexp.c: Likewise.
8962         * math/s_ldexpf.c: Likewise.
8963         * math/s_ldexpl.c: Likewise.
8964         * math/s_significand.c: Likewise.
8965         * math/s_significandf.c: Likewise.
8966         * math/s_significandl.c: Likewise.
8967         * math/w_acos.c: Likewise.
8968         * math/w_acosf.c: Likewise.
8969         * math/w_acosh.c: Likewise.
8970         * math/w_acoshf.c: Likewise.
8971         * math/w_acoshl.c: Likewise.
8972         * math/w_acosl.c: Likewise.
8973         * math/w_asin.c: Likewise.
8974         * math/w_asinf.c: Likewise.
8975         * math/w_asinl.c: Likewise.
8976         * math/w_atan2.c: Likewise.
8977         * math/w_atan2f.c: Likewise.
8978         * math/w_atan2l.c: Likewise.
8979         * math/w_atanh.c: Likewise.
8980         * math/w_atanhf.c: Likewise.
8981         * math/w_atanhl.c: Likewise.
8982         * math/w_cosh.c: Likewise.
8983         * math/w_coshf.c: Likewise.
8984         * math/w_coshl.c: Likewise.
8985         * math/w_dremf.c: Likewise.
8986         * math/w_exp10.c: Likewise.
8987         * math/w_exp10f.c: Likewise.
8988         * math/w_exp10l.c: Likewise.
8989         * math/w_exp2.c: Likewise.
8990         * math/w_exp2f.c: Likewise.
8991         * math/w_fmod.c: Likewise.
8992         * math/w_fmodf.c: Likewise.
8993         * math/w_fmodl.c: Likewise.
8994         * math/w_hypot.c: Likewise.
8995         * math/w_hypotf.c: Likewise.
8996         * math/w_hypotl.c: Likewise.
8997         * math/w_j0.c: Likewise.
8998         * math/w_j0f.c: Likewise.
8999         * math/w_j0l.c: Likewise.
9000         * math/w_j1.c: Likewise.
9001         * math/w_j1f.c: Likewise.
9002         * math/w_j1l.c: Likewise.
9003         * math/w_jn.c: Likewise.
9004         * math/w_jnf.c: Likewise.
9005         * math/w_jnl.c: Likewise.
9006         * math/w_lgamma.c: Likewise.
9007         * math/w_lgamma_r.c: Likewise.
9008         * math/w_lgammaf.c: Likewise.
9009         * math/w_lgammaf_r.c: Likewise.
9010         * math/w_lgammal.c: Likewise.
9011         * math/w_lgammal_r.c: Likewise.
9012         * math/w_log.c: Likewise.
9013         * math/w_log10.c: Likewise.
9014         * math/w_log10f.c: Likewise.
9015         * math/w_log10l.c: Likewise.
9016         * math/w_log2.c: Likewise.
9017         * math/w_log2f.c: Likewise.
9018         * math/w_log2l.c: Likewise.
9019         * math/w_logf.c: Likewise.
9020         * math/w_logl.c: Likewise.
9021         * math/w_pow.c: Likewise.
9022         * math/w_powf.c: Likewise.
9023         * math/w_powl.c: Likewise.
9024         * math/w_remainder.c: Likewise.
9025         * math/w_remainderf.c: Likewise.
9026         * math/w_remainderl.c: Likewise.
9027         * math/w_scalb.c: Likewise.
9028         * math/w_scalbf.c: Likewise.
9029         * math/w_scalbl.c: Likewise.
9030         * math/w_sinh.c: Likewise.
9031         * math/w_sinhf.c: Likewise.
9032         * math/w_sinhl.c: Likewise.
9033         * math/w_sqrt.c: Likewise.
9034         * math/w_sqrtf.c: Likewise.
9035         * math/w_sqrtl.c: Likewise.
9036         * math/w_tgamma.c: Likewise.
9037         * math/w_tgammaf.c: Likewise.
9038         * math/w_tgammal.c: Likewise.
9040         * po/ja.po: Update from translation team.
9042 2011-09-29  Andreas Jaeger  <aj@suse.de>
9044         [BZ #13179]
9045         * sunrpc/netname.c (netname2host): Fix logic.
9047         [BZ #6779]
9048         [BZ #6783]
9049         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9050         correctly.
9051         * math/w_remainder.c (__remainder): Likewise.
9052         * math/w_remainderf.c (__remainderf): Likewise.
9053         * math/libm-test.inc (remainder_test): Add test cases.
9055 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9057         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
9058         sdiv_qrnnd.
9060 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
9062         * string/test-memcmp.c: Avoid unncessary #defines.
9063         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9065 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9067         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9068         Use new sse2 version for core i3 - i7 as it's faster
9069         than sse42 version.
9070         (bit_Prefer_PMINUB_for_stringop): New.
9071         * sysdeps/x86_64/rawmemchr.S: Update.
9072         Replace with faster SSE2 version.
9073         * sysdeps/x86_64/memrchr.S: New file.
9074         * sysdeps/x86_64/memchr.S: Update.
9075         Replace with faster SSE2 version.
9077 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
9079         * elf/dl-load.c (lose): Add cast to avoid warning.
9081 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
9083         * po/ca.po: Update from translation team.
9085         * inet/getnetgrent_r.c: Hook up nscd.
9086         * nscd/Makefile (routines): Add nscd_netgroup.
9087         (nscd-modules): Add netgroupcache.
9088         (CFLAGS-netgroupcache.c): Define.
9089         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9090         (cache_search): Add const to second parameter.
9091         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9092         INNETGR.
9093         (dbs): Add netgrdb entry.
9094         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9095         (verify_persistent_db): Handle netgrdb.
9096         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9097         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9098         GETFDNETGR.
9099         (netgroup_response_header): Define.
9100         (innetgroup_response_header): Define.
9101         (datahead): Add netgroup_response_header and innetgroup_response_header
9102         elements.
9103         * nscd/nscd.conf: Add entries for netgroup cache.
9104         * nscd/nscd.h (dbtype): Add netgrdb.
9105         (_PATH_NSCD_NETGROUP_DB): Define.
9106         (netgroup_iov_disabled): Declare.
9107         (xmalloc, xcalloc, xrealloc): Move declarations here.
9108         (cache_search): Adjust prototype.
9109         Add netgroup-related prototypes.
9110         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9111         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9112         (__nscd_innetgr): Declare.
9113         * nscd/selinux.c (perms): Use access_vector_t as element type and
9114         add netgroup-related initializers.
9115         * nscd/netgroupcache.c: New file.
9116         * nscd/nscd_netgroup.c: New file.
9117         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9118         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9119         For four parameters use innetgr.
9120         * nss/nss_files/files-init.c: Add definition and callback for netgr.
9121         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9122         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9123         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9125         * nscd/connections.c (register_traced_file): Don't register file
9126         for disabled databases.
9128 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
9130         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9132         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9133         from tree and freeing node.
9135 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
9137         * nss/nsswitch.c (__nss_database_lookup): Handle
9138         nss_parse_service_list out of memory case.
9140 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
9142         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9143         out of memory case.
9145 2011-10-04  Andreas Schwab  <schwab@redhat.com>
9147         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9148         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9149         pass it down.
9150         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9151         elf_machine_rela, elf_machine_lazy_rel.
9152         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9153         (ELF_DYNAMIC_DO_REL): Likewise.
9154         (ELF_DYNAMIC_DO_RELA): Likewise.
9155         (ELF_DYNAMIC_RELOCATE): Likewise.
9156         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9157         to ELF_DYNAMIC_DO_REL.
9158         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9159         (dl_main): In trace mode always set __RTLD_NOIFUNC.
9160         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9161         elf_machine_rela.
9162         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9163         skip_ifunc, don't call ifunc function if non-zero.
9164         (elf_machine_rela): Likewise.
9165         (elf_machine_lazy_rel): Likewise.
9166         (elf_machine_lazy_rela): Likewise.
9167         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9168         (elf_machine_lazy_rel): Likewise.
9169         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9170         Likewise.
9171         (elf_machine_lazy_rel): Likewise.
9172         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9173         Likewise.
9174         (elf_machine_lazy_rel): Likewise.
9175         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9176         (elf_machine_lazy_rel): Likewise.
9177         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9178         (elf_machine_lazy_rel): Likewise.
9179         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9180         (elf_machine_lazy_rel): Likewise.
9181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9182         (elf_machine_lazy_rel): Likewise.
9183         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9184         (elf_machine_lazy_rel): Likewise.
9185         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9186         (elf_machine_lazy_rel): Likewise.
9188 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
9190         * nss/nss_files/files-init.c (_nss_files_init): Use static
9191         initialization for all the *_traced_file variables.
9193 2011-09-28  Andreas Schwab  <schwab@redhat.com>
9195         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9197 2011-09-27  Roland McGrath  <roland@hack.frob.com>
9199         [BZ #13226]
9200         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9202 2011-09-27  Andreas Schwab  <schwab@redhat.com>
9204         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9205         Reread the line before reparsing it.
9207 2011-09-26  Andreas Schwab  <schwab@redhat.com>
9209         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9211 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
9212             Maxim Kuvyrkov  <maxim@codesourcery.com>
9213             Joseph Myers  <joseph@codesourcery.com>
9215         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9216         if needed for __stack_chk_guard.
9218 2011-09-19  Roland McGrath  <roland@hack.frob.com>
9220         * sysdeps/posix/spawni.c (script_execute): Always define it.
9221         It will be optimized away if unused.
9222         (maybe_script_execute): New function.
9223         (__spawni): Call it.
9225         * Makerules: Don't include tls.make.
9226         (config-tls): Always set to thread.
9227         * tls.make.c: File removed.
9229 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
9231         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9232         * config.make.in (CPPFLAGS-config): New substituted variable.
9234 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
9236         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9238         [BZ #13192]
9239         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9240         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9242 2011-09-15  Roland McGrath  <roland@hack.frob.com>
9244         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9245         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9246         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9247         (CALL_FAIL): Likewise.
9248         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9249         (CALL_FAIL): Macro removed.
9250         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9252 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
9254         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9255         for __FINITE_MATH_ONLY__ == 1.
9257 2011-09-15  Andreas Schwab  <schwab@redhat.com>
9259         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9260         __ieee754_sqrt instead of sqrt.
9261         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9262         __ieee754_sqrtf instead of sqrtf.
9263         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9264         __floorf instead of floorf.
9265         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9266         __floorf, __truncf instead of floorf, truncf.
9268 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
9270         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9272         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9273         __extern_always_inline.
9274         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9275         32-bit.
9277 2011-09-14  Andreas Schwab  <schwab@redhat.com>
9279         * elf/rtld.c (dl_main): Also relocate in dependency order when
9280         doing symbol dependency testing.
9282 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
9284         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9285         Always define `refsym'.
9287 2011-09-13  Andreas Schwab  <schwab@redhat.com>
9289         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9290         (__FD_ELT): Renamed from __FDELT.
9291         * misc/bits/select2.h (__FD_ELT): Likewise.
9292         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9293         __FD_MASK instead of __FDELT, __FDMASK.
9294         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9295         Likewise.
9296         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9297         Likewise.
9299         * elf/Makefile (gen-ldd): Fix pattern.
9301         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9302         (init_tls): Likewise.
9304 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
9306         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9308 2011-09-12  Andreas Schwab  <schwab@redhat.com>
9310         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9311         `struct cmsghdr *' instead of `void *'.
9312         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9313         Likewise.
9315 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
9317         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9318         if non-absolute.
9319         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9320         ldd_rewrite_script.
9322 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
9324         * configure.in: Remove --with-tls option.
9325         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9326         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9327         out in case it is missing.
9328         * sysdeps/ia64/elf/configure.in: Likewise.
9329         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9330         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9331         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9332         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9333         * sysdeps/sh/elf/configure.in: Likewise.
9334         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9335         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9336         * sysdeps/x86_64/elf/configure.in: Likewise.
9337         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9338         * sysdeps/mach/hurd/tls.h: Likewise.
9340         [BZ #13067]
9341         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9343         [BZ #13090]
9344         * configure.in: Fix use of AC_INIT.
9346         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9348 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
9350         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9351         __set_errno.
9352         * malloc/hooks.c: Likewise.
9354         [BZ #11929]
9355         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
9356         variables statically.
9357         (narenas): Initialize.
9358         (list_lock): Initialize.
9359         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
9360         initializtion of main_arena and list_lock.  Small cleanups.
9361         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9362         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
9363         Add initializers to main_arena and mp_.
9364         (malloc_state): Remove pagesize member.  Change all users to use
9365         GLRO(dl_pagesize).
9367         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9368         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
9369         is always initialized.
9371         * malloc/malloc.c: Removed unused configurations and dead code.
9372         * malloc/arena.c: Likewise.
9373         * malloc/hooks.c: Likewise.
9374         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9376         * include/tls.h: Removed.  USE___THREAD must always be defined.
9377         * bits/libc-tsd.h: Don't handle !USE___THREAD.
9378         * elf/dl-libc.c: Likewise.
9379         * elf/dl-tsd.c: Likewise.
9380         * include/errno.h: Likewise.
9381         * include/netdb.h: Likewise.
9382         * include/resolv.h: Likewise.
9383         * inet/herrno-loc.c: Likewise.
9384         * inet/herrno.c: Likewise.
9385         * malloc/arena.c: Likewise.
9386         * malloc/hooks.c: Likewise.
9387         * malloc/malloc.c: Likewise.
9388         * resolv/res-state.c: Likewise.
9389         * resolv/res_libc.c: Likewise.
9390         * sysdeps/i386/dl-machine.h: Likewise.
9391         * sysdeps/ia64/dl-machine.h: Likewise.
9392         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9393         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9394         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9395         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9396         * sysdeps/sh/dl-machine.h: Likewise.
9397         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9398         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9399         * sysdeps/unix/i386/sysdep.S: Likewise.
9400         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9401         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9403         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9405         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9406         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9410         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9411         * sysdeps/x86_64/dl-machine.h: Likewise.
9412         * tls.make.c: Likewise.
9414         * configure.in: Remove --with-__thread option.  Make tests for
9415         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9416         tls_model attribute fail if no support is available.  Remove
9417         USE_IN_LIBIO.
9418         * Makeconfig: Adjust for dropped configure option.  All features are
9419         now mandatory.
9420         * Makerules: Likewise.
9421         * Versions.def: Likewise.
9422         * argp/argp-fmtstream.c: Likewise.
9423         * argp/argp-fmtstream.h: Likewise.
9424         * argp/argp-help.c: Likewise.
9425         * assert/assert.c: Likewise.
9426         * config.h.in: Likewise.
9427         * config.make.in: Likewise.
9428         * configure: Likewise.
9429         * configure.in: Likewise.
9430         * csu/Versions: Likewise.
9431         * csu/init.c: Likewise.
9432         * elf/tst-audit2.c: Likewise.
9433         * elf/tst-tls10.c: Likewise.
9434         * elf/tst-tls10.h: Likewise.
9435         * elf/tst-tls11.c: Likewise.
9436         * elf/tst-tls12.c: Likewise.
9437         * elf/tst-tls14.c: Likewise.
9438         * elf/tst-tlsmod11.c: Likewise.
9439         * elf/tst-tlsmod12.c: Likewise.
9440         * elf/tst-tlsmod13.c: Likewise.
9441         * elf/tst-tlsmod13a.c: Likewise.
9442         * elf/tst-tlsmod14a.c: Likewise.
9443         * elf/tst-tlsmod15b.c: Likewise.
9444         * elf/tst-tlsmod16a.c: Likewise.
9445         * elf/tst-tlsmod16b.c: Likewise.
9446         * elf/tst-tlsmod7.c: Likewise.
9447         * elf/tst-tlsmod8.c: Likewise.
9448         * elf/tst-tlsmod9.c: Likewise.
9449         * gmon/gmon.c: Likewise.
9450         * grp/fgetgrent_r.c: Likewise.
9451         * grp/putgrent.c: Likewise.
9452         * hurd/fopenport.c: Likewise.
9453         * include/libc-symbols.h: Likewise.
9454         * include/tls.h: Likewise.
9455         * intl/gettextP.h: Likewise.
9456         * intl/loadinfo.h: Likewise.
9457         * locale/global-locale.c: Likewise.
9458         * locale/localeinfo.h: Likewise.
9459         * mach/devstream.c: Likewise.
9460         * malloc/arena.c: Likewise.
9461         * malloc/set-freeres.c: Likewise.
9462         * misc/err.c: Likewise.
9463         * misc/getttyent.c: Likewise.
9464         * misc/mntent_r.c: Likewise.
9465         * posix/getopt.c: Likewise.
9466         * posix/wordexp.c: Likewise.
9467         * pwd/fgetpwent_r.c: Likewise.
9468         * resolv/Versions: Likewise.
9469         * resolv/res_hconf.c: Likewise.
9470         * shadow/fgetspent_r.c: Likewise.
9471         * shadow/putspent.c: Likewise.
9472         * stdio-common/printf_fphex.c: Likewise.
9473         * stdio-common/tmpfile.c: Likewise.
9474         * stdlib/abort.c: Likewise.
9475         * stdlib/fmtmsg.c: Likewise.
9476         * sunrpc/auth_unix.c: Likewise.
9477         * sunrpc/clnt_perr.c: Likewise.
9478         * sunrpc/clnt_tcp.c: Likewise.
9479         * sunrpc/clnt_udp.c: Likewise.
9480         * sunrpc/clnt_unix.c: Likewise.
9481         * sunrpc/openchild.c: Likewise.
9482         * sunrpc/svc_simple.c: Likewise.
9483         * sunrpc/svc_tcp.c: Likewise.
9484         * sunrpc/svc_udp.c: Likewise.
9485         * sunrpc/svc_unix.c: Likewise.
9486         * sunrpc/xdr.c: Likewise.
9487         * sunrpc/xdr_array.c: Likewise.
9488         * sunrpc/xdr_rec.c: Likewise.
9489         * sunrpc/xdr_ref.c: Likewise.
9490         * sunrpc/xdr_stdio.c: Likewise.
9492 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9494         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9496 2011-07-03  Andreas Jaeger  <aj@suse.de>
9498         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9499         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9500         regenerate with gen-libm-tests.pl.
9502 2010-05-12  Petr Baudis  <pasky@suse.cz>
9504         [BZ #11589]
9505         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9506         around j0() zero points by switching to j1().
9507         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9508         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9509         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9510         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9512 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9514         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9515         instead of 0.
9516         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9517         instead of 0.                              .
9518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9519         Patch in part by Pavel Roskin <proski@gnu.org>.
9521         [BZ #13138]
9522         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9523         realloc.
9524         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
9525         Free memory block if necessary.
9527         [BZ #12847]
9528         * libio/genops.c (INTDEF): For string streams the _lock pointer can
9529         be NULL.  Don't lock in this case.
9531 2011-09-09  Roland McGrath  <roland@hack.frob.com>
9533         * elf/elf.h (ELFOSABI_GNU): New macro.
9534         (ELFOSABI_LINUX): Define to that.
9536 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
9538         * string/strncat.c (strncat): Undef the symbol in case it has been
9539         defined in bits/string.h.
9541 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9543         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9545         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9546         link map.
9548 2011-08-17  Andreas Jaeger  <aj@suse.de>
9550         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9552 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9553             Ian Lance Taylor  <iant@google.com>
9555         * math/libm-test.inc (lround_test): New testcase.
9556         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9558 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
9560         * Makefile: Remove support for automatic cvs check-ins.
9561         * Makerules: Likewise.
9562         * config.make.in: Likewise.
9563         * configure.in: Likewise.
9564         * intl/Makefile: Likewise.
9565         * locale/Makefile: Likewise.
9566         * po/Makefile: Likewise.
9567         * posix/Makefile: Likewise.
9568         * sysdeps/gnu/Makefile: Likewise.
9569         * sysdeps/mach/hurd/Makefile: Likewise.
9570         * sysdeps/sparc/sparc32/Makefile: Likewise.
9572         [BZ #13118]
9573         * posix/Makefile (bug-regex32-ENV): Define.
9574         Patch by John Stanley <jpsinthemix@verizon.net>.
9576         * misc/Makefile (headers): Add bits/select2.h.
9577         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9578         * misc/bits/select2.h: New file.
9579         * include/bits/select2.h: New file.
9580         * debug/Makefile (routines): Add fdelt_chk.
9581         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9582         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9583         FD_ISSET.
9584         * debug/fdelt_chk.c: New file.
9586         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
9587         * wcsmbs/test-wmemcmp.c: Likewise.
9588         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9589         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9591 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9593         * string/Makefile (strop-tests): Add memcmp.
9594         * string/test-wmemcmp.c: New file.
9595         * string/test-memcmp.c: Add wmemcmp support.
9597 2011-09-08  Roland McGrath  <roland@hack.frob.com>
9599         [BZ #13153]
9600         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9601         2011-07-19 change.
9603         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9604         garbage value in a __mach_port_mod_refs call in the cases of the
9605         task-self and thread-self ports.
9607 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9609         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9611 2011-09-08  Andreas Schwab  <schwab@redhat.com>
9613         * elf/dl-load.c (lose): Check for non-null L.
9615 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9617         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9619         * elf/dl-libc.c (dlerror_run): Pass back error code from
9620         dl_catch_error.
9622         [BZ #13123]
9623         * elf/dl-load.c (lose): Free l_origin if it is valid.
9625         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9626         names.
9627         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9628         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9629         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9630         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9631         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9632         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9634 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9636         * sysdeps/powerpc/fpu/e_hypot.c: New file.
9637         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9638         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9639         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9640         * sysdeps/powerpc/fpu/k_cosf.c: New file.
9641         * sysdeps/powerpc/fpu/k_sinf.c: New file.
9642         * sysdeps/powerpc/fpu/s_cosf.c: New file.
9643         * sysdeps/powerpc/fpu/s_sinf.c: New file.
9644         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9645         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9647 2011-08-15  Alan Modra  <amodra@gmail.com>
9649         [BZ #13092]
9650         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9651         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9652         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
9653         ppc_mcount to static-only-routines.
9654         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9655         __mcount_internal.
9656         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9657         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
9659 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
9661         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9662         for finite and infinity parameters.
9664 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9666         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9667         and add nop instructions for throughput optimization.
9668         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9670 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
9672         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9673         aligned copy for power7 with vector-scalar instructions.
9674         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9676 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
9678         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9679         AVX check.
9681 2011-09-07  Andreas Schwab  <schwab@redhat.com>
9683         [BZ #13144]
9684         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9685         last change.
9687 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9689         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9690         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9691         syscall wrapper around clock_gettime in __vdso_clock_gettime.
9692         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9693         clock_gettime.
9695 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9697         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9698         Forgot to demangle the pointer.
9700         * sysdeps/i386/sysdep.h: Define atom_text_section.
9701         * sysdeps/x86_64/sysdep.h: Likewise.
9702         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9703         section with atom_text_section.
9704         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9705         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9706         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9707         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9708         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9710         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9711         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9712         already be defined.  Change to take two parameters and don't assign
9713         result to variable.  Adjust all users.
9714         Define INTERNAL_GETTIME if not already defined.
9715         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9716         call.
9717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9718         HAVE_CLOCK_GETTIME_VSYSCALL.
9719         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9721         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9722         gettimeofday vsyscall, just use time.
9724 2011-09-06  Andreas Schwab  <schwab@redhat.com>
9726         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9727         <errno.h>.
9729 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9731         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9732         syscall on x86-64.
9733         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9734         syscall.
9735         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9736         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9737         syscall if possible.
9739 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9741         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9742         e_ident.  Don't pass to find_mapsXX.
9743         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9745 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9748         strchr-sse2-no-bsf strrchr-sse2-no-bsf
9749         * sysdeps/x86_64/multiarch/strchr.S: Update.
9750         Check bit_slow_BSF bit.
9751         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9752         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9753         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9755 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9757         [BZ #13134]
9758         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9759         before glibc 2.15.
9760         (tryshell): Define.
9761         (__spawni): Change last parameter to be flag.  Test
9762         SPAWN_XFLAGS_USE_PATH flag to use path or not.
9763         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9764         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9765         * posix/spawni.c: Likewise.
9766         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9767         * posix/spawnp.c: Likewise.  Change normal version to use
9768         SPAWN_XFLAGS_USE_PATH.
9769         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9770         SPAWN_XFLAGS_TRY_SHELL.
9772         [BZ #13150]
9773         * posix/glob.h: Remove gcc 1.x support.
9775         [BZ #13068]
9776         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9778 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9780         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9781         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9782         strrchr-sse2-bsf
9783         * sysdeps/i386/i686/multiarch/strchr.S: New file.
9784         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9785         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9786         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9787         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9788         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9790 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9792         * sysdeps/x86_64/wcscmp.S: New file.
9794         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9795         wcscmp-c wcscmp-sse2
9796         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9797         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9798         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9799         * wcsmbs/wcscmp.c: Allow renaming.
9801 2011-09-05  David S. Miller  <davem@davemloft.net>
9803         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9804         stack slot, rather than the struct return pointer slot.
9805         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9806         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9808         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9810 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9812         * po/ja.po: Update from translation team.
9814         [BZ #13144]
9815         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9816         kernel in 64-bit binaries.
9818 2011-09-01  David S. Miller  <davem@davemloft.net>
9820         * elf/elf.h (HWCAP_SPARC_*): Move to..
9821         * sysdeps/sparc/sysdep.h: this new file and add new values.
9822         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9823         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9824         _DL_HWCAP_COUNT to 24.
9825         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9826         entries.
9827         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9828         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9829         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9831         instead of magic constants.
9832         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9834 2011-08-31  David S. Miller  <davem@davemloft.net>
9836         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9838         Reimplement to do errno handling inline.
9839         (SYSCALL_ERROR_HANDLER): New macro.
9840         (__SYSCALL_STRING): Do not do errno handling in asm.
9841         (__CLONE_SYSCALL_STRING): Delete.
9842         (__INTERNAL_SYSCALL_STRING): Delete.
9843         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9844         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9845         (PSEUDO): Reimplement to do errno handling inline.
9846         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9847         (SYSCALL_ERROR_HANDLER): New macro.
9848         (__SYSCALL_STRING): Do not do errno handling in asm.
9849         (__CLONE_SYSCALL_STRING): Delete.
9850         (__INTERNAL_SYSCALL_STRING): Delete.
9851         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9852         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9853         i386.
9854         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9855         (inline_syscall*): Add 'err' argument.
9856         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9857         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9858         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9859         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9861         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9862         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9864 2011-08-30  Andreas Schwab  <schwab@redhat.com>
9866         * elf/rtld.c (dl_main): Relocate objects in dependency order.
9868 2011-08-29  Jiri Olsa <jolsa@redhat.com>
9870         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9871         directive.
9873 2011-08-24  David S. Miller  <davem@davemloft.net>
9875         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9877 2011-08-24  Andreas Schwab  <schwab@redhat.com>
9879         * elf/Makefile: Add rules to build and run unload8 test.
9880         * elf/unload8.c: New file.
9881         * elf/unload8mod1.c: New file.
9882         * elf/unload8mod1x.c: New file.
9883         * elf/unload8mod2.c: New file.
9884         * elf/unload8mod3.c: New file.
9886         * elf/dl-close.c (_dl_close_worker): Reset private search list if
9887         it wasn't used.
9889 2011-08-23  David S. Miller  <davem@davemloft.net>
9891         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9892         subtract stack bias.
9893         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9894         %sp not %fp in calculations.
9895         (_JMPBUF_UNWINDS_ADJ): Likewise.
9897         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9898         (aio_suspend): Call it to force an exception region around the
9899         AIO_MISC_WAIT() invocation.
9901 2011-08-23  Andreas Schwab  <schwab@redhat.com>
9903         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9904         backslash.
9906 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
9908         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9909         protection macro.
9910         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9911         and <dl-machine.h>.
9912         (Elf64_FuncDesc): Remove.
9914 2011-08-22  David S. Miller  <davem@davemloft.net>
9916         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9917         sigaltstack check, add missing cfi directives.
9918         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9919         missing cfi directives, and sigaltstack handling.
9921 2011-08-16  Andreas Schwab  <schwab@redhat.com>
9923         [BZ #11724]
9924         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9925         object is seen twice.
9926         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9928         * elf/Makefile (distribute): Add tst-initorder2.c.
9929         (tests): Add tst-initorder2.
9930         (modules-names): Add tst-initorder2a tst-initorder2b
9931         tst-initorder2c tst-initorder2d.  Add rules to build them.
9932         ($(objpfx)tst-initorder2.out): New rule.
9933         * elf/tst-initorder2.c: New file.
9934         * elf/tst-initorder2.exp: New file.
9936 2011-08-22  Andreas Schwab  <schwab@redhat.com>
9938         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9940         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9941         dependencies back to end of function.
9943         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9944         $(elfobjdir)/ld.so.
9946 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
9948         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9949         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9950         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9951         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9952         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9953         of __vdso_gettimeofday.
9954         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9955         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
9956         attribute_hidden.
9957         (_libc_vdso_platform_setup): Remove initialization of
9958         __vdso_gettimeofday and __vdso_time.
9960 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9962         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9963         and fgetc_unlocked.
9964         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9965         getc_unlocked.
9967         * elf/dl-open.c (add_to_global): Report additions to the global scope
9968         for LD_DEBUG=scopes.
9969         (dl_open_worker): Also print scope of newly loaded dependencies.
9970         (_dl_show_scope): Indicate if there is no scope.
9972         [BZ #13114]
9973         * stdio-common/Makefile (tests): Add bug24.
9974         * stdio-common/bug24.c: New file.
9976 2011-08-19  Andreas Jaeger  <aj@suse.de>
9978         [BZ #13114]
9979         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9980         non-existant file when using close-on-exec mode.
9982 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9984         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9985         the very first instruction.
9987         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9988         the CFI state in the end.
9989         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9990         inclusion of dl-trampoline.h.
9991         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9993 2011-08-19  Andreas Schwab  <schwab@redhat.com>
9995         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9996         expectations for long double.
9998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9999         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10001 2011-08-14  David S. Miller  <davem@davemloft.net>
10003         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10004         artificual limit depends upon the system page size.
10006 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
10008         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10009         * resolv/Makefile: Define CFLAGS-libresolv.
10011 2011-08-17  Andreas Schwab  <schwab@redhat.com>
10013         * nss/makedb.c (compute_tables): Make variables used in nested
10014         function static.
10016 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
10018         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10019         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10020         if buffer was too small.
10022         * elf/pldd.c (main): Attach to all threads in the process.
10023         Rewrite /proc handling to use *at functions.
10025 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
10027         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10028         specifies first scope to show.
10029         (dl_open_worker): Update callers.  Move printing scope of new
10030         object to before the relocation.
10031         * elf/rtld.c (dl_main): Update _dl_show_scope call.
10032         * sysdeps/generic/ldsodefs.h: Update declaration.
10034         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10035         string for the scope number.
10037 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
10039         * nscd/servicescache.c (cache_addserv): Make sure written is always
10040         initialized.
10042 2011-08-14  Roland McGrath  <roland@hack.frob.com>
10044         * sysdeps/i386/i486/bits/atomic.h
10045         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10046         statement expression, so as to suppress "set but not used" warning.
10047         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10049         * string/strncat.c (STRNCAT): Use prototype definition.
10051         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10052         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10053         -Iprograms here.
10054         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10055         (localedef-modules): Add localedef.
10056         (locale-modules): Add locale.
10058         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10059         * elf/rtld.c (dl_main): Invert order of assignment in last change,
10060         to avoid a warning.
10062 2011-08-14  David S. Miller  <davem@davemloft.net>
10064         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10065         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10067 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
10069         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10070         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10071         * elf/rtld.c (dl_main): Set l_name of vDSO.
10072         Call _dl_show_scope when DL_DEBUG_SCOPES.
10073         (process_dl_debug): Recognize scopes flag and also set it for all.
10074         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10075         Declare _dl_show_scope.
10077         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10078         (do_dlopen): Pass caller_dlopen to dl_open.
10079         (__libc_dlopen_mode): Initialize caller_dlopen.
10081         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10082         of libc.  Make tolower call locale-independent.  Optimize a bit by
10083         using isdigit instead of isalnum.
10084         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10086 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
10088         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10089         was a dependency or dynamically loaded.
10091 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
10093         * intl/l10nflist.c: Allow architecture-specific pop function.
10094         * sysdeps/x86_64/l10nflist.c: New file.
10096         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10097         classification.
10099 2011-08-10  Andreas Schwab  <schwab@redhat.com>
10101         * include/dirent.h: Add libc_hidden_proto for scandirat and
10102         scandirat64.  Don't declare __scandirat64.
10103         * dirent/scandirat.c: Add libc_hidden_def.
10104         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10105         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10107 2011-08-10  David S. Miller  <davem@davemloft.net>
10109         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10110         enum.
10111         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10112         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10113         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10115 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
10117         * Versions.def [libc]: Add GLIBC_2.15.
10118         * dirent/Makefile (routines): Add scandirat and scandirat64.
10119         * dirent/Versions [libc]: Export scandirat and scandirat64 for
10120         GLIBC_2.15.
10121         * dirent/dirent.h: Declare scandirat and scandirat64.
10122         * dirent/scandirat.c: New file.
10123         * dirent/scandirat64.c: New file.
10124         * sysdeps/wordsize-64/scandirat.c: New file.
10125         * sysdeps/wordsize-64/scandirat64.c: New file.
10126         * dirent/opendir.c: Define opendirat.
10127         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
10128         using scandirat.
10129         * dirent/scandir64.c: Adjust for scandir.c change.
10130         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
10131         __scandirat64, and __scandir_cancel_handler.
10132         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
10133         additional parameter and use openat instead of open (outside of ld.so).
10134         Add new __opendir as wrapper around __opendirat.
10135         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10136         here without requiring old scandirat implementation.
10138 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
10140         * dirent/scandir.c (cancel_handler): Renamed to
10141         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
10142         defined.  Adjust users.
10143         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10144         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10146 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
10148         * string/test-string.h (IMPL): Use __STRING to expand name and then
10149         stringify it.
10151         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
10152         of cleanups.
10154 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10156         * string/Makefile: Update.
10157         (strop-tests): Append strncat.
10158         * string/test-wcscmp.c: New file.
10159         New comprehensive test for wcscmp.
10160         * string/test-strcmp.c: Update.
10161         (WIDE): New define.
10163 2011-07-22  Andreas Schwab  <schwab@redhat.com>
10165         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10166         line.
10168 2011-07-26  Andreas Schwab  <schwab@redhat.com>
10170         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10171         encoding to ACE if AI_IDN.
10173 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
10175         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10176         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10178 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10180         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10181         Fix overflow bug in strncat.
10182         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10184         * string/test-strncat.c: Update.
10185         Add new tests for checking overflow bugs.
10187 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10190         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10191         * sysdeps/i386/i686/multiarch/strcat.S: New file.
10192         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10193         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10194         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10195         * sysdeps/i386/i686/multiarch/strncat.S: New file.
10196         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10197         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10199         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10200         (USE_AS_STRCAT): Define.
10201         Add strcat and strncat support.
10202         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10204 2011-07-25  Andreas Schwab  <schwab@redhat.com>
10206         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10207         __n bigger than INT_MAX+1.
10208         (__strncmp_g): Likewise.
10210 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
10212         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10213         * libio/stido.h: Likewise.
10215         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10216         (AF_NFC): Define.
10217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10218         (AF_NFC): Define.
10220         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10221         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10222         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10223         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10226         [BZ #13021]
10227         * scripts/test-installation.pl: Don't expect libnss_test1 to be
10228         installed.
10230         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10231         typo.
10232         (_dl_x86_64_save_sse): Likewise.
10234 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
10236         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10237         OSXSAVE.
10238         (_dl_x86_64_save_sse): Likewise.
10240         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10242         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10244 2011-07-21  Andreas Schwab  <schwab@redhat.com>
10246         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10247         change.
10248         (_dl_x86_64_save_sse): Use correct AVX check.
10250 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10252         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10253         bug in strncpy/strncat.
10254         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10256 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
10258         * string/tester.c (test_strcat): Add tests for different alignments
10259         of source and destination.
10260         (test_strncat): Likewise.
10262 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
10264         [BZ #12852]
10265         * posix/glob.c (glob): Check passed in values before using them in
10266         expressions to avoid some overflows.
10267         (glob_in_dir): Likewise.
10269         [BZ #13007]
10270         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10271         check for AVX enablement so that we don't crash with old kernels and
10272         new hardware.
10273         * elf/tst-audit4.c: Add same checks here.
10274         * elf/tst-audit6.c: Likewise.
10276         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10278 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
10280         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10282 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
10284         * po/cs.po: Update from translation team.
10285         * po/bg.po: Likewise.
10287 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
10289         * misc/sys/cdefs.h: Add support for const attribute.
10290         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10291         to gnu_dev_{major,minor,makedev} functions.
10293 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
10295         * intl/dcigettext.c (get_output_charset): Add missing bracket.
10297 2011-07-20  Andreas Schwab  <schwab@redhat.com>
10299         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10300         strlen results.
10302 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10305         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10306         register in order to avoid conflicts with the soft frame pointer
10307         being held in r11 when necessary.
10308         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10309         (INTERNAL_VSYSCALL_NCS): Likewise.
10311 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
10313         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10314         * elf/dl-fini.c (_dl_fini): Adjust caller.
10315         * elf/dl-close.c (_dl_close_worker): Likewise.
10316         * sysdeps/generic/ldsodefs.h: Adjust declaration.
10318 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10320         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10321         "aux_cache->nlibs < 0".
10323         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10324         in the reload-count case.
10326 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10329         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10330         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10331         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10332         * sysdeps/x86_64/multiarch/strcat.S: New file.
10333         * sysdeps/x86_64/multiarch/strncat.S: New file.
10334         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10335         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10336         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10337         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10338         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10339         (USE_AS_STRCAT): Define.
10340         Add strcat and strncat support.
10341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10342         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10343         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10344         * string/strncat.c: Update.
10345         (USE_AS_STRNCAT): Define.
10346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10347         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10348         and i7.
10349         * sysdeps/x86_64/multiarch/init-arch.h
10350         (bit_Prefer_PMINUB_for_stringop): New.
10351         (index_Prefer_PMINUB_for_stringop): Likewise.
10352         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10353         bit_Prefer_PMINUB_for_stringop.
10355 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10357         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10358         buffer64.
10359         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10360         of casting of buffer.
10361         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10362         buffer32 and buffer64.
10363         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10364         writes instead of casting of buffer.
10365         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10366         buffer32.
10367         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10368         casting of buffer.
10370 2011-07-19  Andreas Schwab  <schwab@redhat.com>
10372         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10374 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10376         * nscd/nscd.c (termination_handler): Don't do anything for a database
10377         if it has not yet been initialized.
10379 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10381         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10383 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10385         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10387 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10389         * po/nl.po: Update from translation team.
10390         * po/sv.po: Likewise.
10392 2011-07-16  Roland McGrath  <roland@hack.frob.com>
10394         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10395         now disallowed by GCC.
10397         * configure.in (use-default-link): Default to yes if a test -shared
10398         link meets our qualifications.
10399         * configure: Regenerated.
10401         * config.make.in (output-format): New variable.
10402         * configure.in: Check for ld --print-output-format support.
10403         * configure: Regenerated.
10404         * Makerules ($(common-objpfx)format.lds)
10405         [$(output-format) != unknown]: Just use $(output-format),
10406         instead of the linker-script munging.
10408 2011-07-14  Roland McGrath  <roland@hack.frob.com>
10410         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10411         of $(common-objpfx)shlib.lds.
10412         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10414         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10415         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10417         * configure.in (-z relro check): Adjust test code to add a large
10418         writable data section after it.
10419         * configure: Regenerated.
10421 2011-07-11  Roland McGrath  <roland@hack.frob.com>
10423         * configure.in (-z relro check): Fix test code to make the variable
10424         truly const.
10425         * configure: Regenerated.
10427 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
10429         * nscd/nscd.h (struct traced_file): Define.
10430         (struct database_dyn): Remove inotify_descr, reset_res, and filename
10431         elements.  Add traced_files.
10432         (inotify_fd): Declare.
10433         (register_traced_file): Declare.
10434         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10435         (inotify_fd): Export.
10436         (resolv_conf_descr): Remove.
10437         (nscd_init): Move inotify descriptor creation to main.
10438         Don't register files for notification here.
10439         (register_traced_file): New function.
10440         (invalidate_cache): Don't use reset_res to determine whether to call
10441         res_init, go through the list of registered files.
10442         (main_loop_poll): The inotify descriptors are now stored in the
10443         structures for the traced files.
10444         (main_loop_epoll): Likewise
10445         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
10446         to __nss_disable_nscd.
10447         * nscd/cache.c (prune_cache): There is no single inotify descriptor
10448         for a database anymore.  Check the records for all the registered
10449         files instead.
10450         * nss/Makefile (libnss_files-routines): Add files-init.
10451         (libnss_db-routines): Add db-init.
10452         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10453         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10454         * nss/nss_db/db-init.c: New file.
10455         * nss/nss_files/files-init.c: New file.
10456         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
10457         __nss_lookup_function.
10458         (__nss_lookup_function): Call nss_load_library.
10459         (nss_load_all_libraries): New function.
10460         (__nss_disable_nscd): Take parameter with callback function for files
10461         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
10462         used for the cached services.
10463         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10464         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10465         options for features to all the files in nscd.
10467         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10469 2011-07-10  Roland McGrath  <roland@hack.frob.com>
10471         * csu/elf-init.c (__libc_csu_init): Comment typo.
10473 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
10475         * po/pl.po: Update from translation team.
10476         * po/ja.po: Likewise.
10477         * po/ru.po: Likewise.
10478         * po/ko.po: Likewise.
10479         * po/fr.po: Likewise.
10481 2011-07-09  Roland McGrath  <roland@hack.frob.com>
10483         * configure.in (.ctors/.dtors header and trailer check):
10484         Use an empirical test on a built program.
10485         * configure: Regenerated.
10487         * configure.in (-z relro check): Use an empirical test on a built DSO.
10488         Detect, but do not require, on ia64.
10489         * configure: Regenerated.
10491         * configure.in (READELF): Find it with AC_CHECK_TOOL.
10492         Update tests that use readelf to use $READELF instead.
10493         * configure: Regenerated.
10495 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
10497         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10498         if the result is not used.
10500 2011-07-05  Andreas Jaeger  <aj@suse.de>
10502         [BZ#9696]
10503         * stdlib/tst-strtod.c: Add testcase.
10505 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
10507         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10508         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10509         The latter has a higher limit.  Take additional parameter to pass to
10510         the new function.
10511         (__pathconf): Pass file to __statfs_link_max.
10512         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10513         __statfs_link_max.
10514         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10515         __statfs_link_max.
10517         [BZ #12868]
10518         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10519         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10520         Handle Lustre.
10521         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10522         (__statfs_filesize_max): Likewise.
10523         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10525 2011-07-05  Andreas Jaeger  <aj@suse.de>
10527         * resolv/res_comp.c (dn_skipname): Remove unused variable.
10529 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
10531         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10532         `status' variable.
10533         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10534         Likewise.
10536 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10538         * Makefile (strop-tests): Add strncat.
10539         * string/test-strncat.c: New file.
10541 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
10543         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10545 2011-06-21  Andreas Jaeger  <aj@suse.de>
10547         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10548         Copy rule from iconvdata/Makefile.
10550 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10552         [BZ #12922]
10553         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10554         but no long options are defined, just return 'W'.
10556 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
10558         [BZ #9696]
10559         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10561 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10563         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10564         netgroups to read.
10565         (innetgr): Likewise.
10567 2011-07-05  Roland McGrath  <roland@hack.frob.com>
10569         * config.make.in (install_root): Default to $(DESTDIR).
10571 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
10573         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10575 2011-07-02  Roland McGrath  <roland@hack.frob.com>
10577         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10579         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10580         containing directory rather than embedding absolute directory names.
10582         * scripts/check-local-headers.sh: Rewritten using awk.
10583         Match by word, not by line.  Print error messages for matches.
10584         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10586         * Makerules [shlib-lds-flags empty]:
10587         ($(common-objpfx)libc_pic.opts): New target.
10588         ($(common-objpfx)libc_pic.os.clean): New target.
10589         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10591         * config.make.in (OBJCOPY): New variable.
10592         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10593         * configure: Regenerated.
10595         * config.make.in (use-default-link): New variable.
10596         * configure.in (use_default_link): Grok --with-default-link to set it.
10597         * configure: Regenerated.
10598         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10599         (shlib-lds, shlib-lds-flags): Define to empty.
10601         * Makerules (shlib-lds): New variable.
10602         (shlib-lds-flags): New variable.
10603         (build-shlib, build-moduile, build-module-asneeded): Use it.
10604         ($(common-objpfx)libc.so): Use $(shlib-lds).
10605         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10606         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10608         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10609         DT_FLAGS/DT_FLAGS_1 with zero flags.
10611         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10612         linker script munging.
10614 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
10616         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10617         as 128-bit value.
10618         * crypt/sha512.c (sha512_process_block): Perform total addition using
10619         128-bit if possible.
10620         (__sha512_finish_ctx): Likewise.
10621         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10622         as 64-bit value.
10623         * crypt/sha256.c (SWAP64): Define.
10624         (sha256_process_block): Perform total addition using 64-bit if
10625         possible.
10626         (__sha256_finish_ctx): Likewise.
10628 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
10630         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
10631         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10632         * nscd/hstcache.c (cache_addhst): Likewise.
10633         * nscd/grpcache.c (cache_addgr): Likewise.
10634         * nscd/aicache.c (addhstaiX): Likewise
10635         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10637 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
10639         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10640         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10641         * nscd/hstcache.c (cache_addhst): Likewise.
10642         * nscd/grpcache.c (cache_addgr): Likewise.
10643         * nscd/aicache.c (addhstaiX): Likewise
10645 2011-07-01  Andreas Schwab  <schwab@redhat.com>
10647         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10648         domain only when needed.
10650 2011-06-30  Andreas Schwab  <schwab@redhat.com>
10652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10653         is always restored.
10655 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
10657         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10658         are re-adding the entry.
10659         * nscd/servicescache.c (cache_addserv): Likewise.
10661 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10663         * sysdeps/generic/dl-irel.h: fix protection against multiple
10664         inclusions.
10665         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10667 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
10669         [BZ #12935]
10670         * malloc/memusage.sh: Fix quoting in message.
10671         * debug/xtrace.sh: Likewise.
10673         * configure.in: Remove support for --experimental-malloc option, make
10674         it the default.
10675         * config.make.in: Likewise.
10676         * malloc/Makefile: Likewise.
10678 2011-06-27  Andreas Schwab  <schwab@redhat.com>
10680         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10681         two-byte characters.
10683 2011-06-27  Roland McGrath  <roland@hack.frob.com>
10685         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10686         AC_CACHE_CHECK invocation.
10687         * configure: Regenerated.
10689         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10691 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
10693         [BZ #12350]
10694         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
10695         bit from old_res_options.
10697         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10699         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10700         value type for setfct.
10702 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
10704         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10705         __gettimeofday instead of gettimeofday.
10707 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
10709         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10711 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10713         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10715         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10716         info.
10718 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10721         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10722         strcpy-sse2-unaligned strncpy-sse2-unaligned
10723         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10724         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10725         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10726         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10727         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10728         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10729         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10730         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10731         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10732         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10733         (STRCPY): Support SSE2 and SSSE3 versions.
10735 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
10737         [BZ #12874]
10738         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10739         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10740         kernels which artificially limit size of requests.
10742 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10744         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10745         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10746         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10747         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10748         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10749         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10750         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10751         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10752         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10753         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10754         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10755         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10756         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10757         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10758         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10760         Enable unaligned load optimization for Intel Core i3, i5 and i7
10761         processors.
10762         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10763         Define.
10764         (index_Fast_Unaligned_Load): Define.
10765         (HAS_FAST_UNALIGNED_LOAD): Define.
10767 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
10769         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10771 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10773         [BZ #12907]
10774         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10775         until it is clear that the information is realy needed.
10776         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10778 2011-06-22  Andreas Schwab  <schwab@redhat.com>
10780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10782 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10784         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10785         /sys/devices/system/cpu/online if it is usable.
10787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10788         reading the information from the /proc filesystem to once a second.
10790 2011-06-21  Andreas Jaeger  <aj@suse.de>
10792         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10793         NULL after inclusion of kernel headers.
10795 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
10797         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10798         calls to internal_setent.
10800         [BZ #12885]
10801         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10802         addresses using gethostbyname4_r ignore IPv4 addresses.
10804         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10805         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
10807         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10809 2011-06-20  David S. Miller  <davem@davemloft.net>
10811         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10812         inclusions.
10813         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10815         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10816         (elf_irel): Use it.
10817         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10818         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10819         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10820         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10821         * sysdeps/x86_64/dl-irel.h: Likewise.
10823         * elf/dl-runtime.c: Use elf_ifunc_invoke.
10824         * elf/dl-sym.c: Likewise.
10826 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10828         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
10829         need to dereference resplen2.
10831 2011-06-14  Andreas Schwab  <schwab@redhat.com>
10833         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10835 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10837         * Makeconfig: Define vardbdir and inst_vardbdir.
10838         * nss/Makefile: Add rules to install db-Makefile.
10840         * nss/nss_db/db-XXX.c: Cleanup.
10842         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10843         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10844         GLIBC_PRIVATE.
10845         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10846         * nss/makedb.c: Implement -g option to specify that value strings
10847         are generated and should not be added to table iterated over for
10848         get*ent calls.
10849         * nss/nss_db/db-initgroups.c: New file.
10851         * nss/getent.c: Add support for initgroups lookups through getgrouplist
10852         interface.
10854         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10855         (internal_getgrouplist): Adjust to name change.
10856         Update use_initgroups_entry if this is not the first call.
10857         * nss/databases.def: Add initgroups entry.
10859         * nss/makedb.c (compute_tables): Check result of multiple hash table
10860         sizes to minimize maximum chain length.
10862 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
10864         * Versions.def: Add entry for libnss_db.
10865         * shlib-versions: Likewise.
10866         * nss/Makefile: Add rules to build libnss_db.
10867         * nss/Versions: Add libnss_db information.  Organize libnss_files
10868         entries better.
10869         * nss/db-Makefile: Add gshadow support.  Change rules for the new
10870         makedb progra.  Some minor improvements to generate smaller files.
10871         * nss/nss_db/nss_db.h: Move NSS database header data structures to
10872         here from...
10873         * nss/makedb.c: ...here.
10874         Improve database format to be smaller and require less memory at
10875         runtime.
10876         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
10877         db anymore.
10878         * nss/nss_db/db-netgrp.c: Likewise.
10879         * nss/nss_db/db-open.c: Likewise.
10880         * nss/nss_files/flies-XXX.x: Adjust comments.
10881         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10882         * nss/nss_files/files-grp.c: Likewise.
10883         * nss/nss_files/files-hosts.c: Likewise.
10884         * nss/nss_files/files-network.c: Likewise.
10885         * nss/nss_files/files-proto.c: Likewise.
10886         * nss/nss_files/files-pwd.c: Likewise.
10887         * nss/nss_files/files-rpc.c: Likewise.
10888         * nss/nss_files/files-service.c: Likewise.
10889         * nss/nss_files/files-sgrp.c: Likewise.
10890         * nss/nss_files/files-spwd.c: Likewise.
10891         * nss/nss_db/db-alias.c: Removed.
10892         * nss/nss_db/dummy-db.h: Removed.
10894 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
10896         * nss/makedb.c: Rewritten to not use database library.
10897         * nss/Makefile: Update to build new makedb program.
10899 2011-06-14  Andreas Jaeger  <aj@suse.de>
10901         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10902         memset declaration.
10904 2011-06-10  Andreas Schwab  <schwab@redhat.com>
10906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10907         tmpbuf.
10909 2011-06-10  Roland McGrath  <roland@hack.frob.com>
10911         * Makerules (shlib.lds): Fail if the linker script comes out empty.
10912         * elf/Makefile ($(objpfx)ld.so): Likewise.
10914         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10915         Don't list ld.so twice in dependencies.
10917         * posix/bug-regex31.c: Include <stdlib.h>.
10919         * nscd/hstcache.c (cache_addhst): Remove unused variable.
10921         * nis/nss_compat/compat-spwd.c
10922         (getspent_next_nss_netgr): Remove unused variable.
10923         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10925         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10926         nonmembers" output to use the right array.
10928         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10930         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10932         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10933         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10934         * catgets/gencat.c (read_input_file): Likewise.
10935         * locale/programs/locarchive.c (enlarge_archive): Likewise.
10937         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10938         variable definition inside #if's controlling its use.
10940         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10942         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10944         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10946         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10947         unreachable code.
10949         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10951         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10952         * configure: Regenerated.
10954         * Makerules: Revert last change.
10955         * elf/Makefile: Likewise.
10957 2011-06-09  Roland McGrath  <roland@hack.frob.com>
10959         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10960         * elf/Makefile ($(objpfx)librtld.os): Likewise.
10961         (reloc-link): Likewise.
10963 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
10965         * elf/Makefile: Add rules to build pldd.
10966         * elf/pldd.c: New file.
10967         * elf/pldd-xx.c: New file.
10969 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
10971         * version.h: Update for 2.15 development version.
10973 2011-06-07  David S. Miller  <davem@davemloft.net>
10975         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10976         ifuncs.
10977         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10978         elf_machine_lazy_rel): Likewise.
10979         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10980         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10981         elf_machine_lazy_rel): Likewise.
10982         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10983         dl_hwcap via passed in argument.
10984         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10985         Likewise.
10987 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10989         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
10991 2011-06-06  Roland McGrath  <roland@hack.frob.com>
10993         [BZ #12849]
10994         * manual/fdl-1.1.texi: New file, verbatim from:
10995         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10996         * manual/lgpl-2.1.texi: New file, verbatim from:
10997         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10998         * manual/Makefile (licenses): New variable, list those new file names.
10999         (texis): Use it.
11000         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11002         * manual/fdl.texi: File removed.
11003         * manual/lesser.texi: File removed.
11004         * manual/libc.texinfo (Copying, Documentation License):
11005         Use new @include file names, put @appendix directive before @include.
11007 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
11009         [BZ #12841]
11010         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11011         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11012         (mq_open): Add __NTH.
11014 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
11016         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11017         Assume Intel Core i3/i5/i7 processor if AVX is available.
11019 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
11021         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11022         typo.
11024 2011-05-31  Andreas Schwab  <schwab@redhat.com>
11026         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11027         memory.  Use alloca_account.  Fix memory leak when retrying.
11029 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
11031         * version.h (RELEASE): Bump for 2.14 release.
11032         * include/features.h (__GLIBC_MINOR__): Bump to 14.
11034         * config.make.in (RANLIB): Remove entry.
11036 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
11038         * po/Makefile (po-sed-cmd): Add ksh to extensions.
11039         (libc.pot): Work around missing support for .ksh extension in xgettext.
11041         [BZ #12684]
11042         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11043         if both request failed.
11044         (send_dg): In case of server errors clear resplen or *resplen2.
11046         [BZ #12454]
11047         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11048         when there are multiple maps.
11049         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11050         (_dl_fini): Remove test here.
11052         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11054 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
11056         [BZ #12350]
11057         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11058         bit from old_res_options.
11059         (gaih_inet): Likewise.
11061         [BZ #11099]
11062         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11063         as signed.
11065         * resolv/res_init.c (res_setoptions): Make the code more compact.
11067         [BZ #11558]
11068         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11069         set RES_USEVC.
11071         [BZ #11634]
11072         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11074         * malloc/malloc.h: Mark malloc hook variables as deprecated.
11076         [BZ #11781]
11077         * malloc/malloc.h: Declare malloc hook variables as volatile.
11079         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11080         in last patch.
11082         [BZ #11799]
11083         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11084         raise in the comment.
11085         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11086         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11087         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11089 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
11091         [BZ #12811]
11092         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11093         grow the buffers more if it already has to be sufficient.
11094         (build_wcs_upper_buffer): Likewise.
11095         * posix/regexec.c (check_matching): Likewise.
11096         (clean_state_log_if_needed): Likewise.
11097         (extend_buffers): Don't enlarge buffers beyond size of the input
11098         buffer.
11099         Patches mostly by Emil Wojak <emil@wojak.eu>.
11100         * posix/bug-regex32.c: New file.
11101         * posix/Makefile (tests): Add bug-regex32.
11103         * locale/findlocale.c (_nl_find_locale): Return right away if
11104         _nl_explode_name failed.
11105         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11107         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11109         * debug/xtrace.sh: Unify messages.
11110         * malloc/memusage.sh: Likewise.
11112         [BZ #12813]
11113         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11114         time symbol from vDSO.  Substitute with vsyscall if not available.
11115         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11116         __vdso_time.
11118         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11119         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11120         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11121         Add sendmmsg and internal_sendmmsg.
11122         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11123         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11124         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11126         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11127         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11128         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11130 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
11132         [BZ #12813]
11133         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11134         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
11135         available.
11136         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11137         __vdso_getcpu.
11139         [BZ #12814]
11140         * iconvdata/Makefile (tests): Add bug-iconv9.
11141         * iconvdata/bug-iconv9.c: New file.
11143 2011-05-27  Andreas Schwab  <schwab@redhat.com>
11145         [BZ #12814]
11146         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11148 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
11150         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11151         (struct user_regs_struct): Change intcs field back to cs.
11153 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
11155         * po/ja.po: Update from translation team.
11157 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
11159         [BZ #12795]
11160         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11161         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11163 2011-05-20  Andreas Schwab  <schwab@redhat.com>
11165         * stdlib/longlong.h: Update from GCC.
11167 2011-05-23  Andreas Schwab  <schwab@redhat.com>
11169         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11170         parameter name.
11171         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11172         Add parameter name.
11173         (__sysconf): Pass it down.
11175 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
11177         [BZ #12671]
11178         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11179         some situations.
11180         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11181         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11182         add in in __libc_use_alloca calls.  Adjust callers.
11183         (glob): Use malloc in some situations.
11185         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11186         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11187         pltexit.
11189 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
11191         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11192         and CLOCK_BOOTTIME_ALARM.
11194         [BZ #12782]
11195         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11196         is returned.
11198         * string/_strerror.c (__strerror_r): Print negative errors as signed
11199         numbers.
11201         [BZ #12777]
11202         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11203         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11204         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11206         * configure.in: Fix typo in redirection and correct removal of test
11207         files in two cases.
11209         [BZ #12788]
11210         * locale/setlocale.c (new_composite_name): Fix test to check for
11211         identical name of all categories.
11213         [BZ #12792]
11214         * libio/filedoalloc.c (local_isatty): New function.
11215         (_IO_file_doallocate): Use local_isatty.
11216         * stdio-common/perror.c (perror): In case a new stream is used
11217         forward the stream error.
11218         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11219         error flag.
11221 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
11223         [BZ #11869]
11224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11225         alloca.
11226         * include/alloca.h (extend_alloca_account): Define.
11228         [BZ #11857]
11229         * posix/regex.h: Fix comments with documentation of user-accessible
11230         fields after compilation and describe correct free'ing of pattern
11231         after re_compile_pattern.
11232         Patch by Reuben Thomas <rrt@sc3d.org>.
11234 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
11236         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11237         and -mno-altivec to prevent the compiler from using Altivec and/or
11238         VSX instructions when the corresponding registers are not available.
11240 2011-05-19  Andreas Schwab  <schwab@redhat.com>
11242         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11244 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
11246         * libio/freopen.c (freopen): Use __dup2, not dup2.
11247         * libio/freopen64.c (freopen64): Likewise.
11249 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11251         [BZ #12775]
11252         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11253         * math/Makefile (tests): Add test-powl.
11254         (CFLAGS-test-powl.c): Define.
11255         * math/test-powl.c: New file.
11257 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11259         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11261 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
11263         [BZ #11837]
11264         * iconvdata/gb18030.c: Update to GB18020-2005.
11266 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
11268         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11269         RE_SYNTAX_POSIX_AWK): Update to match recent development.
11270         Patch by Aharon Robbins <arnold@skeeve.com>.
11272         [BZ #11892]
11273         * stdlib/putenv.c (putenv): Don't always create copy of the variable
11274         on the stack.
11276         [BZ #11895]
11277         * misc/pselect.c (__pselect): Handle timeout value errors hidden
11278         through underflows.
11280         [BZ #12766]
11281         * misc/error.c (error_at_line): Ensure file_name and old_file_name
11282         point to strings before performing equality test for error_one_per_line
11283         mode.
11285         [BZ #11697]
11286         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11288         [BZ #11820]
11289         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11290         (struct user_fpregs_struct): Avoid __uint*_t types.
11292         [BZ #6420]
11293         * malloc/mtrace.c (tr_where): Add additional parameter to point to
11294         symbol info.  Use it instead of calling _dl_addr locally.
11295         (lock_and_info): New function.
11296         (tr_freehook): Call lock_and_info and pass symbol info as additional
11297         parameter to tr_where.
11298         (tr_mallochook): Likewise.
11299         (tr_reallochook): Likewise.
11300         (tr_memalignhook): Likewise.
11302         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
11303         used and couldn't be at all thread-safe.
11305 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
11307         * libio/freopen.c (freopen): Don't close old file descriptor
11308         before the new one is opened.  Instead dup the new file descriptor
11309         to the old one after the new stream is created.
11310         * libio/freopen64.c (freopen64): Likewise.
11311         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11312         * libio/fileops.c (_IO_new_file_close_it): Handle new
11313         _IO_FLAGS2_NOCLOSE flag.
11314         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11315         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11316         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11317         _IO_FLAGS2_NOCLOSE flag.
11318         * include/unistd.h: Add hidden_proto for dup3.
11319         Define __have_dup3.
11320         * io/dup3.c: Define hidden symbol.
11321         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11323         [BZ #7101]
11324         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11325         when an incomplete long option is used.
11326         * posix/tst-getopt_long1.c: New file.
11327         * posix/Makefile (tests): Add tst-getopt_long1.
11329         [BZ #10138]
11330         * scripts/config.guess: Update from autoconf-2.68.
11331         * scripts/config.sub: Likewise.
11333         [BZ #10157]
11334         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11335         tests into ...
11336         (has_cpuclock): ...this.  New function.
11337         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11338         macro here based on has_cpuclock code.
11340         [BZ #10149]
11341         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11342         First byte (not low byte) is now always NUL.
11343         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11346         Use non-cancelable interfaces.
11348         [BZ #9809]
11349         * locale/iso-639.def: Add entry for Sorani.
11351         [BZ #11901]
11352         * include/stdlib.h: Move include protection to the right place.
11353         Define abort_msg_s.  Declare __abort_msg with it.
11354         * stdlib/abort.c (__abort_msg): Adjust type.
11355         * assert/assert.c (__assert_fail_base): New function.  Majority
11356         of code from __assert_fail.  Allocate memory for __abort_msg with
11357         mmap.
11358         (__assert_fail): Now call __assert_fail_base.
11359         * assert/assert-perr.c: Remove bulk of implementation.  Use
11360         __assert_fail_base.
11361         * include/assert.hL Declare __assert_fail_base.
11362         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11363         mmap.
11364         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11366 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
11368         [BZ #11952]
11369         [BZ #12453]
11370         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11371         until all modules are registered in the DTV.
11372         * elf/Makefile: Add rules to build and run tst-tls19.
11373         * elf/tst-tls19.c: New file.
11374         * elf/tst-tls19mod1.c: New file.
11375         * elf/tst-tls19mod2.c: New file.
11376         * elf/tst-tls19mod3.c: New file.
11377         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11379         [BZ #12083]
11380         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11381         correctly.
11383         [BZ #12601]
11384         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11385         two-byte sequence errors.
11386         * iconvdata/Makefile (tests): Add bug-iconv8.
11387         * iconvdata/bug-iconv8.c: New file.
11389         [BZ #12626]
11390         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11391         buf2 definition.
11393         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11395         [BZ #12432]
11396         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11397         (dummy_getcfa): New function.
11398         (init): Get _Unwind_GetCFA address, use dummy if not found.
11399         (backtrace_helper): In recursion check, also check whether CFA changes.
11400         (__backtrace): Completely initialize arg.
11402         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11403         storing incomplete byte sequence in state object.  Avoid testing for
11404         guaranteed too small input if we know there is enough data available.
11406 2011-05-11  Andreas Schwab  <schwab@redhat.com>
11408         * Makeconfig (+link-pie): Indent.
11409         * Rules (binaries-pie): Define if $(have-fpie) and
11410         $(build-shared).
11411         (binaries-shared): Also filter out $(binaries-pie).
11412         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11413         * nscd/Makefile (others-pie): Add nscd.
11414         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11415         ($(objpfx)nscd): Remove command override.
11416         * login/Makefile (others-pie): Add pt_chown.
11417         ($(objpfx)pt_chown): Remove command override.
11418         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11419         remove command overrides.
11421 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
11423         * libio/tst_putwc.c: Fix error messages.
11425         [BZ #12724]
11426         * libio/fileops.c (_IO_new_file_close_it): Always flush when
11427         currently writing and seek to current position when not.
11428         * libio/Makefile (tests): Add bug-fclose1.
11429         * libio/bug-fclose1.c: New file.
11431 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
11433         [BZ #12511]
11434         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11435         don't set DF_1_NODELETE here.
11436         (do_lookup_x): When entering new entry test for copy relocation
11437         and if necessary set DF_1_NODELETE flag.
11438         * elf/tst-unique4.cc: New file.
11439         * elf/tst-unique4.h: New file.
11440         * elf/tst-unique4lib.cc: New file.
11441         * elf/Makefile: Add rules to build and run tst-unique4.
11442         Patch by Piotr Bury <pbury@goahead.com>.
11444 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
11446         [BZ #12052]
11447         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11449         [BZ #12625]
11450         * misc/mntent_r.c (addmntent): Flush the stream after the output
11452         [BZ #12393]
11453         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11454         (is_trusted_path_normalize): Skip initial colon.  Append slash
11455         to empty buffer.  Duplicate is_trusted_path code but allow
11456         constructed patch to be prefix.
11457         (is_dst): Allow $ORIGIN followed by /.
11458         (_dl_dst_substitute): Correct clearing of check_for_trusted.
11459         Correct testing of result of is_trusted_path_normalize
11460         (decompose_rpath): Fix warning.
11462 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
11464         [BZ #11257]
11465         * grp/initgroups.c (internal_getgrouplist): When we found the service
11466         list through the initgroups entry in nsswitch.conf do not always
11467         continue on a successful lookup.  Don't always use the
11468         __nss_group_database value if it is set.
11469         * nss/nsswitch.conf (initgroups): Change action for successful db
11470         lookup to continue for compatibility.
11472 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
11474         [BZ #11532]
11475         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11476         and CP774 modules.
11477         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11478         and CP774 modules.
11479         * iconvdata/tst-tables.sh: Likewise.
11480         * iconvdata/cp770.c: New file.
11481         * iconvdata/cp771.c: New file.
11482         * iconvdata/cp772.c: New file.
11483         * iconvdata/cp773.c: New file.
11484         * iconvdata/cp774.c: New file.
11485         * iconvdata/testdata/CP770: New file.
11486         * iconvdata/testdata/CP770..UTF8: New file.
11487         * iconvdata/testdata/CP771: New file.
11488         * iconvdata/testdata/CP771..UTF8: New file.
11489         * iconvdata/testdata/CP772: New file.
11490         * iconvdata/testdata/CP772..UTF8: New file.
11491         * iconvdata/testdata/CP773: New file.
11492         * iconvdata/testdata/CP773..UTF8: New file.
11493         * iconvdata/testdata/CP774: New file.
11494         * iconvdata/testdata/CP774..UTF8: New file.
11496         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11497         END CHARMAP line.
11498         * iconvdata/gen-8bit-gap.sh: Likewise.
11499         * iconvdata/gen-8bit.sh: Likewise.
11501         * locale/iso-639.def: Add ary entry.
11503         [BZ #11258]
11504         * locale/C-translit.h.in: Add U20A1 transliteration.
11506         [BZ #12178]
11507         * locale/iso-639.def: Add wae entry.
11508         Patch by Kevin Bortis <bortis@translate-wae.ch>.
11510         [BZ #12545]
11511         * locale/programs/localedef.c (construct_output_path): Use ssize_t
11512         for n.
11514         [BZ #12711]
11515         * locale/C-translit.h.in: Add entry for U20B9.
11516         Patch by pravin.d.s@gmail.com.
11518 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
11520         [BZ #12713]
11521         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11522         ENAMETOOLONG use generic getcwd.
11523         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
11524         in rtld.  Use *stat64.
11525         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11526         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11527         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11528         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11529         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11530         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11531         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11532         __fstatat64 macros.
11533         * include/dirent.h: Add libc_hidden_proto for rewinddir.
11534         * dirent/rewinddir.c: Add libc_hidden_def.
11535         * sysdeps/mach/hurd/rewinddir.c: Likewise.
11536         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
11538         * include/dirent.h (__alloc_dir): Add flags parameter.
11539         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11540         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11541         __alloc_dir.
11542         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
11543         from fdopendir if O_CLOEXEC is already set.
11545 2011-03-15  Alan Modra  <amodra@gmail.com>
11547         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11548         l_tls_firstbyte_offset non-zero.  Save padding offset in
11549         l_tls_firstbyte_offset for later use.
11550         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11551         freeing static tls block.
11553 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
11555         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11556         where #ifdef was intended.  The intent is to prevent ARG_MAX from
11557         being defined by the kernel headers.
11559 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
11561         [BZ #12734]
11562         * resolv/resolv.h: Define RES_NOTLDQUERY.
11563         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11564         no-tld-query and set RES_NOTLDQUERY.
11565         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11566         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11567         modern BIND to search name as TLD unless forbidden.
11569 2011-05-07  Petr Baudis  <pasky@suse.cz>
11570             Ulrich Drepper  <drepper@gmail.com>
11572         [BZ #12393]
11573         * elf/dl-load.c (fillin_rpath): Move trusted path check...
11574         (is_trusted_path): ...to here.
11575         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11576         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11577         using is_trusted_path_normalize() in setuid scripts.
11579 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11581         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11582         __BEGIN/__END_DECLS.
11584 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
11586         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11587         NSS_STATUS_NOTFOUND if no record was found.
11589 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11591         * sunrpc/Makefile (headers): Add rpc/netdb.h.
11592         (headers-not-in-tirpc): Remove rpc/netdb.h
11593         * resolv/netdb.h: Revert last change.
11595 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11597         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11598         circular dependency between libgcc.a and libc.a.
11600 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11602         * resolv/netdb.h: Don't include <rpc/netdb.h>.
11603         * nis/Makefile: Don't install rpcsvc/*.
11604         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11605         instead of <rpc/types.h>.
11606         (MAXHOSTNAMELEN): Define.
11608 2011-05-03  Andreas Schwab  <schwab@redhat.com>
11610         * elf/ldconfig.c (add_dir): Don't crash on empty path.
11612 2011-04-28  Maciej Babinski  <mbabinski@google.com>
11614         [BZ #12714]
11615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11616         gethostbyname4_r when IPv6 results are possible.
11618 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
11620         [BZ #12723]
11621         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11622         _PC_PIPE_BUF handling.
11624 2011-04-30  Bruno Haible  <bruno@clisp.org>
11626         [BZ #12717]
11627         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11628         * resolv/netdb.h (getnameinfo): Change type of flags parameter
11629         to 'int'.
11630         * inet/getnameinfo.c (getnameinfo): Likewise.
11632 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
11634         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11635         to groups setting in database lookup.
11636         * nss/nsswitch.conf: Add initgroups entry.
11638 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
11640         [BZ #12685]
11641         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11642         mode string.
11643         Patch by Eric Blake <eblake@redhat.com>.
11645 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
11647         * sunrpc/Makefile (need-export-routines): Add svc_run.
11648         (routines): Remove svc_run.
11649         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11650         * sunrpc/clnt_perr.c (clnt_perrno): Export.
11651         * sunrpc/svc_run.c (svc_run): Likewise.
11652         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11654 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
11656         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11657         problem in reallocation in last patch.
11659 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
11661         * sunrpc/Makefile: Move inclusion of Rules.
11663 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11665         * nss/nss_files/files-initgroups.c: New file.
11666         * nss/Makefile (libnss_files-routines): Add files-initgroups.
11667         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11668         _nss_files_initgroups_dyn.
11670 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
11672         * elf/elf.h (R_ARM_IRELATIVE): Define.
11674 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11676         * po/ru.po: Update from translation team.
11678 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11680         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11681         dependencies.
11683 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
11685         [BZ #12653]
11686         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11687         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11688         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11689         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11690         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11692 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
11694         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11695         differing bytes.
11696         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11697         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11698         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11700 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11702         [BZ #12420]
11703         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11704         storing it.
11705         * stdlib/bug-getcontext.c: New file.
11706         * stdlib/Makefile: Add rules to build and run bug-getcontext.
11708 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11710         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11711         instructions into .machine "z9-109".
11712         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11713         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11715 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11717         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11718         between environment variables and auxiliary vector.
11720 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
11722         * Makefile: Add rules to build linkobj/libc.so.
11723         * include/libc-symbols.h: Define libc_hidden_nolink.
11724         * include/rpc/auth.h: Mark functions which are to be hidden.
11725         * include/rpc/auth_des.h: Likewise.
11726         * include/rpc/auth_unix.h: Likewise.
11727         * include/rpc/clnt.h: Likewise.
11728         * include/rpc/des_crypt.h: Likewise.
11729         * include/rpc/key_prot.h: Likewise.
11730         * include/rpc/pmap_clnt.h: Likewise.
11731         * include/rpc/pmap_prot.h: Likewise.
11732         * include/rpc/pmap_rmt.h: Likewise.
11733         * include/rpc/rpc_msg.h: Likewise.
11734         * include/rpc/svc.h: Likewise.
11735         * include/rpc/svc_auth.h: Likewise.
11736         * include/rpc/xdr.h: Likewise.
11737         * nis/Makefile: Link all DSOs against linkobj/libc.so.
11738         * nss/Makefile: Likewise.
11739         * sunrpc/Makefile: Don't install headers.  Build library with normal
11740         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
11741         * sunrpc/auth_des.c: Hide exported symbols by default, export some
11742         for the compat linking library.  Remove use of INTDEF/INTUSE.
11743         * sunrpc/auth_none.c: Likewise.
11744         * sunrpc/auth_unix.c: Likewise.
11745         * sunrpc/authdes_prot.c: Likewise.
11746         * sunrpc/authuxprot.c: Likewise.
11747         * sunrpc/clnt_gen.c: Likewise.
11748         * sunrpc/clnt_perr.c: Likewise.
11749         * sunrpc/clnt_raw.c: Likewise.
11750         * sunrpc/clnt_simp.c: Likewise.
11751         * sunrpc/clnt_tcp.c: Likewise.
11752         * sunrpc/clnt_udp.c: Likewise.
11753         * sunrpc/clnt_unix.c: Likewise.
11754         * sunrpc/des_crypt.c: Likewise.
11755         * sunrpc/des_soft.c: Likewise.
11756         * sunrpc/get_myaddr.c: Likewise.
11757         * sunrpc/key_call.c: Likewise.
11758         * sunrpc/key_prot.c: Likewise.
11759         * sunrpc/netname.c: Likewise.
11760         * sunrpc/pm_getmaps.c: Likewise.
11761         * sunrpc/pm_getport.c: Likewise.
11762         * sunrpc/pmap_clnt.c: Likewise.
11763         * sunrpc/pmap_prot.c: Likewise.
11764         * sunrpc/pmap_prot2.c: Likewise.
11765         * sunrpc/pmap_rmt.c: Likewise.
11766         * sunrpc/publickey.c: Likewise.
11767         * sunrpc/rpc_cmsg.c: Likewise.
11768         * sunrpc/rpc_common.c: Likewise.
11769         * sunrpc/rpc_dtable.c: Likewise.
11770         * sunrpc/rpc_prot.c: Likewise.
11771         * sunrpc/rpc_thread.c: Likewise.
11772         * sunrpc/rtime.c: Likewise.
11773         * sunrpc/svc.c: Likewise.
11774         * sunrpc/svc_auth.c: Likewise.
11775         * sunrpc/svc_authux.c: Likewise.
11776         * sunrpc/svc_raw.c: Likewise.
11777         * sunrpc/svc_run.c: Likewise.
11778         * sunrpc/svc_simple.c: Likewise.
11779         * sunrpc/svc_tcp.c: Likewise.
11780         * sunrpc/svc_udp.c: Likewise.
11781         * sunrpc/svc_unix.c: Likewise.
11782         * sunrpc/svcauth_des.c: Likewise.
11783         * sunrpc/xcrypt.c: Likewise.
11784         * sunrpc/xdr.c: Likewise.
11785         * sunrpc/xdr_array.c: Likewise.
11786         * sunrpc/xdr_float.c: Likewise.
11787         * sunrpc/xdr_intXX_t.c: Likewise.
11788         * sunrpc/xdr_mem.c: Likewise.
11789         * sunrpc/xdr_rec.c: Likewise.
11790         * sunrpc/xdr_ref.c: Likewise.
11791         * sunrpc/xdr_sizeof.c: Likewise.
11792         * sunrpc/xdr_stdio.c: Likewise.
11794 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
11796         [BZ #12650]
11797         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11798         * sysdeps/ia64/dl-tls.h: Likewise.
11799         * sysdeps/powerpc/dl-tls.h: Likewise.
11800         * sysdeps/s390/dl-tls.h: Likewise.
11801         * sysdeps/sh/dl-tls.h: Likewise.
11802         * sysdeps/sparc/dl-tls.h: Likewise.
11803         * sysdeps/x86_64/dl-tls.h: Likewise.
11804         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11806 2011-03-14  Andreas Schwab  <schwab@redhat.com>
11808         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11809         rpath element also skip the following colon.
11810         (expand_dynamic_string_token): Add is_path parameter and pass
11811         down to DL_DST_REQUIRED and _dl_dst_substitute.
11812         (decompose_rpath): Call expand_dynamic_string_token with
11813         non-zero is_path.  Ignore empty rpaths.
11814         (_dl_map_object_from_fd): Call expand_dynamic_string_token
11815         with zero is_path.
11817 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
11819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11820         Make cancelable.
11822 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
11824         [BZ #12655]
11825         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11826         Patch by Filipe David Manana <fdmanana@apache.org>.
11828 2011-04-07  Andreas Schwab  <schwab@redhat.com>
11830         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11831         Maintain aligned stack.
11832         (CHECK_RSP): Remove unused macro.
11834 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
11836         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11837         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11839 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
11841         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11843         * include/features.h: Mention __USE_XOPEN2K8 in comment.
11845 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
11847         [BZ #12518]
11848         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11849         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11850         * sysdeps/x86_64/memmove.c: New file.
11851         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11852         (memcpy): Renamed to ...
11853         (__new_memcpy): This.
11854         (memcpy): Provide GLIBC_2_14 memcpy.
11855         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11856         (memcpy): Provide GLIBC_2_2_5 memcpy.
11858 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11860         [BZ #12631]
11861         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11863 2011-03-30  Andreas Schwab  <schwab@redhat.com>
11865         * misc/syncfs.c: New file.
11866         * misc/Makefile (routines): Add syncfs.
11867         * posix/unistd.h: Declare syncfs.
11868         * sysdeps/unix/syscalls.list: Add syncfs.
11870 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11872         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11873         open_by_handle_at.
11874         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11875         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11877         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11878         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11879         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11880         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11882 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11884         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11885         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11886         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11887         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11888         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11890         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11892         * io/Makefile: Compile fallocate.c, fallocate64.c, and
11893         sync_file_range.c with -fexceptions.
11894         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11895         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11896         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11897         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11898         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11899         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11900         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11901         sync_file_range as cancellation point
11902         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
11903         now a wrapper around __call_sync_file_range with cancellation handling.
11904         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11905         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
11906         function name to __call_sync_file_range.
11907         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11908         Add call_sync_file_range.
11910 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11913         bits/timex.h.
11915 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11917         * iconv/iconv.h: Fix typo in comment.
11918         * io/fcntl.h: Likewise.
11919         * libio/stdio.h: Likewise.
11920         * posix/spawn.h: Likewise.
11921         * posix/unistd.h: Likewise.
11922         * stdlib/stdlib.h: Likewise.
11923         * time/time.h: Likewise.
11924         * wcsmbs/wchar.h: Likewise.
11926         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11927         open_by_handle): Add.
11928         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11929         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
11930         Augment a few comments.
11931         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11932         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11933         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11934         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11935         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11936         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11937         open_by_handle.
11939         * io/fcntl.h (AT_EMPTY_PATH): Define.
11941 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
11943         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11944         * sysdeps/unix/sysv/linux/bits/time.h: New file.
11945         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11946         to...
11947         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
11948         * Versions.def: Add GLIBC_2.14.
11949         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11950         Export.
11952 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
11954         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11955         round counter.
11956         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11958 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11960         [BZ #12597]
11961         * string/test-strncmp.c (do_page_test): New function.
11962         (check2): Likewise.
11963         (test_main): Call check2.
11964         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11966 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
11968         [BZ #12587]
11969         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11970         Handle cache information in CPU leaf 4.
11971         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11973 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
11975         [BZ #12583]
11976         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11977         character representation.
11978         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11980 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
11982         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11983         END(__isnan) to END(__isnanf) to match function entry point/label
11984         EALIGN(__isnanf,...).
11986 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
11988         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11990 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
11992         [BZ #12510]
11993         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11994         copy from the symbol referenced in the relocation to initialize the
11995         used variable.
11996         Patch by Piotr Bury <pbury@goahead.com>.
11997         * elf/Makefile: Add rules to build and tst-unique3.
11998         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11999         * elf/tst-unique3.cc: New file.
12000         * elf/tst-unique3.h: New file.
12001         * elf/tst-unique3lib.cc: New file.
12002         * elf/tst-unique3lib2.cc: New file.
12004         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12006 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
12008         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12009         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
12010         to _start.
12012 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
12014         * elf/dl-load.c (_dl_map_object): If we are looking for the first
12015         to-be-loaded object along a path to loader is ld.so.
12017 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
12018             Ulrich Drepper  <drepper@gmail.com>
12020         * sysdeps/x86_64/memset.S: After aligning destination, code
12021         branches to different locations depending on the value of
12022         misalignment, when multiarch is enabled. Fix this.
12024 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
12026         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12027         Set _x86_64_preferred_memory_instruction for AMD processsors.
12028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12029         Set bit_Prefer_SSE_for_memop for AMD processors.
12031 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
12033         * libio/fmemopen.c (fmemopen): Optimize a bit.
12035 2011-03-03  Andreas Schwab  <schwab@redhat.com>
12037         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12039 2011-03-03  Roland McGrath  <roland@redhat.com>
12041         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12043 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
12045         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12046         __bzero_ultra1 instead of __memset_ultra1.
12048 2011-02-23  Andreas Schwab  <schwab@redhat.com>
12049             Ulrich Drepper  <drepper@gmail.com>
12051         [BZ #12509]
12052         * include/link.h (struct link_map): Add l_orig_initfini.
12053         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12054         returning unsuccessfully.
12055         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12056         close of a file loaded at startup, restore the original l_initfini
12057         list.
12058         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12059         list, store the pointer.
12060         * elf/Makefile ($(objpfx)noload-mem): New rule.
12061         (noload-ENV): Define.
12062         (tests): Add $(objpfx)noload-mem.
12063         * elf/noload.c: Include <memcheck.h>.
12064         (main): Call mtrace.  Close all opened handles.
12066 2011-02-17  Andreas Schwab  <schwab@redhat.com>
12068         [BZ #12454]
12069         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12070         dependencies are missing.
12072 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12074         Fix __if_freereq crash: Unlike the generic version which uses free,
12075         Hurd needs munmap.
12076         * sysdeps/mach/hurd/ifreq.h: New file.
12078 2011-01-27  Petr Baudis  <pasky@suse.cz>
12079             Ulrich Drepper  <drepper@gmail.com>
12081         [BZ 12445]#
12082         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12083         to extend_alloca().
12084         * stdio-common/bug23.c: New file.
12085         * stdio-common/Makefile (tests): Add bug23.
12087 2010-09-28  Andreas Schwab  <schwab@redhat.com>
12088             Ulrich Drepper  <drepper@gmail.com>
12090         [BZ #12489]
12091         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12092         before performing relro protection.  At old place add assertion
12093         to make sure nothing changed.
12095 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
12096             Glauber de Oliveira Costa  <glommer@gmail.com>
12098         * elf/elf.h: Add new ARM TLS relocs.
12100 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
12102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12103         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12104         cast from r3.
12105         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
12106         'tests' variable.
12107         * sysdeps/wordsize-64/tst-writev.c: New file.
12109 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
12111         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12112         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12113         insns in _dl_start to prevent a TOC reference before relocs are
12114         resolved.
12116 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
12118         [BZ #12469]
12119         * Makeconfig: Remove RANLIB definition.
12120         * Makerules: Don't use RANLIB.
12121         * aclocal.m4: Remove ranlib test.
12122         * configure.in: No need to check for ranlib.
12123         * elf/rtld-Rules: Don't use RANLIB.
12125 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12127         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12128         protection macro.
12129         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12130         inclusion protection macro.
12132         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12133         SIGRTMIN and SIGRTMAX and print information in that case only when
12134         SIGRTMIN is defined.
12136 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
12138         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12139         arginfo fn returning -1.
12141         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12142         and thousands string is zero terminated.
12144 2011-02-03  Andreas Schwab  <schwab@redhat.com>
12146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12147         sysdeps/unix/sysv/linux/bits/socket.h.
12149 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12151         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12152         (__CPU_COUNT): Remove old macros.
12153         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12154         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12155         (__CPU_ALLOC, __CPU_FREE): Add macros.
12156         (__sched_cpualloc, __sched_cpufree): Add declarations.
12158 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
12160         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12161         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12162         * nscd/aicache.c (addhstaiX): Return timeout of added value.
12163         (readdhstai): Return value of addhstaiX call.
12164         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12165         (addgrbyX): Return value returned by cache_addgr.
12166         (readdgrbyname): Return value returned by addgrbyX.
12167         (readdgrbygid): Likewise.
12168         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12169         (addpwbyX): Return value returned by cache_addpw.
12170         (readdpwbyname): Return value returned by addhstbyX.
12171         (readdpwbyuid): Likewise.
12172         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12173         (addservbyX): Return value returned by cache_addserv.
12174         (readdservbyname): Return value returned by addservbyX:
12175         (readdservbyport): Likewise.
12176         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12177         (addhstbyX): Return value returned by cache_addhst.
12178         (readdhstbyname): Return value returned by addhstbyX.
12179         (readdhstbyaddr): Likewise.
12180         (readdhstbynamev6): Likewise.
12181         (readdhstbyaddrv6): Likewise.
12182         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12183         (readdinitgroups): Return value returned by addinitgroupsX.
12184         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12185         (prune_cache): Keep track of timeout value of re-added entries.
12186         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12187         * nscd/nscd.h: Adjust prototypes of readd* functions.
12189 2011-02-04  Roland McGrath  <roland@redhat.com>
12191         * nis/nis_server.c (nis_servstate): Use the right name for 0.
12192         (nis_stats): Likewise.
12193         * nis/nis_modify.c (nis_modify): Likewise.
12194         * nis/nis_remove.c (nis_remove): Likewise.
12195         * nis/nis_add.c (nis_add): Likewise.
12197         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12199         * posix/fnmatch_loop.c: Add some consts.
12201         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12203 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
12205         [BZ #12460]
12206         * config.make.in (config-cflags-novzeroupper): Define.
12207         * configure.in: Substitute libc_cv_cc_novzeroupper.
12208         * elf/Makefile (AVX-CFLAGS): Define.
12209         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12210         (CFLAGS-tst-auditmod4a.c): Likewise.
12211         (CFLAGS-tst-auditmod4b.c): Likewise.
12212         (CFLAGS-tst-auditmod6b.c): Likewise.
12213         (CFLAGS-tst-auditmod6c.c): Likewise.
12214         (CFLAGS-tst-auditmod7b.c): Likewise.
12215         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12217 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
12219         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12220         function to the callback.
12221         Patch partly by Jiri Olsa <jolsa@redhat.com>.
12223 2011-02-02  Andreas Schwab  <schwab@redhat.com>
12225         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12226         of errno.
12228 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
12230         [BZ #11724]
12231         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12232         of constructors.
12233         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12234         of destructors.
12235         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12237         [BZ #11724]
12238         * elf/Makefile: Add rules to build and run new test.
12239         * elf/tst-initorder.c: New file.
12240         * elf/tst-initorder.exp: New file.
12241         * elf/tst-initordera1.c: New file.
12242         * elf/tst-initordera2.c: New file.
12243         * elf/tst-initordera3.c: New file.
12244         * elf/tst-initordera4.c: New file.
12245         * elf/tst-initorderb1.c: New file.
12246         * elf/tst-initorderb2.c: New file.
12247         * elf/tst-order-a1.c: New file.
12248         * elf/tst-order-a2.c: New file.
12249         * elf/tst-order-a3.c: New file.
12250         * elf/tst-order-a4.c: New file.
12251         * elf/tst-order-b1.c: New file.
12252         * elf/tst-order-b2.c: New file.
12253         * elf/tst-order-main.c: New file.
12254         New test case by George Gensure <werkt0@gmail.com>.
12256 2010-10-01  Andreas Schwab  <schwab@redhat.com>
12258         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12259         decoding ACE if AI_CANONIDN.
12261 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
12263         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12265 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
12267         * version.h (RELEASE): Bump for 2.13 release.
12268         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12270         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12272         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12273         MADV_NOHUGEPAGE.
12274         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12275         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12276         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12277         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12278         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12279         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12281         * posix/getconf.c: Update copyright year.
12282         * catgets/gencat.c: Likewise.
12283         * csu/version.c: Likewise.
12284         * debug/catchsegv.sh: Likewise.
12285         * debug/xtrace.sh: Likewise.
12286         * elf/ldconfig.c: Likewise.
12287         * elf/ldd.bash.in: Likewise.
12288         * elf/sprof.c (print_version): Likewise.
12289         * iconv/iconv_prog.c: Likewise.
12290         * iconv/iconvconfig.c: Likewise.
12291         * locale/programs/locale.c: Likewise.
12292         * locale/programs/localedef.c: Likewise.
12293         * malloc/memusage.sh: Likewise.
12294         * malloc/mtrace.pl: Likewise.
12295         * nscd/nscd.c (print_version): Likewise.
12296         * nss/getent.c: Likewise.
12298         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12299         PF_CAIF, and PF_ALG.
12300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12302 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
12304         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12305         (modules-names): Use them.
12306         (ifunc-test-modules, ifunc-pie-tests): Define.
12307         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12308         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12309         (test-extras): Likewise.
12310         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12311         $(compile-command.c).
12312         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12313         (all-built-dso): Define.
12314         (check-textrel.out, check-execstack.out): Depend on it.
12316         * configure.in: Don't override --enable-multi-arch.
12318 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
12320         [BZ #6812]
12321         * nscd/hstcache.c (tryagain): Define.
12322         (cache_addhst): Return tryagain not notfound for temporary errors.
12323         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12324         failed.
12326 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
12328         [BZ #10563]
12329         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12330         to make the syscall.
12331         * sysdeps/unix/sysv/linux/setgroups.c: New file.
12333         [BZ #12378]
12334         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12335         and fall back to matching as normal character if the string ends before
12336         the matching ']' is found.  This is what POSIX requires.
12337         * posix/testfnm.c: Adjust test result.
12338         * posix/globtest.sh: Adjust test result.  Add new test.
12339         * posix/tst-fnmatch.input: Likewise.
12340         * posix/tst-fnmatch2.c: Add new test.
12342 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
12344         * elf/Makefile (check-execstack): Revert last change.  Depend on
12345         check-execstack.h.
12346         (check-execstack.h): New target.
12347         (generated): Add check-execstack.h.
12348         * elf/check-execstack.c: Include "check-execstack.h".
12349         (main): Revert last change.
12350         (handle_file): Return zero if GNU_STACK is absent and
12351         DEFAULT_STACK_PERMS doesn't include PF_X.
12353 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
12355         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12356         in child fails because the descriptor is already closed.
12357         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12358         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12359         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12361         [BZ #12397]
12362         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12363         syscall.
12365         [BZ #10484]
12366         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12367         temporary buffer used to handle multi lookups locally.
12368         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12370 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12372         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12373         loader is ld.so.
12375 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
12377         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12378         alignment for SSE2.
12380 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12382         [BZ #12394]
12383         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12384         characters.  When rounding increased number of integer digits recompute
12385         number of groups.
12386         * stdio-common/tst-grouping.c: New file.
12387         * stdio-common/Makefile: Add rules to build and run tst-grouping.
12389 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
12391         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12392         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
12394         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12395         void.
12396         * bits/select.h: Likewise.
12398 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
12400         * po/ja.po: Update from translation team.
12402 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
12404         [BZ #11155]
12405         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12406         implementation just like for lxstat, fxstatat, et al.
12408 2010-12-27  Jim Meyering  <meyering@redhat.com>
12410         [BZ #12348]
12411         * posix/regexec.c (build_trtable): Return failure indication upon
12412         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
12414 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
12416         [BZ #12201]
12417         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12418         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12419         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12420         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12422         [BZ #12207]
12423         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12425         [BZ #12204]
12426         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12427         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12429 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12431         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12432         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12433         script has SORT_BY_INIT_PRIORITY.
12434         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12435         NO_CTORS_DTORS_SECTIONS is defined.
12436         * elf/soinit.c: Likewise.
12437         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12438         NO_CTORS_DTORS_SECTIONS is defined.
12439         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12440         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12441         * sysdeps/sh/init-first.c: Likewise.
12442         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12444 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
12446         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12447         always use the slow path.
12449 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
12451         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12452         similar rule which adds the sysdep directories to the header search in
12453         order to pick up the correct platform stackinfo.h.
12454         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12455         perform test if it is, otherwise return successfully without testing.
12456         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12457         DEFAULT_STACK_PERMS define in stackinfo.h.
12458         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12459         defined in stackinfo.h.
12460         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12461         DEFAULT_STACK_PERMS defined in stackinfo.h.
12462         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12463         * sysdeps/ia64/stackinfo.h: Likewise.
12464         * sysdeps/s390/stackinfo.h: Likewise.
12465         * sysdeps/sh/stackinfo.h: Likewise.
12466         * sysdeps/sparc/stackinfo.h: Likewise.
12467         * sysdeps/x86_64/stackinfo.h: Likewise.
12468         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12469         PF_X for powerpc64.  Retain PF_X for powerpc32.
12471 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
12473         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12474         accurately.
12475         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12476         GETDENTS_64BIT_ALIGNED.
12478 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
12480         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12482 2010-12-10  Andreas Schwab  <schwab@redhat.com>
12484         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12485         _GNU_SOURCE.
12487         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12488         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12489         Remove __restrict.
12490         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12491         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12493 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
12495         [BZ #11655]
12496         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12497         are initialized.
12499 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
12501         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12503 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
12505         * po/it.po: Update from translation team.
12507 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12509         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12510         unused codes.
12512 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
12514         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12516 2010-11-24  Andreas Schwab  <schwab@redhat.com>
12518         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12519         specially.
12520         (gaih_getanswer_slice): Likewise.
12522 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
12524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12526 2010-05-31  Petr Baudis  <pasky@suse.cz>
12528         [BZ #11149]
12529         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12530         silently even in the chroot mode.
12532 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
12534         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12535         last patch a bit.  Pretty printing
12537 2010-05-31  Petr Baudis <pasky@suse.cz>
12539         [BZ #10085]
12540         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12541         initialization of skip_initgroups_dyn.
12543 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
12545         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12546         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12548 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
12550         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12552 2010-11-11  Andreas Schwab  <schwab@redhat.com>
12554         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12555         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12556         (tst-fnmatch-ENV): Set MALLOC_TRACE.
12557         ($(objpfx)tst-fnmatch-mem): New rule.
12558         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12559         * posix/tst-fnmatch.c (main): Call mtrace.
12561 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
12563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12564         Support Intel processor model 6 and model 0x2c.
12566 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
12568         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12569           signed comparison.
12571 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
12573         [BZ #12205]
12574         * string/test-strncasecmp.c (check_result): New function.
12575         (do_one_test): Use it.
12576         (check1): New function.
12577         (test_main): Use it.
12578         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12579         Support strcasecmp and strncasecmp.
12581 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
12583         [BZ #12194]
12584         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12585         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12587 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12589         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12590         IFUNC support.
12591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12592         memset-x86-64.
12593         * sysdeps/x86_64/multiarch/bzero.S: New file.
12594         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12595         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12596         * sysdeps/x86_64/multiarch/memset.S: New file.
12597         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12599         Set bit_Prefer_SSE_for_memop for Intel processors.
12600         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12601         Define.
12602         (index_Prefer_SSE_for_memop): Define.
12603         (HAS_PREFER_SSE_FOR_MEMOP): Define.
12605 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
12607         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12608         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12610 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
12612         [BZ #12191]
12613         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12614         (__x86_64_raw_data_cache_size_half): Likewise.
12615         (__x86_64_raw_shared_cache_size): Likewise.
12616         (__x86_64_raw_shared_cache_size_half): Likewise.
12618         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12619         (__x86_64_raw_data_cache_size_half): Likewise.
12620         (__x86_64_raw_shared_cache_size): Likewise.
12621         (__x86_64_raw_shared_cache_size_half): Likewise.
12622         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12623         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12624         and __x86_64_raw_shared_cache_size_half.  Round
12625         __x86_64_data_cache_size_half, __x86_64_data_cache_size
12626         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12627         to multiple of 256 bytes.
12629 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
12631         [BZ #12167]
12632         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12633         of inacessible symlinks.  Verify result of symlink before returning it.
12634         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12635         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12637 2010-10-28  Erich Ritz  <erichritz@gmail.com>
12639         * math/math.h (isinf): Fix typo in comment.
12641 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
12643         * po/da.po: Update from translation team.
12645 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
12647         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12648         is added to the list.
12650 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12651             Ulrich Drepper  <drepper@gmail.com>
12653         * elf/dl-object.c (_dl_new_object): Don't append the new object to
12654         the global list here.  Move code to...
12655         (_dl_add_to_namespace_list): ...here.  New function.
12656         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12657         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12658         * elf/dl-load.c (lose): Don't remove the element from the list.
12659         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12660         (_dl_map_object): Likewise.
12662 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
12664         [BZ #12159]
12665         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12666         into all bytes of SSE register.
12667         Patch by Richard Li <richardpku@gmail.com>.
12669 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
12671         [BZ #12140]
12672         * malloc/malloc.c (_int_free): Fill correct number of bytes when
12673         perturbing.
12675 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
12677         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12678         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12679         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12680         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12682         submachine.
12683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12685 2010-10-22  Andreas Schwab  <schwab@redhat.com>
12687         * include/dlfcn.h (__RTLD_SECURE): Define.
12688         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
12689         mode & __RTLD_SECURE instead.
12690         (open_path): Rename preloaded parameter to secure.
12691         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12692         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12693         * elf/dl-deps.c (openaux): Likewise.
12694         * elf/rtld.c (struct map_args): Remove is_preloaded.
12695         (map_doit): Don't use it.
12696         (dl_main): Likewise.
12697         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12698         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12700 2010-09-09  Andreas Schwab  <schwab@redhat.com>
12702         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12703         (sysd-rules-targets): Remove duplicates.
12704         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12705         rtld-%.$o dependency.
12707 2010-10-18  Andreas Schwab  <schwab@redhat.com>
12709         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12710         _dl_map_object do it.
12712 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
12714         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12715         fast fma builtins, define the macros in the C99 standard.
12716         (FP_FAST_FMAF): Likewise.
12717         (FP_FAST_FMAL): Likewise.
12718         * sysdeps/x86_64/bits/mathdef.h: Likewise.
12720         * bits/mathdef.h: Update copyright year.
12721         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12723 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
12725         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12726         builtins, define the macros in the C99 standard.
12727         (FP_FAST_FMAF): Likewise.
12728         (FP_FAST_FMAL): Likewise.
12729         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12730         multiply/add.
12731         (FP_FAST_FMAF): Likewise.
12733 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
12735         [BZ #3268]
12736         * math/libm-test.inc (fma_test): Some new testcases.
12737         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12738         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12739         y and infinite z.  Do multiplication by C already in long double.
12740         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12742         y and infinite z.  Do bitwise or of inexact bit into u.d.
12743         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12744         * sysdeps/i386/fpu/s_fmaf.S: Removed.
12745         * sysdeps/i386/fpu/s_fma.S: Removed.
12746         * sysdeps/i386/fpu/s_fmal.S: Removed.
12748 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
12750         [BZ #3268]
12751         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12752         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12753         computation is not scheduled after fetestexcept.  Fix value
12754         of minimum denormal long double.
12756 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
12758         [BZ #3268]
12759         * math/libm-test.inc (fma_test): Add some more tests.
12760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12761         correctly.
12763 2010-10-15  Andreas Schwab  <schwab@redhat.com>
12765         * scripts/data/localplt-s390-linux-gnu.data: New file.
12766         * scripts/data/localplt-s390x-linux-gnu.data: New file.
12768 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
12770         [BZ #3268]
12771         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12772         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12773         instead of dbl-64.
12774         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12775         inlines.
12776         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12778         if one of x and y is very large and the other is subnormal.
12779         * sysdeps/s390/fpu/s_fmaf.c: New file.
12780         * sysdeps/s390/fpu/s_fma.c: New file.
12781         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12782         * sysdeps/powerpc/fpu/s_fma.S: New file.
12783         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12784         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12785         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12787 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
12789         [BZ #3268]
12790         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12791         fma tests.
12792         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12793         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12794         * sysdeps/i386/i686/multiarch/s_fma.c: Include
12795         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12796         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12797         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12798         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12800 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
12802         [BZ #12078]
12803         * posix/regcomp.c (parse_branch): One more memory leak plugged.
12804         * posix/bug-regex31.input: Add test case.
12806 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12808         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12809         * posix/bug-regex31.input: New file.
12811         [BZ #12078]
12812         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12813         (parse_sub_exp): Fix last change, use postorder.
12815         * posix/bug-regex31.c: New file.
12816         * posix/Makefile: Add rules to build and run bug-regex31.
12818         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12820         [BZ #12078]
12821         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12823         [BZ #12108]
12824         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12825         to have entries in sys_siglist.
12827         [BZ #12093]
12828         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12829         be NULL.
12831 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
12833         [BZ #3268]
12834         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12835         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12836         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12837         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12838         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12839         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12840         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12841         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12842         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12843         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12844         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12845         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12846         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12847         * math/ftestexcept.c (fetestexcept): Likewise.
12848         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12849         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12850         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12851         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12852         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12853         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12854         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12856 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12858         [BZ #12107]
12859         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12860         newline.
12862 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
12864         * string/bug-strstr1.c: New file.
12865         * string/Makefile: Add rules to build and run bug-strstr1.
12867 2010-10-05  Eric Blake  <eblake@redhat.com>
12869         [BZ #12092]
12870         * string/str-two-way.h (two_way_long_needle): Always clear memory
12871         when skipping input due to the shift table.
12873 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
12875         [BZ #12005]
12876         * malloc/mcheck.c: Handle large requests.
12878         [BZ #12077]
12879         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12880         for strncmp and strncasecmp.
12881         * string/stratcliff.c: Add tests for strcmp and strncmp.
12882         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12884 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12886         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12887         __set_fpscr.
12889 2010-09-30  Andreas Jaeger  <aj@suse.de>
12891         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12892         (CGROUP_SUPER_MAGIC): Define.
12893         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12894         Handle btrfs and cgroup file systems.
12895         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12896         Likewise.
12898 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
12900         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12901         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12903 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12905         [BZ #12067]
12906         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12907         trying to locate the ELF header.
12909 2010-09-27  Andreas Schwab  <schwab@redhat.com>
12911         [BZ #11611]
12912         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12913         Mask out sign-bit copies when constructing f_fsid.
12915 2010-09-24  Petr Baudis <pasky@suse.cz>
12917         * debug/stack_chk_fail_local.c: Add missing licence exception.
12918         * debug/warning-nop.c: Likewise.
12920 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
12922         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12923         implementing getdents64 using getdents syscall, set d_type if
12924         __ASSUME_GETDENTS32_D_TYPE.
12926 2010-09-16  Andreas Schwab  <schwab@redhat.com>
12928         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12929         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12931 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
12933         [BZ #12037]
12934         * posix/unistd.h: Undo change of feature selection for ftruncate from
12935         2010-01-11.
12937 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
12939         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12940         detection.
12942 2010-09-20  Andreas Schwab  <schwab@redhat.com>
12944         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12945         fanotify_mark.
12946         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12948 2010-09-14  Andreas Schwab  <schwab@redhat.com>
12950         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12951         variables after CHECK_SP call.
12952         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12954 2010-09-13  Andreas Schwab  <schwab@redhat.com>
12955             Ulrich Drepper  <drepper@redhat.com>
12957         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12958         re-relocationg ld.so.
12959         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12960         _dl_init_paths call.
12961         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
12962         here anymore.
12964 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
12966         * resolv/res_init.c (__res_vinit): Count the default server we added.
12968 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
12969             Ulrich Drepper  <drepper@redhat.com>
12971         [BZ #11968]
12972         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12973         (____longjmp_chk): Use %ebx for saving value across system call.
12974         Add unwind info.
12976 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12978         * manual/Makefile: Don't mix pattern rules with normal rules.
12980 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12982         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12983         operation.
12984         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12985         * libio/iofopncook.c (_IO_cookie_init): Likewise.
12986         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12987         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12989         Likewise.
12991 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
12993         [BZ #11979]
12994         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12995         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12997 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
12999         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13000         * sysdeps/x86_64/addmul_1.S: Likewise.
13001         * sysdeps/x86_64/lshift.S: Likewise.
13002         * sysdeps/x86_64/mul_1.S: Likewise.
13003         * sysdeps/x86_64/rshift.S: Likewise.
13004         * sysdeps/x86_64/sub_n.S: Likewise.
13005         * sysdeps/x86_64/submul_1.S: Likewise.
13007 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13009         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13010         Define __sched_param instead of SCHED_* and sched_param when
13011         <bits/sched.h> is included with __need_schedparam defined.
13012         * bits/sched.h [__need_schedparam]
13013         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13014         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13015         (__defined_schedparam): Define to 1.
13016         (__sched_param): New structure, identical to sched_param.
13017         (__need_schedparam): Undefine.
13019 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
13021         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13022         (epoll_create1): Declare.
13024         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13026 2010-08-31  Andreas Schwab  <schwab@redhat.com>
13028         [BZ #7066]
13029         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13030         shifting retval into place.
13032 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
13034         * nis/rpcsvc/nis.h: Update copyright notice.
13035         * nis/rpcsvc/nis.x: Likewise.
13036         * nis/rpcsvc/nis_callback.h: Likewise.
13037         * nis/rpcsvc/nis_callback.x: Likewise.
13038         * nis/rpcsvc/nis_object.x: Likewise.
13039         * nis/rpcsvc/nis_tags.h: Likewise.
13040         * nis/rpcsvc/yp.h: Likewise.
13041         * nis/rpcsvc/yp.x: Likewise.
13042         * nis/rpcsvc/ypupd.h: Likewise.
13043         * nis/yp_xdr.c: Likewise.
13044         * nis/ypupdate_xdr.c: Likewise.
13046         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
13047         mainly the body of pmap_getport.  Add parameters to specify timeouts.
13048         (pmap_getport): Use __libc_rpc_getport.
13049         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13050         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13051         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13053 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
13055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13056         fanotify_mark.
13058 2010-08-27  Roland McGrath  <roland@redhat.com>
13060         * sysdeps/i386/i686/multiarch/Makefile
13061         (CFLAGS-varshift.c): New variable.
13063 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
13065         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13066         * sysdeps/i386/i686/multiarch/varshift.c: New file.
13068         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13070         * sysdeps/x86_64/strlen.S: Minimal code improvement.
13072 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13074         * sysdeps/x86_64/strlen.S: Unroll the loop.
13075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13076         strlen-sse2 strlen-sse2-bsf.
13077         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13078         __strlen_no_bsf if bit_Slow_BSF is set.
13079         (__strlen_sse42): Removed.
13080         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13081         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13083 2010-08-25  Roland McGrath  <roland@redhat.com>
13085         * sysdeps/x86_64/multiarch/varshift.S: File removed.
13086         * sysdeps/x86_64/multiarch/varshift.c: New file.
13087         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13088         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13089         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13090         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13092 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13095         strlen-sse2 strlen-sse2-bsf.
13096         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13097         __strlen_sse2_bsf if bit_Slow_BSF is unset.
13098         (__strlen_sse2): Removed.
13099         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13100         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13102         bit_Slow_BSF for Atom.
13103         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13104         (index_Slow_BSF): Define.
13105         (HAS_SLOW_BSF): Define.
13107 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
13109         [BZ #10851]
13110         * resolv/res_init.c (__res_vinit): When no server address at all
13111         is given default to loopback.
13113 2010-08-24  Roland McGrath  <roland@redhat.com>
13115         * configure.in: Remove config-name.h generation.
13116         * configure: Regenerated.
13117         * config-name.in: File removed.
13118         * scripts/config-uname.sh: New file.
13119         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13120         ($(objdir)config-name.h): New target.
13122         * sunrpc/rpc_parse.h: Avoid nested comment.
13124 2010-08-24  Richard Henderson  <rth@redhat.com>
13125             Ulrich Drepper  <drepper@redhat.com>
13126             H.J. Lu  <hongjiu.lu@intel.com>
13128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13130         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13131         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
13132         _mm_alignr_epi8 with _mm_loadu_si128.
13133         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13134         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13135         (__m128i_shift_right): Removed.
13136         * sysdeps/i386/i686/multiarch/varshift.h: New file.
13137         * sysdeps/i386/i686/multiarch/varshift.S: New file.
13138         * sysdeps/x86_64/multiarch/varshift.h: New file.
13139         * sysdeps/x86_64/multiarch/varshift.S: New file.
13141 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
13143         * configure.in: Move assembler checks to before sysdep dir checking.
13145 2010-08-20  Petr Baudis  <pasky@suse.cz>
13147         * LICENSES: Sync the sunrpc license.
13149 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
13151         * sunrpc/auth_des.c: Update copyright notice once again.
13152         * sunrpc/auth_none.c: Likewise.
13153         * sunrpc/auth_unix.c: Likewise.
13154         * sunrpc/authdes_prot.c: Likewise.
13155         * sunrpc/authuxprot.c: Likewise.
13156         * sunrpc/bindrsvprt.c: Likewise.
13157         * sunrpc/clnt_gen.c: Likewise.
13158         * sunrpc/clnt_perr.c: Likewise.
13159         * sunrpc/clnt_raw.c: Likewise.
13160         * sunrpc/clnt_simp.c: Likewise.
13161         * sunrpc/clnt_tcp.c: Likewise.
13162         * sunrpc/clnt_udp.c: Likewise.
13163         * sunrpc/clnt_unix.c: Likewise.
13164         * sunrpc/des_crypt.c: Likewise.
13165         * sunrpc/des_soft.c: Likewise.
13166         * sunrpc/get_myaddr.c: Likewise.
13167         * sunrpc/getrpcport.c: Likewise.
13168         * sunrpc/key_call.c: Likewise.
13169         * sunrpc/key_prot.c: Likewise.
13170         * sunrpc/openchild.c: Likewise.
13171         * sunrpc/pm_getmaps.c: Likewise.
13172         * sunrpc/pm_getport.c: Likewise.
13173         * sunrpc/pmap_clnt.c: Likewise.
13174         * sunrpc/pmap_prot.c: Likewise.
13175         * sunrpc/pmap_prot2.c: Likewise.
13176         * sunrpc/pmap_rmt.c: Likewise.
13177         * sunrpc/rpc/auth.h: Likewise.
13178         * sunrpc/rpc/auth_unix.h: Likewise.
13179         * sunrpc/rpc/clnt.h: Likewise.
13180         * sunrpc/rpc/des_crypt.h: Likewise.
13181         * sunrpc/rpc/key_prot.h: Likewise.
13182         * sunrpc/rpc/netdb.h: Likewise.
13183         * sunrpc/rpc/pmap_clnt.h: Likewise.
13184         * sunrpc/rpc/pmap_prot.h: Likewise.
13185         * sunrpc/rpc/pmap_rmt.h: Likewise.
13186         * sunrpc/rpc/rpc.h: Likewise.
13187         * sunrpc/rpc/rpc_des.h: Likewise.
13188         * sunrpc/rpc/rpc_msg.h: Likewise.
13189         * sunrpc/rpc/svc.h: Likewise.
13190         * sunrpc/rpc/svc_auth.h: Likewise.
13191         * sunrpc/rpc/types.h: Likewise.
13192         * sunrpc/rpc/xdr.h: Likewise.
13193         * sunrpc/rpc_clntout.c: Likewise.
13194         * sunrpc/rpc_cmsg.c: Likewise.
13195         * sunrpc/rpc_common.c: Likewise.
13196         * sunrpc/rpc_cout.c: Likewise.
13197         * sunrpc/rpc_dtable.c: Likewise.
13198         * sunrpc/rpc_hout.c: Likewise.
13199         * sunrpc/rpc_main.c: Likewise.
13200         * sunrpc/rpc_parse.c: Likewise.
13201         * sunrpc/rpc_parse.h: Likewise.
13202         * sunrpc/rpc_prot.c: Likewise.
13203         * sunrpc/rpc_sample.c: Likewise.
13204         * sunrpc/rpc_scan.c: Likewise.
13205         * sunrpc/rpc_scan.h: Likewise.
13206         * sunrpc/rpc_svcout.c: Likewise.
13207         * sunrpc/rpc_tblout.c: Likewise.
13208         * sunrpc/rpc_util.c: Likewise.
13209         * sunrpc/rpc_util.h: Likewise.
13210         * sunrpc/rpcinfo.c: Likewise.
13211         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13212         * sunrpc/rpcsvc/key_prot.x: Likewise.
13213         * sunrpc/rpcsvc/klm_prot.x: Likewise.
13214         * sunrpc/rpcsvc/mount.x: Likewise.
13215         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13216         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13217         * sunrpc/rpcsvc/rex.x: Likewise.
13218         * sunrpc/rpcsvc/rstat.x: Likewise.
13219         * sunrpc/rpcsvc/rusers.x: Likewise.
13220         * sunrpc/rpcsvc/sm_inter.x: Likewise.
13221         * sunrpc/rpcsvc/spray.x: Likewise.
13222         * sunrpc/rpcsvc/yppasswd.x: Likewise.
13223         * sunrpc/rtime.c: Likewise.
13224         * sunrpc/svc.c: Likewise.
13225         * sunrpc/svc_auth.c: Likewise.
13226         * sunrpc/svc_authux.c: Likewise.
13227         * sunrpc/svc_raw.c: Likewise.
13228         * sunrpc/svc_run.c: Likewise.
13229         * sunrpc/svc_simple.c: Likewise.
13230         * sunrpc/svc_tcp.c: Likewise.
13231         * sunrpc/svc_udp.c: Likewise.
13232         * sunrpc/svc_unix.c: Likewise.
13233         * sunrpc/svcauth_des.c: Likewise.
13234         * sunrpc/xcrypt.c: Likewise.
13235         * sunrpc/xdr.c: Likewise.
13236         * sunrpc/xdr_array.c: Likewise.
13237         * sunrpc/xdr_float.c: Likewise.
13238         * sunrpc/xdr_mem.c: Likewise.
13239         * sunrpc/xdr_rec.c: Likewise.
13240         * sunrpc/xdr_ref.c: Likewise.
13241         * sunrpc/xdr_sizeof.c: Likewise.
13242         * sunrpc/xdr_stdio.c: Likewise.
13244         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13245         handling.
13247 2010-08-19  Andreas Schwab  <schwab@redhat.com>
13249         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13251 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
13253         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13254         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13255         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13256         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13257         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13258         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13259         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13260         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13261         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13262         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13263         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13264         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13265         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13266         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13268 2010-07-26  Anton Blanchard  <anton@samba.org>
13270         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13271         * malloc/arena.c (heap_trim): Likewise.
13273 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
13275         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13276         here.  Not...
13277         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13278         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13280 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13282         * sysdeps/i386/elf/Makefile: New file.
13284 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
13286         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13287         from fanotify_init.
13288         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13289         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13291 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
13293         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13294         of strncasecmp_l.
13295         * sysdeps/multiarch/strcmp.S: Likewise.
13297 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
13299         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13300         strncase_l-nonascii.
13301         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13302         Add strncase_l-ssse3.
13303         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13304         * sysdeps/x86_64/strcmp.S: Likewise.
13305         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13306         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13307         * sysdeps/x86_64/strncase.S: New file.
13308         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13309         * sysdeps/x86_64/strncase_l.S: New file.
13310         * string/Makefile (strop-tests): Add strncasecmp.
13311         * string/test-strncasecmp.c: New file.
13313         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13314         warning.
13316         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13317         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13319 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
13321         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13323 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
13325         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13326         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13327         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13329 2010-05-01  Alan Modra  <amodra@gmail.com>
13331         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13332         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13333         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13334         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13335         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13336         tidying.  Don't tail-call __sigjmp_save for static lib.
13337         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13338         save location.
13339         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13340         (CALL_MCOUNT): Add eh info, and nop after bl.
13341         (TAIL_CALL_SYSCALL_ERROR): New macro.
13342         (PSEUDO_RET): Use it.
13343         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13344         Correct save location of integer regs and cr.
13345         (_dl_profile_resolve): Correct cr save location.  Delete nops
13346         after bl when SHARED.  Reduce cfi size a little by better
13347         placement of cfi directives.
13348         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13349         make a stack frame.  Instead use parm save area as a temp.
13350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13351         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
13352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13353         Don't make a stack frame for parent, use parm save area.
13354         Increase child stack frame to 112 bytes.  Don't save unused reg,
13355         and adjust reg usage.  Set up cfi on error recovery and
13356         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13358         (__makecontext): Add dummy nop after jump to exit.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13360         Use correct parm save area and cr save, reduce stack frame.
13361         Correct cfi for possible PSEUDO_RET frame setup.
13362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13363         Branch to local label emitted by PSEUDO_RET rather than
13364         __syscall_error.
13366 2010-08-12  Andreas Schwab  <schwab@redhat.com>
13368         [BZ #11904]
13369         * locale/programs/locale.c (print_assignment): New function.
13370         (show_locale_vars): Use it.
13372 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
13374         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13375         field.
13376         (struct statfs64): Likewise.
13377         (_STATFS_F_FLAGS): Define.
13378         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13379         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13380         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13381         (ST_VALID): Define locally.
13382         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13383         __statvfs_getflags, use the provided value.
13384         * sysdeps/unix/sysv/linux/kernel-features.h: Define
13385         __ASSUME_STATFS_F_FLAGS.
13387         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13389         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13390         Add sys/fanotify.h.
13391         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13392         fanotify_mask for GLIBC_2.13.
13393         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13394         fanotify_init and fanotify_mark.
13395         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13396         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13398         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13399         Add prlimit.
13400         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13401         prlimit64 for GLIBC_2.13.
13402         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13403         prlimit64.
13404         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13405         syscall.
13406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13407         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13408         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13409         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13410         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
13411         add prlimit alias.
13412         * sysdeps/unix/sysv/linux/prlimit.c: New file.
13414         [BZ #11903]
13415         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13416         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13418         * nss/Makefile: Add rules to build and run tst-nss-test1.
13419         * shlib-versions: Add entry for libnss_test1.
13420         * nss/nss_test1.c: New file.
13421         * nss/tst-nss-test1.c: New file.
13423         * nss/nsswitch.c (__nss_database_custom): Define new variable.
13424         (__nss_configure_lookup): Set appropriate entry in
13425         __nss_configure_lookup to true.
13426         * nss/nsswitch.h: Define enum with indeces of databases in
13427         databases and __nss_database_custom arrays.  Declare
13428         __nss_database_custom.
13429         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13430         to avoid using nscd when custom rules are installed.
13431         * nss/getXXbyYY_r.c: Likewise.
13432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13434         * nss/nss_files/files-parse.c: Whitespace fixes.
13436 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
13438         [BZ #11883]
13439         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13440         * posix/fnmatch_loop.c: Likewise.
13442 2010-07-17  Andi Kleen  <ak@linux.intel.com>
13444         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13445         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13446         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13447         * Versions.def [GLIBC_2.13]: Add.
13449 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
13451         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13452         Also fail if tpwd after pwuid call is NULL.
13454 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13456         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13457         when converting to ms.
13459 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13461         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13462         EOPNOTSUPP errors with ENOTTY.
13463         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13464         EOPNOTSUPP errors with ENOTTY.
13466 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
13468         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13469         Add strcasecmp_l-ssse3.
13470         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13471         strcasecmp.
13472         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13473         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13474         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13476 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
13478         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13480         * string/Makefile (strop-tests): Add strcasecmp.
13481         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13482         strcasecmp_l-nonascii.
13483         (gen-as-const-headers): Add locale-defines.sym.
13484         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13485         * sysdeps/x86_64/strcasecmp.S: New file.
13486         * sysdeps/x86_64/strcasecmp_l.S: New file.
13487         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13488         * sysdeps/x86_64/locale-defines.sym: New file.
13489         * string/test-strcasecmp.c: New file.
13491         * string/test-strcasestr.c: Test both ends of the range of characters.
13492         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13494 2010-07-29  Roland McGrath  <roland@redhat.com>
13496         [BZ #11856]
13497         * manual/locale.texi (Yes-or-No Questions): Fix example code.
13499 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
13501         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13502         for ld.so.
13504 2010-07-27  Andreas Schwab  <schwab@redhat.com>
13506         * manual/memory.texi (Malloc Tunable Parameters): Document
13507         M_PERTURB.
13509 2010-07-26  Roland McGrath  <roland@redhat.com>
13511         [BZ #11840]
13512         * configure.in (-fgnu89-inline check): Set and substitute
13513         gnu89_inline, not libc_cv_gnu89_inline.
13514         * configure: Regenerated.
13515         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13517 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
13519         * string/test-strnlen.c: New file.
13520         * string/Makefile (strop-tests): Add strnlen.
13521         * string/tester.c (test_strnlen): Add a few more test cases.
13522         * string/tst-strlen.c: Better error reporting.
13524         * sysdeps/x86_64/strnlen.S: New file.
13526 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
13528         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13529         lower-latency instructions.
13531 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
13533         * string/test-strcasestr.c: New file.
13534         * string/test-strstr.c: New file.
13535         * string/Makefile (strop-tests): Add strstr and strcasestr.
13536         * string/str-two-way.h: Don't undefine MAX.
13537         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13539 2010-07-21  Andreas Schwab  <schwab@redhat.com>
13541         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13542         strcasestr-nonascii.
13543         (CFLAGS-strcasestr-nonascii.c): Define.
13544         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13545         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13546         Remove unused attribute.
13548 2010-07-20  Roland McGrath  <roland@redhat.com>
13550         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13551         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
13552         ld.so.cache was broken.  With it, there is no way to disable dsocaps
13553         like LD_HWCAP_MASK can disable hwcaps.
13555 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13557         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13559 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
13561         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13562         call in strcasestr.
13563         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13564         __strcasestr_sse42_nonascii.
13565         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13566         strcasestr-nonascii.c.
13567         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13569 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
13571         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13572         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13573         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13574         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13576 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
13578         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13579         fcntl.
13581 2010-07-06  Andreas Schwab  <schwab@redhat.com>
13583         [BZ #11577]
13584         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13585         dl_signal_cerror.
13587 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
13589         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13590         _PC_PIPE_BUF using F_GETPIPE_SZ.
13592 2010-07-05  Roland McGrath  <roland@redhat.com>
13594         * manual/arith.texi (Rounding Functions): Fix rint description
13595         implicit in round description.
13597 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
13599         * elf/Makefile: Fix linking for a few tests to make recent linker
13600         happy.
13602 2010-06-30  Andreas Schwab  <schwab@redhat.com>
13604         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13605         $(common-objpfx)libc_nonshared.a.
13607 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
13609         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13610         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13611         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13612         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13613         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13614         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13615         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13616         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13631         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13632         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13633         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13634         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13635         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13636         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13637         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13638         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13639         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13640         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13641         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13642         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13658 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13660         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13661         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
13662         * string/memmove.c (memmove): Renamed to ...
13663         (MEMMOVE): ...this.  Default to memmove.
13664         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13665         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13666         (END_CHK): Define.
13667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13668         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13669         mempcpy-ssse3-back memmove-ssse3-back.
13670         * sysdeps/x86_64/multiarch/bcopy.S: New file .
13671         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13672         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13673         * sysdeps/x86_64/multiarch/memcpy.S: New file.
13674         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13675         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13676         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13677         * sysdeps/x86_64/multiarch/memmove.c: New file.
13678         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13679         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13680         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13681         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13682         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13683         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13684         Define.
13685         (index_Fast_Copy_Backward): Define.
13686         (HAS_ARCH_FEATURE): Define.
13687         (HAS_FAST_REP_STRING): Define.
13688         (HAS_FAST_COPY_BACKWARD): Define.
13690 2010-06-21  Andreas Schwab  <schwab@redhat.com>
13692         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13693         Restore proper fallback handling.
13695 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
13697         [BZ #11701]
13698         * posix/group_member.c (__group_member): Correct checking loop.
13700         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13701         OOM in getpwuid_r correctly.  Return error number when the caller
13702         should return, otherwise -1.
13703         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13704         call returning > 0 value.
13705         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13707 2010-06-07  Andreas Schwab  <schwab@redhat.com>
13709         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13710         libc_nonshared.a from targets in modules-names.
13712 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
13714         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13715         requires it.
13717 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
13719         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13720         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13721         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13722         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13724 2010-06-02  Andreas Schwab  <schwab@redhat.com>
13726         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13728 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
13730         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13731         and F_GETPIPE_SZ.
13732         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13733         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13734         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13735         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13736         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13737         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13739 2010-06-14  Roland McGrath  <roland@redhat.com>
13741         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13743 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
13745         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13746         __REDIRECT followed by __THROW.
13747         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13748         * posix/getopt.h (getopt): Likewise.
13750 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13752         * hurd/lookup-at.c (__file_name_lookup_at): Accept
13753         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
13754         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13755         in AT_FLAGS.
13756         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13757         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13759 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
13761         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13763 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
13765         [BZ #11640]
13766         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13767         Properly check family and model.
13769 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
13771         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13773 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
13775         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13777 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
13779         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13780         symbol reference.
13782 2010-05-19  Andreas Schwab  <schwab@redhat.com>
13784         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13785         symbol reference.
13787 2010-05-21  Andreas Schwab  <schwab@redhat.com>
13789         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13790         and internal_recvmmsg.
13791         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13792         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13793         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13794         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13796         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13797         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13798         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13800 2010-05-20  Andreas Schwab  <schwab@redhat.com>
13802         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13804 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
13806         POWER7 optimizations.
13807         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13808         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13810 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
13812         * version.h: Update for 2.13 development version.
13814 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
13816         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13817         exceptions.  Return 0.
13819 2010-05-07  Roland McGrath  <roland@redhat.com>
13821         * elf/ldconfig.c (main): Add a const.
13823 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
13825         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13826         (args_options): Add no-idn option.
13827         (ahosts_keys_int): Add idn_flags to ai_flags.
13828         (parse_option): Handle 'i' option to clear idn_flags.
13830         * malloc/malloc.c (_int_free): Possible race in the most recently
13831         added check.  Only act on the data if no current modification
13832         happened.
13834 See ChangeLog.17 for earlier changes.