Hurd: Fix setres[ug]id handling of -1
[glibc.git] / ChangeLog
blob6f59a1ee09c682803c5decb517bfd96a23716a76
1 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4         which preserves existing values.
5         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10         TIMEOUT values.  Return EINVAL for NFDS values either negative or
11         greater than FD_SETSIZE.
13 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
16         allocated, call __vm_protect to finish enabling the existing space, and
17         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18         allocate the remainder.
20 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28         sysdeps/mach/hurd/readlink.c.
30         * posix/tst-sysconf.c (posix_options): Only use
31         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32         _POSIX_SYNCHRONIZED_IO when they are defined
33         * sysdeps/mach/hurd/bits/posix_opt.h:
34         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35         (_XOPEN_REALTIME): Undefine macro.
36         (_XOPEN_REALTIME_THREADS): Undefine macro.
37         (_XOPEN_SHM): Undefine macro.
38         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39         macro to -1.
40         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41         macro to -1.
42         (_POSIX_ASYNC_IO): Undefine macro.
43         (_POSIX_PRIORITIZED_IO): Undefine macro.
44         (_POSIX_SPIN_LOCKS): Define macro to -1.
46         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47         SA_NODEFER, SA_RESETHAND.
48         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50         F_DUPFD_CLOEXEC.
52 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54         * elf/Makefile (pldd-modules): Define unconditionally.
56 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
58         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
60 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63         Return ENOENT when name is empty.
64         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
70         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74         Fix mlock in all cases except non-readable pages.
75         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76         instead of VM_PROT_ALL as parameter to __vm_wire function.
78         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79         (__mkdir): When path is `/', just fail with EEXIST.
80         * sysdeps/mach/hurd/mkdirat.c: Likewise.
82 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
84         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
85         <sys/uio.h> (for writev).
86         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
87         and <sys/param.h> (for MIN).
89 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
91         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
92         REQUESTED_TIME.  Properly set the remaining time and return EINTR
93         if interrupted.
95 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
97         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
98         Depend on against $(link-rpcuserlibs).
100 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
102         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
103         (__libc_stack_end): Do not use attribute_relro.
104         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
105         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
106         to libthread-provided value.
107         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
108         attribute_relro.
110 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
112         [BZ #3748]
113         * bits/libc-lock.h (__libc_once_get): New macro.
114         * sysdeps/mach/bits/libc-lock.h: Likewise.
115         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
116         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
117         instead of using implementation details.
119         * libio/fileops.c: Unconditionally include <kernel-features.h>.
120         * libio/freopen.c: Likewise.
121         * libio/freopen64.c: Likewise.
122         * misc/syslog.c: Likewise.
123         * nscd/connections.c: Likewise.
124         * nscd/netgroupcache.c: Likewise.
125         * sysdeps/posix/getcwd.c: Likewise.
127 2012-05-10  Roland McGrath  <roland@hack.frob.com>
129         * math/w_ilogbf.c: Add #include <limits.h>.
131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
133         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
134         path instead of returning without unlocking.
136         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
137         immediate-write ioctls.
138         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
142         * sysdeps/mach/hurd/i386/init-first.c (init): Use
143         __builtin_frame_address instead of making assumptions about the
144         location of the return address relative to DATA.  Force early load of
145         the return address.
146         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
147         __builtin_frame_address.
149         dup3 for GNU Hurd.
150         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
151         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
152         implement dup3 and do some further code clean-ups.
153         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
154         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
156 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
158         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
160         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
161         HURD_CRITICAL_END around holding _hurd_dtable_lock.
162         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
163         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
164         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
165         d->port.lock.
167         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
168         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
169         when handler == SIG_ERR, not when handler != SIG_ERR.
171 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
173         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
174         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
175         definitions.
177         accept4 for GNU Hurd.
178         * include/sys/socket.h (__libc_accept4): New prototype.
179         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
180         to implement __libc_accept4.
181         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
182         __libc_accept4.
183         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
185         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
186         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
187         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
188         signal-defines.sym.
190 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
192         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
194 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
196         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
197         assertion on O_CLOEXEC flag.
198         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
199         * hurd/intern-fd.c: Likewise.
200         * hurd/port2fd.c: Likewise.
202 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
204         [BZ #3906]
205         * bits/in.h (IPV6_PKTINFO): Define new macro.
206         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
208 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
210         [BZ #13954]
211         [BZ #13955]
212         [BZ #13956]
213         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
214         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
215         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
216         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
217         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
218         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
219         * math/libm-test.inc (logb_test) : Additional logb tests.
221 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
222             Andreas Jaeger  <aj@suse.de>
224         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
225         * configure: Regenerated.
226         * config.h.in (LINK_OBSOLETE_RPC): New macro.
227         * config.make.in (link-obsolete-rpc): New substituted variable.
228         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
229         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
230         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
231         (shared-only-routines): Don't set it under [link-obsolete-rpc],
232         so that libc.a contains the symbols.
233         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
234         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
235         * sunrpc/auth_none.c: Likewise.
236         * sunrpc/auth_unix.c: Likewise.
237         * sunrpc/authdes_prot.c: Likewise.
238         * sunrpc/authuxprot.c: Likewise.
239         * sunrpc/clnt_gen.c: Likewise.
240         * sunrpc/clnt_perr.c: Likewise.
241         * sunrpc/clnt_raw.c: Likewise.
242         * sunrpc/clnt_simp.c: Likewise.
243         * sunrpc/clnt_tcp.c: Likewise.
244         * sunrpc/clnt_udp.c: Likewise.
245         * sunrpc/clnt_unix.c: Likewise.
246         * sunrpc/des_crypt.c: Likewise.
247         * sunrpc/des_soft.c: Likewise.
248         * sunrpc/get_myaddr.c: Likewise.
249         * sunrpc/key_call.c: Likewise.
250         * sunrpc/key_prot.c: Likewise.
251         * sunrpc/netname.c: Likewise.
252         * sunrpc/pm_getmaps.c: Likewise.
253         * sunrpc/pm_getport.c: Likewise.
254         * sunrpc/pmap_clnt.c: Likewise.
255         * sunrpc/pmap_prot.c: Likewise.
256         * sunrpc/pmap_prot2.c: Likewise.
257         * sunrpc/pmap_rmt.c: Likewise.
258         * sunrpc/publickey.c: Likewise.
259         * sunrpc/rpc_cmsg.c: Likewise.
260         * sunrpc/rpc_common.c: Likewise.
261         * sunrpc/rpc_dtable.c: Likewise.
262         * sunrpc/rpc_prot.c: Likewise.
263         * sunrpc/rpc_thread.c: Likewise.
264         * sunrpc/rtime.c: Likewise.
265         * sunrpc/svc.c: Likewise.
266         * sunrpc/svc_auth.c: Likewise.
267         * sunrpc/svc_raw.c: Likewise.
268         * sunrpc/svc_run.c: Likewise.
269         * sunrpc/svc_tcp.c: Likewise.
270         * sunrpc/svc_udp.c: Likewise.
271         * sunrpc/svc_unix.c: Likewise.
272         * sunrpc/svcauth_des.c: Likewise.
273         * sunrpc/xcrypt.c: Likewise.
274         * sunrpc/xdr.c: Likewise.
275         * sunrpc/xdr_array.c: Likewise.
276         * sunrpc/xdr_float.c: Likewise.
277         * sunrpc/xdr_intXX_t.c: Likewise.
278         * sunrpc/xdr_mem.c: Likewise.
279         * sunrpc/xdr_rec.c: Likewise.
280         * sunrpc/xdr_ref.c: Likewise.
281         * sunrpc/xdr_sizeof.c: Likewise.
282         * sunrpc/xdr_stdio.c: Likewise.
284 2012-05-10  Roland McGrath  <roland@hack.frob.com>
286         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
287         change.  Update copyright years.
289 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
291         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
293 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
294             Joseph Myers  <joseph@codesourcery.com>
295             Paul Pluzhnikov  <ppluzhnikov@google.com>
297         [BZ #14012]
298         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
299         requiring rpcgen.
300         [cross-compiling] (extra-libs): Likewise.
301         [cross-compiling] (extra-libs-others): Likewise.
302         [cross-compiling] (librpcsvc-routines): Likewise.
303         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
304         [cross-compiling] (omit-deps): Likewise.
305         (sunrpc-CPPFLAGS): New variable.
306         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
307         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
308         (cross-rpcgen-objs): New variable.
309         (extra-objs): Append $(cross-rpcgen-objs).
310         ($(cross-rpcgen-objs)): New rule.
311         ($(objpfx)cross-rpcgen): Likewise.
312         (rpcgen-cmd): Define to use $(built-program-file).  Expand
313         comment.
314         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
315         ($(objpfx)x%.stmp): Likewise.
316         * sunrpc/proto.h [IS_IN_build] (_): Define.
317         [IS_IN_build] (_libc_intl_domainname): Likewise.
319 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
321         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
322         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
323         and R_X86_64_TPOFF64.
325 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
327         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
328         sysdeps/unix/sysv/syscalls.list.
329         (stime): Likewise.
330         (utime): Likewise.
331         * sysdeps/unix/sysv/syscalls.list: Remove file.
333 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
335         [BZ #3440]
336         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
337         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
338         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
339         (__LC_IDENTIFICATION): Make these macros useful in #if
340         expressions, as required by C99.
342 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
344         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
345         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
346         after this.
348 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
350         * stdlib/longlong.h: Updated from GCC.
352 2012-05-09  Andreas Jaeger  <aj@suse.de>
354         * nscd/nscd.c (run_modes): Make named enum, reorder so that
355         default is first entry.
356         (run_mode): Set type.
357         (main): Remove informal message about syslog.
358         (options): Fix typo.
360         [BZ #14053]
361         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
362         to asm.
363         (lrint): Likewise.
364         (llrintf): Likewise.
365         (llrint): Likewise.
366         (rint): Likewise.
367         (rintf): Likewise.
368         (nearbyint): Likewise.
369         (nearbyintf): Likewise.
371 2012-05-09  Andreas Jaeger  <aj@suse.de>
372             Pedro Alves  <palves@redhat.com>
374         * nscd/nscd.c (run_mode): Use enum.
375         (main): Cleanup coding style issue.
377 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
378             Andreas Jaeger  <aj@suse.de>
380         * nscd/nscd.c (go_background): Replaced with...
381         (run_mode): ... this.
382         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
383         (options): Add -F --foreground.
384         (main): Implement it.
385         (parse_opt): Parse it.
387 2012-05-09  Andreas Jaeger  <aj@suse.de>
389         [BZ #14083]
390         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
391         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
392         -Wconversion warning.
393         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
394         Likewise.
396 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
398         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
399         == 0.
400         (LC_ALL): Use macro-int-constant.
401         (LC_COLLATE): Likewise.
402         (LC_CTYPE): Likewise.
403         (LC_MESSAGES): Likewise.
404         (LC_MONETARY): Likewise.
405         (LC_NUMERIC): Likewise.
406         (LC_TIME): Likewise.
407         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
408         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
409         [ISO || ISO99 || ISO11] (*_t): Do not allow.
410         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
411         Specify type.
412         [C99-based standards] (float_t): Expect type.
413         [C99-based standards] (double_t): Expect type.
414         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
415         type.
416         [C99-based standards] (HUGE_VALL): Likewise.
417         [C99-based standards] (INFINITY): Likewise.
418         [C99-based standards] (NAN): Likewise.
419         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
420         [C99-based standards] (FP_NAN): Likewise.
421         [C99-based standards] (FP_NORMAL): Likewise.
422         [C99-based standards] (FP_SUBNORMAL): Likewise.
423         [C99-based standards] (FP_ZERO): Likewise.
424         [C99-based standards] (FP_FAST_FMA): Use
425         optional-macro-int-constant.  Specify type.  Require == 1.
426         [C99-based standards] (FP_FAST_FMAF): Likewise.
427         [C99-based standards] (FP_FAST_FMAL): Likewise.
428         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
429         [C99-based standards] (FP_ILOGBNAN): Likewise.
430         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
431         Specify type.
432         [C99-based standards] (MATH_ERREXCEPT): Likewise.
433         [C99-based standards] (math_errhandling): Specify type.
434         [ISO99 || ISO11] (signgam): Do not allow.
435         [non-C99-based standards] (copysignf): Do not allow.
436         [non-C99-based standards] (exp2f): Likewise.
437         [non-C99-based standards] (log2f): Likewise.
438         [non-C99-based standards] (modff): Allow.
439         [non-C99-based standards] (erff): Do not allow.
440         [non-C99-based standards] (erfcf): Likewise.
441         [non-C99-based standards] (gammaf): Likewise.
442         [non-C99-based standards] (hypotf): Likewise.
443         [non-C99-based standards] (j0f): Likewise.
444         [non-C99-based standards] (j1f): Likewise.
445         [non-C99-based standards] (jnf): Likewise.
446         [non-C99-based standards] (lgammaf): Likewise.
447         [non-C99-based standards] (tgammaf): Likewise.
448         [non-C99-based standards] (y0f): Likewise.
449         [non-C99-based standards] (y1f): Likewise.
450         [non-C99-based standards] (ynf): Likewise.
451         [non-C99-based standards] (isnanf): Likewise.
452         [non-C99-based standards] (acoshf): Likewise.
453         [non-C99-based standards] (asinhf): Likewise.
454         [non-C99-based standards] (atanhf): Likewise.
455         [non-C99-based standards] (cbrtf): Likewise.
456         [non-C99-based standards] (expm1f): Likewise.
457         [non-C99-based standards] (ilogbf): Likewise.
458         [non-C99-based standards] (log1pf): Likewise.
459         [non-C99-based standards] (logbf): Likewise.
460         [non-C99-based standards] (nextafterf): Likewise.
461         [non-C99-based standards] (remainderf): Likewise.
462         [non-C99-based standards] (rintf): Likewise.
463         [non-C99-based standards] (scalbf): Likewise.
464         [non-C99-based standards] (copysignl): Likewise.
465         [non-C99-based standards] (exp2l): Likewise.
466         [non-C99-based standards] (log2l): Likewise.
467         [non-C99-based standards] (modfl): Allow.
468         [non-C99-based standards] (erfl): Do not allow.
469         [non-C99-based standards] (erfcl): Likewise.
470         [non-C99-based standards] (gammal): Likewise.
471         [non-C99-based standards] (hypotl): Likewise.
472         [non-C99-based standards] (j0l): Likewise.
473         [non-C99-based standards] (j1l): Likewise.
474         [non-C99-based standards] (jnl): Likewise.
475         [non-C99-based standards] (lgammal): Likewise.
476         [non-C99-based standards] (tgammal): Likewise.
477         [non-C99-based standards] (y0l): Likewise.
478         [non-C99-based standards] (y1l): Likewise.
479         [non-C99-based standards] (ynl): Likewise.
480         [non-C99-based standards] (isnanl): Likewise.
481         [non-C99-based standards] (acoshl): Likewise.
482         [non-C99-based standards] (asinhl): Likewise.
483         [non-C99-based standards] (atanhl): Likewise.
484         [non-C99-based standards] (cbrtl): Likewise.
485         [non-C99-based standards] (expm1l): Likewise.
486         [non-C99-based standards] (ilogbl): Likewise.
487         [non-C99-based standards] (log1pl): Likewise.
488         [non-C99-based standards] (logbl): Likewise.
489         [non-C99-based standards] (nextafterl): Likewise.
490         [non-C99-based standards] (remainderl): Likewise.
491         [non-C99-based standards] (rintl): Likewise.
492         [non-C99-based standards] (scalbl): Likewise.
493         [ISO || ISO99 || ISO11] (*_t): Do not allow.
494         [non-C99-based standards] (FP_*): Do not allow.
495         [C99-based standards] (FP_*): Change to
496         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
497         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
498         allow.
499         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
500         (SIG_ERR): Likewise.
501         [X/Open-based standards] (SIG_HOLD): Likewise.
502         (SIG_IGN): Likewise.
503         (SIGABRT): Use macro-int-constant.  Specify type.  Require
504         positive value.
505         (SIGFPE): Likewise.
506         (SIGILL): Likewise.
507         (SIGINT): Likewise.
508         (SIGSEGV): Likewise.
509         (SIGTER): Likewise.
510         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
511         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
512         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
513         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
514         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
515         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
516         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
517         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
518         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
519         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
520         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
521         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
522         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
523         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
524         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
525         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
526         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
527         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
528         [X/Open-based standards] (SIGTRAP): Likewise.
529         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
530         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
531         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
532         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
533         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
534         allow.
536 2012-05-08  Ian Wienand  <ianw@vmware.com>
538         [BZ #14080]
539         * time/tzset.c (__tzset_parse_tz): Update default rules for
540         daylight time changes in the Energy Policy Act of 2005.
542 2012-05-09  Andreas Jaeger  <aj@suse.de>
544         [BZ #13983]
545         * elf/ldconfig.c (parse_conf): Change string to make clear that
546         ldconfig only issued a warning if ld.so.conf does not exist.
548 2012-05-08  David S. Miller  <davem@davemloft.net>
550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
551         movxtod instead of popping the value on the stack.
553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
555 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
557         * config.h.in: Add HAVE_ARM_PCS_VFP.
559 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
561         [BZ #13979]
562         * include/features.h: Warn if user requests __FORTIFY_SOURCE
563         checking but the checks are disabled for any reason.
565 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
567         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
568         and ELF64_R_TYPE with ELFW(R_TYPE).
570 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
572         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
573         (ulimit): Likewise.
575         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
576         (settimeofday): Likewise.
578 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
580         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
581         a struct th_u2 inside the union, and move tu_block/tu_code into
582         a new th_u3 union of tu_block/tu_code inside of that.  Move
583         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
584         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
585         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
586         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
587         (th_stuff): Change to th_u1.tu_stuff.
588         (th_data): Define.
589         (th_msg): Change to th_u1.th_u2.tu_data.
591 2012-05-07  David S. Miller  <davem@davemloft.net>
593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
595         [BZ #14074]
596         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
597         (SETUP_PIC_REG): Use it.
598         (SETUP_PIC_REG_LEAF): Use it.
600 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
602         [BZ #13885]
603         [BZ #13923]
604         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
605         USE_AS_EXPM1L.
606         (EXPL_FINITE): Likewise.
607         (FLDLOG): Likewise.
608         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
609         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
610         e_expl.S.
611         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
612         USE_AS_EXPM1L.
613         (EXPL_FINITE): Likewise.
614         (FLDLOG): Likewise.
615         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
616         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
617         e_expl.S.
618         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
619         test of -max_value argument for long double.
620         * sysdeps/i386/fpu/libm-test-ulps: Update.
621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
623 2012-05-06  David S. Miller  <davem@davemloft.net>
625         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
626         quad soft-float symbols whose references which are compiler
627         generated.
628         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
630 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
632         [BZ #13884]
633         [BZ #13914]
634         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
635         USE_AS_EXP10L.
636         (EXPL_FINITE): Likewise.
637         (FLDLOG): Likewise.
638         (c0): Likewise.
639         (c1): Likewise.
640         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
641         Adjust comments for base varying.
642         (__expl_finite): Change alias to EXPL_FINITE.
643         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
644         e_expl.S.
645         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
646         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
647         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
648         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
649         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
650         USE_AS_EXP10L.
651         (EXPL_FINITE): Likewise.
652         (FLDLOG): Likewise.
653         (c0): Likewise.
654         (c1): Likewise.
655         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
656         Adjust comments for base varying.
657         (__expl_finite): Change alias to EXPL_FINITE.
658         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
659         tests for bugs.
660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
662         [BZ #14064]
663         * math/libm-test.inc (check_float_internal): Correct ulp
664         calculation for subnormal expected results.
666 2012-05-06  Andreas Jaeger  <aj@suse.de>
668         * Makeconfig (+math-flags): New, set to -frounding-math.
669         (+cflags): Add +math-flags so that all of glibc gets compiled with
670         it.
672         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
674 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
676         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
677         Disable one test.
679         [BZ #13787]
680         [BZ #13922]
681         [BZ #14036]
682         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
683         (__ieee754_expl): Allow for and saturate large arguments.
684         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
685         (u_threshold): Likewise.
686         (__exp): Call __ieee754_exp before checking for overflow and
687         underflow.
688         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
689         (u_threshold): Likewise.
690         (__expf): Call __ieee754_expf before checking for overflow and
691         underflow.
692         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
693         (u_threshold): Likewise.
694         (__expl): Call __ieee754_expl before checking for overflow and
695         underflow.
696         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
697         (__ieee754_expl): Allow for and saturate large arguments.
698         * math/libm-test.inc (exp_test): Add another test.  Do not allow
699         missing overflow exception on overflow.
700         (expm1_test): Do not allow missing overflow exception on overflow.
702         * sysdeps/i386/fpu/e_expl.c: Move to ...
703         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
704         rather than using inline asm.
705         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
706         * sysdeps/x86_64/fpu/e_expl.S: Copy from
707         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
709         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
710         (nice): Likewise.
711         (poll): Likewise.
712         (signal): Likewise.
713         (time): Likewise.
714         (times): Likewise.
716 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
718         * sysdeps/unix/syscalls.list (adjtime): Add entry from
719         sysdeps/unix/common/syscalls.list.
720         (fchmod): Likewise.
721         (fchown): Likewise.
722         (ftruncate): Likewise.
723         (getrusage): Likewise.
724         (gettimeofday): Likewise.
725         (setpgid): Likewise.
726         (setregid): Likewise.
727         (setreuid): Likewise.
728         (sigaction): Likewise.
729         (truncate): Likewise.
730         (vhangup): Likewise.
731         * sysdeps/unix/common/syscalls.list: Remove file.
732         * sysdeps/unix/bsd/Implies: Don't include unix/common.
733         * sysdeps/unix/sysv/linux/Implies: Likewise.
735 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
737         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
739         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
740         Moved to ...
741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
742         Here.
743         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
744         to ...
745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
746         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
747         to ...
748         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
749         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
750         to ...
751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
752         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
753         to ...
754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
755         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
756         to ...
757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
758         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
759         to ...
760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
761         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
762         to ...
763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
764         Here.
765         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
766         to ...
767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
768         Here.
769         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
770         to ...
771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
772         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
773         Moved to ...
774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
775         Here.
776         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
777         to ...
778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
780 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
782         * sysdeps/unix/common/bits/dirent.h: Remove file.
783         * sysdeps/unix/common/bits/fcntl.h: Likewise.
785         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
786         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
787         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
788         * sysdeps/unix/bsd/isatty.c: Likewise.
789         * sysdeps/unix/bsd/tcdrain.c: Likewise.
790         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
791         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
793 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
795         [BZ #13563]
796         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
797         long double comparison inaccuracies.
798         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
801 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
803         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
804         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
806 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
808         [BZ #14049]
809         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
810         nonzero digits before rounding a hex value.
811         * stdlib/tst-strtod.c (tests): Add another test.
813 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
815         * sysdeps/s390/fpu/libm-test-ulps: Update.
817 2012-05-03  Andreas Jaeger  <aj@suse.de>
819         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
820         does not get optimized out.
821         (malloc_opt_barrier): New.
823 2012-05-03  Andreas Jaeger  <aj@suse.de>
824             Roland McGrath  <roland@hack.frob.com>
826         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
827         intermediate file deletion.
828         (generated): Add .symlist files.
830 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
832         [BZ #13775]
833         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
834         Redirect under this condition.
835         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
836         [__USE_GNU] (__dprintf_chk): Not under this condition.
837         [__USE_GNU] (__vdprintf_chk): Likewise.
838         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
839         under this condition.
840         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
841         [__USE_XOPEN2K8] (dprintf): Define under this condition.
842         [__USE_XOPEN2K8] (vdprintf): Likewise.
843         [__USE_GNU] (__dprintf_chk): Not under this condition.
844         [__USE_GNU] (__vdprintf_chk): Likewise.
845         [__USE_GNU] (dprintf): Likewise.
846         [__USE_GNU] (vdprintf): Likewise.
848 2012-05-03  Roland McGrath  <roland@hack.frob.com>
850         * elf/Makefile (common-generated): Set this instead of generated for
851         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
852         $(all-built-dso)-derived lists.
854 2012-05-03  Andreas Jaeger  <aj@suse.de>
856         * sysdeps/i386/fpu/libm-test-ulps: Update.
858         * FAQ: Removed.
859         * FAQ.in: Likewise.
860         * scripts/gen-FAQ.pl: Likewise.
861         * manual/install.texi (Installation): Point to online location of
862         FAQ.
863         * Makefile (files-for-dist): Remove FAQ.
864         (FAQ): Remove.
866 2012-05-02  Allan McRae  <allan@archlinux.org>
868         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
869         (LDFLAGS-reldepmod5.so): Likewise.
870         (LDFLAGS-reldep6mod1.so): Likewise.
871         (LDFLAGS-reldep6mod4.so): Likewise.
872         (LDFLAGS-reldep8mod3.so): Likewise.
873         (LDFLAGS-unload4mod1.so): Likewise.
874         (LDFLAGS-unload4mod2.so): Likewise.
875         (LDFLAGS-tst-initorder): Likewise.
876         (LDFLAGS-tst-initordera2.so): Likewise.
877         (LDFLAGS-tst-initordera3.so): Likewise.
878         (LDFLAGS-tst-initordera4.so): Likewise.
879         (LDFLAGS-tst-initorderb2.so): Likewise.
880         (LDFLAGS-noload): Likewise.
881         (LDFLAGS-next): Likewise.
882         (LDFLAGS-order2mod1.so): Likewise.
883         (LDFLAGS-order2mod2.so): Likewise.
884         (LDFLAGS-tst-initorder2): Likewise.
885         (LDFLAGS-tst-initorder2a.so): Likewise.
886         (LDFLAGS-tst-initorder2b.so): Likewise.
887         (LDFLAGS-tst-initorder2c.so): Likewise.
888         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
890 2012-05-02  David S. Miller  <davem@davemloft.net>
892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
894 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
896         [BZ #14055]
897         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
899 2012-05-02  Andreas Jaeger  <aj@suse.de>
901         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
902         since we manipulate rounding mode.
903         (CPPFLAGS-test-idouble.c): Likewise.
904         (CPPFLAGS-test-ifloat.c): Likewise.
905         (CFLAGS-test-ldouble.c): Likewise.
906         (CFLAGS-test-double.c): Likewise.
907         (CFLAGS-test-float.c): Likewise.
908         (CFLAGS-test-misc.c): Likewise.
909         (CFLAGS-test-test-fenv.c): Likewise.
911 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
913         [BZ #2550]
914         [BZ #2570]
915         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
916         comparisons to determine direction to adjust input.
918 2012-05-01  Roland McGrath  <roland@hack.frob.com>
920         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
921         output to the target.
923         * scripts/localplt.awk: New file.
924         * elf/Makefile ($(objpfx)check-localplt): Target removed.
925         (check-localplt-CFLAGS): Variable removed.
926         ($(all-built-dso:=.jmprel)): New static pattern rule.
927         (generated): Add those targets.
928         (localplt-built-dso): New variable.
929         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
931         * elf/check-localplt.c: File removed.
933         * scripts/check-execstack.awk: New file.
934         * elf/Makefile ($(objpfx)check-execstack): Target removed.
935         (check-execstack-CFLAGS): Variable removed.
936         ($(objpfx)check-execstack.h): Target removed.
937         ($(objpfx)execstack-default): New target.
938         (generated): Add that instead of check-execstack.h.
939         ($(all-built-dso:=.phdr)): New static pattern rule.
940         (generated): Add those targets.
941         * elf/check-execstack.c: File removed.
943         * scripts/check-textrel.awk: New file.
944         * elf/Makefile ($(objpfx)check-textrel): Target removed.
945         (check-textrel-CFLAGS): Variable removed.
946         (all-built-dso): Use := to define.o
947         ($(all-built-dso:=.dyn)): New static pattern rule.
948         (generated): Add those targets.
949         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
950         * config.make.in (READELF): New substituted variable.
951         * elf/check-textrel.c: File removed.
953 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
955         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
956         allow.
957         * conform/data/ctype.h-data [C99-based standards] (isblank):
958         Expect function.
959         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
960         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
961         [ISO || ISO99 || ISO11] (*_t): Do not allow.
962         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
963         Specify type.  Require positive value.
964         (EILSEQ): Likewise.
965         (ERANGE): Likewise.
966         [ISO || POSIX] (EILSEQ): Do not expect.
967         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
968         Specify type.  Require positive value.
969         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
970         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
971         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
972         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
973         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
974         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
975         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
976         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
977         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
978         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
979         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
980         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
981         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
982         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
983         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
984         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
985         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
986         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
987         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
988         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
989         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
990         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
991         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
992         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
993         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
994         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
995         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
996         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
997         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
998         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
999         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1000         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1001         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1002         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1003         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1004         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1005         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1006         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1007         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1008         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1009         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1010         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1011         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1012         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1013         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1014         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1015         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1016         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1017         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1018         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1019         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1020         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1021         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1022         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1023         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1024         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1025         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1026         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1027         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1028         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1029         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1030         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1031         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1032         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1033         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1034         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1035         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1036         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1037         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1038         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1039         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1040         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1041         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1042         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1043         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1044         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1045         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1046         Require >= 2.
1047         (FLT_ROUNDS): Expect as macro, not constant.
1048         (FLT_MANT_DIG): Use macro-int-constant.
1049         (DBL_MANT_DIG): Likewise.
1050         (LDBL_MANT_DIG): Likewise.
1051         (FLT_DIG): Likewise.
1052         (DBL_DIG): Likewise.
1053         (LDBL_DIG): Likewise.
1054         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
1055         (DBL_MIN_EXP): Likewise.
1056         (LDBL_MIN_EXP): Likewise.
1057         (FLT_MAX_EXP): Use macro-int-constant.
1058         (DBL_MAX_EXP): Likewise.
1059         (LDBL_MAX_EXP): Likewise.
1060         (FLT_MAX_10_EXP): Likewise.
1061         (DBL_MAX_10_EXP): Likewise.
1062         (LDBL_MAX_10_EXP): Likewise.
1063         (FLT_MAX): Use macro-constant.
1064         (DBL_MAX): Likewise.
1065         (LDBL_MAX): Likewise.
1066         (FLT_EPSILON): Use macro-constant.  Give upper bound.
1067         (DBL_EPSILON): Likewise.
1068         (LDBL_EPSILON): Likewise.
1069         (FLT_MIN): Likewise.
1070         (DBL_MIN): Likewise.
1071         (LDBL_MIN): Likewise.
1072         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1073         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1074         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1075         [ISO11] (FLT_HAS_SUBNORM): Likewise.
1076         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1077         [ISO11] (DBL_DECIMAL_DIG): Likewise.
1078         [ISO11] (FLT_DECIMAL_DIG): Likewise.
1079         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1080         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1081         [ISO11] (FLT_TRUE_MIN): Likewise.
1082         [ISO11] (LDBL_TRUE_MIN): Likewise.
1083         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1084         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1085         (SCHAR_MIN): Use macro-int-constant.  Specify type.
1086         (SCHAR_MAX): Likewise.
1087         (UCHAR_MAX): Likewise.
1088         (CHAR_MIN): Likewise.
1089         (CHAR_MAX): Likewise.
1090         (MB_LEN_MAX): Use macro-int-constant.
1091         (SHRT_MIN): Use macro-int-constant.  Specify type.
1092         (SHRT_MAX): Likewise.
1093         (USHRT_MAX): Likewise.
1094         (INT_MAX): Likewise.
1095         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
1096         bound negative.
1097         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1098         bound with "U".
1099         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1100         bound with "L".
1101         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
1102         bound negative.  Suffix upper bound with "L".
1103         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1104         bound with "UL".
1105         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1106         Specify type.
1107         [C99-based standards] (LLONG_MAX): Likewise.
1108         [C99-based standards] (ULLONG_MAX): Likewise.
1109         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
1110         == 0.
1111         [ISO11] (max_align_t): Require type.
1112         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1114         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1115         from $CFLAGS, without defining away __attribute__ calls.
1116         (checknamespace): Use $CFLAGS_namespace.
1118         * conform/conformtest.pl (@keywords): Only include C99 keywords
1119         for standards based on C99 or C11.
1121         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1122         Disable tests.
1123         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1124         UNIX98]: Likewise.
1126         * conform/conformtest.pl: Handle "macro-int-constant" and test for
1127         usability of symbols in #if.
1129         * conform/conformtest.pl: If macro or constant types start
1130         "promoted:", expect the symbol to be of the following type
1131         promoted by the integer promotions.
1133         * conform/conformtest.pl: Parse all "constant" and "macro" lines
1134         in one place.  Also handle "macro-constant".
1136         * conform/conformtest.pl: Only accept expected macro values with
1137         "==".  Parse all "macro" lines in one place.
1138         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1140         * conform/conformtest.pl: Handle braced types on "constant" lines
1141         instead of handling "typed-constant".
1142         * conform/data/signal.h-data: Use "constant" instead of
1143         "typed-constant".
1145         * conform/conformtest.pl: Handle "optional-" at start of lines in
1146         one place rather than duplicating several cases.  Handle each
1147         format of "macro" line with initial "optional-".
1149         * conform/conformtest.pl: Only accept expected constant or
1150         optional-constant values with "==".  Parse all "constant" lines in
1151         one place.  Parse all "optional-constant" lines in one place.
1152         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1153         * conform/data/fmtmsg.h-data: Likewise.
1154         * conform/data/netinet/in.h-data: Likewise.
1155         * conform/data/tar.h-data: Likewise.
1156         * conform/data/limits.h-data: Use "==" form on "constant" and
1157         "optional-constant" lines.
1159         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1160         Use -std=c99 for XOPEN2K.
1161         (@knownproblems): Remove.
1162         (newtoken): Don't check %isknown.
1164         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1165         Do not expect macro.
1166         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1167         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1168         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1169         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1170         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1171         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1172         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1173         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1174         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1175         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1176         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1177         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1178         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1179         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1180         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1181         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1182         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1183         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1184         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1185         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1186         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1187         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1188         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1189         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1190         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1191         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1192         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1193         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1194         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1195         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1196         [XPG3] (acosh): Likewise.
1197         [XPG3] (asinh): Likewise.
1198         [XPG3] (atanh): Likewise.
1199         [XPG3] (cbrt): Likewise.
1200         [XPG3] (expm1): Likewise.
1201         [XPG3] (ilogb): Likewise.
1202         [XPG3] (log1p): Likewise.
1203         [XPG3] (logb): Likewise.
1204         [XPG3] (nextafter): Likewise.
1205         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1206         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1207         [XPG3] (remainder): Likewise.
1208         [XPG3] (rint): Likewise.
1209         [XPG3 || XPG4 || UNIX98] (round): Likewise.
1210         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1211         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1212         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1213         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1214         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1215         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1216         [UNIX98 || XOPEN2K] (scalb): Expect.
1217         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1218         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1219         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1220         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1221         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1222         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1223         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1224         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1225         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1226         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1227         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1228         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1229         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1230         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1231         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1232         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1233         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1234         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1235         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1236         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1237         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1238         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1239         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1240         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1241         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1242         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1243         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1244         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1245         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1246         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1247         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1248         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1249         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1250         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1251         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1252         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1253         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1254         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1255         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1256         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1257         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1258         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1259         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1260         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1261         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1262         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1263         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1264         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1265         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1266         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1267         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1268         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1269         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1270         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1271         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1272         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1273         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1274         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1275         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1276         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1277         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1278         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1279         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1280         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1281         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1282         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1283         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1284         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1285         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1286         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1287         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1288         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1289         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1290         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1291         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1292         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1293         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1294         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1295         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1296         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1297         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1298         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1299         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1300         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1301         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1302         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1303         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1304         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1305         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1306         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1307         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1308         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1309         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1310         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1311         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1312         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1313         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1314         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1315         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1316         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1317         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1318         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1319         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1320         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1321         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1322         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1323         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1324         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1325         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1326         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1327         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1328         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1329         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1330         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1331         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1332         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1333         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1334         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1335         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1336         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1337         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1338         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1339         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1340         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1341         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1342         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1343         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1344         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1345         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1346         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1347         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1348         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1349         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1350         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1351         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1352         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1353         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1355         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1356         _XOPEN_SOURCE_EXTENDED for XPG4.
1358         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1360         * Makeconfig (localtime): Remove variable.
1361         (inst_localtime-file): Likewise.
1363 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1366         Update.
1367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1368         Update.
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1370         Update.
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1372         Update.
1373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1374         Update.
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1376         Update.
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1378         Update.
1379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1380         Update.
1381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1382         Update.
1384 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1386         [BZ #2550]
1387         [BZ #2570]
1388         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1389         comparisons to determine direction to adjust input.
1390         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1391         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1392         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1393         Likewise.
1394         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1395         Likewise.
1396         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1397         Likewise.
1398         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1399         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1400         Likewise.
1401         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1402         Likewise.
1403         * math/libm-test.inc (nexttoward_test): Add more tests.
1405 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1407         [BZ #14040]
1408         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1409         in version GLIBC_2.1, not GLIBC_2.0.
1410         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1411         Likewise.
1413 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
1415         [BZ #13942]
1416         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1417         (1 - x) * (1 + x).
1418         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1419         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1420         * math/libm-test.inc (acos_test): Add more tests.
1421         (asin_test): Likewise.
1422         * sysdeps/i386/fpu/libm-test-ulps: Update.
1423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1425         [BZ #14034]
1426         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1427         of square root.
1428         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1429         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1430         * math/libm-test.inc (acos_test_tonearest): New function.
1431         (acos_test_towardzero): Likewise.
1432         (acos_test_downward): Likewise.
1433         (acos_test_upward): Likewise.
1434         (asin_test_tonearest): Likewise.
1435         (asin_test_towardzero): Likewise.
1436         (asin_test_downward): Likewise.
1437         (asin_test_upward): Likewise.
1438         (main): Call the new functions.
1439         * sysdeps/i386/fpu/libm-test-ulps: Update.
1440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1442         [BZ #13884]
1443         [BZ #13924]
1444         * math/e_exp10.c: Include <float.h>.
1445         (__ieee754_exp10): Handle underflow here rather than multiplying
1446         large negative argument by M_LN10.
1447         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1448         of __ieee754_expf.
1449         * math/e_exp10l.c: Include <float.h>.
1450         (__ieee754_exp10l): Handle underflow here rather than multiplying
1451         large negative argument by M_LN10l.
1452         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
1453         spurious overflow exception on underflow.
1455 2012-04-29  Marek Polacek  <polacek@redhat.com>
1457         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1458         (__fortify_function): New macro.
1459         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1460         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1461         __extern_always_inline.
1462         * libio/bits/stdio2.h: Likewise.
1463         * libio/bits/stdio.h: Likewise.
1464         * string/string.h: Likewise.
1465         * string/bits/string3.h: Likewise.
1466         * include/stdio.h: Likewise.
1467         * stdlib/bits/stdlib.h: Likewise.
1468         * stdlib/stdlib.h: Likewise.
1469         * rt/bits/mqueue2.h: Likewise.
1470         * rt/mqueue.h: Likewise.
1471         * posix/bits/unistd.h: Likewise.
1472         * posix/unistd.h: Likewise.
1473         * io/bits/poll2.h: Likewise.
1474         * io/bits/fcntl2.h: Likewise.
1475         * io/fcntl.h: Likewise.
1476         * io/sys/poll.h: Likewise.
1477         * misc/bits/syslog.h: Likewise.
1478         * misc/bits/syslog-ldbl.h: Likewise.
1479         * misc/sys/syslog.h: Likewise.
1480         * socket/bits/socket2.h: Likewise.
1481         * socket/sys/socket.h: Likewise.
1482         * debug/tst-chk1.c: Likewise.
1483         * wcsmbs/bits/wchar2.h: Likewise.
1484         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1485         * wcsmbs/wchar.h: Likewise.
1487 2012-04-29  Andreas Jaeger  <aj@suse.de>
1489         * Makerules (tests): Remove enable-check-abi protection.
1490         (check-abi-warn): Remove.
1491         (check-abi-%): Remove check-abi-warn usage.
1493         * configure.in: Remove check-abi configure option.
1494         * configure: Regenerated.
1495         * config.make.in (enable-check-abi): Remove.
1497 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
1499         [BZ #14033]
1500         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1501         double functions to double *_finite functions.
1503         [BZ #13941]
1504         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1505         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1506         LDBL_MIN_EXP.
1507         * stdio-common/Makefile (tests): Add tst-sprintf3.
1508         * stdio-common/tst-sprintf3.c: New file.
1510         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1511         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1513 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1515         * conform/conformtest.pl: Remove duplicate typed-constant
1516         handling.
1518 2012-04-28  David S. Miller  <davem@davemloft.net>
1520         * Makerules (%.abilist): Add vpath on sysdep_dirs.
1521         (check-abi-%): Remove AWK script prerequisite and explicit
1522         abilist directory.
1523         (check-abi): Rewrite to just diff the symlist with the abilist.
1524         (config-tls, config-abi-config): Delete, no longer used.
1525         (update-abi-%): Remove AWK script and explicit abilist directory.
1526         (update-abi): Rewrite to simply compare and conditionally copy the
1527         symlist and the sysdep abilist file.  Remove update-abi-config
1528         checks.
1529         * abilist/ld.abilist: Remove.
1530         * abilist/libBrokenLocale.abilist: Remove.
1531         * abilist/libanl.abilist: Remove.
1532         * abilist/libcrypt.abilist: Remove.
1533         * abilist/libdl.abilist: Remove.
1534         * abilist/librt.abilist: Remove.
1535         * abilist/libthread_db.abilist: Remove.
1536         * abilist/libutil.abilist: Remove.
1537         * scripts/extract-abilist.awk: Remove.
1538         * scripts/merge-abilist.awk: Remove.
1539         * sysdeps/generic/libcidn.abilist: New file.
1540         * sysdeps/generic/libnss_compat.abilist: New file.
1541         * sysdeps/generic/libnss_db.abilist: New file.
1542         * sysdeps/generic/libnss_dns.abilist: New file.
1543         * sysdeps/generic/libnss_files.abilist: New file.
1544         * sysdeps/generic/libnss_hesiod.abilist: New file.
1545         * sysdeps/generic/libnss_nis.abilist: New file.
1546         * sysdeps/generic/libnss_nisplus.abilist: New file.
1547         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1548         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1549         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1550         file.
1551         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1552         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1553         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1554         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1555         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1556         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1557         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1558         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1559         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1560         file.
1561         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1562         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1563         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1564         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1565         file.
1566         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1567         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1568         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1569         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1570         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1571         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1572         file.
1573         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1574         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1575         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1576         file.
1577         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1579         New file.
1580         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1581         New file.
1582         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1583         New file.
1584         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1585         New file.
1586         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1587         New file.
1588         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1589         New file.
1590         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1591         New file.
1592         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1593         New file.
1594         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1595         New file.
1596         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1597         New file.
1598         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1599         New file.
1600         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1601         New file.
1602         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1603         New file.
1604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1605         file.
1606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1607         New file.
1608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1609         New file.
1610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1611         file.
1612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1613         New file.
1614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1615         New file.
1616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1617         file.
1618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1619         New file.
1620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1621         New file.
1622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1623         New file.
1624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1625         New file.
1626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1627         New file.
1628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1629         New file.
1630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1632         file.
1633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1634         New file.
1635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1636         file.
1637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1638         file.
1639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1640         file.
1641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1642         file.
1643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1644         file.
1645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1646         New file.
1647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1648         file.
1649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1650         file.
1651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1652         New file.
1653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1654         file.
1655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1657         file.
1658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1659         New file.
1660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1661         file.
1662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1663         file.
1664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1665         file.
1666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1667         file.
1668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1669         file.
1670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1671         New file.
1672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1673         file.
1674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1675         file.
1676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1677         New file.
1678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1679         file.
1680         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1681         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1682         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1683         file.
1684         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1685         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1686         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1687         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1688         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1689         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1690         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1691         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1692         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1693         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1696         file.
1697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1698         New file.
1699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1700         file.
1701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1702         file.
1703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1704         file.
1705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1706         file.
1707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1708         file.
1709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1710         New file.
1711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1712         New file.
1713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1714         file.
1715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1716         New file.
1717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1718         file.
1719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1721         file.
1722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1723         New file.
1724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1725         file.
1726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1727         file.
1728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1729         file.
1730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1731         file.
1732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1733         file.
1734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1735         New file.
1736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1737         New file.
1738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1739         file.
1740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1741         New file.
1742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1743         file.
1745 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1747         * conform/conformtest.pl: Fix typo in handling typed-constant from
1748         allow-header.
1750 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1752         * README: Cut down references to pre-2.6 Linux kernels and
1753         Linuxthreads.  Update lists of configurations in libc and ports
1754         and sort alphabetically.  Say "or newer" with Linux kernel version
1755         requirements.
1757         * config.h.in [IS_IN_build]: Allow compiling without optimization.
1759 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1761         [BZ #887]
1762         * math/libm-test.inc (logb_test_downward): New test to expose
1763         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1764         rounding mode.
1766 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1768         [BZ #14027]
1769         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1770         to be done.
1771         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1772         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1774 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1776         * sysdeps/unix/i386/brk.S: Remove file.
1777         * sysdeps/unix/i386/dl-brk.S: Likewise.
1778         * sysdeps/unix/i386/pipe.S: Likewise.
1779         * sysdeps/unix/i386/sigreturn.S: Likewise.
1780         * sysdeps/unix/i386/syscall.S: Likewise.
1781         * sysdeps/unix/i386/vfork.S: Likewise.
1782         * sysdeps/unix/i386/wait.S: Likewise.
1784         * sysdeps/unix/common/tcsendbrk.c: Move to ...
1785         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1787         * configure.in (arm*-none*): Do not allow without
1788         --enable-hacker-mode.
1789         (netbsd*): Remove case setting base_os.
1790         (386bsd*): Likewise.
1791         (freebsd*): Likewise.
1792         (bsdi*): Likewise.
1793         (osf*): Likewise.
1794         (sunos*): Likewise.
1795         (ultrix*): Likewise.
1796         (newsos*): Likewise.
1797         (dynix*): Likewise.
1798         (*bsd*): Likewise.
1799         (sysv*): Likewise.
1800         (isc*): Likewise.
1801         (esix*): Likewise.
1802         (sco*): Likewise.
1803         (minix*): Likewise.
1804         (irix4*): Likewise.
1805         (irix6*): Likewise.
1806         (solaris[2-9]*): Likewise.
1807         (none): Likewise.
1808         * configure: Regenerated.
1810 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1812         [BZ #11521]
1813         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1814         overflow or cancellation in calculating denominator.
1815         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1816         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1817         down expression to avoid unexpected rounding in newer GCCs.
1818         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1820 2012-04-26  David S. Miller  <davem@davemloft.net>
1822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1823         long-double compat symbols.
1824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1838 2012-04-25  David S. Miller  <davem@davemloft.net>
1840         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1841         HWCAP_* values only after the memory barriers have been defined.
1842         (atomic_full_barrier): Define.
1843         (atomic_read_barrier): Define.
1844         (atomic_write_barrier): Define.
1846 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1848         * shlib-versions: Add libgcc_s version information.
1849         * sysdeps/generic/libgcc_s.h: Remove.
1850         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1851         libgcc_s.h.
1852         * sysdeps/gnu/unwind-resume.c: Likewise.
1853         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1855 2012-04-25  David S. Miller  <davem@davemloft.net>
1857         * sysdeps/unix/sparc/brk.S: Delete.
1858         * sysdeps/unix/sparc/dl-brk.S: Delete.
1859         * sysdeps/unix/sparc/pipe.S: Delete.
1860         * sysdeps/unix/sparc/sysdep.S: Delete.
1861         * sysdeps/unix/sparc/sysdep.h: Delete.
1862         * sysdeps/unix/sparc/vfork.S: Delete.
1863         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1864         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1865         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1866         ret_ERRVAL, r0, r1, MOVE): Define.
1867         (JUMPTARGET): Remove.
1868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1869         sysdeps/unix/sparc/sysdep.h
1870         (ENTRY, END): Remove.
1871         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1873 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
1875         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1876         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1877         -DIS_IN_build.
1879         * timezone/README: Update upstream location and email address for
1880         tzcode and tzdata.
1881         * timezone/zdump.c: Update from tzcode 2012b.
1882         * timezone/zic.c: Likewise.
1884         * configure.in (libc_cv_as_needed): Remove test.
1885         * configure: Regenerated.
1886         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1887         conditional definition.
1888         [$(have-as-needed) != yes] (no-as-needed): Likewise.
1889         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1890         * config.make.in (have-as-needed): Remove variable.
1892 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1893             Paul Pluzhnikov  <ppluzhnikov@google.com>
1895         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1896         strings correctly.
1898 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1900         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1901         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1902         * sysdeps/sh/strlen.S: Likewise.
1904 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1906         * sysdeps/unix/fork.S: Remove file.
1907         * sysdeps/unix/i386/fork.S: Likewise.
1908         * sysdeps/unix/sparc/fork.S: Likewise.
1910         * sysdeps/unix/system.c: Remove file.
1911         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1913         * sysdeps/unix/getegid.S: Remove file.
1914         * sysdeps/unix/geteuid.S: Likewise.
1916 2012-04-24  Roland McGrath  <roland@hack.frob.com>
1918         * scripts/check-localplt.awk: New file.
1919         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1920         of diff.
1921         * scripts/data/localplt-generic.data: Add a comment.
1923         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1924         NODE when __dir_mkfile failed.
1925         * sysdeps/mach/hurd/symlinkat.c: Likewise.
1926         Reported by Ludovic Courtès <ludo@gnu.org>.
1928 2012-04-24  Andreas Jaeger  <aj@suse.de>
1930         * Makerules (common-clean): Also remove gen-as-const-headers
1931         files.
1933 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1935         * Makerules (native-compile): Do not change working directory for
1936         build.  Use $(OUTPUT_OPTION) in command.
1937         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1939 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1941         [BZ #13886]
1942         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1943         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1944         * math/libm-test.inc (floor_test): Add more tests.
1945         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1947 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1949         * sysdeps/unix/getdents.c: Remove file.
1950         * sysdeps/unix/sysv/getdents.c: Likewise.
1951         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1953         * sysdeps/unix/syscalls.list (madvise): Add syscall from
1954         sysdeps/unix/mman/syscalls.list.
1955         (mmap): Likewise.
1956         (mprotect): Likewise.
1957         (msync): Likewise.
1958         (munmap): Likewise.
1959         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1960         * sysdeps/unix/mman/syscalls.list: Remove.
1961         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1963         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1964         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1965         * configure: Regenerated.
1966         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1967         $(libgcc_s_suffix).
1968         * config.make.in (libgcc_s_suffix): Remove variable.
1970 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
1972         * sysdeps/unix/sysv/gethostname.c: Move to ...
1973         * sysdeps/posix/gethostname.c: ... here.
1975         * sysdeps/unix/execve.S: Remove file.
1977         * sysdeps/unix/_exit.S: Remove file.
1979 2012-04-23  Andreas Jaeger  <aj@suse.de>
1981         [BZ #13739]
1982         * manual/Makefile: Remove make dist support, there's no
1983         need for a stand-alone documentation tar ball.
1984         (TEXI2DVI): Define always, it's not in Makeconfig.
1985         (dist): Removed.
1986         (tar-it): Removed.
1987         (edition): Removed.
1988         (glibc-doc-$(edition).tar): Removed
1989         (%.Z): Removed.
1990         (%.gz): Removed.
1991         (%.uu): Removed.
1992         (ETAGS): Remove, it's in Makeconfig.
1993         (move-if-change): Remove, it's in Makeconfig.
1995 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1997         [BZ #13970]
1998         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1999         (strtod, strtof, strtold, strtol, strtoul, strtoq)
2000         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2001         (strtod_l, strtof_l, strtold_l): Remove __wur.
2002         It is not necessarily an error to ignore strtol's return value.
2003         One can reliably look at the stored endptr to decide whether
2004         the number had valid syntax.
2006 2012-04-21  Andreas Jaeger  <aj@suse.de>
2008         [BZ #13739]
2009         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2011 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
2013         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2014         * sysdeps/unix/sysv/Versions: Remove file.
2016 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
2018         [BZ #13927]
2019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2021 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
2023         [BZ #7064]
2024         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2025         version from __vm86.
2027 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
2029         * sysdeps/unix/common/lxstat.c: Remove file.
2030         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2032         * sysdeps/unix/sysv/Makefile: Remove file.
2034         * sysdeps/unix/sysv/direct.h: Remove file.
2036         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2037         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2038         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2039         * sysdeps/unix/sysv/bits/signum.h: Likewise.
2040         * sysdeps/unix/sysv/bits/stat.h: Likewise.
2041         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2042         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2044         * sysdeps/unix/sysv/setrlimit.c: Remove file.
2046         * sysdeps/unix/xmknod.c: Remove file.
2047         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2049         * sysdeps/unix/sysv/settimeofday.c: Remove file.
2051         * sysdeps/unix/sysv/i386/time.S: Remove file.
2053         * sysdeps/unix/fxstat.c: Remove file.
2054         * sysdeps/unix/xstat.c: Likewise.
2055         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2057         * sysdeps/unix/sysv/sigaction.c: Remove file.
2059         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2060         (sysdep_headers): Remove variable.
2061         [termio.h not in sysdep_headers] (generated): Likewise.
2062         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2063         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2064         * sysdeps/unix/sysv/tcdrain.c: Likewise.
2065         * sysdeps/unix/sysv/tcflow.c: Likewise.
2066         * sysdeps/unix/sysv/tcflush.c: Likewise.
2067         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2068         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2069         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2070         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2071         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2073         * sysdeps/unix/siglist.c: Remove file.
2075         * sysdeps/unix/getppid.S: Remove file.
2077         * sysdeps/unix/mkdir.c: Remove file.
2078         * sysdeps/unix/rmdir.c: Likewise.
2080 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
2082         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2083         ERR_MAX value.
2084         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2085         errlist-compat value.
2087 2012-04-18  David S. Miller  <davem@davemloft.net>
2089         * sysdeps/generic/memcopy.h (reg_char): Delete.
2090         * debug/strcat_chk.c: Use char, not reg_char.
2091         * debug/strcpy_chk.c: Likewise.
2092         * debug/strncat_chk.c: Likewise.
2093         * debug/strncpy_chk.c: Likewise.
2094         * string/memchr.c: Likewise.
2095         * string/memrchr.c: Likewise.
2096         * string/rawmemchr.c: Likewise.
2097         * string/strcat.c: Likewise.
2098         * string/strchr.c: Likewise.
2099         * string/strchrnul.c: Likewise.
2100         * string/strcmp.c: Likewise.
2101         * string/strcpy.c: Likewise.
2102         * string/strncat.c: Likewise.
2103         * string/strncmp.c: Likewise.
2104         * string/strncpy.c: Likewise.
2106 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2108         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2109         __builtin_memcopy is called when src and dest ranges are known to not
2110         overlap.
2112 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2114         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2115         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2116         fwd_align_merge macro call.
2117         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2118         bwd_align_merge macro call.
2119         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2121 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2123         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2124         bwd_align_merge macros.
2125         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2126         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2127         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2129 2012-04-18  David S. Miller  <davem@davemloft.net>
2131         * sysdeps/sparc/sparc64/memcopy.h: Delete.
2133 2012-04-18  Andreas Jaeger  <aj@suse.de>
2135         [BZ# 6794]
2136         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2137         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2138         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2140         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2141         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2142         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2144         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2145         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2146         Adjust for changed ldbl-128 files.
2148         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2149         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2150         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2152 2012-04-17  David S. Miller  <davem@davemloft.net>
2154         * sysdeps/sparc/sparc32/memcopy.h: Delete.
2156 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
2158         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2159         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2160         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2161         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2162         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2163         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2165 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2167         [BZ #6794]
2168         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2169         * math/libm-test.inc: Add ilogb errno and exception tests.
2170         * math/w_ilogb.c: New file: ilogb wrapper.
2171         * math/w_ilogbf.c: New file: ilogbf wrapper.
2172         * math/w_ilogbl.c: New file: ilogbl wrapper.
2173         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2174         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2175         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2176         exception being thrown with 0.0 as argument.
2177         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2178         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2179         exception being thrown with 0.0 as argument.
2180         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2181         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2182         exception being thrown with 0.0 as argument.
2183         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2184         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2185         exception being thrown with 0.0 as argument.
2186         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2187         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2188         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2189         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2190         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2191         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2192         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2193         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2194         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2196 2012-04-17  Petr Baudis  <pasky@ucw.cz>
2198         * include/sys/uio.h: Change __vector to __iovec to avoid clash
2199         with altivec.
2201 2012-04-16  Marek Polacek  <polacek@redhat.com>
2203         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2205 2012-04-16  Marek Polacek  <polacek@redhat.com>
2207         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2208         operands of fdivp instruction.
2210 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
2212         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2213         * elf/tst-auditmod3b.c: Likewise.
2214         * elf/tst-auditmod4b.c: Likewise.
2215         * elf/tst-auditmod5b.c: Likewise.
2216         * elf/tst-auditmod6b.c: Likewise.
2217         * elf/tst-auditmod6c.c: Likewise.
2218         * elf/tst-auditmod7b.c: Likewise.
2219         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2220         * sysdeps/x86_64/preconfigure.in: Likewise.
2221         * sysdeps/x86_64/preconfigure: Regenerated.
2223 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
2225         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2226         __ILP32__.
2228 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
2230         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2231         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2233 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
2235         [BZ #13973]
2236         * locale/iso-639.def: Fix gl language name. Spotted by
2237         Yaron Shahrabani.
2239 2012-04-12  Roland McGrath  <roland@hack.frob.com>
2241         [BZ #2074]
2242         * libio/libio.h (__io_write_fn): Update comment.
2244 2012-04-12  Petr Baudis  <pasky@ucw.cz>
2246         [BZ #2074]
2247         * stdio.texi (Hook Functions): The user provided writer function
2248         is not allowed to return -1.
2250 2012-04-11  David S. Miller  <davem@davemloft.net>
2252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2254 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
2256         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2257         Add a leading slash to rtkaio.
2259 2012-04-11  Jim Meyering  <meyering@redhat.com>
2261         [BZ #11959]
2262         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2263         It is not necessarily an error to ignore fwrite's return
2264         value.  One can reliably use ferror to test for errors after
2265         the fact.
2267 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2269         * bits/types.h (__snseconds_t): New type.
2270         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2272         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2273         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2274         (__SNSECONDS_T_TYPE): Likewise.
2275         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2276         (__SNSECONDS_T_TYPE): Likewise.
2277         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2278         (__SNSECONDS_T_TYPE): Likewise.
2280 2012-04-10  Andreas Jaeger  <aj@suse.de>
2282         [BZ #2636]
2283         * manual/time.texi (Processor Time): Return type of times is
2284         elapsed real time since an arbitrary point in the past.
2285         (CPU Time): Move CLK_TCK from here...
2286         (Processor Time): ...to here.  Correct description.
2287         * manual/conf.texi (Constants for Sysconf): Correct description of
2288         _SC_CLK_TCK.
2290 2012-04-10  David S. Miller  <davem@davemloft.net>
2292         [BZ #13967]
2293         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2294         where the is a gap between DT_REL(A) and DT_JMPREL.
2296 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2298         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2299         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2300         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2302 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2304         * elf/dl-support.c (_dl_inhibit_cache): New variable.
2305         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2306         (dl_main): Handle --inhibit-cache.
2307         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2308         _dl_inhibit_cache.
2309         * elf/dl-load.c (_dl_map_object): Use it.
2310         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2312 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2314         [BZ #13872]
2315         * sysdeps/i386/fpu/e_powl.S (p78): New object.
2316         (__ieee754_powl): Saturate large exponents rather than testing for
2317         overflow of y*log2(x).
2318         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2319         * math/libm-test.inc (pow_test): Do not permit spurious overflow
2320         exceptions.
2322         [BZ #11521]
2323         * math/s_ctan.c: Include <float.h>.
2324         (__ctan): Avoid internal overflow or cancellation in calculating
2325         denominator.
2326         * math/s_ctanf.c: Likewise.
2327         * math/s_ctanl.c: Likewise.
2328         * math/s_ctanh.c: Likewise.
2329         * math/s_ctanhf.c: Likewise.
2330         * math/s_ctanhl.c: Likewise.
2331         * math/libm-test.inc (ctan_test): Add more tests.
2332         (ctanh_test): Likewise.
2333         * sysdeps/i386/fpu/libm-test-ulps: Update.
2334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2336 2012-04-09  Andreas Jaeger  <aj@suse.de>
2338         [BZ #6894]
2339         * manual/filesys.texi (Directory Entries): Mention that d_namlen
2340         is an optional BSD extension.
2342         [BZ #10254]
2343         * manual/stdio.texi (Opening Streams): Document additional fopen
2344         parameters.
2346 2012-04-09  Roland McGrath  <roland@hack.frob.com>
2348         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2349         %eax without telling the compiler.
2351 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
2353         [BZ # 13963]
2354         * manual/install.texi: Use sourceware.org.
2356 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2358         [BZ #13873]
2359         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2360         (__ieee754_pow): Generate overflow and underflow using huge*huge
2361         and tiny*tiny rather than just returning constant infinity or zero
2362         for large exponents.
2363         * math/libm-test.inc (pow_test): Require overflow exceptions for
2364         applicable cases of large exponents.
2366         [BZ #706]
2367         * sysdeps/i386/fpu/e_pow.S (p10): New object.
2368         (__ieee754_pow): Use iterative multiplication algorithm only for
2369         integer exponents with absolute value below 1024.  Check for odd
2370         integer exponents when using algorithm for real exponents.
2371         * math/libm-test.inc (pow_test): Add more tests.
2372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2374 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
2376         [BZ #13705]
2377         * math/libm-test.inc (exp_test): Do not allow overflow exception
2378         on underflow test.
2380 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
2382         [BZ #13705]
2383         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2384         instead of __kernel_standard_f.
2386 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
2388         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2389         * sysdeps/x86_64/memset_chk.S: Likewise.
2391 2012-04-08  Andreas Jaeger  <aj@suse.de>
2393         [BZ #10153]
2394         * manual/startup.texi (Environment Access): Describe return value
2395         for putenv and setenv.
2397         [BZ #6895]
2398         * manual/filesys.texi (Directory Entries): Add description for
2399         DT_LNK.
2401         [BZ #6890]
2402         * manual/filesys.texi (Directory Entries): Clarify that it's file
2403         system not operating system in the description of DT_UNKNOWN.
2405         [BZ #6578]
2406         * manual/syslog.texi (closelog): Fix reference, it's openlog.
2408 2012-04-08  Stephen Compall  <s11@member.fsf.org>
2410         [BZ #6649]
2411         * manual/llio.texi (Opening and Closing Files): Add cross
2412         reference to explain mode argument.
2414 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
2416         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2417         * sysdeps/x86_64/memset_chk.S: Likewise.
2419 2012-04-07  David S. Miller  <davem@davemloft.net>
2421         * elf/elf.h (R_SPARC_WDISP10): Define.
2422         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2423         R_SPARC_SIZE32.
2424         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2425         R_SPARC_SIZE64 and R_SPARC_H34.
2427 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
2429         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2430         conditions and remove no longer applicable assertion.
2432 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2434         * bits/byteswap.h: Include <features.h>.
2435         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2436         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2438 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2440         * bits/byteswap.h (__bswap_16): Removed.
2441         Include <bits/byteswap-16.h> to get __bswap_16.
2442         * sysdeps/i386/bits/byteswap.h: Likewise.
2443         * sysdeps/s390/bits/byteswap.h: Likewise.
2444         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2445         * bits/byteswap-16.h: New file.
2446         * sysdeps/i386/bits/byteswap-16.h: Likewise.
2447         * sysdeps/s390/bits/byteswap-16.h: Likewise.
2448         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2449         * string/Makefile (headers): Add bits/byteswap-16.h.
2451 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2453         [BZ #13895]
2454         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2455         extra indirection.
2456         * nss/Makefile (tests-static, tests): Add tst-nss-static.
2457         * nss/tst-nss-static.c: New.
2459 2012-04-06  Robert Millan  <rmh@gnu.org>
2461         [BZ #6486]
2462         * manual/llio.texi (File Position Primitive): lseek
2463         refers to WHENCE when it really means OFFSET.
2465 2012-04-06  Andreas Jaeger  <aj@suse.de>
2467         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2468         strncmp declarations.
2470         * abilist/libc.abilist: Add __poll and __ppoll.
2472 2012-04-05  David S. Miller  <davem@davemloft.net>
2474         * scripts/check-local-headers.sh: Accept a host triplet in the
2475         path matched by the exclude regexp.
2477         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2478         definition.
2479         * sysdeps/powerpc/powerpc32/dl-machine.h
2480         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2481         * sysdeps/s390/s390-32/dl-machine.h
2482         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2483         * sysdeps/sparc/sparc32/dl-machine.h
2484         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2485         * sysdeps/sparc/sparc64/dl-machine.h
2486         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2488         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2489         lazy binding.
2490         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2491         undefined symbol errors.
2493         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2494         DT_NEEDED entries.
2496 2012-04-05  Michael Matz  <matz@suse.de>
2498         [BZ #13592]
2499         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2501 2012-04-05  Andreas Jaeger  <aj@suse.de>
2503         [BZ #13908]
2504         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2505         comment.
2507 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2509         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2510         which ROUND is no valid rounding mode.
2512 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2514         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2515         read again.
2516         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2518 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2520         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2521         an exception using FPU order intentionally.
2523 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2525         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2526         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2527         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2528         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2530 2012-04-05  Simon Josefsson  <simon@josefsson.org>
2532         [BZ #12340]
2533         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2534         EINVAL when BUFLEN is too smal.
2536 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
2538         [BZ #13553]
2539         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2540         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2542 2012-04-03  Andreas Jaeger  <aj@suse.de>
2544         [BZ #13938]
2545         * manual/setjmp.texi (System V contexts): Fix sentence.
2547         [BZ #13926]
2548         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2549         New macro for this case.
2550         [!__GNUC__] (__bswap_64): New inline function for this case.
2551         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2552         * bits/byteswap.h: Likewise.
2553         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2554         ull, guard with __GLIBC_HAVE_LONG_LONG.
2556         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2557         __GLIBC_HAVE_LONG_LONG.
2559         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2560         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2562 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2564         [BZ #13691]
2565         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2566         inptr and inend, rather than using last_ch.
2568 2012-04-02  David S. Miller  <davem@davemloft.net>
2570         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2571         * stdio-common/printf-parse.h (read_int): Change return type to
2572         'int', return -1 on INT_MAX overflow.
2573         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2574         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
2575         overflows INT_MAX.  Check for overflow of in-format-string precision
2576         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
2577         SIZE_MAX not INT_MAX for integer overflow test.
2578         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2579         skip the construct in the format string but do not record anything.
2580         * stdio-common/bug22.c: Adjust to test both width/prevision
2581         INT_MAX overflow as well as total length INT_MAX overflow.  Check
2582         explicitly for proper errno values.
2584 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
2586         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2587         CHAR_MAX.
2588         * string/test-strcmp.c [! WIDE]: Likewise.
2589         * time/tst-mktime2.c: Likewise for INT_MAX.
2590         * string/test-string.h: #include <sys/param.h> for MIN.
2592         * csu/init-first.c (__libc_init_first): Call __ctype_init.
2593         * sysdeps/i386/init-first.c (init): Likewise.
2594         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2595         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2596         * sysdeps/sh/init-first.c (init): Likewise.
2598 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
2600         * po/ru.po: Update from translation team.
2601         * po/vi.po: Likewise.
2603 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2605         * resolv/nss_dns/dns-host.c: Merge copyright years.
2607 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2609         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2610         Optimize memcpy with prefetch if
2611         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
2612         src, dst pointers have unequal 16 byte alignments.
2614 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2616         [BZ #13928]
2617         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2618         from a CNAME entry and return the minimum ttl for the query.
2619         (gaih_getanswer_slice): Likewise.
2621 2012-03-30  Jeff Law  <law@redhat.com>
2623         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2624         due to long keys.
2625         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2626         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2628         * resolv/nss_dns/dns-host.c: Update copyright year.
2630 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
2632         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2633         requests to save a system call.  Fix check that all bytes are sent.
2635         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2636         comments for sendmmsg.
2638 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2640         [BZ #13691]
2641         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2642         with only 1 character between 0x0041 and 0x01b0.
2643         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2644         * wcsmbs/tst-mbsnrtowcs.c: New file.
2646 2012-03-29  David S. Miller  <davem@davemloft.net>
2648         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2649         small copies by hand.
2651 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2653         [BZ #13761]
2654         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2655         _nss_compat_initgroups_dyn): Fall back to malloc/free
2656         for large group memberships.
2658 2012-03-28  David S. Miller  <davem@davemloft.net>
2660         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2661         that branches into memcpy.
2662         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2663         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2664         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2665         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2666         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2667         bits.
2668         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2669         implementation too.
2670         * sysdeps/sparc/mempcpy.S: New file.
2672         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2673         the IFUNC routine in the libc case.
2674         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2676         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2677         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2678         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2679         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2680         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2681         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2682         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2683         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2685         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2686         loop to 256 bytes instead of 64 bytes and fix test signedness.
2688         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2689         * sysdeps/sparc/sparc32/Makefile: rather than here...
2690         * sysdeps/sparc/sparc64/Makefile: and here.
2692 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
2694         * malloc/mallocbug.c: Avoid warnings about unused variables.
2696 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2698         [BZ #13760]
2699         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2700         in the right place. Discard and retry query if response is
2701         larger than input buffer size.
2703 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
2705         [BZ #369]
2706         [BZ #2678]
2707         [BZ #3866]
2708         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2709         x for large integer exponent.
2710         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2711         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
2712         sign of result as needed afterwards.
2713         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2714         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2715         result for underflowing pow the same as for overflow.
2716         (__kernel_standard_l): Handle powl overflow and underflow here
2717         rather than calling __kernel_standard.
2718         * math/libm-test.inc (pow_test): Add more tests.
2720         [BZ #3868]
2721         [BZ #13879]
2722         [BZ #13910]
2723         [BZ #13911]
2724         [BZ #13912]
2725         [BZ #13913]
2726         [BZ #13915]
2727         [BZ #13916]
2728         [BZ #13917]
2729         [BZ #13918]
2730         [BZ #13919]
2731         [BZ #13920]
2732         [BZ #13921]
2733         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2734         * sysdeps/ieee754/k_standard.c: Include <float.h>.
2735         (__kernel_standard_l): New function.
2736         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2737         __kernel_standard.
2738         * math/w_acosl.c (__acosl): Likewise.
2739         * math/w_asinl.c (__asinl): Likewise.
2740         * math/w_atan2l.c (__atan2l): Likewise.
2741         * math/w_atanhl.c (__atanhl): Likewise.
2742         * math/w_coshl.c (__coshl): Likewise.
2743         * math/w_exp10l.c (__exp10l): Likewise.
2744         * math/w_exp2l.c (__exp2l): Likewise.
2745         * math/w_fmodl.c (__fmodl): Likewise.
2746         * math/w_hypotl.c (__hypotl): Likewise.
2747         * math/w_j0l.c (__j0l, __y0l): Likewise.
2748         * math/w_j1l.c (__j1l, __y1l): Likewise.
2749         * math/w_jnl.c (__jnl, __ynl): Likewise.
2750         * math/w_lgammal.c (__lgammal): Likewise.
2751         * math/w_log10l.c (__log10l): Likewise.
2752         * math/w_log2l.c (__log2l): Likewise.
2753         * math/w_logl.c (__logl): Likewise.
2754         * math/w_powl.c (__powl): Likewise.
2755         * math/w_remainderl.c (__remainderl): Likewise.
2756         * math/w_scalbl.c (sysv_scalbl): Likewise.
2757         * math/w_sinhl.c (__sinhl): Likewise.
2758         * math/w_sqrtl.c (__sqrtl): Likewise.
2759         * math/w_tgammal.c (__tgammal): Likewise.
2760         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2761         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2762         * math/libm-test.inc (acos_test): Add more tests.
2763         (acosh_test): Likewise.
2764         (asin_test): Likewise.
2765         (atanh_test): Likewise.
2766         (exp_test): Likewise.
2767         (exp10_test): Likewise.
2768         (exp2_test): Likewise.
2769         (expm1_test): Likewise.
2770         (lgamma_test): Likewise.
2771         (log_test): Likewise.
2772         (log10_test): Likewise.
2773         (log1p_test): Likewise.
2774         (log2_test): Likewise.
2775         (pow_test): Do not allow some spurious overflow exceptions.
2776         (sqrt_test): Add more tests.
2777         (tgamma_test): Likewise.
2778         (y0_test): Likewise.
2779         (y1_test): Likewise.
2780         (yn_test): Likewise.
2782 2012-03-27  Anton Blanchard  <anton@samba.org>
2784         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2785         MAP_HUGETLB.
2786         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2787         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2788         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2790 2012-03-27  David S. Miller  <davem@davemloft.net>
2792         * conform/Makefile: Run run-conformtest.sh using $(BASH).
2794         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2795         have-as-vis3 check.
2797 2012-03-27  Andreas Jaeger  <aj@suse.de>
2799         * sysdeps/x86_64/elf/configure.in: Moved to ...
2800         * sysdeps/x86_64/configure.in: ... here.
2801         * sysdeps/x86_64/elf/start.S: Moved to ...
2802         * sysdeps/x86_64/start.S: ... here.
2803         * sysdeps/x86_64/elf/configure: Delete.
2805         * sysdeps/x86_64/configure.in: Merge contents from
2806         sysdeps/i386/configure.in (without i686 check).
2808         * sysdeps/i386/elf/Versions: Merge into ...
2809         * sysdeps/i386/Versions: ... this.
2810         * sysdeps/i386/elf/Versions: Delete file.
2811         * sysdeps/i386/elf/start.S: Moved to ...
2812         * sysdeps/i386/start.S: ...here.
2813         * sysdeps/i386/elf/configure.in: Merge into...
2814         * sysdeps/i386/configure.in: ...here.
2815         * sysdeps/i386/elf/configure.in: Delete file.
2816         * sysdeps/i386/elf/configure: Delete file.
2818         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2819         * debug/backtracesyms.c: ... here.
2820         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2821         * debug/backtracesymsfd.c: ... here.
2822         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2823         * sysdeps/generic/ifunc-sel.h: ... here.
2825         * sysdeps/unix/i386/start.c: Delete file.
2826         * sysdeps/unix/sparc/start.c: Delete file.
2827         * sysdeps/unix/start.c: Delete file.
2829         * sysdeps/sh/elf/configure.in: Moved to ...
2830         * sysdeps/sh/configure.in: ... here.
2831         * sysdeps/sh/elf/start.S: Moved to ...
2832         * sysdeps/sh/start.S: ... here.
2833         * sysdeps/sh/elf/configure: Delete file.
2835         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2836         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2837         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2838         * sysdeps/powerpc/powerpc64/entry.h: ... here.
2839         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2840         * sysdeps/powerpc/powerpc64/start.S: here.
2841         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2842         * sysdeps/powerpc/powerpc64/Makefile: ... this.
2843         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2844         * sysdeps/powerpc/powerpc64/configure.in: ... this.
2845         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2847         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2848         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2849         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2850         * sysdeps/powerpc/powerpc32/start.S: ... here.
2851         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2852         * sysdeps/powerpc/powerpc32/configure.in: ... this.
2853         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2855         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2856         * sysdeps/powerpc/ifunc-sel.h: ... here.
2857         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2858         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2860         * sysdeps/sparc/elf/configure.in: Moved to ...
2861         * sysdeps/sparc/configure.in: ... here.
2862         * sysdeps/sparc/elf/configure: Delete file.
2863         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2864         * sysdeps/sparc/sparc32/start.S: ... here.
2865         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2866         * sysdeps/sparc/sparc64/start.S: ... here.
2867         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2868         * sysdeps/sparc/sparc32/Makefile: ... this.
2869         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2870         * sysdeps/sparc/sparc64/Makefile: ... this.
2872         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2873         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2874         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2875         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2876         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2877         * sysdeps/s390/s390-32/setjmp.S: ... here.
2878         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2879         * sysdeps/s390/s390-32/configure.in: ... here.
2880         * sysdeps/s390/s390-32/elf/configure: Delete file.
2881         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2882         * sysdeps/s390/s390-32/start.S: ... here.
2884         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2885         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2886         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2887         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2888         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2889         * sysdeps/s390/s390-64/setjmp.S: ... here.
2890         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2891         * sysdeps/s390/s390-64/configure.in: ... here
2892         * sysdeps/s390/s390-64/elf/configure: Delete file.
2893         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2894         * sysdeps/s390/s390-64/start.S: ... here.
2895         * sysdeps/s390/s390-64/elf/configure: Delete.
2897         * configure.in: Remove support for elf directories in sysdeps.
2899         * configure: Regenerated.
2900         * sysdeps/i386/configure: Regenerated.
2901         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2902         * sysdeps/powerpc/powerpc64/configure: Regenerated.
2903         * sysdeps/s390/s390-32/configure: Regenerated.
2904         * sysdeps/s390/s390-64/configure: Regenerated.
2905         * sysdeps/sh/configure: Regenerated.
2906         * sysdeps/sparc/configure: Regenerated.
2907         * sysdeps/x86_64/configure: Regenerated.
2909 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
2911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2913         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2914         denormal result into account.
2916 2012-03-25  Roland McGrath  <roland@hack.frob.com>
2918         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2919         Reported by Allan McRae <allan@archlinux.org>.
2921 2012-03-23  Jeff Law  <law@redhat.com>
2923         * nss/getnssent.c (__nss_getent): Fix typo.
2925 2012-03-23  David S. Miller  <davem@davemloft.net>
2927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2929 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
2931         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2932         to pad to uint64_t for each field.
2933         (dl_tls_index): Replace unsigned long with uint64_t.
2935 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
2936         Paul Pluzhnikov  <ppluzhnikov@google.com>
2938         [BZ #6528]
2939         * grp/Makefile (otherlibs): Don't set it.
2940         * inet/Makefile (otherlibs): Likewise.
2941         * login/Makefile (otherlibs): Likewise.
2942         * nscd/Makefile (otherlibs): Likewise.
2943         * posix/Makefile (otherlibs): Likewise.
2944         * pwd/Makefile (otherlibs): Likewise.
2945         * rt/Makefile (otherlibs): Likewise.
2946         * sunrpc/Makefile (otherlibs): Likewise.
2947         * nss/Makefile (otherlibs): Likewise.
2948         Add libnss_files to routines and static-only-routines.
2949         ($(objpfx)getent): Remove rule.
2950         * resolv/Makefile: Add libnss_dns and libresolv to routines and
2951         static-only-routines.
2953 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2955         [BZ #13892]
2956         * math/s_cexp.c: Include <float.h>.
2957         (__cexp): Handle exp result overflowing not necessarily
2958         overflowing both real and imaginary parts of result.
2959         * math/s_cexpf.c: Likewise.
2960         * math/s_cexpl.c: Likewise.
2961         * math/libm-test.inc (cexp_test): Add more tests.
2962         * sysdeps/i386/fpu/libm-test-ulps: Update.
2963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2965 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2967         * include/link.h (ELFW): New macro.
2968         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2969         Replace ELF64_R_TYPE with ELFW(R_TYPE).
2971 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2973         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2974         with uint64_t.
2976 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2978         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2979         declaration.
2980         (struct La_x32_retval): Likewise.
2982 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2984         * sysdeps/x86_64/preconfigure.in: New file.
2985         * sysdeps/x86_64/preconfigure: New generated file.
2987 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2989         [BZ #13824]
2990         * math/e_exp2l.c: Include <float.h>.
2991         (__ieee754_exp2l): Handle overflow and underflow cases
2992         separately.  Only pass fractional part of argument to
2993         __ieee754_expl.
2994         * math/libm-test.inc (exp2_test): Add more tests.
2996         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2997         negating x to take absolute value.
2998         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2999         Likewise.
3000         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3001         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3002         Likewise.
3003         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3004         computing low part if x was negated.
3005         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3007 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3009         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3010         la_x32_gnu_pltexit.
3011         (pltexit): Cast int_retval to ptrdiff_t.
3012         * elf/tst-auditmod3b.c: Likewise.
3013         * elf/tst-auditmod4b.c: Likewise.
3014         * elf/tst-auditmod5b.c: Likewise.
3015         * elf/tst-auditmod6b.c: Likewise.
3016         * elf/tst-auditmod6c.c: Likewise.
3017         * elf/tst-auditmod7b.c: Likewise.
3019         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3020         and x32_gnu_pltexit.
3022         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3023         __ELF_NATIVE_CLASS.
3024         (La_x32_regs): New macro.
3025         (La_x32_retval): Likewise.
3026         (la_x32_gnu_pltenter): New function prototype.
3027         (la_x32_gnu_pltexit): Likewise.
3029 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
3031         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3032         exponent.
3034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3036         * configure.in (libc_cv_cc_nofma): Check for option to disable
3037         generation of FMA instructions.
3038         * configure: Regenerate.
3039         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3040         * sysdeps/ieee754/dbl-64/Makefile: New file.
3041         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3042         Remove brandred-fma4.
3043         (CFLAGS-brandred-fma4.c): Remove.
3044         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3045         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3046         define.
3047         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3048         define.
3050 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3052         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3053         LLONG_MAX != LONG_MAX.
3054         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3055         (_fitoa_word): Likewise.
3056         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3057         LLONG_MAX != LONG_MAX.
3058         * stdio-common/_itowa.h: Include <_itoa.h>.
3059         (_itowa_word): Use _ITOA_WORD_TYPE on value.
3060         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
3061         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
3062         only if not defined.
3063         (_ITOA_WORD_TYPE): Likewise.
3064         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3065         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3067 2012-03-21  David S. Miller  <davem@davemloft.net>
3069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3071 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3073         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3074         of x86_64 when setting libc_cv_slibdir, libdir and
3075         libc_cv_localedir.
3076         * sysdeps/unix/sysv/linux/configure: Regenerated.
3078 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3080         * manual/lang.texi (Old Varargs): Remove section.
3081         (How Variadic): Update menu.
3082         (va_start): Do not mention varargs.h.
3084 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3085             Joseph Myers  <joseph@codesourcery.com>
3087         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3088         link test.
3089         * configure: Regenerated.
3091 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3093         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3094         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3095         conformtest.pl
3097 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3099         * NOTES: Remove.
3100         * Makefile (files-for-dist): Remove NOTES.
3101         (NOTES): Remove rule.
3102         * README: Don't refer to NOTES.
3103         * manual/creature.texi: Don't include macros.texi.
3104         * manual/intro.texi (creature.texi): Remove comment referring to
3105         NOTES.
3107         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3108         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3109         * configure: Regenerated.
3110         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3111         LIBC_TRY_CC_OPTION.
3112         (libc_cv_as_i686): Likewise.
3113         (libc_cv_cc_avx): Likewise.
3114         (libc_cv_cc_sse2avx): Likewise.
3115         (libc_cv_cc_fma4): Likewise.
3116         (libc_cv_cc_novzeroupper): Likewise.
3117         * sysdeps/i386/configure: Regenerated.
3119         [BZ #13883]
3120         * sysdeps/i386/fpu/s_cexp.S: Remove.
3121         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3122         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3123         * math/libm-test.inc (cexp_test): Add more tests.
3124         * sysdeps/i386/fpu/libm-test-ulps: Update.
3125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3127 2012-03-21  Allan McRae  <allan@archlinux.org>
3129         * timezone/Makefile: Do not install iso3166.tab and zone.tab
3131 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3133         [BZ #13871]
3134         * math/w_exp2.c: Do not include <float.h>.
3135         (o_threshold, u_threshold): Remove.
3136         (__exp2): Calculate result before checking finiteness and calling
3137         __kernel_standard.
3138         * math/w_exp2f.c: Likewise.
3139         * math/w_exp2l.c: Likewise.
3140         * math/libm-test.inc (exp2_test): Require overflow exception for
3141         1e6 input.
3143         [BZ #3866]
3144         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3145         range of signed 64-bit integers before using fistpll.  Remove
3146         checks for whether integers fit in mantissa bits.
3147         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3148         the range of signed 32-bit integers before using fistpl.  Remove
3149         checks for whether integers fit in mantissa bits.
3150         * sysdeps/i386/fpu/e_powl.S (p64): New object.
3151         (__ieee754_powl): Test for y outside the range of signed 64-bit
3152         integers before using fistpll.  Reduce 64-bit values to 63-bit
3153         ones as needed.
3154         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3155         divide-by-zero is raised for zero to large negative powers.
3156         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3157         (__ieee754_powl): Test for y outside the range of signed 64-bit
3158         integers before using fistpll.  Reduce 64-bit values to 63-bit
3159         ones as needed.
3160         * math/libm-test.inc (pow_test): Add more tests.
3162 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3164         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3165         <stdio-common/_itoa.h>.
3166         * debug/segfault.c: Likewise.
3167         * elf/dl-cache.c: Likewise.
3168         * elf/dl-minimal.c: Likewise.
3169         * elf/dl-misc.c: Likewise.
3170         * elf/dl-sysdep.c: Likewise.
3171         * elf/dl-version.c: Likewise.
3172         * elf/rtld.c: Likewise.
3173         * hurd/hurdsock.c: Likewise.
3174         * hurd/lookup-retry.c: Likewise.
3175         * malloc/malloc.c: Likewise.
3176         * malloc/mtrace.c: Likewise.
3177         * nscd/nscd_getgr_r.c: Likewise.
3178         * nscd/nscd_getpw_r.c: Likewise.
3179         * nscd/nscd_getserv_r.c: Likewise.
3180         * posix/getopt_init.c: Likewise.
3181         * posix/wordexp.c: Likewise.
3182         * stdio-common/_itoa.c: Likewise.
3183         * stdio-common/printf_fphex.c: Likewise.
3184         * stdio-common/vfprintf.c: Likewise.
3185         * string/_strerror.c: Likewise.
3186         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3187         * sysdeps/i386/i686/hp-timing.h: Likewise.
3188         * sysdeps/mach/_strerror.c: Likewise.
3189         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3190         * sysdeps/mach/hurd/sethostid.c: Likewise.
3191         * sysdeps/mach/hurd/xmknodat.c: Likewise.
3192         * sysdeps/mach/xpg-strerror.c: Likewise.
3193         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3194         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3195         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3196         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3197         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3198         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3199         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3200         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3201         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3202         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3203         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3204         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3205         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3206         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3207         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3208         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3209         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3210         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3211         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3212         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3213         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3215         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3217         * stdio-common/_itoa.h: Moved to ...
3218         * sysdeps/generic/_itoa.h: Here.
3220         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3222         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3223         instead of "_itoa.h" and "_itowa.h".
3224         * stdio-common/vfprintf.: Likewise.
3226 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3228         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3229         <bits/wordsize.h>.
3230         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3231         (__signbit): Likwise.
3232         (llrintf): Likwise.
3233         (llrint): Likwise.
3235 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3237         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3238         __WORDSIZE != 64.
3240 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
3242         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3243         OVERFLOW_EXCEPTION_OK.
3244         * math/libm-test.inc ("Philosophy"): Update comment about
3245         exception testing.
3246         (OVERFLOW_EXCEPTION): Define.
3247         (OVERFLOW_EXCEPTION_OK): Likewise.
3248         (INVALID_EXCEPTION_OK): Renumber.
3249         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3250         (IGNORE_ZERO_INF_SIGN): Likewise.
3251         (test_exceptions): Handle FE_OVERFLOW.
3252         (exp10_test): Expect overflow exceptions.
3253         (exp2_test): Likewise.
3254         (expm1_test): Likewise.
3255         (nextafter_test): Likewise.
3256         (pow_test): Likewise.
3257         (scalbn_test): Likewise.
3258         (scalbln_test): Likewise.
3260 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3262         * sysdeps/x86_64/bits/atomic.h
3263         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3264         64bit integer.
3265         (atomic_exchange_acq): Likewise.
3266         (__arch_exchange_and_add_body): Likewise.
3267         (__arch_add_body): Likewise.
3268         (atomic_add_negative): Likewise.
3269         (atomic_add_zero): Likewise.
3271 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3273         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3274         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3276 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3278         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3279         Check __x86_64__ instead of __WORDSIZE.
3281 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3283         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3285 2012-03-19  David S. Miller  <davem@davemloft.net>
3287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3289         * sysdeps/sparc/fpu/fenv_private.h: New file.
3290         * sysdeps/sparc/fpu/math_private.h: Use it.
3291         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3292         Remove.
3293         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3294         (libc_feholdexcept_setroundl): Remove.
3295         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3296         Remove.
3297         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3298         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3300 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3302         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3303         int64_t instead of long int.
3304         (INSERT_WORDS64): Likwise.
3306 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3308         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3309         _Unwind_GetCFA return to _Unwind_Ptr first.
3311 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
3313         [BZ #13629]
3314         * math/s_clog.c: Include <float.h>.
3315         (__clog): Scale large or subnormal inputs.
3316         * math/s_clogf.c: Likewise.
3317         * math/s_clogl.c: Likewise.
3318         * math/s_clog10.c: Include <float.h>.
3319         (M_LOG10_2): Define.
3320         (__clog10): Scale large or subnormal inputs.
3321         * math/s_clog10f.c: Likewise.
3322         * math/s_clog10l.c: Likewise.
3323         * math/libm-test.inc (clog_test): Add more tests.
3324         (clog10_test): Likewise.
3325         * sysdeps/i386/fpu/libm-test-ulps: Update.
3326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3328         [BZ #11451]
3329         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3330         x and y.
3331         * math/libm-test.inc (atan2_test): Add another test.
3333         * Makerules (common-objdir-compile): Remove.
3334         * sysdeps/unix/Makefile (config-generated): Do not add
3335         $(unix-generated) to variable.
3336         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3337         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3338         Remove rule.
3339         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3340         Likewise.
3341         [generic bits/local_lim.h] (before-compile): Do not append to
3342         variable.
3343         [generic bits/local_lim.h] (common-generated): Likewise.
3344         [generic sys/param.h] (before-compile): Do not append to variable.
3345         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3346         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3347         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3348         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3349         include.
3350         [generic sys/param.h] (sys/param.h-includes): Remove variable.
3351         [generic sys/param.h] (sys/param.h-includes): Remove rule.
3352         [generic sys/param.h] ($(addprefix
3353         $(common-objpfx),$(sys/param.h-includes))): Likewise.
3354         [generic sys/param.h] (common-generated): Do not append to
3355         variable.
3356         [generic sys/param.h] (sysdep_headers): Likewise.
3357         [generic bits/errno.h] (before-compile): Do not append to
3358         variable.
3359         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3360         rule.
3361         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3362         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3363         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3364         [generic bits/errno.h] (common-generated): Do not append to
3365         variable.
3366         [generic bits/ioctls.h] (before-compile): Do not append to
3367         variable.
3368         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3369         rule.
3370         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3371         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3372         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3373         rule.
3374         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3375         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3376         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3377         [generic bits/ioctls.h] (common-generated): Do not append to
3378         variable.
3379         [generic sys/syscall.h] (syscall.h): Remove variable.
3380         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3381         rule.
3382         [generic sys/syscall.h] (before-compile): Do not append to
3383         variable.
3384         [generic sys/syscall.h] (common-generated): Likewise.
3385         * sysdeps/unix/errnos-tmpl.c: Remove file.
3386         * sysdeps/unix/errnos.awk: Likewise.
3387         * sysdeps/unix/ioctls-tmpl.c: Likewise.
3388         * sysdeps/unix/ioctls.awk: Likewise.
3389         * sysdeps/unix/mk-local_lim.c: Likewise.
3390         * sysdeps/unix/snarf-ioctls: Likewise.
3392 2012-03-19  Richard Henderson  <rth@twiddle.net>
3394         * sysdeps/i386/fpu/fenv_private.h: New file.
3395         * sysdeps/i386/fpu/math_private.h: Use it.
3396         (math_opt_barrier, math_force_eval): Remove.
3397         (libc_feholdexcept_setround_53bit): Remove.
3398         (libc_feupdateenv_53bit): Remove.
3399         * sysdeps/x86_64/fpu/math_private.h: Likewise.
3400         (math_opt_barrier, math_force_eval): Remove.
3401         (libc_feholdexcept): Remove.
3402         (libc_feholdexcept_setround): Remove.
3403         (libc_fetestexcept, libc_fesetenv): Remove.
3404         (libc_feupdateenv_test): Remove.
3405         (libc_feupdateenv, libc_feholdsetround): Remove.
3406         (libc_feresetround): Remove.
3408         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3409         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3411         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3412         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3413         (libc_feupdateenv_testl): New.
3414         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3415         (libc_feupdateenv_testf): New.
3416         (libc_feupdateenv): Use libc_feupdateenv_test.
3417         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3418         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3420         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3421         (libc_feholdsetroundf, libc_feholdsetroundl): New.
3422         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3423         (libc_feresetround_noex): New.
3424         (libc_feresetround_noexf): New.
3425         (libc_feresetround_noexl): New.
3426         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3427         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3428         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3429         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3430         SET_RESTORE_ROUND.
3431         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3432         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3433         (__cos): Likewise.
3434         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3435         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3436         SET_RESTORE_ROUND_NOEX.
3437         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3438         SET_RESTORE_ROUND_NOEXF.
3439         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3440         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3441         (libc_feholdsetroundf): New.
3442         (libc_feresetround, libc_feresetroundf): New.
3444         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3445         (libc_feholdexcept_setround_53bit): Convert from macro to function.
3446         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
3448         * sysdeps/generic/math_private.h: Include <fenv.h>.
3449         (default_libc_feholdexcept): New.
3450         (default_libc_feholdexcept_setround): New.
3451         (default_libc_fesetenv, default_libc_feupdateenv): New.
3452         (libc_feholdexcept): Only define if undefined.
3453         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3454         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3455         (libc_feholdexcept_setroundl): Likewise.
3456         (libc_feholdexcept_setround_53bit): Likewise.
3457         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3458         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3459         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3460         (libc_feupdateenv_53bit): Likewise.
3461         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3462         (libc_feholdexcept): Convert from macro to inline function.
3463         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3464         (libc_fesetenv, libc_feupdateenv): Likewise.
3466         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3467         not previously defined.
3468         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3469         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3470         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3471         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3472         * sysdeps/ieee754/flt-32/math_private.h: New file.
3473         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3474         math_private.h below SET_FLOAT_WORD.
3475         (__isnan, __isinf_ns, __finite): Remove.
3476         (__isnanf, __isinf_nsf, __finitef): Remove.
3478 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
3480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3482 2012-03-17  David S. Miller  <davem@davemloft.net>
3484         [BZ #6471]
3485         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3486         for 2.16.
3488 2012-03-16  David S. Miller  <davem@davemloft.net>
3490         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3491         warnings.
3493         [BZ #6471]
3494         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3495         properly.
3496         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3497         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3498         sysdep_routines when subdir is sysvipc.
3499         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3500         __getshmlba helper.
3502         * sysdeps/sparc/fpu/libm-test/ulps: Update.
3504 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3506         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3507         [__LP64__].
3509 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3511         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3512         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3513         (__lround): Renamed to ...
3514         (__llround): This.  Replace long int with long long int.
3515         Define lround functions as aliases of llround functions.
3516         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3518 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3520         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3521         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
3522         adresses to uintptr_t.  Replace "long int" and "unsigned long
3523         int" with "greg_t" on va_arg.
3525 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3527         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3528         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3530         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3531         Move e_machine check before EI_CLASS check.  Handle x32
3532         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3533         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3534         SKIP_EM_IA_64 and include
3535         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3537         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3538         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3539         (add_system_dir): New macro.
3541         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3542         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3544 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3546         [BZ #2551]
3547         [BZ #2552]
3548         [BZ #2553]
3549         [BZ #2554]
3550         [BZ #2562]
3551         [BZ #2563]
3552         [BZ #2565]
3553         [BZ #2566]
3554         [BZ #2576]
3555         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3556         (y0): Likewise.
3557         * math/w_j0f.c (j0f): Likewise.
3558         (y0f): Likewise.
3559         * math/w_j0l.c (__j0l): Likewise.
3560         (__y0l): Likewise.
3561         * math/w_j1.c (j1): Likewise.
3562         (y1): Likewise.
3563         * math/w_j1f.c (j1f): Likewise.
3564         (y1f): Likewise.
3565         * math/w_j1l.c (__j1l): Likewise.
3566         (__y1l): Likewise.
3567         * math/w_jn.c (jn): Likewise.
3568         (yn): Likewise.
3569         * math/w_jnf.c (jnf): Likewise.
3570         (ynf): Likewise.
3571         * math/w_jnl.c (__jnl): Likewise.
3572         (__ynl): Likewise.
3573         * math/libm-test.inc (j0_test): Add more tests.
3574         (j1_test): Likewise.
3575         (jn_test): Likewise.  Add trailing semicolon to existing test.
3576         (y0_test): Likewise.
3577         (y1_test): Likewise.
3578         * sysdeps/i386/fpu/libm-test-ulps: Update.
3579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3581         [BZ #13851]
3582         [BZ #13854]
3583         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3584         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3585         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3586         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3587         (__tanl): Set errno for infinite argument.
3588         * sysdeps/i386/fpu/mptan.c: Remove.
3589         * sysdeps/i386/fpu/s_tan.S: Likewise.
3590         * sysdeps/i386/fpu/s_tanl.S: Likewise.
3591         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3592         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3593         * math/libm-test.inc (tan_test): Add more tests and enable more
3594         tests for double and long double.
3595         * sysdeps/i386/fpu/libm-test-ulps: Update.
3596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3598 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3600         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3601         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3603 2012-03-16  Roland McGrath  <roland@hack.frob.com>
3605         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3606         * configure.in: Use it for both main tree and add-ons.
3607         * configure: Regenerated.
3609 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3611         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3613 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3615         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3616         in comment.
3618         [BZ #13851]
3619         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3620         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3621         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3622         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3623         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3624         infinite argument.
3625         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3626         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3627         != 0 for prec == 2.
3628         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3629         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3630         * sysdeps/i386/fpu/s_cosl.S: Likewise.
3631         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3632         * sysdeps/i386/fpu/s_sinl.S: Likewise.
3633         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3634         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3635         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3636         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3637         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3638         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3639         * math/libm-test.inc (cos_test): Add more tests and enable more
3640         tests for long double.
3641         (sin_test): Likewise.
3642         (sincos_test): Likewise.
3643         * sysdeps/i386/fpu/libm-test-ulps: Update.
3644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3646 2012-03-16  David S. Miller  <davem@davemloft.net>
3648         * sysdeps/sparc/fpu/math_private.h: New file.
3650 2012-03-15  David S. Miller  <davem@davemloft.net>
3652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3653         file.
3654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3656         file.
3657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3662         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3663         sysdep routines.
3664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3666         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3667         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3669         * sysdeps/sparc/sparc-ifunc.h: New file.
3670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3671         sparc-ifunc.h
3672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3674         Likewise.
3675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3676         Likewise.
3677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3681         Likewise.
3682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3687         Likewise.
3688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3689         Likewise.
3690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3694         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3696         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3697         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3698         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3699         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3701         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3702         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3703         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3704         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3705         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3706         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3707         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3708         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3709         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3710         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3711         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3712         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3713         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3715 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3717         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3718         scaling.
3719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3721 2012-03-15  Andreas Jaeger  <aj@suse.de>
3723         [BZ #13852]
3724         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3725         ieee754/flt-32 implementation for sin, cos and sincos.
3726         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3727         * sysdeps/i386/fpu/s_cosf.S: Likewise.
3728         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3729         * sysdeps/i386/fpu/s_sinf.S: Likewise.
3730         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3731         ieee754/flt-32 implementation for tan.
3733         * math/libm-test.inc (cos_test): Enable some large input tests for
3734         float as well
3735         (sin_test): Likewise.
3736         (sincos_test): Likewise.
3737         (tan_test): Add tests for large input.
3739         * sysdeps/i386/fpu/libm-test-ulps: Update.
3741 2012-03-15  Andreas Jaeger  <aj@suse.de>
3743         [BZ #13658]
3744         * math/libm-test.inc (cos_test): Add more test cases.
3745         (sin_test): Likewise.
3746         (sincos_test): Likewise.
3748 2012-03-15  Andreas Jaeger  <aj@suse.de>
3750         [BZ #13837]
3751         * math/libm-test.inc (cos_test): Add a test case for large input
3752         value.
3753         (sin_test): Likewise.
3754         (sincos_test): Likewise.
3756 2012-03-15  Andreas Jaeger  <aj@suse.de>,
3757         Joseph Myers  <joseph@codesourcery.com>
3759         [BZ #13658]
3760         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3761         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3762         * sysdeps/i386/fpu/branred.c: Likewise.
3763         * sysdeps/i386/fpu/dosincos.c: Likewise.
3764         * sysdeps/i386/fpu/mpa.c: Likewise.
3765         * sysdeps/i386/fpu/s_cos.S: Likewise.
3766         * sysdeps/i386/fpu/s_sin.S: Likewise.
3767         * sysdeps/i386/fpu/s_sincos.S: Likewise.
3768         * sysdeps/i386/fpu/sincos32.c: Likewise.
3770         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3771         Define.
3772         (libc_feupdateenv_53bit): Define.
3773         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3774         Define.
3775         (libc_feupdateenv_53bit): Define.
3777         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3778         53 bit (without extend i386 double precision).
3780         * math/libm-test.inc (sincos_test): Add tests for large input.
3781         (sin): Likewise.
3782         (cos): Likewise.
3784         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3786 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3790 2012-03-15  David S. Miller  <davem@davemloft.net>
3792         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3793         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3794         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3795         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3800         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3801         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3802         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3803         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3804         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3805         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3808         file.
3809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3811         file.
3812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3814         file.
3815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3817         file.
3818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3819         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3820         fmin/fmax sysdep routines.
3821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3823 2012-03-14  David S. Miller  <davem@davemloft.net>
3825         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3828         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3829         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3830         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3831         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3832         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3837         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3838         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3839         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3840         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3841         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3842         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3843         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3844         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3845         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3846         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3847         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3848         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3849         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3850         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3851         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3852         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3853         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3854         routines.
3855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3856         file.
3857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3859         file.
3860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3862         file.
3863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3865         file.
3866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3868         file.
3869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3871         file.
3872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3873         file.
3874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3875         file.
3876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3877         file.
3878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3879         New file.
3880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3881         file.
3882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3883         file.
3884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3886         file.
3887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3889         file.
3890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3892         file.
3893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3895         VIS3 routines.
3897         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3898         New file.
3900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3902         * sysdeps/sparc/configure.in: New file.
3903         * sysdeps/sparc/configure: Generate.
3904         * configure.in (libc_cv_sparc_as_vis3): Substitute.
3905         * configure: Regenerate.
3906         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3907         * config.make.in (have-as-vis3): New.
3908         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3909         available use -Av9d instead of -Av9a.
3910         * sysdeps/sparc/sparc64/Makefile: Likewise.
3911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3913         New file.
3914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3915         file.
3916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3917         New file.
3918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3919         file.
3920         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3921         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3922         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3923         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3924         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3926         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3927         fzeros/fnegs to load 0x80000000 into a float register instead of
3928         using the stack.
3929         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3931 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3934         bits/syscall.h.
3935         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3936         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3937         ($(inst_includedir)/bits/syscall.h): Remove rule.
3938         ($(objpfx)bits/syscall.d): Include instead of
3939         $(objpfx)syscall-list.d.
3940         (generated): Change syscall-list.h and syscall-list.d to
3941         bits/syscall.h and bits/syscall.d.
3943 2012-03-14  Roland McGrath  <roland@hack.frob.com>
3945         [BZ #13846]
3946         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3948 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3950         [BZ #13841]
3951         * math/s_csqrt.c: Include <float.h>.
3952         (__csqrt): Scale large or subnormal inputs.
3953         * math/s_csqrtf.c: Likewise.
3954         * math/s_csqrtl.c: Likewise.
3955         * math/libm-test.inc (csqrt_test): Add more tests.
3956         * sysdeps/i386/fpu/libm-test-ulps: Update.
3957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3959         [BZ #13840]
3960         * math/libm-test.inc (hypot_test): Add more tests.
3962 2012-03-13  David S. Miller  <davem@davemloft.net>
3964         [BZ #13840]
3965         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3966         double-precision for the calculation instead of scaling.
3968 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
3970         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3971         manipulate bits before adding and subtracting TWO52[sx].
3972         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3973         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3974         Likewise.
3975         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3977 2012-03-13  David S. Miller  <davem@davemloft.net>
3979         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3980         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3981         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3982         rtld-global-offsets.h
3983         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3985         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3986         large parameters.
3988         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3990         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3991         'err' in the ifdef scope in which it is actually used.
3993         * nss/nss_db/db-init.c: Include string.h
3995 2012-03-12  David S. Miller  <davem@davemloft.net>
3997         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3998         masking out of the most significant byte of random value used.
3999         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4000         Fix coding style in previous change.
4002         * sysdeps/unix/sysv/linux/kernel-features.h
4003         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4004         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4005         expression.
4006         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4007         later.
4009 2012-03-11  David S. Miller  <davem@davemloft.net>
4011         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4012         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4013         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4014         for 'resultvar' otherwise things get truncated on 64-bit.
4016         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4017         Fix masking out of the most significant byte of random value used.
4019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4021 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
4023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4025 2012-03-09  David S. Miller  <davem@davemloft.net>
4027         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4028         variables with appropriate CPP guards.
4029         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4030         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
4031         on resulting framesize and the management of the outregs buffer for pltexit.
4032         Preserve floating point return values across _dl_call_pltexit call.
4033         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4034         framesize and the management of the outregs buffer for pltexit.
4035         Preserve floating point return values across _dl_call_pltexit
4036         call.
4037         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4038         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4039         (print_exit): Fix format string for return register value.
4041 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
4043         * sunrpc/Makefile (others): Add rpcgen.
4044         ($(objpfx)rpcgen): Remove special build rule and dependency on
4045         libc.
4046         * sunrpc/rpcgen.c: New file.
4048 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
4050         [BZ #13673]
4051         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4052         * stdio-common/bug-vfprintf-nargs.c: Likewise.
4053         * sysdeps/i386/crti.S: Likewise.
4054         * sysdeps/i386/crtn.S: Likewise.
4055         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4056         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4057         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4058         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4059         * sysdeps/sh/crti.S: Likewise.
4060         * sysdeps/sh/crtn.S: Likewise.
4061         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4063         [BZ #13673]
4064         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4065         with URL.
4066         * locale/programs/locfile-kw.gperf: Likewise.
4067         * locale/programs/charmap-kw.h: Regenerated.
4068         * locale/programs/locfile-kw.h: Likewise.
4070         [BZ #13673]
4071         * intl/plural.y: Replace FSF snail mail address with URL.
4072         * intl/plural.c: Regenerated.
4074 2012-03-09  Richard Henderson  <rth@twiddle.net>
4076         * include/math_private.h: Remove file.
4077         * math/math_private.h: Move file ...
4078         * sysdeps/generic/math_private.h: ... here.
4080         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4081         * sysdeps/powerpc/fpu/math_private.h: Likewise.
4082         * sysdeps/x86_64/fpu/math_private.h: Likewise.
4084         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4085         and <math_private.h>.
4086         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4087         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4088         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4089         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4090         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4091         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4092         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4093         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4094         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4095         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4096         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4097         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4098         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4099         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4100         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4101         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4102         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4103         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4104         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4105         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4106         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4107         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4108         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4109         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4110         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4111         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4112         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4113         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4114         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4115         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4116         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4117         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4118         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4119         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4120         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4121         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4122         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4123         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4124         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4125         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4126         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4127         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4128         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4129         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4130         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4131         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4132         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4133         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4134         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4135         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4136         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4137         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4138         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4139         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4140         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4141         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4142         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4143         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4144         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4145         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4146         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4147         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4148         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4149         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4150         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4151         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4152         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4153         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4154         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4155         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4156         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4157         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4158         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4159         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4160         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4161         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4162         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4163         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4164         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4165         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4166         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4167         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4168         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4169         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4170         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4171         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4172         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4173         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4174         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4175         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4176         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4177         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4178         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4179         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4180         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4181         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4182         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4183         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4184         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4185         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4186         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4187         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4188         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4189         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4190         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4191         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4192         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4193         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4194         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4195         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4196         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4197         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4198         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4199         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4200         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4201         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4202         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4203         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4204         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4205         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4206         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4207         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4208         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4209         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4210         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4211         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4212         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4213         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4214         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4215         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4216         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4217         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4218         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4219         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4220         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4221         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4222         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4223         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4224         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4225         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4226         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4227         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4228         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4229         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4230         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4231         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4232         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4233         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4234         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4235         * sysdeps/ieee754/k_standard.c: Likewise.
4236         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4237         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4238         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4239         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4240         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4241         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4242         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4243         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4244         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4245         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4246         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4247         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4248         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4249         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4250         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4251         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4252         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4253         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4254         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4255         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4256         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4257         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4258         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4259         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4260         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4261         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4262         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4263         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4264         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4265         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4266         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4267         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4268         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4269         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4270         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4271         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4272         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4273         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4274         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4275         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4276         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4277         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4278         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4279         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4280         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4281         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4282         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4283         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4284         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4285         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4286         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4287         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4288         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4289         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4290         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4291         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4292         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4293         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4294         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4295         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4296         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4297         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4298         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4299         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4300         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4301         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4302         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4303         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4304         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4305         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4306         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4307         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4308         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4309         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4310         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4311         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4312         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4313         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4314         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4315         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4316         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4317         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4318         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4319         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4320         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4321         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4322         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4323         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4324         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4325         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4326         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4327         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4328         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4329         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4330         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4331         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4332         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4333         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4334         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4335         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4336         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4337         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4338         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4339         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4340         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4341         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4342         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4343         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4344         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4345         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4346         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4347         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4348         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4349         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4350         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4351         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4352         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4353         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4354         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4355         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4356         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4357         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4358         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4359         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4360         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4361         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4362         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4363         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4364         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4365         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4366         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4367         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4368         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4369         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4370         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4371         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4372         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4373         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4374         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4375         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4376         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4377         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4378         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4379         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4380         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4381         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4382         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4383         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4384         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4385         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4386         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4387         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4388         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4390         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4391         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4392         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4393         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4394         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4395         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4396         * sysdeps/ieee754/s_lib_version.c: Likewise.
4397         * sysdeps/ieee754/s_matherr.c: Likewise.
4398         * sysdeps/ieee754/s_signgam.c: Likewise.
4399         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4400         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4401         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4402         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4403         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4404         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4405         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4406         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4407         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4408         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4409         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4410         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4411         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4412         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4413         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4414         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4415         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4416         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4417         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4418         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4419         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4421 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4423         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4424         * sunrpc/rpc_main.c: Likewise.
4425         * sunrpc/rpc_svcout.c: Likewise.
4427 2012-03-09  David S. Miller  <davem@davemloft.net>
4429         * include/math_private.h: New file.
4431 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4433         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4434         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4435         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4436         from <bits/socket_type.h>.
4437         (enum __socket_type): Don't define here.
4438         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4440         bits/socket_type.h.
4442         [BZ #13566]
4443         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4444         checking __USE_GNU.
4446         * Makerules ($(inst_includedir)/%.h): New rule.
4447         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4448         (install-others): Remove variable setting.
4449         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4451 2012-03-08  Richard Henderson  <rth@twiddle.net>
4453         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4454         from macro to inline function; merge with the
4455         !__LIBC_INTERNAL_MATH_INLINES version.
4456         (__ieee754_sqrtf): Likewise.
4458         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4459         to inline function.
4460         (__rintf, __floor, __floorf): Likewise.
4462         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4463         macro to inline function.
4464         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4466         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4467         not <math/math_private.h>.
4469 2012-03-08  David S. Miller  <davem@davemloft.net>
4471         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4472         copyright year.
4473         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4475 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
4477         * resolv/gai_misc.c (handle_requests): Fix struct timespec
4478         normalization.
4479         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4480         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4482 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
4484         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
4485         be defined individually, they must be defined as a block.  Define
4486         S for printing a string instead of hidint the different by using a
4487         macro for adding the 'l'.
4488         * stdio-common/tst-fphex-wide.c: Adjust.
4490 2012-03-07  Marek Polacek  <polacek@redhat.com>
4492         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4494 2012-03-08  Marek Polacek  <polacek@redhat.com>
4496         [BZ #13806]
4497         * stdio-common/Makefile (tests): Add tst-fphex-wide.
4498         * stdio-common/tst-fphex.c: Define a few macros to make the
4499         test reusable.  Use them.
4500         * stdio-common/tst-fphex-wide.c: New file.
4502 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
4504         [BZ #6911]
4505         * manual/macros.texi (gnusystems): New macro.
4506         (nongnusystems): Likewise.
4507         (gnulinuxhurdsystems): Likewise.
4508         (gnuhurdsystems): Likewise..
4509         (gnulinuxsystems): Likewise.
4510         * manual/charset.texi: Use new macros or @theglibc{} to refer to
4511         variants of the GNU system, not "GNU system".
4512         * manual/conf.texi: Likewise.
4513         * manual/errno.texi: Likewise.  Update example of errno macro
4514         expansion.
4515         * manual/filesys.texi: Likewise.
4516         (getumask): Document as specific to GNU/Hurd.
4517         * manual/install.texi: Likewise.  Reword some references to
4518         GNU/Linux.
4519         * manual/intro.texi: Likewise.
4520         * manual/io.texi: Likewise.
4521         (File Name Portability): Detail which constraints are inapplicable
4522         to all GNU systems and which are only inapplicable to GNU/Hurd.
4523         * manual/job.texi: Likewise.
4524         * manual/llio.texi: Likewise.
4525         (O_NOCTTY): Document as present on GNU/Linux.
4526         * manual/maint.texi: Likewise.
4527         * manual/memory.texi: Likewise.
4528         * manual/pattern.texi: Likewise.
4529         * manual/pipe.texi: Likewise.
4530         * manual/process.texi: Likewise.
4531         * manual/resource.texi: Likewise.
4532         (RUSAGE_CHILDREN): Remove statement about specifying a particular
4533         child on GNU/Hurd.
4534         * manual/setjmp.texi: Likewise.
4535         * manual/signal.texi: Likewise.
4536         * manual/startup.texi: Likewise.
4537         * manual/stdio.texi: Likewise.
4538         * manual/terminal.texi: Likewise.
4539         (ONLCR): Document as POSIX.
4540         (OXTABS): Document availability on GNU/Linux as XTABS.
4541         (ONOEOT): Document availability separately from other bits.
4542         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4543         * manual/time.texi: Likewise.
4544         * manual/users.texi: Likewise.
4545         * INSTALL: Regenerated.
4546         * sysdeps/gnu/errlist.c: Regenerated.
4548         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4549         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4550         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
4551         puts.
4552         * configure: Regenerated.
4554 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
4556         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4557         default includes instead of AC_HEADER_CHECK.
4558         * sysdeps/i386/configure: Regenerated.
4560         [BZ #10716]
4561         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4562         * math/s_cacoshf.c (__cacoshf): Likewise.
4563         * math/s_cacoshl.c (__cacoshl): Likewise.
4564         * math/s_casinh.c (__casinh): Set signs of result from argument.
4565         * math/s_casinhf.c (__casinhf): Likewise.
4566         * math/s_casinhl.c (__casinhl): Likewise.
4567         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4568         (casinh_test): Add more tests.
4569         * sysdeps/i386/fpu/libm-test-ulps: Update.
4570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4572 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
4574         * po/zh_TW.po: Update from translation team.
4576         * login/Makefile (distribute): Remove variable.
4577         * catgets/Makefile: Likewise.
4578         * mach/Makefile: Likewise.
4579         * malloc/Makefile: Likewise.
4580         * misc/Makefile: Likewise.
4581         * iconv/Makefile: Likewise.
4582         * nscd/Makefile: Likewise.
4583         * hurd/Makefile: Likewise.
4584         * manual/Makefile: Likewise.
4585         * locale/Makefile: Likewise.
4586         * intl/Makefile: Likewise.
4587         * conform/Makefile: Likewise.
4588         * nss/Makefile: Likewise.
4589         * time/Makefile: Likewise.
4590         * soft-fp/Makefile: Likewise.
4591         * dirent/Makefile: Likewise.
4592         * gmon/Makefile: Likewise.
4593         * po/Makefile: Likewise.
4594         * rt/Makefile: Likewise.
4595         * socket/Makefile: Likewise.
4596         * math/Makefile: Likewise.
4597         * signal/Makefile: Likewise.
4598         * debug/Makefile: Likewise.
4599         * elf/Makefile: Likewise.
4600         * timezone/Makefile: Likewise.
4601         * stdlib/Makefile: Likewise.
4602         * iconvdata/Makefile: Likewise.
4603         * sunrpc/Makefile: Likewise.
4604         * io/Makefile: Likewise.
4605         * argp/Makefile: Likewise.
4606         * inet/Makefile: Likewise.
4607         * hesiod/Makefile: Likewise.
4608         * grp/Makefile: Likewise.
4609         * csu/Makefile: Likewise.
4610         * wctype/Makefile: Likewise.
4611         * crypt/Makefile: Likewise.
4612         * libio/Makefile: Likewise.
4613         * string/Makefile: Likewise.
4614         * nis/Makefile: Likewise.
4615         * resolv/Makefile: Likewise.
4616         * stdio-common/Makefile: Likewise.
4617         * wcsmbs/Makefile: Likewise.
4618         * dlfcn/Makefile: Likewise.
4619         * posix/Makefile: Likewise.
4621         [BZ #6959]
4622         * timezone/Makefile: Don't install timezone files, just the programs
4623         and scripts.
4625 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
4627         * nss/databases.def: Add missing gshadow entry.
4629         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
4631 2012-03-06  Marek Polacek  <polacek@redhat.com>
4633         [BZ #13726]
4634         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4635         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4636         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4637         * stdio-common/tst-long-dbl-fphex.c: New file.
4639 2012-03-06  David S. Miller  <davem@davemloft.net>
4641         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4642         (set_obp_int): New function.
4643         (get_obp_int): New function.
4644         (__get_clockfreq_via_dev_openprom): Likewise.
4645         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4646         Avoid unused variable warnings on 'val' and use builtin_expect.
4647         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4648         __builtin_expect.
4649         (INLINE_CLONE_SYSCALL): Likewise.
4651 2012-03-05  David S. Miller  <davem@davemloft.net>
4653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4655 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
4657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4659         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4660         only for |x| >= 40.
4661         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4663 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4665         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4666         Replace gettimeofday with __vdso_gettimeofday.
4668         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4669         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4670         __vdso_clock_gettime and __vdso_getcpu.
4672         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4673         time with __vdso_time.
4675 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4677         * manual/lang.texi (size_t): Note types to which size_t may be
4678         equivalent with the GNU C Library, but do not describe when
4679         differences between them are significant.
4681 2012-03-05  Andreas Jaeger  <aj@suse.de>
4683         * sysdeps/i386/fpu/libm-test-ulps: Update.
4685 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4687         [BZ #3976]
4688         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4689         (__ieee754_pow): Save and restore rounding mode and use
4690         round-to-nearest for main computations.
4691         * math/libm-test.inc (pow_test_tonearest): New function.
4692         (pow_test_towardzero): Likewise.
4693         (pow_test_downward): Likewise.
4694         (pow_test_upward): Likewise.
4695         (main): Call the new functions.
4696         * sysdeps/i386/fpu/libm-test-ulps: Update.
4697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4699         [BZ #3976]
4700         * math/libm-test.inc (cosh_test_tonearest): New function.
4701         (cosh_test_towardzero): Likewise.
4702         (cosh_test_downward): Likewise.
4703         (cosh_test_upward): Likewise.
4704         (sinh_test_tonearest): Likewise.
4705         (sinh_test_towardzero): Likewise.
4706         (sinh_test_downward): Likewise.
4707         (sinh_test_upward): Likewise.
4708         (main): Call the new functions.
4709         * sysdeps/i386/fpu/libm-test-ulps: Update.
4710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4712 2012-03-05  Tom de Vries  <tom@codesourcery.com>
4714         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4715         default stack guard is set in last bytes.
4716         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4718 2012-03-05  Kees Cook  <keescook@chromium.org>
4720         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4722         [BZ #13656]
4723         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4724         possibly allocate from heap instead of stack.
4725         * stdio-common/bug-vfprintf-nargs.c: New file.
4726         * stdio-common/Makefile (tests): Add nargs overflow test.
4728 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
4730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4732 2012-03-03  Marek Polacek  <polacek@redhat.com>
4734         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4735         * math/math_private.h: Likewise.
4736         * stdlib/tst-strtod.c: Likewise.
4737         * sysdeps/i386/i486/bits/atomic.h: Likewise.
4738         * sysdeps/x86_64/bits/atomic.h: Likewise.
4740 2012-03-02  David S. Miller  <davem@davemloft.net>
4742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4746         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4747         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4748         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4749         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4751 2012-03-02  Roland McGrath  <roland@hack.frob.com>
4753         [BZ #13792]
4754         * manual/examples/README: New file, says the example source files
4755         can be used under GPL>=2.
4756         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4757         line containing just "*/".
4758         * manual/examples/add.c: Add copyright header (GPL>=2).
4759         * manual/examples/argp-ex1.c: Likewise.
4760         * manual/examples/argp-ex2.c: Likewise.
4761         * manual/examples/argp-ex3.c: Likewise.
4762         * manual/examples/argp-ex4.c: Likewise.
4763         * manual/examples/atexit.c: Likewise.
4764         * manual/examples/db.c: Likewise.
4765         * manual/examples/dir.c: Likewise.
4766         * manual/examples/dir2.c: Likewise.
4767         * manual/examples/execinfo.c: Likewise.
4768         * manual/examples/filecli.c: Likewise.
4769         * manual/examples/filesrv.c: Likewise.
4770         * manual/examples/fmtmsgexpl.c: Likewise.
4771         * manual/examples/genpass.c: Likewise.
4772         * manual/examples/inetcli.c: Likewise.
4773         * manual/examples/inetsrv.c: Likewise.
4774         * manual/examples/isockad.c: Likewise.
4775         * manual/examples/longopt.c: Likewise.
4776         * manual/examples/memopen.c: Likewise.
4777         * manual/examples/memstrm.c: Likewise.
4778         * manual/examples/mkfsock.c: Likewise.
4779         * manual/examples/mkisock.c: Likewise.
4780         * manual/examples/mygetpass.c: Likewise.
4781         * manual/examples/pipe.c: Likewise.
4782         * manual/examples/popen.c: Likewise.
4783         * manual/examples/rprintf.c: Likewise.
4784         * manual/examples/search.c: Likewise.
4785         * manual/examples/select.c: Likewise.
4786         * manual/examples/setjmp.c: Likewise.
4787         * manual/examples/sigh1.c: Likewise.
4788         * manual/examples/sigusr.c: Likewise.
4789         * manual/examples/stpcpy.c: Likewise.
4790         * manual/examples/strdupa.c: Likewise.
4791         * manual/examples/strftim.c: Likewise.
4792         * manual/examples/strncat.c: Likewise.
4793         * manual/examples/subopt.c: Likewise.
4794         * manual/examples/swapcontext.c: Likewise.
4795         * manual/examples/termios.c: Likewise.
4796         * manual/examples/testopt.c: Likewise.
4797         * manual/examples/testpass.c: Likewise.
4798         * manual/examples/timeval_subtract.c: Likewise.
4800         [BZ #13792]
4801         * manual/time.texi (Elapsed Time): Move timeval_subtract example
4802         function to ...
4803         * manual/timeval_subtract.c.texi: ... here, new file.
4805 2012-03-02  David S. Miller  <davem@davemloft.net>
4807         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4809 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
4811         [BZ #3976]
4812         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4813         (__sin): Save and restore rounding mode and use round-to-nearest
4814         for all computations.
4815         (__cos): Save and restore rounding mode and use round-to-nearest
4816         for all computations.
4817         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4818         <fenv.h>.
4819         (tan): Save and restore rounding mode and use round-to-nearest for
4820         all computations.
4821         * math/libm-test.inc (cos_test_tonearest): New function.
4822         (cos_test_towardzero): Likewise.
4823         (cos_test_downward): Likewise.
4824         (cos_test_upward): Likewise.
4825         (sin_test_tonearest): Likewise.
4826         (sin_test_towardzero): Likewise.
4827         (sin_test_downward): Likewise.
4828         (sin_test_upward): Likewise.
4829         (tan_test_tonearest): Likewise.
4830         (tan_test_towardzero): Likewise.
4831         (tan_test_downward): Likewise.
4832         (tan_test_upward): Likewise.
4833         (main): Call the new functions.
4834         * sysdeps/i386/fpu/libm-test-ulps: Update.
4835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4837         [BZ #10135]
4838         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4839         small n, then large n, before computing and testing k+n.
4840         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4841         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4842         Likewise.
4843         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4844         Likewise.
4845         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4846         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4847         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4848         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4849         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4850         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4851         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4852         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4853         * math/libm-test.inc (scalbn_test): Add more tests.
4854         (scalbln_test): Likewise.
4856         * manual/filesys.texi (mode_t): Describe constraints on size and
4857         signedness, not exact equivalence to a particular type.
4858         (ino_t): Likewise.
4859         (ino64_t): Likewise.
4860         (dev_t): Likewise.
4861         (nlink_t): Likewise.
4862         (blkcnt_t): Likewise.
4863         (blkcnt64_t): Likewise.
4864         * manual/llio.texi (off_t): Likewise.
4866         [BZ #3976]
4867         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4868         (__ieee754_exp): Save and restore rounding mode and use
4869         round-to-nearest for all computations.
4870         * math/libm-test.inc (exp_test_tonearest): New function.
4871         (exp_test_towardzero): Likewise.
4872         (exp_test_downward): Likewise.
4873         (exp_test_upward): Likewise.
4874         (main): Call the new functions.
4875         * sysdeps/i386/fpu/libm-test-ulps: Update.
4876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4878 2012-03-01  Chris Demetriou  <cgd@google.com>
4880         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4881         have predictable order.
4883 2012-03-01  David S. Miller  <davem@davemloft.net>
4885         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4887         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4888         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4889         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4890         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4892         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4893         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4894         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4896         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4897         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4898         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4899         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4900         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4904         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4905         * sysdeps/sparc/fpu/libm-test-ulps: to here.
4906         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4908         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4909         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4910         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4911         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4912         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4913         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4914         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4915         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4916         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4917         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4918         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4919         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4920         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4921         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4922         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4923         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4924         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4925         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4926         * sysdeps/sparc/elf/configure: Regenerated.
4928 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
4930         * configure.in (AS, LD): Require binutils 2.20 or later.
4931         * configure: Regenerated.
4932         * manual/install.texi (Tools for Compilation): Give binutils 2.20
4933         as required minimum version.
4934         * INSTALL: Regenerated.
4936         [BZ #2541]
4937         [BZ #4108]
4938         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4939         before squaring exponent.
4940         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4941         bottom long double and 27 bits of top long double before squaring
4942         exponent.
4943         * math/libm-test.inc (erfc_test): Add more tests.
4944         * sysdeps/i386/fpu/libm-test-ulps: Update.
4945         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4948 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4950         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4951         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4952         containing bit-fields.
4953         * soft-fp/extended.h (_FP_UNION_E): Likewise.
4954         * soft-fp/single.h (_FP_UNION_S): Likewise.
4955         * soft-fp/double.h (_FP_UNION_D): Likewise.
4957 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4959         [BZ #13786]
4960         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4961         not include ../strcmp.S.
4962         [USE_AS_STRNCASECMP_L]: Likewise.
4963         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4964         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4965         * sysdeps/i386/i686/multiarch/strncase_l-c.c
4966         (__strncasecmp_l_ia32): Define as alias to
4967         __strncasecmp_l_nonascii.
4969         [BZ #5794]
4970         * math/libm-test.inc (expm1_test): Add test for bug 5794.
4971         * sysdeps/i386/fpu/libm-test-ulps: Update.
4972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4974         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4977 2012-02-29  Jeff Law  <law@redhat.com>
4979         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4980         out of bounds read.
4982 2012-02-29  Marek Polacek  <polacek@redhat.com>
4984         [BZ #13706]
4985         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4986         * elf/Makefile: Add rules to run tst-unused-dep.out.
4988 2012-02-28  David S. Miller  <davem@davemloft.net>
4990         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4991         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4992         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4993         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4994         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4995         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4997 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4999         * math/libm-test.inc (llround_test): Move one test from
5000         lround_test.  Use TEST_f_L in moved test.
5001         (lround_test): Move misplaced test to llround_test.  Add testcase
5002         from bug 2561.
5004 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
5006         * sysdeps/x86_64/fpu/e_expf.S: New file.
5007         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5009 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
5011         [BZ #13637]
5012         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5013         of remain_len that may cause incomplete multi-byte character and
5014         false match.
5015         * posix/bug-regex33.c: New file.
5016         * posix/Makefile (tests): Add bug-regex33.
5018 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
5020         * manual/macros.texi: New file.
5021         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5022         * manual/libc.texinfo: Include macros.texi.
5023         * manual/creatute.texi: Likewise.
5024         * manual/install.texi: Likewise.
5025         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5026         @glibcadj{} in references to the GNU C Library.
5027         * manual/charset.texi: Likewise.
5028         * manual/conf.texi: Likewise.
5029         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
5030         when not using those macros.
5031         * manual/creature.texi: Likewise.
5032         * manual/crypt.texi: Likewise.
5033         * manual/errno.texi: Likewise.
5034         * manual/filesys.texi: Likewise.
5035         * manual/header.texi: Likewise.
5036         * manual/install.texi: Likewise.
5037         * manual/intro.texi: Likewise.
5038         * manual/io.texi: Likewise.
5039         * manual/job.texi: Likewise.
5040         * manual/lang.texi: Likewise.
5041         * manual/libc.texiinfo: Likewise.
5042         * manual/llio.texi: Likewise.
5043         * manual/locale.texi: Likewise.
5044         * manual/maint.texi: Likewise.
5045         * manual/math.texi: Likewise.
5046         * manual/memory.texi: Likewise.
5047         * manual/message.texi: Likewise.
5048         * manual/nss.texi: Likewise.
5049         * manual/pattern.texi: Likewise.
5050         * manual/process.texi: Likewise.
5051         * manual/resource.texi: Likewise.
5052         * manual/search.texi: Likewise.
5053         * manual/setjmp.texi: Likewise.
5054         * manual/signal.texi: Likewise.
5055         * manual/socket.texi: Likewise.
5056         * manual/startup.texi: Likewise.
5057         * manual/stdio.texi: Likewise.
5058         * manual/string.texi: Likewise.
5059         * manual/sysinfo.texi: Likewise.
5060         * manual/syslog.texi: Likewise.
5061         * manual/terminal.texi: Likewise.
5062         * manual/time.texi: Likewise.
5063         * manual/users.texi: Likewise.
5064         * INSTALL: Regenerated.
5065         * NOTES: Regenerated.
5066         * sysdeps/gnu/errlist.c: Regenerated.
5068 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5070         * include/dirent.h: Include <dirstream.h> before
5071         <dirent/dirent.h>.
5073 2012-02-28  David S. Miller  <davem@davemloft.net>
5075         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5076         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5077         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5078         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5080 2012-02-27  David S. Miller  <davem@davemloft.net>
5082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5084         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5085         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5088         frame pointer instead of stack pointer relative arg slot.
5089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5090         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5091         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5093 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
5095         [BZ #3992]
5096         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5098 2012-02-27  David S. Miller  <davem@davemloft.net>
5100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5104         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5105         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5106         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5107         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5109 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5111         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5112         later.  Allow versions 5-9.
5113         * configure: Regenerated.
5114         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5115         required minimum version and 4.6 as recommended version.  Do not
5116         mention bugs in GCC 2.7 and 2.8.
5117         * INSTALL: Regenerated.
5119 2012-02-27  David S. Miller  <davem@davemloft.net>
5121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5125         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5126         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5127         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5128         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5130         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5131         manipulate bits before adding and subtracting TWO112[sx].
5132         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5134 2012-02-27  Roland McGrath  <roland@hack.frob.com>
5136         [BZ #13775]
5137         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5138         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5139         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5140         being in POSIX, because they are in 1003.1-2008.
5142         * rt/tst-aio.c: Include <fcntl.h>.
5143         * rt/tst-aio7.c: Likewise.
5144         * rt/tst-aio64.c: Likewise.
5146         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5148 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5150         * manual/install.texi (--with-headers): Describe headers as
5151         interface headers, not private headers.
5152         (Specific advice for GNU/Linux systems): Describe use of headers
5153         from "make headers_install", not private headers from older
5154         kernels.
5155         * INSTALL: Regenerated.
5156         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5157         Change to 2.6.19.
5158         * sysdeps/unix/sysv/linux/configure: Regenerated.
5160         * manual/llio.texi (fclean): Remove documentation.
5162         * manual/Makefile (libc-texi-generated): New variable.  Include
5163         version.texi.
5164         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5165         $(libc-texi-generated), not duplicated list of files.
5166         (version.texi, stamp-version): New rules.
5167         (realclean): Remove $(libc-texi-generated), not individual files
5168         from that list.  Do not remove dir-add.texinfo.
5169         * manual/libc.texinfo: Comment out uses of edition numbers and
5170         references to printed manual.  Remove last-updated dates.
5171         (EDITION): Comment out.
5172         (ISBN): Likewise.
5173         (VERSION, UPDATED): Remove.
5174         (version.texi): Include.
5176 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
5178         * sysdeps/posix/spawni.c: Include <signal.h>.
5179         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5180         * sysdeps/pthread/aio_fsync.c: Likewise.
5182 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
5184         * conform/Makefile (tests): Run only when not cross-compiling and
5185         when fast-check is not defined.
5187         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5188         * conform/data/limits.h-data: Fixes for POSIX2008.
5189         * conform/run-conformtest.sh: Run all tests.
5190         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5191         headers.
5192         * include/bits/dlfcn.h: Likewise.
5193         * include/langinfo.h: Likewise.
5194         * include/monetary.h: Likewise.
5195         * include/sys/poll.h: Likewise.
5197         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5198         for __USE_GNU.
5199         * posix/spawn.h: Define __need_sigset_t.
5200         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5201         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5202         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
5203         to get sigevent_t only.
5204         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5205         only for __USE_GNU.
5206         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5207         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5208         process_vm_writev only for __USE_GNU.
5209         * termios/termios.h: Declare tcgetsid also for POSIX2008.
5211         * conform/Makefile: For now ignore errors from run-conformtest.
5212         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
5213         POSIX to avoid namespace pollution.  Don't prepend headers.
5214         * conform/data/aio.h-data: Fixes for POSIX testing.
5215         * conform/data/fcntl.h-data: Likewise.
5216         * conform/data/glob.h-data: Likewise.
5217         * conform/data/grp.h-data: Likewise.
5218         * conform/data/pthread.h-data: Likewise.
5219         * conform/data/pwd.h-data: Likewise.
5220         * conform/data/signal.h-data: Likewise.
5221         * conform/data/spawn.h-data: Likewise.
5222         * conform/data/stdio.h-data: Likewise.
5223         * conform/data/stdlib.h-data: Likewise.
5224         * conform/data/stropts.h-data: Likewise.
5225         * conform/data/sys/mman.h-data: Likewise.
5226         * conform/data/sys/stat.h-data: Likewise.
5227         * conform/data/sys/types.h-data: Likewise.
5228         * conform/data/sys/wait.h-data: Likewise.
5229         * conform/data/time.h-data: Likewise.
5230         * conform/data/unistd.h-data: Likewise.
5231         * conform/data/utime.h-data: Likewise.
5233         * io/sys/stat.h: fchmod was always in POSIX.
5234         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5235         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5236         * rt/aio.h: Define __need_timespec before including <time.h>.
5237         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5238         struct.  Add forward declaration of pthread_attr_t and use it in
5239         sigevent.
5240         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5241         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5242         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5243         always remove CLK_TCK definition.
5245 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
5247         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5249 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
5251         * conform/run-conformtest.sh: New file.
5252         * conform/Makefile: Run run-conformtest for tests.
5253         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
5254         support.
5256         * conform/data/uchar.h-data: New file.
5257         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5258         * conform/data/arpa/inet.h-data: Likewise.
5259         * conform/data/assert.h-data: Likewise.
5260         * conform/data/complex.h-data: Likewise.
5261         * conform/data/cpio.h-data: Likewise.
5262         * conform/data/ctype.h-data: Likewise.
5263         * conform/data/dirent.h-data: Likewise.
5264         * conform/data/dlfcn.h-data: Likewise.
5265         * conform/data/errno.h-data: Likewise.
5266         * conform/data/fcntl.h-data: Likewise.
5267         * conform/data/float.h-data: Likewise.
5268         * conform/data/fmtmsg.h-data: Likewise.
5269         * conform/data/fnmatch.h-data: Likewise.
5270         * conform/data/ftw.h-data: Likewise.
5271         * conform/data/glob.h-data: Likewise.
5272         * conform/data/grp.h-data: Likewise.
5273         * conform/data/iconv.h-data: Likewise.
5274         * conform/data/inttypes.h-data: Likewise.
5275         * conform/data/langinfo.h-data: Likewise.
5276         * conform/data/libgen.h-data: Likewise.
5277         * conform/data/limits.h-data: Likewise.
5278         * conform/data/locale.h-data: Likewise.
5279         * conform/data/math.h-data: Likewise.
5280         * conform/data/monetary.h-data: Likewise.
5281         * conform/data/mqueue.h-data: Likewise.
5282         * conform/data/ndbm.h-data: Likewise.
5283         * conform/data/net/if.h-data: Likewise.
5284         * conform/data/netdb.h-data: Likewise.
5285         * conform/data/netinet/in.h-data: Likewise.
5286         * conform/data/nl_types.h-data: Likewise.
5287         * conform/data/poll.h-data: Likewise.
5288         * conform/data/pthread.h-data: Likewise.
5289         * conform/data/pwd.h-data: Likewise.
5290         * conform/data/regex.h-data: Likewise.
5291         * conform/data/sched.h-data: Likewise.
5292         * conform/data/search.h-data: Likewise.
5293         * conform/data/semaphore.h-data: Likewise.
5294         * conform/data/setjmp.h-data: Likewise.
5295         * conform/data/signal.h-data: Likewise.
5296         * conform/data/spawn.h-data: Likewise.
5297         * conform/data/stdarg.h-data: Likewise.
5298         * conform/data/stdio.h-data: Likewise.
5299         * conform/data/stdlib.h-data: Likewise.
5300         * conform/data/string.h-data: Likewise.
5301         * conform/data/strings.h-data: Likewise.
5302         * conform/data/stropts.h-data: Likewise.
5303         * conform/data/sys/ipc.h-data: Likewise.
5304         * conform/data/sys/mman.h-data: Likewise.
5305         * conform/data/sys/msg.h-data: Likewise.
5306         * conform/data/sys/resource.h-data: Likewise.
5307         * conform/data/sys/select.h-data: Likewise.
5308         * conform/data/sys/sem.h-data: Likewise.
5309         * conform/data/sys/shm.h-data: Likewise.
5310         * conform/data/sys/socket.h-data: Likewise.
5311         * conform/data/sys/stat.h-data: Likewise.
5312         * conform/data/sys/statvfs.h-data: Likewise.
5313         * conform/data/sys/time.h-data: Likewise.
5314         * conform/data/sys/timeb.h-data: Likewise.
5315         * conform/data/sys/times.h-data: Likewise.
5316         * conform/data/sys/types.h-data: Likewise.
5317         * conform/data/sys/uio.h-data: Likewise.
5318         * conform/data/sys/un.h-data: Likewise.
5319         * conform/data/sys/utsname.h-data: Likewise.
5320         * conform/data/sys/wait.h-data: Likewise.
5321         * conform/data/syslog.h-data: Likewise.
5322         * conform/data/tar.h-data: Likewise.
5323         * conform/data/termios.h-data: Likewise.
5324         * conform/data/utime.h-data: Likewise.
5325         * conform/data/utmpx.h-data: Likewise.
5326         * conform/data/varargs.h-data: Likewise.
5327         * conform/data/wchar.h-data: Likewise.
5328         * conform/data/wctype.h-data: Likewise.
5329         * conform/data/wordexp.h-data: Likewise.
5331         * include/stropts.h: New file.
5332         * include/uchar.h: New file.
5333         * include/aio.h: Changes to allow conformtest.pl to use the headers.
5334         * include/assert.h: Likewise.
5335         * include/ctype.h: Likewise.
5336         * include/dirent.h: Likewise.
5337         * include/dlfcn.h: Likewise.
5338         * include/fcntl.h: Likewise.
5339         * include/fnmatch.h: Likewise.
5340         * include/glob.h: Likewise.
5341         * include/grp.h: Likewise.
5342         * include/libio.h: Likewise.
5343         * include/locale.h: Likewise.
5344         * include/math.h: Likewise.
5345         * include/net/if.h: Likewise.
5346         * include/netdb.h: Likewise.
5347         * include/netinet/in.h: Likewise.
5348         * include/pthread.h: Likewise.
5349         * include/pwd.h: Likewise.
5350         * include/regex.h: Likewise.
5351         * include/sched.h: Likewise.
5352         * include/search.h: Likewise.
5353         * include/setjmp.h: Likewise.
5354         * include/signal.h: Likewise.
5355         * include/stdio.h: Likewise.
5356         * include/stdlib.h: Likewise.
5357         * include/string.h: Likewise.
5358         * include/sys/cdefs.h: Likewise.
5359         * include/sys/mman.h: Likewise.
5360         * include/sys/msg.h: Likewise.
5361         * include/sys/resource.h: Likewise.
5362         * include/sys/select.h: Likewise.
5363         * include/sys/socket.h: Likewise.
5364         * include/sys/stat.h: Likewise.
5365         * include/sys/statvfs.h: Likewise.
5366         * include/sys/time.h: Likewise.
5367         * include/sys/times.h: Likewise.
5368         * include/sys/uio.h: Likewise.
5369         * include/sys/utsname.h: Likewise.
5370         * include/sys/wait.h: Likewise.
5371         * include/termios.h: Likewise.
5372         * include/time.h: Likewise.
5373         * include/ulimit.h: Likewise.
5374         * include/unistd.h: Likewise.
5375         * include/utime.h: Likewise.
5376         * include/wchar.h: Likewise.
5377         * include/wctype.h: Likewise.
5378         * include/wordexp.h: Likewise.
5380         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5382         * time/time.h: TIME_UTC must be a macro.
5383         Make timespec_get available for ISO C11 only as well.
5385 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
5387         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5388         Reported by Peng Haitao <penght@cn.fujitsu.com>.
5390 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5392         * configure.in: Use -o not -a in test for unsupported multi-arch.
5394 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5396         * manual/texinfo.tex: Update to version 2012-01-19.16.
5398 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5400         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5402 2012-02-24  Roland McGrath  <roland@hack.frob.com>
5404         [BZ #13738]
5405         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5406         * manual/fdl-1.3.texi: New file.
5407         * manual/fdl-1.1.texi: File removed.
5409         [BZ #13738]
5410         * manual/libc.texinfo (FDL_VERSION): New @set.
5411         Use it for mention of FDL in cover text.
5412         (Documentation License): Use it in @include file name.
5414 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5415             Roland McGrath  <roland@hack.frob.com>
5417         [BZ #5461]
5418         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5419         not LONG_LONG_MAX and LONG_LONG_MIN.
5420         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5421         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
5422         name.
5423         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5425 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5427         [BZ #2547]
5428         [BZ #11365]
5429         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5430         manipulate bits before adding and subtracting TWO23[sx].
5431         * math/libm-test.inc (nearbyint_test): Add more tests.
5433 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5435         [BZ #2548]
5436         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5437         bits before adding and subtracting TWO23[sx].
5438         * math/libm-test.inc (rint_test): Add more tests.
5439         (rint_test_tonearest): Likewise.
5440         (rint_test_towardzero): Likewise.
5441         (rint_test_downward): Likewise.
5442         (rint_test_upward: Likewise.
5444 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5446         [BZ #10110]
5447         * include/stdc-predef.h: New file.  Extracted from features.h.
5448         * include/features.h: Include stdc-predef.h.
5449         * Makefile (headers): Add stdc-predef.h.
5450         * CONFORMANCE (Compiler limitations): Update.
5452 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5454         * manual/libc.texinfo (VERSION, UPDATED): Revert.
5456 2012-02-21  David S. Miller  <davem@davemloft.net>
5458         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5459         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5461 2012-02-20  David S. Miller  <davem@davemloft.net>
5463         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5464         using a normal save/restore sequence, rather than allocating a
5465         dummy stack frame just to store a frame pointer and restore.
5466         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5468 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5470         * manual/install.texi: Fix stray word in line-wrapped comment.
5472 2012-02-20  David S. Miller  <davem@davemloft.net>
5474         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5475         both binutils and gcc support GOTDATA.
5477         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5478         "rd %pc" in the PIC register setup sequences.
5480         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5481         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5482         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5483         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5484         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5485         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5486         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5487         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5488         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5489         (SYSCALL_ERROR_HANDLER): Likewise.
5490         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5491         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5492         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5493         (SYSCALL_ERROR_HANDLER): Likewise.
5495         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5496         (HAVE_GCC_GOTDATA): New.
5497         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5498         relocation support in both binutils and gcc.
5499         * sysdeps/sparc/elf/configure: Regenerate.
5501         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5502         * sysdeps/sparc/sparc32/elf/configure: Delete.
5503         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5504         * sysdeps/sparc/sparc64/elf/configure: Delete.
5505         * sysdeps/sparc/elf/configure.in: New file.
5506         * sysdeps/sparc/elf/configure: Generate.
5508         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5509         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5510         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5511         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5512         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5514 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5516         * manual/install.texi: Do not mention specific glibc version
5517         numbers.
5518         * manual/libc.texinfo (VERSION, UPDATED): Update.
5519         (@copying): Use @copyright{} and range of years.
5521 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5523         [BZ #13695]
5524         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5525         [crti.S not in sysdirs] (generated): Do not append.
5526         [crti.S not in sysdirs] (omit-deps): Likewise.
5527         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5528         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5529         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5530         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5531         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5532         Likewise.
5533         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5534         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5535         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5536         * csu/defs.awk: Remove file.
5537         * sysdeps/generic/initfini.c: Likewise.
5538         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5539         variable.
5540         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5541         Likewise.
5543 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5545         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5546         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5547         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5548         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5549         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5550         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5551         <bits/epoll.h>.
5552         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5553         (__EPOLL_PACKED): Define to empty if not defined by
5554         <bits/epoll.h>.
5555         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5557         bits/epoll.h.
5559 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5561         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5562         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5563         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5564         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5565         <bits/timerfd.h>.
5566         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5567         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5568         bits/timerfd.h.
5570 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5572         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5573         in C locale.
5574         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5575         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5576         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5579 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
5581         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5582         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5584 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
5586         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5587         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5588         defined.
5589         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5590         Likewise.
5591         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5592         entry for 2.16.
5594 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
5596         * math/w_acos.c: Use non-signaling floating-point comparisons.
5597         * math/w_acosf.c: Likewise.
5598         * math/w_acosh.c: Likewise.
5599         * math/w_acoshf.c: Likewise.
5600         * math/w_acoshl.c: Likewise.
5601         * math/w_acosl.c: Likewise.
5602         * math/w_asin.c: Likewise.
5603         * math/w_asinf.c: Likewise.
5604         * math/w_asinl.c: Likewise.
5605         * math/w_atanh.c: Likewise.
5606         * math/w_atanhf.c: Likewise.
5607         * math/w_atanhl.c: Likewise.
5608         * math/w_exp2.c: Likewise.
5609         * math/w_exp2f.c: Likewise.
5610         * math/w_exp2l.c: Likewise.
5611         * math/w_j0.c: Likewise.
5612         * math/w_j0f.c: Likewise.
5613         * math/w_j0l.c: Likewise.
5614         * math/w_j1.c: Likewise.
5615         * math/w_j1f.c: Likewise.
5616         * math/w_j1l.c: Likewise.
5617         * math/w_jn.c: Likewise.
5618         * math/w_jnf.c: Likewise.
5619         * math/w_log.c: Likewise.
5620         * math/w_log10.c: Likewise.
5621         * math/w_log10f.c: Likewise.
5622         * math/w_log10l.c: Likewise.
5623         * math/w_log2.c: Likewise.
5624         * math/w_log2f.c: Likewise.
5625         * math/w_log2l.c: Likewise.
5626         * math/w_logf.c: Likewise.
5627         * math/w_logl.c: Likewise.
5628         * math/w_sqrt.c: Likewise.
5629         * math/w_sqrtf.c: Likewise.
5630         * math/w_sqrtl.c: Likewise.
5631         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5632         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5633         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5634         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5635         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5637 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5639         [BZ #9739]
5640         * manual/string.texi (strnlen): Use correct parameter name in
5641         equivalent expression.
5643 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5645         [BZ #11174]
5646         * manual/users.texi (seteuid): Consistently use neweuid for
5647         argument name.
5649 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5651         [BZ #13704]
5652         * manual/nss.texi (Services in the NSS configuration): Correct
5653         list of services in example configuration file.
5655 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
5657         [BZ #11322]
5658         * manual/arith.texi: Remove statements about negative zero
5659         behaving identically to zero.
5661 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5663         [BZ #5993]
5664         * manual/install.texi: Do not document upgrading from libc5.
5666 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5668         [BZ #4596]
5669         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5671 2012-02-18  David S. Miller  <davem@davemloft.net>
5673         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5674         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5675         %o7 across the call.
5676         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5677         instead.
5678         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5679         SETUP_PIC_REG_LEAF.
5680         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5681         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5682         * sysdeps/sparc/crtn.S: Likewise.
5684 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
5686         * aout/Makefile: Remove.
5688 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
5690         [BZ #13058]
5691         * manual/examples/argp-ex1.c (main): Format definition in GNU
5692         style.
5693         * manual/examples/argp-ex2.c (main): Likewise.
5694         * manual/examples/argp-ex3.c (main): Likewise.
5695         * manual/examples/argp-ex4.c (main): Likewise.
5696         * manual/examples/longopt.c (main): Use new-style prototype
5697         definition.
5698         * manual/examples/strncat.c (main): Specify return type and use
5699         (void) for arguments.
5700         * manual/examples/subopt.c (main): Use char **argv argument.
5702 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5704         [BZ #5077]
5705         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5706         rounding modes.
5708 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
5710         [BZ #6907]
5711         * manual/string.texi (strchr): Change when strchrnul is
5712         recommended.
5714 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
5716         [BZ #174]
5717         * manual/locale.texi (setlocale): Document LOCPATH.
5719 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5721         [BZ #10210]
5722         * manual/process.texi (execle): Move @dots{} before last argument.
5724 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
5726         [BZ #12047]
5727         * manual/charset.texi (Generic Charset Conversion): Fix typo
5728         (LC_TYPE -> LC_CTYPE).
5730 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
5732         [BZ #5805]
5733         * manual/arith.texi (scalbn): Use @var{} on parameter names.
5734         (scalbnf): Likewise.
5735         (scalbnl): Likewise.
5736         (scalbln): Likewise.
5737         (scalblnf): Likewise.
5738         (scalblnl): Likewise.
5739         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5740         (vwarnx): Likewise.
5741         (verr): Likewise.
5742         (verrx): Likewise.
5743         * manual/filesys.texi (telldir): Use braces around return type.
5744         * manual/llio.texi (mmap): Add space after comma.
5745         (mmap64): Likewise.
5746         * manual/math.texi (jn): Use @var{} on parameter names.
5747         (jnf): Likewise.
5748         (jnl): Likewise.
5749         (yn): Likewise.
5750         (ynf): Likewise.
5751         (ynl): Likewise.
5752         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5753         line.
5754         * manual/resource.texi (ulimit): Use @dots{} instead of literal
5755         "...".
5756         (sched_get_priority_min): Remove semicolon on @deftypefun line.
5757         (sched_get_priority_max): Likewise.
5758         * manual/signal.texi (sigvec): Add space after comma.
5759         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5760         names.
5761         (if_indextoname): Likewise.
5762         (if_freenameindex): Likewise.
5763         (sendto): Use ',' instead of '.' in prototype.
5764         * manual/startup.texi (syscall): Use @dots{} instead of literal
5765         "...".
5766         * manual/stdio.texi (__fpending): Separate initial words of
5767         paragraph from @deftypefun line.
5768         * manual/syslog.texi (syslog): Use @dots{} instead of literal
5769         "...".
5770         (vsyslog): Use @var{} on parameter names.
5771         * manual/terminal.texi (stty): Use @var{} on parameter names.
5772         * manual/users.texi (getutmp): Use @var{} on parameter names.
5773         (getutmpx): Likewise.
5775 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5777         [BZ #6884]
5778         * manual/stdio.texi (fopen): Fix typos in description of
5779         ",ccs=STRING".
5781 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
5783         [BZ #4026]
5784         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5785         get clock_id definition.
5787 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
5789         [BZ #4822]
5790         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5791         (madvise): Cast every argument to void on its own.
5793 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5795         [BZ #9902]
5796         * manual/startup.texi (Exit Status): Fix typo.
5798 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5800         [BZ #10140]
5801         * manual/examples/argp-ex1.c: Include <stdlib.h>.
5802         * manual/examples/argp-ex2.c: Likewise.
5803         * manual/examples/argp-ex3.c: Likewise.
5805 2012-02-16  Richard Henderson  <rth@redhat.com>
5807         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5808         * sysdeps/s390/s390-32/initfini.c: Remove.
5809         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5810         * sysdeps/s390/s390-64/initfini.c: Remove.
5812 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5814         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5815         compiler output for sysdeps/generic/initfini.c.
5816         * sysdeps/sh/elf/initfini.c: Remove file.
5818 2012-02-16  David S. Miller  <davem@davemloft.net>
5820         [BZ #11494]
5821         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5823         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5824         * sysdeps/sparc/crti.S: New file.
5825         * sysdeps/sparc/crtn.S: New file.
5826         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5827         * sysdeps/sparc/sparc64/Makefile: Likewise.
5829 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
5831         [BZ #3335]
5832         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5834 2012-02-15  Roland McGrath  <roland@hack.frob.com>
5836         [BZ #4822]
5837         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5839         * mach/devstream.c (cookie_io_functions_t): Macro removed.
5840         (write, read, close): Likewise.
5841         Patch by Aurelien Jarno <aurelien@aurel32.net>.
5843 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
5845         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5846         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5847         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5848         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5849         <bits/signalfd.h>.
5850         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5851         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5852         bits/signalfd.h.
5854 2012-02-14  Marek Polacek  <polacek@redhat.com>
5856         * sysdeps/x86_64/crti.S: New file.
5857         * sysdeps/x86_64/crtn.S: New file.
5858         * sysdeps/x86_64/elf/initfini.c: Remove file.
5860 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5862         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5863         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5864         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5865         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5866         <bits/inotify.h>.
5867         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5868         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5869         bits/inotify.h.
5871 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5873         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5874         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5875         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5876         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5877         <bits/eventfd.h>.
5878         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5879         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5880         bits/eventfd.h.
5882 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
5884         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5885         __feraiseexcept instead of feraiseexcept.
5887         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5888         nanosleep invocations.
5889         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5890         strings, and add error checking for a nanosleep invocations.
5892 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
5894         Replace FSF snail mail address with URLs, as per GNU coding standards.
5895         Most of the snail mail addresses were wrong anyway, and omitting
5896         them makes the source code easier to maintain.  Almost all of the
5897         changes are to license notices and to locale LC_IDENTIFICATION
5898         addresses, except for this one:
5899         * manual/libc.texinfo: In "Published by", give the FSF's URL,
5900         not its snail mail address.
5902 2012-02-09  Richard Henderson  <rth@twiddle.net>
5904         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5905         of kernel-features.h.
5907         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5909 2012-02-08  Marek Polacek  <polacek@redhat.com>
5911         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5912         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5913         * sysdeps/gnu/_G_config.h: Likewise.
5914         * sysdeps/generic/_G_config.h: Likewise.
5916 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5918         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5919         tests.
5920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5922         * sysdeps/powerpc/powerpc32/crti.S: New file.
5923         * sysdeps/powerpc/powerpc32/crtn.S: New file.
5924         * sysdeps/powerpc/powerpc64/crti.S: New file.
5925         * sysdeps/powerpc/powerpc64/crtn.S: New file.
5927         * Makeconfig (have-initfini): Don't set.
5928         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5929         * configure.in (nopic_initfini): Don't substitute.
5930         * config.h.in (HAVE_INITFINI): Don't #undef.
5931         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5932         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5934 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
5936         Support crti.S and crtn.S provided directly by architectures.
5937         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5938         [crti.S in sysdirs] (omit-deps): Likewise.
5939         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5940         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5941         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5942         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5943         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5944         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5945         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5946         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5947         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5948         compiler output for sysdeps/generic/initfini.c.
5949         * sysdeps/i386/elf/Makefile: Remove file.
5950         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5952 2012-02-07  Marek Polacek  <polacek@redhat.com>
5954         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5955         * sysdeps/gnu/_G_config.h: Likewise.
5956         * sysdeps/mach/hurd/_G_config.h: Likewise.
5958 2012-02-07  Marek Polacek  <polacek@redhat.com>
5960         * math/Makefile (tests): Add tst-CMPLX2.
5961         * math/tst-CMPLX2.c: New file.
5963 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
5965         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5967         * math/libm-test.inc (jn_test): Add missing L suffix.
5969 2012-02-06  Marek Polacek  <polacek@redhat.com>
5971         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5972         * sysdeps/i386/fpu/e_powf.S: Likewise.
5973         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5974         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5975         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5976         * sysdeps/i386/fpu/e_pow.S: Likewise.
5977         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5978         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5979         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5980         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5981         * sysdeps/i386/fpu/e_log2.S: Likewise.
5982         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5983         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5984         * sysdeps/i386/fpu/e_powl.S: Likewise.
5985         * sysdeps/i386/fpu/s_log1p.S: Likewise.
5986         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5987         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5988         * sysdeps/i386/fpu/e_logl.S: Likewise.
5989         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5990         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5991         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5992         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5993         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5994         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5995         * sysdeps/i386/fpu/e_log.S: Likewise.
5996         * sysdeps/i386/fpu/s_cexp.S: Likewise.
5997         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5998         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5999         * sysdeps/i386/fpu/e_logf.S: Likewise.
6000         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6001         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6002         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6003         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6004         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6005         * sysdeps/i386/fpu/e_log10.S: Likewise.
6006         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6007         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6008         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6009         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6010         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6011         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6012         * sysdeps/i386/asm-syntax.h: Likewise.
6013         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6014         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6015         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6016         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6017         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6018         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6019         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6020         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6021         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6022         * sysdeps/powerpc/sysdep.h: Likewise.
6023         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6024         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6026 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
6028         [BZ #411]
6029         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6031 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
6033         * sysdeps/i386/sysdep.h: Include <features.h>.
6034         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6035         version.
6037 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
6039         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6040         Define.
6041         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6042         LOAD_PIC_REG_STR.
6044 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6046         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6047         (SETUP_PIC_REG): Use GET_PC_THUNK.
6048         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6049         macro.
6051 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6053         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6054         for non-PIC compilation.
6055         (SETUP_PIC_REG): Add .p2align directive.
6056         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6057         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6058         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6059         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6060         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6061         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6062         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6063         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6064         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6065         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6066         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6067         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6068         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6069         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6070         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6071         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6072         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6073         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6074         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6075         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6076         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6077         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6078         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6079         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6080         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6081         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6082         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6083         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6084         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6085         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6086         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6087         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6088         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6089         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6090         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6091         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6092         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6093         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6094         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6095         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6096         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6098 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6100         * math/tst-CMPLX.c: Include <stdio.h>.
6102 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
6104         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6105         float.
6106         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6107         * sysdeps/sparc/bits/mathdef.h: Likewise.
6109 2012-01-31  Marek Polacek  <polacek@redhat.com>
6111         * libio/libio.h: Don't define _PARAMS.
6112         * locale/programs/config.h: Don't define PARAMS.
6113         * stdlib/strtol_l.c: Likewise.
6114         (__strtol_l): Remove PARAMS from the prototype.
6116 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
6118         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
6119         names.  Just use the correct names.  Remove unnecessary wrapper
6120         functions.
6121         * malloc/arena.c: Likewise.
6122         * malloc/hooks.c: Likewise.
6124         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6125         ARENA_TEST says not to.  Simplify test for creation of a new arena.
6126         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6128 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
6130         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6131         into tail calls.
6132         (update_get_addr): New function.
6133         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6134         GET_ADDR_MODULE parameter.
6136 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
6138         * crypt/cert.c: Remove __STDC__ conditionals.
6139         * crypt/crypt-entry.c: Likewise.
6140         * crypt/crypt_util.c: Likewise.
6141         * libio/filedoalloc.c: Likewise.
6142         * libio/fileops.c: Likewise.
6143         * libio/genops.c: Likewise.
6144         * libio/iofclose.c: Likewise.
6145         * libio/iofdopen.c: Likewise.
6146         * libio/iofopen.c: Likewise.
6147         * libio/iofopen64.c: Likewise.
6148         * libio/iogetdelim.c: Likewise.
6149         * libio/iopopen.c: Likewise.
6150         * libio/obprintf.c: Likewise.
6151         * libio/oldfileops.c: Likewise.
6152         * libio/oldiofclose.c: Likewise.
6153         * libio/oldiofdopen.c: Likewise.
6154         * libio/oldiofopen.c: Likewise.
6155         * libio/oldiopopen.c: Likewise.
6156         * libio/wfiledoalloc.c: Likewise.
6157         * libio/wgenops.c: Likewise.
6158         * locale/programs/xmalloc.c: Likewise.
6159         * misc/syslog.c: Likewise.
6160         * stdio-common/xbug.c: Likewise.
6161         * string/memchr.c: Likewise.
6162         * string/memcmp.c: Likewise.
6163         * string/memrchr.c: Likewise.
6164         * string/rawmemchr.c: Likewise.
6165         * sysdeps/posix/getcwd.c: Likewise.
6166         * time/strftime_l.c: Likewise.
6168 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
6170         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6171         * config.make.in (config-cflags-sse2avx): Define.
6172         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6173         Fix typo.
6175 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
6177         * scripts/config.guess: Update from upstream config git repository.
6178         * scripts/config.sub: Likewise.
6180 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
6182         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6183         (EM_NUM): Update.
6184         (R_TILEPRO_*, R_TILEGX_*): New macros.
6186         * scripts/firstversions.awk: Fix bug in version range handling.
6188         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6190         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6192         * include/sys/epoll.h: New file.
6193         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6194         libc_hidden_def.
6196 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
6198         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6199         Avoid unnecessary __WORDSIZE == 64 test.
6200         (fmaxf): Use VEX format if possible.
6201         (fmax): Likewise.
6202         (fminf): Likewise.
6203         (fmin): Likewise.
6205         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6206         * math/math_private.h: Remove libc_fegetround* and
6207         libc_fesetround*.
6208         * sysdeps/i386/configure.in: Check for -msse2avx.
6209         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6210         also if SSE2AVX is defined.
6211         Remove libc_fegetround* and libc_fesetround*.
6212         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6213         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
6214         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6215         of HAS_YMM_USABLE.
6216         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6217         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6218         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6219         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6220         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6222         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6224 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6226         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6227         size is not set.
6228         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6230 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
6232         [BZ #13618]
6233         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6234         relocation.
6235         * Makeconfig (libm): Define.
6236         * elf/Makefile: Add rules to build and run tst-relsort1.
6237         * elf/tst-relsort1.c: New file.
6238         * elf/tst-relsort1mod1.c: New file.
6239         * elf/tst-relsort1mod2.c: New file.
6241 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
6243         * math/s_ldexp.c: Remove __STDC__ conditionals.
6244         * math/s_ldexpf.c: Likewise.
6245         * math/s_ldexpl.c: Likewise.
6246         * math/s_nextafter.c: Likewise.
6247         * math/s_nexttowardf.c: Likewise.
6248         * math/s_significand.c: Likewise.
6249         * math/s_significandf.c: Likewise.
6250         * math/s_significandl.c: Likewise.
6251         * math/w_jnl.c: Likewise.
6252         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6253         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6254         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6255         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6256         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6257         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6258         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6259         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6260         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6261         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6262         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6263         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6264         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6265         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6266         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6267         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6268         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6269         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6270         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6271         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6272         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6273         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6274         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6275         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6276         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6277         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6278         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6279         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6280         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6281         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6282         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6283         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6284         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6285         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6286         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6287         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6288         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6289         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6290         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6291         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6292         * sysdeps/ieee754/k_standard.c: Likewise.
6293         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6294         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6295         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6296         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6297         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6298         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6299         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6300         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6301         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6302         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6303         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6304         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6305         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6306         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6307         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6308         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6309         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6310         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6311         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6312         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6313         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6314         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6315         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6316         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6317         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6318         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6319         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6320         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6321         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6322         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6323         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6324         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6325         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6326         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6327         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6328         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6329         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6330         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6331         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6332         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6334         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6335         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6336         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6337         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6338         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6339         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6340         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6341         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6342         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6343         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6346         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6347         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6348         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6349         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6350         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6351         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6352         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6353         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6354         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6355         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6356         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6357         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6358         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6359         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6360         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6361         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6362         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6363         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6364         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6365         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6366         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6367         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6368         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6369         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6370         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6371         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6372         * sysdeps/ieee754/s_matherr.c: Likewise.
6373         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6374         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6375         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6376         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6378 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6380         * crypt/md5.h: Remove __STDC__ conditionals.
6381         * libio/libioP.h: Likewise.
6382         * locale/programs/config.h: Likewise.
6383         * sysdeps/generic/sysdep.h: Likewise.
6384         * sysdeps/i386/asm-syntax.h: Likewise.
6385         * sysdeps/s390/asm-syntax.h: Likewise.
6386         * sysdeps/unix/sysdep.h: Likewise.
6387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6390 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6392         * libio/libio.h: Remove __STDC__ conditionals.
6393         * malloc/obstack.h: Likewise.
6394         * math/complex.h: Likewise.
6395         * math/math.h: Likewise.
6396         * sysdeps/generic/_G_config.h: Likewise.
6397         * sysdeps/gnu/_G_config.h: Likewise.
6398         * sysdeps/mach/hurd/_G_config.h: Likewise.
6399         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6400         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6401         * sysdeps/sparc/bits/mathdef.h: Likewise.
6403 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
6405         [BZ #13583]
6406         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6407         Clean up HAS_* macros.
6408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6409         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6410         possible.
6411         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6412         HAS_AVX.
6413         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6414         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6415         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6416         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6417         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6419 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
6421         * elf/tst-unique3.cc (gets): Remove declaration.
6422         * elf/tst-unique3lib.cc (gets): Likewise.
6423         * elf/tst-unique3lib2.cc (gets): Likewise.
6424         * elf/tst-unique4.cc (gets): Likewise.
6426 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
6428         * include/stdio.h: Add C++ protection.  Add gets declarations and
6429         definitions.
6430         * debug/tst-chk1.c: Don't declare gets here.
6431         * stdio-common/tst-gets.c: Likewise.
6433 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6435         * posix/glob: Remove directory.
6437 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6439         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6441 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
6443         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6444         of the non-standard EPFNOSUPPORT.
6446 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6448         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6449         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6450         ANYWHERE set to 1 only on KERN_NO_SPACE error.
6452 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
6454         * wcsmbs/uchar.h: Test __STDC_VERSION__.
6456 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
6458         * nscd/aicache.c (addhstaiX): Do not cache negative results of
6459         transient errors.
6460         * nscd/grpcache.c (cache_addgr): Likewise.
6461         * nscd/hstcache.c (cache_addhst): Likewise.
6462         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6463         * nscd/pwdcache.c (cache_addpw): Likewise.
6464         * nscd/servicescache.c (cache_addserv): Likewise.
6466 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
6468         * malloc/malloc.c: Various cleanups.
6469         * malloc/hooks.c: Likewise.
6471         * stdlib/Makefile (tests): Add bug-fmtmsg1.
6472         * stdlib/bug-fmtmsg1.c: New file.
6474         * stdlib/fmtmsg.c (init): Add missing unlock.
6475         Patch by Peng Haitao <penght@cn.fujitsu.com>.
6477 2012-01-12  Marek Polacek  <polacek@redhat.com>
6479         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6480         and _GNU_SOURCE.
6482 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
6484         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6485         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6486         macro to ensure uniqueness of label name.
6487         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6488         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6490 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
6492         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6494         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6495         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6496         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6497         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6499 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
6501         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6503         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6504         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6505         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6507         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6509         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6510         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6511         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6512         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6514         * math/bits/math-finite.h: Add ldexp support.
6516 2012-01-10  Marek Polacek  <polacek@redhat.com>
6518         * locale/programs/localedef.h (show_archive_content): Add noreturn
6519         attribute.
6521 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
6523         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6525 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6527         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6529         * io/Makefile (headers): Add bits/poll2.h.
6531 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
6533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6534         typo #include statement.
6536 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6538         * include/sys/cdefs.h: Define __attribute_alloc_size.
6539         * catgets/gencat.c: Add alloc_size attribute and apply consistently
6540         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6541         * elf/pldd.c: Likewise.
6542         * iconv/iconv_charmap.c: Likewise.
6543         * iconv/iconvconfig.c: Likewise.
6544         * iconv/strtab.c: Likewise.
6545         * locale/programs/locale.c: Likewise.
6546         * locale/programs/localedef.h: Likewise.
6547         * locale/programs/simple-hash.c: Likewise.
6548         * nscd/nscd.h: Likewise.
6549         * nss/makedb.c: Likewise.
6550         * sysdeps/generic/ldconfig.h: Likewise.
6551         * locale/programs/localedef.c: Remove xmalloc prototype.
6552         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6554 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6556         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6557         appropriate.
6559 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6561         * math/Makefile (tests): Add tst-CMPLX.
6562         * math/tst-CMPLX.c: New file.
6564         * math/complex.h (CMPLXL): Fix typo.
6566         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6567         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6568         GLIBC_2.16.
6569         * debug/tst-chk1.c: Add poll and ppoll tests.
6570         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6571         * include/sys/poll.h: Add hidden proto for ppoll.
6572         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6573         * sysdeps/mach/hurd/ppoll.c: Likewise.
6574         * io/ppoll.c: Likewise.
6575         * debug/poll_chk.c: New file.
6576         * debug/ppoll_chk.c: New file.
6577         * include/bits/poll2.h: New file.
6578         * io/bits/poll2.h: New file.
6580         [BZ #1350]
6581         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6583         * configure.in: static is always set to yes.  Remove.
6584         * config.make.in: Don't set build-static.
6585         * Makeconfig: Remove use of build-static.
6586         * dlfcn/Makefile: Likewise.
6587         * elf/Makefile: Likewise.
6588         * math/Makefile: Likewise.
6589         * misc/Makefile: Likewise.
6590         * nptl/Makefile: Likewise.
6591         * sysdeps/mach/hurd/Makefile: Likewise.
6593         * configure.in: PWD_P is not used anymore.
6594         * config.make.in: Remove PWD_P entry.
6596         * configure.in: Remove last remnants of RANLIB.
6597         No need to check for signed size_t anymore.
6598         Don't set libc_commonpagesize and libc_relro_required here for Alpha
6599         and IA-64.
6600         Remove __builtin_expect test because we require at least gcc 3.4.
6601         * aclocal.m4: Likewise.
6603         * wcsmbs/mbrtoc16.c: Implement using towc function.
6604         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6605         * wcsmbs/wcsmbsload.c: Likewise.
6606         * iconv/gconv_simple.c: Likewise.
6607         * iconv/gconv_int.h: Likewise.
6608         * iconv/gconv_builtin.h: Likewise.
6609         * iconv/iconv_prog.c: Remove CHAR16 handling.
6611         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6613         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6615         * configure.in: Remove --with-elf and --enable-bounded options.
6616         Dont set base_machine for ia64.  More non-ELF conditions removed.
6617         Remove testing and setting of leading underscore information.
6618         * config.make.in (build-bounded): Set to no.
6619         * config.h.in: Remove NO_UNDERSCORES entry.
6620         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
6621         them.
6622         * csu/start.c: Remove !NO_UNDERSCORE code.
6623         * locale/localeinfo.h: Likewise.
6624         * sysdeps/generic/machine-gmon.h: Likewise.
6625         * sysdeps/generic/sysdep.h: Likewise.
6626         * sysdeps/i386/sysdep.h: Likewise.
6627         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6628         * sysdeps/mach/sysdep.h: Likewise.
6629         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6630         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6631         * sysdeps/sh/sysdep.h: Likewise.
6632         * sysdeps/sparc/sparc32/alloca.S: Likewise.
6633         * sysdeps/unix/i386/sysdep.S: Likewise.
6634         * sysdeps/unix/sparc/start.c: Likewise.
6635         * sysdeps/unix/sparc/sysdep.S: Likewise.
6636         * sysdeps/unix/sparc/sysdep.h: Likewise.
6637         * sysdeps/unix/start.c: Likewise.
6638         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6639         * sysdeps/x86_64/sysdep.h: Likewise.
6641 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
6643         [BZ #13553]
6644         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6645         for non-gcc.
6646         * argp/argp-fmtstream.h: Use const instead __const.
6647         * argp/argp.h: Likewise.
6648         * assert/assert.h: Likewise.
6649         * bits/fenv.h: Likewise.
6650         * bits/sched.h: Likewise.
6651         * bits/sigset.h: Likewise.
6652         * bits/sigthread.h: Likewise.
6653         * catgets/nl_types.h: Likewise.
6654         * conform/data/pthread.h-data: Likewise.
6655         * crypt/crypt-private.h: Likewise.
6656         * crypt/crypt.h: Likewise.
6657         * crypt/crypt_util.c: Likewise.
6658         * ctype/ctype.h: Likewise.
6659         * debug/execinfo.h: Likewise.
6660         * debug/mbsnrtowcs_chk.c: Likewise.
6661         * debug/mbsrtowcs_chk.c: Likewise.
6662         * debug/wcsnrtombs_chk.c: Likewise.
6663         * debug/wcsrtombs_chk.c: Likewise.
6664         * debug/wcstombs_chk.c: Likewise.
6665         * dirent/dirent.h: Likewise.
6666         * dlfcn/dlfcn.h: Likewise.
6667         * elf/neededtest4.c: Likewise.
6668         * grp/grp.h: Likewise.
6669         * gshadow/gshadow.h: Likewise.
6670         * iconv/gconv.h: Likewise.
6671         * iconv/gconv_int.h: Likewise.
6672         * iconv/gconv_simple.c: Likewise.
6673         * iconv/iconv.h: Likewise.
6674         * iconv/loop.c: Likewise.
6675         * iconv/skeleton.c: Likewise.
6676         * include/aio.h: Likewise.
6677         * include/aliases.h: Likewise.
6678         * include/argz.h: Likewise.
6679         * include/arpa/inet.h: Likewise.
6680         * include/assert.h: Likewise.
6681         * include/dirent.h: Likewise.
6682         * include/dlfcn.h: Likewise.
6683         * include/execinfo.h: Likewise.
6684         * include/fcntl.h: Likewise.
6685         * include/fenv.h: Likewise.
6686         * include/glob.h: Likewise.
6687         * include/grp.h: Likewise.
6688         * include/libintl.h: Likewise.
6689         * include/mntent.h: Likewise.
6690         * include/netdb.h: Likewise.
6691         * include/pwd.h: Likewise.
6692         * include/rpc/netdb.h: Likewise.
6693         * include/sched.h: Likewise.
6694         * include/search.h: Likewise.
6695         * include/shadow.h: Likewise.
6696         * include/signal.h: Likewise.
6697         * include/stdio.h: Likewise.
6698         * include/stdlib.h: Likewise.
6699         * include/string.h: Likewise.
6700         * include/sys/socket.h: Likewise.
6701         * include/sys/stat.h: Likewise.
6702         * include/sys/statfs.h: Likewise.
6703         * include/sys/statvfs.h: Likewise.
6704         * include/sys/syslog.h: Likewise.
6705         * include/sys/time.h: Likewise.
6706         * include/sys/uio.h: Likewise.
6707         * include/time.h: Likewise.
6708         * include/unistd.h: Likewise.
6709         * include/utmp.h: Likewise.
6710         * include/wchar.h: Likewise.
6711         * include/wctype.h: Likewise.
6712         * inet/aliases.h: Likewise.
6713         * inet/arpa/inet.h: Likewise.
6714         * inet/netinet/ether.h: Likewise.
6715         * inet/netinet/in.h: Likewise.
6716         * intl/libintl.h: Likewise.
6717         * io/bits/fcntl2.h: Likewise.
6718         * io/fcntl.h: Likewise.
6719         * io/ftw.h: Likewise.
6720         * io/sys/poll.h: Likewise.
6721         * io/sys/stat.h: Likewise.
6722         * io/sys/statfs.h: Likewise.
6723         * io/sys/statvfs.h: Likewise.
6724         * io/utime.h: Likewise.
6725         * libio/bits/stdio.h: Likewise.
6726         * libio/bits/stdio2.h: Likewise.
6727         * libio/libio.h: Likewise.
6728         * libio/libioP.h: Likewise.
6729         * libio/stdio.h: Likewise.
6730         * locale/lc-ctype.c: Likewise.
6731         * locale/locale.h: Likewise.
6732         * login/utmp.h: Likewise.
6733         * malloc/arena.c: Likewise.
6734         * malloc/malloc.c: Likewise.
6735         * malloc/malloc.h: Likewise.
6736         * malloc/mcheck.c: Likewise.
6737         * malloc/mtrace.c: Likewise.
6738         * math/bits/mathcalls.h: Likewise.
6739         * math/fenv.h: Likewise.
6740         * math/math_private.h: Likewise.
6741         * misc/bits/error.h: Likewise.
6742         * misc/bits/syslog.h: Likewise.
6743         * misc/err.h: Likewise.
6744         * misc/error.h: Likewise.
6745         * misc/fstab.h: Likewise.
6746         * misc/mntent.h: Likewise.
6747         * misc/regexp.h: Likewise.
6748         * misc/search.h: Likewise.
6749         * misc/sgtty.h: Likewise.
6750         * misc/sys/mman.h: Likewise.
6751         * misc/sys/syslog.h: Likewise.
6752         * misc/sys/uio.h: Likewise.
6753         * misc/sys/xattr.h: Likewise.
6754         * misc/ttyent.h: Likewise.
6755         * nis/rpcsvc/ypclnt.h: Likewise.
6756         * nss/nss.h: Likewise.
6757         * posix/bits/unistd.h: Likewise.
6758         * posix/fnmatch.h: Likewise.
6759         * posix/glob.h: Likewise.
6760         * posix/sched.h: Likewise.
6761         * posix/spawn.h: Likewise.
6762         * posix/sys/wait.h: Likewise.
6763         * posix/unistd.h: Likewise.
6764         * posix/wordexp.h: Likewise.
6765         * pwd/pwd.h: Likewise.
6766         * resolv/netdb.h: Likewise.
6767         * resource/sys/resource.h: Likewise.
6768         * rt/aio.h: Likewise.
6769         * rt/bits/mqueue2.h: Likewise.
6770         * rt/mqueue.h: Likewise.
6771         * shadow/shadow.h: Likewise.
6772         * signal/signal.h: Likewise.
6773         * socket/send.c: Likewise.
6774         * socket/sendto.c: Likewise.
6775         * socket/sys/socket.h: Likewise.
6776         * stdio-common/printf.h: Likewise.
6777         * stdlib/bits/stdlib.h: Likewise.
6778         * stdlib/fmtmsg.h: Likewise.
6779         * stdlib/monetary.h: Likewise.
6780         * stdlib/stdlib.h: Likewise.
6781         * stdlib/ucontext.h: Likewise.
6782         * streams/stropts.h: Likewise.
6783         * string/argz.h: Likewise.
6784         * string/bits/string2.h: Likewise.
6785         * string/string.h: Likewise.
6786         * string/strings.h: Likewise.
6787         * sunrpc/rpc/auth.h: Likewise.
6788         * sunrpc/rpc/auth_des.h: Likewise.
6789         * sunrpc/rpc/clnt.h: Likewise.
6790         * sunrpc/rpc/netdb.h: Likewise.
6791         * sunrpc/rpc/pmap_clnt.h: Likewise.
6792         * sunrpc/rpc/xdr.h: Likewise.
6793         * sysdeps/generic/inttypes.h: Likewise.
6794         * sysdeps/generic/net/if.h: Likewise.
6795         * sysdeps/generic/sys/swap.h: Likewise.
6796         * sysdeps/gnu/net/if.h: Likewise.
6797         * sysdeps/gnu/utmpx.h: Likewise.
6798         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6799         * sysdeps/i386/i486/bits/string.h: Likewise.
6800         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6801         * sysdeps/s390/bits/string.h: Likewise.
6802         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6803         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6804         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6805         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6806         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6807         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6808         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6809         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6810         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6811         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6812         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6813         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6814         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6815         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6816         * sysdeps/unix/sysv/linux/readv.c: Likewise.
6817         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6818         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6819         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6820         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6821         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6822         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6823         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6824         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6825         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6826         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6827         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6828         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6829         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6830         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6831         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6832         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6833         * sysvipc/sys/ipc.h: Likewise.
6834         * sysvipc/sys/msg.h: Likewise.
6835         * sysvipc/sys/sem.h: Likewise.
6836         * sysvipc/sys/shm.h: Likewise.
6837         * termios/termios.h: Likewise.
6838         * time/sys/time.h: Likewise.
6839         * time/time.h: Likewise.
6840         * wcsmbs/bits/wchar2.h: Likewise.
6841         * wcsmbs/uchar.h: Likewise.
6842         * wcsmbs/wchar.h: Likewise.
6843         * wctype/wctype.h: Likewise.
6845         [BZ #13551]
6846         * Makeconfig: Remove all but ELF support including AIX support.
6847         * Makerules: Likewise.
6848         * config.h.in: Likewise.
6849         * config.make.in: Likewise.
6850         * configure: Likewise.
6851         * configure.in: Likewise.
6852         * csu/Makefile: Likewise.
6853         * csu/version.c: Likewise.
6854         * debug/Makefile: Likewise.
6855         * dlfcn/Makefile: Likewise.
6856         * elf/Makefile: Likewise.
6857         * extra-lib.mk: Likewise.
6858         * iconv/Makefile: Likewise.
6859         * include/libc-symbols.h: Likewise.
6860         * include/shlib-compat.h: Likewise.
6861         * resolv/Makefile: Likewise.
6862         * resolv/res_libc.c: Likewise.
6863         * rt/Makefile: Likewise.
6864         * sysdeps/i386/asm-syntax.h: Likewise.
6865         * sysdeps/i386/sysdep.h: Likewise.
6866         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6867         * sysdeps/mach/sysdep.h: Likewise.
6868         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6869         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6870         * sysdeps/s390/asm-syntax.h: Likewise.
6871         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6872         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6873         * sysdeps/sh/sysdep.h: Likewise.
6874         * sysdeps/unix/sparc/sysdep.h: Likewise.
6875         * sysdeps/wordsize-32/divdi3.c: Likewise.
6876         * sysdeps/x86_64/sysdep.h: Likewise.
6878         * argp/Versions: Remove _argp_unlock_xxx.
6880         [BZ #13559]
6881         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
6882         * abilist/libBrokenLocale.abilist: Likewise.
6883         * abilist/libanl.abilist: Likewise.
6884         * abilist/libc.abilist: Likewise.
6885         * abilist/libcrypt.abilist: Likewise.
6886         * abilist/libdl.abilist: Likewise.
6887         * abilist/libm.abilist: Likewise.
6888         * abilist/libnsl.abilist: Likewise.
6889         * abilist/libpthread.abilist: Likewise.
6890         * abilist/libresolv.abilist: Likewise.
6891         * abilist/librt.abilist: Likewise.
6892         * abilist/libthread_db.abilist: Likewise.
6893         * abilist/libutil.abilist: Likewise.
6894         * abilist/libnss_db.abilist: New file.
6896         * scripts/abilist.awk: Add support for indirect functions.
6898         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6900         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6902         * shlib-versions: Remove entries for ports architectures.
6904         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
6905         files in ports.
6906         * elf/stackguard-macros.h: Remove support for IA-64.
6907         * elf/tst-auditmod1.c: Likewise.
6908         * sysdeps/generic/ldsodefs.h: Likewise.
6910         * sysdeps/unix/sysv/linux/configure.in: Ports should define
6911         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6912         configure files.
6914         [BZ #13552]
6915         * configure.in: Remove --enable-omitfp support.
6916         * FAQ.in: Adjust.
6917         * config.make.in: Likewise.
6918         * Makeconfig: Likewise.
6919         * manual/install.texi: Likewise.
6921         In case anyone cares, the IA-64 architecture could move to ports.
6922         * sysdeps/ia64/*: Removed.
6923         * sysdeps/unix/sysv/linux/ia64/*: Removed.
6924         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6926         [BZ #13555]
6927         * configure.in: Remove entries for unsupported architectures.
6929         [BZ #13533]
6930         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6931         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
6932         routines.
6933         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6934         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6935         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
6936         fall back to using wcrtomb.
6937         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6938         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
6939         renaming.
6940         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6941         * wcsmbs/tst-c16c32-1.c: New file.
6943         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6944         local variable.
6946         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6948         * elf/tst-unique3.cc: Add explicit declaration of gets.
6949         * elf/tst-unique3lib.cc: Likewise.
6950         * elf/tst-unique3lib2.cc: Likewise.
6951         * elf/tst-unique4.cc: Likewise.
6953         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6955 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
6957         [BZ #13566]
6958         * assert/assert.h (static_assert): Don't define for C++.
6959         * libio/stdio.h (gets): Do declare for C++ <= C++11.
6960         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6962 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
6964         * iconv/loop.c (single loop): Fix assertion in storing of
6965         remaining bytes.
6967         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6969 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
6971         * posix/getconf.c: Update copyright year.
6972         * nss/getent.c: Likewise.
6973         * nss/makedb.c: Likewise.
6974         * iconv/iconvconfig.c: Likewise.
6975         * iconv/iconv_prog.c: Likewise.
6976         * elf/ldconfig.c: Likewise.
6977         * elf/pldd.c: Likewise.
6978         * elf/sotruss.ksh: Likewise.
6979         * catgets/gencat.c: Likewise.
6980         * csu/version.c: Likewise.
6981         * elf/ldd.bash.in: Likewise.
6982         * elf/sprof.c (print_version): Likewise.
6983         * locale/programs/locale.c: Likewise.
6984         * locale/programs/localedef.c: Likewise.
6985         * login/programs/pt_chown.c: Likewise.
6986         * nscd/nscd.c (print_version): Likewise.
6987         * debug/xtrace.sh: Likewise.
6988         * malloc/memusage.sh: Likewise.
6989         * malloc/mtrace.pl: Likewise.
6990         * debug/catchsegv.sh: Likewise.
6992 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
6994         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6995         pure attribute.
6997 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
6999         [BZ #13533]
7000         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7001         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7002         transformations.
7003         * iconv/gconv_int.h: Likewise.
7004         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7005         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7006         from libc for GLIBC_2.16.
7007         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7008         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7009         * wcsmbs/uchar.h: Really define mbstate_t.
7010         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7011         * wcsmbs/c16rtomb.c: New file.
7012         * wcsmbs/mbrtoc16.c: New file.
7013         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7014         for C/POSIX locale.
7015         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7016         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7018         * wcsmbs/wchar.h: Add missing __restrict.
7020 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7022         [BZ #13532]
7023         * time/Makefile (routines): Add timespec_get.
7024         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7025         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
7026         timespec for ISO C11.
7027         * time/timespec_get.c: New file.
7028         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7029         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7031         [BZ #13531]
7032         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7033         * stdlib/stdlib.h: Declare aligned_alloc.
7034         * Versions.def: Add GLIBC_2.16 for libc.
7035         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7037         [BZ 13527]
7038         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7039         ISO C11.
7041         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7042         code.
7044         [BZ #13528]
7045         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7047         [BZ #13529]
7048         * assert/assert.h (static_assert): Define.
7050         * version.h: Update for 2.16 development version.
7052         [BZ #13526]
7053         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7054         _ISOC11_SOURCE.
7056         * version.h (RELEASE): Bump for 2.15 release.
7057         * include/features.h (__GLIBC_MINOR__): Bump to 15.
7059         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7060         Patch by Marek Polacek <mpolacek@redhat.com>.
7062         * bits/byteswap.h: Protect long long constants with __extension__.
7063         * sysdeps/i386/bits/byteswap.h: Likewise.
7064         * sysdeps/ia64/bits/byteswap.h: Likewise.
7065         * sysdeps/s390/bits/byteswap.h: Likewise.
7066         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7068 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7070         [BZ #13540]
7071         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7072         destination buffer.
7073         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7075 2011-12-23  Marek Polacek  <polacek@redhat.com>
7077         * elf/dl-addr.c (determine_info): Add inline keyword.
7078         * elf/tst-auditmod4b.c (check_avx): Likewise.
7079         * elf/tst-auditmod6b.c (check_avx): Likewise.
7080         * elf/tst-auditmod6c.c (check_avx): Likewise.
7081         * elf/tst-auditmod7b.c (check_avx): Likewise.
7083 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7085         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7086         !__SSE_MATH__.
7088 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7090         [BZ #13540]
7091         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7092         processing for last bytes.
7094 2011-08-06  Bruno Haible  <bruno@clisp.org>
7096         [BZ #13061]
7097         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7098         U+0385, not to U+1FEE.
7100         [BZ #13062]
7101         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7102         entry for U+00A5 U+0301.
7104 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7106         [BZ #13166]
7107         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7108         buffer for the output is too small.
7110         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7111         optimization.
7113         [BZ #13185]
7114         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7115         SSE flags if possible.
7117 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7119         [BZ #13540]
7120         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7121         processing for last bytes.
7123 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
7125         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7126         (syscall-list-default-options, syscall-list-default-condition)
7127         (syscall-list-includes): Define.
7128         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7129         list of ABIs and options and #if conditions for each ABI.  Do not
7130         handle common syscalls between ABIs specially.
7131         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7132         Remove.
7133         (syscall-list-variants, syscall-list-32bit-options)
7134         (syscall-list-32bit-condition, syscall-list-64bit-options)
7135         (syscall-list-64bit-condition): Define.
7136         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7137         (syscall-list-variants, syscall-list-32bit-options)
7138         (syscall-list-32bit-condition, syscall-list-64bit-options)
7139         (syscall-list-64bit-condition): Define.
7140         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7141         Remove.
7142         (syscall-list-variants, syscall-list-32bit-options)
7143         (syscall-list-32bit-condition, syscall-list-64bit-options)
7144         (syscall-list-64bit-condition): Define.
7145         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7146         Remove.
7147         (syscall-list-variants, syscall-list-32bit-options)
7148         (syscall-list-32bit-condition, syscall-list-64bit-options)
7149         (syscall-list-64bit-condition): Define.
7151 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7153         * locale/iso-639.def: Add brx entry.
7155         [BZ #13328]
7156         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7157         Proposed by Mariusz_Cukr <marcukr@op.pl>.
7159         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7160         __feraiseexcept_renamed.
7162 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
7164         [BZ #13538]
7165         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7166         EPOLLET with unsigned values.
7167         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7168         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7170         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7171         to large cancellation.
7172         * math/s_cacoshf.c: Likewise.
7173         * math/s_cacoshl.c: Likewise.
7175 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
7177         [BZ #13305]
7178         [BZ #12786]
7179         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7180         * math/s_cacoshf.c: Likewise.
7181         * math/s_cacoshl.c: Likewise.
7183 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
7185         [BZ #13439]
7186         * iconv/gconv.h: Define __GCONV_SWAP.
7187         * iconvdata/unicode.c: The swap bit must be stored in __flags.
7188         * iconvdata/utf-16.c: Likewise.
7189         * iconvdata/utf-32.c: Likewise.
7191 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7193         [BZ #13524]
7194         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7195         numerator after shifting it by one limb.
7197 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
7199         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7200         under [__USE_EXTERN_INLINES].
7202 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
7204         [BZ #13446]
7205         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7207 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7209         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7210         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7211         optimized code.
7212         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7213         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7214         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7215         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7216         for strncasecmp/strncasecmp_l compilation.
7217         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7218         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7220 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
7222         [BZ #13484]
7223         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7224         of __asm__.
7226 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
7228         [BZ #13506]
7229         * time/tzfile.c (__tzfile_read): Check values from file header.
7231 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
7233         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7234         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7235         * powerpc/powerpc32/dl-start.S: Likewise.
7236         * powerpc/powerpc32/elf/start.S: Likewise.
7237         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7238         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7239         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7240         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7241         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7242         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7243         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7244         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7245         * powerpc/powerpc32/fpu/s_round.S: Likewise.
7246         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7247         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7248         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7249         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7250         * powerpc/powerpc32/memset.S: Likewise.
7251         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7252         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7253         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7254         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7255         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7256         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7257         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7258         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7259         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7260         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7261         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7262         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7263         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7265 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7267         * math/libm-test.inc: Added more nearbyint tests.
7268         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7269         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7270         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7271         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7273 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
7275         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7276         FD_CLOEXEC.
7278 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7280         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7281         Add wcscpy-ssse3 wcscpy-c.
7282         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7283         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7284         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7285         * sysdeps/x86_64/wcschr.S: New file.
7286         * sysdeps/x86_64/wcsrchr.S: New file.
7287         * string/test-strcmp.c: Remove checking of wcscmp function for
7288         wrong alignments.
7289         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7290         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7291         wcsrchr-sse2 wcsrchr-c.
7292         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7293         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7294         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7295         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7296         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7297         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7298         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7299         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7300         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7301         * wcsmbc/wcschr.c (WCSCHR): New macro.
7303 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7305         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7306         * wcsmbs/test-wcsrchr.c: New file.
7307         * string/test-strrchr.c: Add wcsrchr support.
7308         (WIDE): New macro.
7309         * wcsmbs/test-wcscpy.c: New file.
7310         * string/test-strcpy.c: Add wcscpy support.
7311         (WIDE): New macro.
7313 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
7315         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7316         the inner loop.
7318 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
7320         [BZ #13472]
7321         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7323 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
7325         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7326         Minor optimizations.
7328         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7329         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7330         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7332 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
7334         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7335         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7336         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7337         for gcc to avoid warnings.
7338         * inet/Makefile (tests): Add tst-checks.
7339         * inet/tst-checks.c: New file.
7341         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7342         warning.
7344         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7345         __wmemcmp_sse2.
7347         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7348         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7350         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7352 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
7354         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7355         problem.
7357         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7359 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
7361         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7362         conditional on GCC version.
7363         (__arch_compare_and_exchange_val_8_acq)
7364         (__arch_compare_and_exchange_val_16_acq)
7365         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7366         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7367         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7369 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
7371         * sysdeps/sh/backtrace.c: New file.
7373 2011-12-02  Andreas Schwab  <schwab@redhat.com>
7375         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
7376         parenthesis.
7378 2011-12-01  Andreas Schwab  <schwab@redhat.com>
7380         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7381         falling back to utime.
7383 2011-11-30  Andreas Schwab  <schwab@redhat.com>
7385         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7386         expectations for float.
7388 2011-11-29  Andreas Schwab  <schwab@redhat.com>
7390         * locale/weight.h (findidx): Add parameter len.
7391         * locale/weightwc.h (findidx): Likewise.
7392         * posix/fnmatch_loop.c (FCT): Adjust caller.
7393         * posix/regcomp.c (build_equiv_class): Likewise.
7394         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7395         * posix/regexec.c (check_node_accept_bytes): Likewise.
7396         * string/strcoll_l.c (STRCOLL): Likewise.
7397         * string/strxfrm_l.c (STRXFRM): Likewise.
7399 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
7401         * Makefile.in: Remove CVSOPT handling.
7402         * configure.in: Remove use of AC_REVISION.
7403         * iconvdata/Makefile (distribute): No need to filter out CVS.
7404         * scripts/list-sources.sh: Remove CVS, subversion and monotone
7405         handling.
7407 2011-11-16  Andreas Schwab  <schwab@redhat.com>
7409         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7410         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7411         [USE_AS_STRNCASECMP_L]: Likewise.
7412         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7413         NO_TLS_DIRECT_SEG_REFS.
7414         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7415         Fix argument offsets for non-PIC.
7416         [USE_AS_STRNCASECMP_L]: Likewise.
7417         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7418         NO_TLS_DIRECT_SEG_REFS.
7420 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7422         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7423         O_CLOEXEC.
7424         * locale/loadlocale.c (_nl_load_locale): Likewise.
7426 2011-11-15  Andreas Schwab  <schwab@redhat.com>
7428         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7429         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7430         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7431         (SYSCALL_GETTIME): Set errno on error.
7433         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7434         count references to noai6ai_cached.
7436 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7438         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7440         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7441         FD_CLOEXEC for /proc/self/maps.
7443         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7444         FD_CLOEXEC for /proc/meminfo.
7446         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7447         gai.conf.
7449         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
7450         FD_CLOEXEC for given file.
7452         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7454         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7455         FD_CLOEXEC for /etc/hosts.
7456         (_gethtent): Likewise.
7458         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7460         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7461         cancellation and set FD_CLOEXEC for /etc/netgroup.
7463         * nss/nss_files/files-key.c (search): Don't allow cancellation when
7464         reading /etc/publickey.
7466         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7467         allow cancellation when reading /etc/group.
7469         * nss/nss_files/files-alias.c (internal_setent): Don't allow
7470         cancellation.
7471         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
7473         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7474         when using data file.
7476         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7478         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7479         (write_nis_obj): Use "c" and "e" in fopen.
7481         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7483         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7485         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7487         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7489         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7490         locale.alias.
7492         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7494         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7496         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7498         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7499         file parsing and set FD_CLOEXEC.
7501 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7503         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7505 2011-11-14  Andreas Schwab  <schwab@redhat.com>
7507         * malloc/arena.c (arena_get2): Don't call reused_arena when
7508         _int_new_arena failed.
7510 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7512         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7513         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7514         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7515         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7516         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7517         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7518         to compile strcasecmp and strncasecmp.
7519         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7520         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7522         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7524 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
7526         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7527         locale-defines.sym to gen-as-const-headers.
7528         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7529         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7531         to compile strcasecmp and strncasecmp.
7532         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7533         strcasecmp_l and strncasecmp_l.
7534         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7535         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7536         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7537         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7538         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7539         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7540         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7541         * sysdeps/i386/i686/multiarch/strncase.S: New file.
7542         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7543         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7544         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7546 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
7548         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7549         result of SYSDEP_GETTIME_CPU to retval.
7550         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7551         parameter list to macro.  Remove trailing semicolon.  Adjust users.
7553         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7554         variable.
7556         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7557         mantissa words.
7558         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7560         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7561         from unused variable.
7563         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7564         DWARF definitions.
7565         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7566         for assembling.
7568         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7569         over namespaces.
7571         * sunrpc/rpc_prot.c (rejected): Fix case value.
7573         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7574         unsigned long long int to avoid warnings in shift.
7576         * posix/regex_internal.c (re_string_reconstruct): Actually use result
7577         of use of trans.
7578         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7579         variable tmp.
7581         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7582         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7583         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7585         * nis/nis_table.c (nis_list): Use variable of correct type for
7586         result of __follow_path call.
7588 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7590         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7591         of math functions ceil, trunc, floor, round, and sqrt, when
7592         avaliable on the platform.
7593         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7594         name clash.
7595         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7596         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7597         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7599 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
7601         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7602         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7604 2011-11-11  Roland McGrath  <roland@hack.frob.com>
7606         * include/unistd.h: Fix __readlink return type.
7607         Reported by Chris Metcalf <cmetcalf@tilera.com>.
7609 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
7611         * stdlib/ucontext.h: Undo last change for makecontext.
7613 2011-11-11  Andreas Schwab  <schwab@redhat.com>
7615         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7617         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7618         * setjmp/setjmp.h: Mark functions as non-leaf.
7619         * setjmp/bits/setjmp2.h: Likewise.
7620         * stdlib/ucontext.h: Likewise.
7622 2011-11-10  Andreas Schwab  <schwab@redhat.com>
7624         * malloc/arena.c (_int_new_arena): Don't increment narenas.
7625         (reused_arena): Don't check arena limit.
7626         (arena_get2): Atomically check arena limit.
7628 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
7630         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7631         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7633         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7634         instructions.
7636 2011-11-07  Andreas Schwab  <schwab@redhat.com>
7638         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7639         handler when locking.
7641         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7642         Fix size of allocated buffer.
7644 2011-11-04  Andreas Schwab  <schwab@redhat.com>
7646         [BZ #10103]
7647         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7648         declarations for long double functions.
7649         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7651         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7653 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7655         * nscd/nscd.c (main): Don't start AVC thread until credentials are
7656         installed.
7658         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7659         is disabled.
7661 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7663         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7665 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7667         * include/alloca.h (stackinfo_alloca_round): Define.
7668         (extend_alloca): Use it.
7669         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7670         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7671         here.
7673         * scripts/check-local-headers.sh: Ignore libaudit.h.
7675         * nscd/Makefile (extra-objs): Make recursively expanded.
7677 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
7679         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7680         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7682         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7683         * posix/tst-rfc3484-2.c: Likewise.
7684         * posix/tst-rfc3484-3.c: Likewise.
7686         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7687         process_vm_writev.
7688         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7689         process_vm_writev.
7690         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7691         process_vm_writev from libc using GLIBC_2.15 version.
7693         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7695 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
7697         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7698         stack usage.
7700 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
7702         [BZ #13367]
7703         * nss/getent.c (initgroups_keys): Show error message in case no group
7704         names are given.
7706         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7707         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7708         __bump_nl_timestamp.
7709         * nscd/connections (nscd_init): When host database is served open
7710         netlink socket and request notification about configuration changes.
7711         (main_loop_poll): Track netlink file descriptor and bump timestamp
7712         in case data becomes available.
7713         (main_loop_epoll): Likewise.
7714         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7715         (database_pers_head): Add extra_data fileds.
7716         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7717         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7718         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7719         Adjust caller.
7720         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7721         in6ai data, call __free_in6ai.
7722         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7723         Add -DHAVE_NETLINK.
7724         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
7725         interface information.  Reuse previous data if netlink timestamp
7726         is not changed.
7727         (__bump_nl_timestamp): New function.
7728         (__free_in6ai): New function.
7730 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
7732         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7733         close_not_cancel_no_status here.
7734         (__check_pf): Reorganize code a bit to not call close twice if OOM.
7736 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7738         [BZ #13276]
7739         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7740         return value.
7742         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7743         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7744         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7746 2011-07-03  Andreas Jaeger  <aj@suse.de>
7748         [BZ #10709]
7749         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7750         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7751         * math/libm-test.inc (sin_test): Add test case.
7753 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7755         [BZ #13337]
7756         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7757         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7759         * elf/chroot_canon.c (chroot_canon): Cleanups.
7761         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7763         [BZ #13335]
7764         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7765         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7767         * string/test-strchr.c: Make usable for strchrnul testing.
7768         * string/test-strchrnul.c: New file.
7769         * string/Makefile (strop-tests): Add strchrnul.
7771         * po/it.po: Update from translation team.
7772         * po/es.po: Likewise.
7774 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
7776         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7777         the three constants needed as parameters.  Drop the others.
7778         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7779         __m128i_strloadu_tolower.
7780         Create and initialize variable zero and use it in all the places
7781         where _mm_setzero_si128 was used.
7783         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7784         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7785         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7786         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7787         anymore.
7788         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7789         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7790         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7791         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7792         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7793         __mpranred, __mptan.
7794         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7795         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7796         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7797         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7798         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7799         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7800         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7801         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7802         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7804 2011-10-28  Andreas Schwab  <schwab@redhat.com>
7806         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7807         redefine if SHARED.
7808         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7810         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7811         wide char related routines to wcsmbs subdir.
7813 2011-10-27  Andreas Schwab  <schwab@redhat.com>
7815         [BZ #13344]
7816         * misc/sys/cdefs.h (__THROWNL): Define.
7817         * posix/unistd.h: Use __THREADNL instead of __THREAD
7818         for memory synchronization functions.
7820 2011-10-26  Roland McGrath  <roland@hack.frob.com>
7822         [BZ #13349]
7823         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7824         doesn't exist.
7825         * manual/stdio.texi (Obstack Streams): Node removed.
7827 2011-10-26  Andreas Schwab  <schwab@redhat.com>
7829         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7830         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7831         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7833         * math/math_private.h (math_force_eval): Allow non-addressable
7834         arguments.
7835         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7837 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7839         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7840         file is not needed.
7842         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7843         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7844         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7845         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7846         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7847         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7848         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7849         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7850         Add AVX variants.
7851         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7852         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7853         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7854         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7855         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7856         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7857         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7858         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7859         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7860         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7861         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7862         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7863         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7864         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7865         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7866         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7867         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7868         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7869         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7871         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7872         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
7874         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7875         place.  Use VEX encoding when compiling for AVX.
7877 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7879         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7880         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7882         * string/test-strchr.c (do_test): Don't generate NUL bytes.
7884 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7886         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7887         useless if() expression.
7888         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7889         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7890         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7891         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7892         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7893         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7894         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7895         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7896         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7897         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7898         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7899         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7900         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7901         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7902         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7903         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7904         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7905         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7906         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7908         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7910 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7912         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7913         condition.
7914         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7916 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7918         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7919         .text section.  Avoid duplicate constants.
7920         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7921         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7922         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7923         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7924         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7925         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7926         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7927         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7928         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7929         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7930         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7931         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7932         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7933         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7934         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7935         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7936         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7937         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7938         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7939         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7940         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7941         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7942         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7943         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7944         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7945         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7946         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7947         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7948         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7949         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7950         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7951         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7952         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7953         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7954         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7955         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7956         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7957         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7958         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7959         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7960         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7961         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7962         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7963         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7964         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7966 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
7968         * sysdeps/x86_64/dla.h: Move to ...
7969         * sysdeps/x86_64/fpu/dla.h: ...here.
7970         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7971         situations.  Use __builtin_fma only for gcc 4.6 and up.
7973         * config.make.in: Add have-mfma4 entry.
7974         * configure.in: Substitute libc_cv_cc_fma4.
7975         * math/Makefile (dbl-only-routines): Add sincostab.
7976         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7977         Use __sincostab not sincos.
7978         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7979         name is a macro.
7980         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7981         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7982         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7983         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
7984         using __copysign.
7985         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
7986         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
7987         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7988         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7989         and __inv.
7990         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7991         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7992         __copysign.
7993         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
7994         define aliases when function name is a macro.
7995         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7996         sysdeps/ieee754/dbl-64/sincos.tbl.
7997         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7998         fma4-enabled routines.
7999         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8000         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8001         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8002         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8003         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8004         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8005         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8006         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8007         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8008         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8009         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8010         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8011         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8012         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8013         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8014         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8015         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8016         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8017         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8018         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8019         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8020         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8021         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8022         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8023         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8024         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8025         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8026         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8027         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8028         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8030         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8031         rename.
8032         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8033         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8034         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8035         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8036         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8037         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8038         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8039         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8041 2011-10-24  Andreas Schwab  <schwab@redhat.com>
8043         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8045 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8047         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8049         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8050         prediction.
8051         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8053         * string/strnlen.c: Don't define STRNLEN, reverse logic.
8054         Remove unused variable magic_bits.
8055         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8057         * string/strnlen.c: Define and use STRNLEN macro.
8058         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8059         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8060         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8061         * wcsmbs/wcslen.c: Define and use WCSLEN.
8062         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8063         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8064         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8065         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8066         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8067         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8068         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8070 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8073         strnlen-sse2-no-bsf.
8074         Rename strlen-no-bsf to strlen-sse2-no-bsf.
8075         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8076         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8077         Add strnlen support.
8078         (USE_AS_STRNLEN): New macro.
8079         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8080         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8081         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8082         * sysdeps/x86_64/wcslen.S: New file.
8084 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
8086         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8087         XMM-moves are used for copying on small sizes.
8089 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8091         * wcsmbs/Makefile (strop-tests): Add wcschr.
8092         * wcsmbs/test-wcschr.c: New file.
8093         * string/test-strchr.c: Update.
8094         Add wcschr support.
8095         (WIDE): New macro.
8097 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8099         * wcsmbs/Makefile (strop-tests): Add wcslen.
8100         * wcsmbs/test-wcslen.c: New file.
8101         * string/test-strlen.c: Update.
8102         Add wcslen support.
8103         (WIDE): New macro.
8105 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8107         * po/it.po: Update from translation team.
8109 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8111         * sysdeps/x86_64/wcscmp.S: Update.
8112         Fix wrong comparison semantics.
8113         wcscmp shall use signed comparison not unsigned.
8114         Don't use substraction to avoid overflow bug.
8115         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8116         * wcsmbc/wcscmp.c: Likewise.
8117         * string/test-strcmp.c: Likewise.
8118         Add new tests to check cases with negative values.
8120 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8122         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8123         * sysdeps/x86_64/dla.h: ...here.  New file.
8124         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8125         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8126         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8127         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8128         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8129         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8130         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8131         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8132         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8134 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
8136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8137         __ynl_finite aliases.
8139 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
8141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8143         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8144         define DLA_FMA.
8145         [DLA_FMA] (EMULV): Use DLA_FMA.
8146         [DLA_FMA] (MUL12): Use EMULV.
8147         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8148         that are not needed.
8149         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8150         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8151         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8152         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8153         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8154         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8155         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8157 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
8159         * math/s_nan.c: Undef __nan.
8160         * math/s_nanf.c: Undef __nanf.
8161         * math/s_nanl.c: Undef __nanl.
8162         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8163         "math_private.h".
8165 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
8167         * math/s_catan.c: Add branch predictions.
8168         * math/s_catanf.c: Likewise.
8169         * math/s_catanh.c: Likewise.
8170         * math/s_catanhf.c: Likewise.
8171         * math/s_catanhl.c: Likewise.
8172         * math/s_catanl.c: Likewise.
8173         * math/s_cexp.c: Likewise.
8174         * math/s_cexpf.c: Likewise.
8175         * math/s_cexpl.c: Likewise.
8176         * math/s_clog.c: Likewise.
8177         * math/s_clog10.c: Likewise.
8178         * math/s_clog10f.c: Likewise.
8179         * math/s_clog10l.c: Likewise.
8180         * math/s_clogf.c: Likewise.
8181         * math/s_clogl.c: Likewise.
8182         * math/s_csqrt.c: Likewise.
8183         * math/s_csqrtf.c: Likewise.
8184         * math/s_csqrtl.c: Likewise.
8185         * math/s_ctanf.c: Likewise.
8186         * math/s_ctanh.c: Likewise.
8187         * math/s_ctanhf.c: Likewise.
8188         * math/s_ctanhl.c: Likewise.
8189         * math/s_ctanl.c: Likewise.
8191         * math/math_private.h: Define __nan, __nanf, __nanl.
8192         * math/s_cacosh.c: Include <math_private.h>.
8193         * math/s_cacoshl.c: Likewise.
8194         * math/s_casinh.c: Likewise.
8195         * math/s_casinhf.c: Likewise.
8196         * math/s_casinhl.c: Likewise.
8197         * math/s_ccos.c: Rely entire on ccosh.
8198         * math/s_ccosf.c: Rely entire on ccoshf.
8199         * math/s_ccosl.c: Rely entirely on ccoshl.
8200         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
8201         Remove tests for FE_INVALID.
8202         * math/s_ccoshf.c: Likewise.
8203         * math/s_ccoshl.c: Likewise.
8204         * math/s_csin.c: Likewise.
8205         * math/s_csinf.c: Likewise.
8206         * math/s_csinh.c Likewise.
8207         * math/s_csinhf.c: Likewise.
8208         * math/s_csinhl.c: Likewise.
8209         * math/s_csinl.c: Likewise.
8210         * math/s_ctan.c: Likewise.
8211         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8212         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8213         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8215 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
8217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8218         compilation problems.
8220         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8221         __builtin_expect.
8223 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
8225         * sysdeps/i386/configure.in: Test for -mfma4 option.
8226         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8227         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8228         COMMON_CPUID_INDEX_80000001.
8229         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8230         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8231         use it if FMA3 is not supported.
8232         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8234         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8235         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8237 2011-10-20  Andreas Schwab  <schwab@redhat.com>
8239         [BZ #12892]
8240         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8241         it would create a cycle with a link time dependency.
8243 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
8245         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8246         instruction.
8247         * string/Makefile (strop-tests): Add rawmemchr.
8248         * string/test-rawmemchr.c: New file.
8250         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8251         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
8252         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
8253         when compiling str{,n}casecmp and when AVX is available.  Hook up
8254         new optimized code in initializers.
8256 2011-10-19  Andreas Schwab  <schwab@redhat.com>
8258         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8259         __feraiseexcept instead of feraiseexcept.
8261 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
8263         * math/math_private.h: Define defaults for libc_fetestexcept and
8264         libc_feupdateenv.
8265         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8266         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8267         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8268         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8269         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8270         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8271         libc_fetestexcept and libc_feupdateenv.
8273         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8274         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8275         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8276         * sysdeps/x86_64/fpu/math_private.h: Define special version of
8277         libc_feholdexcept_setround.
8279         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8280         Add s_nearbyint-c and s_nearbyintf-c.
8281         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8282         nearbyintf inlines.
8283         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8284         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8285         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8286         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8288         * math/math_private.h: Define defaults for libc_fegetround,
8289         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8290         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8291         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8292         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8293         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8294         standard functions.
8295         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8296         Remove comments and hacks for old compiler versions.
8297         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8298         libc_fegetround, libc_fesetround, libc_feholdexcept, and
8299         libc_feholdexceptl.
8301 2011-10-18  Andreas Schwab  <schwab@redhat.com>
8303         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8304         (__feraiseexcept_renamed): Add __NTH.
8305         (feraiseexcept): Add __NTH.  Rename local variables to fix
8306         namespace violations.
8308 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
8310         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8312         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8314         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8315         recently added interfaces.
8316         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8318         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8319         about macro parameter expansion.
8321         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8322         __NO_MATH_INLINES is defined.  Cleanups.
8324         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8325         and __floorf is target has SSE4.1.
8326         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8327         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8328         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8329         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8331         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8332         name.
8333         (floorf): Likewise.
8335         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8337 2011-10-17  Andreas Schwab  <schwab@redhat.com>
8339         * misc/sys/cdefs.h: Fix last change.
8341         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8342         database lookup.
8344 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
8346         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8348         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8349         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8350         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8351         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8352         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8353         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8354         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8355         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8356         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8357         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8358         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8359         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8360         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8361         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8362         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8363         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8364         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8365         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8366         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8367         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8368         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8369         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8371         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8372         ceil, ceilf, floor, floorf.
8374         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8375         Perform IRELATIVE relocations last.
8377         * elf/do-rel.h: Add another parameter nrelative, replacing the
8378         local variable with the same name.  Change name of the function
8379         to end in Rel or Rela (uppercase).
8380         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8381         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
8382         elf_dynamic_do_##reloc function.
8384 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8386         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8387         is sufficient, at least on modern CPUs.
8389         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8391         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8392         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8394         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8395         __expl_finite.
8396         * math/bits/math-finite.h: Add entries for exp.
8397         * math/e_expl.c: Add __*_finite alias.
8398         * sysdeps/i386/fpu/e_exp.S: Likewise.
8399         * sysdeps/i386/fpu/e_expf.S: Likewise.
8400         * sysdeps/i386/fpu/e_expl.c: Likewise.
8401         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8402         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8403         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8404         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8405         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8406         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8407         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8409         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8410         is sufficient, at least on modern CPUs.
8412         * ctype/ctype-info.c (__ctype_init): Define.
8413         * include/ctype.h (__ctype_init): Declare.
8414         (__ctype_b_loc): The variable is always initialized.
8415         (__ctype_toupper_loc): Likewise.
8416         (__ctype_tolower_loc): Likewise.
8417         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8418         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8420 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
8422         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8424         * configure.in: Also look in $cxxmachine/include for C++ system
8425         headers.
8427 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8429         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8430         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8431         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8432         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
8433         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8434         (USE_AS_WMEMCMP): New macro.
8435         Fixing indents.
8436         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8437         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8438         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8439         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8440         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8441         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8442         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8443         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8444         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8445         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8446         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8447         (USE_AS_WMEMCMP): New macro.
8448         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8449         * sysdeps/string/test-memcmp.c: Update.
8450         Fix simple_wmemcmp.
8451         Add new tests.
8452         * wcsmbs/wmemcmp.c: Update.
8453         (WMEMCMP): New macro.
8454         Fix overflow bug.
8456 2011-10-12  Andreas Jaeger  <aj@suse.de>
8458         [BZ #13268]
8459         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8461 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8463         * libio/iofwide.c (do_length): Avoid warning.
8465         * ctype/ctype.h (__isctype_f): Add missing __THROW.
8467 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
8469         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8471         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8472         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8473         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8474         * sysdeps/i386/i686/fpu/e_log.S: New file.
8475         * sysdeps/i386/i686/fpu/e_logf.S: New file.
8476         * sysdeps/i386/i686/fpu/e_logl.S: New file.
8478         * ctype/ctype.h: Add support for inlined isXXX functions when
8479         compiling C++ code.
8481 2011-10-14  Andreas Schwab  <schwab@redhat.com>
8483         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8485         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8487 2011-10-13  Roland McGrath  <roland@hack.frob.com>
8489         [BZ #13291]
8490         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8492 2011-10-13  Andreas Schwab  <schwab@redhat.com>
8494         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8495         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8496         feraiseexcept.
8498         * sysdeps/x86_64/memrchr.S: Check for zero size.
8500         * string/stratcliff.c: Add memrchr tests.
8502 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8504         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8505         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8506         rawmemchr-sse2 rawmemchr-sse2-bsf.
8507         * sysdeps/i386/i686/multiarch/memchr.S: New file.
8508         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8509         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8510         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8511         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8512         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8513         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8514         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8515         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8516         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8517         * string/memrchr.c (MEMRCHR): New macro.
8519 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
8521         Add integration with gcc's -ffinite-math-only and optimize wrapper
8522         functions in libm.
8523         * Versions.def: Define GLIBC_2.15 version for libm.
8524         * math/Makefile (headers): Add bits/math-finite.h.
8525         * math/bits/math-finite.h: New file.
8526         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8527         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8528         * math/e_acoshl.c: Add __*_finite alias.
8529         * math/e_acosl.c: Likewise.
8530         * math/e_asinl.c: Likewise.
8531         * math/e_atan2l.c: Likewise.
8532         * math/e_atanhl.c: Likewise.
8533         * math/e_coshl.c: Likewise.
8534         * math/e_exp10.c: Likewise.
8535         * math/e_exp10f.c: Likewise.
8536         * math/e_exp10l.c: Likewise.
8537         * math/e_exp2l.c: Likewise.
8538         * math/e_fmodl.c: Likewise.
8539         * math/e_gammal_r.c: Likewise.
8540         * math/e_hypotl.c: Likewise.
8541         * math/e_j0l.c: Likewise.
8542         * math/e_j1l.c: Likewise.
8543         * math/e_jnl.c: Likewise.
8544         * math/e_lgammal_r.c: Likewise.
8545         * math/e_log10l.c: Likewise.
8546         * math/e_log2l.c: Likewise.
8547         * math/e_logl.c: Likewise.
8548         * math/e_powl.c: Likewise.
8549         * math/e_sinhl.c: Likewise.
8550         * math/e_sqrtl.c: Likewise.
8551         * math/e_scalb.c: Completely rewritten and optimized.
8552         * math/e_scalbf.c: Likewise.
8553         * math/e_scalbl.c: Likewise.
8554         * math/w_acos.c: Likewise.
8555         * math/w_acosf.c: Likewise.
8556         * math/w_acosl.c: Likewise.
8557         * math/w_acosh.c: Likewise.
8558         * math/w_acoshf.c: Likewise.
8559         * math/w_acoshl.c: Likewise.
8560         * math/w_asin.c: Likewise.
8561         * math/w_asinf.c: Likewise.
8562         * math/w_asinl.c: Likewise.
8563         * math/w_atan2.c: Likewise.
8564         * math/w_atan2f.c: Likewise.
8565         * math/w_atan2l.c: Likewise.
8566         * math/w_atanh.c: Likewise.
8567         * math/w_atanhf.c: Likewise.
8568         * math/w_atanhl.c: Likewise.
8569         * math/w_exp10.c: Likewise.
8570         * math/w_exp10f.c: Likewise.
8571         * math/w_exp10l.c: Likewise.
8572         * math/w_fmod.c: Likewise.
8573         * math/w_fmodf.c: Likewise.
8574         * math/w_fmodl.c: Likewise.
8575         * math/w_j0.c: Likewise.
8576         * math/w_j0f.c: Likewise.
8577         * math/w_j0l.c: Likewise.
8578         * math/w_j1.c: Likewise.
8579         * math/w_j1f.c: Likewise.
8580         * math/w_j1l.c: Likewise.
8581         * math/w_jn.c: Likewise.
8582         * math/w_jnf.c: Likewise.
8583         * math/w_log.c: Likewise.
8584         * math/w_logf.c: Likewise.
8585         * math/w_logl.c: Likewise.
8586         * math/w_log10.c: Likewise.
8587         * math/w_log10f.c: Likewise.
8588         * math/w_log10l.c: Likewise.
8589         * math/w_log2.c: Likewise.
8590         * math/w_log2f.c: Likewise.
8591         * math/w_log2l.c: Likewise.
8592         * math/w_pow.c: Likewise.
8593         * math/w_powf.c: Likewise.
8594         * math/w_powl.c: Likewise.
8595         * math/w_remainder.c: Likewise.
8596         * math/w_remainderf.c: Likewise.
8597         * math/w_remainderl.c: Likewise.
8598         * math/w_scalb.c: Likewise.
8599         * math/w_scalbf.c: Likewise.
8600         * math/w_scalbl.c: Likewise.
8601         * math/w_sqrt.c: Likewise.
8602         * math/w_sqrtf.c: Likewise.
8603         * math/w_sqrtl.c: Likewise.
8604         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8605         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
8606         used.
8607         * math/math_private.h: Declare __kernel_standard_f.
8608         * math/w_cosh.c: Remove cruft and optimize a bit.
8609         * math/w_coshf.c: Likewise.
8610         * math/w_coshl.c: Likewise.
8611         * math/w_exp2.c: Likewise.
8612         * math/w_exp2f.c: Likewise.
8613         * math/w_exp2l.c: Likewise.
8614         * math/w_hypot.c: Likewise.
8615         * math/w_hypotf.c: Likewise.
8616         * math/w_hypotl.c: Likewise.
8617         * math/w_lgamma.c: Likewise.
8618         * math/w_lgamma_r.c: Likewise.
8619         * math/w_lgammaf.c: Likewise.
8620         * math/w_lgammaf_r.c: Likewise.
8621         * math/w_lgammal.c: Likewise.
8622         * math/w_lgammal_r.c: Likewise.
8623         * math/w_sinh.c: Likewise.
8624         * math/w_sinhf.c: Likewise.
8625         * math/w_sinhl.c: Likewise.
8626         * math/w_tgamma.c: Likewise.
8627         * math/w_tgammaf.c: Likewise.
8628         * math/w_tgammal.c: Likewise.
8629         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8630         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8631         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8632         Minor optimizations.  Pretty printing.  Remove cruft.
8633         * sysdeps/i386/fpu/e_acosf.S: Likewise.
8634         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8635         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8636         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8637         * sysdeps/i386/fpu/e_acosl.c: Likewise.
8638         * sysdeps/i386/fpu/e_asin.S: Likewise.
8639         * sysdeps/i386/fpu/e_asinf.S: Likewise.
8640         * sysdeps/i386/fpu/e_atan2.S: Likewise.
8641         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8642         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8643         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8644         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8645         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8646         * sysdeps/i386/fpu/e_exp10.S: Likewise.
8647         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8648         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8649         * sysdeps/i386/fpu/e_exp2.S: Likewise.
8650         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8651         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8652         * sysdeps/i386/fpu/e_fmod.S: Likewise.
8653         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8654         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8655         * sysdeps/i386/fpu/e_hypot.S: Likewise.
8656         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8657         * sysdeps/i386/fpu/e_log.S: Likewise.
8658         * sysdeps/i386/fpu/e_log10.S: Likewise.
8659         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8660         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8661         * sysdeps/i386/fpu/e_log2.S: Likewise.
8662         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8663         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8664         * sysdeps/i386/fpu/e_logf.S: Likewise.
8665         * sysdeps/i386/fpu/e_logl.S: Likewise.
8666         * sysdeps/i386/fpu/e_pow.S: Likewise.
8667         * sysdeps/i386/fpu/e_powf.S: Likewise.
8668         * sysdeps/i386/fpu/e_powl.S: Likewise.
8669         * sysdeps/i386/fpu/e_remainder.S: Likewise.
8670         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8671         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8672         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8673         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8674         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8675         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8676         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8677         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8678         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8679         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8680         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8681         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8682         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8683         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8684         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8685         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8686         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8687         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8688         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8689         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8690         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8691         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8692         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8693         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8694         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8695         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8696         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8698         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8699         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8700         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8701         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8702         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8703         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8704         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8705         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8706         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8707         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8708         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8709         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8710         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8711         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8712         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8713         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8714         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8715         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8716         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8717         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8718         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8719         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8720         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8721         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8722         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8723         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8724         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8725         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8726         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8727         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8728         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8729         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8730         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8731         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8732         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8733         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8734         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8735         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8736         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8737         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8738         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8739         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8740         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8741         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8742         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8743         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8744         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8745         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8746         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8747         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8748         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8749         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8750         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8751         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8752         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8753         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8754         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8755         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8756         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8757         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8758         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8759         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8760         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8761         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8762         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8763         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8764         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8765         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8766         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8767         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8768         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8769         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8770         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8771         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8772         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8773         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8774         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8775         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8776         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8777         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8778         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8779         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8780         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8781         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8782         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8783         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8784         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8785         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8786         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8787         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8788         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
8789         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8790         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8791         (__isnanf): Likewise.
8792         (__isinf_ns): Likewise.
8793         (__isinf_nsf): Likewise.
8794         (__finite): Likewise.
8795         (__finitef): Likewise.
8796         (__ieee754_sqrt): Define as macro.
8797         (__ieee754_sqrtf): Define as macro.
8798         (__ieee754_sqrtl): Define as macro.
8799         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8800         inlined copy.
8801         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8802         __FINITE_MATH_ONLY__ consistent.
8803         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8805 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
8807         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8808         of rawmemchr.
8810         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8812 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
8814         * po/ja.po: Update from translation team.
8816 2011-10-08  Roland McGrath  <roland@hack.frob.com>
8818         * locale/programs/locarchive.c (prepare_address_space): New function.
8819         (create_archive, enlarge_archive, open_archive): Use it.
8821         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8822         inside [SHARED], where it is used.
8824         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8826         * nss/getent.c (netgroup_keys): Remove unused variable.
8827         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8829 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
8831         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8832         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8833         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8834         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8835         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8836         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8837         * math/Makefile (libm-calls): Add s_isinf_ns.
8838         * math/divtc3.c: Use __isinf_nsl instead of isinf.
8839         * math/multc3.c: Likewise.
8840         * math/s_casin.c: Likewise.
8841         * math/s_casinf.c: Likewise.
8842         * math/s_casinl.c: Likewise.
8843         * math/s_ccos.c: Likewise.
8844         * math/s_ccosf.c: Likewise.
8845         * math/s_ccosl.c: Likewise.
8846         * math/s_ctan.c: Likewise.
8847         * math/s_ctanf.c: Likewise.
8848         * math/s_ctanh.c: Likewise.
8849         * math/s_ctanhf.c: Likewise.
8850         * math/s_ctanhl.c: Likewise.
8851         * math/s_ctanl.c: Likewise.
8852         * math/w_fmod.c: Likewise.
8853         * math/w_fmodf.c: Likewise.
8854         * math/w_fmodl.c: Likewise.
8855         * math/w_remainder.c: Likewise.
8856         * math/w_remainderf.c: Likewise.
8857         * math/w_remainderl.c: Likewise.
8858         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8859         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8860         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8861         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8862         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8863         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8864         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8865         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8867         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8868         of the number.
8869         * stdio-common/printf_fphex.c: Likewise.
8870         * stdio-common/printf_size.c: Likewise.
8872         * math/e_exp10.c: Include math_private.h using <...> not "...".
8873         * math/e_exp10f.c: Likewise.
8874         * math/e_exp10l.c: Likewise.
8875         * math/e_exp2l.c: Likewise.
8876         * math/e_j0l.c: Likewise.
8877         * math/e_j1l.c: Likewise.
8878         * math/e_jnl.c: Likewise.
8879         * math/e_lgammal_r.c: Likewise.
8880         * math/e_rem_pio2l.c: Likewise.
8881         * math/e_scalb.c: Likewise.
8882         * math/e_scalbf.c: Likewise.
8883         * math/e_scalbl.c: Likewise.
8884         * math/k_cosl.c: Likewise.
8885         * math/k_sinl.c: Likewise.
8886         * math/k_tanl.c: Likewise.
8887         * math/s_cacoshf.c: Likewise.
8888         * math/s_catan.c: Likewise.
8889         * math/s_catanf.c: Likewise.
8890         * math/s_catanh.c: Likewise.
8891         * math/s_catanhf.c: Likewise.
8892         * math/s_catanhl.c: Likewise.
8893         * math/s_catanl.c: Likewise.
8894         * math/s_ccosh.c: Likewise.
8895         * math/s_ccoshf.c: Likewise.
8896         * math/s_ccoshl.c: Likewise.
8897         * math/s_cexp.c: Likewise.
8898         * math/s_cexpf.c: Likewise.
8899         * math/s_cexpl.c: Likewise.
8900         * math/s_clog.c: Likewise.
8901         * math/s_clog10.c: Likewise.
8902         * math/s_clog10f.c: Likewise.
8903         * math/s_clog10l.c: Likewise.
8904         * math/s_clogf.c: Likewise.
8905         * math/s_clogl.c: Likewise.
8906         * math/s_csin.c: Likewise.
8907         * math/s_csinf.c: Likewise.
8908         * math/s_csinh.c: Likewise.
8909         * math/s_csinhf.c: Likewise.
8910         * math/s_csinhl.c: Likewise.
8911         * math/s_csinl.c: Likewise.
8912         * math/s_csqrt.c: Likewise.
8913         * math/s_csqrtf.c: Likewise.
8914         * math/s_csqrtl.c: Likewise.
8915         * math/s_ctan.c: Likewise.
8916         * math/s_ctanf.c: Likewise.
8917         * math/s_ctanh.c: Likewise.
8918         * math/s_ctanhf.c: Likewise.
8919         * math/s_ctanhl.c: Likewise.
8920         * math/s_ctanl.c: Likewise.
8921         * math/s_ldexp.c: Likewise.
8922         * math/s_ldexpf.c: Likewise.
8923         * math/s_ldexpl.c: Likewise.
8924         * math/s_significand.c: Likewise.
8925         * math/s_significandf.c: Likewise.
8926         * math/s_significandl.c: Likewise.
8927         * math/w_acos.c: Likewise.
8928         * math/w_acosf.c: Likewise.
8929         * math/w_acosh.c: Likewise.
8930         * math/w_acoshf.c: Likewise.
8931         * math/w_acoshl.c: Likewise.
8932         * math/w_acosl.c: Likewise.
8933         * math/w_asin.c: Likewise.
8934         * math/w_asinf.c: Likewise.
8935         * math/w_asinl.c: Likewise.
8936         * math/w_atan2.c: Likewise.
8937         * math/w_atan2f.c: Likewise.
8938         * math/w_atan2l.c: Likewise.
8939         * math/w_atanh.c: Likewise.
8940         * math/w_atanhf.c: Likewise.
8941         * math/w_atanhl.c: Likewise.
8942         * math/w_cosh.c: Likewise.
8943         * math/w_coshf.c: Likewise.
8944         * math/w_coshl.c: Likewise.
8945         * math/w_dremf.c: Likewise.
8946         * math/w_exp10.c: Likewise.
8947         * math/w_exp10f.c: Likewise.
8948         * math/w_exp10l.c: Likewise.
8949         * math/w_exp2.c: Likewise.
8950         * math/w_exp2f.c: Likewise.
8951         * math/w_fmod.c: Likewise.
8952         * math/w_fmodf.c: Likewise.
8953         * math/w_fmodl.c: Likewise.
8954         * math/w_hypot.c: Likewise.
8955         * math/w_hypotf.c: Likewise.
8956         * math/w_hypotl.c: Likewise.
8957         * math/w_j0.c: Likewise.
8958         * math/w_j0f.c: Likewise.
8959         * math/w_j0l.c: Likewise.
8960         * math/w_j1.c: Likewise.
8961         * math/w_j1f.c: Likewise.
8962         * math/w_j1l.c: Likewise.
8963         * math/w_jn.c: Likewise.
8964         * math/w_jnf.c: Likewise.
8965         * math/w_jnl.c: Likewise.
8966         * math/w_lgamma.c: Likewise.
8967         * math/w_lgamma_r.c: Likewise.
8968         * math/w_lgammaf.c: Likewise.
8969         * math/w_lgammaf_r.c: Likewise.
8970         * math/w_lgammal.c: Likewise.
8971         * math/w_lgammal_r.c: Likewise.
8972         * math/w_log.c: Likewise.
8973         * math/w_log10.c: Likewise.
8974         * math/w_log10f.c: Likewise.
8975         * math/w_log10l.c: Likewise.
8976         * math/w_log2.c: Likewise.
8977         * math/w_log2f.c: Likewise.
8978         * math/w_log2l.c: Likewise.
8979         * math/w_logf.c: Likewise.
8980         * math/w_logl.c: Likewise.
8981         * math/w_pow.c: Likewise.
8982         * math/w_powf.c: Likewise.
8983         * math/w_powl.c: Likewise.
8984         * math/w_remainder.c: Likewise.
8985         * math/w_remainderf.c: Likewise.
8986         * math/w_remainderl.c: Likewise.
8987         * math/w_scalb.c: Likewise.
8988         * math/w_scalbf.c: Likewise.
8989         * math/w_scalbl.c: Likewise.
8990         * math/w_sinh.c: Likewise.
8991         * math/w_sinhf.c: Likewise.
8992         * math/w_sinhl.c: Likewise.
8993         * math/w_sqrt.c: Likewise.
8994         * math/w_sqrtf.c: Likewise.
8995         * math/w_sqrtl.c: Likewise.
8996         * math/w_tgamma.c: Likewise.
8997         * math/w_tgammaf.c: Likewise.
8998         * math/w_tgammal.c: Likewise.
9000         * po/ja.po: Update from translation team.
9002 2011-09-29  Andreas Jaeger  <aj@suse.de>
9004         [BZ #13179]
9005         * sunrpc/netname.c (netname2host): Fix logic.
9007         [BZ #6779]
9008         [BZ #6783]
9009         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9010         correctly.
9011         * math/w_remainder.c (__remainder): Likewise.
9012         * math/w_remainderf.c (__remainderf): Likewise.
9013         * math/libm-test.inc (remainder_test): Add test cases.
9015 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9017         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
9018         sdiv_qrnnd.
9020 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
9022         * string/test-memcmp.c: Avoid unncessary #defines.
9023         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9025 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9027         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9028         Use new sse2 version for core i3 - i7 as it's faster
9029         than sse42 version.
9030         (bit_Prefer_PMINUB_for_stringop): New.
9031         * sysdeps/x86_64/rawmemchr.S: Update.
9032         Replace with faster SSE2 version.
9033         * sysdeps/x86_64/memrchr.S: New file.
9034         * sysdeps/x86_64/memchr.S: Update.
9035         Replace with faster SSE2 version.
9037 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
9039         * elf/dl-load.c (lose): Add cast to avoid warning.
9041 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
9043         * po/ca.po: Update from translation team.
9045         * inet/getnetgrent_r.c: Hook up nscd.
9046         * nscd/Makefile (routines): Add nscd_netgroup.
9047         (nscd-modules): Add netgroupcache.
9048         (CFLAGS-netgroupcache.c): Define.
9049         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9050         (cache_search): Add const to second parameter.
9051         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9052         INNETGR.
9053         (dbs): Add netgrdb entry.
9054         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9055         (verify_persistent_db): Handle netgrdb.
9056         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9057         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9058         GETFDNETGR.
9059         (netgroup_response_header): Define.
9060         (innetgroup_response_header): Define.
9061         (datahead): Add netgroup_response_header and innetgroup_response_header
9062         elements.
9063         * nscd/nscd.conf: Add entries for netgroup cache.
9064         * nscd/nscd.h (dbtype): Add netgrdb.
9065         (_PATH_NSCD_NETGROUP_DB): Define.
9066         (netgroup_iov_disabled): Declare.
9067         (xmalloc, xcalloc, xrealloc): Move declarations here.
9068         (cache_search): Adjust prototype.
9069         Add netgroup-related prototypes.
9070         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9071         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9072         (__nscd_innetgr): Declare.
9073         * nscd/selinux.c (perms): Use access_vector_t as element type and
9074         add netgroup-related initializers.
9075         * nscd/netgroupcache.c: New file.
9076         * nscd/nscd_netgroup.c: New file.
9077         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9078         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9079         For four parameters use innetgr.
9080         * nss/nss_files/files-init.c: Add definition and callback for netgr.
9081         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9082         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9083         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9085         * nscd/connections.c (register_traced_file): Don't register file
9086         for disabled databases.
9088 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
9090         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9092         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9093         from tree and freeing node.
9095 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
9097         * nss/nsswitch.c (__nss_database_lookup): Handle
9098         nss_parse_service_list out of memory case.
9100 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
9102         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9103         out of memory case.
9105 2011-10-04  Andreas Schwab  <schwab@redhat.com>
9107         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9108         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9109         pass it down.
9110         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9111         elf_machine_rela, elf_machine_lazy_rel.
9112         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9113         (ELF_DYNAMIC_DO_REL): Likewise.
9114         (ELF_DYNAMIC_DO_RELA): Likewise.
9115         (ELF_DYNAMIC_RELOCATE): Likewise.
9116         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9117         to ELF_DYNAMIC_DO_REL.
9118         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9119         (dl_main): In trace mode always set __RTLD_NOIFUNC.
9120         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9121         elf_machine_rela.
9122         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9123         skip_ifunc, don't call ifunc function if non-zero.
9124         (elf_machine_rela): Likewise.
9125         (elf_machine_lazy_rel): Likewise.
9126         (elf_machine_lazy_rela): Likewise.
9127         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9128         (elf_machine_lazy_rel): Likewise.
9129         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9130         Likewise.
9131         (elf_machine_lazy_rel): Likewise.
9132         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9133         Likewise.
9134         (elf_machine_lazy_rel): Likewise.
9135         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9136         (elf_machine_lazy_rel): Likewise.
9137         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9138         (elf_machine_lazy_rel): Likewise.
9139         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9140         (elf_machine_lazy_rel): Likewise.
9141         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9142         (elf_machine_lazy_rel): Likewise.
9143         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9144         (elf_machine_lazy_rel): Likewise.
9145         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9146         (elf_machine_lazy_rel): Likewise.
9148 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
9150         * nss/nss_files/files-init.c (_nss_files_init): Use static
9151         initialization for all the *_traced_file variables.
9153 2011-09-28  Andreas Schwab  <schwab@redhat.com>
9155         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9157 2011-09-27  Roland McGrath  <roland@hack.frob.com>
9159         [BZ #13226]
9160         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9162 2011-09-27  Andreas Schwab  <schwab@redhat.com>
9164         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9165         Reread the line before reparsing it.
9167 2011-09-26  Andreas Schwab  <schwab@redhat.com>
9169         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9171 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
9172             Maxim Kuvyrkov  <maxim@codesourcery.com>
9173             Joseph Myers  <joseph@codesourcery.com>
9175         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9176         if needed for __stack_chk_guard.
9178 2011-09-19  Roland McGrath  <roland@hack.frob.com>
9180         * sysdeps/posix/spawni.c (script_execute): Always define it.
9181         It will be optimized away if unused.
9182         (maybe_script_execute): New function.
9183         (__spawni): Call it.
9185         * Makerules: Don't include tls.make.
9186         (config-tls): Always set to thread.
9187         * tls.make.c: File removed.
9189 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
9191         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9192         * config.make.in (CPPFLAGS-config): New substituted variable.
9194 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
9196         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9198         [BZ #13192]
9199         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9200         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9202 2011-09-15  Roland McGrath  <roland@hack.frob.com>
9204         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9205         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9206         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9207         (CALL_FAIL): Likewise.
9208         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9209         (CALL_FAIL): Macro removed.
9210         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9212 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
9214         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9215         for __FINITE_MATH_ONLY__ == 1.
9217 2011-09-15  Andreas Schwab  <schwab@redhat.com>
9219         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9220         __ieee754_sqrt instead of sqrt.
9221         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9222         __ieee754_sqrtf instead of sqrtf.
9223         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9224         __floorf instead of floorf.
9225         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9226         __floorf, __truncf instead of floorf, truncf.
9228 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
9230         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9232         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9233         __extern_always_inline.
9234         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9235         32-bit.
9237 2011-09-14  Andreas Schwab  <schwab@redhat.com>
9239         * elf/rtld.c (dl_main): Also relocate in dependency order when
9240         doing symbol dependency testing.
9242 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
9244         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9245         Always define `refsym'.
9247 2011-09-13  Andreas Schwab  <schwab@redhat.com>
9249         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9250         (__FD_ELT): Renamed from __FDELT.
9251         * misc/bits/select2.h (__FD_ELT): Likewise.
9252         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9253         __FD_MASK instead of __FDELT, __FDMASK.
9254         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9255         Likewise.
9256         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9257         Likewise.
9259         * elf/Makefile (gen-ldd): Fix pattern.
9261         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9262         (init_tls): Likewise.
9264 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
9266         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9268 2011-09-12  Andreas Schwab  <schwab@redhat.com>
9270         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9271         `struct cmsghdr *' instead of `void *'.
9272         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9273         Likewise.
9275 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
9277         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9278         if non-absolute.
9279         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9280         ldd_rewrite_script.
9282 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
9284         * configure.in: Remove --with-tls option.
9285         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9286         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9287         out in case it is missing.
9288         * sysdeps/ia64/elf/configure.in: Likewise.
9289         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9290         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9291         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9292         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9293         * sysdeps/sh/elf/configure.in: Likewise.
9294         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9295         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9296         * sysdeps/x86_64/elf/configure.in: Likewise.
9297         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9298         * sysdeps/mach/hurd/tls.h: Likewise.
9300         [BZ #13067]
9301         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9303         [BZ #13090]
9304         * configure.in: Fix use of AC_INIT.
9306         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9308 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
9310         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9311         __set_errno.
9312         * malloc/hooks.c: Likewise.
9314         [BZ #11929]
9315         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
9316         variables statically.
9317         (narenas): Initialize.
9318         (list_lock): Initialize.
9319         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
9320         initializtion of main_arena and list_lock.  Small cleanups.
9321         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9322         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
9323         Add initializers to main_arena and mp_.
9324         (malloc_state): Remove pagesize member.  Change all users to use
9325         GLRO(dl_pagesize).
9327         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9328         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
9329         is always initialized.
9331         * malloc/malloc.c: Removed unused configurations and dead code.
9332         * malloc/arena.c: Likewise.
9333         * malloc/hooks.c: Likewise.
9334         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9336         * include/tls.h: Removed.  USE___THREAD must always be defined.
9337         * bits/libc-tsd.h: Don't handle !USE___THREAD.
9338         * elf/dl-libc.c: Likewise.
9339         * elf/dl-tsd.c: Likewise.
9340         * include/errno.h: Likewise.
9341         * include/netdb.h: Likewise.
9342         * include/resolv.h: Likewise.
9343         * inet/herrno-loc.c: Likewise.
9344         * inet/herrno.c: Likewise.
9345         * malloc/arena.c: Likewise.
9346         * malloc/hooks.c: Likewise.
9347         * malloc/malloc.c: Likewise.
9348         * resolv/res-state.c: Likewise.
9349         * resolv/res_libc.c: Likewise.
9350         * sysdeps/i386/dl-machine.h: Likewise.
9351         * sysdeps/ia64/dl-machine.h: Likewise.
9352         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9353         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9354         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9355         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9356         * sysdeps/sh/dl-machine.h: Likewise.
9357         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9358         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9359         * sysdeps/unix/i386/sysdep.S: Likewise.
9360         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9361         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9362         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9363         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9364         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9365         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9366         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9367         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9368         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9369         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9370         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9371         * sysdeps/x86_64/dl-machine.h: Likewise.
9372         * tls.make.c: Likewise.
9374         * configure.in: Remove --with-__thread option.  Make tests for
9375         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9376         tls_model attribute fail if no support is available.  Remove
9377         USE_IN_LIBIO.
9378         * Makeconfig: Adjust for dropped configure option.  All features are
9379         now mandatory.
9380         * Makerules: Likewise.
9381         * Versions.def: Likewise.
9382         * argp/argp-fmtstream.c: Likewise.
9383         * argp/argp-fmtstream.h: Likewise.
9384         * argp/argp-help.c: Likewise.
9385         * assert/assert.c: Likewise.
9386         * config.h.in: Likewise.
9387         * config.make.in: Likewise.
9388         * configure: Likewise.
9389         * configure.in: Likewise.
9390         * csu/Versions: Likewise.
9391         * csu/init.c: Likewise.
9392         * elf/tst-audit2.c: Likewise.
9393         * elf/tst-tls10.c: Likewise.
9394         * elf/tst-tls10.h: Likewise.
9395         * elf/tst-tls11.c: Likewise.
9396         * elf/tst-tls12.c: Likewise.
9397         * elf/tst-tls14.c: Likewise.
9398         * elf/tst-tlsmod11.c: Likewise.
9399         * elf/tst-tlsmod12.c: Likewise.
9400         * elf/tst-tlsmod13.c: Likewise.
9401         * elf/tst-tlsmod13a.c: Likewise.
9402         * elf/tst-tlsmod14a.c: Likewise.
9403         * elf/tst-tlsmod15b.c: Likewise.
9404         * elf/tst-tlsmod16a.c: Likewise.
9405         * elf/tst-tlsmod16b.c: Likewise.
9406         * elf/tst-tlsmod7.c: Likewise.
9407         * elf/tst-tlsmod8.c: Likewise.
9408         * elf/tst-tlsmod9.c: Likewise.
9409         * gmon/gmon.c: Likewise.
9410         * grp/fgetgrent_r.c: Likewise.
9411         * grp/putgrent.c: Likewise.
9412         * hurd/fopenport.c: Likewise.
9413         * include/libc-symbols.h: Likewise.
9414         * include/tls.h: Likewise.
9415         * intl/gettextP.h: Likewise.
9416         * intl/loadinfo.h: Likewise.
9417         * locale/global-locale.c: Likewise.
9418         * locale/localeinfo.h: Likewise.
9419         * mach/devstream.c: Likewise.
9420         * malloc/arena.c: Likewise.
9421         * malloc/set-freeres.c: Likewise.
9422         * misc/err.c: Likewise.
9423         * misc/getttyent.c: Likewise.
9424         * misc/mntent_r.c: Likewise.
9425         * posix/getopt.c: Likewise.
9426         * posix/wordexp.c: Likewise.
9427         * pwd/fgetpwent_r.c: Likewise.
9428         * resolv/Versions: Likewise.
9429         * resolv/res_hconf.c: Likewise.
9430         * shadow/fgetspent_r.c: Likewise.
9431         * shadow/putspent.c: Likewise.
9432         * stdio-common/printf_fphex.c: Likewise.
9433         * stdio-common/tmpfile.c: Likewise.
9434         * stdlib/abort.c: Likewise.
9435         * stdlib/fmtmsg.c: Likewise.
9436         * sunrpc/auth_unix.c: Likewise.
9437         * sunrpc/clnt_perr.c: Likewise.
9438         * sunrpc/clnt_tcp.c: Likewise.
9439         * sunrpc/clnt_udp.c: Likewise.
9440         * sunrpc/clnt_unix.c: Likewise.
9441         * sunrpc/openchild.c: Likewise.
9442         * sunrpc/svc_simple.c: Likewise.
9443         * sunrpc/svc_tcp.c: Likewise.
9444         * sunrpc/svc_udp.c: Likewise.
9445         * sunrpc/svc_unix.c: Likewise.
9446         * sunrpc/xdr.c: Likewise.
9447         * sunrpc/xdr_array.c: Likewise.
9448         * sunrpc/xdr_rec.c: Likewise.
9449         * sunrpc/xdr_ref.c: Likewise.
9450         * sunrpc/xdr_stdio.c: Likewise.
9452 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9454         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9456 2011-07-03  Andreas Jaeger  <aj@suse.de>
9458         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9459         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9460         regenerate with gen-libm-tests.pl.
9462 2010-05-12  Petr Baudis  <pasky@suse.cz>
9464         [BZ #11589]
9465         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9466         around j0() zero points by switching to j1().
9467         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9468         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9469         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9470         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9472 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9474         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9475         instead of 0.
9476         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9477         instead of 0.                              .
9478         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9479         Patch in part by Pavel Roskin <proski@gnu.org>.
9481         [BZ #13138]
9482         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9483         realloc.
9484         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
9485         Free memory block if necessary.
9487         [BZ #12847]
9488         * libio/genops.c (INTDEF): For string streams the _lock pointer can
9489         be NULL.  Don't lock in this case.
9491 2011-09-09  Roland McGrath  <roland@hack.frob.com>
9493         * elf/elf.h (ELFOSABI_GNU): New macro.
9494         (ELFOSABI_LINUX): Define to that.
9496 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
9498         * string/strncat.c (strncat): Undef the symbol in case it has been
9499         defined in bits/string.h.
9501 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9503         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9505         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9506         link map.
9508 2011-08-17  Andreas Jaeger  <aj@suse.de>
9510         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9512 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9513             Ian Lance Taylor  <iant@google.com>
9515         * math/libm-test.inc (lround_test): New testcase.
9516         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9518 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
9520         * Makefile: Remove support for automatic cvs check-ins.
9521         * Makerules: Likewise.
9522         * config.make.in: Likewise.
9523         * configure.in: Likewise.
9524         * intl/Makefile: Likewise.
9525         * locale/Makefile: Likewise.
9526         * po/Makefile: Likewise.
9527         * posix/Makefile: Likewise.
9528         * sysdeps/gnu/Makefile: Likewise.
9529         * sysdeps/mach/hurd/Makefile: Likewise.
9530         * sysdeps/sparc/sparc32/Makefile: Likewise.
9532         [BZ #13118]
9533         * posix/Makefile (bug-regex32-ENV): Define.
9534         Patch by John Stanley <jpsinthemix@verizon.net>.
9536         * misc/Makefile (headers): Add bits/select2.h.
9537         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9538         * misc/bits/select2.h: New file.
9539         * include/bits/select2.h: New file.
9540         * debug/Makefile (routines): Add fdelt_chk.
9541         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9542         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9543         FD_ISSET.
9544         * debug/fdelt_chk.c: New file.
9546         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
9547         * wcsmbs/test-wmemcmp.c: Likewise.
9548         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9549         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9551 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9553         * string/Makefile (strop-tests): Add memcmp.
9554         * string/test-wmemcmp.c: New file.
9555         * string/test-memcmp.c: Add wmemcmp support.
9557 2011-09-08  Roland McGrath  <roland@hack.frob.com>
9559         [BZ #13153]
9560         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9561         2011-07-19 change.
9563         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9564         garbage value in a __mach_port_mod_refs call in the cases of the
9565         task-self and thread-self ports.
9567 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9569         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9571 2011-09-08  Andreas Schwab  <schwab@redhat.com>
9573         * elf/dl-load.c (lose): Check for non-null L.
9575 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9577         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9579         * elf/dl-libc.c (dlerror_run): Pass back error code from
9580         dl_catch_error.
9582         [BZ #13123]
9583         * elf/dl-load.c (lose): Free l_origin if it is valid.
9585         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9586         names.
9587         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9588         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9589         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9590         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9591         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9592         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9594 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9596         * sysdeps/powerpc/fpu/e_hypot.c: New file.
9597         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9598         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9599         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9600         * sysdeps/powerpc/fpu/k_cosf.c: New file.
9601         * sysdeps/powerpc/fpu/k_sinf.c: New file.
9602         * sysdeps/powerpc/fpu/s_cosf.c: New file.
9603         * sysdeps/powerpc/fpu/s_sinf.c: New file.
9604         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9605         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9607 2011-08-15  Alan Modra  <amodra@gmail.com>
9609         [BZ #13092]
9610         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9611         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9612         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
9613         ppc_mcount to static-only-routines.
9614         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9615         __mcount_internal.
9616         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9617         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
9619 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
9621         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9622         for finite and infinity parameters.
9624 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9626         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9627         and add nop instructions for throughput optimization.
9628         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9630 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
9632         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9633         aligned copy for power7 with vector-scalar instructions.
9634         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9636 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
9638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9639         AVX check.
9641 2011-09-07  Andreas Schwab  <schwab@redhat.com>
9643         [BZ #13144]
9644         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9645         last change.
9647 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9649         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9650         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9651         syscall wrapper around clock_gettime in __vdso_clock_gettime.
9652         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9653         clock_gettime.
9655 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9657         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9658         Forgot to demangle the pointer.
9660         * sysdeps/i386/sysdep.h: Define atom_text_section.
9661         * sysdeps/x86_64/sysdep.h: Likewise.
9662         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9663         section with atom_text_section.
9664         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9665         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9666         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9667         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9668         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9670         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9671         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9672         already be defined.  Change to take two parameters and don't assign
9673         result to variable.  Adjust all users.
9674         Define INTERNAL_GETTIME if not already defined.
9675         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9676         call.
9677         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9678         HAVE_CLOCK_GETTIME_VSYSCALL.
9679         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9681         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9682         gettimeofday vsyscall, just use time.
9684 2011-09-06  Andreas Schwab  <schwab@redhat.com>
9686         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9687         <errno.h>.
9689 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9691         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9692         syscall on x86-64.
9693         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9694         syscall.
9695         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9696         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9697         syscall if possible.
9699 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9701         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9702         e_ident.  Don't pass to find_mapsXX.
9703         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9705 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9708         strchr-sse2-no-bsf strrchr-sse2-no-bsf
9709         * sysdeps/x86_64/multiarch/strchr.S: Update.
9710         Check bit_slow_BSF bit.
9711         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9712         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9713         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9715 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9717         [BZ #13134]
9718         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9719         before glibc 2.15.
9720         (tryshell): Define.
9721         (__spawni): Change last parameter to be flag.  Test
9722         SPAWN_XFLAGS_USE_PATH flag to use path or not.
9723         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9724         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9725         * posix/spawni.c: Likewise.
9726         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9727         * posix/spawnp.c: Likewise.  Change normal version to use
9728         SPAWN_XFLAGS_USE_PATH.
9729         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9730         SPAWN_XFLAGS_TRY_SHELL.
9732         [BZ #13150]
9733         * posix/glob.h: Remove gcc 1.x support.
9735         [BZ #13068]
9736         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9738 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9740         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9741         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9742         strrchr-sse2-bsf
9743         * sysdeps/i386/i686/multiarch/strchr.S: New file.
9744         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9745         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9746         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9747         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9748         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9750 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9752         * sysdeps/x86_64/wcscmp.S: New file.
9754         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9755         wcscmp-c wcscmp-sse2
9756         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9757         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9758         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9759         * wcsmbs/wcscmp.c: Allow renaming.
9761 2011-09-05  David S. Miller  <davem@davemloft.net>
9763         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9764         stack slot, rather than the struct return pointer slot.
9765         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9766         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9768         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9770 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9772         * po/ja.po: Update from translation team.
9774         [BZ #13144]
9775         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9776         kernel in 64-bit binaries.
9778 2011-09-01  David S. Miller  <davem@davemloft.net>
9780         * elf/elf.h (HWCAP_SPARC_*): Move to..
9781         * sysdeps/sparc/sysdep.h: this new file and add new values.
9782         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9783         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9784         _DL_HWCAP_COUNT to 24.
9785         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9786         entries.
9787         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9788         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9789         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9790         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9791         instead of magic constants.
9792         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9794 2011-08-31  David S. Miller  <davem@davemloft.net>
9796         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9798         Reimplement to do errno handling inline.
9799         (SYSCALL_ERROR_HANDLER): New macro.
9800         (__SYSCALL_STRING): Do not do errno handling in asm.
9801         (__CLONE_SYSCALL_STRING): Delete.
9802         (__INTERNAL_SYSCALL_STRING): Delete.
9803         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9804         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9805         (PSEUDO): Reimplement to do errno handling inline.
9806         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9807         (SYSCALL_ERROR_HANDLER): New macro.
9808         (__SYSCALL_STRING): Do not do errno handling in asm.
9809         (__CLONE_SYSCALL_STRING): Delete.
9810         (__INTERNAL_SYSCALL_STRING): Delete.
9811         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9812         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9813         i386.
9814         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9815         (inline_syscall*): Add 'err' argument.
9816         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9817         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9818         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9819         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9821         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9822         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9824 2011-08-30  Andreas Schwab  <schwab@redhat.com>
9826         * elf/rtld.c (dl_main): Relocate objects in dependency order.
9828 2011-08-29  Jiri Olsa <jolsa@redhat.com>
9830         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9831         directive.
9833 2011-08-24  David S. Miller  <davem@davemloft.net>
9835         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9837 2011-08-24  Andreas Schwab  <schwab@redhat.com>
9839         * elf/Makefile: Add rules to build and run unload8 test.
9840         * elf/unload8.c: New file.
9841         * elf/unload8mod1.c: New file.
9842         * elf/unload8mod1x.c: New file.
9843         * elf/unload8mod2.c: New file.
9844         * elf/unload8mod3.c: New file.
9846         * elf/dl-close.c (_dl_close_worker): Reset private search list if
9847         it wasn't used.
9849 2011-08-23  David S. Miller  <davem@davemloft.net>
9851         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9852         subtract stack bias.
9853         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9854         %sp not %fp in calculations.
9855         (_JMPBUF_UNWINDS_ADJ): Likewise.
9857         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9858         (aio_suspend): Call it to force an exception region around the
9859         AIO_MISC_WAIT() invocation.
9861 2011-08-23  Andreas Schwab  <schwab@redhat.com>
9863         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9864         backslash.
9866 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
9868         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9869         protection macro.
9870         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9871         and <dl-machine.h>.
9872         (Elf64_FuncDesc): Remove.
9874 2011-08-22  David S. Miller  <davem@davemloft.net>
9876         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9877         sigaltstack check, add missing cfi directives.
9878         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9879         missing cfi directives, and sigaltstack handling.
9881 2011-08-16  Andreas Schwab  <schwab@redhat.com>
9883         [BZ #11724]
9884         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9885         object is seen twice.
9886         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9888         * elf/Makefile (distribute): Add tst-initorder2.c.
9889         (tests): Add tst-initorder2.
9890         (modules-names): Add tst-initorder2a tst-initorder2b
9891         tst-initorder2c tst-initorder2d.  Add rules to build them.
9892         ($(objpfx)tst-initorder2.out): New rule.
9893         * elf/tst-initorder2.c: New file.
9894         * elf/tst-initorder2.exp: New file.
9896 2011-08-22  Andreas Schwab  <schwab@redhat.com>
9898         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9900         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9901         dependencies back to end of function.
9903         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9904         $(elfobjdir)/ld.so.
9906 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
9908         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9909         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9910         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9911         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9912         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9913         of __vdso_gettimeofday.
9914         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9915         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
9916         attribute_hidden.
9917         (_libc_vdso_platform_setup): Remove initialization of
9918         __vdso_gettimeofday and __vdso_time.
9920 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9922         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9923         and fgetc_unlocked.
9924         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9925         getc_unlocked.
9927         * elf/dl-open.c (add_to_global): Report additions to the global scope
9928         for LD_DEBUG=scopes.
9929         (dl_open_worker): Also print scope of newly loaded dependencies.
9930         (_dl_show_scope): Indicate if there is no scope.
9932         [BZ #13114]
9933         * stdio-common/Makefile (tests): Add bug24.
9934         * stdio-common/bug24.c: New file.
9936 2011-08-19  Andreas Jaeger  <aj@suse.de>
9938         [BZ #13114]
9939         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9940         non-existant file when using close-on-exec mode.
9942 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9944         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9945         the very first instruction.
9947         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9948         the CFI state in the end.
9949         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9950         inclusion of dl-trampoline.h.
9951         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9953 2011-08-19  Andreas Schwab  <schwab@redhat.com>
9955         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9956         expectations for long double.
9958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9959         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9961 2011-08-14  David S. Miller  <davem@davemloft.net>
9963         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9964         artificual limit depends upon the system page size.
9966 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
9968         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9969         * resolv/Makefile: Define CFLAGS-libresolv.
9971 2011-08-17  Andreas Schwab  <schwab@redhat.com>
9973         * nss/makedb.c (compute_tables): Make variables used in nested
9974         function static.
9976 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
9978         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9979         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9980         if buffer was too small.
9982         * elf/pldd.c (main): Attach to all threads in the process.
9983         Rewrite /proc handling to use *at functions.
9985 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
9987         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9988         specifies first scope to show.
9989         (dl_open_worker): Update callers.  Move printing scope of new
9990         object to before the relocation.
9991         * elf/rtld.c (dl_main): Update _dl_show_scope call.
9992         * sysdeps/generic/ldsodefs.h: Update declaration.
9994         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9995         string for the scope number.
9997 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
9999         * nscd/servicescache.c (cache_addserv): Make sure written is always
10000         initialized.
10002 2011-08-14  Roland McGrath  <roland@hack.frob.com>
10004         * sysdeps/i386/i486/bits/atomic.h
10005         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10006         statement expression, so as to suppress "set but not used" warning.
10007         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10009         * string/strncat.c (STRNCAT): Use prototype definition.
10011         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10012         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10013         -Iprograms here.
10014         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10015         (localedef-modules): Add localedef.
10016         (locale-modules): Add locale.
10018         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10019         * elf/rtld.c (dl_main): Invert order of assignment in last change,
10020         to avoid a warning.
10022 2011-08-14  David S. Miller  <davem@davemloft.net>
10024         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10025         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10027 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
10029         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10030         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10031         * elf/rtld.c (dl_main): Set l_name of vDSO.
10032         Call _dl_show_scope when DL_DEBUG_SCOPES.
10033         (process_dl_debug): Recognize scopes flag and also set it for all.
10034         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10035         Declare _dl_show_scope.
10037         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10038         (do_dlopen): Pass caller_dlopen to dl_open.
10039         (__libc_dlopen_mode): Initialize caller_dlopen.
10041         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10042         of libc.  Make tolower call locale-independent.  Optimize a bit by
10043         using isdigit instead of isalnum.
10044         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10046 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
10048         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10049         was a dependency or dynamically loaded.
10051 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
10053         * intl/l10nflist.c: Allow architecture-specific pop function.
10054         * sysdeps/x86_64/l10nflist.c: New file.
10056         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10057         classification.
10059 2011-08-10  Andreas Schwab  <schwab@redhat.com>
10061         * include/dirent.h: Add libc_hidden_proto for scandirat and
10062         scandirat64.  Don't declare __scandirat64.
10063         * dirent/scandirat.c: Add libc_hidden_def.
10064         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10065         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10067 2011-08-10  David S. Miller  <davem@davemloft.net>
10069         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10070         enum.
10071         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10072         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10073         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10075 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
10077         * Versions.def [libc]: Add GLIBC_2.15.
10078         * dirent/Makefile (routines): Add scandirat and scandirat64.
10079         * dirent/Versions [libc]: Export scandirat and scandirat64 for
10080         GLIBC_2.15.
10081         * dirent/dirent.h: Declare scandirat and scandirat64.
10082         * dirent/scandirat.c: New file.
10083         * dirent/scandirat64.c: New file.
10084         * sysdeps/wordsize-64/scandirat.c: New file.
10085         * sysdeps/wordsize-64/scandirat64.c: New file.
10086         * dirent/opendir.c: Define opendirat.
10087         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
10088         using scandirat.
10089         * dirent/scandir64.c: Adjust for scandir.c change.
10090         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
10091         __scandirat64, and __scandir_cancel_handler.
10092         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
10093         additional parameter and use openat instead of open (outside of ld.so).
10094         Add new __opendir as wrapper around __opendirat.
10095         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10096         here without requiring old scandirat implementation.
10098 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
10100         * dirent/scandir.c (cancel_handler): Renamed to
10101         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
10102         defined.  Adjust users.
10103         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10104         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10106 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
10108         * string/test-string.h (IMPL): Use __STRING to expand name and then
10109         stringify it.
10111         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
10112         of cleanups.
10114 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10116         * string/Makefile: Update.
10117         (strop-tests): Append strncat.
10118         * string/test-wcscmp.c: New file.
10119         New comprehensive test for wcscmp.
10120         * string/test-strcmp.c: Update.
10121         (WIDE): New define.
10123 2011-07-22  Andreas Schwab  <schwab@redhat.com>
10125         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10126         line.
10128 2011-07-26  Andreas Schwab  <schwab@redhat.com>
10130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10131         encoding to ACE if AI_IDN.
10133 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
10135         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10136         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10138 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10140         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10141         Fix overflow bug in strncat.
10142         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10144         * string/test-strncat.c: Update.
10145         Add new tests for checking overflow bugs.
10147 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10150         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10151         * sysdeps/i386/i686/multiarch/strcat.S: New file.
10152         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10153         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10154         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10155         * sysdeps/i386/i686/multiarch/strncat.S: New file.
10156         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10157         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10159         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10160         (USE_AS_STRCAT): Define.
10161         Add strcat and strncat support.
10162         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10164 2011-07-25  Andreas Schwab  <schwab@redhat.com>
10166         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10167         __n bigger than INT_MAX+1.
10168         (__strncmp_g): Likewise.
10170 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
10172         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10173         * libio/stido.h: Likewise.
10175         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10176         (AF_NFC): Define.
10177         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10178         (AF_NFC): Define.
10180         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10181         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10182         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10183         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10184         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10186         [BZ #13021]
10187         * scripts/test-installation.pl: Don't expect libnss_test1 to be
10188         installed.
10190         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10191         typo.
10192         (_dl_x86_64_save_sse): Likewise.
10194 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
10196         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10197         OSXSAVE.
10198         (_dl_x86_64_save_sse): Likewise.
10200         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10202         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10204 2011-07-21  Andreas Schwab  <schwab@redhat.com>
10206         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10207         change.
10208         (_dl_x86_64_save_sse): Use correct AVX check.
10210 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10212         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10213         bug in strncpy/strncat.
10214         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10216 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
10218         * string/tester.c (test_strcat): Add tests for different alignments
10219         of source and destination.
10220         (test_strncat): Likewise.
10222 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
10224         [BZ #12852]
10225         * posix/glob.c (glob): Check passed in values before using them in
10226         expressions to avoid some overflows.
10227         (glob_in_dir): Likewise.
10229         [BZ #13007]
10230         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10231         check for AVX enablement so that we don't crash with old kernels and
10232         new hardware.
10233         * elf/tst-audit4.c: Add same checks here.
10234         * elf/tst-audit6.c: Likewise.
10236         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10238 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
10240         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10242 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
10244         * po/cs.po: Update from translation team.
10245         * po/bg.po: Likewise.
10247 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
10249         * misc/sys/cdefs.h: Add support for const attribute.
10250         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10251         to gnu_dev_{major,minor,makedev} functions.
10253 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
10255         * intl/dcigettext.c (get_output_charset): Add missing bracket.
10257 2011-07-20  Andreas Schwab  <schwab@redhat.com>
10259         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10260         strlen results.
10262 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10264         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10265         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10266         register in order to avoid conflicts with the soft frame pointer
10267         being held in r11 when necessary.
10268         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10269         (INTERNAL_VSYSCALL_NCS): Likewise.
10271 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
10273         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10274         * elf/dl-fini.c (_dl_fini): Adjust caller.
10275         * elf/dl-close.c (_dl_close_worker): Likewise.
10276         * sysdeps/generic/ldsodefs.h: Adjust declaration.
10278 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10280         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10281         "aux_cache->nlibs < 0".
10283         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10284         in the reload-count case.
10286 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10288         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10289         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10290         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10291         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10292         * sysdeps/x86_64/multiarch/strcat.S: New file.
10293         * sysdeps/x86_64/multiarch/strncat.S: New file.
10294         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10295         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10296         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10297         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10298         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10299         (USE_AS_STRCAT): Define.
10300         Add strcat and strncat support.
10301         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10302         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10303         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10304         * string/strncat.c: Update.
10305         (USE_AS_STRNCAT): Define.
10306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10307         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10308         and i7.
10309         * sysdeps/x86_64/multiarch/init-arch.h
10310         (bit_Prefer_PMINUB_for_stringop): New.
10311         (index_Prefer_PMINUB_for_stringop): Likewise.
10312         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10313         bit_Prefer_PMINUB_for_stringop.
10315 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10317         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10318         buffer64.
10319         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10320         of casting of buffer.
10321         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10322         buffer32 and buffer64.
10323         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10324         writes instead of casting of buffer.
10325         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10326         buffer32.
10327         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10328         casting of buffer.
10330 2011-07-19  Andreas Schwab  <schwab@redhat.com>
10332         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10334 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10336         * nscd/nscd.c (termination_handler): Don't do anything for a database
10337         if it has not yet been initialized.
10339 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10341         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10343 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10345         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10347 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10349         * po/nl.po: Update from translation team.
10350         * po/sv.po: Likewise.
10352 2011-07-16  Roland McGrath  <roland@hack.frob.com>
10354         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10355         now disallowed by GCC.
10357         * configure.in (use-default-link): Default to yes if a test -shared
10358         link meets our qualifications.
10359         * configure: Regenerated.
10361         * config.make.in (output-format): New variable.
10362         * configure.in: Check for ld --print-output-format support.
10363         * configure: Regenerated.
10364         * Makerules ($(common-objpfx)format.lds)
10365         [$(output-format) != unknown]: Just use $(output-format),
10366         instead of the linker-script munging.
10368 2011-07-14  Roland McGrath  <roland@hack.frob.com>
10370         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10371         of $(common-objpfx)shlib.lds.
10372         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10374         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10375         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10377         * configure.in (-z relro check): Adjust test code to add a large
10378         writable data section after it.
10379         * configure: Regenerated.
10381 2011-07-11  Roland McGrath  <roland@hack.frob.com>
10383         * configure.in (-z relro check): Fix test code to make the variable
10384         truly const.
10385         * configure: Regenerated.
10387 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
10389         * nscd/nscd.h (struct traced_file): Define.
10390         (struct database_dyn): Remove inotify_descr, reset_res, and filename
10391         elements.  Add traced_files.
10392         (inotify_fd): Declare.
10393         (register_traced_file): Declare.
10394         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10395         (inotify_fd): Export.
10396         (resolv_conf_descr): Remove.
10397         (nscd_init): Move inotify descriptor creation to main.
10398         Don't register files for notification here.
10399         (register_traced_file): New function.
10400         (invalidate_cache): Don't use reset_res to determine whether to call
10401         res_init, go through the list of registered files.
10402         (main_loop_poll): The inotify descriptors are now stored in the
10403         structures for the traced files.
10404         (main_loop_epoll): Likewise
10405         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
10406         to __nss_disable_nscd.
10407         * nscd/cache.c (prune_cache): There is no single inotify descriptor
10408         for a database anymore.  Check the records for all the registered
10409         files instead.
10410         * nss/Makefile (libnss_files-routines): Add files-init.
10411         (libnss_db-routines): Add db-init.
10412         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10413         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10414         * nss/nss_db/db-init.c: New file.
10415         * nss/nss_files/files-init.c: New file.
10416         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
10417         __nss_lookup_function.
10418         (__nss_lookup_function): Call nss_load_library.
10419         (nss_load_all_libraries): New function.
10420         (__nss_disable_nscd): Take parameter with callback function for files
10421         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
10422         used for the cached services.
10423         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10424         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10425         options for features to all the files in nscd.
10427         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10429 2011-07-10  Roland McGrath  <roland@hack.frob.com>
10431         * csu/elf-init.c (__libc_csu_init): Comment typo.
10433 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
10435         * po/pl.po: Update from translation team.
10436         * po/ja.po: Likewise.
10437         * po/ru.po: Likewise.
10438         * po/ko.po: Likewise.
10439         * po/fr.po: Likewise.
10441 2011-07-09  Roland McGrath  <roland@hack.frob.com>
10443         * configure.in (.ctors/.dtors header and trailer check):
10444         Use an empirical test on a built program.
10445         * configure: Regenerated.
10447         * configure.in (-z relro check): Use an empirical test on a built DSO.
10448         Detect, but do not require, on ia64.
10449         * configure: Regenerated.
10451         * configure.in (READELF): Find it with AC_CHECK_TOOL.
10452         Update tests that use readelf to use $READELF instead.
10453         * configure: Regenerated.
10455 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
10457         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10458         if the result is not used.
10460 2011-07-05  Andreas Jaeger  <aj@suse.de>
10462         [BZ#9696]
10463         * stdlib/tst-strtod.c: Add testcase.
10465 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
10467         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10468         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10469         The latter has a higher limit.  Take additional parameter to pass to
10470         the new function.
10471         (__pathconf): Pass file to __statfs_link_max.
10472         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10473         __statfs_link_max.
10474         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10475         __statfs_link_max.
10477         [BZ #12868]
10478         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10479         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10480         Handle Lustre.
10481         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10482         (__statfs_filesize_max): Likewise.
10483         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10485 2011-07-05  Andreas Jaeger  <aj@suse.de>
10487         * resolv/res_comp.c (dn_skipname): Remove unused variable.
10489 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
10491         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10492         `status' variable.
10493         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10494         Likewise.
10496 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10498         * Makefile (strop-tests): Add strncat.
10499         * string/test-strncat.c: New file.
10501 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
10503         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10505 2011-06-21  Andreas Jaeger  <aj@suse.de>
10507         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10508         Copy rule from iconvdata/Makefile.
10510 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10512         [BZ #12922]
10513         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10514         but no long options are defined, just return 'W'.
10516 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
10518         [BZ #9696]
10519         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10521 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10523         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10524         netgroups to read.
10525         (innetgr): Likewise.
10527 2011-07-05  Roland McGrath  <roland@hack.frob.com>
10529         * config.make.in (install_root): Default to $(DESTDIR).
10531 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
10533         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10535 2011-07-02  Roland McGrath  <roland@hack.frob.com>
10537         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10539         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10540         containing directory rather than embedding absolute directory names.
10542         * scripts/check-local-headers.sh: Rewritten using awk.
10543         Match by word, not by line.  Print error messages for matches.
10544         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10546         * Makerules [shlib-lds-flags empty]:
10547         ($(common-objpfx)libc_pic.opts): New target.
10548         ($(common-objpfx)libc_pic.os.clean): New target.
10549         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10551         * config.make.in (OBJCOPY): New variable.
10552         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10553         * configure: Regenerated.
10555         * config.make.in (use-default-link): New variable.
10556         * configure.in (use_default_link): Grok --with-default-link to set it.
10557         * configure: Regenerated.
10558         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10559         (shlib-lds, shlib-lds-flags): Define to empty.
10561         * Makerules (shlib-lds): New variable.
10562         (shlib-lds-flags): New variable.
10563         (build-shlib, build-moduile, build-module-asneeded): Use it.
10564         ($(common-objpfx)libc.so): Use $(shlib-lds).
10565         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10566         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10568         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10569         DT_FLAGS/DT_FLAGS_1 with zero flags.
10571         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10572         linker script munging.
10574 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
10576         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10577         as 128-bit value.
10578         * crypt/sha512.c (sha512_process_block): Perform total addition using
10579         128-bit if possible.
10580         (__sha512_finish_ctx): Likewise.
10581         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10582         as 64-bit value.
10583         * crypt/sha256.c (SWAP64): Define.
10584         (sha256_process_block): Perform total addition using 64-bit if
10585         possible.
10586         (__sha256_finish_ctx): Likewise.
10588 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
10590         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
10591         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10592         * nscd/hstcache.c (cache_addhst): Likewise.
10593         * nscd/grpcache.c (cache_addgr): Likewise.
10594         * nscd/aicache.c (addhstaiX): Likewise
10595         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10597 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
10599         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10600         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10601         * nscd/hstcache.c (cache_addhst): Likewise.
10602         * nscd/grpcache.c (cache_addgr): Likewise.
10603         * nscd/aicache.c (addhstaiX): Likewise
10605 2011-07-01  Andreas Schwab  <schwab@redhat.com>
10607         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10608         domain only when needed.
10610 2011-06-30  Andreas Schwab  <schwab@redhat.com>
10612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10613         is always restored.
10615 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
10617         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10618         are re-adding the entry.
10619         * nscd/servicescache.c (cache_addserv): Likewise.
10621 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10623         * sysdeps/generic/dl-irel.h: fix protection against multiple
10624         inclusions.
10625         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10627 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
10629         [BZ #12935]
10630         * malloc/memusage.sh: Fix quoting in message.
10631         * debug/xtrace.sh: Likewise.
10633         * configure.in: Remove support for --experimental-malloc option, make
10634         it the default.
10635         * config.make.in: Likewise.
10636         * malloc/Makefile: Likewise.
10638 2011-06-27  Andreas Schwab  <schwab@redhat.com>
10640         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10641         two-byte characters.
10643 2011-06-27  Roland McGrath  <roland@hack.frob.com>
10645         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10646         AC_CACHE_CHECK invocation.
10647         * configure: Regenerated.
10649         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10651 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
10653         [BZ #12350]
10654         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
10655         bit from old_res_options.
10657         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10659         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10660         value type for setfct.
10662 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
10664         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10665         __gettimeofday instead of gettimeofday.
10667 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
10669         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10671 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10673         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10675         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10676         info.
10678 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10681         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10682         strcpy-sse2-unaligned strncpy-sse2-unaligned
10683         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10684         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10685         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10686         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10687         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10688         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10689         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10690         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10691         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10692         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10693         (STRCPY): Support SSE2 and SSSE3 versions.
10695 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
10697         [BZ #12874]
10698         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10699         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10700         kernels which artificially limit size of requests.
10702 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10704         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10705         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10706         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10707         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10708         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10709         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10710         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10711         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10712         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10713         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10714         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10715         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10716         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10717         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10718         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10720         Enable unaligned load optimization for Intel Core i3, i5 and i7
10721         processors.
10722         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10723         Define.
10724         (index_Fast_Unaligned_Load): Define.
10725         (HAS_FAST_UNALIGNED_LOAD): Define.
10727 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
10729         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10731 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10733         [BZ #12907]
10734         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10735         until it is clear that the information is realy needed.
10736         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10738 2011-06-22  Andreas Schwab  <schwab@redhat.com>
10740         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10742 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10744         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10745         /sys/devices/system/cpu/online if it is usable.
10747         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10748         reading the information from the /proc filesystem to once a second.
10750 2011-06-21  Andreas Jaeger  <aj@suse.de>
10752         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10753         NULL after inclusion of kernel headers.
10755 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
10757         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10758         calls to internal_setent.
10760         [BZ #12885]
10761         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10762         addresses using gethostbyname4_r ignore IPv4 addresses.
10764         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10765         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
10767         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10769 2011-06-20  David S. Miller  <davem@davemloft.net>
10771         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10772         inclusions.
10773         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10775         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10776         (elf_irel): Use it.
10777         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10778         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10779         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10780         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10781         * sysdeps/x86_64/dl-irel.h: Likewise.
10783         * elf/dl-runtime.c: Use elf_ifunc_invoke.
10784         * elf/dl-sym.c: Likewise.
10786 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10788         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
10789         need to dereference resplen2.
10791 2011-06-14  Andreas Schwab  <schwab@redhat.com>
10793         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10795 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10797         * Makeconfig: Define vardbdir and inst_vardbdir.
10798         * nss/Makefile: Add rules to install db-Makefile.
10800         * nss/nss_db/db-XXX.c: Cleanup.
10802         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10803         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10804         GLIBC_PRIVATE.
10805         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10806         * nss/makedb.c: Implement -g option to specify that value strings
10807         are generated and should not be added to table iterated over for
10808         get*ent calls.
10809         * nss/nss_db/db-initgroups.c: New file.
10811         * nss/getent.c: Add support for initgroups lookups through getgrouplist
10812         interface.
10814         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10815         (internal_getgrouplist): Adjust to name change.
10816         Update use_initgroups_entry if this is not the first call.
10817         * nss/databases.def: Add initgroups entry.
10819         * nss/makedb.c (compute_tables): Check result of multiple hash table
10820         sizes to minimize maximum chain length.
10822 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
10824         * Versions.def: Add entry for libnss_db.
10825         * shlib-versions: Likewise.
10826         * nss/Makefile: Add rules to build libnss_db.
10827         * nss/Versions: Add libnss_db information.  Organize libnss_files
10828         entries better.
10829         * nss/db-Makefile: Add gshadow support.  Change rules for the new
10830         makedb progra.  Some minor improvements to generate smaller files.
10831         * nss/nss_db/nss_db.h: Move NSS database header data structures to
10832         here from...
10833         * nss/makedb.c: ...here.
10834         Improve database format to be smaller and require less memory at
10835         runtime.
10836         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
10837         db anymore.
10838         * nss/nss_db/db-netgrp.c: Likewise.
10839         * nss/nss_db/db-open.c: Likewise.
10840         * nss/nss_files/flies-XXX.x: Adjust comments.
10841         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10842         * nss/nss_files/files-grp.c: Likewise.
10843         * nss/nss_files/files-hosts.c: Likewise.
10844         * nss/nss_files/files-network.c: Likewise.
10845         * nss/nss_files/files-proto.c: Likewise.
10846         * nss/nss_files/files-pwd.c: Likewise.
10847         * nss/nss_files/files-rpc.c: Likewise.
10848         * nss/nss_files/files-service.c: Likewise.
10849         * nss/nss_files/files-sgrp.c: Likewise.
10850         * nss/nss_files/files-spwd.c: Likewise.
10851         * nss/nss_db/db-alias.c: Removed.
10852         * nss/nss_db/dummy-db.h: Removed.
10854 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
10856         * nss/makedb.c: Rewritten to not use database library.
10857         * nss/Makefile: Update to build new makedb program.
10859 2011-06-14  Andreas Jaeger  <aj@suse.de>
10861         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10862         memset declaration.
10864 2011-06-10  Andreas Schwab  <schwab@redhat.com>
10866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10867         tmpbuf.
10869 2011-06-10  Roland McGrath  <roland@hack.frob.com>
10871         * Makerules (shlib.lds): Fail if the linker script comes out empty.
10872         * elf/Makefile ($(objpfx)ld.so): Likewise.
10874         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10875         Don't list ld.so twice in dependencies.
10877         * posix/bug-regex31.c: Include <stdlib.h>.
10879         * nscd/hstcache.c (cache_addhst): Remove unused variable.
10881         * nis/nss_compat/compat-spwd.c
10882         (getspent_next_nss_netgr): Remove unused variable.
10883         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10885         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10886         nonmembers" output to use the right array.
10888         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10890         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10892         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10893         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10894         * catgets/gencat.c (read_input_file): Likewise.
10895         * locale/programs/locarchive.c (enlarge_archive): Likewise.
10897         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10898         variable definition inside #if's controlling its use.
10900         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10902         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10904         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10906         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10907         unreachable code.
10909         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10911         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10912         * configure: Regenerated.
10914         * Makerules: Revert last change.
10915         * elf/Makefile: Likewise.
10917 2011-06-09  Roland McGrath  <roland@hack.frob.com>
10919         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10920         * elf/Makefile ($(objpfx)librtld.os): Likewise.
10921         (reloc-link): Likewise.
10923 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
10925         * elf/Makefile: Add rules to build pldd.
10926         * elf/pldd.c: New file.
10927         * elf/pldd-xx.c: New file.
10929 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
10931         * version.h: Update for 2.15 development version.
10933 2011-06-07  David S. Miller  <davem@davemloft.net>
10935         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10936         ifuncs.
10937         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10938         elf_machine_lazy_rel): Likewise.
10939         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10940         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10941         elf_machine_lazy_rel): Likewise.
10942         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10943         dl_hwcap via passed in argument.
10944         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10945         Likewise.
10947 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10949         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
10951 2011-06-06  Roland McGrath  <roland@hack.frob.com>
10953         [BZ #12849]
10954         * manual/fdl-1.1.texi: New file, verbatim from:
10955         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10956         * manual/lgpl-2.1.texi: New file, verbatim from:
10957         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10958         * manual/Makefile (licenses): New variable, list those new file names.
10959         (texis): Use it.
10960         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10962         * manual/fdl.texi: File removed.
10963         * manual/lesser.texi: File removed.
10964         * manual/libc.texinfo (Copying, Documentation License):
10965         Use new @include file names, put @appendix directive before @include.
10967 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
10969         [BZ #12841]
10970         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10971         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10972         (mq_open): Add __NTH.
10974 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
10976         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10977         Assume Intel Core i3/i5/i7 processor if AVX is available.
10979 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
10981         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10982         typo.
10984 2011-05-31  Andreas Schwab  <schwab@redhat.com>
10986         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10987         memory.  Use alloca_account.  Fix memory leak when retrying.
10989 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
10991         * version.h (RELEASE): Bump for 2.14 release.
10992         * include/features.h (__GLIBC_MINOR__): Bump to 14.
10994         * config.make.in (RANLIB): Remove entry.
10996 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
10998         * po/Makefile (po-sed-cmd): Add ksh to extensions.
10999         (libc.pot): Work around missing support for .ksh extension in xgettext.
11001         [BZ #12684]
11002         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11003         if both request failed.
11004         (send_dg): In case of server errors clear resplen or *resplen2.
11006         [BZ #12454]
11007         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11008         when there are multiple maps.
11009         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11010         (_dl_fini): Remove test here.
11012         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11014 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
11016         [BZ #12350]
11017         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11018         bit from old_res_options.
11019         (gaih_inet): Likewise.
11021         [BZ #11099]
11022         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11023         as signed.
11025         * resolv/res_init.c (res_setoptions): Make the code more compact.
11027         [BZ #11558]
11028         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11029         set RES_USEVC.
11031         [BZ #11634]
11032         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11034         * malloc/malloc.h: Mark malloc hook variables as deprecated.
11036         [BZ #11781]
11037         * malloc/malloc.h: Declare malloc hook variables as volatile.
11039         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11040         in last patch.
11042         [BZ #11799]
11043         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11044         raise in the comment.
11045         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11046         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11047         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11049 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
11051         [BZ #12811]
11052         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11053         grow the buffers more if it already has to be sufficient.
11054         (build_wcs_upper_buffer): Likewise.
11055         * posix/regexec.c (check_matching): Likewise.
11056         (clean_state_log_if_needed): Likewise.
11057         (extend_buffers): Don't enlarge buffers beyond size of the input
11058         buffer.
11059         Patches mostly by Emil Wojak <emil@wojak.eu>.
11060         * posix/bug-regex32.c: New file.
11061         * posix/Makefile (tests): Add bug-regex32.
11063         * locale/findlocale.c (_nl_find_locale): Return right away if
11064         _nl_explode_name failed.
11065         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11067         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11069         * debug/xtrace.sh: Unify messages.
11070         * malloc/memusage.sh: Likewise.
11072         [BZ #12813]
11073         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11074         time symbol from vDSO.  Substitute with vsyscall if not available.
11075         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11076         __vdso_time.
11078         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11079         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11080         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11081         Add sendmmsg and internal_sendmmsg.
11082         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11083         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11084         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11086         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11087         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11088         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11090 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
11092         [BZ #12813]
11093         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11094         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
11095         available.
11096         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11097         __vdso_getcpu.
11099         [BZ #12814]
11100         * iconvdata/Makefile (tests): Add bug-iconv9.
11101         * iconvdata/bug-iconv9.c: New file.
11103 2011-05-27  Andreas Schwab  <schwab@redhat.com>
11105         [BZ #12814]
11106         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11108 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
11110         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11111         (struct user_regs_struct): Change intcs field back to cs.
11113 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
11115         * po/ja.po: Update from translation team.
11117 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
11119         [BZ #12795]
11120         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11121         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11123 2011-05-20  Andreas Schwab  <schwab@redhat.com>
11125         * stdlib/longlong.h: Update from GCC.
11127 2011-05-23  Andreas Schwab  <schwab@redhat.com>
11129         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11130         parameter name.
11131         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11132         Add parameter name.
11133         (__sysconf): Pass it down.
11135 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
11137         [BZ #12671]
11138         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11139         some situations.
11140         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11141         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11142         add in in __libc_use_alloca calls.  Adjust callers.
11143         (glob): Use malloc in some situations.
11145         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11146         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11147         pltexit.
11149 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
11151         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11152         and CLOCK_BOOTTIME_ALARM.
11154         [BZ #12782]
11155         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11156         is returned.
11158         * string/_strerror.c (__strerror_r): Print negative errors as signed
11159         numbers.
11161         [BZ #12777]
11162         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11163         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11164         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11166         * configure.in: Fix typo in redirection and correct removal of test
11167         files in two cases.
11169         [BZ #12788]
11170         * locale/setlocale.c (new_composite_name): Fix test to check for
11171         identical name of all categories.
11173         [BZ #12792]
11174         * libio/filedoalloc.c (local_isatty): New function.
11175         (_IO_file_doallocate): Use local_isatty.
11176         * stdio-common/perror.c (perror): In case a new stream is used
11177         forward the stream error.
11178         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11179         error flag.
11181 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
11183         [BZ #11869]
11184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11185         alloca.
11186         * include/alloca.h (extend_alloca_account): Define.
11188         [BZ #11857]
11189         * posix/regex.h: Fix comments with documentation of user-accessible
11190         fields after compilation and describe correct free'ing of pattern
11191         after re_compile_pattern.
11192         Patch by Reuben Thomas <rrt@sc3d.org>.
11194 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
11196         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11197         and -mno-altivec to prevent the compiler from using Altivec and/or
11198         VSX instructions when the corresponding registers are not available.
11200 2011-05-19  Andreas Schwab  <schwab@redhat.com>
11202         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11204 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
11206         * libio/freopen.c (freopen): Use __dup2, not dup2.
11207         * libio/freopen64.c (freopen64): Likewise.
11209 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11211         [BZ #12775]
11212         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11213         * math/Makefile (tests): Add test-powl.
11214         (CFLAGS-test-powl.c): Define.
11215         * math/test-powl.c: New file.
11217 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11219         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11221 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
11223         [BZ #11837]
11224         * iconvdata/gb18030.c: Update to GB18020-2005.
11226 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
11228         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11229         RE_SYNTAX_POSIX_AWK): Update to match recent development.
11230         Patch by Aharon Robbins <arnold@skeeve.com>.
11232         [BZ #11892]
11233         * stdlib/putenv.c (putenv): Don't always create copy of the variable
11234         on the stack.
11236         [BZ #11895]
11237         * misc/pselect.c (__pselect): Handle timeout value errors hidden
11238         through underflows.
11240         [BZ #12766]
11241         * misc/error.c (error_at_line): Ensure file_name and old_file_name
11242         point to strings before performing equality test for error_one_per_line
11243         mode.
11245         [BZ #11697]
11246         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11248         [BZ #11820]
11249         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11250         (struct user_fpregs_struct): Avoid __uint*_t types.
11252         [BZ #6420]
11253         * malloc/mtrace.c (tr_where): Add additional parameter to point to
11254         symbol info.  Use it instead of calling _dl_addr locally.
11255         (lock_and_info): New function.
11256         (tr_freehook): Call lock_and_info and pass symbol info as additional
11257         parameter to tr_where.
11258         (tr_mallochook): Likewise.
11259         (tr_reallochook): Likewise.
11260         (tr_memalignhook): Likewise.
11262         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
11263         used and couldn't be at all thread-safe.
11265 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
11267         * libio/freopen.c (freopen): Don't close old file descriptor
11268         before the new one is opened.  Instead dup the new file descriptor
11269         to the old one after the new stream is created.
11270         * libio/freopen64.c (freopen64): Likewise.
11271         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11272         * libio/fileops.c (_IO_new_file_close_it): Handle new
11273         _IO_FLAGS2_NOCLOSE flag.
11274         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11275         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11276         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11277         _IO_FLAGS2_NOCLOSE flag.
11278         * include/unistd.h: Add hidden_proto for dup3.
11279         Define __have_dup3.
11280         * io/dup3.c: Define hidden symbol.
11281         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11283         [BZ #7101]
11284         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11285         when an incomplete long option is used.
11286         * posix/tst-getopt_long1.c: New file.
11287         * posix/Makefile (tests): Add tst-getopt_long1.
11289         [BZ #10138]
11290         * scripts/config.guess: Update from autoconf-2.68.
11291         * scripts/config.sub: Likewise.
11293         [BZ #10157]
11294         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11295         tests into ...
11296         (has_cpuclock): ...this.  New function.
11297         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11298         macro here based on has_cpuclock code.
11300         [BZ #10149]
11301         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11302         First byte (not low byte) is now always NUL.
11303         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11305         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11306         Use non-cancelable interfaces.
11308         [BZ #9809]
11309         * locale/iso-639.def: Add entry for Sorani.
11311         [BZ #11901]
11312         * include/stdlib.h: Move include protection to the right place.
11313         Define abort_msg_s.  Declare __abort_msg with it.
11314         * stdlib/abort.c (__abort_msg): Adjust type.
11315         * assert/assert.c (__assert_fail_base): New function.  Majority
11316         of code from __assert_fail.  Allocate memory for __abort_msg with
11317         mmap.
11318         (__assert_fail): Now call __assert_fail_base.
11319         * assert/assert-perr.c: Remove bulk of implementation.  Use
11320         __assert_fail_base.
11321         * include/assert.hL Declare __assert_fail_base.
11322         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11323         mmap.
11324         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11326 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
11328         [BZ #11952]
11329         [BZ #12453]
11330         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11331         until all modules are registered in the DTV.
11332         * elf/Makefile: Add rules to build and run tst-tls19.
11333         * elf/tst-tls19.c: New file.
11334         * elf/tst-tls19mod1.c: New file.
11335         * elf/tst-tls19mod2.c: New file.
11336         * elf/tst-tls19mod3.c: New file.
11337         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11339         [BZ #12083]
11340         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11341         correctly.
11343         [BZ #12601]
11344         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11345         two-byte sequence errors.
11346         * iconvdata/Makefile (tests): Add bug-iconv8.
11347         * iconvdata/bug-iconv8.c: New file.
11349         [BZ #12626]
11350         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11351         buf2 definition.
11353         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11355         [BZ #12432]
11356         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11357         (dummy_getcfa): New function.
11358         (init): Get _Unwind_GetCFA address, use dummy if not found.
11359         (backtrace_helper): In recursion check, also check whether CFA changes.
11360         (__backtrace): Completely initialize arg.
11362         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11363         storing incomplete byte sequence in state object.  Avoid testing for
11364         guaranteed too small input if we know there is enough data available.
11366 2011-05-11  Andreas Schwab  <schwab@redhat.com>
11368         * Makeconfig (+link-pie): Indent.
11369         * Rules (binaries-pie): Define if $(have-fpie) and
11370         $(build-shared).
11371         (binaries-shared): Also filter out $(binaries-pie).
11372         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11373         * nscd/Makefile (others-pie): Add nscd.
11374         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11375         ($(objpfx)nscd): Remove command override.
11376         * login/Makefile (others-pie): Add pt_chown.
11377         ($(objpfx)pt_chown): Remove command override.
11378         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11379         remove command overrides.
11381 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
11383         * libio/tst_putwc.c: Fix error messages.
11385         [BZ #12724]
11386         * libio/fileops.c (_IO_new_file_close_it): Always flush when
11387         currently writing and seek to current position when not.
11388         * libio/Makefile (tests): Add bug-fclose1.
11389         * libio/bug-fclose1.c: New file.
11391 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
11393         [BZ #12511]
11394         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11395         don't set DF_1_NODELETE here.
11396         (do_lookup_x): When entering new entry test for copy relocation
11397         and if necessary set DF_1_NODELETE flag.
11398         * elf/tst-unique4.cc: New file.
11399         * elf/tst-unique4.h: New file.
11400         * elf/tst-unique4lib.cc: New file.
11401         * elf/Makefile: Add rules to build and run tst-unique4.
11402         Patch by Piotr Bury <pbury@goahead.com>.
11404 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
11406         [BZ #12052]
11407         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11409         [BZ #12625]
11410         * misc/mntent_r.c (addmntent): Flush the stream after the output
11412         [BZ #12393]
11413         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11414         (is_trusted_path_normalize): Skip initial colon.  Append slash
11415         to empty buffer.  Duplicate is_trusted_path code but allow
11416         constructed patch to be prefix.
11417         (is_dst): Allow $ORIGIN followed by /.
11418         (_dl_dst_substitute): Correct clearing of check_for_trusted.
11419         Correct testing of result of is_trusted_path_normalize
11420         (decompose_rpath): Fix warning.
11422 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
11424         [BZ #11257]
11425         * grp/initgroups.c (internal_getgrouplist): When we found the service
11426         list through the initgroups entry in nsswitch.conf do not always
11427         continue on a successful lookup.  Don't always use the
11428         __nss_group_database value if it is set.
11429         * nss/nsswitch.conf (initgroups): Change action for successful db
11430         lookup to continue for compatibility.
11432 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
11434         [BZ #11532]
11435         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11436         and CP774 modules.
11437         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11438         and CP774 modules.
11439         * iconvdata/tst-tables.sh: Likewise.
11440         * iconvdata/cp770.c: New file.
11441         * iconvdata/cp771.c: New file.
11442         * iconvdata/cp772.c: New file.
11443         * iconvdata/cp773.c: New file.
11444         * iconvdata/cp774.c: New file.
11445         * iconvdata/testdata/CP770: New file.
11446         * iconvdata/testdata/CP770..UTF8: New file.
11447         * iconvdata/testdata/CP771: New file.
11448         * iconvdata/testdata/CP771..UTF8: New file.
11449         * iconvdata/testdata/CP772: New file.
11450         * iconvdata/testdata/CP772..UTF8: New file.
11451         * iconvdata/testdata/CP773: New file.
11452         * iconvdata/testdata/CP773..UTF8: New file.
11453         * iconvdata/testdata/CP774: New file.
11454         * iconvdata/testdata/CP774..UTF8: New file.
11456         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11457         END CHARMAP line.
11458         * iconvdata/gen-8bit-gap.sh: Likewise.
11459         * iconvdata/gen-8bit.sh: Likewise.
11461         * locale/iso-639.def: Add ary entry.
11463         [BZ #11258]
11464         * locale/C-translit.h.in: Add U20A1 transliteration.
11466         [BZ #12178]
11467         * locale/iso-639.def: Add wae entry.
11468         Patch by Kevin Bortis <bortis@translate-wae.ch>.
11470         [BZ #12545]
11471         * locale/programs/localedef.c (construct_output_path): Use ssize_t
11472         for n.
11474         [BZ #12711]
11475         * locale/C-translit.h.in: Add entry for U20B9.
11476         Patch by pravin.d.s@gmail.com.
11478 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
11480         [BZ #12713]
11481         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11482         ENAMETOOLONG use generic getcwd.
11483         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
11484         in rtld.  Use *stat64.
11485         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11486         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11487         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11488         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11489         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11490         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11491         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11492         __fstatat64 macros.
11493         * include/dirent.h: Add libc_hidden_proto for rewinddir.
11494         * dirent/rewinddir.c: Add libc_hidden_def.
11495         * sysdeps/mach/hurd/rewinddir.c: Likewise.
11496         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
11498         * include/dirent.h (__alloc_dir): Add flags parameter.
11499         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11500         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11501         __alloc_dir.
11502         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
11503         from fdopendir if O_CLOEXEC is already set.
11505 2011-03-15  Alan Modra  <amodra@gmail.com>
11507         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11508         l_tls_firstbyte_offset non-zero.  Save padding offset in
11509         l_tls_firstbyte_offset for later use.
11510         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11511         freeing static tls block.
11513 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
11515         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11516         where #ifdef was intended.  The intent is to prevent ARG_MAX from
11517         being defined by the kernel headers.
11519 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
11521         [BZ #12734]
11522         * resolv/resolv.h: Define RES_NOTLDQUERY.
11523         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11524         no-tld-query and set RES_NOTLDQUERY.
11525         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11526         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11527         modern BIND to search name as TLD unless forbidden.
11529 2011-05-07  Petr Baudis  <pasky@suse.cz>
11530             Ulrich Drepper  <drepper@gmail.com>
11532         [BZ #12393]
11533         * elf/dl-load.c (fillin_rpath): Move trusted path check...
11534         (is_trusted_path): ...to here.
11535         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11536         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11537         using is_trusted_path_normalize() in setuid scripts.
11539 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11541         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11542         __BEGIN/__END_DECLS.
11544 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
11546         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11547         NSS_STATUS_NOTFOUND if no record was found.
11549 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11551         * sunrpc/Makefile (headers): Add rpc/netdb.h.
11552         (headers-not-in-tirpc): Remove rpc/netdb.h
11553         * resolv/netdb.h: Revert last change.
11555 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11557         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11558         circular dependency between libgcc.a and libc.a.
11560 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11562         * resolv/netdb.h: Don't include <rpc/netdb.h>.
11563         * nis/Makefile: Don't install rpcsvc/*.
11564         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11565         instead of <rpc/types.h>.
11566         (MAXHOSTNAMELEN): Define.
11568 2011-05-03  Andreas Schwab  <schwab@redhat.com>
11570         * elf/ldconfig.c (add_dir): Don't crash on empty path.
11572 2011-04-28  Maciej Babinski  <mbabinski@google.com>
11574         [BZ #12714]
11575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11576         gethostbyname4_r when IPv6 results are possible.
11578 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
11580         [BZ #12723]
11581         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11582         _PC_PIPE_BUF handling.
11584 2011-04-30  Bruno Haible  <bruno@clisp.org>
11586         [BZ #12717]
11587         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11588         * resolv/netdb.h (getnameinfo): Change type of flags parameter
11589         to 'int'.
11590         * inet/getnameinfo.c (getnameinfo): Likewise.
11592 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
11594         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11595         to groups setting in database lookup.
11596         * nss/nsswitch.conf: Add initgroups entry.
11598 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
11600         [BZ #12685]
11601         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11602         mode string.
11603         Patch by Eric Blake <eblake@redhat.com>.
11605 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
11607         * sunrpc/Makefile (need-export-routines): Add svc_run.
11608         (routines): Remove svc_run.
11609         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11610         * sunrpc/clnt_perr.c (clnt_perrno): Export.
11611         * sunrpc/svc_run.c (svc_run): Likewise.
11612         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11614 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
11616         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11617         problem in reallocation in last patch.
11619 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
11621         * sunrpc/Makefile: Move inclusion of Rules.
11623 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11625         * nss/nss_files/files-initgroups.c: New file.
11626         * nss/Makefile (libnss_files-routines): Add files-initgroups.
11627         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11628         _nss_files_initgroups_dyn.
11630 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
11632         * elf/elf.h (R_ARM_IRELATIVE): Define.
11634 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11636         * po/ru.po: Update from translation team.
11638 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11640         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11641         dependencies.
11643 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
11645         [BZ #12653]
11646         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11647         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11648         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11649         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11650         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11652 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
11654         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11655         differing bytes.
11656         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11657         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11658         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11660 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11662         [BZ #12420]
11663         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11664         storing it.
11665         * stdlib/bug-getcontext.c: New file.
11666         * stdlib/Makefile: Add rules to build and run bug-getcontext.
11668 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11670         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11671         instructions into .machine "z9-109".
11672         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11673         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11675 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11677         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11678         between environment variables and auxiliary vector.
11680 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
11682         * Makefile: Add rules to build linkobj/libc.so.
11683         * include/libc-symbols.h: Define libc_hidden_nolink.
11684         * include/rpc/auth.h: Mark functions which are to be hidden.
11685         * include/rpc/auth_des.h: Likewise.
11686         * include/rpc/auth_unix.h: Likewise.
11687         * include/rpc/clnt.h: Likewise.
11688         * include/rpc/des_crypt.h: Likewise.
11689         * include/rpc/key_prot.h: Likewise.
11690         * include/rpc/pmap_clnt.h: Likewise.
11691         * include/rpc/pmap_prot.h: Likewise.
11692         * include/rpc/pmap_rmt.h: Likewise.
11693         * include/rpc/rpc_msg.h: Likewise.
11694         * include/rpc/svc.h: Likewise.
11695         * include/rpc/svc_auth.h: Likewise.
11696         * include/rpc/xdr.h: Likewise.
11697         * nis/Makefile: Link all DSOs against linkobj/libc.so.
11698         * nss/Makefile: Likewise.
11699         * sunrpc/Makefile: Don't install headers.  Build library with normal
11700         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
11701         * sunrpc/auth_des.c: Hide exported symbols by default, export some
11702         for the compat linking library.  Remove use of INTDEF/INTUSE.
11703         * sunrpc/auth_none.c: Likewise.
11704         * sunrpc/auth_unix.c: Likewise.
11705         * sunrpc/authdes_prot.c: Likewise.
11706         * sunrpc/authuxprot.c: Likewise.
11707         * sunrpc/clnt_gen.c: Likewise.
11708         * sunrpc/clnt_perr.c: Likewise.
11709         * sunrpc/clnt_raw.c: Likewise.
11710         * sunrpc/clnt_simp.c: Likewise.
11711         * sunrpc/clnt_tcp.c: Likewise.
11712         * sunrpc/clnt_udp.c: Likewise.
11713         * sunrpc/clnt_unix.c: Likewise.
11714         * sunrpc/des_crypt.c: Likewise.
11715         * sunrpc/des_soft.c: Likewise.
11716         * sunrpc/get_myaddr.c: Likewise.
11717         * sunrpc/key_call.c: Likewise.
11718         * sunrpc/key_prot.c: Likewise.
11719         * sunrpc/netname.c: Likewise.
11720         * sunrpc/pm_getmaps.c: Likewise.
11721         * sunrpc/pm_getport.c: Likewise.
11722         * sunrpc/pmap_clnt.c: Likewise.
11723         * sunrpc/pmap_prot.c: Likewise.
11724         * sunrpc/pmap_prot2.c: Likewise.
11725         * sunrpc/pmap_rmt.c: Likewise.
11726         * sunrpc/publickey.c: Likewise.
11727         * sunrpc/rpc_cmsg.c: Likewise.
11728         * sunrpc/rpc_common.c: Likewise.
11729         * sunrpc/rpc_dtable.c: Likewise.
11730         * sunrpc/rpc_prot.c: Likewise.
11731         * sunrpc/rpc_thread.c: Likewise.
11732         * sunrpc/rtime.c: Likewise.
11733         * sunrpc/svc.c: Likewise.
11734         * sunrpc/svc_auth.c: Likewise.
11735         * sunrpc/svc_authux.c: Likewise.
11736         * sunrpc/svc_raw.c: Likewise.
11737         * sunrpc/svc_run.c: Likewise.
11738         * sunrpc/svc_simple.c: Likewise.
11739         * sunrpc/svc_tcp.c: Likewise.
11740         * sunrpc/svc_udp.c: Likewise.
11741         * sunrpc/svc_unix.c: Likewise.
11742         * sunrpc/svcauth_des.c: Likewise.
11743         * sunrpc/xcrypt.c: Likewise.
11744         * sunrpc/xdr.c: Likewise.
11745         * sunrpc/xdr_array.c: Likewise.
11746         * sunrpc/xdr_float.c: Likewise.
11747         * sunrpc/xdr_intXX_t.c: Likewise.
11748         * sunrpc/xdr_mem.c: Likewise.
11749         * sunrpc/xdr_rec.c: Likewise.
11750         * sunrpc/xdr_ref.c: Likewise.
11751         * sunrpc/xdr_sizeof.c: Likewise.
11752         * sunrpc/xdr_stdio.c: Likewise.
11754 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
11756         [BZ #12650]
11757         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11758         * sysdeps/ia64/dl-tls.h: Likewise.
11759         * sysdeps/powerpc/dl-tls.h: Likewise.
11760         * sysdeps/s390/dl-tls.h: Likewise.
11761         * sysdeps/sh/dl-tls.h: Likewise.
11762         * sysdeps/sparc/dl-tls.h: Likewise.
11763         * sysdeps/x86_64/dl-tls.h: Likewise.
11764         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11766 2011-03-14  Andreas Schwab  <schwab@redhat.com>
11768         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11769         rpath element also skip the following colon.
11770         (expand_dynamic_string_token): Add is_path parameter and pass
11771         down to DL_DST_REQUIRED and _dl_dst_substitute.
11772         (decompose_rpath): Call expand_dynamic_string_token with
11773         non-zero is_path.  Ignore empty rpaths.
11774         (_dl_map_object_from_fd): Call expand_dynamic_string_token
11775         with zero is_path.
11777 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
11779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11780         Make cancelable.
11782 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
11784         [BZ #12655]
11785         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11786         Patch by Filipe David Manana <fdmanana@apache.org>.
11788 2011-04-07  Andreas Schwab  <schwab@redhat.com>
11790         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11791         Maintain aligned stack.
11792         (CHECK_RSP): Remove unused macro.
11794 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
11796         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11797         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11799 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
11801         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11803         * include/features.h: Mention __USE_XOPEN2K8 in comment.
11805 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
11807         [BZ #12518]
11808         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11809         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11810         * sysdeps/x86_64/memmove.c: New file.
11811         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11812         (memcpy): Renamed to ...
11813         (__new_memcpy): This.
11814         (memcpy): Provide GLIBC_2_14 memcpy.
11815         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11816         (memcpy): Provide GLIBC_2_2_5 memcpy.
11818 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11820         [BZ #12631]
11821         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11823 2011-03-30  Andreas Schwab  <schwab@redhat.com>
11825         * misc/syncfs.c: New file.
11826         * misc/Makefile (routines): Add syncfs.
11827         * posix/unistd.h: Declare syncfs.
11828         * sysdeps/unix/syscalls.list: Add syncfs.
11830 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11832         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11833         open_by_handle_at.
11834         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11835         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11836         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11837         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11838         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11839         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11840         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11842 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11844         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11845         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11846         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11847         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11848         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11849         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11850         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11852         * io/Makefile: Compile fallocate.c, fallocate64.c, and
11853         sync_file_range.c with -fexceptions.
11854         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11855         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11856         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11857         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11858         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11859         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11860         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11861         sync_file_range as cancellation point
11862         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
11863         now a wrapper around __call_sync_file_range with cancellation handling.
11864         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11865         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
11866         function name to __call_sync_file_range.
11867         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11868         Add call_sync_file_range.
11870 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11872         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11873         bits/timex.h.
11875 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11877         * iconv/iconv.h: Fix typo in comment.
11878         * io/fcntl.h: Likewise.
11879         * libio/stdio.h: Likewise.
11880         * posix/spawn.h: Likewise.
11881         * posix/unistd.h: Likewise.
11882         * stdlib/stdlib.h: Likewise.
11883         * time/time.h: Likewise.
11884         * wcsmbs/wchar.h: Likewise.
11886         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11887         open_by_handle): Add.
11888         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11889         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
11890         Augment a few comments.
11891         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11892         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11893         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11894         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11895         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11896         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11897         open_by_handle.
11899         * io/fcntl.h (AT_EMPTY_PATH): Define.
11901 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
11903         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11904         * sysdeps/unix/sysv/linux/bits/time.h: New file.
11905         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11906         to...
11907         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
11908         * Versions.def: Add GLIBC_2.14.
11909         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11910         Export.
11912 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
11914         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11915         round counter.
11916         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11918 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11920         [BZ #12597]
11921         * string/test-strncmp.c (do_page_test): New function.
11922         (check2): Likewise.
11923         (test_main): Call check2.
11924         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11926 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
11928         [BZ #12587]
11929         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11930         Handle cache information in CPU leaf 4.
11931         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11933 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
11935         [BZ #12583]
11936         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11937         character representation.
11938         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11940 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
11942         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11943         END(__isnan) to END(__isnanf) to match function entry point/label
11944         EALIGN(__isnanf,...).
11946 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
11948         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11950 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
11952         [BZ #12510]
11953         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11954         copy from the symbol referenced in the relocation to initialize the
11955         used variable.
11956         Patch by Piotr Bury <pbury@goahead.com>.
11957         * elf/Makefile: Add rules to build and tst-unique3.
11958         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11959         * elf/tst-unique3.cc: New file.
11960         * elf/tst-unique3.h: New file.
11961         * elf/tst-unique3lib.cc: New file.
11962         * elf/tst-unique3lib2.cc: New file.
11964         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11966 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
11968         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11969         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
11970         to _start.
11972 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
11974         * elf/dl-load.c (_dl_map_object): If we are looking for the first
11975         to-be-loaded object along a path to loader is ld.so.
11977 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
11978             Ulrich Drepper  <drepper@gmail.com>
11980         * sysdeps/x86_64/memset.S: After aligning destination, code
11981         branches to different locations depending on the value of
11982         misalignment, when multiarch is enabled. Fix this.
11984 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
11986         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11987         Set _x86_64_preferred_memory_instruction for AMD processsors.
11988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11989         Set bit_Prefer_SSE_for_memop for AMD processors.
11991 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
11993         * libio/fmemopen.c (fmemopen): Optimize a bit.
11995 2011-03-03  Andreas Schwab  <schwab@redhat.com>
11997         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11999 2011-03-03  Roland McGrath  <roland@redhat.com>
12001         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12003 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
12005         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12006         __bzero_ultra1 instead of __memset_ultra1.
12008 2011-02-23  Andreas Schwab  <schwab@redhat.com>
12009             Ulrich Drepper  <drepper@gmail.com>
12011         [BZ #12509]
12012         * include/link.h (struct link_map): Add l_orig_initfini.
12013         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12014         returning unsuccessfully.
12015         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12016         close of a file loaded at startup, restore the original l_initfini
12017         list.
12018         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12019         list, store the pointer.
12020         * elf/Makefile ($(objpfx)noload-mem): New rule.
12021         (noload-ENV): Define.
12022         (tests): Add $(objpfx)noload-mem.
12023         * elf/noload.c: Include <memcheck.h>.
12024         (main): Call mtrace.  Close all opened handles.
12026 2011-02-17  Andreas Schwab  <schwab@redhat.com>
12028         [BZ #12454]
12029         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12030         dependencies are missing.
12032 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12034         Fix __if_freereq crash: Unlike the generic version which uses free,
12035         Hurd needs munmap.
12036         * sysdeps/mach/hurd/ifreq.h: New file.
12038 2011-01-27  Petr Baudis  <pasky@suse.cz>
12039             Ulrich Drepper  <drepper@gmail.com>
12041         [BZ 12445]#
12042         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12043         to extend_alloca().
12044         * stdio-common/bug23.c: New file.
12045         * stdio-common/Makefile (tests): Add bug23.
12047 2010-09-28  Andreas Schwab  <schwab@redhat.com>
12048             Ulrich Drepper  <drepper@gmail.com>
12050         [BZ #12489]
12051         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12052         before performing relro protection.  At old place add assertion
12053         to make sure nothing changed.
12055 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
12056             Glauber de Oliveira Costa  <glommer@gmail.com>
12058         * elf/elf.h: Add new ARM TLS relocs.
12060 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
12062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12063         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12064         cast from r3.
12065         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
12066         'tests' variable.
12067         * sysdeps/wordsize-64/tst-writev.c: New file.
12069 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
12071         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12072         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12073         insns in _dl_start to prevent a TOC reference before relocs are
12074         resolved.
12076 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
12078         [BZ #12469]
12079         * Makeconfig: Remove RANLIB definition.
12080         * Makerules: Don't use RANLIB.
12081         * aclocal.m4: Remove ranlib test.
12082         * configure.in: No need to check for ranlib.
12083         * elf/rtld-Rules: Don't use RANLIB.
12085 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12087         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12088         protection macro.
12089         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12090         inclusion protection macro.
12092         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12093         SIGRTMIN and SIGRTMAX and print information in that case only when
12094         SIGRTMIN is defined.
12096 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
12098         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12099         arginfo fn returning -1.
12101         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12102         and thousands string is zero terminated.
12104 2011-02-03  Andreas Schwab  <schwab@redhat.com>
12106         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12107         sysdeps/unix/sysv/linux/bits/socket.h.
12109 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12111         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12112         (__CPU_COUNT): Remove old macros.
12113         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12114         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12115         (__CPU_ALLOC, __CPU_FREE): Add macros.
12116         (__sched_cpualloc, __sched_cpufree): Add declarations.
12118 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
12120         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12121         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12122         * nscd/aicache.c (addhstaiX): Return timeout of added value.
12123         (readdhstai): Return value of addhstaiX call.
12124         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12125         (addgrbyX): Return value returned by cache_addgr.
12126         (readdgrbyname): Return value returned by addgrbyX.
12127         (readdgrbygid): Likewise.
12128         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12129         (addpwbyX): Return value returned by cache_addpw.
12130         (readdpwbyname): Return value returned by addhstbyX.
12131         (readdpwbyuid): Likewise.
12132         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12133         (addservbyX): Return value returned by cache_addserv.
12134         (readdservbyname): Return value returned by addservbyX:
12135         (readdservbyport): Likewise.
12136         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12137         (addhstbyX): Return value returned by cache_addhst.
12138         (readdhstbyname): Return value returned by addhstbyX.
12139         (readdhstbyaddr): Likewise.
12140         (readdhstbynamev6): Likewise.
12141         (readdhstbyaddrv6): Likewise.
12142         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12143         (readdinitgroups): Return value returned by addinitgroupsX.
12144         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12145         (prune_cache): Keep track of timeout value of re-added entries.
12146         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12147         * nscd/nscd.h: Adjust prototypes of readd* functions.
12149 2011-02-04  Roland McGrath  <roland@redhat.com>
12151         * nis/nis_server.c (nis_servstate): Use the right name for 0.
12152         (nis_stats): Likewise.
12153         * nis/nis_modify.c (nis_modify): Likewise.
12154         * nis/nis_remove.c (nis_remove): Likewise.
12155         * nis/nis_add.c (nis_add): Likewise.
12157         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12159         * posix/fnmatch_loop.c: Add some consts.
12161         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12163 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
12165         [BZ #12460]
12166         * config.make.in (config-cflags-novzeroupper): Define.
12167         * configure.in: Substitute libc_cv_cc_novzeroupper.
12168         * elf/Makefile (AVX-CFLAGS): Define.
12169         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12170         (CFLAGS-tst-auditmod4a.c): Likewise.
12171         (CFLAGS-tst-auditmod4b.c): Likewise.
12172         (CFLAGS-tst-auditmod6b.c): Likewise.
12173         (CFLAGS-tst-auditmod6c.c): Likewise.
12174         (CFLAGS-tst-auditmod7b.c): Likewise.
12175         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12177 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
12179         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12180         function to the callback.
12181         Patch partly by Jiri Olsa <jolsa@redhat.com>.
12183 2011-02-02  Andreas Schwab  <schwab@redhat.com>
12185         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12186         of errno.
12188 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
12190         [BZ #11724]
12191         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12192         of constructors.
12193         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12194         of destructors.
12195         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12197         [BZ #11724]
12198         * elf/Makefile: Add rules to build and run new test.
12199         * elf/tst-initorder.c: New file.
12200         * elf/tst-initorder.exp: New file.
12201         * elf/tst-initordera1.c: New file.
12202         * elf/tst-initordera2.c: New file.
12203         * elf/tst-initordera3.c: New file.
12204         * elf/tst-initordera4.c: New file.
12205         * elf/tst-initorderb1.c: New file.
12206         * elf/tst-initorderb2.c: New file.
12207         * elf/tst-order-a1.c: New file.
12208         * elf/tst-order-a2.c: New file.
12209         * elf/tst-order-a3.c: New file.
12210         * elf/tst-order-a4.c: New file.
12211         * elf/tst-order-b1.c: New file.
12212         * elf/tst-order-b2.c: New file.
12213         * elf/tst-order-main.c: New file.
12214         New test case by George Gensure <werkt0@gmail.com>.
12216 2010-10-01  Andreas Schwab  <schwab@redhat.com>
12218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12219         decoding ACE if AI_CANONIDN.
12221 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
12223         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12225 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
12227         * version.h (RELEASE): Bump for 2.13 release.
12228         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12230         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12232         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12233         MADV_NOHUGEPAGE.
12234         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12235         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12236         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12237         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12238         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12239         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12241         * posix/getconf.c: Update copyright year.
12242         * catgets/gencat.c: Likewise.
12243         * csu/version.c: Likewise.
12244         * debug/catchsegv.sh: Likewise.
12245         * debug/xtrace.sh: Likewise.
12246         * elf/ldconfig.c: Likewise.
12247         * elf/ldd.bash.in: Likewise.
12248         * elf/sprof.c (print_version): Likewise.
12249         * iconv/iconv_prog.c: Likewise.
12250         * iconv/iconvconfig.c: Likewise.
12251         * locale/programs/locale.c: Likewise.
12252         * locale/programs/localedef.c: Likewise.
12253         * malloc/memusage.sh: Likewise.
12254         * malloc/mtrace.pl: Likewise.
12255         * nscd/nscd.c (print_version): Likewise.
12256         * nss/getent.c: Likewise.
12258         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12259         PF_CAIF, and PF_ALG.
12260         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12262 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
12264         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12265         (modules-names): Use them.
12266         (ifunc-test-modules, ifunc-pie-tests): Define.
12267         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12268         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12269         (test-extras): Likewise.
12270         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12271         $(compile-command.c).
12272         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12273         (all-built-dso): Define.
12274         (check-textrel.out, check-execstack.out): Depend on it.
12276         * configure.in: Don't override --enable-multi-arch.
12278 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
12280         [BZ #6812]
12281         * nscd/hstcache.c (tryagain): Define.
12282         (cache_addhst): Return tryagain not notfound for temporary errors.
12283         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12284         failed.
12286 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
12288         [BZ #10563]
12289         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12290         to make the syscall.
12291         * sysdeps/unix/sysv/linux/setgroups.c: New file.
12293         [BZ #12378]
12294         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12295         and fall back to matching as normal character if the string ends before
12296         the matching ']' is found.  This is what POSIX requires.
12297         * posix/testfnm.c: Adjust test result.
12298         * posix/globtest.sh: Adjust test result.  Add new test.
12299         * posix/tst-fnmatch.input: Likewise.
12300         * posix/tst-fnmatch2.c: Add new test.
12302 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
12304         * elf/Makefile (check-execstack): Revert last change.  Depend on
12305         check-execstack.h.
12306         (check-execstack.h): New target.
12307         (generated): Add check-execstack.h.
12308         * elf/check-execstack.c: Include "check-execstack.h".
12309         (main): Revert last change.
12310         (handle_file): Return zero if GNU_STACK is absent and
12311         DEFAULT_STACK_PERMS doesn't include PF_X.
12313 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
12315         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12316         in child fails because the descriptor is already closed.
12317         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12318         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12319         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12321         [BZ #12397]
12322         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12323         syscall.
12325         [BZ #10484]
12326         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12327         temporary buffer used to handle multi lookups locally.
12328         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12330 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12332         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12333         loader is ld.so.
12335 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
12337         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12338         alignment for SSE2.
12340 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12342         [BZ #12394]
12343         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12344         characters.  When rounding increased number of integer digits recompute
12345         number of groups.
12346         * stdio-common/tst-grouping.c: New file.
12347         * stdio-common/Makefile: Add rules to build and run tst-grouping.
12349 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
12351         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12352         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
12354         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12355         void.
12356         * bits/select.h: Likewise.
12358 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
12360         * po/ja.po: Update from translation team.
12362 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
12364         [BZ #11155]
12365         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12366         implementation just like for lxstat, fxstatat, et al.
12368 2010-12-27  Jim Meyering  <meyering@redhat.com>
12370         [BZ #12348]
12371         * posix/regexec.c (build_trtable): Return failure indication upon
12372         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
12374 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
12376         [BZ #12201]
12377         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12378         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12379         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12380         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12382         [BZ #12207]
12383         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12385         [BZ #12204]
12386         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12387         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12389 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12391         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12392         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12393         script has SORT_BY_INIT_PRIORITY.
12394         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12395         NO_CTORS_DTORS_SECTIONS is defined.
12396         * elf/soinit.c: Likewise.
12397         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12398         NO_CTORS_DTORS_SECTIONS is defined.
12399         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12400         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12401         * sysdeps/sh/init-first.c: Likewise.
12402         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12404 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
12406         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12407         always use the slow path.
12409 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
12411         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12412         similar rule which adds the sysdep directories to the header search in
12413         order to pick up the correct platform stackinfo.h.
12414         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12415         perform test if it is, otherwise return successfully without testing.
12416         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12417         DEFAULT_STACK_PERMS define in stackinfo.h.
12418         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12419         defined in stackinfo.h.
12420         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12421         DEFAULT_STACK_PERMS defined in stackinfo.h.
12422         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12423         * sysdeps/ia64/stackinfo.h: Likewise.
12424         * sysdeps/s390/stackinfo.h: Likewise.
12425         * sysdeps/sh/stackinfo.h: Likewise.
12426         * sysdeps/sparc/stackinfo.h: Likewise.
12427         * sysdeps/x86_64/stackinfo.h: Likewise.
12428         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12429         PF_X for powerpc64.  Retain PF_X for powerpc32.
12431 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
12433         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12434         accurately.
12435         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12436         GETDENTS_64BIT_ALIGNED.
12438 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
12440         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12442 2010-12-10  Andreas Schwab  <schwab@redhat.com>
12444         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12445         _GNU_SOURCE.
12447         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12448         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12449         Remove __restrict.
12450         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12451         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12453 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
12455         [BZ #11655]
12456         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12457         are initialized.
12459 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
12461         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12463 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
12465         * po/it.po: Update from translation team.
12467 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12469         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12470         unused codes.
12472 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
12474         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12476 2010-11-24  Andreas Schwab  <schwab@redhat.com>
12478         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12479         specially.
12480         (gaih_getanswer_slice): Likewise.
12482 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
12484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12486 2010-05-31  Petr Baudis  <pasky@suse.cz>
12488         [BZ #11149]
12489         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12490         silently even in the chroot mode.
12492 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
12494         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12495         last patch a bit.  Pretty printing
12497 2010-05-31  Petr Baudis <pasky@suse.cz>
12499         [BZ #10085]
12500         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12501         initialization of skip_initgroups_dyn.
12503 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
12505         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12506         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12508 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
12510         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12512 2010-11-11  Andreas Schwab  <schwab@redhat.com>
12514         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12515         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12516         (tst-fnmatch-ENV): Set MALLOC_TRACE.
12517         ($(objpfx)tst-fnmatch-mem): New rule.
12518         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12519         * posix/tst-fnmatch.c (main): Call mtrace.
12521 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
12523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12524         Support Intel processor model 6 and model 0x2c.
12526 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
12528         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12529           signed comparison.
12531 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
12533         [BZ #12205]
12534         * string/test-strncasecmp.c (check_result): New function.
12535         (do_one_test): Use it.
12536         (check1): New function.
12537         (test_main): Use it.
12538         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12539         Support strcasecmp and strncasecmp.
12541 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
12543         [BZ #12194]
12544         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12545         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12547 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12549         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12550         IFUNC support.
12551         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12552         memset-x86-64.
12553         * sysdeps/x86_64/multiarch/bzero.S: New file.
12554         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12555         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12556         * sysdeps/x86_64/multiarch/memset.S: New file.
12557         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12559         Set bit_Prefer_SSE_for_memop for Intel processors.
12560         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12561         Define.
12562         (index_Prefer_SSE_for_memop): Define.
12563         (HAS_PREFER_SSE_FOR_MEMOP): Define.
12565 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
12567         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12568         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12570 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
12572         [BZ #12191]
12573         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12574         (__x86_64_raw_data_cache_size_half): Likewise.
12575         (__x86_64_raw_shared_cache_size): Likewise.
12576         (__x86_64_raw_shared_cache_size_half): Likewise.
12578         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12579         (__x86_64_raw_data_cache_size_half): Likewise.
12580         (__x86_64_raw_shared_cache_size): Likewise.
12581         (__x86_64_raw_shared_cache_size_half): Likewise.
12582         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12583         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12584         and __x86_64_raw_shared_cache_size_half.  Round
12585         __x86_64_data_cache_size_half, __x86_64_data_cache_size
12586         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12587         to multiple of 256 bytes.
12589 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
12591         [BZ #12167]
12592         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12593         of inacessible symlinks.  Verify result of symlink before returning it.
12594         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12595         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12597 2010-10-28  Erich Ritz  <erichritz@gmail.com>
12599         * math/math.h (isinf): Fix typo in comment.
12601 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
12603         * po/da.po: Update from translation team.
12605 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
12607         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12608         is added to the list.
12610 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12611             Ulrich Drepper  <drepper@gmail.com>
12613         * elf/dl-object.c (_dl_new_object): Don't append the new object to
12614         the global list here.  Move code to...
12615         (_dl_add_to_namespace_list): ...here.  New function.
12616         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12617         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12618         * elf/dl-load.c (lose): Don't remove the element from the list.
12619         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12620         (_dl_map_object): Likewise.
12622 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
12624         [BZ #12159]
12625         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12626         into all bytes of SSE register.
12627         Patch by Richard Li <richardpku@gmail.com>.
12629 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
12631         [BZ #12140]
12632         * malloc/malloc.c (_int_free): Fill correct number of bytes when
12633         perturbing.
12635 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
12637         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12638         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12639         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12640         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12642         submachine.
12643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12645 2010-10-22  Andreas Schwab  <schwab@redhat.com>
12647         * include/dlfcn.h (__RTLD_SECURE): Define.
12648         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
12649         mode & __RTLD_SECURE instead.
12650         (open_path): Rename preloaded parameter to secure.
12651         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12652         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12653         * elf/dl-deps.c (openaux): Likewise.
12654         * elf/rtld.c (struct map_args): Remove is_preloaded.
12655         (map_doit): Don't use it.
12656         (dl_main): Likewise.
12657         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12658         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12660 2010-09-09  Andreas Schwab  <schwab@redhat.com>
12662         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12663         (sysd-rules-targets): Remove duplicates.
12664         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12665         rtld-%.$o dependency.
12667 2010-10-18  Andreas Schwab  <schwab@redhat.com>
12669         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12670         _dl_map_object do it.
12672 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
12674         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12675         fast fma builtins, define the macros in the C99 standard.
12676         (FP_FAST_FMAF): Likewise.
12677         (FP_FAST_FMAL): Likewise.
12678         * sysdeps/x86_64/bits/mathdef.h: Likewise.
12680         * bits/mathdef.h: Update copyright year.
12681         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12683 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
12685         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12686         builtins, define the macros in the C99 standard.
12687         (FP_FAST_FMAF): Likewise.
12688         (FP_FAST_FMAL): Likewise.
12689         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12690         multiply/add.
12691         (FP_FAST_FMAF): Likewise.
12693 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
12695         [BZ #3268]
12696         * math/libm-test.inc (fma_test): Some new testcases.
12697         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12698         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12699         y and infinite z.  Do multiplication by C already in long double.
12700         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12701         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12702         y and infinite z.  Do bitwise or of inexact bit into u.d.
12703         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12704         * sysdeps/i386/fpu/s_fmaf.S: Removed.
12705         * sysdeps/i386/fpu/s_fma.S: Removed.
12706         * sysdeps/i386/fpu/s_fmal.S: Removed.
12708 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
12710         [BZ #3268]
12711         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12712         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12713         computation is not scheduled after fetestexcept.  Fix value
12714         of minimum denormal long double.
12716 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
12718         [BZ #3268]
12719         * math/libm-test.inc (fma_test): Add some more tests.
12720         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12721         correctly.
12723 2010-10-15  Andreas Schwab  <schwab@redhat.com>
12725         * scripts/data/localplt-s390-linux-gnu.data: New file.
12726         * scripts/data/localplt-s390x-linux-gnu.data: New file.
12728 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
12730         [BZ #3268]
12731         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12732         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12733         instead of dbl-64.
12734         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12735         inlines.
12736         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12738         if one of x and y is very large and the other is subnormal.
12739         * sysdeps/s390/fpu/s_fmaf.c: New file.
12740         * sysdeps/s390/fpu/s_fma.c: New file.
12741         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12742         * sysdeps/powerpc/fpu/s_fma.S: New file.
12743         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12744         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12745         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12747 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
12749         [BZ #3268]
12750         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12751         fma tests.
12752         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12753         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12754         * sysdeps/i386/i686/multiarch/s_fma.c: Include
12755         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12756         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12757         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12758         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12760 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
12762         [BZ #12078]
12763         * posix/regcomp.c (parse_branch): One more memory leak plugged.
12764         * posix/bug-regex31.input: Add test case.
12766 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12768         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12769         * posix/bug-regex31.input: New file.
12771         [BZ #12078]
12772         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12773         (parse_sub_exp): Fix last change, use postorder.
12775         * posix/bug-regex31.c: New file.
12776         * posix/Makefile: Add rules to build and run bug-regex31.
12778         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12780         [BZ #12078]
12781         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12783         [BZ #12108]
12784         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12785         to have entries in sys_siglist.
12787         [BZ #12093]
12788         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12789         be NULL.
12791 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
12793         [BZ #3268]
12794         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12795         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12796         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12797         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12798         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12799         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12800         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12801         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12802         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12803         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12804         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12805         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12806         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12807         * math/ftestexcept.c (fetestexcept): Likewise.
12808         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12809         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12810         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12811         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12812         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12813         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12814         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12816 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12818         [BZ #12107]
12819         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12820         newline.
12822 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
12824         * string/bug-strstr1.c: New file.
12825         * string/Makefile: Add rules to build and run bug-strstr1.
12827 2010-10-05  Eric Blake  <eblake@redhat.com>
12829         [BZ #12092]
12830         * string/str-two-way.h (two_way_long_needle): Always clear memory
12831         when skipping input due to the shift table.
12833 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
12835         [BZ #12005]
12836         * malloc/mcheck.c: Handle large requests.
12838         [BZ #12077]
12839         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12840         for strncmp and strncasecmp.
12841         * string/stratcliff.c: Add tests for strcmp and strncmp.
12842         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12844 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12846         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12847         __set_fpscr.
12849 2010-09-30  Andreas Jaeger  <aj@suse.de>
12851         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12852         (CGROUP_SUPER_MAGIC): Define.
12853         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12854         Handle btrfs and cgroup file systems.
12855         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12856         Likewise.
12858 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
12860         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12861         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12863 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12865         [BZ #12067]
12866         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12867         trying to locate the ELF header.
12869 2010-09-27  Andreas Schwab  <schwab@redhat.com>
12871         [BZ #11611]
12872         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12873         Mask out sign-bit copies when constructing f_fsid.
12875 2010-09-24  Petr Baudis <pasky@suse.cz>
12877         * debug/stack_chk_fail_local.c: Add missing licence exception.
12878         * debug/warning-nop.c: Likewise.
12880 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
12882         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12883         implementing getdents64 using getdents syscall, set d_type if
12884         __ASSUME_GETDENTS32_D_TYPE.
12886 2010-09-16  Andreas Schwab  <schwab@redhat.com>
12888         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12889         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12891 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
12893         [BZ #12037]
12894         * posix/unistd.h: Undo change of feature selection for ftruncate from
12895         2010-01-11.
12897 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
12899         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12900         detection.
12902 2010-09-20  Andreas Schwab  <schwab@redhat.com>
12904         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12905         fanotify_mark.
12906         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12908 2010-09-14  Andreas Schwab  <schwab@redhat.com>
12910         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12911         variables after CHECK_SP call.
12912         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12914 2010-09-13  Andreas Schwab  <schwab@redhat.com>
12915             Ulrich Drepper  <drepper@redhat.com>
12917         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12918         re-relocationg ld.so.
12919         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12920         _dl_init_paths call.
12921         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
12922         here anymore.
12924 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
12926         * resolv/res_init.c (__res_vinit): Count the default server we added.
12928 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
12929             Ulrich Drepper  <drepper@redhat.com>
12931         [BZ #11968]
12932         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12933         (____longjmp_chk): Use %ebx for saving value across system call.
12934         Add unwind info.
12936 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12938         * manual/Makefile: Don't mix pattern rules with normal rules.
12940 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12942         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12943         operation.
12944         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12945         * libio/iofopncook.c (_IO_cookie_init): Likewise.
12946         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12947         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12948         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12949         Likewise.
12951 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
12953         [BZ #11979]
12954         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12955         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12957 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
12959         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12960         * sysdeps/x86_64/addmul_1.S: Likewise.
12961         * sysdeps/x86_64/lshift.S: Likewise.
12962         * sysdeps/x86_64/mul_1.S: Likewise.
12963         * sysdeps/x86_64/rshift.S: Likewise.
12964         * sysdeps/x86_64/sub_n.S: Likewise.
12965         * sysdeps/x86_64/submul_1.S: Likewise.
12967 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12969         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12970         Define __sched_param instead of SCHED_* and sched_param when
12971         <bits/sched.h> is included with __need_schedparam defined.
12972         * bits/sched.h [__need_schedparam]
12973         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12974         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12975         (__defined_schedparam): Define to 1.
12976         (__sched_param): New structure, identical to sched_param.
12977         (__need_schedparam): Undefine.
12979 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
12981         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12982         (epoll_create1): Declare.
12984         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12986 2010-08-31  Andreas Schwab  <schwab@redhat.com>
12988         [BZ #7066]
12989         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12990         shifting retval into place.
12992 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
12994         * nis/rpcsvc/nis.h: Update copyright notice.
12995         * nis/rpcsvc/nis.x: Likewise.
12996         * nis/rpcsvc/nis_callback.h: Likewise.
12997         * nis/rpcsvc/nis_callback.x: Likewise.
12998         * nis/rpcsvc/nis_object.x: Likewise.
12999         * nis/rpcsvc/nis_tags.h: Likewise.
13000         * nis/rpcsvc/yp.h: Likewise.
13001         * nis/rpcsvc/yp.x: Likewise.
13002         * nis/rpcsvc/ypupd.h: Likewise.
13003         * nis/yp_xdr.c: Likewise.
13004         * nis/ypupdate_xdr.c: Likewise.
13006         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
13007         mainly the body of pmap_getport.  Add parameters to specify timeouts.
13008         (pmap_getport): Use __libc_rpc_getport.
13009         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13010         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13011         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13013 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
13015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13016         fanotify_mark.
13018 2010-08-27  Roland McGrath  <roland@redhat.com>
13020         * sysdeps/i386/i686/multiarch/Makefile
13021         (CFLAGS-varshift.c): New variable.
13023 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
13025         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13026         * sysdeps/i386/i686/multiarch/varshift.c: New file.
13028         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13030         * sysdeps/x86_64/strlen.S: Minimal code improvement.
13032 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13034         * sysdeps/x86_64/strlen.S: Unroll the loop.
13035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13036         strlen-sse2 strlen-sse2-bsf.
13037         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13038         __strlen_no_bsf if bit_Slow_BSF is set.
13039         (__strlen_sse42): Removed.
13040         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13041         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13043 2010-08-25  Roland McGrath  <roland@redhat.com>
13045         * sysdeps/x86_64/multiarch/varshift.S: File removed.
13046         * sysdeps/x86_64/multiarch/varshift.c: New file.
13047         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13048         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13049         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13050         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13052 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13054         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13055         strlen-sse2 strlen-sse2-bsf.
13056         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13057         __strlen_sse2_bsf if bit_Slow_BSF is unset.
13058         (__strlen_sse2): Removed.
13059         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13060         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13062         bit_Slow_BSF for Atom.
13063         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13064         (index_Slow_BSF): Define.
13065         (HAS_SLOW_BSF): Define.
13067 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
13069         [BZ #10851]
13070         * resolv/res_init.c (__res_vinit): When no server address at all
13071         is given default to loopback.
13073 2010-08-24  Roland McGrath  <roland@redhat.com>
13075         * configure.in: Remove config-name.h generation.
13076         * configure: Regenerated.
13077         * config-name.in: File removed.
13078         * scripts/config-uname.sh: New file.
13079         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13080         ($(objdir)config-name.h): New target.
13082         * sunrpc/rpc_parse.h: Avoid nested comment.
13084 2010-08-24  Richard Henderson  <rth@redhat.com>
13085             Ulrich Drepper  <drepper@redhat.com>
13086             H.J. Lu  <hongjiu.lu@intel.com>
13088         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13089         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13090         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13091         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
13092         _mm_alignr_epi8 with _mm_loadu_si128.
13093         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13094         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13095         (__m128i_shift_right): Removed.
13096         * sysdeps/i386/i686/multiarch/varshift.h: New file.
13097         * sysdeps/i386/i686/multiarch/varshift.S: New file.
13098         * sysdeps/x86_64/multiarch/varshift.h: New file.
13099         * sysdeps/x86_64/multiarch/varshift.S: New file.
13101 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
13103         * configure.in: Move assembler checks to before sysdep dir checking.
13105 2010-08-20  Petr Baudis  <pasky@suse.cz>
13107         * LICENSES: Sync the sunrpc license.
13109 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
13111         * sunrpc/auth_des.c: Update copyright notice once again.
13112         * sunrpc/auth_none.c: Likewise.
13113         * sunrpc/auth_unix.c: Likewise.
13114         * sunrpc/authdes_prot.c: Likewise.
13115         * sunrpc/authuxprot.c: Likewise.
13116         * sunrpc/bindrsvprt.c: Likewise.
13117         * sunrpc/clnt_gen.c: Likewise.
13118         * sunrpc/clnt_perr.c: Likewise.
13119         * sunrpc/clnt_raw.c: Likewise.
13120         * sunrpc/clnt_simp.c: Likewise.
13121         * sunrpc/clnt_tcp.c: Likewise.
13122         * sunrpc/clnt_udp.c: Likewise.
13123         * sunrpc/clnt_unix.c: Likewise.
13124         * sunrpc/des_crypt.c: Likewise.
13125         * sunrpc/des_soft.c: Likewise.
13126         * sunrpc/get_myaddr.c: Likewise.
13127         * sunrpc/getrpcport.c: Likewise.
13128         * sunrpc/key_call.c: Likewise.
13129         * sunrpc/key_prot.c: Likewise.
13130         * sunrpc/openchild.c: Likewise.
13131         * sunrpc/pm_getmaps.c: Likewise.
13132         * sunrpc/pm_getport.c: Likewise.
13133         * sunrpc/pmap_clnt.c: Likewise.
13134         * sunrpc/pmap_prot.c: Likewise.
13135         * sunrpc/pmap_prot2.c: Likewise.
13136         * sunrpc/pmap_rmt.c: Likewise.
13137         * sunrpc/rpc/auth.h: Likewise.
13138         * sunrpc/rpc/auth_unix.h: Likewise.
13139         * sunrpc/rpc/clnt.h: Likewise.
13140         * sunrpc/rpc/des_crypt.h: Likewise.
13141         * sunrpc/rpc/key_prot.h: Likewise.
13142         * sunrpc/rpc/netdb.h: Likewise.
13143         * sunrpc/rpc/pmap_clnt.h: Likewise.
13144         * sunrpc/rpc/pmap_prot.h: Likewise.
13145         * sunrpc/rpc/pmap_rmt.h: Likewise.
13146         * sunrpc/rpc/rpc.h: Likewise.
13147         * sunrpc/rpc/rpc_des.h: Likewise.
13148         * sunrpc/rpc/rpc_msg.h: Likewise.
13149         * sunrpc/rpc/svc.h: Likewise.
13150         * sunrpc/rpc/svc_auth.h: Likewise.
13151         * sunrpc/rpc/types.h: Likewise.
13152         * sunrpc/rpc/xdr.h: Likewise.
13153         * sunrpc/rpc_clntout.c: Likewise.
13154         * sunrpc/rpc_cmsg.c: Likewise.
13155         * sunrpc/rpc_common.c: Likewise.
13156         * sunrpc/rpc_cout.c: Likewise.
13157         * sunrpc/rpc_dtable.c: Likewise.
13158         * sunrpc/rpc_hout.c: Likewise.
13159         * sunrpc/rpc_main.c: Likewise.
13160         * sunrpc/rpc_parse.c: Likewise.
13161         * sunrpc/rpc_parse.h: Likewise.
13162         * sunrpc/rpc_prot.c: Likewise.
13163         * sunrpc/rpc_sample.c: Likewise.
13164         * sunrpc/rpc_scan.c: Likewise.
13165         * sunrpc/rpc_scan.h: Likewise.
13166         * sunrpc/rpc_svcout.c: Likewise.
13167         * sunrpc/rpc_tblout.c: Likewise.
13168         * sunrpc/rpc_util.c: Likewise.
13169         * sunrpc/rpc_util.h: Likewise.
13170         * sunrpc/rpcinfo.c: Likewise.
13171         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13172         * sunrpc/rpcsvc/key_prot.x: Likewise.
13173         * sunrpc/rpcsvc/klm_prot.x: Likewise.
13174         * sunrpc/rpcsvc/mount.x: Likewise.
13175         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13176         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13177         * sunrpc/rpcsvc/rex.x: Likewise.
13178         * sunrpc/rpcsvc/rstat.x: Likewise.
13179         * sunrpc/rpcsvc/rusers.x: Likewise.
13180         * sunrpc/rpcsvc/sm_inter.x: Likewise.
13181         * sunrpc/rpcsvc/spray.x: Likewise.
13182         * sunrpc/rpcsvc/yppasswd.x: Likewise.
13183         * sunrpc/rtime.c: Likewise.
13184         * sunrpc/svc.c: Likewise.
13185         * sunrpc/svc_auth.c: Likewise.
13186         * sunrpc/svc_authux.c: Likewise.
13187         * sunrpc/svc_raw.c: Likewise.
13188         * sunrpc/svc_run.c: Likewise.
13189         * sunrpc/svc_simple.c: Likewise.
13190         * sunrpc/svc_tcp.c: Likewise.
13191         * sunrpc/svc_udp.c: Likewise.
13192         * sunrpc/svc_unix.c: Likewise.
13193         * sunrpc/svcauth_des.c: Likewise.
13194         * sunrpc/xcrypt.c: Likewise.
13195         * sunrpc/xdr.c: Likewise.
13196         * sunrpc/xdr_array.c: Likewise.
13197         * sunrpc/xdr_float.c: Likewise.
13198         * sunrpc/xdr_mem.c: Likewise.
13199         * sunrpc/xdr_rec.c: Likewise.
13200         * sunrpc/xdr_ref.c: Likewise.
13201         * sunrpc/xdr_sizeof.c: Likewise.
13202         * sunrpc/xdr_stdio.c: Likewise.
13204         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13205         handling.
13207 2010-08-19  Andreas Schwab  <schwab@redhat.com>
13209         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13211 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
13213         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13214         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13215         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13216         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13217         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13218         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13219         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13220         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13221         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13222         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13223         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13224         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13225         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13226         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13228 2010-07-26  Anton Blanchard  <anton@samba.org>
13230         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13231         * malloc/arena.c (heap_trim): Likewise.
13233 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
13235         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13236         here.  Not...
13237         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13238         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13240 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13242         * sysdeps/i386/elf/Makefile: New file.
13244 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
13246         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13247         from fanotify_init.
13248         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13249         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13251 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
13253         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13254         of strncasecmp_l.
13255         * sysdeps/multiarch/strcmp.S: Likewise.
13257 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
13259         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13260         strncase_l-nonascii.
13261         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13262         Add strncase_l-ssse3.
13263         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13264         * sysdeps/x86_64/strcmp.S: Likewise.
13265         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13266         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13267         * sysdeps/x86_64/strncase.S: New file.
13268         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13269         * sysdeps/x86_64/strncase_l.S: New file.
13270         * string/Makefile (strop-tests): Add strncasecmp.
13271         * string/test-strncasecmp.c: New file.
13273         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13274         warning.
13276         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13277         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13279 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
13281         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13283 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
13285         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13286         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13287         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13289 2010-05-01  Alan Modra  <amodra@gmail.com>
13291         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13292         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13293         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13294         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13295         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13296         tidying.  Don't tail-call __sigjmp_save for static lib.
13297         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13298         save location.
13299         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13300         (CALL_MCOUNT): Add eh info, and nop after bl.
13301         (TAIL_CALL_SYSCALL_ERROR): New macro.
13302         (PSEUDO_RET): Use it.
13303         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13304         Correct save location of integer regs and cr.
13305         (_dl_profile_resolve): Correct cr save location.  Delete nops
13306         after bl when SHARED.  Reduce cfi size a little by better
13307         placement of cfi directives.
13308         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13309         make a stack frame.  Instead use parm save area as a temp.
13310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13311         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
13312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13313         Don't make a stack frame for parent, use parm save area.
13314         Increase child stack frame to 112 bytes.  Don't save unused reg,
13315         and adjust reg usage.  Set up cfi on error recovery and
13316         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13318         (__makecontext): Add dummy nop after jump to exit.
13319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13320         Use correct parm save area and cr save, reduce stack frame.
13321         Correct cfi for possible PSEUDO_RET frame setup.
13322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13323         Branch to local label emitted by PSEUDO_RET rather than
13324         __syscall_error.
13326 2010-08-12  Andreas Schwab  <schwab@redhat.com>
13328         [BZ #11904]
13329         * locale/programs/locale.c (print_assignment): New function.
13330         (show_locale_vars): Use it.
13332 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
13334         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13335         field.
13336         (struct statfs64): Likewise.
13337         (_STATFS_F_FLAGS): Define.
13338         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13339         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13340         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13341         (ST_VALID): Define locally.
13342         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13343         __statvfs_getflags, use the provided value.
13344         * sysdeps/unix/sysv/linux/kernel-features.h: Define
13345         __ASSUME_STATFS_F_FLAGS.
13347         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13349         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13350         Add sys/fanotify.h.
13351         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13352         fanotify_mask for GLIBC_2.13.
13353         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13354         fanotify_init and fanotify_mark.
13355         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13356         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13358         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13359         Add prlimit.
13360         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13361         prlimit64 for GLIBC_2.13.
13362         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13363         prlimit64.
13364         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13365         syscall.
13366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13367         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13368         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13369         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13370         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
13371         add prlimit alias.
13372         * sysdeps/unix/sysv/linux/prlimit.c: New file.
13374         [BZ #11903]
13375         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13376         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13378         * nss/Makefile: Add rules to build and run tst-nss-test1.
13379         * shlib-versions: Add entry for libnss_test1.
13380         * nss/nss_test1.c: New file.
13381         * nss/tst-nss-test1.c: New file.
13383         * nss/nsswitch.c (__nss_database_custom): Define new variable.
13384         (__nss_configure_lookup): Set appropriate entry in
13385         __nss_configure_lookup to true.
13386         * nss/nsswitch.h: Define enum with indeces of databases in
13387         databases and __nss_database_custom arrays.  Declare
13388         __nss_database_custom.
13389         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13390         to avoid using nscd when custom rules are installed.
13391         * nss/getXXbyYY_r.c: Likewise.
13392         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13394         * nss/nss_files/files-parse.c: Whitespace fixes.
13396 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
13398         [BZ #11883]
13399         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13400         * posix/fnmatch_loop.c: Likewise.
13402 2010-07-17  Andi Kleen  <ak@linux.intel.com>
13404         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13405         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13406         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13407         * Versions.def [GLIBC_2.13]: Add.
13409 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
13411         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13412         Also fail if tpwd after pwuid call is NULL.
13414 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13416         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13417         when converting to ms.
13419 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13421         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13422         EOPNOTSUPP errors with ENOTTY.
13423         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13424         EOPNOTSUPP errors with ENOTTY.
13426 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
13428         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13429         Add strcasecmp_l-ssse3.
13430         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13431         strcasecmp.
13432         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13433         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13434         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13436 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
13438         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13440         * string/Makefile (strop-tests): Add strcasecmp.
13441         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13442         strcasecmp_l-nonascii.
13443         (gen-as-const-headers): Add locale-defines.sym.
13444         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13445         * sysdeps/x86_64/strcasecmp.S: New file.
13446         * sysdeps/x86_64/strcasecmp_l.S: New file.
13447         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13448         * sysdeps/x86_64/locale-defines.sym: New file.
13449         * string/test-strcasecmp.c: New file.
13451         * string/test-strcasestr.c: Test both ends of the range of characters.
13452         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13454 2010-07-29  Roland McGrath  <roland@redhat.com>
13456         [BZ #11856]
13457         * manual/locale.texi (Yes-or-No Questions): Fix example code.
13459 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
13461         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13462         for ld.so.
13464 2010-07-27  Andreas Schwab  <schwab@redhat.com>
13466         * manual/memory.texi (Malloc Tunable Parameters): Document
13467         M_PERTURB.
13469 2010-07-26  Roland McGrath  <roland@redhat.com>
13471         [BZ #11840]
13472         * configure.in (-fgnu89-inline check): Set and substitute
13473         gnu89_inline, not libc_cv_gnu89_inline.
13474         * configure: Regenerated.
13475         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13477 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
13479         * string/test-strnlen.c: New file.
13480         * string/Makefile (strop-tests): Add strnlen.
13481         * string/tester.c (test_strnlen): Add a few more test cases.
13482         * string/tst-strlen.c: Better error reporting.
13484         * sysdeps/x86_64/strnlen.S: New file.
13486 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
13488         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13489         lower-latency instructions.
13491 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
13493         * string/test-strcasestr.c: New file.
13494         * string/test-strstr.c: New file.
13495         * string/Makefile (strop-tests): Add strstr and strcasestr.
13496         * string/str-two-way.h: Don't undefine MAX.
13497         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13499 2010-07-21  Andreas Schwab  <schwab@redhat.com>
13501         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13502         strcasestr-nonascii.
13503         (CFLAGS-strcasestr-nonascii.c): Define.
13504         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13505         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13506         Remove unused attribute.
13508 2010-07-20  Roland McGrath  <roland@redhat.com>
13510         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13511         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
13512         ld.so.cache was broken.  With it, there is no way to disable dsocaps
13513         like LD_HWCAP_MASK can disable hwcaps.
13515 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13517         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13519 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
13521         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13522         call in strcasestr.
13523         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13524         __strcasestr_sse42_nonascii.
13525         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13526         strcasestr-nonascii.c.
13527         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13529 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
13531         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13532         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13533         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13534         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13536 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
13538         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13539         fcntl.
13541 2010-07-06  Andreas Schwab  <schwab@redhat.com>
13543         [BZ #11577]
13544         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13545         dl_signal_cerror.
13547 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
13549         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13550         _PC_PIPE_BUF using F_GETPIPE_SZ.
13552 2010-07-05  Roland McGrath  <roland@redhat.com>
13554         * manual/arith.texi (Rounding Functions): Fix rint description
13555         implicit in round description.
13557 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
13559         * elf/Makefile: Fix linking for a few tests to make recent linker
13560         happy.
13562 2010-06-30  Andreas Schwab  <schwab@redhat.com>
13564         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13565         $(common-objpfx)libc_nonshared.a.
13567 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
13569         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13570         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13571         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13572         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13573         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13574         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13575         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13576         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13591         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13592         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13593         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13594         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13595         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13596         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13597         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13598         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13599         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13600         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13601         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13602         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13618 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13620         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13621         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
13622         * string/memmove.c (memmove): Renamed to ...
13623         (MEMMOVE): ...this.  Default to memmove.
13624         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13625         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13626         (END_CHK): Define.
13627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13628         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13629         mempcpy-ssse3-back memmove-ssse3-back.
13630         * sysdeps/x86_64/multiarch/bcopy.S: New file .
13631         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13632         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13633         * sysdeps/x86_64/multiarch/memcpy.S: New file.
13634         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13635         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13636         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13637         * sysdeps/x86_64/multiarch/memmove.c: New file.
13638         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13639         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13640         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13641         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13642         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13643         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13644         Define.
13645         (index_Fast_Copy_Backward): Define.
13646         (HAS_ARCH_FEATURE): Define.
13647         (HAS_FAST_REP_STRING): Define.
13648         (HAS_FAST_COPY_BACKWARD): Define.
13650 2010-06-21  Andreas Schwab  <schwab@redhat.com>
13652         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13653         Restore proper fallback handling.
13655 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
13657         [BZ #11701]
13658         * posix/group_member.c (__group_member): Correct checking loop.
13660         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13661         OOM in getpwuid_r correctly.  Return error number when the caller
13662         should return, otherwise -1.
13663         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13664         call returning > 0 value.
13665         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13667 2010-06-07  Andreas Schwab  <schwab@redhat.com>
13669         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13670         libc_nonshared.a from targets in modules-names.
13672 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
13674         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13675         requires it.
13677 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
13679         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13680         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13681         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13682         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13684 2010-06-02  Andreas Schwab  <schwab@redhat.com>
13686         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13688 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
13690         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13691         and F_GETPIPE_SZ.
13692         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13693         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13694         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13695         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13696         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13697         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13699 2010-06-14  Roland McGrath  <roland@redhat.com>
13701         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13703 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
13705         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13706         __REDIRECT followed by __THROW.
13707         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13708         * posix/getopt.h (getopt): Likewise.
13710 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13712         * hurd/lookup-at.c (__file_name_lookup_at): Accept
13713         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
13714         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13715         in AT_FLAGS.
13716         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13717         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13719 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
13721         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13723 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
13725         [BZ #11640]
13726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13727         Properly check family and model.
13729 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
13731         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13733 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
13735         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13737 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
13739         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13740         symbol reference.
13742 2010-05-19  Andreas Schwab  <schwab@redhat.com>
13744         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13745         symbol reference.
13747 2010-05-21  Andreas Schwab  <schwab@redhat.com>
13749         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13750         and internal_recvmmsg.
13751         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13752         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13753         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13754         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13756         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13757         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13758         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13760 2010-05-20  Andreas Schwab  <schwab@redhat.com>
13762         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13764 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
13766         POWER7 optimizations.
13767         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13768         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13770 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
13772         * version.h: Update for 2.13 development version.
13774 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
13776         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13777         exceptions.  Return 0.
13779 2010-05-07  Roland McGrath  <roland@redhat.com>
13781         * elf/ldconfig.c (main): Add a const.
13783 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
13785         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13786         (args_options): Add no-idn option.
13787         (ahosts_keys_int): Add idn_flags to ai_flags.
13788         (parse_option): Handle 'i' option to clear idn_flags.
13790         * malloc/malloc.c (_int_free): Possible race in the most recently
13791         added check.  Only act on the data if no current modification
13792         happened.
13794 See ChangeLog.17 for earlier changes.