Hurd: empty file names fail with ENOENT
[glibc.git] / ChangeLog
blob739ee9689ea07712e63ec21a0ef0b8604f61c4a7
1 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4         Return ENOENT when name is empty.
5         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15         Fix mlock in all cases except non-readable pages.
16         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17         instead of VM_PROT_ALL as parameter to __vm_wire function.
19         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20         (__mkdir): When path is `/', just fail with EEXIST.
21         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26         <sys/uio.h> (for writev).
27         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28         and <sys/param.h> (for MIN).
30 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34         if interrupted.
36 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39         Depend on against $(link-rpcuserlibs).
41 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44         (__libc_stack_end): Do not use attribute_relro.
45         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47         to libthread-provided value.
48         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49         attribute_relro.
51 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53         [BZ #3748]
54         * bits/libc-lock.h (__libc_once_get): New macro.
55         * sysdeps/mach/bits/libc-lock.h: Likewise.
56         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58         instead of using implementation details.
60         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61         * libio/freopen.c: Likewise.
62         * libio/freopen64.c: Likewise.
63         * misc/syslog.c: Likewise.
64         * nscd/connections.c: Likewise.
65         * nscd/netgroupcache.c: Likewise.
66         * sysdeps/posix/getcwd.c: Likewise.
68 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70         * math/w_ilogbf.c: Add #include <limits.h>.
72 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75         path instead of returning without unlocking.
77         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
78         immediate-write ioctls.
79         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
81 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83         * sysdeps/mach/hurd/i386/init-first.c (init): Use
84         __builtin_frame_address instead of making assumptions about the
85         location of the return address relative to DATA.  Force early load of
86         the return address.
87         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
88         __builtin_frame_address.
90         dup3 for GNU Hurd.
91         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
92         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
93         implement dup3 and do some further code clean-ups.
94         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
95         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
97 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
99         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
101         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
102         HURD_CRITICAL_END around holding _hurd_dtable_lock.
103         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
104         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
105         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
106         d->port.lock.
108         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
109         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
110         when handler == SIG_ERR, not when handler != SIG_ERR.
112 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
114         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
115         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
116         definitions.
118         accept4 for GNU Hurd.
119         * include/sys/socket.h (__libc_accept4): New prototype.
120         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
121         to implement __libc_accept4.
122         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
123         __libc_accept4.
124         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
126         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
127         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
128         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
129         signal-defines.sym.
131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
133         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
135 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
137         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
138         assertion on O_CLOEXEC flag.
139         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
140         * hurd/intern-fd.c: Likewise.
141         * hurd/port2fd.c: Likewise.
143 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
145         [BZ #3906]
146         * bits/in.h (IPV6_PKTINFO): Define new macro.
147         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
149 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
151         [BZ #13954]
152         [BZ #13955]
153         [BZ #13956]
154         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
155         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
156         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
157         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
158         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
159         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
160         * math/libm-test.inc (logb_test) : Additional logb tests.
162 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
163             Andreas Jaeger  <aj@suse.de>
165         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
166         * configure: Regenerated.
167         * config.h.in (LINK_OBSOLETE_RPC): New macro.
168         * config.make.in (link-obsolete-rpc): New substituted variable.
169         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
170         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
171         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
172         (shared-only-routines): Don't set it under [link-obsolete-rpc],
173         so that libc.a contains the symbols.
174         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
175         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
176         * sunrpc/auth_none.c: Likewise.
177         * sunrpc/auth_unix.c: Likewise.
178         * sunrpc/authdes_prot.c: Likewise.
179         * sunrpc/authuxprot.c: Likewise.
180         * sunrpc/clnt_gen.c: Likewise.
181         * sunrpc/clnt_perr.c: Likewise.
182         * sunrpc/clnt_raw.c: Likewise.
183         * sunrpc/clnt_simp.c: Likewise.
184         * sunrpc/clnt_tcp.c: Likewise.
185         * sunrpc/clnt_udp.c: Likewise.
186         * sunrpc/clnt_unix.c: Likewise.
187         * sunrpc/des_crypt.c: Likewise.
188         * sunrpc/des_soft.c: Likewise.
189         * sunrpc/get_myaddr.c: Likewise.
190         * sunrpc/key_call.c: Likewise.
191         * sunrpc/key_prot.c: Likewise.
192         * sunrpc/netname.c: Likewise.
193         * sunrpc/pm_getmaps.c: Likewise.
194         * sunrpc/pm_getport.c: Likewise.
195         * sunrpc/pmap_clnt.c: Likewise.
196         * sunrpc/pmap_prot.c: Likewise.
197         * sunrpc/pmap_prot2.c: Likewise.
198         * sunrpc/pmap_rmt.c: Likewise.
199         * sunrpc/publickey.c: Likewise.
200         * sunrpc/rpc_cmsg.c: Likewise.
201         * sunrpc/rpc_common.c: Likewise.
202         * sunrpc/rpc_dtable.c: Likewise.
203         * sunrpc/rpc_prot.c: Likewise.
204         * sunrpc/rpc_thread.c: Likewise.
205         * sunrpc/rtime.c: Likewise.
206         * sunrpc/svc.c: Likewise.
207         * sunrpc/svc_auth.c: Likewise.
208         * sunrpc/svc_raw.c: Likewise.
209         * sunrpc/svc_run.c: Likewise.
210         * sunrpc/svc_tcp.c: Likewise.
211         * sunrpc/svc_udp.c: Likewise.
212         * sunrpc/svc_unix.c: Likewise.
213         * sunrpc/svcauth_des.c: Likewise.
214         * sunrpc/xcrypt.c: Likewise.
215         * sunrpc/xdr.c: Likewise.
216         * sunrpc/xdr_array.c: Likewise.
217         * sunrpc/xdr_float.c: Likewise.
218         * sunrpc/xdr_intXX_t.c: Likewise.
219         * sunrpc/xdr_mem.c: Likewise.
220         * sunrpc/xdr_rec.c: Likewise.
221         * sunrpc/xdr_ref.c: Likewise.
222         * sunrpc/xdr_sizeof.c: Likewise.
223         * sunrpc/xdr_stdio.c: Likewise.
225 2012-05-10  Roland McGrath  <roland@hack.frob.com>
227         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
228         change.  Update copyright years.
230 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
232         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
234 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
235             Joseph Myers  <joseph@codesourcery.com>
236             Paul Pluzhnikov  <ppluzhnikov@google.com>
238         [BZ #14012]
239         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
240         requiring rpcgen.
241         [cross-compiling] (extra-libs): Likewise.
242         [cross-compiling] (extra-libs-others): Likewise.
243         [cross-compiling] (librpcsvc-routines): Likewise.
244         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
245         [cross-compiling] (omit-deps): Likewise.
246         (sunrpc-CPPFLAGS): New variable.
247         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
248         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
249         (cross-rpcgen-objs): New variable.
250         (extra-objs): Append $(cross-rpcgen-objs).
251         ($(cross-rpcgen-objs)): New rule.
252         ($(objpfx)cross-rpcgen): Likewise.
253         (rpcgen-cmd): Define to use $(built-program-file).  Expand
254         comment.
255         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
256         ($(objpfx)x%.stmp): Likewise.
257         * sunrpc/proto.h [IS_IN_build] (_): Define.
258         [IS_IN_build] (_libc_intl_domainname): Likewise.
260 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
262         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
263         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
264         and R_X86_64_TPOFF64.
266 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
268         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
269         sysdeps/unix/sysv/syscalls.list.
270         (stime): Likewise.
271         (utime): Likewise.
272         * sysdeps/unix/sysv/syscalls.list: Remove file.
274 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
276         [BZ #3440]
277         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
278         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
279         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
280         (__LC_IDENTIFICATION): Make these macros useful in #if
281         expressions, as required by C99.
283 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
285         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
286         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
287         after this.
289 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
291         * stdlib/longlong.h: Updated from GCC.
293 2012-05-09  Andreas Jaeger  <aj@suse.de>
295         * nscd/nscd.c (run_modes): Make named enum, reorder so that
296         default is first entry.
297         (run_mode): Set type.
298         (main): Remove informal message about syslog.
299         (options): Fix typo.
301         [BZ #14053]
302         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
303         to asm.
304         (lrint): Likewise.
305         (llrintf): Likewise.
306         (llrint): Likewise.
307         (rint): Likewise.
308         (rintf): Likewise.
309         (nearbyint): Likewise.
310         (nearbyintf): Likewise.
312 2012-05-09  Andreas Jaeger  <aj@suse.de>
313             Pedro Alves  <palves@redhat.com>
315         * nscd/nscd.c (run_mode): Use enum.
316         (main): Cleanup coding style issue.
318 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
319             Andreas Jaeger  <aj@suse.de>
321         * nscd/nscd.c (go_background): Replaced with...
322         (run_mode): ... this.
323         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
324         (options): Add -F --foreground.
325         (main): Implement it.
326         (parse_opt): Parse it.
328 2012-05-09  Andreas Jaeger  <aj@suse.de>
330         [BZ #14083]
331         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
332         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
333         -Wconversion warning.
334         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
335         Likewise.
337 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
339         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
340         == 0.
341         (LC_ALL): Use macro-int-constant.
342         (LC_COLLATE): Likewise.
343         (LC_CTYPE): Likewise.
344         (LC_MESSAGES): Likewise.
345         (LC_MONETARY): Likewise.
346         (LC_NUMERIC): Likewise.
347         (LC_TIME): Likewise.
348         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
349         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
350         [ISO || ISO99 || ISO11] (*_t): Do not allow.
351         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
352         Specify type.
353         [C99-based standards] (float_t): Expect type.
354         [C99-based standards] (double_t): Expect type.
355         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
356         type.
357         [C99-based standards] (HUGE_VALL): Likewise.
358         [C99-based standards] (INFINITY): Likewise.
359         [C99-based standards] (NAN): Likewise.
360         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
361         [C99-based standards] (FP_NAN): Likewise.
362         [C99-based standards] (FP_NORMAL): Likewise.
363         [C99-based standards] (FP_SUBNORMAL): Likewise.
364         [C99-based standards] (FP_ZERO): Likewise.
365         [C99-based standards] (FP_FAST_FMA): Use
366         optional-macro-int-constant.  Specify type.  Require == 1.
367         [C99-based standards] (FP_FAST_FMAF): Likewise.
368         [C99-based standards] (FP_FAST_FMAL): Likewise.
369         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
370         [C99-based standards] (FP_ILOGBNAN): Likewise.
371         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
372         Specify type.
373         [C99-based standards] (MATH_ERREXCEPT): Likewise.
374         [C99-based standards] (math_errhandling): Specify type.
375         [ISO99 || ISO11] (signgam): Do not allow.
376         [non-C99-based standards] (copysignf): Do not allow.
377         [non-C99-based standards] (exp2f): Likewise.
378         [non-C99-based standards] (log2f): Likewise.
379         [non-C99-based standards] (modff): Allow.
380         [non-C99-based standards] (erff): Do not allow.
381         [non-C99-based standards] (erfcf): Likewise.
382         [non-C99-based standards] (gammaf): Likewise.
383         [non-C99-based standards] (hypotf): Likewise.
384         [non-C99-based standards] (j0f): Likewise.
385         [non-C99-based standards] (j1f): Likewise.
386         [non-C99-based standards] (jnf): Likewise.
387         [non-C99-based standards] (lgammaf): Likewise.
388         [non-C99-based standards] (tgammaf): Likewise.
389         [non-C99-based standards] (y0f): Likewise.
390         [non-C99-based standards] (y1f): Likewise.
391         [non-C99-based standards] (ynf): Likewise.
392         [non-C99-based standards] (isnanf): Likewise.
393         [non-C99-based standards] (acoshf): Likewise.
394         [non-C99-based standards] (asinhf): Likewise.
395         [non-C99-based standards] (atanhf): Likewise.
396         [non-C99-based standards] (cbrtf): Likewise.
397         [non-C99-based standards] (expm1f): Likewise.
398         [non-C99-based standards] (ilogbf): Likewise.
399         [non-C99-based standards] (log1pf): Likewise.
400         [non-C99-based standards] (logbf): Likewise.
401         [non-C99-based standards] (nextafterf): Likewise.
402         [non-C99-based standards] (remainderf): Likewise.
403         [non-C99-based standards] (rintf): Likewise.
404         [non-C99-based standards] (scalbf): Likewise.
405         [non-C99-based standards] (copysignl): Likewise.
406         [non-C99-based standards] (exp2l): Likewise.
407         [non-C99-based standards] (log2l): Likewise.
408         [non-C99-based standards] (modfl): Allow.
409         [non-C99-based standards] (erfl): Do not allow.
410         [non-C99-based standards] (erfcl): Likewise.
411         [non-C99-based standards] (gammal): Likewise.
412         [non-C99-based standards] (hypotl): Likewise.
413         [non-C99-based standards] (j0l): Likewise.
414         [non-C99-based standards] (j1l): Likewise.
415         [non-C99-based standards] (jnl): Likewise.
416         [non-C99-based standards] (lgammal): Likewise.
417         [non-C99-based standards] (tgammal): Likewise.
418         [non-C99-based standards] (y0l): Likewise.
419         [non-C99-based standards] (y1l): Likewise.
420         [non-C99-based standards] (ynl): Likewise.
421         [non-C99-based standards] (isnanl): Likewise.
422         [non-C99-based standards] (acoshl): Likewise.
423         [non-C99-based standards] (asinhl): Likewise.
424         [non-C99-based standards] (atanhl): Likewise.
425         [non-C99-based standards] (cbrtl): Likewise.
426         [non-C99-based standards] (expm1l): Likewise.
427         [non-C99-based standards] (ilogbl): Likewise.
428         [non-C99-based standards] (log1pl): Likewise.
429         [non-C99-based standards] (logbl): Likewise.
430         [non-C99-based standards] (nextafterl): Likewise.
431         [non-C99-based standards] (remainderl): Likewise.
432         [non-C99-based standards] (rintl): Likewise.
433         [non-C99-based standards] (scalbl): Likewise.
434         [ISO || ISO99 || ISO11] (*_t): Do not allow.
435         [non-C99-based standards] (FP_*): Do not allow.
436         [C99-based standards] (FP_*): Change to
437         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
438         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
439         allow.
440         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
441         (SIG_ERR): Likewise.
442         [X/Open-based standards] (SIG_HOLD): Likewise.
443         (SIG_IGN): Likewise.
444         (SIGABRT): Use macro-int-constant.  Specify type.  Require
445         positive value.
446         (SIGFPE): Likewise.
447         (SIGILL): Likewise.
448         (SIGINT): Likewise.
449         (SIGSEGV): Likewise.
450         (SIGTER): Likewise.
451         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
452         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
453         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
454         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
455         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
456         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
457         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
458         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
459         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
460         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
461         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
462         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
463         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
464         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
465         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
466         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
467         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
468         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
469         [X/Open-based standards] (SIGTRAP): Likewise.
470         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
471         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
472         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
473         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
474         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
475         allow.
477 2012-05-08  Ian Wienand  <ianw@vmware.com>
479         [BZ #14080]
480         * time/tzset.c (__tzset_parse_tz): Update default rules for
481         daylight time changes in the Energy Policy Act of 2005.
483 2012-05-09  Andreas Jaeger  <aj@suse.de>
485         [BZ #13983]
486         * elf/ldconfig.c (parse_conf): Change string to make clear that
487         ldconfig only issued a warning if ld.so.conf does not exist.
489 2012-05-08  David S. Miller  <davem@davemloft.net>
491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
492         movxtod instead of popping the value on the stack.
494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
496 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
498         * config.h.in: Add HAVE_ARM_PCS_VFP.
500 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
502         [BZ #13979]
503         * include/features.h: Warn if user requests __FORTIFY_SOURCE
504         checking but the checks are disabled for any reason.
506 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
508         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
509         and ELF64_R_TYPE with ELFW(R_TYPE).
511 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
513         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
514         (ulimit): Likewise.
516         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
517         (settimeofday): Likewise.
519 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
521         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
522         a struct th_u2 inside the union, and move tu_block/tu_code into
523         a new th_u3 union of tu_block/tu_code inside of that.  Move
524         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
525         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
526         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
527         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
528         (th_stuff): Change to th_u1.tu_stuff.
529         (th_data): Define.
530         (th_msg): Change to th_u1.th_u2.tu_data.
532 2012-05-07  David S. Miller  <davem@davemloft.net>
534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
536         [BZ #14074]
537         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
538         (SETUP_PIC_REG): Use it.
539         (SETUP_PIC_REG_LEAF): Use it.
541 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
543         [BZ #13885]
544         [BZ #13923]
545         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
546         USE_AS_EXPM1L.
547         (EXPL_FINITE): Likewise.
548         (FLDLOG): Likewise.
549         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
550         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
551         e_expl.S.
552         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
553         USE_AS_EXPM1L.
554         (EXPL_FINITE): Likewise.
555         (FLDLOG): Likewise.
556         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
557         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
558         e_expl.S.
559         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
560         test of -max_value argument for long double.
561         * sysdeps/i386/fpu/libm-test-ulps: Update.
562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
564 2012-05-06  David S. Miller  <davem@davemloft.net>
566         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
567         quad soft-float symbols whose references which are compiler
568         generated.
569         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
571 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
573         [BZ #13884]
574         [BZ #13914]
575         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
576         USE_AS_EXP10L.
577         (EXPL_FINITE): Likewise.
578         (FLDLOG): Likewise.
579         (c0): Likewise.
580         (c1): Likewise.
581         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
582         Adjust comments for base varying.
583         (__expl_finite): Change alias to EXPL_FINITE.
584         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
585         e_expl.S.
586         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
587         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
588         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
589         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
590         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
591         USE_AS_EXP10L.
592         (EXPL_FINITE): Likewise.
593         (FLDLOG): Likewise.
594         (c0): Likewise.
595         (c1): Likewise.
596         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
597         Adjust comments for base varying.
598         (__expl_finite): Change alias to EXPL_FINITE.
599         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
600         tests for bugs.
601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
603         [BZ #14064]
604         * math/libm-test.inc (check_float_internal): Correct ulp
605         calculation for subnormal expected results.
607 2012-05-06  Andreas Jaeger  <aj@suse.de>
609         * Makeconfig (+math-flags): New, set to -frounding-math.
610         (+cflags): Add +math-flags so that all of glibc gets compiled with
611         it.
613         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
615 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
617         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
618         Disable one test.
620         [BZ #13787]
621         [BZ #13922]
622         [BZ #14036]
623         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
624         (__ieee754_expl): Allow for and saturate large arguments.
625         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
626         (u_threshold): Likewise.
627         (__exp): Call __ieee754_exp before checking for overflow and
628         underflow.
629         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
630         (u_threshold): Likewise.
631         (__expf): Call __ieee754_expf before checking for overflow and
632         underflow.
633         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
634         (u_threshold): Likewise.
635         (__expl): Call __ieee754_expl before checking for overflow and
636         underflow.
637         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
638         (__ieee754_expl): Allow for and saturate large arguments.
639         * math/libm-test.inc (exp_test): Add another test.  Do not allow
640         missing overflow exception on overflow.
641         (expm1_test): Do not allow missing overflow exception on overflow.
643         * sysdeps/i386/fpu/e_expl.c: Move to ...
644         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
645         rather than using inline asm.
646         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
647         * sysdeps/x86_64/fpu/e_expl.S: Copy from
648         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
650         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
651         (nice): Likewise.
652         (poll): Likewise.
653         (signal): Likewise.
654         (time): Likewise.
655         (times): Likewise.
657 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
659         * sysdeps/unix/syscalls.list (adjtime): Add entry from
660         sysdeps/unix/common/syscalls.list.
661         (fchmod): Likewise.
662         (fchown): Likewise.
663         (ftruncate): Likewise.
664         (getrusage): Likewise.
665         (gettimeofday): Likewise.
666         (setpgid): Likewise.
667         (setregid): Likewise.
668         (setreuid): Likewise.
669         (sigaction): Likewise.
670         (truncate): Likewise.
671         (vhangup): Likewise.
672         * sysdeps/unix/common/syscalls.list: Remove file.
673         * sysdeps/unix/bsd/Implies: Don't include unix/common.
674         * sysdeps/unix/sysv/linux/Implies: Likewise.
676 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
678         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
680         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
681         Moved to ...
682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
683         Here.
684         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
685         to ...
686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
687         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
688         to ...
689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
690         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
691         to ...
692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
693         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
694         to ...
695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
696         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
697         to ...
698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
699         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
700         to ...
701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
702         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
703         to ...
704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
705         Here.
706         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
707         to ...
708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
709         Here.
710         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
711         to ...
712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
713         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
714         Moved to ...
715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
716         Here.
717         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
718         to ...
719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
721 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
723         * sysdeps/unix/common/bits/dirent.h: Remove file.
724         * sysdeps/unix/common/bits/fcntl.h: Likewise.
726         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
727         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
728         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
729         * sysdeps/unix/bsd/isatty.c: Likewise.
730         * sysdeps/unix/bsd/tcdrain.c: Likewise.
731         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
732         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
734 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
736         [BZ #13563]
737         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
738         long double comparison inaccuracies.
739         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
742 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
744         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
745         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
747 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
749         [BZ #14049]
750         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
751         nonzero digits before rounding a hex value.
752         * stdlib/tst-strtod.c (tests): Add another test.
754 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
756         * sysdeps/s390/fpu/libm-test-ulps: Update.
758 2012-05-03  Andreas Jaeger  <aj@suse.de>
760         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
761         does not get optimized out.
762         (malloc_opt_barrier): New.
764 2012-05-03  Andreas Jaeger  <aj@suse.de>
765             Roland McGrath  <roland@hack.frob.com>
767         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
768         intermediate file deletion.
769         (generated): Add .symlist files.
771 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
773         [BZ #13775]
774         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
775         Redirect under this condition.
776         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
777         [__USE_GNU] (__dprintf_chk): Not under this condition.
778         [__USE_GNU] (__vdprintf_chk): Likewise.
779         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
780         under this condition.
781         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
782         [__USE_XOPEN2K8] (dprintf): Define under this condition.
783         [__USE_XOPEN2K8] (vdprintf): Likewise.
784         [__USE_GNU] (__dprintf_chk): Not under this condition.
785         [__USE_GNU] (__vdprintf_chk): Likewise.
786         [__USE_GNU] (dprintf): Likewise.
787         [__USE_GNU] (vdprintf): Likewise.
789 2012-05-03  Roland McGrath  <roland@hack.frob.com>
791         * elf/Makefile (common-generated): Set this instead of generated for
792         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
793         $(all-built-dso)-derived lists.
795 2012-05-03  Andreas Jaeger  <aj@suse.de>
797         * sysdeps/i386/fpu/libm-test-ulps: Update.
799         * FAQ: Removed.
800         * FAQ.in: Likewise.
801         * scripts/gen-FAQ.pl: Likewise.
802         * manual/install.texi (Installation): Point to online location of
803         FAQ.
804         * Makefile (files-for-dist): Remove FAQ.
805         (FAQ): Remove.
807 2012-05-02  Allan McRae  <allan@archlinux.org>
809         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
810         (LDFLAGS-reldepmod5.so): Likewise.
811         (LDFLAGS-reldep6mod1.so): Likewise.
812         (LDFLAGS-reldep6mod4.so): Likewise.
813         (LDFLAGS-reldep8mod3.so): Likewise.
814         (LDFLAGS-unload4mod1.so): Likewise.
815         (LDFLAGS-unload4mod2.so): Likewise.
816         (LDFLAGS-tst-initorder): Likewise.
817         (LDFLAGS-tst-initordera2.so): Likewise.
818         (LDFLAGS-tst-initordera3.so): Likewise.
819         (LDFLAGS-tst-initordera4.so): Likewise.
820         (LDFLAGS-tst-initorderb2.so): Likewise.
821         (LDFLAGS-noload): Likewise.
822         (LDFLAGS-next): Likewise.
823         (LDFLAGS-order2mod1.so): Likewise.
824         (LDFLAGS-order2mod2.so): Likewise.
825         (LDFLAGS-tst-initorder2): Likewise.
826         (LDFLAGS-tst-initorder2a.so): Likewise.
827         (LDFLAGS-tst-initorder2b.so): Likewise.
828         (LDFLAGS-tst-initorder2c.so): Likewise.
829         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
831 2012-05-02  David S. Miller  <davem@davemloft.net>
833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
835 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
837         [BZ #14055]
838         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
840 2012-05-02  Andreas Jaeger  <aj@suse.de>
842         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
843         since we manipulate rounding mode.
844         (CPPFLAGS-test-idouble.c): Likewise.
845         (CPPFLAGS-test-ifloat.c): Likewise.
846         (CFLAGS-test-ldouble.c): Likewise.
847         (CFLAGS-test-double.c): Likewise.
848         (CFLAGS-test-float.c): Likewise.
849         (CFLAGS-test-misc.c): Likewise.
850         (CFLAGS-test-test-fenv.c): Likewise.
852 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
854         [BZ #2550]
855         [BZ #2570]
856         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
857         comparisons to determine direction to adjust input.
859 2012-05-01  Roland McGrath  <roland@hack.frob.com>
861         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
862         output to the target.
864         * scripts/localplt.awk: New file.
865         * elf/Makefile ($(objpfx)check-localplt): Target removed.
866         (check-localplt-CFLAGS): Variable removed.
867         ($(all-built-dso:=.jmprel)): New static pattern rule.
868         (generated): Add those targets.
869         (localplt-built-dso): New variable.
870         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
872         * elf/check-localplt.c: File removed.
874         * scripts/check-execstack.awk: New file.
875         * elf/Makefile ($(objpfx)check-execstack): Target removed.
876         (check-execstack-CFLAGS): Variable removed.
877         ($(objpfx)check-execstack.h): Target removed.
878         ($(objpfx)execstack-default): New target.
879         (generated): Add that instead of check-execstack.h.
880         ($(all-built-dso:=.phdr)): New static pattern rule.
881         (generated): Add those targets.
882         * elf/check-execstack.c: File removed.
884         * scripts/check-textrel.awk: New file.
885         * elf/Makefile ($(objpfx)check-textrel): Target removed.
886         (check-textrel-CFLAGS): Variable removed.
887         (all-built-dso): Use := to define.o
888         ($(all-built-dso:=.dyn)): New static pattern rule.
889         (generated): Add those targets.
890         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
891         * config.make.in (READELF): New substituted variable.
892         * elf/check-textrel.c: File removed.
894 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
896         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
897         allow.
898         * conform/data/ctype.h-data [C99-based standards] (isblank):
899         Expect function.
900         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
901         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
902         [ISO || ISO99 || ISO11] (*_t): Do not allow.
903         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
904         Specify type.  Require positive value.
905         (EILSEQ): Likewise.
906         (ERANGE): Likewise.
907         [ISO || POSIX] (EILSEQ): Do not expect.
908         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
909         Specify type.  Require positive value.
910         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
911         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
912         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
913         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
914         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
915         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
916         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
917         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
918         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
919         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
920         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
921         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
922         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
923         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
924         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
925         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
926         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
927         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
928         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
929         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
930         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
931         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
932         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
933         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
934         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
935         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
936         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
937         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
938         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
939         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
940         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
941         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
942         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
943         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
944         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
945         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
946         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
947         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
948         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
949         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
950         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
951         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
952         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
953         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
954         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
955         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
956         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
957         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
958         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
959         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
960         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
961         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
962         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
963         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
964         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
965         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
966         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
967         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
968         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
969         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
970         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
971         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
972         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
973         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
974         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
975         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
976         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
977         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
978         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
979         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
980         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
981         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
982         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
983         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
984         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
985         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
986         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
987         Require >= 2.
988         (FLT_ROUNDS): Expect as macro, not constant.
989         (FLT_MANT_DIG): Use macro-int-constant.
990         (DBL_MANT_DIG): Likewise.
991         (LDBL_MANT_DIG): Likewise.
992         (FLT_DIG): Likewise.
993         (DBL_DIG): Likewise.
994         (LDBL_DIG): Likewise.
995         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
996         (DBL_MIN_EXP): Likewise.
997         (LDBL_MIN_EXP): Likewise.
998         (FLT_MAX_EXP): Use macro-int-constant.
999         (DBL_MAX_EXP): Likewise.
1000         (LDBL_MAX_EXP): Likewise.
1001         (FLT_MAX_10_EXP): Likewise.
1002         (DBL_MAX_10_EXP): Likewise.
1003         (LDBL_MAX_10_EXP): Likewise.
1004         (FLT_MAX): Use macro-constant.
1005         (DBL_MAX): Likewise.
1006         (LDBL_MAX): Likewise.
1007         (FLT_EPSILON): Use macro-constant.  Give upper bound.
1008         (DBL_EPSILON): Likewise.
1009         (LDBL_EPSILON): Likewise.
1010         (FLT_MIN): Likewise.
1011         (DBL_MIN): Likewise.
1012         (LDBL_MIN): Likewise.
1013         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1014         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1015         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1016         [ISO11] (FLT_HAS_SUBNORM): Likewise.
1017         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1018         [ISO11] (DBL_DECIMAL_DIG): Likewise.
1019         [ISO11] (FLT_DECIMAL_DIG): Likewise.
1020         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1021         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1022         [ISO11] (FLT_TRUE_MIN): Likewise.
1023         [ISO11] (LDBL_TRUE_MIN): Likewise.
1024         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1025         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1026         (SCHAR_MIN): Use macro-int-constant.  Specify type.
1027         (SCHAR_MAX): Likewise.
1028         (UCHAR_MAX): Likewise.
1029         (CHAR_MIN): Likewise.
1030         (CHAR_MAX): Likewise.
1031         (MB_LEN_MAX): Use macro-int-constant.
1032         (SHRT_MIN): Use macro-int-constant.  Specify type.
1033         (SHRT_MAX): Likewise.
1034         (USHRT_MAX): Likewise.
1035         (INT_MAX): Likewise.
1036         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
1037         bound negative.
1038         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1039         bound with "U".
1040         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1041         bound with "L".
1042         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
1043         bound negative.  Suffix upper bound with "L".
1044         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1045         bound with "UL".
1046         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1047         Specify type.
1048         [C99-based standards] (LLONG_MAX): Likewise.
1049         [C99-based standards] (ULLONG_MAX): Likewise.
1050         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
1051         == 0.
1052         [ISO11] (max_align_t): Require type.
1053         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1055         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1056         from $CFLAGS, without defining away __attribute__ calls.
1057         (checknamespace): Use $CFLAGS_namespace.
1059         * conform/conformtest.pl (@keywords): Only include C99 keywords
1060         for standards based on C99 or C11.
1062         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1063         Disable tests.
1064         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1065         UNIX98]: Likewise.
1067         * conform/conformtest.pl: Handle "macro-int-constant" and test for
1068         usability of symbols in #if.
1070         * conform/conformtest.pl: If macro or constant types start
1071         "promoted:", expect the symbol to be of the following type
1072         promoted by the integer promotions.
1074         * conform/conformtest.pl: Parse all "constant" and "macro" lines
1075         in one place.  Also handle "macro-constant".
1077         * conform/conformtest.pl: Only accept expected macro values with
1078         "==".  Parse all "macro" lines in one place.
1079         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1081         * conform/conformtest.pl: Handle braced types on "constant" lines
1082         instead of handling "typed-constant".
1083         * conform/data/signal.h-data: Use "constant" instead of
1084         "typed-constant".
1086         * conform/conformtest.pl: Handle "optional-" at start of lines in
1087         one place rather than duplicating several cases.  Handle each
1088         format of "macro" line with initial "optional-".
1090         * conform/conformtest.pl: Only accept expected constant or
1091         optional-constant values with "==".  Parse all "constant" lines in
1092         one place.  Parse all "optional-constant" lines in one place.
1093         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1094         * conform/data/fmtmsg.h-data: Likewise.
1095         * conform/data/netinet/in.h-data: Likewise.
1096         * conform/data/tar.h-data: Likewise.
1097         * conform/data/limits.h-data: Use "==" form on "constant" and
1098         "optional-constant" lines.
1100         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1101         Use -std=c99 for XOPEN2K.
1102         (@knownproblems): Remove.
1103         (newtoken): Don't check %isknown.
1105         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1106         Do not expect macro.
1107         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1108         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1109         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1110         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1111         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1112         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1113         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1114         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1115         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1116         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1117         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1118         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1119         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1120         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1121         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1122         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1123         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1124         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1125         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1126         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1127         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1128         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1129         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1130         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1131         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1132         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1133         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1134         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1135         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1136         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1137         [XPG3] (acosh): Likewise.
1138         [XPG3] (asinh): Likewise.
1139         [XPG3] (atanh): Likewise.
1140         [XPG3] (cbrt): Likewise.
1141         [XPG3] (expm1): Likewise.
1142         [XPG3] (ilogb): Likewise.
1143         [XPG3] (log1p): Likewise.
1144         [XPG3] (logb): Likewise.
1145         [XPG3] (nextafter): Likewise.
1146         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1147         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1148         [XPG3] (remainder): Likewise.
1149         [XPG3] (rint): Likewise.
1150         [XPG3 || XPG4 || UNIX98] (round): Likewise.
1151         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1152         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1153         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1154         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1155         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1156         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1157         [UNIX98 || XOPEN2K] (scalb): Expect.
1158         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1159         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1160         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1161         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1162         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1163         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1164         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1165         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1166         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1167         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1168         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1169         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1170         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1171         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1172         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1173         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1174         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1175         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1176         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1177         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1178         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1179         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1180         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1181         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1182         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1183         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1184         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1185         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1186         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1187         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1188         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1189         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1190         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1191         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1192         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1193         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1194         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1195         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1196         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1197         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1198         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1199         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1200         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1201         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1202         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1203         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1204         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1205         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1206         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1207         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1208         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1209         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1210         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1211         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1212         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1213         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1214         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1215         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1216         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1217         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1218         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1219         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1220         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1221         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1222         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1223         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1224         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1225         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1226         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1227         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1228         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1229         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1230         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1231         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1232         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1233         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1234         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1235         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1236         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1237         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1238         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1239         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1240         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1241         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1242         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1243         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1244         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1245         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1246         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1247         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1248         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1249         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1250         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1251         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1252         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1253         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1254         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1255         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1256         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1257         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1258         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1259         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1260         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1261         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1262         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1263         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1264         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1265         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1266         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1267         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1268         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1269         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1270         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1271         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1272         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1273         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1274         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1275         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1276         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1277         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1278         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1279         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1280         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1281         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1282         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1283         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1284         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1285         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1286         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1287         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1288         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1289         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1290         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1291         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1292         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1293         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1294         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1296         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1297         _XOPEN_SOURCE_EXTENDED for XPG4.
1299         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1301         * Makeconfig (localtime): Remove variable.
1302         (inst_localtime-file): Likewise.
1304 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1307         Update.
1308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1309         Update.
1310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1311         Update.
1312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1313         Update.
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1315         Update.
1316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1317         Update.
1318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1319         Update.
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1321         Update.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1323         Update.
1325 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1327         [BZ #2550]
1328         [BZ #2570]
1329         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1330         comparisons to determine direction to adjust input.
1331         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1332         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1333         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1334         Likewise.
1335         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1336         Likewise.
1337         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1338         Likewise.
1339         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1340         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1341         Likewise.
1342         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1343         Likewise.
1344         * math/libm-test.inc (nexttoward_test): Add more tests.
1346 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1348         [BZ #14040]
1349         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1350         in version GLIBC_2.1, not GLIBC_2.0.
1351         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1352         Likewise.
1354 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
1356         [BZ #13942]
1357         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1358         (1 - x) * (1 + x).
1359         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1360         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1361         * math/libm-test.inc (acos_test): Add more tests.
1362         (asin_test): Likewise.
1363         * sysdeps/i386/fpu/libm-test-ulps: Update.
1364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1366         [BZ #14034]
1367         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1368         of square root.
1369         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1370         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1371         * math/libm-test.inc (acos_test_tonearest): New function.
1372         (acos_test_towardzero): Likewise.
1373         (acos_test_downward): Likewise.
1374         (acos_test_upward): Likewise.
1375         (asin_test_tonearest): Likewise.
1376         (asin_test_towardzero): Likewise.
1377         (asin_test_downward): Likewise.
1378         (asin_test_upward): Likewise.
1379         (main): Call the new functions.
1380         * sysdeps/i386/fpu/libm-test-ulps: Update.
1381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1383         [BZ #13884]
1384         [BZ #13924]
1385         * math/e_exp10.c: Include <float.h>.
1386         (__ieee754_exp10): Handle underflow here rather than multiplying
1387         large negative argument by M_LN10.
1388         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1389         of __ieee754_expf.
1390         * math/e_exp10l.c: Include <float.h>.
1391         (__ieee754_exp10l): Handle underflow here rather than multiplying
1392         large negative argument by M_LN10l.
1393         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
1394         spurious overflow exception on underflow.
1396 2012-04-29  Marek Polacek  <polacek@redhat.com>
1398         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1399         (__fortify_function): New macro.
1400         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1401         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1402         __extern_always_inline.
1403         * libio/bits/stdio2.h: Likewise.
1404         * libio/bits/stdio.h: Likewise.
1405         * string/string.h: Likewise.
1406         * string/bits/string3.h: Likewise.
1407         * include/stdio.h: Likewise.
1408         * stdlib/bits/stdlib.h: Likewise.
1409         * stdlib/stdlib.h: Likewise.
1410         * rt/bits/mqueue2.h: Likewise.
1411         * rt/mqueue.h: Likewise.
1412         * posix/bits/unistd.h: Likewise.
1413         * posix/unistd.h: Likewise.
1414         * io/bits/poll2.h: Likewise.
1415         * io/bits/fcntl2.h: Likewise.
1416         * io/fcntl.h: Likewise.
1417         * io/sys/poll.h: Likewise.
1418         * misc/bits/syslog.h: Likewise.
1419         * misc/bits/syslog-ldbl.h: Likewise.
1420         * misc/sys/syslog.h: Likewise.
1421         * socket/bits/socket2.h: Likewise.
1422         * socket/sys/socket.h: Likewise.
1423         * debug/tst-chk1.c: Likewise.
1424         * wcsmbs/bits/wchar2.h: Likewise.
1425         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1426         * wcsmbs/wchar.h: Likewise.
1428 2012-04-29  Andreas Jaeger  <aj@suse.de>
1430         * Makerules (tests): Remove enable-check-abi protection.
1431         (check-abi-warn): Remove.
1432         (check-abi-%): Remove check-abi-warn usage.
1434         * configure.in: Remove check-abi configure option.
1435         * configure: Regenerated.
1436         * config.make.in (enable-check-abi): Remove.
1438 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
1440         [BZ #14033]
1441         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1442         double functions to double *_finite functions.
1444         [BZ #13941]
1445         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1446         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1447         LDBL_MIN_EXP.
1448         * stdio-common/Makefile (tests): Add tst-sprintf3.
1449         * stdio-common/tst-sprintf3.c: New file.
1451         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1452         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1454 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1456         * conform/conformtest.pl: Remove duplicate typed-constant
1457         handling.
1459 2012-04-28  David S. Miller  <davem@davemloft.net>
1461         * Makerules (%.abilist): Add vpath on sysdep_dirs.
1462         (check-abi-%): Remove AWK script prerequisite and explicit
1463         abilist directory.
1464         (check-abi): Rewrite to just diff the symlist with the abilist.
1465         (config-tls, config-abi-config): Delete, no longer used.
1466         (update-abi-%): Remove AWK script and explicit abilist directory.
1467         (update-abi): Rewrite to simply compare and conditionally copy the
1468         symlist and the sysdep abilist file.  Remove update-abi-config
1469         checks.
1470         * abilist/ld.abilist: Remove.
1471         * abilist/libBrokenLocale.abilist: Remove.
1472         * abilist/libanl.abilist: Remove.
1473         * abilist/libcrypt.abilist: Remove.
1474         * abilist/libdl.abilist: Remove.
1475         * abilist/librt.abilist: Remove.
1476         * abilist/libthread_db.abilist: Remove.
1477         * abilist/libutil.abilist: Remove.
1478         * scripts/extract-abilist.awk: Remove.
1479         * scripts/merge-abilist.awk: Remove.
1480         * sysdeps/generic/libcidn.abilist: New file.
1481         * sysdeps/generic/libnss_compat.abilist: New file.
1482         * sysdeps/generic/libnss_db.abilist: New file.
1483         * sysdeps/generic/libnss_dns.abilist: New file.
1484         * sysdeps/generic/libnss_files.abilist: New file.
1485         * sysdeps/generic/libnss_hesiod.abilist: New file.
1486         * sysdeps/generic/libnss_nis.abilist: New file.
1487         * sysdeps/generic/libnss_nisplus.abilist: New file.
1488         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1489         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1490         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1491         file.
1492         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1493         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1494         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1495         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1496         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1497         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1498         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1499         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1500         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1501         file.
1502         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1503         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1504         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1505         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1506         file.
1507         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1508         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1509         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1510         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1511         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1512         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1513         file.
1514         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1515         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1516         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1517         file.
1518         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1519         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1520         New file.
1521         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1522         New file.
1523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1524         New file.
1525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1526         New file.
1527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1528         New file.
1529         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1530         New file.
1531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1532         New file.
1533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1534         New file.
1535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1536         New file.
1537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1538         New file.
1539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1540         New file.
1541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1542         New file.
1543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1544         New file.
1545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1546         file.
1547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1548         New file.
1549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1550         New file.
1551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1552         file.
1553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1554         New file.
1555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1556         New file.
1557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1558         file.
1559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1560         New file.
1561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1562         New file.
1563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1564         New file.
1565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1566         New file.
1567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1568         New file.
1569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1570         New file.
1571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1573         file.
1574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1575         New file.
1576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1577         file.
1578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1579         file.
1580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1581         file.
1582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1583         file.
1584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1585         file.
1586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1587         New file.
1588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1589         file.
1590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1591         file.
1592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1593         New file.
1594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1595         file.
1596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1598         file.
1599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1600         New file.
1601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1602         file.
1603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1604         file.
1605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1606         file.
1607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1608         file.
1609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1610         file.
1611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1612         New file.
1613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1614         file.
1615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1616         file.
1617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1618         New file.
1619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1620         file.
1621         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1622         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1623         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1624         file.
1625         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1626         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1627         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1628         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1629         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1630         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1631         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1632         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1633         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1634         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1637         file.
1638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1639         New file.
1640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1641         file.
1642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1643         file.
1644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1645         file.
1646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1647         file.
1648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1649         file.
1650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1651         New file.
1652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1653         New file.
1654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1655         file.
1656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1657         New file.
1658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1659         file.
1660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1662         file.
1663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1664         New file.
1665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1666         file.
1667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1668         file.
1669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1670         file.
1671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1672         file.
1673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1674         file.
1675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1676         New file.
1677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1678         New file.
1679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1680         file.
1681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1682         New file.
1683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1684         file.
1686 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
1688         * conform/conformtest.pl: Fix typo in handling typed-constant from
1689         allow-header.
1691 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1693         * README: Cut down references to pre-2.6 Linux kernels and
1694         Linuxthreads.  Update lists of configurations in libc and ports
1695         and sort alphabetically.  Say "or newer" with Linux kernel version
1696         requirements.
1698         * config.h.in [IS_IN_build]: Allow compiling without optimization.
1700 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1702         [BZ #887]
1703         * math/libm-test.inc (logb_test_downward): New test to expose
1704         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1705         rounding mode.
1707 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
1709         [BZ #14027]
1710         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1711         to be done.
1712         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1713         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1715 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
1717         * sysdeps/unix/i386/brk.S: Remove file.
1718         * sysdeps/unix/i386/dl-brk.S: Likewise.
1719         * sysdeps/unix/i386/pipe.S: Likewise.
1720         * sysdeps/unix/i386/sigreturn.S: Likewise.
1721         * sysdeps/unix/i386/syscall.S: Likewise.
1722         * sysdeps/unix/i386/vfork.S: Likewise.
1723         * sysdeps/unix/i386/wait.S: Likewise.
1725         * sysdeps/unix/common/tcsendbrk.c: Move to ...
1726         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1728         * configure.in (arm*-none*): Do not allow without
1729         --enable-hacker-mode.
1730         (netbsd*): Remove case setting base_os.
1731         (386bsd*): Likewise.
1732         (freebsd*): Likewise.
1733         (bsdi*): Likewise.
1734         (osf*): Likewise.
1735         (sunos*): Likewise.
1736         (ultrix*): Likewise.
1737         (newsos*): Likewise.
1738         (dynix*): Likewise.
1739         (*bsd*): Likewise.
1740         (sysv*): Likewise.
1741         (isc*): Likewise.
1742         (esix*): Likewise.
1743         (sco*): Likewise.
1744         (minix*): Likewise.
1745         (irix4*): Likewise.
1746         (irix6*): Likewise.
1747         (solaris[2-9]*): Likewise.
1748         (none): Likewise.
1749         * configure: Regenerated.
1751 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1753         [BZ #11521]
1754         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1755         overflow or cancellation in calculating denominator.
1756         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1757         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1758         down expression to avoid unexpected rounding in newer GCCs.
1759         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1761 2012-04-26  David S. Miller  <davem@davemloft.net>
1763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1764         long-double compat symbols.
1765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1779 2012-04-25  David S. Miller  <davem@davemloft.net>
1781         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1782         HWCAP_* values only after the memory barriers have been defined.
1783         (atomic_full_barrier): Define.
1784         (atomic_read_barrier): Define.
1785         (atomic_write_barrier): Define.
1787 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1789         * shlib-versions: Add libgcc_s version information.
1790         * sysdeps/generic/libgcc_s.h: Remove.
1791         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1792         libgcc_s.h.
1793         * sysdeps/gnu/unwind-resume.c: Likewise.
1794         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1796 2012-04-25  David S. Miller  <davem@davemloft.net>
1798         * sysdeps/unix/sparc/brk.S: Delete.
1799         * sysdeps/unix/sparc/dl-brk.S: Delete.
1800         * sysdeps/unix/sparc/pipe.S: Delete.
1801         * sysdeps/unix/sparc/sysdep.S: Delete.
1802         * sysdeps/unix/sparc/sysdep.h: Delete.
1803         * sysdeps/unix/sparc/vfork.S: Delete.
1804         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1805         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1806         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1807         ret_ERRVAL, r0, r1, MOVE): Define.
1808         (JUMPTARGET): Remove.
1809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1810         sysdeps/unix/sparc/sysdep.h
1811         (ENTRY, END): Remove.
1812         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1814 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
1816         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1817         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1818         -DIS_IN_build.
1820         * timezone/README: Update upstream location and email address for
1821         tzcode and tzdata.
1822         * timezone/zdump.c: Update from tzcode 2012b.
1823         * timezone/zic.c: Likewise.
1825         * configure.in (libc_cv_as_needed): Remove test.
1826         * configure: Regenerated.
1827         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1828         conditional definition.
1829         [$(have-as-needed) != yes] (no-as-needed): Likewise.
1830         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1831         * config.make.in (have-as-needed): Remove variable.
1833 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1834             Paul Pluzhnikov  <ppluzhnikov@google.com>
1836         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1837         strings correctly.
1839 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1841         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1842         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1843         * sysdeps/sh/strlen.S: Likewise.
1845 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1847         * sysdeps/unix/fork.S: Remove file.
1848         * sysdeps/unix/i386/fork.S: Likewise.
1849         * sysdeps/unix/sparc/fork.S: Likewise.
1851         * sysdeps/unix/system.c: Remove file.
1852         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1854         * sysdeps/unix/getegid.S: Remove file.
1855         * sysdeps/unix/geteuid.S: Likewise.
1857 2012-04-24  Roland McGrath  <roland@hack.frob.com>
1859         * scripts/check-localplt.awk: New file.
1860         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1861         of diff.
1862         * scripts/data/localplt-generic.data: Add a comment.
1864         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1865         NODE when __dir_mkfile failed.
1866         * sysdeps/mach/hurd/symlinkat.c: Likewise.
1867         Reported by Ludovic Courtès <ludo@gnu.org>.
1869 2012-04-24  Andreas Jaeger  <aj@suse.de>
1871         * Makerules (common-clean): Also remove gen-as-const-headers
1872         files.
1874 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1876         * Makerules (native-compile): Do not change working directory for
1877         build.  Use $(OUTPUT_OPTION) in command.
1878         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1880 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1882         [BZ #13886]
1883         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1884         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1885         * math/libm-test.inc (floor_test): Add more tests.
1886         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1888 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1890         * sysdeps/unix/getdents.c: Remove file.
1891         * sysdeps/unix/sysv/getdents.c: Likewise.
1892         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1894         * sysdeps/unix/syscalls.list (madvise): Add syscall from
1895         sysdeps/unix/mman/syscalls.list.
1896         (mmap): Likewise.
1897         (mprotect): Likewise.
1898         (msync): Likewise.
1899         (munmap): Likewise.
1900         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1901         * sysdeps/unix/mman/syscalls.list: Remove.
1902         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1904         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1905         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1906         * configure: Regenerated.
1907         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1908         $(libgcc_s_suffix).
1909         * config.make.in (libgcc_s_suffix): Remove variable.
1911 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
1913         * sysdeps/unix/sysv/gethostname.c: Move to ...
1914         * sysdeps/posix/gethostname.c: ... here.
1916         * sysdeps/unix/execve.S: Remove file.
1918         * sysdeps/unix/_exit.S: Remove file.
1920 2012-04-23  Andreas Jaeger  <aj@suse.de>
1922         [BZ #13739]
1923         * manual/Makefile: Remove make dist support, there's no
1924         need for a stand-alone documentation tar ball.
1925         (TEXI2DVI): Define always, it's not in Makeconfig.
1926         (dist): Removed.
1927         (tar-it): Removed.
1928         (edition): Removed.
1929         (glibc-doc-$(edition).tar): Removed
1930         (%.Z): Removed.
1931         (%.gz): Removed.
1932         (%.uu): Removed.
1933         (ETAGS): Remove, it's in Makeconfig.
1934         (move-if-change): Remove, it's in Makeconfig.
1936 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1938         [BZ #13970]
1939         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1940         (strtod, strtof, strtold, strtol, strtoul, strtoq)
1941         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1942         (strtod_l, strtof_l, strtold_l): Remove __wur.
1943         It is not necessarily an error to ignore strtol's return value.
1944         One can reliably look at the stored endptr to decide whether
1945         the number had valid syntax.
1947 2012-04-21  Andreas Jaeger  <aj@suse.de>
1949         [BZ #13739]
1950         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1952 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
1954         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1955         * sysdeps/unix/sysv/Versions: Remove file.
1957 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
1959         [BZ #13927]
1960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1962 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
1964         [BZ #7064]
1965         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1966         version from __vm86.
1968 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
1970         * sysdeps/unix/common/lxstat.c: Remove file.
1971         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1973         * sysdeps/unix/sysv/Makefile: Remove file.
1975         * sysdeps/unix/sysv/direct.h: Remove file.
1977         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1978         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1979         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1980         * sysdeps/unix/sysv/bits/signum.h: Likewise.
1981         * sysdeps/unix/sysv/bits/stat.h: Likewise.
1982         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1983         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1985         * sysdeps/unix/sysv/setrlimit.c: Remove file.
1987         * sysdeps/unix/xmknod.c: Remove file.
1988         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1990         * sysdeps/unix/sysv/settimeofday.c: Remove file.
1992         * sysdeps/unix/sysv/i386/time.S: Remove file.
1994         * sysdeps/unix/fxstat.c: Remove file.
1995         * sysdeps/unix/xstat.c: Likewise.
1996         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1998         * sysdeps/unix/sysv/sigaction.c: Remove file.
2000         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2001         (sysdep_headers): Remove variable.
2002         [termio.h not in sysdep_headers] (generated): Likewise.
2003         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2004         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2005         * sysdeps/unix/sysv/tcdrain.c: Likewise.
2006         * sysdeps/unix/sysv/tcflow.c: Likewise.
2007         * sysdeps/unix/sysv/tcflush.c: Likewise.
2008         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2009         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2010         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2011         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2012         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2014         * sysdeps/unix/siglist.c: Remove file.
2016         * sysdeps/unix/getppid.S: Remove file.
2018         * sysdeps/unix/mkdir.c: Remove file.
2019         * sysdeps/unix/rmdir.c: Likewise.
2021 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
2023         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2024         ERR_MAX value.
2025         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2026         errlist-compat value.
2028 2012-04-18  David S. Miller  <davem@davemloft.net>
2030         * sysdeps/generic/memcopy.h (reg_char): Delete.
2031         * debug/strcat_chk.c: Use char, not reg_char.
2032         * debug/strcpy_chk.c: Likewise.
2033         * debug/strncat_chk.c: Likewise.
2034         * debug/strncpy_chk.c: Likewise.
2035         * string/memchr.c: Likewise.
2036         * string/memrchr.c: Likewise.
2037         * string/rawmemchr.c: Likewise.
2038         * string/strcat.c: Likewise.
2039         * string/strchr.c: Likewise.
2040         * string/strchrnul.c: Likewise.
2041         * string/strcmp.c: Likewise.
2042         * string/strcpy.c: Likewise.
2043         * string/strncat.c: Likewise.
2044         * string/strncmp.c: Likewise.
2045         * string/strncpy.c: Likewise.
2047 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2049         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2050         __builtin_memcopy is called when src and dest ranges are known to not
2051         overlap.
2053 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2055         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2056         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2057         fwd_align_merge macro call.
2058         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2059         bwd_align_merge macro call.
2060         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2062 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2064         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2065         bwd_align_merge macros.
2066         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2067         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2068         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2070 2012-04-18  David S. Miller  <davem@davemloft.net>
2072         * sysdeps/sparc/sparc64/memcopy.h: Delete.
2074 2012-04-18  Andreas Jaeger  <aj@suse.de>
2076         [BZ# 6794]
2077         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2078         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2079         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2081         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2082         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2083         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2085         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2086         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2087         Adjust for changed ldbl-128 files.
2089         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2090         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2091         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2093 2012-04-17  David S. Miller  <davem@davemloft.net>
2095         * sysdeps/sparc/sparc32/memcopy.h: Delete.
2097 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
2099         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2100         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2101         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2102         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2103         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2104         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2106 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2108         [BZ #6794]
2109         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2110         * math/libm-test.inc: Add ilogb errno and exception tests.
2111         * math/w_ilogb.c: New file: ilogb wrapper.
2112         * math/w_ilogbf.c: New file: ilogbf wrapper.
2113         * math/w_ilogbl.c: New file: ilogbl wrapper.
2114         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2115         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2116         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2117         exception being thrown with 0.0 as argument.
2118         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2119         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2120         exception being thrown with 0.0 as argument.
2121         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2122         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2123         exception being thrown with 0.0 as argument.
2124         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2125         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2126         exception being thrown with 0.0 as argument.
2127         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2128         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2129         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2130         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2131         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2132         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2133         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2134         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2135         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2137 2012-04-17  Petr Baudis  <pasky@ucw.cz>
2139         * include/sys/uio.h: Change __vector to __iovec to avoid clash
2140         with altivec.
2142 2012-04-16  Marek Polacek  <polacek@redhat.com>
2144         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2146 2012-04-16  Marek Polacek  <polacek@redhat.com>
2148         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2149         operands of fdivp instruction.
2151 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
2153         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2154         * elf/tst-auditmod3b.c: Likewise.
2155         * elf/tst-auditmod4b.c: Likewise.
2156         * elf/tst-auditmod5b.c: Likewise.
2157         * elf/tst-auditmod6b.c: Likewise.
2158         * elf/tst-auditmod6c.c: Likewise.
2159         * elf/tst-auditmod7b.c: Likewise.
2160         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2161         * sysdeps/x86_64/preconfigure.in: Likewise.
2162         * sysdeps/x86_64/preconfigure: Regenerated.
2164 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
2166         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2167         __ILP32__.
2169 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
2171         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2172         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2174 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
2176         [BZ #13973]
2177         * locale/iso-639.def: Fix gl language name. Spotted by
2178         Yaron Shahrabani.
2180 2012-04-12  Roland McGrath  <roland@hack.frob.com>
2182         [BZ #2074]
2183         * libio/libio.h (__io_write_fn): Update comment.
2185 2012-04-12  Petr Baudis  <pasky@ucw.cz>
2187         [BZ #2074]
2188         * stdio.texi (Hook Functions): The user provided writer function
2189         is not allowed to return -1.
2191 2012-04-11  David S. Miller  <davem@davemloft.net>
2193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2195 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
2197         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2198         Add a leading slash to rtkaio.
2200 2012-04-11  Jim Meyering  <meyering@redhat.com>
2202         [BZ #11959]
2203         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2204         It is not necessarily an error to ignore fwrite's return
2205         value.  One can reliably use ferror to test for errors after
2206         the fact.
2208 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2210         * bits/types.h (__snseconds_t): New type.
2211         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2213         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2214         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2215         (__SNSECONDS_T_TYPE): Likewise.
2216         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2217         (__SNSECONDS_T_TYPE): Likewise.
2218         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2219         (__SNSECONDS_T_TYPE): Likewise.
2221 2012-04-10  Andreas Jaeger  <aj@suse.de>
2223         [BZ #2636]
2224         * manual/time.texi (Processor Time): Return type of times is
2225         elapsed real time since an arbitrary point in the past.
2226         (CPU Time): Move CLK_TCK from here...
2227         (Processor Time): ...to here.  Correct description.
2228         * manual/conf.texi (Constants for Sysconf): Correct description of
2229         _SC_CLK_TCK.
2231 2012-04-10  David S. Miller  <davem@davemloft.net>
2233         [BZ #13967]
2234         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2235         where the is a gap between DT_REL(A) and DT_JMPREL.
2237 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2239         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2240         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2241         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2243 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2245         * elf/dl-support.c (_dl_inhibit_cache): New variable.
2246         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2247         (dl_main): Handle --inhibit-cache.
2248         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2249         _dl_inhibit_cache.
2250         * elf/dl-load.c (_dl_map_object): Use it.
2251         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2253 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2255         [BZ #13872]
2256         * sysdeps/i386/fpu/e_powl.S (p78): New object.
2257         (__ieee754_powl): Saturate large exponents rather than testing for
2258         overflow of y*log2(x).
2259         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2260         * math/libm-test.inc (pow_test): Do not permit spurious overflow
2261         exceptions.
2263         [BZ #11521]
2264         * math/s_ctan.c: Include <float.h>.
2265         (__ctan): Avoid internal overflow or cancellation in calculating
2266         denominator.
2267         * math/s_ctanf.c: Likewise.
2268         * math/s_ctanl.c: Likewise.
2269         * math/s_ctanh.c: Likewise.
2270         * math/s_ctanhf.c: Likewise.
2271         * math/s_ctanhl.c: Likewise.
2272         * math/libm-test.inc (ctan_test): Add more tests.
2273         (ctanh_test): Likewise.
2274         * sysdeps/i386/fpu/libm-test-ulps: Update.
2275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2277 2012-04-09  Andreas Jaeger  <aj@suse.de>
2279         [BZ #6894]
2280         * manual/filesys.texi (Directory Entries): Mention that d_namlen
2281         is an optional BSD extension.
2283         [BZ #10254]
2284         * manual/stdio.texi (Opening Streams): Document additional fopen
2285         parameters.
2287 2012-04-09  Roland McGrath  <roland@hack.frob.com>
2289         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2290         %eax without telling the compiler.
2292 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
2294         [BZ # 13963]
2295         * manual/install.texi: Use sourceware.org.
2297 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2299         [BZ #13873]
2300         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2301         (__ieee754_pow): Generate overflow and underflow using huge*huge
2302         and tiny*tiny rather than just returning constant infinity or zero
2303         for large exponents.
2304         * math/libm-test.inc (pow_test): Require overflow exceptions for
2305         applicable cases of large exponents.
2307         [BZ #706]
2308         * sysdeps/i386/fpu/e_pow.S (p10): New object.
2309         (__ieee754_pow): Use iterative multiplication algorithm only for
2310         integer exponents with absolute value below 1024.  Check for odd
2311         integer exponents when using algorithm for real exponents.
2312         * math/libm-test.inc (pow_test): Add more tests.
2313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2315 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
2317         [BZ #13705]
2318         * math/libm-test.inc (exp_test): Do not allow overflow exception
2319         on underflow test.
2321 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
2323         [BZ #13705]
2324         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2325         instead of __kernel_standard_f.
2327 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
2329         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2330         * sysdeps/x86_64/memset_chk.S: Likewise.
2332 2012-04-08  Andreas Jaeger  <aj@suse.de>
2334         [BZ #10153]
2335         * manual/startup.texi (Environment Access): Describe return value
2336         for putenv and setenv.
2338         [BZ #6895]
2339         * manual/filesys.texi (Directory Entries): Add description for
2340         DT_LNK.
2342         [BZ #6890]
2343         * manual/filesys.texi (Directory Entries): Clarify that it's file
2344         system not operating system in the description of DT_UNKNOWN.
2346         [BZ #6578]
2347         * manual/syslog.texi (closelog): Fix reference, it's openlog.
2349 2012-04-08  Stephen Compall  <s11@member.fsf.org>
2351         [BZ #6649]
2352         * manual/llio.texi (Opening and Closing Files): Add cross
2353         reference to explain mode argument.
2355 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
2357         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2358         * sysdeps/x86_64/memset_chk.S: Likewise.
2360 2012-04-07  David S. Miller  <davem@davemloft.net>
2362         * elf/elf.h (R_SPARC_WDISP10): Define.
2363         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2364         R_SPARC_SIZE32.
2365         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2366         R_SPARC_SIZE64 and R_SPARC_H34.
2368 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
2370         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2371         conditions and remove no longer applicable assertion.
2373 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2375         * bits/byteswap.h: Include <features.h>.
2376         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2377         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2379 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2381         * bits/byteswap.h (__bswap_16): Removed.
2382         Include <bits/byteswap-16.h> to get __bswap_16.
2383         * sysdeps/i386/bits/byteswap.h: Likewise.
2384         * sysdeps/s390/bits/byteswap.h: Likewise.
2385         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2386         * bits/byteswap-16.h: New file.
2387         * sysdeps/i386/bits/byteswap-16.h: Likewise.
2388         * sysdeps/s390/bits/byteswap-16.h: Likewise.
2389         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2390         * string/Makefile (headers): Add bits/byteswap-16.h.
2392 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2394         [BZ #13895]
2395         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2396         extra indirection.
2397         * nss/Makefile (tests-static, tests): Add tst-nss-static.
2398         * nss/tst-nss-static.c: New.
2400 2012-04-06  Robert Millan  <rmh@gnu.org>
2402         [BZ #6486]
2403         * manual/llio.texi (File Position Primitive): lseek
2404         refers to WHENCE when it really means OFFSET.
2406 2012-04-06  Andreas Jaeger  <aj@suse.de>
2408         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2409         strncmp declarations.
2411         * abilist/libc.abilist: Add __poll and __ppoll.
2413 2012-04-05  David S. Miller  <davem@davemloft.net>
2415         * scripts/check-local-headers.sh: Accept a host triplet in the
2416         path matched by the exclude regexp.
2418         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2419         definition.
2420         * sysdeps/powerpc/powerpc32/dl-machine.h
2421         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2422         * sysdeps/s390/s390-32/dl-machine.h
2423         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2424         * sysdeps/sparc/sparc32/dl-machine.h
2425         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2426         * sysdeps/sparc/sparc64/dl-machine.h
2427         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2429         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2430         lazy binding.
2431         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2432         undefined symbol errors.
2434         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2435         DT_NEEDED entries.
2437 2012-04-05  Michael Matz  <matz@suse.de>
2439         [BZ #13592]
2440         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2442 2012-04-05  Andreas Jaeger  <aj@suse.de>
2444         [BZ #13908]
2445         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2446         comment.
2448 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2450         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2451         which ROUND is no valid rounding mode.
2453 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2455         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2456         read again.
2457         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2459 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2461         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2462         an exception using FPU order intentionally.
2464 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
2466         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2467         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2468         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2469         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2471 2012-04-05  Simon Josefsson  <simon@josefsson.org>
2473         [BZ #12340]
2474         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2475         EINVAL when BUFLEN is too smal.
2477 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
2479         [BZ #13553]
2480         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2481         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2483 2012-04-03  Andreas Jaeger  <aj@suse.de>
2485         [BZ #13938]
2486         * manual/setjmp.texi (System V contexts): Fix sentence.
2488         [BZ #13926]
2489         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2490         New macro for this case.
2491         [!__GNUC__] (__bswap_64): New inline function for this case.
2492         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2493         * bits/byteswap.h: Likewise.
2494         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2495         ull, guard with __GLIBC_HAVE_LONG_LONG.
2497         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2498         __GLIBC_HAVE_LONG_LONG.
2500         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2501         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2503 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2505         [BZ #13691]
2506         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2507         inptr and inend, rather than using last_ch.
2509 2012-04-02  David S. Miller  <davem@davemloft.net>
2511         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2512         * stdio-common/printf-parse.h (read_int): Change return type to
2513         'int', return -1 on INT_MAX overflow.
2514         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2515         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
2516         overflows INT_MAX.  Check for overflow of in-format-string precision
2517         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
2518         SIZE_MAX not INT_MAX for integer overflow test.
2519         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2520         skip the construct in the format string but do not record anything.
2521         * stdio-common/bug22.c: Adjust to test both width/prevision
2522         INT_MAX overflow as well as total length INT_MAX overflow.  Check
2523         explicitly for proper errno values.
2525 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
2527         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2528         CHAR_MAX.
2529         * string/test-strcmp.c [! WIDE]: Likewise.
2530         * time/tst-mktime2.c: Likewise for INT_MAX.
2531         * string/test-string.h: #include <sys/param.h> for MIN.
2533         * csu/init-first.c (__libc_init_first): Call __ctype_init.
2534         * sysdeps/i386/init-first.c (init): Likewise.
2535         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2536         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2537         * sysdeps/sh/init-first.c (init): Likewise.
2539 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
2541         * po/ru.po: Update from translation team.
2542         * po/vi.po: Likewise.
2544 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2546         * resolv/nss_dns/dns-host.c: Merge copyright years.
2548 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2550         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2551         Optimize memcpy with prefetch if
2552         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
2553         src, dst pointers have unequal 16 byte alignments.
2555 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2557         [BZ #13928]
2558         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2559         from a CNAME entry and return the minimum ttl for the query.
2560         (gaih_getanswer_slice): Likewise.
2562 2012-03-30  Jeff Law  <law@redhat.com>
2564         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2565         due to long keys.
2566         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2567         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2569         * resolv/nss_dns/dns-host.c: Update copyright year.
2571 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
2573         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2574         requests to save a system call.  Fix check that all bytes are sent.
2576         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2577         comments for sendmmsg.
2579 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2581         [BZ #13691]
2582         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2583         with only 1 character between 0x0041 and 0x01b0.
2584         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2585         * wcsmbs/tst-mbsnrtowcs.c: New file.
2587 2012-03-29  David S. Miller  <davem@davemloft.net>
2589         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2590         small copies by hand.
2592 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2594         [BZ #13761]
2595         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2596         _nss_compat_initgroups_dyn): Fall back to malloc/free
2597         for large group memberships.
2599 2012-03-28  David S. Miller  <davem@davemloft.net>
2601         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2602         that branches into memcpy.
2603         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2604         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2605         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2606         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2607         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2608         bits.
2609         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2610         implementation too.
2611         * sysdeps/sparc/mempcpy.S: New file.
2613         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2614         the IFUNC routine in the libc case.
2615         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2617         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2618         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2619         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2620         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2621         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2622         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2623         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2624         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2626         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2627         loop to 256 bytes instead of 64 bytes and fix test signedness.
2629         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2630         * sysdeps/sparc/sparc32/Makefile: rather than here...
2631         * sysdeps/sparc/sparc64/Makefile: and here.
2633 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
2635         * malloc/mallocbug.c: Avoid warnings about unused variables.
2637 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2639         [BZ #13760]
2640         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2641         in the right place. Discard and retry query if response is
2642         larger than input buffer size.
2644 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
2646         [BZ #369]
2647         [BZ #2678]
2648         [BZ #3866]
2649         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2650         x for large integer exponent.
2651         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2652         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
2653         sign of result as needed afterwards.
2654         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2655         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2656         result for underflowing pow the same as for overflow.
2657         (__kernel_standard_l): Handle powl overflow and underflow here
2658         rather than calling __kernel_standard.
2659         * math/libm-test.inc (pow_test): Add more tests.
2661         [BZ #3868]
2662         [BZ #13879]
2663         [BZ #13910]
2664         [BZ #13911]
2665         [BZ #13912]
2666         [BZ #13913]
2667         [BZ #13915]
2668         [BZ #13916]
2669         [BZ #13917]
2670         [BZ #13918]
2671         [BZ #13919]
2672         [BZ #13920]
2673         [BZ #13921]
2674         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2675         * sysdeps/ieee754/k_standard.c: Include <float.h>.
2676         (__kernel_standard_l): New function.
2677         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2678         __kernel_standard.
2679         * math/w_acosl.c (__acosl): Likewise.
2680         * math/w_asinl.c (__asinl): Likewise.
2681         * math/w_atan2l.c (__atan2l): Likewise.
2682         * math/w_atanhl.c (__atanhl): Likewise.
2683         * math/w_coshl.c (__coshl): Likewise.
2684         * math/w_exp10l.c (__exp10l): Likewise.
2685         * math/w_exp2l.c (__exp2l): Likewise.
2686         * math/w_fmodl.c (__fmodl): Likewise.
2687         * math/w_hypotl.c (__hypotl): Likewise.
2688         * math/w_j0l.c (__j0l, __y0l): Likewise.
2689         * math/w_j1l.c (__j1l, __y1l): Likewise.
2690         * math/w_jnl.c (__jnl, __ynl): Likewise.
2691         * math/w_lgammal.c (__lgammal): Likewise.
2692         * math/w_log10l.c (__log10l): Likewise.
2693         * math/w_log2l.c (__log2l): Likewise.
2694         * math/w_logl.c (__logl): Likewise.
2695         * math/w_powl.c (__powl): Likewise.
2696         * math/w_remainderl.c (__remainderl): Likewise.
2697         * math/w_scalbl.c (sysv_scalbl): Likewise.
2698         * math/w_sinhl.c (__sinhl): Likewise.
2699         * math/w_sqrtl.c (__sqrtl): Likewise.
2700         * math/w_tgammal.c (__tgammal): Likewise.
2701         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2702         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2703         * math/libm-test.inc (acos_test): Add more tests.
2704         (acosh_test): Likewise.
2705         (asin_test): Likewise.
2706         (atanh_test): Likewise.
2707         (exp_test): Likewise.
2708         (exp10_test): Likewise.
2709         (exp2_test): Likewise.
2710         (expm1_test): Likewise.
2711         (lgamma_test): Likewise.
2712         (log_test): Likewise.
2713         (log10_test): Likewise.
2714         (log1p_test): Likewise.
2715         (log2_test): Likewise.
2716         (pow_test): Do not allow some spurious overflow exceptions.
2717         (sqrt_test): Add more tests.
2718         (tgamma_test): Likewise.
2719         (y0_test): Likewise.
2720         (y1_test): Likewise.
2721         (yn_test): Likewise.
2723 2012-03-27  Anton Blanchard  <anton@samba.org>
2725         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2726         MAP_HUGETLB.
2727         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2728         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2729         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2731 2012-03-27  David S. Miller  <davem@davemloft.net>
2733         * conform/Makefile: Run run-conformtest.sh using $(BASH).
2735         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2736         have-as-vis3 check.
2738 2012-03-27  Andreas Jaeger  <aj@suse.de>
2740         * sysdeps/x86_64/elf/configure.in: Moved to ...
2741         * sysdeps/x86_64/configure.in: ... here.
2742         * sysdeps/x86_64/elf/start.S: Moved to ...
2743         * sysdeps/x86_64/start.S: ... here.
2744         * sysdeps/x86_64/elf/configure: Delete.
2746         * sysdeps/x86_64/configure.in: Merge contents from
2747         sysdeps/i386/configure.in (without i686 check).
2749         * sysdeps/i386/elf/Versions: Merge into ...
2750         * sysdeps/i386/Versions: ... this.
2751         * sysdeps/i386/elf/Versions: Delete file.
2752         * sysdeps/i386/elf/start.S: Moved to ...
2753         * sysdeps/i386/start.S: ...here.
2754         * sysdeps/i386/elf/configure.in: Merge into...
2755         * sysdeps/i386/configure.in: ...here.
2756         * sysdeps/i386/elf/configure.in: Delete file.
2757         * sysdeps/i386/elf/configure: Delete file.
2759         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2760         * debug/backtracesyms.c: ... here.
2761         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2762         * debug/backtracesymsfd.c: ... here.
2763         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2764         * sysdeps/generic/ifunc-sel.h: ... here.
2766         * sysdeps/unix/i386/start.c: Delete file.
2767         * sysdeps/unix/sparc/start.c: Delete file.
2768         * sysdeps/unix/start.c: Delete file.
2770         * sysdeps/sh/elf/configure.in: Moved to ...
2771         * sysdeps/sh/configure.in: ... here.
2772         * sysdeps/sh/elf/start.S: Moved to ...
2773         * sysdeps/sh/start.S: ... here.
2774         * sysdeps/sh/elf/configure: Delete file.
2776         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2777         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2778         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2779         * sysdeps/powerpc/powerpc64/entry.h: ... here.
2780         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2781         * sysdeps/powerpc/powerpc64/start.S: here.
2782         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2783         * sysdeps/powerpc/powerpc64/Makefile: ... this.
2784         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2785         * sysdeps/powerpc/powerpc64/configure.in: ... this.
2786         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2788         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2789         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2790         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2791         * sysdeps/powerpc/powerpc32/start.S: ... here.
2792         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2793         * sysdeps/powerpc/powerpc32/configure.in: ... this.
2794         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2796         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2797         * sysdeps/powerpc/ifunc-sel.h: ... here.
2798         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2799         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2801         * sysdeps/sparc/elf/configure.in: Moved to ...
2802         * sysdeps/sparc/configure.in: ... here.
2803         * sysdeps/sparc/elf/configure: Delete file.
2804         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2805         * sysdeps/sparc/sparc32/start.S: ... here.
2806         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2807         * sysdeps/sparc/sparc64/start.S: ... here.
2808         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2809         * sysdeps/sparc/sparc32/Makefile: ... this.
2810         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2811         * sysdeps/sparc/sparc64/Makefile: ... this.
2813         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2814         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2815         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2816         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2817         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2818         * sysdeps/s390/s390-32/setjmp.S: ... here.
2819         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2820         * sysdeps/s390/s390-32/configure.in: ... here.
2821         * sysdeps/s390/s390-32/elf/configure: Delete file.
2822         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2823         * sysdeps/s390/s390-32/start.S: ... here.
2825         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2826         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2827         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2828         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2829         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2830         * sysdeps/s390/s390-64/setjmp.S: ... here.
2831         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2832         * sysdeps/s390/s390-64/configure.in: ... here
2833         * sysdeps/s390/s390-64/elf/configure: Delete file.
2834         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2835         * sysdeps/s390/s390-64/start.S: ... here.
2836         * sysdeps/s390/s390-64/elf/configure: Delete.
2838         * configure.in: Remove support for elf directories in sysdeps.
2840         * configure: Regenerated.
2841         * sysdeps/i386/configure: Regenerated.
2842         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2843         * sysdeps/powerpc/powerpc64/configure: Regenerated.
2844         * sysdeps/s390/s390-32/configure: Regenerated.
2845         * sysdeps/s390/s390-64/configure: Regenerated.
2846         * sysdeps/sh/configure: Regenerated.
2847         * sysdeps/sparc/configure: Regenerated.
2848         * sysdeps/x86_64/configure: Regenerated.
2850 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
2852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2854         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2855         denormal result into account.
2857 2012-03-25  Roland McGrath  <roland@hack.frob.com>
2859         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2860         Reported by Allan McRae <allan@archlinux.org>.
2862 2012-03-23  Jeff Law  <law@redhat.com>
2864         * nss/getnssent.c (__nss_getent): Fix typo.
2866 2012-03-23  David S. Miller  <davem@davemloft.net>
2868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2870 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
2872         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2873         to pad to uint64_t for each field.
2874         (dl_tls_index): Replace unsigned long with uint64_t.
2876 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
2877         Paul Pluzhnikov  <ppluzhnikov@google.com>
2879         [BZ #6528]
2880         * grp/Makefile (otherlibs): Don't set it.
2881         * inet/Makefile (otherlibs): Likewise.
2882         * login/Makefile (otherlibs): Likewise.
2883         * nscd/Makefile (otherlibs): Likewise.
2884         * posix/Makefile (otherlibs): Likewise.
2885         * pwd/Makefile (otherlibs): Likewise.
2886         * rt/Makefile (otherlibs): Likewise.
2887         * sunrpc/Makefile (otherlibs): Likewise.
2888         * nss/Makefile (otherlibs): Likewise.
2889         Add libnss_files to routines and static-only-routines.
2890         ($(objpfx)getent): Remove rule.
2891         * resolv/Makefile: Add libnss_dns and libresolv to routines and
2892         static-only-routines.
2894 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2896         [BZ #13892]
2897         * math/s_cexp.c: Include <float.h>.
2898         (__cexp): Handle exp result overflowing not necessarily
2899         overflowing both real and imaginary parts of result.
2900         * math/s_cexpf.c: Likewise.
2901         * math/s_cexpl.c: Likewise.
2902         * math/libm-test.inc (cexp_test): Add more tests.
2903         * sysdeps/i386/fpu/libm-test-ulps: Update.
2904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2906 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2908         * include/link.h (ELFW): New macro.
2909         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2910         Replace ELF64_R_TYPE with ELFW(R_TYPE).
2912 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2914         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2915         with uint64_t.
2917 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2919         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2920         declaration.
2921         (struct La_x32_retval): Likewise.
2923 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2925         * sysdeps/x86_64/preconfigure.in: New file.
2926         * sysdeps/x86_64/preconfigure: New generated file.
2928 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2930         [BZ #13824]
2931         * math/e_exp2l.c: Include <float.h>.
2932         (__ieee754_exp2l): Handle overflow and underflow cases
2933         separately.  Only pass fractional part of argument to
2934         __ieee754_expl.
2935         * math/libm-test.inc (exp2_test): Add more tests.
2937         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2938         negating x to take absolute value.
2939         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2940         Likewise.
2941         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2942         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2943         Likewise.
2944         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2945         computing low part if x was negated.
2946         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2948 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2950         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2951         la_x32_gnu_pltexit.
2952         (pltexit): Cast int_retval to ptrdiff_t.
2953         * elf/tst-auditmod3b.c: Likewise.
2954         * elf/tst-auditmod4b.c: Likewise.
2955         * elf/tst-auditmod5b.c: Likewise.
2956         * elf/tst-auditmod6b.c: Likewise.
2957         * elf/tst-auditmod6c.c: Likewise.
2958         * elf/tst-auditmod7b.c: Likewise.
2960         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2961         and x32_gnu_pltexit.
2963         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2964         __ELF_NATIVE_CLASS.
2965         (La_x32_regs): New macro.
2966         (La_x32_retval): Likewise.
2967         (la_x32_gnu_pltenter): New function prototype.
2968         (la_x32_gnu_pltexit): Likewise.
2970 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
2972         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2973         exponent.
2975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2977         * configure.in (libc_cv_cc_nofma): Check for option to disable
2978         generation of FMA instructions.
2979         * configure: Regenerate.
2980         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2981         * sysdeps/ieee754/dbl-64/Makefile: New file.
2982         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2983         Remove brandred-fma4.
2984         (CFLAGS-brandred-fma4.c): Remove.
2985         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2986         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2987         define.
2988         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2989         define.
2991 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2993         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2994         LLONG_MAX != LONG_MAX.
2995         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2996         (_fitoa_word): Likewise.
2997         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2998         LLONG_MAX != LONG_MAX.
2999         * stdio-common/_itowa.h: Include <_itoa.h>.
3000         (_itowa_word): Use _ITOA_WORD_TYPE on value.
3001         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
3002         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
3003         only if not defined.
3004         (_ITOA_WORD_TYPE): Likewise.
3005         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3006         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3008 2012-03-21  David S. Miller  <davem@davemloft.net>
3010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3012 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3014         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3015         of x86_64 when setting libc_cv_slibdir, libdir and
3016         libc_cv_localedir.
3017         * sysdeps/unix/sysv/linux/configure: Regenerated.
3019 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3021         * manual/lang.texi (Old Varargs): Remove section.
3022         (How Variadic): Update menu.
3023         (va_start): Do not mention varargs.h.
3025 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3026             Joseph Myers  <joseph@codesourcery.com>
3028         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3029         link test.
3030         * configure: Regenerated.
3032 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3034         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3035         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3036         conformtest.pl
3038 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3040         * NOTES: Remove.
3041         * Makefile (files-for-dist): Remove NOTES.
3042         (NOTES): Remove rule.
3043         * README: Don't refer to NOTES.
3044         * manual/creature.texi: Don't include macros.texi.
3045         * manual/intro.texi (creature.texi): Remove comment referring to
3046         NOTES.
3048         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3049         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3050         * configure: Regenerated.
3051         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3052         LIBC_TRY_CC_OPTION.
3053         (libc_cv_as_i686): Likewise.
3054         (libc_cv_cc_avx): Likewise.
3055         (libc_cv_cc_sse2avx): Likewise.
3056         (libc_cv_cc_fma4): Likewise.
3057         (libc_cv_cc_novzeroupper): Likewise.
3058         * sysdeps/i386/configure: Regenerated.
3060         [BZ #13883]
3061         * sysdeps/i386/fpu/s_cexp.S: Remove.
3062         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3063         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3064         * math/libm-test.inc (cexp_test): Add more tests.
3065         * sysdeps/i386/fpu/libm-test-ulps: Update.
3066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3068 2012-03-21  Allan McRae  <allan@archlinux.org>
3070         * timezone/Makefile: Do not install iso3166.tab and zone.tab
3072 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3074         [BZ #13871]
3075         * math/w_exp2.c: Do not include <float.h>.
3076         (o_threshold, u_threshold): Remove.
3077         (__exp2): Calculate result before checking finiteness and calling
3078         __kernel_standard.
3079         * math/w_exp2f.c: Likewise.
3080         * math/w_exp2l.c: Likewise.
3081         * math/libm-test.inc (exp2_test): Require overflow exception for
3082         1e6 input.
3084         [BZ #3866]
3085         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3086         range of signed 64-bit integers before using fistpll.  Remove
3087         checks for whether integers fit in mantissa bits.
3088         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3089         the range of signed 32-bit integers before using fistpl.  Remove
3090         checks for whether integers fit in mantissa bits.
3091         * sysdeps/i386/fpu/e_powl.S (p64): New object.
3092         (__ieee754_powl): Test for y outside the range of signed 64-bit
3093         integers before using fistpll.  Reduce 64-bit values to 63-bit
3094         ones as needed.
3095         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3096         divide-by-zero is raised for zero to large negative powers.
3097         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3098         (__ieee754_powl): Test for y outside the range of signed 64-bit
3099         integers before using fistpll.  Reduce 64-bit values to 63-bit
3100         ones as needed.
3101         * math/libm-test.inc (pow_test): Add more tests.
3103 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3105         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3106         <stdio-common/_itoa.h>.
3107         * debug/segfault.c: Likewise.
3108         * elf/dl-cache.c: Likewise.
3109         * elf/dl-minimal.c: Likewise.
3110         * elf/dl-misc.c: Likewise.
3111         * elf/dl-sysdep.c: Likewise.
3112         * elf/dl-version.c: Likewise.
3113         * elf/rtld.c: Likewise.
3114         * hurd/hurdsock.c: Likewise.
3115         * hurd/lookup-retry.c: Likewise.
3116         * malloc/malloc.c: Likewise.
3117         * malloc/mtrace.c: Likewise.
3118         * nscd/nscd_getgr_r.c: Likewise.
3119         * nscd/nscd_getpw_r.c: Likewise.
3120         * nscd/nscd_getserv_r.c: Likewise.
3121         * posix/getopt_init.c: Likewise.
3122         * posix/wordexp.c: Likewise.
3123         * stdio-common/_itoa.c: Likewise.
3124         * stdio-common/printf_fphex.c: Likewise.
3125         * stdio-common/vfprintf.c: Likewise.
3126         * string/_strerror.c: Likewise.
3127         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3128         * sysdeps/i386/i686/hp-timing.h: Likewise.
3129         * sysdeps/mach/_strerror.c: Likewise.
3130         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3131         * sysdeps/mach/hurd/sethostid.c: Likewise.
3132         * sysdeps/mach/hurd/xmknodat.c: Likewise.
3133         * sysdeps/mach/xpg-strerror.c: Likewise.
3134         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3135         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3136         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3137         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3138         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3139         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3140         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3141         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3142         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3143         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3144         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3145         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3146         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3147         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3148         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3149         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3150         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3151         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3152         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3153         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3154         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3156         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3158         * stdio-common/_itoa.h: Moved to ...
3159         * sysdeps/generic/_itoa.h: Here.
3161         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3163         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3164         instead of "_itoa.h" and "_itowa.h".
3165         * stdio-common/vfprintf.: Likewise.
3167 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3169         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3170         <bits/wordsize.h>.
3171         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3172         (__signbit): Likwise.
3173         (llrintf): Likwise.
3174         (llrint): Likwise.
3176 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3178         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3179         __WORDSIZE != 64.
3181 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
3183         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3184         OVERFLOW_EXCEPTION_OK.
3185         * math/libm-test.inc ("Philosophy"): Update comment about
3186         exception testing.
3187         (OVERFLOW_EXCEPTION): Define.
3188         (OVERFLOW_EXCEPTION_OK): Likewise.
3189         (INVALID_EXCEPTION_OK): Renumber.
3190         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3191         (IGNORE_ZERO_INF_SIGN): Likewise.
3192         (test_exceptions): Handle FE_OVERFLOW.
3193         (exp10_test): Expect overflow exceptions.
3194         (exp2_test): Likewise.
3195         (expm1_test): Likewise.
3196         (nextafter_test): Likewise.
3197         (pow_test): Likewise.
3198         (scalbn_test): Likewise.
3199         (scalbln_test): Likewise.
3201 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3203         * sysdeps/x86_64/bits/atomic.h
3204         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3205         64bit integer.
3206         (atomic_exchange_acq): Likewise.
3207         (__arch_exchange_and_add_body): Likewise.
3208         (__arch_add_body): Likewise.
3209         (atomic_add_negative): Likewise.
3210         (atomic_add_zero): Likewise.
3212 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3214         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3215         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3217 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3219         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3220         Check __x86_64__ instead of __WORDSIZE.
3222 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3224         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3226 2012-03-19  David S. Miller  <davem@davemloft.net>
3228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3230         * sysdeps/sparc/fpu/fenv_private.h: New file.
3231         * sysdeps/sparc/fpu/math_private.h: Use it.
3232         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3233         Remove.
3234         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3235         (libc_feholdexcept_setroundl): Remove.
3236         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3237         Remove.
3238         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3239         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3241 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3243         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3244         int64_t instead of long int.
3245         (INSERT_WORDS64): Likwise.
3247 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3249         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3250         _Unwind_GetCFA return to _Unwind_Ptr first.
3252 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
3254         [BZ #13629]
3255         * math/s_clog.c: Include <float.h>.
3256         (__clog): Scale large or subnormal inputs.
3257         * math/s_clogf.c: Likewise.
3258         * math/s_clogl.c: Likewise.
3259         * math/s_clog10.c: Include <float.h>.
3260         (M_LOG10_2): Define.
3261         (__clog10): Scale large or subnormal inputs.
3262         * math/s_clog10f.c: Likewise.
3263         * math/s_clog10l.c: Likewise.
3264         * math/libm-test.inc (clog_test): Add more tests.
3265         (clog10_test): Likewise.
3266         * sysdeps/i386/fpu/libm-test-ulps: Update.
3267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3269         [BZ #11451]
3270         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3271         x and y.
3272         * math/libm-test.inc (atan2_test): Add another test.
3274         * Makerules (common-objdir-compile): Remove.
3275         * sysdeps/unix/Makefile (config-generated): Do not add
3276         $(unix-generated) to variable.
3277         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3278         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3279         Remove rule.
3280         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3281         Likewise.
3282         [generic bits/local_lim.h] (before-compile): Do not append to
3283         variable.
3284         [generic bits/local_lim.h] (common-generated): Likewise.
3285         [generic sys/param.h] (before-compile): Do not append to variable.
3286         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3287         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3288         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3289         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3290         include.
3291         [generic sys/param.h] (sys/param.h-includes): Remove variable.
3292         [generic sys/param.h] (sys/param.h-includes): Remove rule.
3293         [generic sys/param.h] ($(addprefix
3294         $(common-objpfx),$(sys/param.h-includes))): Likewise.
3295         [generic sys/param.h] (common-generated): Do not append to
3296         variable.
3297         [generic sys/param.h] (sysdep_headers): Likewise.
3298         [generic bits/errno.h] (before-compile): Do not append to
3299         variable.
3300         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3301         rule.
3302         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3303         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3304         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3305         [generic bits/errno.h] (common-generated): Do not append to
3306         variable.
3307         [generic bits/ioctls.h] (before-compile): Do not append to
3308         variable.
3309         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3310         rule.
3311         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3312         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3313         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3314         rule.
3315         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3316         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3317         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3318         [generic bits/ioctls.h] (common-generated): Do not append to
3319         variable.
3320         [generic sys/syscall.h] (syscall.h): Remove variable.
3321         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3322         rule.
3323         [generic sys/syscall.h] (before-compile): Do not append to
3324         variable.
3325         [generic sys/syscall.h] (common-generated): Likewise.
3326         * sysdeps/unix/errnos-tmpl.c: Remove file.
3327         * sysdeps/unix/errnos.awk: Likewise.
3328         * sysdeps/unix/ioctls-tmpl.c: Likewise.
3329         * sysdeps/unix/ioctls.awk: Likewise.
3330         * sysdeps/unix/mk-local_lim.c: Likewise.
3331         * sysdeps/unix/snarf-ioctls: Likewise.
3333 2012-03-19  Richard Henderson  <rth@twiddle.net>
3335         * sysdeps/i386/fpu/fenv_private.h: New file.
3336         * sysdeps/i386/fpu/math_private.h: Use it.
3337         (math_opt_barrier, math_force_eval): Remove.
3338         (libc_feholdexcept_setround_53bit): Remove.
3339         (libc_feupdateenv_53bit): Remove.
3340         * sysdeps/x86_64/fpu/math_private.h: Likewise.
3341         (math_opt_barrier, math_force_eval): Remove.
3342         (libc_feholdexcept): Remove.
3343         (libc_feholdexcept_setround): Remove.
3344         (libc_fetestexcept, libc_fesetenv): Remove.
3345         (libc_feupdateenv_test): Remove.
3346         (libc_feupdateenv, libc_feholdsetround): Remove.
3347         (libc_feresetround): Remove.
3349         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3350         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3352         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3353         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3354         (libc_feupdateenv_testl): New.
3355         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3356         (libc_feupdateenv_testf): New.
3357         (libc_feupdateenv): Use libc_feupdateenv_test.
3358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3359         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3361         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3362         (libc_feholdsetroundf, libc_feholdsetroundl): New.
3363         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3364         (libc_feresetround_noex): New.
3365         (libc_feresetround_noexf): New.
3366         (libc_feresetround_noexl): New.
3367         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3368         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3369         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3370         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3371         SET_RESTORE_ROUND.
3372         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3373         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3374         (__cos): Likewise.
3375         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3376         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3377         SET_RESTORE_ROUND_NOEX.
3378         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3379         SET_RESTORE_ROUND_NOEXF.
3380         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3381         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3382         (libc_feholdsetroundf): New.
3383         (libc_feresetround, libc_feresetroundf): New.
3385         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3386         (libc_feholdexcept_setround_53bit): Convert from macro to function.
3387         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
3389         * sysdeps/generic/math_private.h: Include <fenv.h>.
3390         (default_libc_feholdexcept): New.
3391         (default_libc_feholdexcept_setround): New.
3392         (default_libc_fesetenv, default_libc_feupdateenv): New.
3393         (libc_feholdexcept): Only define if undefined.
3394         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3395         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3396         (libc_feholdexcept_setroundl): Likewise.
3397         (libc_feholdexcept_setround_53bit): Likewise.
3398         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3399         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3400         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3401         (libc_feupdateenv_53bit): Likewise.
3402         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3403         (libc_feholdexcept): Convert from macro to inline function.
3404         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3405         (libc_fesetenv, libc_feupdateenv): Likewise.
3407         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3408         not previously defined.
3409         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3410         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3411         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3412         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3413         * sysdeps/ieee754/flt-32/math_private.h: New file.
3414         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3415         math_private.h below SET_FLOAT_WORD.
3416         (__isnan, __isinf_ns, __finite): Remove.
3417         (__isnanf, __isinf_nsf, __finitef): Remove.
3419 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
3421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3423 2012-03-17  David S. Miller  <davem@davemloft.net>
3425         [BZ #6471]
3426         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3427         for 2.16.
3429 2012-03-16  David S. Miller  <davem@davemloft.net>
3431         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3432         warnings.
3434         [BZ #6471]
3435         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3436         properly.
3437         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3438         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3439         sysdep_routines when subdir is sysvipc.
3440         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3441         __getshmlba helper.
3443         * sysdeps/sparc/fpu/libm-test/ulps: Update.
3445 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3447         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3448         [__LP64__].
3450 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3452         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3453         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3454         (__lround): Renamed to ...
3455         (__llround): This.  Replace long int with long long int.
3456         Define lround functions as aliases of llround functions.
3457         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3459 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3461         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3462         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
3463         adresses to uintptr_t.  Replace "long int" and "unsigned long
3464         int" with "greg_t" on va_arg.
3466 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3468         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3469         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3471         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3472         Move e_machine check before EI_CLASS check.  Handle x32
3473         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3474         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3475         SKIP_EM_IA_64 and include
3476         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3478         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3479         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3480         (add_system_dir): New macro.
3482         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3483         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3485 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3487         [BZ #2551]
3488         [BZ #2552]
3489         [BZ #2553]
3490         [BZ #2554]
3491         [BZ #2562]
3492         [BZ #2563]
3493         [BZ #2565]
3494         [BZ #2566]
3495         [BZ #2576]
3496         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3497         (y0): Likewise.
3498         * math/w_j0f.c (j0f): Likewise.
3499         (y0f): Likewise.
3500         * math/w_j0l.c (__j0l): Likewise.
3501         (__y0l): Likewise.
3502         * math/w_j1.c (j1): Likewise.
3503         (y1): Likewise.
3504         * math/w_j1f.c (j1f): Likewise.
3505         (y1f): Likewise.
3506         * math/w_j1l.c (__j1l): Likewise.
3507         (__y1l): Likewise.
3508         * math/w_jn.c (jn): Likewise.
3509         (yn): Likewise.
3510         * math/w_jnf.c (jnf): Likewise.
3511         (ynf): Likewise.
3512         * math/w_jnl.c (__jnl): Likewise.
3513         (__ynl): Likewise.
3514         * math/libm-test.inc (j0_test): Add more tests.
3515         (j1_test): Likewise.
3516         (jn_test): Likewise.  Add trailing semicolon to existing test.
3517         (y0_test): Likewise.
3518         (y1_test): Likewise.
3519         * sysdeps/i386/fpu/libm-test-ulps: Update.
3520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3522         [BZ #13851]
3523         [BZ #13854]
3524         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3525         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3526         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3527         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3528         (__tanl): Set errno for infinite argument.
3529         * sysdeps/i386/fpu/mptan.c: Remove.
3530         * sysdeps/i386/fpu/s_tan.S: Likewise.
3531         * sysdeps/i386/fpu/s_tanl.S: Likewise.
3532         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3533         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3534         * math/libm-test.inc (tan_test): Add more tests and enable more
3535         tests for double and long double.
3536         * sysdeps/i386/fpu/libm-test-ulps: Update.
3537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3539 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
3541         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3542         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3544 2012-03-16  Roland McGrath  <roland@hack.frob.com>
3546         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3547         * configure.in: Use it for both main tree and add-ons.
3548         * configure: Regenerated.
3550 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3552         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3554 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
3556         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3557         in comment.
3559         [BZ #13851]
3560         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3561         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3562         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3563         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3564         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3565         infinite argument.
3566         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3567         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3568         != 0 for prec == 2.
3569         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3570         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3571         * sysdeps/i386/fpu/s_cosl.S: Likewise.
3572         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3573         * sysdeps/i386/fpu/s_sinl.S: Likewise.
3574         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3575         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3576         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3577         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3578         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3579         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3580         * math/libm-test.inc (cos_test): Add more tests and enable more
3581         tests for long double.
3582         (sin_test): Likewise.
3583         (sincos_test): Likewise.
3584         * sysdeps/i386/fpu/libm-test-ulps: Update.
3585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3587 2012-03-16  David S. Miller  <davem@davemloft.net>
3589         * sysdeps/sparc/fpu/math_private.h: New file.
3591 2012-03-15  David S. Miller  <davem@davemloft.net>
3593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3594         file.
3595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3597         file.
3598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3603         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3604         sysdep routines.
3605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3607         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3608         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3610         * sysdeps/sparc/sparc-ifunc.h: New file.
3611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3612         sparc-ifunc.h
3613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3615         Likewise.
3616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3617         Likewise.
3618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3622         Likewise.
3623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3628         Likewise.
3629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3630         Likewise.
3631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3637         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3638         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3639         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3640         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3647         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3648         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3649         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3650         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3651         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3652         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3653         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3654         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3656 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3658         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3659         scaling.
3660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3662 2012-03-15  Andreas Jaeger  <aj@suse.de>
3664         [BZ #13852]
3665         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3666         ieee754/flt-32 implementation for sin, cos and sincos.
3667         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3668         * sysdeps/i386/fpu/s_cosf.S: Likewise.
3669         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3670         * sysdeps/i386/fpu/s_sinf.S: Likewise.
3671         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3672         ieee754/flt-32 implementation for tan.
3674         * math/libm-test.inc (cos_test): Enable some large input tests for
3675         float as well
3676         (sin_test): Likewise.
3677         (sincos_test): Likewise.
3678         (tan_test): Add tests for large input.
3680         * sysdeps/i386/fpu/libm-test-ulps: Update.
3682 2012-03-15  Andreas Jaeger  <aj@suse.de>
3684         [BZ #13658]
3685         * math/libm-test.inc (cos_test): Add more test cases.
3686         (sin_test): Likewise.
3687         (sincos_test): Likewise.
3689 2012-03-15  Andreas Jaeger  <aj@suse.de>
3691         [BZ #13837]
3692         * math/libm-test.inc (cos_test): Add a test case for large input
3693         value.
3694         (sin_test): Likewise.
3695         (sincos_test): Likewise.
3697 2012-03-15  Andreas Jaeger  <aj@suse.de>,
3698         Joseph Myers  <joseph@codesourcery.com>
3700         [BZ #13658]
3701         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3702         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3703         * sysdeps/i386/fpu/branred.c: Likewise.
3704         * sysdeps/i386/fpu/dosincos.c: Likewise.
3705         * sysdeps/i386/fpu/mpa.c: Likewise.
3706         * sysdeps/i386/fpu/s_cos.S: Likewise.
3707         * sysdeps/i386/fpu/s_sin.S: Likewise.
3708         * sysdeps/i386/fpu/s_sincos.S: Likewise.
3709         * sysdeps/i386/fpu/sincos32.c: Likewise.
3711         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3712         Define.
3713         (libc_feupdateenv_53bit): Define.
3714         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3715         Define.
3716         (libc_feupdateenv_53bit): Define.
3718         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3719         53 bit (without extend i386 double precision).
3721         * math/libm-test.inc (sincos_test): Add tests for large input.
3722         (sin): Likewise.
3723         (cos): Likewise.
3725         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3727 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
3729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3731 2012-03-15  David S. Miller  <davem@davemloft.net>
3733         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3734         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3735         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3736         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3749         file.
3750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3752         file.
3753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3755         file.
3756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3758         file.
3759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3760         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3761         fmin/fmax sysdep routines.
3762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3764 2012-03-14  David S. Miller  <davem@davemloft.net>
3766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3771         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3772         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3773         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3775         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3787         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3788         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3789         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3790         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3791         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3792         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3793         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3795         routines.
3796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3797         file.
3798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3800         file.
3801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3803         file.
3804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3806         file.
3807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3809         file.
3810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3812         file.
3813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3814         file.
3815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3816         file.
3817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3818         file.
3819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3820         New file.
3821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3822         file.
3823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3824         file.
3825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3827         file.
3828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3830         file.
3831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3833         file.
3834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3836         VIS3 routines.
3838         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3839         New file.
3841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3843         * sysdeps/sparc/configure.in: New file.
3844         * sysdeps/sparc/configure: Generate.
3845         * configure.in (libc_cv_sparc_as_vis3): Substitute.
3846         * configure: Regenerate.
3847         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3848         * config.make.in (have-as-vis3): New.
3849         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3850         available use -Av9d instead of -Av9a.
3851         * sysdeps/sparc/sparc64/Makefile: Likewise.
3852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3854         New file.
3855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3856         file.
3857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3858         New file.
3859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3860         file.
3861         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3862         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3864         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3865         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3867         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3868         fzeros/fnegs to load 0x80000000 into a float register instead of
3869         using the stack.
3870         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3872 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3875         bits/syscall.h.
3876         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3877         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3878         ($(inst_includedir)/bits/syscall.h): Remove rule.
3879         ($(objpfx)bits/syscall.d): Include instead of
3880         $(objpfx)syscall-list.d.
3881         (generated): Change syscall-list.h and syscall-list.d to
3882         bits/syscall.h and bits/syscall.d.
3884 2012-03-14  Roland McGrath  <roland@hack.frob.com>
3886         [BZ #13846]
3887         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3889 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3891         [BZ #13841]
3892         * math/s_csqrt.c: Include <float.h>.
3893         (__csqrt): Scale large or subnormal inputs.
3894         * math/s_csqrtf.c: Likewise.
3895         * math/s_csqrtl.c: Likewise.
3896         * math/libm-test.inc (csqrt_test): Add more tests.
3897         * sysdeps/i386/fpu/libm-test-ulps: Update.
3898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3900         [BZ #13840]
3901         * math/libm-test.inc (hypot_test): Add more tests.
3903 2012-03-13  David S. Miller  <davem@davemloft.net>
3905         [BZ #13840]
3906         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3907         double-precision for the calculation instead of scaling.
3909 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
3911         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3912         manipulate bits before adding and subtracting TWO52[sx].
3913         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3914         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3915         Likewise.
3916         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3918 2012-03-13  David S. Miller  <davem@davemloft.net>
3920         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3921         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3922         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3923         rtld-global-offsets.h
3924         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3926         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3927         large parameters.
3929         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3931         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3932         'err' in the ifdef scope in which it is actually used.
3934         * nss/nss_db/db-init.c: Include string.h
3936 2012-03-12  David S. Miller  <davem@davemloft.net>
3938         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3939         masking out of the most significant byte of random value used.
3940         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3941         Fix coding style in previous change.
3943         * sysdeps/unix/sysv/linux/kernel-features.h
3944         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3945         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3946         expression.
3947         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3948         later.
3950 2012-03-11  David S. Miller  <davem@davemloft.net>
3952         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3953         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3954         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3955         for 'resultvar' otherwise things get truncated on 64-bit.
3957         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3958         Fix masking out of the most significant byte of random value used.
3960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3962 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
3964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3966 2012-03-09  David S. Miller  <davem@davemloft.net>
3968         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3969         variables with appropriate CPP guards.
3970         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3971         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
3972         on resulting framesize and the management of the outregs buffer for pltexit.
3973         Preserve floating point return values across _dl_call_pltexit call.
3974         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3975         framesize and the management of the outregs buffer for pltexit.
3976         Preserve floating point return values across _dl_call_pltexit
3977         call.
3978         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3979         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3980         (print_exit): Fix format string for return register value.
3982 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
3984         * sunrpc/Makefile (others): Add rpcgen.
3985         ($(objpfx)rpcgen): Remove special build rule and dependency on
3986         libc.
3987         * sunrpc/rpcgen.c: New file.
3989 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
3991         [BZ #13673]
3992         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3993         * stdio-common/bug-vfprintf-nargs.c: Likewise.
3994         * sysdeps/i386/crti.S: Likewise.
3995         * sysdeps/i386/crtn.S: Likewise.
3996         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3997         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3998         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3999         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4000         * sysdeps/sh/crti.S: Likewise.
4001         * sysdeps/sh/crtn.S: Likewise.
4002         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4004         [BZ #13673]
4005         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4006         with URL.
4007         * locale/programs/locfile-kw.gperf: Likewise.
4008         * locale/programs/charmap-kw.h: Regenerated.
4009         * locale/programs/locfile-kw.h: Likewise.
4011         [BZ #13673]
4012         * intl/plural.y: Replace FSF snail mail address with URL.
4013         * intl/plural.c: Regenerated.
4015 2012-03-09  Richard Henderson  <rth@twiddle.net>
4017         * include/math_private.h: Remove file.
4018         * math/math_private.h: Move file ...
4019         * sysdeps/generic/math_private.h: ... here.
4021         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4022         * sysdeps/powerpc/fpu/math_private.h: Likewise.
4023         * sysdeps/x86_64/fpu/math_private.h: Likewise.
4025         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4026         and <math_private.h>.
4027         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4028         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4029         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4030         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4031         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4032         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4033         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4034         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4035         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4036         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4037         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4038         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4039         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4040         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4041         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4042         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4043         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4044         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4045         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4046         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4047         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4048         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4049         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4050         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4051         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4052         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4053         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4054         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4055         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4056         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4057         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4058         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4059         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4060         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4061         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4062         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4063         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4064         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4065         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4066         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4067         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4068         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4069         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4070         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4071         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4072         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4073         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4074         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4075         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4076         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4077         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4078         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4079         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4080         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4081         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4082         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4083         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4084         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4085         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4086         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4087         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4088         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4090         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4091         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4092         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4093         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4094         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4095         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4096         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4097         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4098         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4099         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4100         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4101         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4102         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4103         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4105         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4106         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4107         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4108         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4109         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4110         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4111         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4112         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4113         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4114         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4115         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4116         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4117         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4118         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4119         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4120         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4121         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4122         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4123         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4124         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4125         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4126         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4127         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4128         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4129         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4130         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4131         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4132         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4133         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4134         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4135         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4136         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4137         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4138         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4139         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4140         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4141         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4142         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4143         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4144         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4145         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4146         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4147         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4148         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4149         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4150         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4151         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4152         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4153         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4154         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4155         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4156         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4157         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4158         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4159         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4160         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4161         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4162         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4163         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4164         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4165         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4166         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4167         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4168         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4169         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4170         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4171         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4172         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4173         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4174         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4175         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4176         * sysdeps/ieee754/k_standard.c: Likewise.
4177         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4178         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4179         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4180         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4181         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4182         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4183         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4184         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4185         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4186         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4187         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4189         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4190         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4191         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4192         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4193         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4194         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4195         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4196         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4197         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4198         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4199         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4200         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4201         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4202         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4203         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4204         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4205         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4206         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4207         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4208         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4209         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4210         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4211         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4212         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4213         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4214         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4215         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4216         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4217         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4218         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4219         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4220         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4221         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4222         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4223         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4224         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4225         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4226         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4227         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4228         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4229         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4230         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4231         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4232         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4233         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4234         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4235         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4236         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4237         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4238         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4239         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4240         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4241         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4242         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4243         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4244         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4246         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4247         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4248         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4249         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4250         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4251         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4252         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4253         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4254         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4255         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4256         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4257         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4258         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4259         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4260         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4261         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4262         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4263         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4264         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4265         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4267         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4268         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4269         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4270         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4272         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4273         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4274         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4275         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4276         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4277         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4278         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4279         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4280         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4281         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4282         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4283         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4284         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4285         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4286         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4287         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4288         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4289         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4290         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4291         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4292         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4293         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4294         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4295         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4296         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4297         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4298         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4299         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4300         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4301         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4302         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4303         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4304         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4305         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4306         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4307         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4308         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4309         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4310         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4311         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4312         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4313         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4314         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4315         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4316         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4317         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4318         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4319         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4320         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4321         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4322         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4323         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4324         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4325         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4326         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4327         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4328         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4329         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4330         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4331         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4332         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4333         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4334         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4335         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4336         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4337         * sysdeps/ieee754/s_lib_version.c: Likewise.
4338         * sysdeps/ieee754/s_matherr.c: Likewise.
4339         * sysdeps/ieee754/s_signgam.c: Likewise.
4340         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4341         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4342         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4343         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4344         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4345         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4346         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4347         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4348         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4349         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4350         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4351         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4352         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4353         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4354         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4355         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4356         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4357         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4358         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4359         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4362 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4364         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4365         * sunrpc/rpc_main.c: Likewise.
4366         * sunrpc/rpc_svcout.c: Likewise.
4368 2012-03-09  David S. Miller  <davem@davemloft.net>
4370         * include/math_private.h: New file.
4372 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4374         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4375         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4376         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4377         from <bits/socket_type.h>.
4378         (enum __socket_type): Don't define here.
4379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4381         bits/socket_type.h.
4383         [BZ #13566]
4384         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4385         checking __USE_GNU.
4387         * Makerules ($(inst_includedir)/%.h): New rule.
4388         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4389         (install-others): Remove variable setting.
4390         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4392 2012-03-08  Richard Henderson  <rth@twiddle.net>
4394         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4395         from macro to inline function; merge with the
4396         !__LIBC_INTERNAL_MATH_INLINES version.
4397         (__ieee754_sqrtf): Likewise.
4399         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4400         to inline function.
4401         (__rintf, __floor, __floorf): Likewise.
4403         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4404         macro to inline function.
4405         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4407         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4408         not <math/math_private.h>.
4410 2012-03-08  David S. Miller  <davem@davemloft.net>
4412         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4413         copyright year.
4414         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4416 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
4418         * resolv/gai_misc.c (handle_requests): Fix struct timespec
4419         normalization.
4420         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4421         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4423 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
4425         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
4426         be defined individually, they must be defined as a block.  Define
4427         S for printing a string instead of hidint the different by using a
4428         macro for adding the 'l'.
4429         * stdio-common/tst-fphex-wide.c: Adjust.
4431 2012-03-07  Marek Polacek  <polacek@redhat.com>
4433         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4435 2012-03-08  Marek Polacek  <polacek@redhat.com>
4437         [BZ #13806]
4438         * stdio-common/Makefile (tests): Add tst-fphex-wide.
4439         * stdio-common/tst-fphex.c: Define a few macros to make the
4440         test reusable.  Use them.
4441         * stdio-common/tst-fphex-wide.c: New file.
4443 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
4445         [BZ #6911]
4446         * manual/macros.texi (gnusystems): New macro.
4447         (nongnusystems): Likewise.
4448         (gnulinuxhurdsystems): Likewise.
4449         (gnuhurdsystems): Likewise..
4450         (gnulinuxsystems): Likewise.
4451         * manual/charset.texi: Use new macros or @theglibc{} to refer to
4452         variants of the GNU system, not "GNU system".
4453         * manual/conf.texi: Likewise.
4454         * manual/errno.texi: Likewise.  Update example of errno macro
4455         expansion.
4456         * manual/filesys.texi: Likewise.
4457         (getumask): Document as specific to GNU/Hurd.
4458         * manual/install.texi: Likewise.  Reword some references to
4459         GNU/Linux.
4460         * manual/intro.texi: Likewise.
4461         * manual/io.texi: Likewise.
4462         (File Name Portability): Detail which constraints are inapplicable
4463         to all GNU systems and which are only inapplicable to GNU/Hurd.
4464         * manual/job.texi: Likewise.
4465         * manual/llio.texi: Likewise.
4466         (O_NOCTTY): Document as present on GNU/Linux.
4467         * manual/maint.texi: Likewise.
4468         * manual/memory.texi: Likewise.
4469         * manual/pattern.texi: Likewise.
4470         * manual/pipe.texi: Likewise.
4471         * manual/process.texi: Likewise.
4472         * manual/resource.texi: Likewise.
4473         (RUSAGE_CHILDREN): Remove statement about specifying a particular
4474         child on GNU/Hurd.
4475         * manual/setjmp.texi: Likewise.
4476         * manual/signal.texi: Likewise.
4477         * manual/startup.texi: Likewise.
4478         * manual/stdio.texi: Likewise.
4479         * manual/terminal.texi: Likewise.
4480         (ONLCR): Document as POSIX.
4481         (OXTABS): Document availability on GNU/Linux as XTABS.
4482         (ONOEOT): Document availability separately from other bits.
4483         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4484         * manual/time.texi: Likewise.
4485         * manual/users.texi: Likewise.
4486         * INSTALL: Regenerated.
4487         * sysdeps/gnu/errlist.c: Regenerated.
4489         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4490         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4491         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
4492         puts.
4493         * configure: Regenerated.
4495 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
4497         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4498         default includes instead of AC_HEADER_CHECK.
4499         * sysdeps/i386/configure: Regenerated.
4501         [BZ #10716]
4502         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4503         * math/s_cacoshf.c (__cacoshf): Likewise.
4504         * math/s_cacoshl.c (__cacoshl): Likewise.
4505         * math/s_casinh.c (__casinh): Set signs of result from argument.
4506         * math/s_casinhf.c (__casinhf): Likewise.
4507         * math/s_casinhl.c (__casinhl): Likewise.
4508         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4509         (casinh_test): Add more tests.
4510         * sysdeps/i386/fpu/libm-test-ulps: Update.
4511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4513 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
4515         * po/zh_TW.po: Update from translation team.
4517         * login/Makefile (distribute): Remove variable.
4518         * catgets/Makefile: Likewise.
4519         * mach/Makefile: Likewise.
4520         * malloc/Makefile: Likewise.
4521         * misc/Makefile: Likewise.
4522         * iconv/Makefile: Likewise.
4523         * nscd/Makefile: Likewise.
4524         * hurd/Makefile: Likewise.
4525         * manual/Makefile: Likewise.
4526         * locale/Makefile: Likewise.
4527         * intl/Makefile: Likewise.
4528         * conform/Makefile: Likewise.
4529         * nss/Makefile: Likewise.
4530         * time/Makefile: Likewise.
4531         * soft-fp/Makefile: Likewise.
4532         * dirent/Makefile: Likewise.
4533         * gmon/Makefile: Likewise.
4534         * po/Makefile: Likewise.
4535         * rt/Makefile: Likewise.
4536         * socket/Makefile: Likewise.
4537         * math/Makefile: Likewise.
4538         * signal/Makefile: Likewise.
4539         * debug/Makefile: Likewise.
4540         * elf/Makefile: Likewise.
4541         * timezone/Makefile: Likewise.
4542         * stdlib/Makefile: Likewise.
4543         * iconvdata/Makefile: Likewise.
4544         * sunrpc/Makefile: Likewise.
4545         * io/Makefile: Likewise.
4546         * argp/Makefile: Likewise.
4547         * inet/Makefile: Likewise.
4548         * hesiod/Makefile: Likewise.
4549         * grp/Makefile: Likewise.
4550         * csu/Makefile: Likewise.
4551         * wctype/Makefile: Likewise.
4552         * crypt/Makefile: Likewise.
4553         * libio/Makefile: Likewise.
4554         * string/Makefile: Likewise.
4555         * nis/Makefile: Likewise.
4556         * resolv/Makefile: Likewise.
4557         * stdio-common/Makefile: Likewise.
4558         * wcsmbs/Makefile: Likewise.
4559         * dlfcn/Makefile: Likewise.
4560         * posix/Makefile: Likewise.
4562         [BZ #6959]
4563         * timezone/Makefile: Don't install timezone files, just the programs
4564         and scripts.
4566 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
4568         * nss/databases.def: Add missing gshadow entry.
4570         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
4572 2012-03-06  Marek Polacek  <polacek@redhat.com>
4574         [BZ #13726]
4575         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4576         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4577         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4578         * stdio-common/tst-long-dbl-fphex.c: New file.
4580 2012-03-06  David S. Miller  <davem@davemloft.net>
4582         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4583         (set_obp_int): New function.
4584         (get_obp_int): New function.
4585         (__get_clockfreq_via_dev_openprom): Likewise.
4586         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4587         Avoid unused variable warnings on 'val' and use builtin_expect.
4588         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4589         __builtin_expect.
4590         (INLINE_CLONE_SYSCALL): Likewise.
4592 2012-03-05  David S. Miller  <davem@davemloft.net>
4594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4596 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
4598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4600         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4601         only for |x| >= 40.
4602         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4604 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4606         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4607         Replace gettimeofday with __vdso_gettimeofday.
4609         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4610         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4611         __vdso_clock_gettime and __vdso_getcpu.
4613         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4614         time with __vdso_time.
4616 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4618         * manual/lang.texi (size_t): Note types to which size_t may be
4619         equivalent with the GNU C Library, but do not describe when
4620         differences between them are significant.
4622 2012-03-05  Andreas Jaeger  <aj@suse.de>
4624         * sysdeps/i386/fpu/libm-test-ulps: Update.
4626 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
4628         [BZ #3976]
4629         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4630         (__ieee754_pow): Save and restore rounding mode and use
4631         round-to-nearest for main computations.
4632         * math/libm-test.inc (pow_test_tonearest): New function.
4633         (pow_test_towardzero): Likewise.
4634         (pow_test_downward): Likewise.
4635         (pow_test_upward): Likewise.
4636         (main): Call the new functions.
4637         * sysdeps/i386/fpu/libm-test-ulps: Update.
4638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4640         [BZ #3976]
4641         * math/libm-test.inc (cosh_test_tonearest): New function.
4642         (cosh_test_towardzero): Likewise.
4643         (cosh_test_downward): Likewise.
4644         (cosh_test_upward): Likewise.
4645         (sinh_test_tonearest): Likewise.
4646         (sinh_test_towardzero): Likewise.
4647         (sinh_test_downward): Likewise.
4648         (sinh_test_upward): Likewise.
4649         (main): Call the new functions.
4650         * sysdeps/i386/fpu/libm-test-ulps: Update.
4651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4653 2012-03-05  Tom de Vries  <tom@codesourcery.com>
4655         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4656         default stack guard is set in last bytes.
4657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4659 2012-03-05  Kees Cook  <keescook@chromium.org>
4661         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4663         [BZ #13656]
4664         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4665         possibly allocate from heap instead of stack.
4666         * stdio-common/bug-vfprintf-nargs.c: New file.
4667         * stdio-common/Makefile (tests): Add nargs overflow test.
4669 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
4671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4673 2012-03-03  Marek Polacek  <polacek@redhat.com>
4675         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4676         * math/math_private.h: Likewise.
4677         * stdlib/tst-strtod.c: Likewise.
4678         * sysdeps/i386/i486/bits/atomic.h: Likewise.
4679         * sysdeps/x86_64/bits/atomic.h: Likewise.
4681 2012-03-02  David S. Miller  <davem@davemloft.net>
4683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4687         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4688         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4689         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4690         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4692 2012-03-02  Roland McGrath  <roland@hack.frob.com>
4694         [BZ #13792]
4695         * manual/examples/README: New file, says the example source files
4696         can be used under GPL>=2.
4697         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4698         line containing just "*/".
4699         * manual/examples/add.c: Add copyright header (GPL>=2).
4700         * manual/examples/argp-ex1.c: Likewise.
4701         * manual/examples/argp-ex2.c: Likewise.
4702         * manual/examples/argp-ex3.c: Likewise.
4703         * manual/examples/argp-ex4.c: Likewise.
4704         * manual/examples/atexit.c: Likewise.
4705         * manual/examples/db.c: Likewise.
4706         * manual/examples/dir.c: Likewise.
4707         * manual/examples/dir2.c: Likewise.
4708         * manual/examples/execinfo.c: Likewise.
4709         * manual/examples/filecli.c: Likewise.
4710         * manual/examples/filesrv.c: Likewise.
4711         * manual/examples/fmtmsgexpl.c: Likewise.
4712         * manual/examples/genpass.c: Likewise.
4713         * manual/examples/inetcli.c: Likewise.
4714         * manual/examples/inetsrv.c: Likewise.
4715         * manual/examples/isockad.c: Likewise.
4716         * manual/examples/longopt.c: Likewise.
4717         * manual/examples/memopen.c: Likewise.
4718         * manual/examples/memstrm.c: Likewise.
4719         * manual/examples/mkfsock.c: Likewise.
4720         * manual/examples/mkisock.c: Likewise.
4721         * manual/examples/mygetpass.c: Likewise.
4722         * manual/examples/pipe.c: Likewise.
4723         * manual/examples/popen.c: Likewise.
4724         * manual/examples/rprintf.c: Likewise.
4725         * manual/examples/search.c: Likewise.
4726         * manual/examples/select.c: Likewise.
4727         * manual/examples/setjmp.c: Likewise.
4728         * manual/examples/sigh1.c: Likewise.
4729         * manual/examples/sigusr.c: Likewise.
4730         * manual/examples/stpcpy.c: Likewise.
4731         * manual/examples/strdupa.c: Likewise.
4732         * manual/examples/strftim.c: Likewise.
4733         * manual/examples/strncat.c: Likewise.
4734         * manual/examples/subopt.c: Likewise.
4735         * manual/examples/swapcontext.c: Likewise.
4736         * manual/examples/termios.c: Likewise.
4737         * manual/examples/testopt.c: Likewise.
4738         * manual/examples/testpass.c: Likewise.
4739         * manual/examples/timeval_subtract.c: Likewise.
4741         [BZ #13792]
4742         * manual/time.texi (Elapsed Time): Move timeval_subtract example
4743         function to ...
4744         * manual/timeval_subtract.c.texi: ... here, new file.
4746 2012-03-02  David S. Miller  <davem@davemloft.net>
4748         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4750 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
4752         [BZ #3976]
4753         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4754         (__sin): Save and restore rounding mode and use round-to-nearest
4755         for all computations.
4756         (__cos): Save and restore rounding mode and use round-to-nearest
4757         for all computations.
4758         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4759         <fenv.h>.
4760         (tan): Save and restore rounding mode and use round-to-nearest for
4761         all computations.
4762         * math/libm-test.inc (cos_test_tonearest): New function.
4763         (cos_test_towardzero): Likewise.
4764         (cos_test_downward): Likewise.
4765         (cos_test_upward): Likewise.
4766         (sin_test_tonearest): Likewise.
4767         (sin_test_towardzero): Likewise.
4768         (sin_test_downward): Likewise.
4769         (sin_test_upward): Likewise.
4770         (tan_test_tonearest): Likewise.
4771         (tan_test_towardzero): Likewise.
4772         (tan_test_downward): Likewise.
4773         (tan_test_upward): Likewise.
4774         (main): Call the new functions.
4775         * sysdeps/i386/fpu/libm-test-ulps: Update.
4776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4778         [BZ #10135]
4779         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4780         small n, then large n, before computing and testing k+n.
4781         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4782         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4783         Likewise.
4784         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4785         Likewise.
4786         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4787         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4788         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4789         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4790         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4791         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4792         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4793         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4794         * math/libm-test.inc (scalbn_test): Add more tests.
4795         (scalbln_test): Likewise.
4797         * manual/filesys.texi (mode_t): Describe constraints on size and
4798         signedness, not exact equivalence to a particular type.
4799         (ino_t): Likewise.
4800         (ino64_t): Likewise.
4801         (dev_t): Likewise.
4802         (nlink_t): Likewise.
4803         (blkcnt_t): Likewise.
4804         (blkcnt64_t): Likewise.
4805         * manual/llio.texi (off_t): Likewise.
4807         [BZ #3976]
4808         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4809         (__ieee754_exp): Save and restore rounding mode and use
4810         round-to-nearest for all computations.
4811         * math/libm-test.inc (exp_test_tonearest): New function.
4812         (exp_test_towardzero): Likewise.
4813         (exp_test_downward): Likewise.
4814         (exp_test_upward): Likewise.
4815         (main): Call the new functions.
4816         * sysdeps/i386/fpu/libm-test-ulps: Update.
4817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4819 2012-03-01  Chris Demetriou  <cgd@google.com>
4821         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4822         have predictable order.
4824 2012-03-01  David S. Miller  <davem@davemloft.net>
4826         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4828         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4829         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4830         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4831         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4833         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4834         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4835         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4837         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4838         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4839         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4840         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4841         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4845         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4846         * sysdeps/sparc/fpu/libm-test-ulps: to here.
4847         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4849         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4850         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4851         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4852         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4853         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4854         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4855         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4856         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4857         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4858         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4859         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4860         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4861         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4862         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4863         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4865         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4866         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4867         * sysdeps/sparc/elf/configure: Regenerated.
4869 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
4871         * configure.in (AS, LD): Require binutils 2.20 or later.
4872         * configure: Regenerated.
4873         * manual/install.texi (Tools for Compilation): Give binutils 2.20
4874         as required minimum version.
4875         * INSTALL: Regenerated.
4877         [BZ #2541]
4878         [BZ #4108]
4879         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4880         before squaring exponent.
4881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4882         bottom long double and 27 bits of top long double before squaring
4883         exponent.
4884         * math/libm-test.inc (erfc_test): Add more tests.
4885         * sysdeps/i386/fpu/libm-test-ulps: Update.
4886         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4889 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4891         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4892         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4893         containing bit-fields.
4894         * soft-fp/extended.h (_FP_UNION_E): Likewise.
4895         * soft-fp/single.h (_FP_UNION_S): Likewise.
4896         * soft-fp/double.h (_FP_UNION_D): Likewise.
4898 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4900         [BZ #13786]
4901         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4902         not include ../strcmp.S.
4903         [USE_AS_STRNCASECMP_L]: Likewise.
4904         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4905         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4906         * sysdeps/i386/i686/multiarch/strncase_l-c.c
4907         (__strncasecmp_l_ia32): Define as alias to
4908         __strncasecmp_l_nonascii.
4910         [BZ #5794]
4911         * math/libm-test.inc (expm1_test): Add test for bug 5794.
4912         * sysdeps/i386/fpu/libm-test-ulps: Update.
4913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4915         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4918 2012-02-29  Jeff Law  <law@redhat.com>
4920         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4921         out of bounds read.
4923 2012-02-29  Marek Polacek  <polacek@redhat.com>
4925         [BZ #13706]
4926         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4927         * elf/Makefile: Add rules to run tst-unused-dep.out.
4929 2012-02-28  David S. Miller  <davem@davemloft.net>
4931         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4932         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4933         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4934         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4935         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4936         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4938 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4940         * math/libm-test.inc (llround_test): Move one test from
4941         lround_test.  Use TEST_f_L in moved test.
4942         (lround_test): Move misplaced test to llround_test.  Add testcase
4943         from bug 2561.
4945 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
4947         * sysdeps/x86_64/fpu/e_expf.S: New file.
4948         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4950 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
4952         [BZ #13637]
4953         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4954         of remain_len that may cause incomplete multi-byte character and
4955         false match.
4956         * posix/bug-regex33.c: New file.
4957         * posix/Makefile (tests): Add bug-regex33.
4959 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
4961         * manual/macros.texi: New file.
4962         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4963         * manual/libc.texinfo: Include macros.texi.
4964         * manual/creatute.texi: Likewise.
4965         * manual/install.texi: Likewise.
4966         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4967         @glibcadj{} in references to the GNU C Library.
4968         * manual/charset.texi: Likewise.
4969         * manual/conf.texi: Likewise.
4970         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
4971         when not using those macros.
4972         * manual/creature.texi: Likewise.
4973         * manual/crypt.texi: Likewise.
4974         * manual/errno.texi: Likewise.
4975         * manual/filesys.texi: Likewise.
4976         * manual/header.texi: Likewise.
4977         * manual/install.texi: Likewise.
4978         * manual/intro.texi: Likewise.
4979         * manual/io.texi: Likewise.
4980         * manual/job.texi: Likewise.
4981         * manual/lang.texi: Likewise.
4982         * manual/libc.texiinfo: Likewise.
4983         * manual/llio.texi: Likewise.
4984         * manual/locale.texi: Likewise.
4985         * manual/maint.texi: Likewise.
4986         * manual/math.texi: Likewise.
4987         * manual/memory.texi: Likewise.
4988         * manual/message.texi: Likewise.
4989         * manual/nss.texi: Likewise.
4990         * manual/pattern.texi: Likewise.
4991         * manual/process.texi: Likewise.
4992         * manual/resource.texi: Likewise.
4993         * manual/search.texi: Likewise.
4994         * manual/setjmp.texi: Likewise.
4995         * manual/signal.texi: Likewise.
4996         * manual/socket.texi: Likewise.
4997         * manual/startup.texi: Likewise.
4998         * manual/stdio.texi: Likewise.
4999         * manual/string.texi: Likewise.
5000         * manual/sysinfo.texi: Likewise.
5001         * manual/syslog.texi: Likewise.
5002         * manual/terminal.texi: Likewise.
5003         * manual/time.texi: Likewise.
5004         * manual/users.texi: Likewise.
5005         * INSTALL: Regenerated.
5006         * NOTES: Regenerated.
5007         * sysdeps/gnu/errlist.c: Regenerated.
5009 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5011         * include/dirent.h: Include <dirstream.h> before
5012         <dirent/dirent.h>.
5014 2012-02-28  David S. Miller  <davem@davemloft.net>
5016         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5017         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5018         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5019         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5021 2012-02-27  David S. Miller  <davem@davemloft.net>
5023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5025         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5026         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5029         frame pointer instead of stack pointer relative arg slot.
5030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5031         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5032         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5034 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
5036         [BZ #3992]
5037         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5039 2012-02-27  David S. Miller  <davem@davemloft.net>
5041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5045         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5046         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5047         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5048         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5050 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5052         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5053         later.  Allow versions 5-9.
5054         * configure: Regenerated.
5055         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5056         required minimum version and 4.6 as recommended version.  Do not
5057         mention bugs in GCC 2.7 and 2.8.
5058         * INSTALL: Regenerated.
5060 2012-02-27  David S. Miller  <davem@davemloft.net>
5062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5066         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5067         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5068         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5069         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5071         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5072         manipulate bits before adding and subtracting TWO112[sx].
5073         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5075 2012-02-27  Roland McGrath  <roland@hack.frob.com>
5077         [BZ #13775]
5078         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5079         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5080         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5081         being in POSIX, because they are in 1003.1-2008.
5083         * rt/tst-aio.c: Include <fcntl.h>.
5084         * rt/tst-aio7.c: Likewise.
5085         * rt/tst-aio64.c: Likewise.
5087         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5089 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5091         * manual/install.texi (--with-headers): Describe headers as
5092         interface headers, not private headers.
5093         (Specific advice for GNU/Linux systems): Describe use of headers
5094         from "make headers_install", not private headers from older
5095         kernels.
5096         * INSTALL: Regenerated.
5097         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5098         Change to 2.6.19.
5099         * sysdeps/unix/sysv/linux/configure: Regenerated.
5101         * manual/llio.texi (fclean): Remove documentation.
5103         * manual/Makefile (libc-texi-generated): New variable.  Include
5104         version.texi.
5105         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5106         $(libc-texi-generated), not duplicated list of files.
5107         (version.texi, stamp-version): New rules.
5108         (realclean): Remove $(libc-texi-generated), not individual files
5109         from that list.  Do not remove dir-add.texinfo.
5110         * manual/libc.texinfo: Comment out uses of edition numbers and
5111         references to printed manual.  Remove last-updated dates.
5112         (EDITION): Comment out.
5113         (ISBN): Likewise.
5114         (VERSION, UPDATED): Remove.
5115         (version.texi): Include.
5117 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
5119         * sysdeps/posix/spawni.c: Include <signal.h>.
5120         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5121         * sysdeps/pthread/aio_fsync.c: Likewise.
5123 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
5125         * conform/Makefile (tests): Run only when not cross-compiling and
5126         when fast-check is not defined.
5128         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5129         * conform/data/limits.h-data: Fixes for POSIX2008.
5130         * conform/run-conformtest.sh: Run all tests.
5131         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5132         headers.
5133         * include/bits/dlfcn.h: Likewise.
5134         * include/langinfo.h: Likewise.
5135         * include/monetary.h: Likewise.
5136         * include/sys/poll.h: Likewise.
5138         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5139         for __USE_GNU.
5140         * posix/spawn.h: Define __need_sigset_t.
5141         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5142         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5143         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
5144         to get sigevent_t only.
5145         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5146         only for __USE_GNU.
5147         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5148         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5149         process_vm_writev only for __USE_GNU.
5150         * termios/termios.h: Declare tcgetsid also for POSIX2008.
5152         * conform/Makefile: For now ignore errors from run-conformtest.
5153         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
5154         POSIX to avoid namespace pollution.  Don't prepend headers.
5155         * conform/data/aio.h-data: Fixes for POSIX testing.
5156         * conform/data/fcntl.h-data: Likewise.
5157         * conform/data/glob.h-data: Likewise.
5158         * conform/data/grp.h-data: Likewise.
5159         * conform/data/pthread.h-data: Likewise.
5160         * conform/data/pwd.h-data: Likewise.
5161         * conform/data/signal.h-data: Likewise.
5162         * conform/data/spawn.h-data: Likewise.
5163         * conform/data/stdio.h-data: Likewise.
5164         * conform/data/stdlib.h-data: Likewise.
5165         * conform/data/stropts.h-data: Likewise.
5166         * conform/data/sys/mman.h-data: Likewise.
5167         * conform/data/sys/stat.h-data: Likewise.
5168         * conform/data/sys/types.h-data: Likewise.
5169         * conform/data/sys/wait.h-data: Likewise.
5170         * conform/data/time.h-data: Likewise.
5171         * conform/data/unistd.h-data: Likewise.
5172         * conform/data/utime.h-data: Likewise.
5174         * io/sys/stat.h: fchmod was always in POSIX.
5175         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5176         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5177         * rt/aio.h: Define __need_timespec before including <time.h>.
5178         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5179         struct.  Add forward declaration of pthread_attr_t and use it in
5180         sigevent.
5181         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5182         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5183         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5184         always remove CLK_TCK definition.
5186 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
5188         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5190 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
5192         * conform/run-conformtest.sh: New file.
5193         * conform/Makefile: Run run-conformtest for tests.
5194         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
5195         support.
5197         * conform/data/uchar.h-data: New file.
5198         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5199         * conform/data/arpa/inet.h-data: Likewise.
5200         * conform/data/assert.h-data: Likewise.
5201         * conform/data/complex.h-data: Likewise.
5202         * conform/data/cpio.h-data: Likewise.
5203         * conform/data/ctype.h-data: Likewise.
5204         * conform/data/dirent.h-data: Likewise.
5205         * conform/data/dlfcn.h-data: Likewise.
5206         * conform/data/errno.h-data: Likewise.
5207         * conform/data/fcntl.h-data: Likewise.
5208         * conform/data/float.h-data: Likewise.
5209         * conform/data/fmtmsg.h-data: Likewise.
5210         * conform/data/fnmatch.h-data: Likewise.
5211         * conform/data/ftw.h-data: Likewise.
5212         * conform/data/glob.h-data: Likewise.
5213         * conform/data/grp.h-data: Likewise.
5214         * conform/data/iconv.h-data: Likewise.
5215         * conform/data/inttypes.h-data: Likewise.
5216         * conform/data/langinfo.h-data: Likewise.
5217         * conform/data/libgen.h-data: Likewise.
5218         * conform/data/limits.h-data: Likewise.
5219         * conform/data/locale.h-data: Likewise.
5220         * conform/data/math.h-data: Likewise.
5221         * conform/data/monetary.h-data: Likewise.
5222         * conform/data/mqueue.h-data: Likewise.
5223         * conform/data/ndbm.h-data: Likewise.
5224         * conform/data/net/if.h-data: Likewise.
5225         * conform/data/netdb.h-data: Likewise.
5226         * conform/data/netinet/in.h-data: Likewise.
5227         * conform/data/nl_types.h-data: Likewise.
5228         * conform/data/poll.h-data: Likewise.
5229         * conform/data/pthread.h-data: Likewise.
5230         * conform/data/pwd.h-data: Likewise.
5231         * conform/data/regex.h-data: Likewise.
5232         * conform/data/sched.h-data: Likewise.
5233         * conform/data/search.h-data: Likewise.
5234         * conform/data/semaphore.h-data: Likewise.
5235         * conform/data/setjmp.h-data: Likewise.
5236         * conform/data/signal.h-data: Likewise.
5237         * conform/data/spawn.h-data: Likewise.
5238         * conform/data/stdarg.h-data: Likewise.
5239         * conform/data/stdio.h-data: Likewise.
5240         * conform/data/stdlib.h-data: Likewise.
5241         * conform/data/string.h-data: Likewise.
5242         * conform/data/strings.h-data: Likewise.
5243         * conform/data/stropts.h-data: Likewise.
5244         * conform/data/sys/ipc.h-data: Likewise.
5245         * conform/data/sys/mman.h-data: Likewise.
5246         * conform/data/sys/msg.h-data: Likewise.
5247         * conform/data/sys/resource.h-data: Likewise.
5248         * conform/data/sys/select.h-data: Likewise.
5249         * conform/data/sys/sem.h-data: Likewise.
5250         * conform/data/sys/shm.h-data: Likewise.
5251         * conform/data/sys/socket.h-data: Likewise.
5252         * conform/data/sys/stat.h-data: Likewise.
5253         * conform/data/sys/statvfs.h-data: Likewise.
5254         * conform/data/sys/time.h-data: Likewise.
5255         * conform/data/sys/timeb.h-data: Likewise.
5256         * conform/data/sys/times.h-data: Likewise.
5257         * conform/data/sys/types.h-data: Likewise.
5258         * conform/data/sys/uio.h-data: Likewise.
5259         * conform/data/sys/un.h-data: Likewise.
5260         * conform/data/sys/utsname.h-data: Likewise.
5261         * conform/data/sys/wait.h-data: Likewise.
5262         * conform/data/syslog.h-data: Likewise.
5263         * conform/data/tar.h-data: Likewise.
5264         * conform/data/termios.h-data: Likewise.
5265         * conform/data/utime.h-data: Likewise.
5266         * conform/data/utmpx.h-data: Likewise.
5267         * conform/data/varargs.h-data: Likewise.
5268         * conform/data/wchar.h-data: Likewise.
5269         * conform/data/wctype.h-data: Likewise.
5270         * conform/data/wordexp.h-data: Likewise.
5272         * include/stropts.h: New file.
5273         * include/uchar.h: New file.
5274         * include/aio.h: Changes to allow conformtest.pl to use the headers.
5275         * include/assert.h: Likewise.
5276         * include/ctype.h: Likewise.
5277         * include/dirent.h: Likewise.
5278         * include/dlfcn.h: Likewise.
5279         * include/fcntl.h: Likewise.
5280         * include/fnmatch.h: Likewise.
5281         * include/glob.h: Likewise.
5282         * include/grp.h: Likewise.
5283         * include/libio.h: Likewise.
5284         * include/locale.h: Likewise.
5285         * include/math.h: Likewise.
5286         * include/net/if.h: Likewise.
5287         * include/netdb.h: Likewise.
5288         * include/netinet/in.h: Likewise.
5289         * include/pthread.h: Likewise.
5290         * include/pwd.h: Likewise.
5291         * include/regex.h: Likewise.
5292         * include/sched.h: Likewise.
5293         * include/search.h: Likewise.
5294         * include/setjmp.h: Likewise.
5295         * include/signal.h: Likewise.
5296         * include/stdio.h: Likewise.
5297         * include/stdlib.h: Likewise.
5298         * include/string.h: Likewise.
5299         * include/sys/cdefs.h: Likewise.
5300         * include/sys/mman.h: Likewise.
5301         * include/sys/msg.h: Likewise.
5302         * include/sys/resource.h: Likewise.
5303         * include/sys/select.h: Likewise.
5304         * include/sys/socket.h: Likewise.
5305         * include/sys/stat.h: Likewise.
5306         * include/sys/statvfs.h: Likewise.
5307         * include/sys/time.h: Likewise.
5308         * include/sys/times.h: Likewise.
5309         * include/sys/uio.h: Likewise.
5310         * include/sys/utsname.h: Likewise.
5311         * include/sys/wait.h: Likewise.
5312         * include/termios.h: Likewise.
5313         * include/time.h: Likewise.
5314         * include/ulimit.h: Likewise.
5315         * include/unistd.h: Likewise.
5316         * include/utime.h: Likewise.
5317         * include/wchar.h: Likewise.
5318         * include/wctype.h: Likewise.
5319         * include/wordexp.h: Likewise.
5321         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5323         * time/time.h: TIME_UTC must be a macro.
5324         Make timespec_get available for ISO C11 only as well.
5326 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
5328         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5329         Reported by Peng Haitao <penght@cn.fujitsu.com>.
5331 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5333         * configure.in: Use -o not -a in test for unsupported multi-arch.
5335 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5337         * manual/texinfo.tex: Update to version 2012-01-19.16.
5339 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5341         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5343 2012-02-24  Roland McGrath  <roland@hack.frob.com>
5345         [BZ #13738]
5346         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5347         * manual/fdl-1.3.texi: New file.
5348         * manual/fdl-1.1.texi: File removed.
5350         [BZ #13738]
5351         * manual/libc.texinfo (FDL_VERSION): New @set.
5352         Use it for mention of FDL in cover text.
5353         (Documentation License): Use it in @include file name.
5355 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5356             Roland McGrath  <roland@hack.frob.com>
5358         [BZ #5461]
5359         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5360         not LONG_LONG_MAX and LONG_LONG_MIN.
5361         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5362         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
5363         name.
5364         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5366 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5368         [BZ #2547]
5369         [BZ #11365]
5370         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5371         manipulate bits before adding and subtracting TWO23[sx].
5372         * math/libm-test.inc (nearbyint_test): Add more tests.
5374 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5376         [BZ #2548]
5377         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5378         bits before adding and subtracting TWO23[sx].
5379         * math/libm-test.inc (rint_test): Add more tests.
5380         (rint_test_tonearest): Likewise.
5381         (rint_test_towardzero): Likewise.
5382         (rint_test_downward): Likewise.
5383         (rint_test_upward: Likewise.
5385 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5387         [BZ #10110]
5388         * include/stdc-predef.h: New file.  Extracted from features.h.
5389         * include/features.h: Include stdc-predef.h.
5390         * Makefile (headers): Add stdc-predef.h.
5391         * CONFORMANCE (Compiler limitations): Update.
5393 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5395         * manual/libc.texinfo (VERSION, UPDATED): Revert.
5397 2012-02-21  David S. Miller  <davem@davemloft.net>
5399         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5400         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5402 2012-02-20  David S. Miller  <davem@davemloft.net>
5404         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5405         using a normal save/restore sequence, rather than allocating a
5406         dummy stack frame just to store a frame pointer and restore.
5407         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5409 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5411         * manual/install.texi: Fix stray word in line-wrapped comment.
5413 2012-02-20  David S. Miller  <davem@davemloft.net>
5415         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5416         both binutils and gcc support GOTDATA.
5418         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5419         "rd %pc" in the PIC register setup sequences.
5421         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5422         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5423         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5424         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5425         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5426         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5427         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5428         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5430         (SYSCALL_ERROR_HANDLER): Likewise.
5431         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5432         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5434         (SYSCALL_ERROR_HANDLER): Likewise.
5436         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5437         (HAVE_GCC_GOTDATA): New.
5438         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5439         relocation support in both binutils and gcc.
5440         * sysdeps/sparc/elf/configure: Regenerate.
5442         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5443         * sysdeps/sparc/sparc32/elf/configure: Delete.
5444         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5445         * sysdeps/sparc/sparc64/elf/configure: Delete.
5446         * sysdeps/sparc/elf/configure.in: New file.
5447         * sysdeps/sparc/elf/configure: Generate.
5449         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5450         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5451         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5452         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5453         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5455 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5457         * manual/install.texi: Do not mention specific glibc version
5458         numbers.
5459         * manual/libc.texinfo (VERSION, UPDATED): Update.
5460         (@copying): Use @copyright{} and range of years.
5462 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
5464         [BZ #13695]
5465         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5466         [crti.S not in sysdirs] (generated): Do not append.
5467         [crti.S not in sysdirs] (omit-deps): Likewise.
5468         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5469         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5470         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5471         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5472         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5473         Likewise.
5474         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5475         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5476         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5477         * csu/defs.awk: Remove file.
5478         * sysdeps/generic/initfini.c: Likewise.
5479         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5480         variable.
5481         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5482         Likewise.
5484 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5486         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5487         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5488         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5489         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5490         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5491         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5492         <bits/epoll.h>.
5493         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5494         (__EPOLL_PACKED): Define to empty if not defined by
5495         <bits/epoll.h>.
5496         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5498         bits/epoll.h.
5500 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5502         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5503         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5504         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5505         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5506         <bits/timerfd.h>.
5507         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5509         bits/timerfd.h.
5511 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
5513         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5514         in C locale.
5515         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5516         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5517         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5520 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
5522         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5523         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5525 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
5527         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5528         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5529         defined.
5530         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5531         Likewise.
5532         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5533         entry for 2.16.
5535 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
5537         * math/w_acos.c: Use non-signaling floating-point comparisons.
5538         * math/w_acosf.c: Likewise.
5539         * math/w_acosh.c: Likewise.
5540         * math/w_acoshf.c: Likewise.
5541         * math/w_acoshl.c: Likewise.
5542         * math/w_acosl.c: Likewise.
5543         * math/w_asin.c: Likewise.
5544         * math/w_asinf.c: Likewise.
5545         * math/w_asinl.c: Likewise.
5546         * math/w_atanh.c: Likewise.
5547         * math/w_atanhf.c: Likewise.
5548         * math/w_atanhl.c: Likewise.
5549         * math/w_exp2.c: Likewise.
5550         * math/w_exp2f.c: Likewise.
5551         * math/w_exp2l.c: Likewise.
5552         * math/w_j0.c: Likewise.
5553         * math/w_j0f.c: Likewise.
5554         * math/w_j0l.c: Likewise.
5555         * math/w_j1.c: Likewise.
5556         * math/w_j1f.c: Likewise.
5557         * math/w_j1l.c: Likewise.
5558         * math/w_jn.c: Likewise.
5559         * math/w_jnf.c: Likewise.
5560         * math/w_log.c: Likewise.
5561         * math/w_log10.c: Likewise.
5562         * math/w_log10f.c: Likewise.
5563         * math/w_log10l.c: Likewise.
5564         * math/w_log2.c: Likewise.
5565         * math/w_log2f.c: Likewise.
5566         * math/w_log2l.c: Likewise.
5567         * math/w_logf.c: Likewise.
5568         * math/w_logl.c: Likewise.
5569         * math/w_sqrt.c: Likewise.
5570         * math/w_sqrtf.c: Likewise.
5571         * math/w_sqrtl.c: Likewise.
5572         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5573         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5574         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5575         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5576         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5578 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5580         [BZ #9739]
5581         * manual/string.texi (strnlen): Use correct parameter name in
5582         equivalent expression.
5584 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5586         [BZ #11174]
5587         * manual/users.texi (seteuid): Consistently use neweuid for
5588         argument name.
5590 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
5592         [BZ #13704]
5593         * manual/nss.texi (Services in the NSS configuration): Correct
5594         list of services in example configuration file.
5596 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
5598         [BZ #11322]
5599         * manual/arith.texi: Remove statements about negative zero
5600         behaving identically to zero.
5602 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5604         [BZ #5993]
5605         * manual/install.texi: Do not document upgrading from libc5.
5607 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
5609         [BZ #4596]
5610         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5612 2012-02-18  David S. Miller  <davem@davemloft.net>
5614         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5615         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5616         %o7 across the call.
5617         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5618         instead.
5619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5620         SETUP_PIC_REG_LEAF.
5621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5622         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5623         * sysdeps/sparc/crtn.S: Likewise.
5625 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
5627         * aout/Makefile: Remove.
5629 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
5631         [BZ #13058]
5632         * manual/examples/argp-ex1.c (main): Format definition in GNU
5633         style.
5634         * manual/examples/argp-ex2.c (main): Likewise.
5635         * manual/examples/argp-ex3.c (main): Likewise.
5636         * manual/examples/argp-ex4.c (main): Likewise.
5637         * manual/examples/longopt.c (main): Use new-style prototype
5638         definition.
5639         * manual/examples/strncat.c (main): Specify return type and use
5640         (void) for arguments.
5641         * manual/examples/subopt.c (main): Use char **argv argument.
5643 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5645         [BZ #5077]
5646         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5647         rounding modes.
5649 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
5651         [BZ #6907]
5652         * manual/string.texi (strchr): Change when strchrnul is
5653         recommended.
5655 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
5657         [BZ #174]
5658         * manual/locale.texi (setlocale): Document LOCPATH.
5660 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5662         [BZ #10210]
5663         * manual/process.texi (execle): Move @dots{} before last argument.
5665 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
5667         [BZ #12047]
5668         * manual/charset.texi (Generic Charset Conversion): Fix typo
5669         (LC_TYPE -> LC_CTYPE).
5671 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
5673         [BZ #5805]
5674         * manual/arith.texi (scalbn): Use @var{} on parameter names.
5675         (scalbnf): Likewise.
5676         (scalbnl): Likewise.
5677         (scalbln): Likewise.
5678         (scalblnf): Likewise.
5679         (scalblnl): Likewise.
5680         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5681         (vwarnx): Likewise.
5682         (verr): Likewise.
5683         (verrx): Likewise.
5684         * manual/filesys.texi (telldir): Use braces around return type.
5685         * manual/llio.texi (mmap): Add space after comma.
5686         (mmap64): Likewise.
5687         * manual/math.texi (jn): Use @var{} on parameter names.
5688         (jnf): Likewise.
5689         (jnl): Likewise.
5690         (yn): Likewise.
5691         (ynf): Likewise.
5692         (ynl): Likewise.
5693         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5694         line.
5695         * manual/resource.texi (ulimit): Use @dots{} instead of literal
5696         "...".
5697         (sched_get_priority_min): Remove semicolon on @deftypefun line.
5698         (sched_get_priority_max): Likewise.
5699         * manual/signal.texi (sigvec): Add space after comma.
5700         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5701         names.
5702         (if_indextoname): Likewise.
5703         (if_freenameindex): Likewise.
5704         (sendto): Use ',' instead of '.' in prototype.
5705         * manual/startup.texi (syscall): Use @dots{} instead of literal
5706         "...".
5707         * manual/stdio.texi (__fpending): Separate initial words of
5708         paragraph from @deftypefun line.
5709         * manual/syslog.texi (syslog): Use @dots{} instead of literal
5710         "...".
5711         (vsyslog): Use @var{} on parameter names.
5712         * manual/terminal.texi (stty): Use @var{} on parameter names.
5713         * manual/users.texi (getutmp): Use @var{} on parameter names.
5714         (getutmpx): Likewise.
5716 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5718         [BZ #6884]
5719         * manual/stdio.texi (fopen): Fix typos in description of
5720         ",ccs=STRING".
5722 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
5724         [BZ #4026]
5725         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5726         get clock_id definition.
5728 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
5730         [BZ #4822]
5731         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5732         (madvise): Cast every argument to void on its own.
5734 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5736         [BZ #9902]
5737         * manual/startup.texi (Exit Status): Fix typo.
5739 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
5741         [BZ #10140]
5742         * manual/examples/argp-ex1.c: Include <stdlib.h>.
5743         * manual/examples/argp-ex2.c: Likewise.
5744         * manual/examples/argp-ex3.c: Likewise.
5746 2012-02-16  Richard Henderson  <rth@redhat.com>
5748         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5749         * sysdeps/s390/s390-32/initfini.c: Remove.
5750         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5751         * sysdeps/s390/s390-64/initfini.c: Remove.
5753 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5755         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5756         compiler output for sysdeps/generic/initfini.c.
5757         * sysdeps/sh/elf/initfini.c: Remove file.
5759 2012-02-16  David S. Miller  <davem@davemloft.net>
5761         [BZ #11494]
5762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5764         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5765         * sysdeps/sparc/crti.S: New file.
5766         * sysdeps/sparc/crtn.S: New file.
5767         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5768         * sysdeps/sparc/sparc64/Makefile: Likewise.
5770 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
5772         [BZ #3335]
5773         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5775 2012-02-15  Roland McGrath  <roland@hack.frob.com>
5777         [BZ #4822]
5778         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5780         * mach/devstream.c (cookie_io_functions_t): Macro removed.
5781         (write, read, close): Likewise.
5782         Patch by Aurelien Jarno <aurelien@aurel32.net>.
5784 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
5786         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5787         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5788         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5789         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5790         <bits/signalfd.h>.
5791         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5793         bits/signalfd.h.
5795 2012-02-14  Marek Polacek  <polacek@redhat.com>
5797         * sysdeps/x86_64/crti.S: New file.
5798         * sysdeps/x86_64/crtn.S: New file.
5799         * sysdeps/x86_64/elf/initfini.c: Remove file.
5801 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5803         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5804         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5805         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5806         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5807         <bits/inotify.h>.
5808         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5810         bits/inotify.h.
5812 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5814         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5815         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5816         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5817         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5818         <bits/eventfd.h>.
5819         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5821         bits/eventfd.h.
5823 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
5825         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5826         __feraiseexcept instead of feraiseexcept.
5828         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5829         nanosleep invocations.
5830         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5831         strings, and add error checking for a nanosleep invocations.
5833 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
5835         Replace FSF snail mail address with URLs, as per GNU coding standards.
5836         Most of the snail mail addresses were wrong anyway, and omitting
5837         them makes the source code easier to maintain.  Almost all of the
5838         changes are to license notices and to locale LC_IDENTIFICATION
5839         addresses, except for this one:
5840         * manual/libc.texinfo: In "Published by", give the FSF's URL,
5841         not its snail mail address.
5843 2012-02-09  Richard Henderson  <rth@twiddle.net>
5845         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5846         of kernel-features.h.
5848         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5850 2012-02-08  Marek Polacek  <polacek@redhat.com>
5852         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5853         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5854         * sysdeps/gnu/_G_config.h: Likewise.
5855         * sysdeps/generic/_G_config.h: Likewise.
5857 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5859         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5860         tests.
5861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5863         * sysdeps/powerpc/powerpc32/crti.S: New file.
5864         * sysdeps/powerpc/powerpc32/crtn.S: New file.
5865         * sysdeps/powerpc/powerpc64/crti.S: New file.
5866         * sysdeps/powerpc/powerpc64/crtn.S: New file.
5868         * Makeconfig (have-initfini): Don't set.
5869         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5870         * configure.in (nopic_initfini): Don't substitute.
5871         * config.h.in (HAVE_INITFINI): Don't #undef.
5872         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5873         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5875 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
5877         Support crti.S and crtn.S provided directly by architectures.
5878         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5879         [crti.S in sysdirs] (omit-deps): Likewise.
5880         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5881         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5882         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5883         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5884         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5885         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5886         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5887         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5888         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5889         compiler output for sysdeps/generic/initfini.c.
5890         * sysdeps/i386/elf/Makefile: Remove file.
5891         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5893 2012-02-07  Marek Polacek  <polacek@redhat.com>
5895         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5896         * sysdeps/gnu/_G_config.h: Likewise.
5897         * sysdeps/mach/hurd/_G_config.h: Likewise.
5899 2012-02-07  Marek Polacek  <polacek@redhat.com>
5901         * math/Makefile (tests): Add tst-CMPLX2.
5902         * math/tst-CMPLX2.c: New file.
5904 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
5906         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5908         * math/libm-test.inc (jn_test): Add missing L suffix.
5910 2012-02-06  Marek Polacek  <polacek@redhat.com>
5912         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5913         * sysdeps/i386/fpu/e_powf.S: Likewise.
5914         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5915         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5916         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5917         * sysdeps/i386/fpu/e_pow.S: Likewise.
5918         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5919         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5920         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5921         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5922         * sysdeps/i386/fpu/e_log2.S: Likewise.
5923         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5924         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5925         * sysdeps/i386/fpu/e_powl.S: Likewise.
5926         * sysdeps/i386/fpu/s_log1p.S: Likewise.
5927         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5928         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5929         * sysdeps/i386/fpu/e_logl.S: Likewise.
5930         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5931         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5932         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5933         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5934         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5935         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5936         * sysdeps/i386/fpu/e_log.S: Likewise.
5937         * sysdeps/i386/fpu/s_cexp.S: Likewise.
5938         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5939         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5940         * sysdeps/i386/fpu/e_logf.S: Likewise.
5941         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5942         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5943         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5944         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5945         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5946         * sysdeps/i386/fpu/e_log10.S: Likewise.
5947         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5948         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5949         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5950         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5951         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5952         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5953         * sysdeps/i386/asm-syntax.h: Likewise.
5954         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5955         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5956         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5957         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5958         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5959         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5960         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5961         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5962         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5963         * sysdeps/powerpc/sysdep.h: Likewise.
5964         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5965         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5967 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
5969         [BZ #411]
5970         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5972 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
5974         * sysdeps/i386/sysdep.h: Include <features.h>.
5975         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5976         version.
5978 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
5980         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5981         Define.
5982         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5983         LOAD_PIC_REG_STR.
5985 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5987         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5988         (SETUP_PIC_REG): Use GET_PC_THUNK.
5989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5990         macro.
5992 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5994         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5995         for non-PIC compilation.
5996         (SETUP_PIC_REG): Add .p2align directive.
5997         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5998         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5999         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6000         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6001         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6002         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6003         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6004         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6005         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6006         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6007         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6008         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6009         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6010         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6011         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6012         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6013         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6014         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6015         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6016         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6017         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6018         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6019         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6020         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6021         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6023         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6024         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6025         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6026         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6027         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6029         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6030         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6031         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6032         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6033         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6034         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6035         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6036         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6037         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6039 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6041         * math/tst-CMPLX.c: Include <stdio.h>.
6043 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
6045         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6046         float.
6047         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6048         * sysdeps/sparc/bits/mathdef.h: Likewise.
6050 2012-01-31  Marek Polacek  <polacek@redhat.com>
6052         * libio/libio.h: Don't define _PARAMS.
6053         * locale/programs/config.h: Don't define PARAMS.
6054         * stdlib/strtol_l.c: Likewise.
6055         (__strtol_l): Remove PARAMS from the prototype.
6057 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
6059         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
6060         names.  Just use the correct names.  Remove unnecessary wrapper
6061         functions.
6062         * malloc/arena.c: Likewise.
6063         * malloc/hooks.c: Likewise.
6065         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6066         ARENA_TEST says not to.  Simplify test for creation of a new arena.
6067         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6069 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
6071         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6072         into tail calls.
6073         (update_get_addr): New function.
6074         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6075         GET_ADDR_MODULE parameter.
6077 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
6079         * crypt/cert.c: Remove __STDC__ conditionals.
6080         * crypt/crypt-entry.c: Likewise.
6081         * crypt/crypt_util.c: Likewise.
6082         * libio/filedoalloc.c: Likewise.
6083         * libio/fileops.c: Likewise.
6084         * libio/genops.c: Likewise.
6085         * libio/iofclose.c: Likewise.
6086         * libio/iofdopen.c: Likewise.
6087         * libio/iofopen.c: Likewise.
6088         * libio/iofopen64.c: Likewise.
6089         * libio/iogetdelim.c: Likewise.
6090         * libio/iopopen.c: Likewise.
6091         * libio/obprintf.c: Likewise.
6092         * libio/oldfileops.c: Likewise.
6093         * libio/oldiofclose.c: Likewise.
6094         * libio/oldiofdopen.c: Likewise.
6095         * libio/oldiofopen.c: Likewise.
6096         * libio/oldiopopen.c: Likewise.
6097         * libio/wfiledoalloc.c: Likewise.
6098         * libio/wgenops.c: Likewise.
6099         * locale/programs/xmalloc.c: Likewise.
6100         * misc/syslog.c: Likewise.
6101         * stdio-common/xbug.c: Likewise.
6102         * string/memchr.c: Likewise.
6103         * string/memcmp.c: Likewise.
6104         * string/memrchr.c: Likewise.
6105         * string/rawmemchr.c: Likewise.
6106         * sysdeps/posix/getcwd.c: Likewise.
6107         * time/strftime_l.c: Likewise.
6109 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
6111         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6112         * config.make.in (config-cflags-sse2avx): Define.
6113         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6114         Fix typo.
6116 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
6118         * scripts/config.guess: Update from upstream config git repository.
6119         * scripts/config.sub: Likewise.
6121 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
6123         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6124         (EM_NUM): Update.
6125         (R_TILEPRO_*, R_TILEGX_*): New macros.
6127         * scripts/firstversions.awk: Fix bug in version range handling.
6129         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6131         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6133         * include/sys/epoll.h: New file.
6134         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6135         libc_hidden_def.
6137 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
6139         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6140         Avoid unnecessary __WORDSIZE == 64 test.
6141         (fmaxf): Use VEX format if possible.
6142         (fmax): Likewise.
6143         (fminf): Likewise.
6144         (fmin): Likewise.
6146         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6147         * math/math_private.h: Remove libc_fegetround* and
6148         libc_fesetround*.
6149         * sysdeps/i386/configure.in: Check for -msse2avx.
6150         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6151         also if SSE2AVX is defined.
6152         Remove libc_fegetround* and libc_fesetround*.
6153         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6154         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
6155         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6156         of HAS_YMM_USABLE.
6157         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6158         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6159         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6160         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6161         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6163         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6165 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6167         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6168         size is not set.
6169         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6171 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
6173         [BZ #13618]
6174         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6175         relocation.
6176         * Makeconfig (libm): Define.
6177         * elf/Makefile: Add rules to build and run tst-relsort1.
6178         * elf/tst-relsort1.c: New file.
6179         * elf/tst-relsort1mod1.c: New file.
6180         * elf/tst-relsort1mod2.c: New file.
6182 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
6184         * math/s_ldexp.c: Remove __STDC__ conditionals.
6185         * math/s_ldexpf.c: Likewise.
6186         * math/s_ldexpl.c: Likewise.
6187         * math/s_nextafter.c: Likewise.
6188         * math/s_nexttowardf.c: Likewise.
6189         * math/s_significand.c: Likewise.
6190         * math/s_significandf.c: Likewise.
6191         * math/s_significandl.c: Likewise.
6192         * math/w_jnl.c: Likewise.
6193         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6194         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6195         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6196         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6197         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6198         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6199         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6200         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6201         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6202         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6203         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6204         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6205         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6206         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6207         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6208         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6209         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6210         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6212         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6213         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6214         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6215         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6216         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6217         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6218         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6219         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6220         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6221         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6222         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6223         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6224         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6225         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6226         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6227         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6228         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6229         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6230         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6231         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6232         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6233         * sysdeps/ieee754/k_standard.c: Likewise.
6234         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6235         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6236         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6237         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6238         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6239         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6240         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6241         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6242         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6243         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6244         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6245         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6246         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6247         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6248         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6249         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6250         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6251         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6252         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6253         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6254         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6255         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6256         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6257         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6258         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6259         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6260         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6261         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6263         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6264         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6265         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6267         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6268         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6269         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6270         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6272         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6273         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6274         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6275         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6276         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6277         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6278         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6279         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6280         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6281         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6282         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6283         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6284         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6285         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6286         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6287         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6288         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6289         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6290         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6291         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6292         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6293         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6294         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6295         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6296         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6297         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6298         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6299         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6300         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6301         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6302         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6303         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6304         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6305         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6306         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6307         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6308         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6309         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6310         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6311         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6312         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6313         * sysdeps/ieee754/s_matherr.c: Likewise.
6314         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6315         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6317         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6319 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6321         * crypt/md5.h: Remove __STDC__ conditionals.
6322         * libio/libioP.h: Likewise.
6323         * locale/programs/config.h: Likewise.
6324         * sysdeps/generic/sysdep.h: Likewise.
6325         * sysdeps/i386/asm-syntax.h: Likewise.
6326         * sysdeps/s390/asm-syntax.h: Likewise.
6327         * sysdeps/unix/sysdep.h: Likewise.
6328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6331 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6333         * libio/libio.h: Remove __STDC__ conditionals.
6334         * malloc/obstack.h: Likewise.
6335         * math/complex.h: Likewise.
6336         * math/math.h: Likewise.
6337         * sysdeps/generic/_G_config.h: Likewise.
6338         * sysdeps/gnu/_G_config.h: Likewise.
6339         * sysdeps/mach/hurd/_G_config.h: Likewise.
6340         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6341         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6342         * sysdeps/sparc/bits/mathdef.h: Likewise.
6344 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
6346         [BZ #13583]
6347         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6348         Clean up HAS_* macros.
6349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6350         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6351         possible.
6352         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6353         HAS_AVX.
6354         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6355         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6356         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6357         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6358         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6360 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
6362         * elf/tst-unique3.cc (gets): Remove declaration.
6363         * elf/tst-unique3lib.cc (gets): Likewise.
6364         * elf/tst-unique3lib2.cc (gets): Likewise.
6365         * elf/tst-unique4.cc (gets): Likewise.
6367 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
6369         * include/stdio.h: Add C++ protection.  Add gets declarations and
6370         definitions.
6371         * debug/tst-chk1.c: Don't declare gets here.
6372         * stdio-common/tst-gets.c: Likewise.
6374 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6376         * posix/glob: Remove directory.
6378 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6380         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6382 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
6384         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6385         of the non-standard EPFNOSUPPORT.
6387 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6389         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6390         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6391         ANYWHERE set to 1 only on KERN_NO_SPACE error.
6393 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
6395         * wcsmbs/uchar.h: Test __STDC_VERSION__.
6397 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
6399         * nscd/aicache.c (addhstaiX): Do not cache negative results of
6400         transient errors.
6401         * nscd/grpcache.c (cache_addgr): Likewise.
6402         * nscd/hstcache.c (cache_addhst): Likewise.
6403         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6404         * nscd/pwdcache.c (cache_addpw): Likewise.
6405         * nscd/servicescache.c (cache_addserv): Likewise.
6407 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
6409         * malloc/malloc.c: Various cleanups.
6410         * malloc/hooks.c: Likewise.
6412         * stdlib/Makefile (tests): Add bug-fmtmsg1.
6413         * stdlib/bug-fmtmsg1.c: New file.
6415         * stdlib/fmtmsg.c (init): Add missing unlock.
6416         Patch by Peng Haitao <penght@cn.fujitsu.com>.
6418 2012-01-12  Marek Polacek  <polacek@redhat.com>
6420         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6421         and _GNU_SOURCE.
6423 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
6425         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6426         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6427         macro to ensure uniqueness of label name.
6428         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6429         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6431 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
6433         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6435         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6436         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6437         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6438         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6440 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
6442         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6444         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6445         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6446         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6448         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6450         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6451         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6452         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6453         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6455         * math/bits/math-finite.h: Add ldexp support.
6457 2012-01-10  Marek Polacek  <polacek@redhat.com>
6459         * locale/programs/localedef.h (show_archive_content): Add noreturn
6460         attribute.
6462 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
6464         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6466 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6468         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6470         * io/Makefile (headers): Add bits/poll2.h.
6472 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
6474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6475         typo #include statement.
6477 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6479         * include/sys/cdefs.h: Define __attribute_alloc_size.
6480         * catgets/gencat.c: Add alloc_size attribute and apply consistently
6481         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6482         * elf/pldd.c: Likewise.
6483         * iconv/iconv_charmap.c: Likewise.
6484         * iconv/iconvconfig.c: Likewise.
6485         * iconv/strtab.c: Likewise.
6486         * locale/programs/locale.c: Likewise.
6487         * locale/programs/localedef.h: Likewise.
6488         * locale/programs/simple-hash.c: Likewise.
6489         * nscd/nscd.h: Likewise.
6490         * nss/makedb.c: Likewise.
6491         * sysdeps/generic/ldconfig.h: Likewise.
6492         * locale/programs/localedef.c: Remove xmalloc prototype.
6493         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6495 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6497         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6498         appropriate.
6500 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
6502         * math/Makefile (tests): Add tst-CMPLX.
6503         * math/tst-CMPLX.c: New file.
6505         * math/complex.h (CMPLXL): Fix typo.
6507         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6508         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6509         GLIBC_2.16.
6510         * debug/tst-chk1.c: Add poll and ppoll tests.
6511         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6512         * include/sys/poll.h: Add hidden proto for ppoll.
6513         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6514         * sysdeps/mach/hurd/ppoll.c: Likewise.
6515         * io/ppoll.c: Likewise.
6516         * debug/poll_chk.c: New file.
6517         * debug/ppoll_chk.c: New file.
6518         * include/bits/poll2.h: New file.
6519         * io/bits/poll2.h: New file.
6521         [BZ #1350]
6522         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6524         * configure.in: static is always set to yes.  Remove.
6525         * config.make.in: Don't set build-static.
6526         * Makeconfig: Remove use of build-static.
6527         * dlfcn/Makefile: Likewise.
6528         * elf/Makefile: Likewise.
6529         * math/Makefile: Likewise.
6530         * misc/Makefile: Likewise.
6531         * nptl/Makefile: Likewise.
6532         * sysdeps/mach/hurd/Makefile: Likewise.
6534         * configure.in: PWD_P is not used anymore.
6535         * config.make.in: Remove PWD_P entry.
6537         * configure.in: Remove last remnants of RANLIB.
6538         No need to check for signed size_t anymore.
6539         Don't set libc_commonpagesize and libc_relro_required here for Alpha
6540         and IA-64.
6541         Remove __builtin_expect test because we require at least gcc 3.4.
6542         * aclocal.m4: Likewise.
6544         * wcsmbs/mbrtoc16.c: Implement using towc function.
6545         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6546         * wcsmbs/wcsmbsload.c: Likewise.
6547         * iconv/gconv_simple.c: Likewise.
6548         * iconv/gconv_int.h: Likewise.
6549         * iconv/gconv_builtin.h: Likewise.
6550         * iconv/iconv_prog.c: Remove CHAR16 handling.
6552         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6554         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6556         * configure.in: Remove --with-elf and --enable-bounded options.
6557         Dont set base_machine for ia64.  More non-ELF conditions removed.
6558         Remove testing and setting of leading underscore information.
6559         * config.make.in (build-bounded): Set to no.
6560         * config.h.in: Remove NO_UNDERSCORES entry.
6561         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
6562         them.
6563         * csu/start.c: Remove !NO_UNDERSCORE code.
6564         * locale/localeinfo.h: Likewise.
6565         * sysdeps/generic/machine-gmon.h: Likewise.
6566         * sysdeps/generic/sysdep.h: Likewise.
6567         * sysdeps/i386/sysdep.h: Likewise.
6568         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6569         * sysdeps/mach/sysdep.h: Likewise.
6570         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6571         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6572         * sysdeps/sh/sysdep.h: Likewise.
6573         * sysdeps/sparc/sparc32/alloca.S: Likewise.
6574         * sysdeps/unix/i386/sysdep.S: Likewise.
6575         * sysdeps/unix/sparc/start.c: Likewise.
6576         * sysdeps/unix/sparc/sysdep.S: Likewise.
6577         * sysdeps/unix/sparc/sysdep.h: Likewise.
6578         * sysdeps/unix/start.c: Likewise.
6579         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6580         * sysdeps/x86_64/sysdep.h: Likewise.
6582 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
6584         [BZ #13553]
6585         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6586         for non-gcc.
6587         * argp/argp-fmtstream.h: Use const instead __const.
6588         * argp/argp.h: Likewise.
6589         * assert/assert.h: Likewise.
6590         * bits/fenv.h: Likewise.
6591         * bits/sched.h: Likewise.
6592         * bits/sigset.h: Likewise.
6593         * bits/sigthread.h: Likewise.
6594         * catgets/nl_types.h: Likewise.
6595         * conform/data/pthread.h-data: Likewise.
6596         * crypt/crypt-private.h: Likewise.
6597         * crypt/crypt.h: Likewise.
6598         * crypt/crypt_util.c: Likewise.
6599         * ctype/ctype.h: Likewise.
6600         * debug/execinfo.h: Likewise.
6601         * debug/mbsnrtowcs_chk.c: Likewise.
6602         * debug/mbsrtowcs_chk.c: Likewise.
6603         * debug/wcsnrtombs_chk.c: Likewise.
6604         * debug/wcsrtombs_chk.c: Likewise.
6605         * debug/wcstombs_chk.c: Likewise.
6606         * dirent/dirent.h: Likewise.
6607         * dlfcn/dlfcn.h: Likewise.
6608         * elf/neededtest4.c: Likewise.
6609         * grp/grp.h: Likewise.
6610         * gshadow/gshadow.h: Likewise.
6611         * iconv/gconv.h: Likewise.
6612         * iconv/gconv_int.h: Likewise.
6613         * iconv/gconv_simple.c: Likewise.
6614         * iconv/iconv.h: Likewise.
6615         * iconv/loop.c: Likewise.
6616         * iconv/skeleton.c: Likewise.
6617         * include/aio.h: Likewise.
6618         * include/aliases.h: Likewise.
6619         * include/argz.h: Likewise.
6620         * include/arpa/inet.h: Likewise.
6621         * include/assert.h: Likewise.
6622         * include/dirent.h: Likewise.
6623         * include/dlfcn.h: Likewise.
6624         * include/execinfo.h: Likewise.
6625         * include/fcntl.h: Likewise.
6626         * include/fenv.h: Likewise.
6627         * include/glob.h: Likewise.
6628         * include/grp.h: Likewise.
6629         * include/libintl.h: Likewise.
6630         * include/mntent.h: Likewise.
6631         * include/netdb.h: Likewise.
6632         * include/pwd.h: Likewise.
6633         * include/rpc/netdb.h: Likewise.
6634         * include/sched.h: Likewise.
6635         * include/search.h: Likewise.
6636         * include/shadow.h: Likewise.
6637         * include/signal.h: Likewise.
6638         * include/stdio.h: Likewise.
6639         * include/stdlib.h: Likewise.
6640         * include/string.h: Likewise.
6641         * include/sys/socket.h: Likewise.
6642         * include/sys/stat.h: Likewise.
6643         * include/sys/statfs.h: Likewise.
6644         * include/sys/statvfs.h: Likewise.
6645         * include/sys/syslog.h: Likewise.
6646         * include/sys/time.h: Likewise.
6647         * include/sys/uio.h: Likewise.
6648         * include/time.h: Likewise.
6649         * include/unistd.h: Likewise.
6650         * include/utmp.h: Likewise.
6651         * include/wchar.h: Likewise.
6652         * include/wctype.h: Likewise.
6653         * inet/aliases.h: Likewise.
6654         * inet/arpa/inet.h: Likewise.
6655         * inet/netinet/ether.h: Likewise.
6656         * inet/netinet/in.h: Likewise.
6657         * intl/libintl.h: Likewise.
6658         * io/bits/fcntl2.h: Likewise.
6659         * io/fcntl.h: Likewise.
6660         * io/ftw.h: Likewise.
6661         * io/sys/poll.h: Likewise.
6662         * io/sys/stat.h: Likewise.
6663         * io/sys/statfs.h: Likewise.
6664         * io/sys/statvfs.h: Likewise.
6665         * io/utime.h: Likewise.
6666         * libio/bits/stdio.h: Likewise.
6667         * libio/bits/stdio2.h: Likewise.
6668         * libio/libio.h: Likewise.
6669         * libio/libioP.h: Likewise.
6670         * libio/stdio.h: Likewise.
6671         * locale/lc-ctype.c: Likewise.
6672         * locale/locale.h: Likewise.
6673         * login/utmp.h: Likewise.
6674         * malloc/arena.c: Likewise.
6675         * malloc/malloc.c: Likewise.
6676         * malloc/malloc.h: Likewise.
6677         * malloc/mcheck.c: Likewise.
6678         * malloc/mtrace.c: Likewise.
6679         * math/bits/mathcalls.h: Likewise.
6680         * math/fenv.h: Likewise.
6681         * math/math_private.h: Likewise.
6682         * misc/bits/error.h: Likewise.
6683         * misc/bits/syslog.h: Likewise.
6684         * misc/err.h: Likewise.
6685         * misc/error.h: Likewise.
6686         * misc/fstab.h: Likewise.
6687         * misc/mntent.h: Likewise.
6688         * misc/regexp.h: Likewise.
6689         * misc/search.h: Likewise.
6690         * misc/sgtty.h: Likewise.
6691         * misc/sys/mman.h: Likewise.
6692         * misc/sys/syslog.h: Likewise.
6693         * misc/sys/uio.h: Likewise.
6694         * misc/sys/xattr.h: Likewise.
6695         * misc/ttyent.h: Likewise.
6696         * nis/rpcsvc/ypclnt.h: Likewise.
6697         * nss/nss.h: Likewise.
6698         * posix/bits/unistd.h: Likewise.
6699         * posix/fnmatch.h: Likewise.
6700         * posix/glob.h: Likewise.
6701         * posix/sched.h: Likewise.
6702         * posix/spawn.h: Likewise.
6703         * posix/sys/wait.h: Likewise.
6704         * posix/unistd.h: Likewise.
6705         * posix/wordexp.h: Likewise.
6706         * pwd/pwd.h: Likewise.
6707         * resolv/netdb.h: Likewise.
6708         * resource/sys/resource.h: Likewise.
6709         * rt/aio.h: Likewise.
6710         * rt/bits/mqueue2.h: Likewise.
6711         * rt/mqueue.h: Likewise.
6712         * shadow/shadow.h: Likewise.
6713         * signal/signal.h: Likewise.
6714         * socket/send.c: Likewise.
6715         * socket/sendto.c: Likewise.
6716         * socket/sys/socket.h: Likewise.
6717         * stdio-common/printf.h: Likewise.
6718         * stdlib/bits/stdlib.h: Likewise.
6719         * stdlib/fmtmsg.h: Likewise.
6720         * stdlib/monetary.h: Likewise.
6721         * stdlib/stdlib.h: Likewise.
6722         * stdlib/ucontext.h: Likewise.
6723         * streams/stropts.h: Likewise.
6724         * string/argz.h: Likewise.
6725         * string/bits/string2.h: Likewise.
6726         * string/string.h: Likewise.
6727         * string/strings.h: Likewise.
6728         * sunrpc/rpc/auth.h: Likewise.
6729         * sunrpc/rpc/auth_des.h: Likewise.
6730         * sunrpc/rpc/clnt.h: Likewise.
6731         * sunrpc/rpc/netdb.h: Likewise.
6732         * sunrpc/rpc/pmap_clnt.h: Likewise.
6733         * sunrpc/rpc/xdr.h: Likewise.
6734         * sysdeps/generic/inttypes.h: Likewise.
6735         * sysdeps/generic/net/if.h: Likewise.
6736         * sysdeps/generic/sys/swap.h: Likewise.
6737         * sysdeps/gnu/net/if.h: Likewise.
6738         * sysdeps/gnu/utmpx.h: Likewise.
6739         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6740         * sysdeps/i386/i486/bits/string.h: Likewise.
6741         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6742         * sysdeps/s390/bits/string.h: Likewise.
6743         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6744         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6745         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6746         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6747         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6748         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6749         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6750         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6751         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6752         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6753         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6754         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6755         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6756         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6757         * sysdeps/unix/sysv/linux/readv.c: Likewise.
6758         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6759         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6761         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6762         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6763         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6764         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6765         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6766         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6767         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6768         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6769         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6770         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6771         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6772         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6773         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6774         * sysvipc/sys/ipc.h: Likewise.
6775         * sysvipc/sys/msg.h: Likewise.
6776         * sysvipc/sys/sem.h: Likewise.
6777         * sysvipc/sys/shm.h: Likewise.
6778         * termios/termios.h: Likewise.
6779         * time/sys/time.h: Likewise.
6780         * time/time.h: Likewise.
6781         * wcsmbs/bits/wchar2.h: Likewise.
6782         * wcsmbs/uchar.h: Likewise.
6783         * wcsmbs/wchar.h: Likewise.
6784         * wctype/wctype.h: Likewise.
6786         [BZ #13551]
6787         * Makeconfig: Remove all but ELF support including AIX support.
6788         * Makerules: Likewise.
6789         * config.h.in: Likewise.
6790         * config.make.in: Likewise.
6791         * configure: Likewise.
6792         * configure.in: Likewise.
6793         * csu/Makefile: Likewise.
6794         * csu/version.c: Likewise.
6795         * debug/Makefile: Likewise.
6796         * dlfcn/Makefile: Likewise.
6797         * elf/Makefile: Likewise.
6798         * extra-lib.mk: Likewise.
6799         * iconv/Makefile: Likewise.
6800         * include/libc-symbols.h: Likewise.
6801         * include/shlib-compat.h: Likewise.
6802         * resolv/Makefile: Likewise.
6803         * resolv/res_libc.c: Likewise.
6804         * rt/Makefile: Likewise.
6805         * sysdeps/i386/asm-syntax.h: Likewise.
6806         * sysdeps/i386/sysdep.h: Likewise.
6807         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6808         * sysdeps/mach/sysdep.h: Likewise.
6809         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6810         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6811         * sysdeps/s390/asm-syntax.h: Likewise.
6812         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6813         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6814         * sysdeps/sh/sysdep.h: Likewise.
6815         * sysdeps/unix/sparc/sysdep.h: Likewise.
6816         * sysdeps/wordsize-32/divdi3.c: Likewise.
6817         * sysdeps/x86_64/sysdep.h: Likewise.
6819         * argp/Versions: Remove _argp_unlock_xxx.
6821         [BZ #13559]
6822         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
6823         * abilist/libBrokenLocale.abilist: Likewise.
6824         * abilist/libanl.abilist: Likewise.
6825         * abilist/libc.abilist: Likewise.
6826         * abilist/libcrypt.abilist: Likewise.
6827         * abilist/libdl.abilist: Likewise.
6828         * abilist/libm.abilist: Likewise.
6829         * abilist/libnsl.abilist: Likewise.
6830         * abilist/libpthread.abilist: Likewise.
6831         * abilist/libresolv.abilist: Likewise.
6832         * abilist/librt.abilist: Likewise.
6833         * abilist/libthread_db.abilist: Likewise.
6834         * abilist/libutil.abilist: Likewise.
6835         * abilist/libnss_db.abilist: New file.
6837         * scripts/abilist.awk: Add support for indirect functions.
6839         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6841         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6843         * shlib-versions: Remove entries for ports architectures.
6845         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
6846         files in ports.
6847         * elf/stackguard-macros.h: Remove support for IA-64.
6848         * elf/tst-auditmod1.c: Likewise.
6849         * sysdeps/generic/ldsodefs.h: Likewise.
6851         * sysdeps/unix/sysv/linux/configure.in: Ports should define
6852         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6853         configure files.
6855         [BZ #13552]
6856         * configure.in: Remove --enable-omitfp support.
6857         * FAQ.in: Adjust.
6858         * config.make.in: Likewise.
6859         * Makeconfig: Likewise.
6860         * manual/install.texi: Likewise.
6862         In case anyone cares, the IA-64 architecture could move to ports.
6863         * sysdeps/ia64/*: Removed.
6864         * sysdeps/unix/sysv/linux/ia64/*: Removed.
6865         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6867         [BZ #13555]
6868         * configure.in: Remove entries for unsupported architectures.
6870         [BZ #13533]
6871         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6872         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
6873         routines.
6874         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6875         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6876         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
6877         fall back to using wcrtomb.
6878         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6879         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
6880         renaming.
6881         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6882         * wcsmbs/tst-c16c32-1.c: New file.
6884         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6885         local variable.
6887         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6889         * elf/tst-unique3.cc: Add explicit declaration of gets.
6890         * elf/tst-unique3lib.cc: Likewise.
6891         * elf/tst-unique3lib2.cc: Likewise.
6892         * elf/tst-unique4.cc: Likewise.
6894         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6896 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
6898         [BZ #13566]
6899         * assert/assert.h (static_assert): Don't define for C++.
6900         * libio/stdio.h (gets): Do declare for C++ <= C++11.
6901         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6903 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
6905         * iconv/loop.c (single loop): Fix assertion in storing of
6906         remaining bytes.
6908         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6910 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
6912         * posix/getconf.c: Update copyright year.
6913         * nss/getent.c: Likewise.
6914         * nss/makedb.c: Likewise.
6915         * iconv/iconvconfig.c: Likewise.
6916         * iconv/iconv_prog.c: Likewise.
6917         * elf/ldconfig.c: Likewise.
6918         * elf/pldd.c: Likewise.
6919         * elf/sotruss.ksh: Likewise.
6920         * catgets/gencat.c: Likewise.
6921         * csu/version.c: Likewise.
6922         * elf/ldd.bash.in: Likewise.
6923         * elf/sprof.c (print_version): Likewise.
6924         * locale/programs/locale.c: Likewise.
6925         * locale/programs/localedef.c: Likewise.
6926         * login/programs/pt_chown.c: Likewise.
6927         * nscd/nscd.c (print_version): Likewise.
6928         * debug/xtrace.sh: Likewise.
6929         * malloc/memusage.sh: Likewise.
6930         * malloc/mtrace.pl: Likewise.
6931         * debug/catchsegv.sh: Likewise.
6933 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
6935         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6936         pure attribute.
6938 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
6940         [BZ #13533]
6941         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6942         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6943         transformations.
6944         * iconv/gconv_int.h: Likewise.
6945         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6946         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6947         from libc for GLIBC_2.16.
6948         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6949         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6950         * wcsmbs/uchar.h: Really define mbstate_t.
6951         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6952         * wcsmbs/c16rtomb.c: New file.
6953         * wcsmbs/mbrtoc16.c: New file.
6954         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6955         for C/POSIX locale.
6956         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6957         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6959         * wcsmbs/wchar.h: Add missing __restrict.
6961 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
6963         [BZ #13532]
6964         * time/Makefile (routines): Add timespec_get.
6965         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6966         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
6967         timespec for ISO C11.
6968         * time/timespec_get.c: New file.
6969         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6970         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6972         [BZ #13531]
6973         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6974         * stdlib/stdlib.h: Declare aligned_alloc.
6975         * Versions.def: Add GLIBC_2.16 for libc.
6976         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6978         [BZ 13527]
6979         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6980         ISO C11.
6982         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6983         code.
6985         [BZ #13528]
6986         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6988         [BZ #13529]
6989         * assert/assert.h (static_assert): Define.
6991         * version.h: Update for 2.16 development version.
6993         [BZ #13526]
6994         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6995         _ISOC11_SOURCE.
6997         * version.h (RELEASE): Bump for 2.15 release.
6998         * include/features.h (__GLIBC_MINOR__): Bump to 15.
7000         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7001         Patch by Marek Polacek <mpolacek@redhat.com>.
7003         * bits/byteswap.h: Protect long long constants with __extension__.
7004         * sysdeps/i386/bits/byteswap.h: Likewise.
7005         * sysdeps/ia64/bits/byteswap.h: Likewise.
7006         * sysdeps/s390/bits/byteswap.h: Likewise.
7007         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7009 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7011         [BZ #13540]
7012         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7013         destination buffer.
7014         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7016 2011-12-23  Marek Polacek  <polacek@redhat.com>
7018         * elf/dl-addr.c (determine_info): Add inline keyword.
7019         * elf/tst-auditmod4b.c (check_avx): Likewise.
7020         * elf/tst-auditmod6b.c (check_avx): Likewise.
7021         * elf/tst-auditmod6c.c (check_avx): Likewise.
7022         * elf/tst-auditmod7b.c (check_avx): Likewise.
7024 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7026         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7027         !__SSE_MATH__.
7029 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7031         [BZ #13540]
7032         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7033         processing for last bytes.
7035 2011-08-06  Bruno Haible  <bruno@clisp.org>
7037         [BZ #13061]
7038         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7039         U+0385, not to U+1FEE.
7041         [BZ #13062]
7042         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7043         entry for U+00A5 U+0301.
7045 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7047         [BZ #13166]
7048         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7049         buffer for the output is too small.
7051         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7052         optimization.
7054         [BZ #13185]
7055         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7056         SSE flags if possible.
7058 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7060         [BZ #13540]
7061         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7062         processing for last bytes.
7064 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
7066         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7067         (syscall-list-default-options, syscall-list-default-condition)
7068         (syscall-list-includes): Define.
7069         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7070         list of ABIs and options and #if conditions for each ABI.  Do not
7071         handle common syscalls between ABIs specially.
7072         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7073         Remove.
7074         (syscall-list-variants, syscall-list-32bit-options)
7075         (syscall-list-32bit-condition, syscall-list-64bit-options)
7076         (syscall-list-64bit-condition): Define.
7077         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7078         (syscall-list-variants, syscall-list-32bit-options)
7079         (syscall-list-32bit-condition, syscall-list-64bit-options)
7080         (syscall-list-64bit-condition): Define.
7081         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7082         Remove.
7083         (syscall-list-variants, syscall-list-32bit-options)
7084         (syscall-list-32bit-condition, syscall-list-64bit-options)
7085         (syscall-list-64bit-condition): Define.
7086         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7087         Remove.
7088         (syscall-list-variants, syscall-list-32bit-options)
7089         (syscall-list-32bit-condition, syscall-list-64bit-options)
7090         (syscall-list-64bit-condition): Define.
7092 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7094         * locale/iso-639.def: Add brx entry.
7096         [BZ #13328]
7097         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7098         Proposed by Mariusz_Cukr <marcukr@op.pl>.
7100         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7101         __feraiseexcept_renamed.
7103 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
7105         [BZ #13538]
7106         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7107         EPOLLET with unsigned values.
7108         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7109         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7111         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7112         to large cancellation.
7113         * math/s_cacoshf.c: Likewise.
7114         * math/s_cacoshl.c: Likewise.
7116 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
7118         [BZ #13305]
7119         [BZ #12786]
7120         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7121         * math/s_cacoshf.c: Likewise.
7122         * math/s_cacoshl.c: Likewise.
7124 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
7126         [BZ #13439]
7127         * iconv/gconv.h: Define __GCONV_SWAP.
7128         * iconvdata/unicode.c: The swap bit must be stored in __flags.
7129         * iconvdata/utf-16.c: Likewise.
7130         * iconvdata/utf-32.c: Likewise.
7132 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7134         [BZ #13524]
7135         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7136         numerator after shifting it by one limb.
7138 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
7140         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7141         under [__USE_EXTERN_INLINES].
7143 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
7145         [BZ #13446]
7146         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7148 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7150         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7151         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7152         optimized code.
7153         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7154         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7155         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7156         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7157         for strncasecmp/strncasecmp_l compilation.
7158         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7159         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7161 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
7163         [BZ #13484]
7164         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7165         of __asm__.
7167 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
7169         [BZ #13506]
7170         * time/tzfile.c (__tzfile_read): Check values from file header.
7172 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
7174         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7175         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7176         * powerpc/powerpc32/dl-start.S: Likewise.
7177         * powerpc/powerpc32/elf/start.S: Likewise.
7178         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7179         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7180         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7181         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7182         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7183         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7184         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7185         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7186         * powerpc/powerpc32/fpu/s_round.S: Likewise.
7187         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7188         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7189         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7190         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7191         * powerpc/powerpc32/memset.S: Likewise.
7192         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7193         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7194         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7195         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7196         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7197         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7198         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7199         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7200         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7201         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7202         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7203         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7204         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7206 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7208         * math/libm-test.inc: Added more nearbyint tests.
7209         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7210         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7211         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7212         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7214 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
7216         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7217         FD_CLOEXEC.
7219 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7221         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7222         Add wcscpy-ssse3 wcscpy-c.
7223         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7224         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7225         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7226         * sysdeps/x86_64/wcschr.S: New file.
7227         * sysdeps/x86_64/wcsrchr.S: New file.
7228         * string/test-strcmp.c: Remove checking of wcscmp function for
7229         wrong alignments.
7230         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7231         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7232         wcsrchr-sse2 wcsrchr-c.
7233         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7234         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7235         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7236         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7237         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7238         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7239         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7240         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7241         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7242         * wcsmbc/wcschr.c (WCSCHR): New macro.
7244 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7246         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7247         * wcsmbs/test-wcsrchr.c: New file.
7248         * string/test-strrchr.c: Add wcsrchr support.
7249         (WIDE): New macro.
7250         * wcsmbs/test-wcscpy.c: New file.
7251         * string/test-strcpy.c: Add wcscpy support.
7252         (WIDE): New macro.
7254 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
7256         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7257         the inner loop.
7259 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
7261         [BZ #13472]
7262         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7264 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
7266         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7267         Minor optimizations.
7269         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7270         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7271         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7273 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
7275         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7276         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7277         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7278         for gcc to avoid warnings.
7279         * inet/Makefile (tests): Add tst-checks.
7280         * inet/tst-checks.c: New file.
7282         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7283         warning.
7285         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7286         __wmemcmp_sse2.
7288         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7289         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7291         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7293 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
7295         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7296         problem.
7298         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7300 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
7302         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7303         conditional on GCC version.
7304         (__arch_compare_and_exchange_val_8_acq)
7305         (__arch_compare_and_exchange_val_16_acq)
7306         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7307         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7308         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7310 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
7312         * sysdeps/sh/backtrace.c: New file.
7314 2011-12-02  Andreas Schwab  <schwab@redhat.com>
7316         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
7317         parenthesis.
7319 2011-12-01  Andreas Schwab  <schwab@redhat.com>
7321         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7322         falling back to utime.
7324 2011-11-30  Andreas Schwab  <schwab@redhat.com>
7326         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7327         expectations for float.
7329 2011-11-29  Andreas Schwab  <schwab@redhat.com>
7331         * locale/weight.h (findidx): Add parameter len.
7332         * locale/weightwc.h (findidx): Likewise.
7333         * posix/fnmatch_loop.c (FCT): Adjust caller.
7334         * posix/regcomp.c (build_equiv_class): Likewise.
7335         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7336         * posix/regexec.c (check_node_accept_bytes): Likewise.
7337         * string/strcoll_l.c (STRCOLL): Likewise.
7338         * string/strxfrm_l.c (STRXFRM): Likewise.
7340 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
7342         * Makefile.in: Remove CVSOPT handling.
7343         * configure.in: Remove use of AC_REVISION.
7344         * iconvdata/Makefile (distribute): No need to filter out CVS.
7345         * scripts/list-sources.sh: Remove CVS, subversion and monotone
7346         handling.
7348 2011-11-16  Andreas Schwab  <schwab@redhat.com>
7350         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7351         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7352         [USE_AS_STRNCASECMP_L]: Likewise.
7353         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7354         NO_TLS_DIRECT_SEG_REFS.
7355         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7356         Fix argument offsets for non-PIC.
7357         [USE_AS_STRNCASECMP_L]: Likewise.
7358         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7359         NO_TLS_DIRECT_SEG_REFS.
7361 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7363         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7364         O_CLOEXEC.
7365         * locale/loadlocale.c (_nl_load_locale): Likewise.
7367 2011-11-15  Andreas Schwab  <schwab@redhat.com>
7369         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7370         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7371         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7372         (SYSCALL_GETTIME): Set errno on error.
7374         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7375         count references to noai6ai_cached.
7377 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7379         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7381         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7382         FD_CLOEXEC for /proc/self/maps.
7384         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7385         FD_CLOEXEC for /proc/meminfo.
7387         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7388         gai.conf.
7390         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
7391         FD_CLOEXEC for given file.
7393         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7395         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7396         FD_CLOEXEC for /etc/hosts.
7397         (_gethtent): Likewise.
7399         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7401         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7402         cancellation and set FD_CLOEXEC for /etc/netgroup.
7404         * nss/nss_files/files-key.c (search): Don't allow cancellation when
7405         reading /etc/publickey.
7407         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7408         allow cancellation when reading /etc/group.
7410         * nss/nss_files/files-alias.c (internal_setent): Don't allow
7411         cancellation.
7412         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
7414         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7415         when using data file.
7417         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7419         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7420         (write_nis_obj): Use "c" and "e" in fopen.
7422         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7424         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7426         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7428         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7430         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7431         locale.alias.
7433         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7435         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7437         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7439         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7440         file parsing and set FD_CLOEXEC.
7442 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7444         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7446 2011-11-14  Andreas Schwab  <schwab@redhat.com>
7448         * malloc/arena.c (arena_get2): Don't call reused_arena when
7449         _int_new_arena failed.
7451 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
7453         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7454         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7455         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7456         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7457         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7459         to compile strcasecmp and strncasecmp.
7460         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7461         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7465 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
7467         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7468         locale-defines.sym to gen-as-const-headers.
7469         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7470         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7471         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7472         to compile strcasecmp and strncasecmp.
7473         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7474         strcasecmp_l and strncasecmp_l.
7475         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7476         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7477         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7478         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7479         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7480         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7481         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7482         * sysdeps/i386/i686/multiarch/strncase.S: New file.
7483         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7484         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7485         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7487 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
7489         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7490         result of SYSDEP_GETTIME_CPU to retval.
7491         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7492         parameter list to macro.  Remove trailing semicolon.  Adjust users.
7494         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7495         variable.
7497         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7498         mantissa words.
7499         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7501         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7502         from unused variable.
7504         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7505         DWARF definitions.
7506         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7507         for assembling.
7509         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7510         over namespaces.
7512         * sunrpc/rpc_prot.c (rejected): Fix case value.
7514         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7515         unsigned long long int to avoid warnings in shift.
7517         * posix/regex_internal.c (re_string_reconstruct): Actually use result
7518         of use of trans.
7519         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7520         variable tmp.
7522         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7523         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7524         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7526         * nis/nis_table.c (nis_list): Use variable of correct type for
7527         result of __follow_path call.
7529 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7531         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7532         of math functions ceil, trunc, floor, round, and sqrt, when
7533         avaliable on the platform.
7534         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7535         name clash.
7536         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7537         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7538         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7540 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
7542         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7543         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7545 2011-11-11  Roland McGrath  <roland@hack.frob.com>
7547         * include/unistd.h: Fix __readlink return type.
7548         Reported by Chris Metcalf <cmetcalf@tilera.com>.
7550 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
7552         * stdlib/ucontext.h: Undo last change for makecontext.
7554 2011-11-11  Andreas Schwab  <schwab@redhat.com>
7556         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7558         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7559         * setjmp/setjmp.h: Mark functions as non-leaf.
7560         * setjmp/bits/setjmp2.h: Likewise.
7561         * stdlib/ucontext.h: Likewise.
7563 2011-11-10  Andreas Schwab  <schwab@redhat.com>
7565         * malloc/arena.c (_int_new_arena): Don't increment narenas.
7566         (reused_arena): Don't check arena limit.
7567         (arena_get2): Atomically check arena limit.
7569 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
7571         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7572         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7574         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7575         instructions.
7577 2011-11-07  Andreas Schwab  <schwab@redhat.com>
7579         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7580         handler when locking.
7582         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7583         Fix size of allocated buffer.
7585 2011-11-04  Andreas Schwab  <schwab@redhat.com>
7587         [BZ #10103]
7588         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7589         declarations for long double functions.
7590         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7592         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7594 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7596         * nscd/nscd.c (main): Don't start AVC thread until credentials are
7597         installed.
7599         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7600         is disabled.
7602 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7604         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7606 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7608         * include/alloca.h (stackinfo_alloca_round): Define.
7609         (extend_alloca): Use it.
7610         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7611         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7612         here.
7614         * scripts/check-local-headers.sh: Ignore libaudit.h.
7616         * nscd/Makefile (extra-objs): Make recursively expanded.
7618 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
7620         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7621         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7623         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7624         * posix/tst-rfc3484-2.c: Likewise.
7625         * posix/tst-rfc3484-3.c: Likewise.
7627         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7628         process_vm_writev.
7629         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7630         process_vm_writev.
7631         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7632         process_vm_writev from libc using GLIBC_2.15 version.
7634         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7636 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
7638         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7639         stack usage.
7641 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
7643         [BZ #13367]
7644         * nss/getent.c (initgroups_keys): Show error message in case no group
7645         names are given.
7647         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7648         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7649         __bump_nl_timestamp.
7650         * nscd/connections (nscd_init): When host database is served open
7651         netlink socket and request notification about configuration changes.
7652         (main_loop_poll): Track netlink file descriptor and bump timestamp
7653         in case data becomes available.
7654         (main_loop_epoll): Likewise.
7655         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7656         (database_pers_head): Add extra_data fileds.
7657         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7658         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7659         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7660         Adjust caller.
7661         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7662         in6ai data, call __free_in6ai.
7663         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7664         Add -DHAVE_NETLINK.
7665         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
7666         interface information.  Reuse previous data if netlink timestamp
7667         is not changed.
7668         (__bump_nl_timestamp): New function.
7669         (__free_in6ai): New function.
7671 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
7673         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7674         close_not_cancel_no_status here.
7675         (__check_pf): Reorganize code a bit to not call close twice if OOM.
7677 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7679         [BZ #13276]
7680         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7681         return value.
7683         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7684         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7685         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7687 2011-07-03  Andreas Jaeger  <aj@suse.de>
7689         [BZ #10709]
7690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7691         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7692         * math/libm-test.inc (sin_test): Add test case.
7694 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
7696         [BZ #13337]
7697         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7698         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7700         * elf/chroot_canon.c (chroot_canon): Cleanups.
7702         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7704         [BZ #13335]
7705         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7706         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7708         * string/test-strchr.c: Make usable for strchrnul testing.
7709         * string/test-strchrnul.c: New file.
7710         * string/Makefile (strop-tests): Add strchrnul.
7712         * po/it.po: Update from translation team.
7713         * po/es.po: Likewise.
7715 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
7717         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7718         the three constants needed as parameters.  Drop the others.
7719         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7720         __m128i_strloadu_tolower.
7721         Create and initialize variable zero and use it in all the places
7722         where _mm_setzero_si128 was used.
7724         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7725         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7726         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7727         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7728         anymore.
7729         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7730         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7731         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7732         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7733         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7734         __mpranred, __mptan.
7735         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7736         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7737         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7738         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7739         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7740         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7741         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7742         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7743         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7745 2011-10-28  Andreas Schwab  <schwab@redhat.com>
7747         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7748         redefine if SHARED.
7749         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7752         wide char related routines to wcsmbs subdir.
7754 2011-10-27  Andreas Schwab  <schwab@redhat.com>
7756         [BZ #13344]
7757         * misc/sys/cdefs.h (__THROWNL): Define.
7758         * posix/unistd.h: Use __THREADNL instead of __THREAD
7759         for memory synchronization functions.
7761 2011-10-26  Roland McGrath  <roland@hack.frob.com>
7763         [BZ #13349]
7764         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7765         doesn't exist.
7766         * manual/stdio.texi (Obstack Streams): Node removed.
7768 2011-10-26  Andreas Schwab  <schwab@redhat.com>
7770         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7771         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7772         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7774         * math/math_private.h (math_force_eval): Allow non-addressable
7775         arguments.
7776         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7778 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7780         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7781         file is not needed.
7783         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7784         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7785         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7786         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7787         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7788         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7789         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7790         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7791         Add AVX variants.
7792         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7793         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7794         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7795         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7796         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7797         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7798         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7799         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7800         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7801         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7802         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7803         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7804         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7805         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7806         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7807         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7808         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7809         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7810         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7812         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7813         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
7815         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7816         place.  Use VEX encoding when compiling for AVX.
7818 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7820         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7821         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7823         * string/test-strchr.c (do_test): Don't generate NUL bytes.
7825 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7827         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7828         useless if() expression.
7829         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7830         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7831         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7832         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7833         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7834         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7835         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7836         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7837         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7838         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7839         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7840         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7841         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7842         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7843         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7844         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7845         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7846         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7847         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7849         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7851 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7853         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7854         condition.
7855         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7857 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7859         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7860         .text section.  Avoid duplicate constants.
7861         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7862         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7863         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7864         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7865         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7866         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7867         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7868         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7869         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7870         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7871         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7872         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7873         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7874         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7875         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7876         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7877         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7878         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7879         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7880         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7881         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7882         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7883         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7884         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7885         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7886         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7887         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7888         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7889         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7890         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7891         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7892         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7893         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7894         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7895         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7896         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7897         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7898         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7899         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7900         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7901         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7902         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7903         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7904         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7905         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7907 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
7909         * sysdeps/x86_64/dla.h: Move to ...
7910         * sysdeps/x86_64/fpu/dla.h: ...here.
7911         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7912         situations.  Use __builtin_fma only for gcc 4.6 and up.
7914         * config.make.in: Add have-mfma4 entry.
7915         * configure.in: Substitute libc_cv_cc_fma4.
7916         * math/Makefile (dbl-only-routines): Add sincostab.
7917         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7918         Use __sincostab not sincos.
7919         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7920         name is a macro.
7921         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7922         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7923         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7924         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
7925         using __copysign.
7926         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
7927         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
7928         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7929         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7930         and __inv.
7931         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7932         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7933         __copysign.
7934         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
7935         define aliases when function name is a macro.
7936         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7937         sysdeps/ieee754/dbl-64/sincos.tbl.
7938         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7939         fma4-enabled routines.
7940         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7941         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7942         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7943         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7944         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7945         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7946         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7947         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7948         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7949         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7950         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7951         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7952         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7953         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7954         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7955         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7956         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7957         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7958         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7959         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7960         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7961         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7962         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7963         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7964         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7965         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7966         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7967         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7968         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7969         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7971         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7972         rename.
7973         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7974         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7975         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7976         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7977         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7978         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7979         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7980         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7982 2011-10-24  Andreas Schwab  <schwab@redhat.com>
7984         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7986 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
7988         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7990         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7991         prediction.
7992         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7994         * string/strnlen.c: Don't define STRNLEN, reverse logic.
7995         Remove unused variable magic_bits.
7996         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7998         * string/strnlen.c: Define and use STRNLEN macro.
7999         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8000         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8002         * wcsmbs/wcslen.c: Define and use WCSLEN.
8003         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8004         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8005         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8006         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8007         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8008         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8009         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8011 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8014         strnlen-sse2-no-bsf.
8015         Rename strlen-no-bsf to strlen-sse2-no-bsf.
8016         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8017         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8018         Add strnlen support.
8019         (USE_AS_STRNLEN): New macro.
8020         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8021         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8022         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8023         * sysdeps/x86_64/wcslen.S: New file.
8025 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
8027         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8028         XMM-moves are used for copying on small sizes.
8030 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8032         * wcsmbs/Makefile (strop-tests): Add wcschr.
8033         * wcsmbs/test-wcschr.c: New file.
8034         * string/test-strchr.c: Update.
8035         Add wcschr support.
8036         (WIDE): New macro.
8038 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8040         * wcsmbs/Makefile (strop-tests): Add wcslen.
8041         * wcsmbs/test-wcslen.c: New file.
8042         * string/test-strlen.c: Update.
8043         Add wcslen support.
8044         (WIDE): New macro.
8046 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8048         * po/it.po: Update from translation team.
8050 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8052         * sysdeps/x86_64/wcscmp.S: Update.
8053         Fix wrong comparison semantics.
8054         wcscmp shall use signed comparison not unsigned.
8055         Don't use substraction to avoid overflow bug.
8056         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8057         * wcsmbc/wcscmp.c: Likewise.
8058         * string/test-strcmp.c: Likewise.
8059         Add new tests to check cases with negative values.
8061 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8063         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8064         * sysdeps/x86_64/dla.h: ...here.  New file.
8065         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8066         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8067         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8068         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8069         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8070         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8072         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8073         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8075 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
8077         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8078         __ynl_finite aliases.
8080 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
8082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8084         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8085         define DLA_FMA.
8086         [DLA_FMA] (EMULV): Use DLA_FMA.
8087         [DLA_FMA] (MUL12): Use EMULV.
8088         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8089         that are not needed.
8090         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8093         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8094         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8095         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8096         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8098 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
8100         * math/s_nan.c: Undef __nan.
8101         * math/s_nanf.c: Undef __nanf.
8102         * math/s_nanl.c: Undef __nanl.
8103         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8104         "math_private.h".
8106 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
8108         * math/s_catan.c: Add branch predictions.
8109         * math/s_catanf.c: Likewise.
8110         * math/s_catanh.c: Likewise.
8111         * math/s_catanhf.c: Likewise.
8112         * math/s_catanhl.c: Likewise.
8113         * math/s_catanl.c: Likewise.
8114         * math/s_cexp.c: Likewise.
8115         * math/s_cexpf.c: Likewise.
8116         * math/s_cexpl.c: Likewise.
8117         * math/s_clog.c: Likewise.
8118         * math/s_clog10.c: Likewise.
8119         * math/s_clog10f.c: Likewise.
8120         * math/s_clog10l.c: Likewise.
8121         * math/s_clogf.c: Likewise.
8122         * math/s_clogl.c: Likewise.
8123         * math/s_csqrt.c: Likewise.
8124         * math/s_csqrtf.c: Likewise.
8125         * math/s_csqrtl.c: Likewise.
8126         * math/s_ctanf.c: Likewise.
8127         * math/s_ctanh.c: Likewise.
8128         * math/s_ctanhf.c: Likewise.
8129         * math/s_ctanhl.c: Likewise.
8130         * math/s_ctanl.c: Likewise.
8132         * math/math_private.h: Define __nan, __nanf, __nanl.
8133         * math/s_cacosh.c: Include <math_private.h>.
8134         * math/s_cacoshl.c: Likewise.
8135         * math/s_casinh.c: Likewise.
8136         * math/s_casinhf.c: Likewise.
8137         * math/s_casinhl.c: Likewise.
8138         * math/s_ccos.c: Rely entire on ccosh.
8139         * math/s_ccosf.c: Rely entire on ccoshf.
8140         * math/s_ccosl.c: Rely entirely on ccoshl.
8141         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
8142         Remove tests for FE_INVALID.
8143         * math/s_ccoshf.c: Likewise.
8144         * math/s_ccoshl.c: Likewise.
8145         * math/s_csin.c: Likewise.
8146         * math/s_csinf.c: Likewise.
8147         * math/s_csinh.c Likewise.
8148         * math/s_csinhf.c: Likewise.
8149         * math/s_csinhl.c: Likewise.
8150         * math/s_csinl.c: Likewise.
8151         * math/s_ctan.c: Likewise.
8152         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8153         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8154         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8156 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
8158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8159         compilation problems.
8161         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8162         __builtin_expect.
8164 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
8166         * sysdeps/i386/configure.in: Test for -mfma4 option.
8167         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8168         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8169         COMMON_CPUID_INDEX_80000001.
8170         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8171         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8172         use it if FMA3 is not supported.
8173         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8175         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8176         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8178 2011-10-20  Andreas Schwab  <schwab@redhat.com>
8180         [BZ #12892]
8181         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8182         it would create a cycle with a link time dependency.
8184 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
8186         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8187         instruction.
8188         * string/Makefile (strop-tests): Add rawmemchr.
8189         * string/test-rawmemchr.c: New file.
8191         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8192         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
8193         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
8194         when compiling str{,n}casecmp and when AVX is available.  Hook up
8195         new optimized code in initializers.
8197 2011-10-19  Andreas Schwab  <schwab@redhat.com>
8199         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8200         __feraiseexcept instead of feraiseexcept.
8202 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
8204         * math/math_private.h: Define defaults for libc_fetestexcept and
8205         libc_feupdateenv.
8206         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8207         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8208         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8209         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8210         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8211         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8212         libc_fetestexcept and libc_feupdateenv.
8214         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8215         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8216         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8217         * sysdeps/x86_64/fpu/math_private.h: Define special version of
8218         libc_feholdexcept_setround.
8220         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8221         Add s_nearbyint-c and s_nearbyintf-c.
8222         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8223         nearbyintf inlines.
8224         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8225         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8226         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8227         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8229         * math/math_private.h: Define defaults for libc_fegetround,
8230         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8231         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8232         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8233         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8234         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8235         standard functions.
8236         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8237         Remove comments and hacks for old compiler versions.
8238         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8239         libc_fegetround, libc_fesetround, libc_feholdexcept, and
8240         libc_feholdexceptl.
8242 2011-10-18  Andreas Schwab  <schwab@redhat.com>
8244         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8245         (__feraiseexcept_renamed): Add __NTH.
8246         (feraiseexcept): Add __NTH.  Rename local variables to fix
8247         namespace violations.
8249 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
8251         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8253         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8255         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8256         recently added interfaces.
8257         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8259         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8260         about macro parameter expansion.
8262         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8263         __NO_MATH_INLINES is defined.  Cleanups.
8265         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8266         and __floorf is target has SSE4.1.
8267         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8268         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8269         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8270         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8272         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8273         name.
8274         (floorf): Likewise.
8276         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8278 2011-10-17  Andreas Schwab  <schwab@redhat.com>
8280         * misc/sys/cdefs.h: Fix last change.
8282         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8283         database lookup.
8285 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
8287         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8289         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8290         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8291         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8292         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8293         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8294         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8295         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8296         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8297         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8298         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8299         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8300         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8301         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8302         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8303         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8304         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8305         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8306         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8307         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8308         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8309         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8310         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8312         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8313         ceil, ceilf, floor, floorf.
8315         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8316         Perform IRELATIVE relocations last.
8318         * elf/do-rel.h: Add another parameter nrelative, replacing the
8319         local variable with the same name.  Change name of the function
8320         to end in Rel or Rela (uppercase).
8321         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8322         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
8323         elf_dynamic_do_##reloc function.
8325 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8327         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8328         is sufficient, at least on modern CPUs.
8330         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8332         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8333         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8335         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8336         __expl_finite.
8337         * math/bits/math-finite.h: Add entries for exp.
8338         * math/e_expl.c: Add __*_finite alias.
8339         * sysdeps/i386/fpu/e_exp.S: Likewise.
8340         * sysdeps/i386/fpu/e_expf.S: Likewise.
8341         * sysdeps/i386/fpu/e_expl.c: Likewise.
8342         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8343         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8344         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8345         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8346         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8347         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8348         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8350         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8351         is sufficient, at least on modern CPUs.
8353         * ctype/ctype-info.c (__ctype_init): Define.
8354         * include/ctype.h (__ctype_init): Declare.
8355         (__ctype_b_loc): The variable is always initialized.
8356         (__ctype_toupper_loc): Likewise.
8357         (__ctype_tolower_loc): Likewise.
8358         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8359         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8361 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
8363         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8365         * configure.in: Also look in $cxxmachine/include for C++ system
8366         headers.
8368 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8370         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8371         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8372         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8373         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
8374         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8375         (USE_AS_WMEMCMP): New macro.
8376         Fixing indents.
8377         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8378         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8379         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8380         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8382         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8383         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8384         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8385         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8386         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8387         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8388         (USE_AS_WMEMCMP): New macro.
8389         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8390         * sysdeps/string/test-memcmp.c: Update.
8391         Fix simple_wmemcmp.
8392         Add new tests.
8393         * wcsmbs/wmemcmp.c: Update.
8394         (WMEMCMP): New macro.
8395         Fix overflow bug.
8397 2011-10-12  Andreas Jaeger  <aj@suse.de>
8399         [BZ #13268]
8400         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8402 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8404         * libio/iofwide.c (do_length): Avoid warning.
8406         * ctype/ctype.h (__isctype_f): Add missing __THROW.
8408 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
8410         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8412         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8413         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8414         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8415         * sysdeps/i386/i686/fpu/e_log.S: New file.
8416         * sysdeps/i386/i686/fpu/e_logf.S: New file.
8417         * sysdeps/i386/i686/fpu/e_logl.S: New file.
8419         * ctype/ctype.h: Add support for inlined isXXX functions when
8420         compiling C++ code.
8422 2011-10-14  Andreas Schwab  <schwab@redhat.com>
8424         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8426         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8428 2011-10-13  Roland McGrath  <roland@hack.frob.com>
8430         [BZ #13291]
8431         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8433 2011-10-13  Andreas Schwab  <schwab@redhat.com>
8435         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8436         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8437         feraiseexcept.
8439         * sysdeps/x86_64/memrchr.S: Check for zero size.
8441         * string/stratcliff.c: Add memrchr tests.
8443 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8446         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8447         rawmemchr-sse2 rawmemchr-sse2-bsf.
8448         * sysdeps/i386/i686/multiarch/memchr.S: New file.
8449         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8450         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8451         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8452         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8453         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8454         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8455         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8456         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8457         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8458         * string/memrchr.c (MEMRCHR): New macro.
8460 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
8462         Add integration with gcc's -ffinite-math-only and optimize wrapper
8463         functions in libm.
8464         * Versions.def: Define GLIBC_2.15 version for libm.
8465         * math/Makefile (headers): Add bits/math-finite.h.
8466         * math/bits/math-finite.h: New file.
8467         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8468         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8469         * math/e_acoshl.c: Add __*_finite alias.
8470         * math/e_acosl.c: Likewise.
8471         * math/e_asinl.c: Likewise.
8472         * math/e_atan2l.c: Likewise.
8473         * math/e_atanhl.c: Likewise.
8474         * math/e_coshl.c: Likewise.
8475         * math/e_exp10.c: Likewise.
8476         * math/e_exp10f.c: Likewise.
8477         * math/e_exp10l.c: Likewise.
8478         * math/e_exp2l.c: Likewise.
8479         * math/e_fmodl.c: Likewise.
8480         * math/e_gammal_r.c: Likewise.
8481         * math/e_hypotl.c: Likewise.
8482         * math/e_j0l.c: Likewise.
8483         * math/e_j1l.c: Likewise.
8484         * math/e_jnl.c: Likewise.
8485         * math/e_lgammal_r.c: Likewise.
8486         * math/e_log10l.c: Likewise.
8487         * math/e_log2l.c: Likewise.
8488         * math/e_logl.c: Likewise.
8489         * math/e_powl.c: Likewise.
8490         * math/e_sinhl.c: Likewise.
8491         * math/e_sqrtl.c: Likewise.
8492         * math/e_scalb.c: Completely rewritten and optimized.
8493         * math/e_scalbf.c: Likewise.
8494         * math/e_scalbl.c: Likewise.
8495         * math/w_acos.c: Likewise.
8496         * math/w_acosf.c: Likewise.
8497         * math/w_acosl.c: Likewise.
8498         * math/w_acosh.c: Likewise.
8499         * math/w_acoshf.c: Likewise.
8500         * math/w_acoshl.c: Likewise.
8501         * math/w_asin.c: Likewise.
8502         * math/w_asinf.c: Likewise.
8503         * math/w_asinl.c: Likewise.
8504         * math/w_atan2.c: Likewise.
8505         * math/w_atan2f.c: Likewise.
8506         * math/w_atan2l.c: Likewise.
8507         * math/w_atanh.c: Likewise.
8508         * math/w_atanhf.c: Likewise.
8509         * math/w_atanhl.c: Likewise.
8510         * math/w_exp10.c: Likewise.
8511         * math/w_exp10f.c: Likewise.
8512         * math/w_exp10l.c: Likewise.
8513         * math/w_fmod.c: Likewise.
8514         * math/w_fmodf.c: Likewise.
8515         * math/w_fmodl.c: Likewise.
8516         * math/w_j0.c: Likewise.
8517         * math/w_j0f.c: Likewise.
8518         * math/w_j0l.c: Likewise.
8519         * math/w_j1.c: Likewise.
8520         * math/w_j1f.c: Likewise.
8521         * math/w_j1l.c: Likewise.
8522         * math/w_jn.c: Likewise.
8523         * math/w_jnf.c: Likewise.
8524         * math/w_log.c: Likewise.
8525         * math/w_logf.c: Likewise.
8526         * math/w_logl.c: Likewise.
8527         * math/w_log10.c: Likewise.
8528         * math/w_log10f.c: Likewise.
8529         * math/w_log10l.c: Likewise.
8530         * math/w_log2.c: Likewise.
8531         * math/w_log2f.c: Likewise.
8532         * math/w_log2l.c: Likewise.
8533         * math/w_pow.c: Likewise.
8534         * math/w_powf.c: Likewise.
8535         * math/w_powl.c: Likewise.
8536         * math/w_remainder.c: Likewise.
8537         * math/w_remainderf.c: Likewise.
8538         * math/w_remainderl.c: Likewise.
8539         * math/w_scalb.c: Likewise.
8540         * math/w_scalbf.c: Likewise.
8541         * math/w_scalbl.c: Likewise.
8542         * math/w_sqrt.c: Likewise.
8543         * math/w_sqrtf.c: Likewise.
8544         * math/w_sqrtl.c: Likewise.
8545         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8546         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
8547         used.
8548         * math/math_private.h: Declare __kernel_standard_f.
8549         * math/w_cosh.c: Remove cruft and optimize a bit.
8550         * math/w_coshf.c: Likewise.
8551         * math/w_coshl.c: Likewise.
8552         * math/w_exp2.c: Likewise.
8553         * math/w_exp2f.c: Likewise.
8554         * math/w_exp2l.c: Likewise.
8555         * math/w_hypot.c: Likewise.
8556         * math/w_hypotf.c: Likewise.
8557         * math/w_hypotl.c: Likewise.
8558         * math/w_lgamma.c: Likewise.
8559         * math/w_lgamma_r.c: Likewise.
8560         * math/w_lgammaf.c: Likewise.
8561         * math/w_lgammaf_r.c: Likewise.
8562         * math/w_lgammal.c: Likewise.
8563         * math/w_lgammal_r.c: Likewise.
8564         * math/w_sinh.c: Likewise.
8565         * math/w_sinhf.c: Likewise.
8566         * math/w_sinhl.c: Likewise.
8567         * math/w_tgamma.c: Likewise.
8568         * math/w_tgammaf.c: Likewise.
8569         * math/w_tgammal.c: Likewise.
8570         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8571         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8572         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8573         Minor optimizations.  Pretty printing.  Remove cruft.
8574         * sysdeps/i386/fpu/e_acosf.S: Likewise.
8575         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8576         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8577         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8578         * sysdeps/i386/fpu/e_acosl.c: Likewise.
8579         * sysdeps/i386/fpu/e_asin.S: Likewise.
8580         * sysdeps/i386/fpu/e_asinf.S: Likewise.
8581         * sysdeps/i386/fpu/e_atan2.S: Likewise.
8582         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8583         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8584         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8585         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8586         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8587         * sysdeps/i386/fpu/e_exp10.S: Likewise.
8588         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8589         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8590         * sysdeps/i386/fpu/e_exp2.S: Likewise.
8591         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8592         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8593         * sysdeps/i386/fpu/e_fmod.S: Likewise.
8594         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8595         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8596         * sysdeps/i386/fpu/e_hypot.S: Likewise.
8597         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8598         * sysdeps/i386/fpu/e_log.S: Likewise.
8599         * sysdeps/i386/fpu/e_log10.S: Likewise.
8600         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8601         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8602         * sysdeps/i386/fpu/e_log2.S: Likewise.
8603         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8604         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8605         * sysdeps/i386/fpu/e_logf.S: Likewise.
8606         * sysdeps/i386/fpu/e_logl.S: Likewise.
8607         * sysdeps/i386/fpu/e_pow.S: Likewise.
8608         * sysdeps/i386/fpu/e_powf.S: Likewise.
8609         * sysdeps/i386/fpu/e_powl.S: Likewise.
8610         * sysdeps/i386/fpu/e_remainder.S: Likewise.
8611         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8612         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8613         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8614         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8615         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8616         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8617         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8618         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8619         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8620         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8621         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8622         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8623         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8624         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8625         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8626         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8627         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8628         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8629         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8630         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8631         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8632         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8633         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8635         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8636         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8637         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8638         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8639         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8640         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8641         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8642         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8643         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8644         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8645         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8646         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8647         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8648         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8649         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8650         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8651         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8652         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8653         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8654         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8655         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8656         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8657         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8658         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8659         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8660         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8661         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8662         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8663         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8664         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8665         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8666         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8667         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8668         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8669         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8670         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8671         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8672         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8673         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8674         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8675         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8676         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8677         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8678         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8679         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8680         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8681         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8682         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8683         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8684         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8685         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8686         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8687         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8688         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8689         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8690         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8691         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8692         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8693         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8694         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8695         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8696         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8697         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8698         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8699         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8700         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8701         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8702         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8703         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8704         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8705         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8706         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8707         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8708         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8709         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8710         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8711         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8712         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8713         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8714         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8715         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8716         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8717         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8718         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8719         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8720         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8721         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8722         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8723         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8724         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8725         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8726         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8727         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8728         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8729         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
8730         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8731         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8732         (__isnanf): Likewise.
8733         (__isinf_ns): Likewise.
8734         (__isinf_nsf): Likewise.
8735         (__finite): Likewise.
8736         (__finitef): Likewise.
8737         (__ieee754_sqrt): Define as macro.
8738         (__ieee754_sqrtf): Define as macro.
8739         (__ieee754_sqrtl): Define as macro.
8740         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8741         inlined copy.
8742         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8743         __FINITE_MATH_ONLY__ consistent.
8744         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8746 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
8748         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8749         of rawmemchr.
8751         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8753 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
8755         * po/ja.po: Update from translation team.
8757 2011-10-08  Roland McGrath  <roland@hack.frob.com>
8759         * locale/programs/locarchive.c (prepare_address_space): New function.
8760         (create_archive, enlarge_archive, open_archive): Use it.
8762         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8763         inside [SHARED], where it is used.
8765         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8767         * nss/getent.c (netgroup_keys): Remove unused variable.
8768         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8770 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
8772         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8773         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8774         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8775         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8776         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8777         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8778         * math/Makefile (libm-calls): Add s_isinf_ns.
8779         * math/divtc3.c: Use __isinf_nsl instead of isinf.
8780         * math/multc3.c: Likewise.
8781         * math/s_casin.c: Likewise.
8782         * math/s_casinf.c: Likewise.
8783         * math/s_casinl.c: Likewise.
8784         * math/s_ccos.c: Likewise.
8785         * math/s_ccosf.c: Likewise.
8786         * math/s_ccosl.c: Likewise.
8787         * math/s_ctan.c: Likewise.
8788         * math/s_ctanf.c: Likewise.
8789         * math/s_ctanh.c: Likewise.
8790         * math/s_ctanhf.c: Likewise.
8791         * math/s_ctanhl.c: Likewise.
8792         * math/s_ctanl.c: Likewise.
8793         * math/w_fmod.c: Likewise.
8794         * math/w_fmodf.c: Likewise.
8795         * math/w_fmodl.c: Likewise.
8796         * math/w_remainder.c: Likewise.
8797         * math/w_remainderf.c: Likewise.
8798         * math/w_remainderl.c: Likewise.
8799         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8800         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8801         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8803         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8804         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8805         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8806         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8808         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8809         of the number.
8810         * stdio-common/printf_fphex.c: Likewise.
8811         * stdio-common/printf_size.c: Likewise.
8813         * math/e_exp10.c: Include math_private.h using <...> not "...".
8814         * math/e_exp10f.c: Likewise.
8815         * math/e_exp10l.c: Likewise.
8816         * math/e_exp2l.c: Likewise.
8817         * math/e_j0l.c: Likewise.
8818         * math/e_j1l.c: Likewise.
8819         * math/e_jnl.c: Likewise.
8820         * math/e_lgammal_r.c: Likewise.
8821         * math/e_rem_pio2l.c: Likewise.
8822         * math/e_scalb.c: Likewise.
8823         * math/e_scalbf.c: Likewise.
8824         * math/e_scalbl.c: Likewise.
8825         * math/k_cosl.c: Likewise.
8826         * math/k_sinl.c: Likewise.
8827         * math/k_tanl.c: Likewise.
8828         * math/s_cacoshf.c: Likewise.
8829         * math/s_catan.c: Likewise.
8830         * math/s_catanf.c: Likewise.
8831         * math/s_catanh.c: Likewise.
8832         * math/s_catanhf.c: Likewise.
8833         * math/s_catanhl.c: Likewise.
8834         * math/s_catanl.c: Likewise.
8835         * math/s_ccosh.c: Likewise.
8836         * math/s_ccoshf.c: Likewise.
8837         * math/s_ccoshl.c: Likewise.
8838         * math/s_cexp.c: Likewise.
8839         * math/s_cexpf.c: Likewise.
8840         * math/s_cexpl.c: Likewise.
8841         * math/s_clog.c: Likewise.
8842         * math/s_clog10.c: Likewise.
8843         * math/s_clog10f.c: Likewise.
8844         * math/s_clog10l.c: Likewise.
8845         * math/s_clogf.c: Likewise.
8846         * math/s_clogl.c: Likewise.
8847         * math/s_csin.c: Likewise.
8848         * math/s_csinf.c: Likewise.
8849         * math/s_csinh.c: Likewise.
8850         * math/s_csinhf.c: Likewise.
8851         * math/s_csinhl.c: Likewise.
8852         * math/s_csinl.c: Likewise.
8853         * math/s_csqrt.c: Likewise.
8854         * math/s_csqrtf.c: Likewise.
8855         * math/s_csqrtl.c: Likewise.
8856         * math/s_ctan.c: Likewise.
8857         * math/s_ctanf.c: Likewise.
8858         * math/s_ctanh.c: Likewise.
8859         * math/s_ctanhf.c: Likewise.
8860         * math/s_ctanhl.c: Likewise.
8861         * math/s_ctanl.c: Likewise.
8862         * math/s_ldexp.c: Likewise.
8863         * math/s_ldexpf.c: Likewise.
8864         * math/s_ldexpl.c: Likewise.
8865         * math/s_significand.c: Likewise.
8866         * math/s_significandf.c: Likewise.
8867         * math/s_significandl.c: Likewise.
8868         * math/w_acos.c: Likewise.
8869         * math/w_acosf.c: Likewise.
8870         * math/w_acosh.c: Likewise.
8871         * math/w_acoshf.c: Likewise.
8872         * math/w_acoshl.c: Likewise.
8873         * math/w_acosl.c: Likewise.
8874         * math/w_asin.c: Likewise.
8875         * math/w_asinf.c: Likewise.
8876         * math/w_asinl.c: Likewise.
8877         * math/w_atan2.c: Likewise.
8878         * math/w_atan2f.c: Likewise.
8879         * math/w_atan2l.c: Likewise.
8880         * math/w_atanh.c: Likewise.
8881         * math/w_atanhf.c: Likewise.
8882         * math/w_atanhl.c: Likewise.
8883         * math/w_cosh.c: Likewise.
8884         * math/w_coshf.c: Likewise.
8885         * math/w_coshl.c: Likewise.
8886         * math/w_dremf.c: Likewise.
8887         * math/w_exp10.c: Likewise.
8888         * math/w_exp10f.c: Likewise.
8889         * math/w_exp10l.c: Likewise.
8890         * math/w_exp2.c: Likewise.
8891         * math/w_exp2f.c: Likewise.
8892         * math/w_fmod.c: Likewise.
8893         * math/w_fmodf.c: Likewise.
8894         * math/w_fmodl.c: Likewise.
8895         * math/w_hypot.c: Likewise.
8896         * math/w_hypotf.c: Likewise.
8897         * math/w_hypotl.c: Likewise.
8898         * math/w_j0.c: Likewise.
8899         * math/w_j0f.c: Likewise.
8900         * math/w_j0l.c: Likewise.
8901         * math/w_j1.c: Likewise.
8902         * math/w_j1f.c: Likewise.
8903         * math/w_j1l.c: Likewise.
8904         * math/w_jn.c: Likewise.
8905         * math/w_jnf.c: Likewise.
8906         * math/w_jnl.c: Likewise.
8907         * math/w_lgamma.c: Likewise.
8908         * math/w_lgamma_r.c: Likewise.
8909         * math/w_lgammaf.c: Likewise.
8910         * math/w_lgammaf_r.c: Likewise.
8911         * math/w_lgammal.c: Likewise.
8912         * math/w_lgammal_r.c: Likewise.
8913         * math/w_log.c: Likewise.
8914         * math/w_log10.c: Likewise.
8915         * math/w_log10f.c: Likewise.
8916         * math/w_log10l.c: Likewise.
8917         * math/w_log2.c: Likewise.
8918         * math/w_log2f.c: Likewise.
8919         * math/w_log2l.c: Likewise.
8920         * math/w_logf.c: Likewise.
8921         * math/w_logl.c: Likewise.
8922         * math/w_pow.c: Likewise.
8923         * math/w_powf.c: Likewise.
8924         * math/w_powl.c: Likewise.
8925         * math/w_remainder.c: Likewise.
8926         * math/w_remainderf.c: Likewise.
8927         * math/w_remainderl.c: Likewise.
8928         * math/w_scalb.c: Likewise.
8929         * math/w_scalbf.c: Likewise.
8930         * math/w_scalbl.c: Likewise.
8931         * math/w_sinh.c: Likewise.
8932         * math/w_sinhf.c: Likewise.
8933         * math/w_sinhl.c: Likewise.
8934         * math/w_sqrt.c: Likewise.
8935         * math/w_sqrtf.c: Likewise.
8936         * math/w_sqrtl.c: Likewise.
8937         * math/w_tgamma.c: Likewise.
8938         * math/w_tgammaf.c: Likewise.
8939         * math/w_tgammal.c: Likewise.
8941         * po/ja.po: Update from translation team.
8943 2011-09-29  Andreas Jaeger  <aj@suse.de>
8945         [BZ #13179]
8946         * sunrpc/netname.c (netname2host): Fix logic.
8948         [BZ #6779]
8949         [BZ #6783]
8950         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8951         correctly.
8952         * math/w_remainder.c (__remainder): Likewise.
8953         * math/w_remainderf.c (__remainderf): Likewise.
8954         * math/libm-test.inc (remainder_test): Add test cases.
8956 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8958         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
8959         sdiv_qrnnd.
8961 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
8963         * string/test-memcmp.c: Avoid unncessary #defines.
8964         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8966 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8968         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8969         Use new sse2 version for core i3 - i7 as it's faster
8970         than sse42 version.
8971         (bit_Prefer_PMINUB_for_stringop): New.
8972         * sysdeps/x86_64/rawmemchr.S: Update.
8973         Replace with faster SSE2 version.
8974         * sysdeps/x86_64/memrchr.S: New file.
8975         * sysdeps/x86_64/memchr.S: Update.
8976         Replace with faster SSE2 version.
8978 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
8980         * elf/dl-load.c (lose): Add cast to avoid warning.
8982 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
8984         * po/ca.po: Update from translation team.
8986         * inet/getnetgrent_r.c: Hook up nscd.
8987         * nscd/Makefile (routines): Add nscd_netgroup.
8988         (nscd-modules): Add netgroupcache.
8989         (CFLAGS-netgroupcache.c): Define.
8990         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8991         (cache_search): Add const to second parameter.
8992         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8993         INNETGR.
8994         (dbs): Add netgrdb entry.
8995         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8996         (verify_persistent_db): Handle netgrdb.
8997         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8998         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8999         GETFDNETGR.
9000         (netgroup_response_header): Define.
9001         (innetgroup_response_header): Define.
9002         (datahead): Add netgroup_response_header and innetgroup_response_header
9003         elements.
9004         * nscd/nscd.conf: Add entries for netgroup cache.
9005         * nscd/nscd.h (dbtype): Add netgrdb.
9006         (_PATH_NSCD_NETGROUP_DB): Define.
9007         (netgroup_iov_disabled): Declare.
9008         (xmalloc, xcalloc, xrealloc): Move declarations here.
9009         (cache_search): Adjust prototype.
9010         Add netgroup-related prototypes.
9011         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9012         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9013         (__nscd_innetgr): Declare.
9014         * nscd/selinux.c (perms): Use access_vector_t as element type and
9015         add netgroup-related initializers.
9016         * nscd/netgroupcache.c: New file.
9017         * nscd/nscd_netgroup.c: New file.
9018         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9019         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9020         For four parameters use innetgr.
9021         * nss/nss_files/files-init.c: Add definition and callback for netgr.
9022         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9023         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9024         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9026         * nscd/connections.c (register_traced_file): Don't register file
9027         for disabled databases.
9029 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
9031         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9033         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9034         from tree and freeing node.
9036 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
9038         * nss/nsswitch.c (__nss_database_lookup): Handle
9039         nss_parse_service_list out of memory case.
9041 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
9043         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9044         out of memory case.
9046 2011-10-04  Andreas Schwab  <schwab@redhat.com>
9048         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9049         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9050         pass it down.
9051         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9052         elf_machine_rela, elf_machine_lazy_rel.
9053         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9054         (ELF_DYNAMIC_DO_REL): Likewise.
9055         (ELF_DYNAMIC_DO_RELA): Likewise.
9056         (ELF_DYNAMIC_RELOCATE): Likewise.
9057         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9058         to ELF_DYNAMIC_DO_REL.
9059         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9060         (dl_main): In trace mode always set __RTLD_NOIFUNC.
9061         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9062         elf_machine_rela.
9063         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9064         skip_ifunc, don't call ifunc function if non-zero.
9065         (elf_machine_rela): Likewise.
9066         (elf_machine_lazy_rel): Likewise.
9067         (elf_machine_lazy_rela): Likewise.
9068         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9069         (elf_machine_lazy_rel): Likewise.
9070         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9071         Likewise.
9072         (elf_machine_lazy_rel): Likewise.
9073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9074         Likewise.
9075         (elf_machine_lazy_rel): Likewise.
9076         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9077         (elf_machine_lazy_rel): Likewise.
9078         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9079         (elf_machine_lazy_rel): Likewise.
9080         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9081         (elf_machine_lazy_rel): Likewise.
9082         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9083         (elf_machine_lazy_rel): Likewise.
9084         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9085         (elf_machine_lazy_rel): Likewise.
9086         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9087         (elf_machine_lazy_rel): Likewise.
9089 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
9091         * nss/nss_files/files-init.c (_nss_files_init): Use static
9092         initialization for all the *_traced_file variables.
9094 2011-09-28  Andreas Schwab  <schwab@redhat.com>
9096         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9098 2011-09-27  Roland McGrath  <roland@hack.frob.com>
9100         [BZ #13226]
9101         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9103 2011-09-27  Andreas Schwab  <schwab@redhat.com>
9105         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9106         Reread the line before reparsing it.
9108 2011-09-26  Andreas Schwab  <schwab@redhat.com>
9110         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9112 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
9113             Maxim Kuvyrkov  <maxim@codesourcery.com>
9114             Joseph Myers  <joseph@codesourcery.com>
9116         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9117         if needed for __stack_chk_guard.
9119 2011-09-19  Roland McGrath  <roland@hack.frob.com>
9121         * sysdeps/posix/spawni.c (script_execute): Always define it.
9122         It will be optimized away if unused.
9123         (maybe_script_execute): New function.
9124         (__spawni): Call it.
9126         * Makerules: Don't include tls.make.
9127         (config-tls): Always set to thread.
9128         * tls.make.c: File removed.
9130 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
9132         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9133         * config.make.in (CPPFLAGS-config): New substituted variable.
9135 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
9137         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9139         [BZ #13192]
9140         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9141         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9143 2011-09-15  Roland McGrath  <roland@hack.frob.com>
9145         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9146         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9147         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9148         (CALL_FAIL): Likewise.
9149         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9150         (CALL_FAIL): Macro removed.
9151         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9153 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
9155         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9156         for __FINITE_MATH_ONLY__ == 1.
9158 2011-09-15  Andreas Schwab  <schwab@redhat.com>
9160         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9161         __ieee754_sqrt instead of sqrt.
9162         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9163         __ieee754_sqrtf instead of sqrtf.
9164         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9165         __floorf instead of floorf.
9166         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9167         __floorf, __truncf instead of floorf, truncf.
9169 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
9171         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9173         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9174         __extern_always_inline.
9175         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9176         32-bit.
9178 2011-09-14  Andreas Schwab  <schwab@redhat.com>
9180         * elf/rtld.c (dl_main): Also relocate in dependency order when
9181         doing symbol dependency testing.
9183 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
9185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9186         Always define `refsym'.
9188 2011-09-13  Andreas Schwab  <schwab@redhat.com>
9190         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9191         (__FD_ELT): Renamed from __FDELT.
9192         * misc/bits/select2.h (__FD_ELT): Likewise.
9193         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9194         __FD_MASK instead of __FDELT, __FDMASK.
9195         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9196         Likewise.
9197         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9198         Likewise.
9200         * elf/Makefile (gen-ldd): Fix pattern.
9202         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9203         (init_tls): Likewise.
9205 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
9207         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9209 2011-09-12  Andreas Schwab  <schwab@redhat.com>
9211         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9212         `struct cmsghdr *' instead of `void *'.
9213         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9214         Likewise.
9216 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
9218         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9219         if non-absolute.
9220         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9221         ldd_rewrite_script.
9223 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
9225         * configure.in: Remove --with-tls option.
9226         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9227         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9228         out in case it is missing.
9229         * sysdeps/ia64/elf/configure.in: Likewise.
9230         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9231         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9232         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9233         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9234         * sysdeps/sh/elf/configure.in: Likewise.
9235         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9236         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9237         * sysdeps/x86_64/elf/configure.in: Likewise.
9238         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9239         * sysdeps/mach/hurd/tls.h: Likewise.
9241         [BZ #13067]
9242         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9244         [BZ #13090]
9245         * configure.in: Fix use of AC_INIT.
9247         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9249 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
9251         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9252         __set_errno.
9253         * malloc/hooks.c: Likewise.
9255         [BZ #11929]
9256         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
9257         variables statically.
9258         (narenas): Initialize.
9259         (list_lock): Initialize.
9260         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
9261         initializtion of main_arena and list_lock.  Small cleanups.
9262         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9263         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
9264         Add initializers to main_arena and mp_.
9265         (malloc_state): Remove pagesize member.  Change all users to use
9266         GLRO(dl_pagesize).
9268         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9269         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
9270         is always initialized.
9272         * malloc/malloc.c: Removed unused configurations and dead code.
9273         * malloc/arena.c: Likewise.
9274         * malloc/hooks.c: Likewise.
9275         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9277         * include/tls.h: Removed.  USE___THREAD must always be defined.
9278         * bits/libc-tsd.h: Don't handle !USE___THREAD.
9279         * elf/dl-libc.c: Likewise.
9280         * elf/dl-tsd.c: Likewise.
9281         * include/errno.h: Likewise.
9282         * include/netdb.h: Likewise.
9283         * include/resolv.h: Likewise.
9284         * inet/herrno-loc.c: Likewise.
9285         * inet/herrno.c: Likewise.
9286         * malloc/arena.c: Likewise.
9287         * malloc/hooks.c: Likewise.
9288         * malloc/malloc.c: Likewise.
9289         * resolv/res-state.c: Likewise.
9290         * resolv/res_libc.c: Likewise.
9291         * sysdeps/i386/dl-machine.h: Likewise.
9292         * sysdeps/ia64/dl-machine.h: Likewise.
9293         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9294         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9295         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9296         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9297         * sysdeps/sh/dl-machine.h: Likewise.
9298         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9299         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9300         * sysdeps/unix/i386/sysdep.S: Likewise.
9301         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9302         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9307         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9309         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9311         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9312         * sysdeps/x86_64/dl-machine.h: Likewise.
9313         * tls.make.c: Likewise.
9315         * configure.in: Remove --with-__thread option.  Make tests for
9316         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9317         tls_model attribute fail if no support is available.  Remove
9318         USE_IN_LIBIO.
9319         * Makeconfig: Adjust for dropped configure option.  All features are
9320         now mandatory.
9321         * Makerules: Likewise.
9322         * Versions.def: Likewise.
9323         * argp/argp-fmtstream.c: Likewise.
9324         * argp/argp-fmtstream.h: Likewise.
9325         * argp/argp-help.c: Likewise.
9326         * assert/assert.c: Likewise.
9327         * config.h.in: Likewise.
9328         * config.make.in: Likewise.
9329         * configure: Likewise.
9330         * configure.in: Likewise.
9331         * csu/Versions: Likewise.
9332         * csu/init.c: Likewise.
9333         * elf/tst-audit2.c: Likewise.
9334         * elf/tst-tls10.c: Likewise.
9335         * elf/tst-tls10.h: Likewise.
9336         * elf/tst-tls11.c: Likewise.
9337         * elf/tst-tls12.c: Likewise.
9338         * elf/tst-tls14.c: Likewise.
9339         * elf/tst-tlsmod11.c: Likewise.
9340         * elf/tst-tlsmod12.c: Likewise.
9341         * elf/tst-tlsmod13.c: Likewise.
9342         * elf/tst-tlsmod13a.c: Likewise.
9343         * elf/tst-tlsmod14a.c: Likewise.
9344         * elf/tst-tlsmod15b.c: Likewise.
9345         * elf/tst-tlsmod16a.c: Likewise.
9346         * elf/tst-tlsmod16b.c: Likewise.
9347         * elf/tst-tlsmod7.c: Likewise.
9348         * elf/tst-tlsmod8.c: Likewise.
9349         * elf/tst-tlsmod9.c: Likewise.
9350         * gmon/gmon.c: Likewise.
9351         * grp/fgetgrent_r.c: Likewise.
9352         * grp/putgrent.c: Likewise.
9353         * hurd/fopenport.c: Likewise.
9354         * include/libc-symbols.h: Likewise.
9355         * include/tls.h: Likewise.
9356         * intl/gettextP.h: Likewise.
9357         * intl/loadinfo.h: Likewise.
9358         * locale/global-locale.c: Likewise.
9359         * locale/localeinfo.h: Likewise.
9360         * mach/devstream.c: Likewise.
9361         * malloc/arena.c: Likewise.
9362         * malloc/set-freeres.c: Likewise.
9363         * misc/err.c: Likewise.
9364         * misc/getttyent.c: Likewise.
9365         * misc/mntent_r.c: Likewise.
9366         * posix/getopt.c: Likewise.
9367         * posix/wordexp.c: Likewise.
9368         * pwd/fgetpwent_r.c: Likewise.
9369         * resolv/Versions: Likewise.
9370         * resolv/res_hconf.c: Likewise.
9371         * shadow/fgetspent_r.c: Likewise.
9372         * shadow/putspent.c: Likewise.
9373         * stdio-common/printf_fphex.c: Likewise.
9374         * stdio-common/tmpfile.c: Likewise.
9375         * stdlib/abort.c: Likewise.
9376         * stdlib/fmtmsg.c: Likewise.
9377         * sunrpc/auth_unix.c: Likewise.
9378         * sunrpc/clnt_perr.c: Likewise.
9379         * sunrpc/clnt_tcp.c: Likewise.
9380         * sunrpc/clnt_udp.c: Likewise.
9381         * sunrpc/clnt_unix.c: Likewise.
9382         * sunrpc/openchild.c: Likewise.
9383         * sunrpc/svc_simple.c: Likewise.
9384         * sunrpc/svc_tcp.c: Likewise.
9385         * sunrpc/svc_udp.c: Likewise.
9386         * sunrpc/svc_unix.c: Likewise.
9387         * sunrpc/xdr.c: Likewise.
9388         * sunrpc/xdr_array.c: Likewise.
9389         * sunrpc/xdr_rec.c: Likewise.
9390         * sunrpc/xdr_ref.c: Likewise.
9391         * sunrpc/xdr_stdio.c: Likewise.
9393 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9395         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9397 2011-07-03  Andreas Jaeger  <aj@suse.de>
9399         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9400         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9401         regenerate with gen-libm-tests.pl.
9403 2010-05-12  Petr Baudis  <pasky@suse.cz>
9405         [BZ #11589]
9406         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9407         around j0() zero points by switching to j1().
9408         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9409         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9411         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9413 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9415         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9416         instead of 0.
9417         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9418         instead of 0.                              .
9419         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9420         Patch in part by Pavel Roskin <proski@gnu.org>.
9422         [BZ #13138]
9423         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9424         realloc.
9425         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
9426         Free memory block if necessary.
9428         [BZ #12847]
9429         * libio/genops.c (INTDEF): For string streams the _lock pointer can
9430         be NULL.  Don't lock in this case.
9432 2011-09-09  Roland McGrath  <roland@hack.frob.com>
9434         * elf/elf.h (ELFOSABI_GNU): New macro.
9435         (ELFOSABI_LINUX): Define to that.
9437 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
9439         * string/strncat.c (strncat): Undef the symbol in case it has been
9440         defined in bits/string.h.
9442 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9444         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9446         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9447         link map.
9449 2011-08-17  Andreas Jaeger  <aj@suse.de>
9451         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9453 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9454             Ian Lance Taylor  <iant@google.com>
9456         * math/libm-test.inc (lround_test): New testcase.
9457         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9459 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
9461         * Makefile: Remove support for automatic cvs check-ins.
9462         * Makerules: Likewise.
9463         * config.make.in: Likewise.
9464         * configure.in: Likewise.
9465         * intl/Makefile: Likewise.
9466         * locale/Makefile: Likewise.
9467         * po/Makefile: Likewise.
9468         * posix/Makefile: Likewise.
9469         * sysdeps/gnu/Makefile: Likewise.
9470         * sysdeps/mach/hurd/Makefile: Likewise.
9471         * sysdeps/sparc/sparc32/Makefile: Likewise.
9473         [BZ #13118]
9474         * posix/Makefile (bug-regex32-ENV): Define.
9475         Patch by John Stanley <jpsinthemix@verizon.net>.
9477         * misc/Makefile (headers): Add bits/select2.h.
9478         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9479         * misc/bits/select2.h: New file.
9480         * include/bits/select2.h: New file.
9481         * debug/Makefile (routines): Add fdelt_chk.
9482         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9483         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9484         FD_ISSET.
9485         * debug/fdelt_chk.c: New file.
9487         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
9488         * wcsmbs/test-wmemcmp.c: Likewise.
9489         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9490         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9492 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9494         * string/Makefile (strop-tests): Add memcmp.
9495         * string/test-wmemcmp.c: New file.
9496         * string/test-memcmp.c: Add wmemcmp support.
9498 2011-09-08  Roland McGrath  <roland@hack.frob.com>
9500         [BZ #13153]
9501         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9502         2011-07-19 change.
9504         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9505         garbage value in a __mach_port_mod_refs call in the cases of the
9506         task-self and thread-self ports.
9508 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9510         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9512 2011-09-08  Andreas Schwab  <schwab@redhat.com>
9514         * elf/dl-load.c (lose): Check for non-null L.
9516 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9518         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9520         * elf/dl-libc.c (dlerror_run): Pass back error code from
9521         dl_catch_error.
9523         [BZ #13123]
9524         * elf/dl-load.c (lose): Free l_origin if it is valid.
9526         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9527         names.
9528         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9529         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9531         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9532         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9533         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9535 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9537         * sysdeps/powerpc/fpu/e_hypot.c: New file.
9538         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9539         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9540         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9541         * sysdeps/powerpc/fpu/k_cosf.c: New file.
9542         * sysdeps/powerpc/fpu/k_sinf.c: New file.
9543         * sysdeps/powerpc/fpu/s_cosf.c: New file.
9544         * sysdeps/powerpc/fpu/s_sinf.c: New file.
9545         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9546         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9548 2011-08-15  Alan Modra  <amodra@gmail.com>
9550         [BZ #13092]
9551         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9552         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9553         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
9554         ppc_mcount to static-only-routines.
9555         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9556         __mcount_internal.
9557         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9558         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
9560 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
9562         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9563         for finite and infinity parameters.
9565 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
9567         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9568         and add nop instructions for throughput optimization.
9569         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9571 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
9573         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9574         aligned copy for power7 with vector-scalar instructions.
9575         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9577 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
9579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9580         AVX check.
9582 2011-09-07  Andreas Schwab  <schwab@redhat.com>
9584         [BZ #13144]
9585         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9586         last change.
9588 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
9590         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9591         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9592         syscall wrapper around clock_gettime in __vdso_clock_gettime.
9593         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9594         clock_gettime.
9596 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9598         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9599         Forgot to demangle the pointer.
9601         * sysdeps/i386/sysdep.h: Define atom_text_section.
9602         * sysdeps/x86_64/sysdep.h: Likewise.
9603         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9604         section with atom_text_section.
9605         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9606         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9607         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9608         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9609         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9611         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9612         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9613         already be defined.  Change to take two parameters and don't assign
9614         result to variable.  Adjust all users.
9615         Define INTERNAL_GETTIME if not already defined.
9616         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9617         call.
9618         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9619         HAVE_CLOCK_GETTIME_VSYSCALL.
9620         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9623         gettimeofday vsyscall, just use time.
9625 2011-09-06  Andreas Schwab  <schwab@redhat.com>
9627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9628         <errno.h>.
9630 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
9632         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9633         syscall on x86-64.
9634         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9635         syscall.
9636         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9637         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9638         syscall if possible.
9640 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9642         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9643         e_ident.  Don't pass to find_mapsXX.
9644         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9646 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9649         strchr-sse2-no-bsf strrchr-sse2-no-bsf
9650         * sysdeps/x86_64/multiarch/strchr.S: Update.
9651         Check bit_slow_BSF bit.
9652         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9653         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9654         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9656 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9658         [BZ #13134]
9659         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9660         before glibc 2.15.
9661         (tryshell): Define.
9662         (__spawni): Change last parameter to be flag.  Test
9663         SPAWN_XFLAGS_USE_PATH flag to use path or not.
9664         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9665         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9666         * posix/spawni.c: Likewise.
9667         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9668         * posix/spawnp.c: Likewise.  Change normal version to use
9669         SPAWN_XFLAGS_USE_PATH.
9670         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9671         SPAWN_XFLAGS_TRY_SHELL.
9673         [BZ #13150]
9674         * posix/glob.h: Remove gcc 1.x support.
9676         [BZ #13068]
9677         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9679 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9681         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9682         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9683         strrchr-sse2-bsf
9684         * sysdeps/i386/i686/multiarch/strchr.S: New file.
9685         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9686         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9687         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9688         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9689         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9691 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9693         * sysdeps/x86_64/wcscmp.S: New file.
9695         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9696         wcscmp-c wcscmp-sse2
9697         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9698         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9699         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9700         * wcsmbs/wcscmp.c: Allow renaming.
9702 2011-09-05  David S. Miller  <davem@davemloft.net>
9704         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9705         stack slot, rather than the struct return pointer slot.
9706         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9707         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9709         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9711 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
9713         * po/ja.po: Update from translation team.
9715         [BZ #13144]
9716         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9717         kernel in 64-bit binaries.
9719 2011-09-01  David S. Miller  <davem@davemloft.net>
9721         * elf/elf.h (HWCAP_SPARC_*): Move to..
9722         * sysdeps/sparc/sysdep.h: this new file and add new values.
9723         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9724         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9725         _DL_HWCAP_COUNT to 24.
9726         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9727         entries.
9728         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9729         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9730         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9732         instead of magic constants.
9733         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9735 2011-08-31  David S. Miller  <davem@davemloft.net>
9737         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9738         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9739         Reimplement to do errno handling inline.
9740         (SYSCALL_ERROR_HANDLER): New macro.
9741         (__SYSCALL_STRING): Do not do errno handling in asm.
9742         (__CLONE_SYSCALL_STRING): Delete.
9743         (__INTERNAL_SYSCALL_STRING): Delete.
9744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9745         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9746         (PSEUDO): Reimplement to do errno handling inline.
9747         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9748         (SYSCALL_ERROR_HANDLER): New macro.
9749         (__SYSCALL_STRING): Do not do errno handling in asm.
9750         (__CLONE_SYSCALL_STRING): Delete.
9751         (__INTERNAL_SYSCALL_STRING): Delete.
9752         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9753         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9754         i386.
9755         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9756         (inline_syscall*): Add 'err' argument.
9757         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9758         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9759         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9760         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9762         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9763         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9765 2011-08-30  Andreas Schwab  <schwab@redhat.com>
9767         * elf/rtld.c (dl_main): Relocate objects in dependency order.
9769 2011-08-29  Jiri Olsa <jolsa@redhat.com>
9771         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9772         directive.
9774 2011-08-24  David S. Miller  <davem@davemloft.net>
9776         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9778 2011-08-24  Andreas Schwab  <schwab@redhat.com>
9780         * elf/Makefile: Add rules to build and run unload8 test.
9781         * elf/unload8.c: New file.
9782         * elf/unload8mod1.c: New file.
9783         * elf/unload8mod1x.c: New file.
9784         * elf/unload8mod2.c: New file.
9785         * elf/unload8mod3.c: New file.
9787         * elf/dl-close.c (_dl_close_worker): Reset private search list if
9788         it wasn't used.
9790 2011-08-23  David S. Miller  <davem@davemloft.net>
9792         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9793         subtract stack bias.
9794         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9795         %sp not %fp in calculations.
9796         (_JMPBUF_UNWINDS_ADJ): Likewise.
9798         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9799         (aio_suspend): Call it to force an exception region around the
9800         AIO_MISC_WAIT() invocation.
9802 2011-08-23  Andreas Schwab  <schwab@redhat.com>
9804         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9805         backslash.
9807 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
9809         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9810         protection macro.
9811         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9812         and <dl-machine.h>.
9813         (Elf64_FuncDesc): Remove.
9815 2011-08-22  David S. Miller  <davem@davemloft.net>
9817         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9818         sigaltstack check, add missing cfi directives.
9819         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9820         missing cfi directives, and sigaltstack handling.
9822 2011-08-16  Andreas Schwab  <schwab@redhat.com>
9824         [BZ #11724]
9825         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9826         object is seen twice.
9827         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9829         * elf/Makefile (distribute): Add tst-initorder2.c.
9830         (tests): Add tst-initorder2.
9831         (modules-names): Add tst-initorder2a tst-initorder2b
9832         tst-initorder2c tst-initorder2d.  Add rules to build them.
9833         ($(objpfx)tst-initorder2.out): New rule.
9834         * elf/tst-initorder2.c: New file.
9835         * elf/tst-initorder2.exp: New file.
9837 2011-08-22  Andreas Schwab  <schwab@redhat.com>
9839         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9841         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9842         dependencies back to end of function.
9844         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9845         $(elfobjdir)/ld.so.
9847 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
9849         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9850         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9851         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9852         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9853         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9854         of __vdso_gettimeofday.
9855         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9856         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
9857         attribute_hidden.
9858         (_libc_vdso_platform_setup): Remove initialization of
9859         __vdso_gettimeofday and __vdso_time.
9861 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9863         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9864         and fgetc_unlocked.
9865         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9866         getc_unlocked.
9868         * elf/dl-open.c (add_to_global): Report additions to the global scope
9869         for LD_DEBUG=scopes.
9870         (dl_open_worker): Also print scope of newly loaded dependencies.
9871         (_dl_show_scope): Indicate if there is no scope.
9873         [BZ #13114]
9874         * stdio-common/Makefile (tests): Add bug24.
9875         * stdio-common/bug24.c: New file.
9877 2011-08-19  Andreas Jaeger  <aj@suse.de>
9879         [BZ #13114]
9880         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9881         non-existant file when using close-on-exec mode.
9883 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9885         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9886         the very first instruction.
9888         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9889         the CFI state in the end.
9890         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9891         inclusion of dl-trampoline.h.
9892         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9894 2011-08-19  Andreas Schwab  <schwab@redhat.com>
9896         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9897         expectations for long double.
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9900         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9902 2011-08-14  David S. Miller  <davem@davemloft.net>
9904         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9905         artificual limit depends upon the system page size.
9907 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
9909         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9910         * resolv/Makefile: Define CFLAGS-libresolv.
9912 2011-08-17  Andreas Schwab  <schwab@redhat.com>
9914         * nss/makedb.c (compute_tables): Make variables used in nested
9915         function static.
9917 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
9919         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9920         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9921         if buffer was too small.
9923         * elf/pldd.c (main): Attach to all threads in the process.
9924         Rewrite /proc handling to use *at functions.
9926 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
9928         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9929         specifies first scope to show.
9930         (dl_open_worker): Update callers.  Move printing scope of new
9931         object to before the relocation.
9932         * elf/rtld.c (dl_main): Update _dl_show_scope call.
9933         * sysdeps/generic/ldsodefs.h: Update declaration.
9935         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9936         string for the scope number.
9938 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
9940         * nscd/servicescache.c (cache_addserv): Make sure written is always
9941         initialized.
9943 2011-08-14  Roland McGrath  <roland@hack.frob.com>
9945         * sysdeps/i386/i486/bits/atomic.h
9946         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9947         statement expression, so as to suppress "set but not used" warning.
9948         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9950         * string/strncat.c (STRNCAT): Use prototype definition.
9952         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9953         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9954         -Iprograms here.
9955         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9956         (localedef-modules): Add localedef.
9957         (locale-modules): Add locale.
9959         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9960         * elf/rtld.c (dl_main): Invert order of assignment in last change,
9961         to avoid a warning.
9963 2011-08-14  David S. Miller  <davem@davemloft.net>
9965         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9966         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9968 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
9970         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9971         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9972         * elf/rtld.c (dl_main): Set l_name of vDSO.
9973         Call _dl_show_scope when DL_DEBUG_SCOPES.
9974         (process_dl_debug): Recognize scopes flag and also set it for all.
9975         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9976         Declare _dl_show_scope.
9978         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9979         (do_dlopen): Pass caller_dlopen to dl_open.
9980         (__libc_dlopen_mode): Initialize caller_dlopen.
9982         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9983         of libc.  Make tolower call locale-independent.  Optimize a bit by
9984         using isdigit instead of isalnum.
9985         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9987 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
9989         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9990         was a dependency or dynamically loaded.
9992 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
9994         * intl/l10nflist.c: Allow architecture-specific pop function.
9995         * sysdeps/x86_64/l10nflist.c: New file.
9997         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9998         classification.
10000 2011-08-10  Andreas Schwab  <schwab@redhat.com>
10002         * include/dirent.h: Add libc_hidden_proto for scandirat and
10003         scandirat64.  Don't declare __scandirat64.
10004         * dirent/scandirat.c: Add libc_hidden_def.
10005         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10006         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10008 2011-08-10  David S. Miller  <davem@davemloft.net>
10010         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10011         enum.
10012         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10013         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10014         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10016 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
10018         * Versions.def [libc]: Add GLIBC_2.15.
10019         * dirent/Makefile (routines): Add scandirat and scandirat64.
10020         * dirent/Versions [libc]: Export scandirat and scandirat64 for
10021         GLIBC_2.15.
10022         * dirent/dirent.h: Declare scandirat and scandirat64.
10023         * dirent/scandirat.c: New file.
10024         * dirent/scandirat64.c: New file.
10025         * sysdeps/wordsize-64/scandirat.c: New file.
10026         * sysdeps/wordsize-64/scandirat64.c: New file.
10027         * dirent/opendir.c: Define opendirat.
10028         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
10029         using scandirat.
10030         * dirent/scandir64.c: Adjust for scandir.c change.
10031         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
10032         __scandirat64, and __scandir_cancel_handler.
10033         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
10034         additional parameter and use openat instead of open (outside of ld.so).
10035         Add new __opendir as wrapper around __opendirat.
10036         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10037         here without requiring old scandirat implementation.
10039 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
10041         * dirent/scandir.c (cancel_handler): Renamed to
10042         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
10043         defined.  Adjust users.
10044         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10045         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10047 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
10049         * string/test-string.h (IMPL): Use __STRING to expand name and then
10050         stringify it.
10052         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
10053         of cleanups.
10055 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10057         * string/Makefile: Update.
10058         (strop-tests): Append strncat.
10059         * string/test-wcscmp.c: New file.
10060         New comprehensive test for wcscmp.
10061         * string/test-strcmp.c: Update.
10062         (WIDE): New define.
10064 2011-07-22  Andreas Schwab  <schwab@redhat.com>
10066         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10067         line.
10069 2011-07-26  Andreas Schwab  <schwab@redhat.com>
10071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10072         encoding to ACE if AI_IDN.
10074 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
10076         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10077         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10079 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10081         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10082         Fix overflow bug in strncat.
10083         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10085         * string/test-strncat.c: Update.
10086         Add new tests for checking overflow bugs.
10088 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10091         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10092         * sysdeps/i386/i686/multiarch/strcat.S: New file.
10093         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10094         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10095         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10096         * sysdeps/i386/i686/multiarch/strncat.S: New file.
10097         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10098         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10100         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10101         (USE_AS_STRCAT): Define.
10102         Add strcat and strncat support.
10103         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10105 2011-07-25  Andreas Schwab  <schwab@redhat.com>
10107         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10108         __n bigger than INT_MAX+1.
10109         (__strncmp_g): Likewise.
10111 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
10113         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10114         * libio/stido.h: Likewise.
10116         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10117         (AF_NFC): Define.
10118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10119         (AF_NFC): Define.
10121         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10122         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10123         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10124         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10125         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10127         [BZ #13021]
10128         * scripts/test-installation.pl: Don't expect libnss_test1 to be
10129         installed.
10131         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10132         typo.
10133         (_dl_x86_64_save_sse): Likewise.
10135 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
10137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10138         OSXSAVE.
10139         (_dl_x86_64_save_sse): Likewise.
10141         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10143         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10145 2011-07-21  Andreas Schwab  <schwab@redhat.com>
10147         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10148         change.
10149         (_dl_x86_64_save_sse): Use correct AVX check.
10151 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10153         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10154         bug in strncpy/strncat.
10155         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10157 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
10159         * string/tester.c (test_strcat): Add tests for different alignments
10160         of source and destination.
10161         (test_strncat): Likewise.
10163 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
10165         [BZ #12852]
10166         * posix/glob.c (glob): Check passed in values before using them in
10167         expressions to avoid some overflows.
10168         (glob_in_dir): Likewise.
10170         [BZ #13007]
10171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10172         check for AVX enablement so that we don't crash with old kernels and
10173         new hardware.
10174         * elf/tst-audit4.c: Add same checks here.
10175         * elf/tst-audit6.c: Likewise.
10177         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10179 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
10181         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10183 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
10185         * po/cs.po: Update from translation team.
10186         * po/bg.po: Likewise.
10188 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
10190         * misc/sys/cdefs.h: Add support for const attribute.
10191         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10192         to gnu_dev_{major,minor,makedev} functions.
10194 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
10196         * intl/dcigettext.c (get_output_charset): Add missing bracket.
10198 2011-07-20  Andreas Schwab  <schwab@redhat.com>
10200         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10201         strlen results.
10203 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10206         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10207         register in order to avoid conflicts with the soft frame pointer
10208         being held in r11 when necessary.
10209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10210         (INTERNAL_VSYSCALL_NCS): Likewise.
10212 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
10214         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10215         * elf/dl-fini.c (_dl_fini): Adjust caller.
10216         * elf/dl-close.c (_dl_close_worker): Likewise.
10217         * sysdeps/generic/ldsodefs.h: Adjust declaration.
10219 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10221         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10222         "aux_cache->nlibs < 0".
10224         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10225         in the reload-count case.
10227 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10230         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10231         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10232         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10233         * sysdeps/x86_64/multiarch/strcat.S: New file.
10234         * sysdeps/x86_64/multiarch/strncat.S: New file.
10235         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10236         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10237         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10238         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10239         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10240         (USE_AS_STRCAT): Define.
10241         Add strcat and strncat support.
10242         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10243         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10244         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10245         * string/strncat.c: Update.
10246         (USE_AS_STRNCAT): Define.
10247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10248         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10249         and i7.
10250         * sysdeps/x86_64/multiarch/init-arch.h
10251         (bit_Prefer_PMINUB_for_stringop): New.
10252         (index_Prefer_PMINUB_for_stringop): Likewise.
10253         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10254         bit_Prefer_PMINUB_for_stringop.
10256 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10258         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10259         buffer64.
10260         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10261         of casting of buffer.
10262         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10263         buffer32 and buffer64.
10264         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10265         writes instead of casting of buffer.
10266         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10267         buffer32.
10268         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10269         casting of buffer.
10271 2011-07-19  Andreas Schwab  <schwab@redhat.com>
10273         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10275 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10277         * nscd/nscd.c (termination_handler): Don't do anything for a database
10278         if it has not yet been initialized.
10280 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10282         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10284 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10286         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10288 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10290         * po/nl.po: Update from translation team.
10291         * po/sv.po: Likewise.
10293 2011-07-16  Roland McGrath  <roland@hack.frob.com>
10295         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10296         now disallowed by GCC.
10298         * configure.in (use-default-link): Default to yes if a test -shared
10299         link meets our qualifications.
10300         * configure: Regenerated.
10302         * config.make.in (output-format): New variable.
10303         * configure.in: Check for ld --print-output-format support.
10304         * configure: Regenerated.
10305         * Makerules ($(common-objpfx)format.lds)
10306         [$(output-format) != unknown]: Just use $(output-format),
10307         instead of the linker-script munging.
10309 2011-07-14  Roland McGrath  <roland@hack.frob.com>
10311         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10312         of $(common-objpfx)shlib.lds.
10313         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10315         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10316         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10318         * configure.in (-z relro check): Adjust test code to add a large
10319         writable data section after it.
10320         * configure: Regenerated.
10322 2011-07-11  Roland McGrath  <roland@hack.frob.com>
10324         * configure.in (-z relro check): Fix test code to make the variable
10325         truly const.
10326         * configure: Regenerated.
10328 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
10330         * nscd/nscd.h (struct traced_file): Define.
10331         (struct database_dyn): Remove inotify_descr, reset_res, and filename
10332         elements.  Add traced_files.
10333         (inotify_fd): Declare.
10334         (register_traced_file): Declare.
10335         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10336         (inotify_fd): Export.
10337         (resolv_conf_descr): Remove.
10338         (nscd_init): Move inotify descriptor creation to main.
10339         Don't register files for notification here.
10340         (register_traced_file): New function.
10341         (invalidate_cache): Don't use reset_res to determine whether to call
10342         res_init, go through the list of registered files.
10343         (main_loop_poll): The inotify descriptors are now stored in the
10344         structures for the traced files.
10345         (main_loop_epoll): Likewise
10346         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
10347         to __nss_disable_nscd.
10348         * nscd/cache.c (prune_cache): There is no single inotify descriptor
10349         for a database anymore.  Check the records for all the registered
10350         files instead.
10351         * nss/Makefile (libnss_files-routines): Add files-init.
10352         (libnss_db-routines): Add db-init.
10353         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10354         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10355         * nss/nss_db/db-init.c: New file.
10356         * nss/nss_files/files-init.c: New file.
10357         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
10358         __nss_lookup_function.
10359         (__nss_lookup_function): Call nss_load_library.
10360         (nss_load_all_libraries): New function.
10361         (__nss_disable_nscd): Take parameter with callback function for files
10362         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
10363         used for the cached services.
10364         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10365         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10366         options for features to all the files in nscd.
10368         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10370 2011-07-10  Roland McGrath  <roland@hack.frob.com>
10372         * csu/elf-init.c (__libc_csu_init): Comment typo.
10374 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
10376         * po/pl.po: Update from translation team.
10377         * po/ja.po: Likewise.
10378         * po/ru.po: Likewise.
10379         * po/ko.po: Likewise.
10380         * po/fr.po: Likewise.
10382 2011-07-09  Roland McGrath  <roland@hack.frob.com>
10384         * configure.in (.ctors/.dtors header and trailer check):
10385         Use an empirical test on a built program.
10386         * configure: Regenerated.
10388         * configure.in (-z relro check): Use an empirical test on a built DSO.
10389         Detect, but do not require, on ia64.
10390         * configure: Regenerated.
10392         * configure.in (READELF): Find it with AC_CHECK_TOOL.
10393         Update tests that use readelf to use $READELF instead.
10394         * configure: Regenerated.
10396 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
10398         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10399         if the result is not used.
10401 2011-07-05  Andreas Jaeger  <aj@suse.de>
10403         [BZ#9696]
10404         * stdlib/tst-strtod.c: Add testcase.
10406 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
10408         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10409         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10410         The latter has a higher limit.  Take additional parameter to pass to
10411         the new function.
10412         (__pathconf): Pass file to __statfs_link_max.
10413         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10414         __statfs_link_max.
10415         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10416         __statfs_link_max.
10418         [BZ #12868]
10419         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10420         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10421         Handle Lustre.
10422         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10423         (__statfs_filesize_max): Likewise.
10424         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10426 2011-07-05  Andreas Jaeger  <aj@suse.de>
10428         * resolv/res_comp.c (dn_skipname): Remove unused variable.
10430 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
10432         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10433         `status' variable.
10434         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10435         Likewise.
10437 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10439         * Makefile (strop-tests): Add strncat.
10440         * string/test-strncat.c: New file.
10442 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
10444         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10446 2011-06-21  Andreas Jaeger  <aj@suse.de>
10448         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10449         Copy rule from iconvdata/Makefile.
10451 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10453         [BZ #12922]
10454         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10455         but no long options are defined, just return 'W'.
10457 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
10459         [BZ #9696]
10460         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10462 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
10464         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10465         netgroups to read.
10466         (innetgr): Likewise.
10468 2011-07-05  Roland McGrath  <roland@hack.frob.com>
10470         * config.make.in (install_root): Default to $(DESTDIR).
10472 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
10474         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10476 2011-07-02  Roland McGrath  <roland@hack.frob.com>
10478         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10480         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10481         containing directory rather than embedding absolute directory names.
10483         * scripts/check-local-headers.sh: Rewritten using awk.
10484         Match by word, not by line.  Print error messages for matches.
10485         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10487         * Makerules [shlib-lds-flags empty]:
10488         ($(common-objpfx)libc_pic.opts): New target.
10489         ($(common-objpfx)libc_pic.os.clean): New target.
10490         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10492         * config.make.in (OBJCOPY): New variable.
10493         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10494         * configure: Regenerated.
10496         * config.make.in (use-default-link): New variable.
10497         * configure.in (use_default_link): Grok --with-default-link to set it.
10498         * configure: Regenerated.
10499         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10500         (shlib-lds, shlib-lds-flags): Define to empty.
10502         * Makerules (shlib-lds): New variable.
10503         (shlib-lds-flags): New variable.
10504         (build-shlib, build-moduile, build-module-asneeded): Use it.
10505         ($(common-objpfx)libc.so): Use $(shlib-lds).
10506         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10507         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10509         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10510         DT_FLAGS/DT_FLAGS_1 with zero flags.
10512         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10513         linker script munging.
10515 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
10517         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10518         as 128-bit value.
10519         * crypt/sha512.c (sha512_process_block): Perform total addition using
10520         128-bit if possible.
10521         (__sha512_finish_ctx): Likewise.
10522         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10523         as 64-bit value.
10524         * crypt/sha256.c (SWAP64): Define.
10525         (sha256_process_block): Perform total addition using 64-bit if
10526         possible.
10527         (__sha256_finish_ctx): Likewise.
10529 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
10531         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
10532         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10533         * nscd/hstcache.c (cache_addhst): Likewise.
10534         * nscd/grpcache.c (cache_addgr): Likewise.
10535         * nscd/aicache.c (addhstaiX): Likewise
10536         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10538 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
10540         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10541         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10542         * nscd/hstcache.c (cache_addhst): Likewise.
10543         * nscd/grpcache.c (cache_addgr): Likewise.
10544         * nscd/aicache.c (addhstaiX): Likewise
10546 2011-07-01  Andreas Schwab  <schwab@redhat.com>
10548         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10549         domain only when needed.
10551 2011-06-30  Andreas Schwab  <schwab@redhat.com>
10553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10554         is always restored.
10556 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
10558         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10559         are re-adding the entry.
10560         * nscd/servicescache.c (cache_addserv): Likewise.
10562 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10564         * sysdeps/generic/dl-irel.h: fix protection against multiple
10565         inclusions.
10566         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10568 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
10570         [BZ #12935]
10571         * malloc/memusage.sh: Fix quoting in message.
10572         * debug/xtrace.sh: Likewise.
10574         * configure.in: Remove support for --experimental-malloc option, make
10575         it the default.
10576         * config.make.in: Likewise.
10577         * malloc/Makefile: Likewise.
10579 2011-06-27  Andreas Schwab  <schwab@redhat.com>
10581         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10582         two-byte characters.
10584 2011-06-27  Roland McGrath  <roland@hack.frob.com>
10586         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10587         AC_CACHE_CHECK invocation.
10588         * configure: Regenerated.
10590         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10592 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
10594         [BZ #12350]
10595         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
10596         bit from old_res_options.
10598         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10600         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10601         value type for setfct.
10603 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
10605         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10606         __gettimeofday instead of gettimeofday.
10608 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
10610         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10612 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10614         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10616         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10617         info.
10619 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10622         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10623         strcpy-sse2-unaligned strncpy-sse2-unaligned
10624         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10625         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10626         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10627         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10628         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10629         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10630         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10631         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10632         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10633         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10634         (STRCPY): Support SSE2 and SSSE3 versions.
10636 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
10638         [BZ #12874]
10639         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10640         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10641         kernels which artificially limit size of requests.
10643 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
10645         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10646         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10647         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10648         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10649         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10650         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10651         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10652         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10653         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10654         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10655         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10656         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10657         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10658         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10659         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10661         Enable unaligned load optimization for Intel Core i3, i5 and i7
10662         processors.
10663         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10664         Define.
10665         (index_Fast_Unaligned_Load): Define.
10666         (HAS_FAST_UNALIGNED_LOAD): Define.
10668 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
10670         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10672 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10674         [BZ #12907]
10675         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10676         until it is clear that the information is realy needed.
10677         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10679 2011-06-22  Andreas Schwab  <schwab@redhat.com>
10681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10683 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
10685         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10686         /sys/devices/system/cpu/online if it is usable.
10688         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10689         reading the information from the /proc filesystem to once a second.
10691 2011-06-21  Andreas Jaeger  <aj@suse.de>
10693         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10694         NULL after inclusion of kernel headers.
10696 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
10698         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10699         calls to internal_setent.
10701         [BZ #12885]
10702         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10703         addresses using gethostbyname4_r ignore IPv4 addresses.
10705         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10706         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
10708         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10710 2011-06-20  David S. Miller  <davem@davemloft.net>
10712         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10713         inclusions.
10714         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10716         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10717         (elf_irel): Use it.
10718         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10719         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10720         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10721         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10722         * sysdeps/x86_64/dl-irel.h: Likewise.
10724         * elf/dl-runtime.c: Use elf_ifunc_invoke.
10725         * elf/dl-sym.c: Likewise.
10727 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10729         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
10730         need to dereference resplen2.
10732 2011-06-14  Andreas Schwab  <schwab@redhat.com>
10734         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10736 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
10738         * Makeconfig: Define vardbdir and inst_vardbdir.
10739         * nss/Makefile: Add rules to install db-Makefile.
10741         * nss/nss_db/db-XXX.c: Cleanup.
10743         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10744         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10745         GLIBC_PRIVATE.
10746         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10747         * nss/makedb.c: Implement -g option to specify that value strings
10748         are generated and should not be added to table iterated over for
10749         get*ent calls.
10750         * nss/nss_db/db-initgroups.c: New file.
10752         * nss/getent.c: Add support for initgroups lookups through getgrouplist
10753         interface.
10755         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10756         (internal_getgrouplist): Adjust to name change.
10757         Update use_initgroups_entry if this is not the first call.
10758         * nss/databases.def: Add initgroups entry.
10760         * nss/makedb.c (compute_tables): Check result of multiple hash table
10761         sizes to minimize maximum chain length.
10763 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
10765         * Versions.def: Add entry for libnss_db.
10766         * shlib-versions: Likewise.
10767         * nss/Makefile: Add rules to build libnss_db.
10768         * nss/Versions: Add libnss_db information.  Organize libnss_files
10769         entries better.
10770         * nss/db-Makefile: Add gshadow support.  Change rules for the new
10771         makedb progra.  Some minor improvements to generate smaller files.
10772         * nss/nss_db/nss_db.h: Move NSS database header data structures to
10773         here from...
10774         * nss/makedb.c: ...here.
10775         Improve database format to be smaller and require less memory at
10776         runtime.
10777         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
10778         db anymore.
10779         * nss/nss_db/db-netgrp.c: Likewise.
10780         * nss/nss_db/db-open.c: Likewise.
10781         * nss/nss_files/flies-XXX.x: Adjust comments.
10782         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10783         * nss/nss_files/files-grp.c: Likewise.
10784         * nss/nss_files/files-hosts.c: Likewise.
10785         * nss/nss_files/files-network.c: Likewise.
10786         * nss/nss_files/files-proto.c: Likewise.
10787         * nss/nss_files/files-pwd.c: Likewise.
10788         * nss/nss_files/files-rpc.c: Likewise.
10789         * nss/nss_files/files-service.c: Likewise.
10790         * nss/nss_files/files-sgrp.c: Likewise.
10791         * nss/nss_files/files-spwd.c: Likewise.
10792         * nss/nss_db/db-alias.c: Removed.
10793         * nss/nss_db/dummy-db.h: Removed.
10795 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
10797         * nss/makedb.c: Rewritten to not use database library.
10798         * nss/Makefile: Update to build new makedb program.
10800 2011-06-14  Andreas Jaeger  <aj@suse.de>
10802         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10803         memset declaration.
10805 2011-06-10  Andreas Schwab  <schwab@redhat.com>
10807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10808         tmpbuf.
10810 2011-06-10  Roland McGrath  <roland@hack.frob.com>
10812         * Makerules (shlib.lds): Fail if the linker script comes out empty.
10813         * elf/Makefile ($(objpfx)ld.so): Likewise.
10815         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10816         Don't list ld.so twice in dependencies.
10818         * posix/bug-regex31.c: Include <stdlib.h>.
10820         * nscd/hstcache.c (cache_addhst): Remove unused variable.
10822         * nis/nss_compat/compat-spwd.c
10823         (getspent_next_nss_netgr): Remove unused variable.
10824         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10826         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10827         nonmembers" output to use the right array.
10829         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10831         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10833         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10834         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10835         * catgets/gencat.c (read_input_file): Likewise.
10836         * locale/programs/locarchive.c (enlarge_archive): Likewise.
10838         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10839         variable definition inside #if's controlling its use.
10841         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10843         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10845         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10847         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10848         unreachable code.
10850         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10852         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10853         * configure: Regenerated.
10855         * Makerules: Revert last change.
10856         * elf/Makefile: Likewise.
10858 2011-06-09  Roland McGrath  <roland@hack.frob.com>
10860         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10861         * elf/Makefile ($(objpfx)librtld.os): Likewise.
10862         (reloc-link): Likewise.
10864 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
10866         * elf/Makefile: Add rules to build pldd.
10867         * elf/pldd.c: New file.
10868         * elf/pldd-xx.c: New file.
10870 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
10872         * version.h: Update for 2.15 development version.
10874 2011-06-07  David S. Miller  <davem@davemloft.net>
10876         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10877         ifuncs.
10878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10879         elf_machine_lazy_rel): Likewise.
10880         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10881         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10882         elf_machine_lazy_rel): Likewise.
10883         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10884         dl_hwcap via passed in argument.
10885         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10886         Likewise.
10888 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10890         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
10892 2011-06-06  Roland McGrath  <roland@hack.frob.com>
10894         [BZ #12849]
10895         * manual/fdl-1.1.texi: New file, verbatim from:
10896         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10897         * manual/lgpl-2.1.texi: New file, verbatim from:
10898         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10899         * manual/Makefile (licenses): New variable, list those new file names.
10900         (texis): Use it.
10901         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10903         * manual/fdl.texi: File removed.
10904         * manual/lesser.texi: File removed.
10905         * manual/libc.texinfo (Copying, Documentation License):
10906         Use new @include file names, put @appendix directive before @include.
10908 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
10910         [BZ #12841]
10911         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10912         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10913         (mq_open): Add __NTH.
10915 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
10917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10918         Assume Intel Core i3/i5/i7 processor if AVX is available.
10920 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
10922         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10923         typo.
10925 2011-05-31  Andreas Schwab  <schwab@redhat.com>
10927         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10928         memory.  Use alloca_account.  Fix memory leak when retrying.
10930 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
10932         * version.h (RELEASE): Bump for 2.14 release.
10933         * include/features.h (__GLIBC_MINOR__): Bump to 14.
10935         * config.make.in (RANLIB): Remove entry.
10937 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
10939         * po/Makefile (po-sed-cmd): Add ksh to extensions.
10940         (libc.pot): Work around missing support for .ksh extension in xgettext.
10942         [BZ #12684]
10943         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10944         if both request failed.
10945         (send_dg): In case of server errors clear resplen or *resplen2.
10947         [BZ #12454]
10948         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10949         when there are multiple maps.
10950         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10951         (_dl_fini): Remove test here.
10953         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10955 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
10957         [BZ #12350]
10958         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10959         bit from old_res_options.
10960         (gaih_inet): Likewise.
10962         [BZ #11099]
10963         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10964         as signed.
10966         * resolv/res_init.c (res_setoptions): Make the code more compact.
10968         [BZ #11558]
10969         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10970         set RES_USEVC.
10972         [BZ #11634]
10973         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10975         * malloc/malloc.h: Mark malloc hook variables as deprecated.
10977         [BZ #11781]
10978         * malloc/malloc.h: Declare malloc hook variables as volatile.
10980         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10981         in last patch.
10983         [BZ #11799]
10984         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10985         raise in the comment.
10986         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10987         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10988         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10990 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
10992         [BZ #12811]
10993         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10994         grow the buffers more if it already has to be sufficient.
10995         (build_wcs_upper_buffer): Likewise.
10996         * posix/regexec.c (check_matching): Likewise.
10997         (clean_state_log_if_needed): Likewise.
10998         (extend_buffers): Don't enlarge buffers beyond size of the input
10999         buffer.
11000         Patches mostly by Emil Wojak <emil@wojak.eu>.
11001         * posix/bug-regex32.c: New file.
11002         * posix/Makefile (tests): Add bug-regex32.
11004         * locale/findlocale.c (_nl_find_locale): Return right away if
11005         _nl_explode_name failed.
11006         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11008         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11010         * debug/xtrace.sh: Unify messages.
11011         * malloc/memusage.sh: Likewise.
11013         [BZ #12813]
11014         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11015         time symbol from vDSO.  Substitute with vsyscall if not available.
11016         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11017         __vdso_time.
11019         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11020         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11021         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11022         Add sendmmsg and internal_sendmmsg.
11023         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11024         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11025         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11027         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11028         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11029         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11031 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
11033         [BZ #12813]
11034         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11035         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
11036         available.
11037         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11038         __vdso_getcpu.
11040         [BZ #12814]
11041         * iconvdata/Makefile (tests): Add bug-iconv9.
11042         * iconvdata/bug-iconv9.c: New file.
11044 2011-05-27  Andreas Schwab  <schwab@redhat.com>
11046         [BZ #12814]
11047         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11049 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
11051         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11052         (struct user_regs_struct): Change intcs field back to cs.
11054 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
11056         * po/ja.po: Update from translation team.
11058 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
11060         [BZ #12795]
11061         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11062         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11064 2011-05-20  Andreas Schwab  <schwab@redhat.com>
11066         * stdlib/longlong.h: Update from GCC.
11068 2011-05-23  Andreas Schwab  <schwab@redhat.com>
11070         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11071         parameter name.
11072         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11073         Add parameter name.
11074         (__sysconf): Pass it down.
11076 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
11078         [BZ #12671]
11079         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11080         some situations.
11081         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11082         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11083         add in in __libc_use_alloca calls.  Adjust callers.
11084         (glob): Use malloc in some situations.
11086         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11087         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11088         pltexit.
11090 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
11092         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11093         and CLOCK_BOOTTIME_ALARM.
11095         [BZ #12782]
11096         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11097         is returned.
11099         * string/_strerror.c (__strerror_r): Print negative errors as signed
11100         numbers.
11102         [BZ #12777]
11103         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11104         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11105         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11107         * configure.in: Fix typo in redirection and correct removal of test
11108         files in two cases.
11110         [BZ #12788]
11111         * locale/setlocale.c (new_composite_name): Fix test to check for
11112         identical name of all categories.
11114         [BZ #12792]
11115         * libio/filedoalloc.c (local_isatty): New function.
11116         (_IO_file_doallocate): Use local_isatty.
11117         * stdio-common/perror.c (perror): In case a new stream is used
11118         forward the stream error.
11119         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11120         error flag.
11122 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
11124         [BZ #11869]
11125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11126         alloca.
11127         * include/alloca.h (extend_alloca_account): Define.
11129         [BZ #11857]
11130         * posix/regex.h: Fix comments with documentation of user-accessible
11131         fields after compilation and describe correct free'ing of pattern
11132         after re_compile_pattern.
11133         Patch by Reuben Thomas <rrt@sc3d.org>.
11135 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
11137         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11138         and -mno-altivec to prevent the compiler from using Altivec and/or
11139         VSX instructions when the corresponding registers are not available.
11141 2011-05-19  Andreas Schwab  <schwab@redhat.com>
11143         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11145 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
11147         * libio/freopen.c (freopen): Use __dup2, not dup2.
11148         * libio/freopen64.c (freopen64): Likewise.
11150 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11152         [BZ #12775]
11153         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11154         * math/Makefile (tests): Add test-powl.
11155         (CFLAGS-test-powl.c): Define.
11156         * math/test-powl.c: New file.
11158 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11160         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11162 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
11164         [BZ #11837]
11165         * iconvdata/gb18030.c: Update to GB18020-2005.
11167 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
11169         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11170         RE_SYNTAX_POSIX_AWK): Update to match recent development.
11171         Patch by Aharon Robbins <arnold@skeeve.com>.
11173         [BZ #11892]
11174         * stdlib/putenv.c (putenv): Don't always create copy of the variable
11175         on the stack.
11177         [BZ #11895]
11178         * misc/pselect.c (__pselect): Handle timeout value errors hidden
11179         through underflows.
11181         [BZ #12766]
11182         * misc/error.c (error_at_line): Ensure file_name and old_file_name
11183         point to strings before performing equality test for error_one_per_line
11184         mode.
11186         [BZ #11697]
11187         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11189         [BZ #11820]
11190         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11191         (struct user_fpregs_struct): Avoid __uint*_t types.
11193         [BZ #6420]
11194         * malloc/mtrace.c (tr_where): Add additional parameter to point to
11195         symbol info.  Use it instead of calling _dl_addr locally.
11196         (lock_and_info): New function.
11197         (tr_freehook): Call lock_and_info and pass symbol info as additional
11198         parameter to tr_where.
11199         (tr_mallochook): Likewise.
11200         (tr_reallochook): Likewise.
11201         (tr_memalignhook): Likewise.
11203         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
11204         used and couldn't be at all thread-safe.
11206 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
11208         * libio/freopen.c (freopen): Don't close old file descriptor
11209         before the new one is opened.  Instead dup the new file descriptor
11210         to the old one after the new stream is created.
11211         * libio/freopen64.c (freopen64): Likewise.
11212         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11213         * libio/fileops.c (_IO_new_file_close_it): Handle new
11214         _IO_FLAGS2_NOCLOSE flag.
11215         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11216         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11217         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11218         _IO_FLAGS2_NOCLOSE flag.
11219         * include/unistd.h: Add hidden_proto for dup3.
11220         Define __have_dup3.
11221         * io/dup3.c: Define hidden symbol.
11222         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11224         [BZ #7101]
11225         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11226         when an incomplete long option is used.
11227         * posix/tst-getopt_long1.c: New file.
11228         * posix/Makefile (tests): Add tst-getopt_long1.
11230         [BZ #10138]
11231         * scripts/config.guess: Update from autoconf-2.68.
11232         * scripts/config.sub: Likewise.
11234         [BZ #10157]
11235         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11236         tests into ...
11237         (has_cpuclock): ...this.  New function.
11238         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11239         macro here based on has_cpuclock code.
11241         [BZ #10149]
11242         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11243         First byte (not low byte) is now always NUL.
11244         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11246         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11247         Use non-cancelable interfaces.
11249         [BZ #9809]
11250         * locale/iso-639.def: Add entry for Sorani.
11252         [BZ #11901]
11253         * include/stdlib.h: Move include protection to the right place.
11254         Define abort_msg_s.  Declare __abort_msg with it.
11255         * stdlib/abort.c (__abort_msg): Adjust type.
11256         * assert/assert.c (__assert_fail_base): New function.  Majority
11257         of code from __assert_fail.  Allocate memory for __abort_msg with
11258         mmap.
11259         (__assert_fail): Now call __assert_fail_base.
11260         * assert/assert-perr.c: Remove bulk of implementation.  Use
11261         __assert_fail_base.
11262         * include/assert.hL Declare __assert_fail_base.
11263         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11264         mmap.
11265         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11267 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
11269         [BZ #11952]
11270         [BZ #12453]
11271         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11272         until all modules are registered in the DTV.
11273         * elf/Makefile: Add rules to build and run tst-tls19.
11274         * elf/tst-tls19.c: New file.
11275         * elf/tst-tls19mod1.c: New file.
11276         * elf/tst-tls19mod2.c: New file.
11277         * elf/tst-tls19mod3.c: New file.
11278         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11280         [BZ #12083]
11281         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11282         correctly.
11284         [BZ #12601]
11285         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11286         two-byte sequence errors.
11287         * iconvdata/Makefile (tests): Add bug-iconv8.
11288         * iconvdata/bug-iconv8.c: New file.
11290         [BZ #12626]
11291         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11292         buf2 definition.
11294         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11296         [BZ #12432]
11297         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11298         (dummy_getcfa): New function.
11299         (init): Get _Unwind_GetCFA address, use dummy if not found.
11300         (backtrace_helper): In recursion check, also check whether CFA changes.
11301         (__backtrace): Completely initialize arg.
11303         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11304         storing incomplete byte sequence in state object.  Avoid testing for
11305         guaranteed too small input if we know there is enough data available.
11307 2011-05-11  Andreas Schwab  <schwab@redhat.com>
11309         * Makeconfig (+link-pie): Indent.
11310         * Rules (binaries-pie): Define if $(have-fpie) and
11311         $(build-shared).
11312         (binaries-shared): Also filter out $(binaries-pie).
11313         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11314         * nscd/Makefile (others-pie): Add nscd.
11315         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11316         ($(objpfx)nscd): Remove command override.
11317         * login/Makefile (others-pie): Add pt_chown.
11318         ($(objpfx)pt_chown): Remove command override.
11319         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11320         remove command overrides.
11322 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
11324         * libio/tst_putwc.c: Fix error messages.
11326         [BZ #12724]
11327         * libio/fileops.c (_IO_new_file_close_it): Always flush when
11328         currently writing and seek to current position when not.
11329         * libio/Makefile (tests): Add bug-fclose1.
11330         * libio/bug-fclose1.c: New file.
11332 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
11334         [BZ #12511]
11335         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11336         don't set DF_1_NODELETE here.
11337         (do_lookup_x): When entering new entry test for copy relocation
11338         and if necessary set DF_1_NODELETE flag.
11339         * elf/tst-unique4.cc: New file.
11340         * elf/tst-unique4.h: New file.
11341         * elf/tst-unique4lib.cc: New file.
11342         * elf/Makefile: Add rules to build and run tst-unique4.
11343         Patch by Piotr Bury <pbury@goahead.com>.
11345 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
11347         [BZ #12052]
11348         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11350         [BZ #12625]
11351         * misc/mntent_r.c (addmntent): Flush the stream after the output
11353         [BZ #12393]
11354         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11355         (is_trusted_path_normalize): Skip initial colon.  Append slash
11356         to empty buffer.  Duplicate is_trusted_path code but allow
11357         constructed patch to be prefix.
11358         (is_dst): Allow $ORIGIN followed by /.
11359         (_dl_dst_substitute): Correct clearing of check_for_trusted.
11360         Correct testing of result of is_trusted_path_normalize
11361         (decompose_rpath): Fix warning.
11363 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
11365         [BZ #11257]
11366         * grp/initgroups.c (internal_getgrouplist): When we found the service
11367         list through the initgroups entry in nsswitch.conf do not always
11368         continue on a successful lookup.  Don't always use the
11369         __nss_group_database value if it is set.
11370         * nss/nsswitch.conf (initgroups): Change action for successful db
11371         lookup to continue for compatibility.
11373 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
11375         [BZ #11532]
11376         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11377         and CP774 modules.
11378         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11379         and CP774 modules.
11380         * iconvdata/tst-tables.sh: Likewise.
11381         * iconvdata/cp770.c: New file.
11382         * iconvdata/cp771.c: New file.
11383         * iconvdata/cp772.c: New file.
11384         * iconvdata/cp773.c: New file.
11385         * iconvdata/cp774.c: New file.
11386         * iconvdata/testdata/CP770: New file.
11387         * iconvdata/testdata/CP770..UTF8: New file.
11388         * iconvdata/testdata/CP771: New file.
11389         * iconvdata/testdata/CP771..UTF8: New file.
11390         * iconvdata/testdata/CP772: New file.
11391         * iconvdata/testdata/CP772..UTF8: New file.
11392         * iconvdata/testdata/CP773: New file.
11393         * iconvdata/testdata/CP773..UTF8: New file.
11394         * iconvdata/testdata/CP774: New file.
11395         * iconvdata/testdata/CP774..UTF8: New file.
11397         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11398         END CHARMAP line.
11399         * iconvdata/gen-8bit-gap.sh: Likewise.
11400         * iconvdata/gen-8bit.sh: Likewise.
11402         * locale/iso-639.def: Add ary entry.
11404         [BZ #11258]
11405         * locale/C-translit.h.in: Add U20A1 transliteration.
11407         [BZ #12178]
11408         * locale/iso-639.def: Add wae entry.
11409         Patch by Kevin Bortis <bortis@translate-wae.ch>.
11411         [BZ #12545]
11412         * locale/programs/localedef.c (construct_output_path): Use ssize_t
11413         for n.
11415         [BZ #12711]
11416         * locale/C-translit.h.in: Add entry for U20B9.
11417         Patch by pravin.d.s@gmail.com.
11419 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
11421         [BZ #12713]
11422         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11423         ENAMETOOLONG use generic getcwd.
11424         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
11425         in rtld.  Use *stat64.
11426         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11427         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11428         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11429         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11430         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11431         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11432         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11433         __fstatat64 macros.
11434         * include/dirent.h: Add libc_hidden_proto for rewinddir.
11435         * dirent/rewinddir.c: Add libc_hidden_def.
11436         * sysdeps/mach/hurd/rewinddir.c: Likewise.
11437         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
11439         * include/dirent.h (__alloc_dir): Add flags parameter.
11440         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11441         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11442         __alloc_dir.
11443         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
11444         from fdopendir if O_CLOEXEC is already set.
11446 2011-03-15  Alan Modra  <amodra@gmail.com>
11448         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11449         l_tls_firstbyte_offset non-zero.  Save padding offset in
11450         l_tls_firstbyte_offset for later use.
11451         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11452         freeing static tls block.
11454 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
11456         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11457         where #ifdef was intended.  The intent is to prevent ARG_MAX from
11458         being defined by the kernel headers.
11460 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
11462         [BZ #12734]
11463         * resolv/resolv.h: Define RES_NOTLDQUERY.
11464         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11465         no-tld-query and set RES_NOTLDQUERY.
11466         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11467         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11468         modern BIND to search name as TLD unless forbidden.
11470 2011-05-07  Petr Baudis  <pasky@suse.cz>
11471             Ulrich Drepper  <drepper@gmail.com>
11473         [BZ #12393]
11474         * elf/dl-load.c (fillin_rpath): Move trusted path check...
11475         (is_trusted_path): ...to here.
11476         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11477         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11478         using is_trusted_path_normalize() in setuid scripts.
11480 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11482         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11483         __BEGIN/__END_DECLS.
11485 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
11487         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11488         NSS_STATUS_NOTFOUND if no record was found.
11490 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11492         * sunrpc/Makefile (headers): Add rpc/netdb.h.
11493         (headers-not-in-tirpc): Remove rpc/netdb.h
11494         * resolv/netdb.h: Revert last change.
11496 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11498         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11499         circular dependency between libgcc.a and libc.a.
11501 2011-05-05  Andreas Schwab  <schwab@redhat.com>
11503         * resolv/netdb.h: Don't include <rpc/netdb.h>.
11504         * nis/Makefile: Don't install rpcsvc/*.
11505         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11506         instead of <rpc/types.h>.
11507         (MAXHOSTNAMELEN): Define.
11509 2011-05-03  Andreas Schwab  <schwab@redhat.com>
11511         * elf/ldconfig.c (add_dir): Don't crash on empty path.
11513 2011-04-28  Maciej Babinski  <mbabinski@google.com>
11515         [BZ #12714]
11516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11517         gethostbyname4_r when IPv6 results are possible.
11519 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
11521         [BZ #12723]
11522         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11523         _PC_PIPE_BUF handling.
11525 2011-04-30  Bruno Haible  <bruno@clisp.org>
11527         [BZ #12717]
11528         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11529         * resolv/netdb.h (getnameinfo): Change type of flags parameter
11530         to 'int'.
11531         * inet/getnameinfo.c (getnameinfo): Likewise.
11533 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
11535         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11536         to groups setting in database lookup.
11537         * nss/nsswitch.conf: Add initgroups entry.
11539 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
11541         [BZ #12685]
11542         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11543         mode string.
11544         Patch by Eric Blake <eblake@redhat.com>.
11546 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
11548         * sunrpc/Makefile (need-export-routines): Add svc_run.
11549         (routines): Remove svc_run.
11550         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11551         * sunrpc/clnt_perr.c (clnt_perrno): Export.
11552         * sunrpc/svc_run.c (svc_run): Likewise.
11553         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11555 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
11557         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11558         problem in reallocation in last patch.
11560 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
11562         * sunrpc/Makefile: Move inclusion of Rules.
11564 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11566         * nss/nss_files/files-initgroups.c: New file.
11567         * nss/Makefile (libnss_files-routines): Add files-initgroups.
11568         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11569         _nss_files_initgroups_dyn.
11571 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
11573         * elf/elf.h (R_ARM_IRELATIVE): Define.
11575 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
11577         * po/ru.po: Update from translation team.
11579 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11581         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11582         dependencies.
11584 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
11586         [BZ #12653]
11587         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11588         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11589         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11590         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11591         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11593 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
11595         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11596         differing bytes.
11597         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11598         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11599         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11601 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
11603         [BZ #12420]
11604         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11605         storing it.
11606         * stdlib/bug-getcontext.c: New file.
11607         * stdlib/Makefile: Add rules to build and run bug-getcontext.
11609 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11611         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11612         instructions into .machine "z9-109".
11613         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11614         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11616 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11618         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11619         between environment variables and auxiliary vector.
11621 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
11623         * Makefile: Add rules to build linkobj/libc.so.
11624         * include/libc-symbols.h: Define libc_hidden_nolink.
11625         * include/rpc/auth.h: Mark functions which are to be hidden.
11626         * include/rpc/auth_des.h: Likewise.
11627         * include/rpc/auth_unix.h: Likewise.
11628         * include/rpc/clnt.h: Likewise.
11629         * include/rpc/des_crypt.h: Likewise.
11630         * include/rpc/key_prot.h: Likewise.
11631         * include/rpc/pmap_clnt.h: Likewise.
11632         * include/rpc/pmap_prot.h: Likewise.
11633         * include/rpc/pmap_rmt.h: Likewise.
11634         * include/rpc/rpc_msg.h: Likewise.
11635         * include/rpc/svc.h: Likewise.
11636         * include/rpc/svc_auth.h: Likewise.
11637         * include/rpc/xdr.h: Likewise.
11638         * nis/Makefile: Link all DSOs against linkobj/libc.so.
11639         * nss/Makefile: Likewise.
11640         * sunrpc/Makefile: Don't install headers.  Build library with normal
11641         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
11642         * sunrpc/auth_des.c: Hide exported symbols by default, export some
11643         for the compat linking library.  Remove use of INTDEF/INTUSE.
11644         * sunrpc/auth_none.c: Likewise.
11645         * sunrpc/auth_unix.c: Likewise.
11646         * sunrpc/authdes_prot.c: Likewise.
11647         * sunrpc/authuxprot.c: Likewise.
11648         * sunrpc/clnt_gen.c: Likewise.
11649         * sunrpc/clnt_perr.c: Likewise.
11650         * sunrpc/clnt_raw.c: Likewise.
11651         * sunrpc/clnt_simp.c: Likewise.
11652         * sunrpc/clnt_tcp.c: Likewise.
11653         * sunrpc/clnt_udp.c: Likewise.
11654         * sunrpc/clnt_unix.c: Likewise.
11655         * sunrpc/des_crypt.c: Likewise.
11656         * sunrpc/des_soft.c: Likewise.
11657         * sunrpc/get_myaddr.c: Likewise.
11658         * sunrpc/key_call.c: Likewise.
11659         * sunrpc/key_prot.c: Likewise.
11660         * sunrpc/netname.c: Likewise.
11661         * sunrpc/pm_getmaps.c: Likewise.
11662         * sunrpc/pm_getport.c: Likewise.
11663         * sunrpc/pmap_clnt.c: Likewise.
11664         * sunrpc/pmap_prot.c: Likewise.
11665         * sunrpc/pmap_prot2.c: Likewise.
11666         * sunrpc/pmap_rmt.c: Likewise.
11667         * sunrpc/publickey.c: Likewise.
11668         * sunrpc/rpc_cmsg.c: Likewise.
11669         * sunrpc/rpc_common.c: Likewise.
11670         * sunrpc/rpc_dtable.c: Likewise.
11671         * sunrpc/rpc_prot.c: Likewise.
11672         * sunrpc/rpc_thread.c: Likewise.
11673         * sunrpc/rtime.c: Likewise.
11674         * sunrpc/svc.c: Likewise.
11675         * sunrpc/svc_auth.c: Likewise.
11676         * sunrpc/svc_authux.c: Likewise.
11677         * sunrpc/svc_raw.c: Likewise.
11678         * sunrpc/svc_run.c: Likewise.
11679         * sunrpc/svc_simple.c: Likewise.
11680         * sunrpc/svc_tcp.c: Likewise.
11681         * sunrpc/svc_udp.c: Likewise.
11682         * sunrpc/svc_unix.c: Likewise.
11683         * sunrpc/svcauth_des.c: Likewise.
11684         * sunrpc/xcrypt.c: Likewise.
11685         * sunrpc/xdr.c: Likewise.
11686         * sunrpc/xdr_array.c: Likewise.
11687         * sunrpc/xdr_float.c: Likewise.
11688         * sunrpc/xdr_intXX_t.c: Likewise.
11689         * sunrpc/xdr_mem.c: Likewise.
11690         * sunrpc/xdr_rec.c: Likewise.
11691         * sunrpc/xdr_ref.c: Likewise.
11692         * sunrpc/xdr_sizeof.c: Likewise.
11693         * sunrpc/xdr_stdio.c: Likewise.
11695 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
11697         [BZ #12650]
11698         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11699         * sysdeps/ia64/dl-tls.h: Likewise.
11700         * sysdeps/powerpc/dl-tls.h: Likewise.
11701         * sysdeps/s390/dl-tls.h: Likewise.
11702         * sysdeps/sh/dl-tls.h: Likewise.
11703         * sysdeps/sparc/dl-tls.h: Likewise.
11704         * sysdeps/x86_64/dl-tls.h: Likewise.
11705         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11707 2011-03-14  Andreas Schwab  <schwab@redhat.com>
11709         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11710         rpath element also skip the following colon.
11711         (expand_dynamic_string_token): Add is_path parameter and pass
11712         down to DL_DST_REQUIRED and _dl_dst_substitute.
11713         (decompose_rpath): Call expand_dynamic_string_token with
11714         non-zero is_path.  Ignore empty rpaths.
11715         (_dl_map_object_from_fd): Call expand_dynamic_string_token
11716         with zero is_path.
11718 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
11720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11721         Make cancelable.
11723 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
11725         [BZ #12655]
11726         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11727         Patch by Filipe David Manana <fdmanana@apache.org>.
11729 2011-04-07  Andreas Schwab  <schwab@redhat.com>
11731         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11732         Maintain aligned stack.
11733         (CHECK_RSP): Remove unused macro.
11735 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
11737         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11738         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11740 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
11742         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11744         * include/features.h: Mention __USE_XOPEN2K8 in comment.
11746 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
11748         [BZ #12518]
11749         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11750         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11751         * sysdeps/x86_64/memmove.c: New file.
11752         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11753         (memcpy): Renamed to ...
11754         (__new_memcpy): This.
11755         (memcpy): Provide GLIBC_2_14 memcpy.
11756         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11757         (memcpy): Provide GLIBC_2_2_5 memcpy.
11759 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11761         [BZ #12631]
11762         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11764 2011-03-30  Andreas Schwab  <schwab@redhat.com>
11766         * misc/syncfs.c: New file.
11767         * misc/Makefile (routines): Add syncfs.
11768         * posix/unistd.h: Declare syncfs.
11769         * sysdeps/unix/syscalls.list: Add syncfs.
11771 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11773         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11774         open_by_handle_at.
11775         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11776         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11777         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11778         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11780         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11781         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11783 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11785         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11786         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11787         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11788         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11789         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11791         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11793         * io/Makefile: Compile fallocate.c, fallocate64.c, and
11794         sync_file_range.c with -fexceptions.
11795         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11796         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11797         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11798         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11799         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11800         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11801         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11802         sync_file_range as cancellation point
11803         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
11804         now a wrapper around __call_sync_file_range with cancellation handling.
11805         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11806         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
11807         function name to __call_sync_file_range.
11808         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11809         Add call_sync_file_range.
11811 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11814         bits/timex.h.
11816 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11818         * iconv/iconv.h: Fix typo in comment.
11819         * io/fcntl.h: Likewise.
11820         * libio/stdio.h: Likewise.
11821         * posix/spawn.h: Likewise.
11822         * posix/unistd.h: Likewise.
11823         * stdlib/stdlib.h: Likewise.
11824         * time/time.h: Likewise.
11825         * wcsmbs/wchar.h: Likewise.
11827         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11828         open_by_handle): Add.
11829         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11830         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
11831         Augment a few comments.
11832         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11833         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11834         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11835         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11836         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11837         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11838         open_by_handle.
11840         * io/fcntl.h (AT_EMPTY_PATH): Define.
11842 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
11844         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11845         * sysdeps/unix/sysv/linux/bits/time.h: New file.
11846         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11847         to...
11848         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
11849         * Versions.def: Add GLIBC_2.14.
11850         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11851         Export.
11853 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
11855         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11856         round counter.
11857         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11859 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11861         [BZ #12597]
11862         * string/test-strncmp.c (do_page_test): New function.
11863         (check2): Likewise.
11864         (test_main): Call check2.
11865         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11867 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
11869         [BZ #12587]
11870         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11871         Handle cache information in CPU leaf 4.
11872         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11874 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
11876         [BZ #12583]
11877         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11878         character representation.
11879         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11881 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
11883         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11884         END(__isnan) to END(__isnanf) to match function entry point/label
11885         EALIGN(__isnanf,...).
11887 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
11889         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11891 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
11893         [BZ #12510]
11894         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11895         copy from the symbol referenced in the relocation to initialize the
11896         used variable.
11897         Patch by Piotr Bury <pbury@goahead.com>.
11898         * elf/Makefile: Add rules to build and tst-unique3.
11899         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11900         * elf/tst-unique3.cc: New file.
11901         * elf/tst-unique3.h: New file.
11902         * elf/tst-unique3lib.cc: New file.
11903         * elf/tst-unique3lib2.cc: New file.
11905         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11907 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
11909         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11910         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
11911         to _start.
11913 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
11915         * elf/dl-load.c (_dl_map_object): If we are looking for the first
11916         to-be-loaded object along a path to loader is ld.so.
11918 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
11919             Ulrich Drepper  <drepper@gmail.com>
11921         * sysdeps/x86_64/memset.S: After aligning destination, code
11922         branches to different locations depending on the value of
11923         misalignment, when multiarch is enabled. Fix this.
11925 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
11927         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11928         Set _x86_64_preferred_memory_instruction for AMD processsors.
11929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11930         Set bit_Prefer_SSE_for_memop for AMD processors.
11932 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
11934         * libio/fmemopen.c (fmemopen): Optimize a bit.
11936 2011-03-03  Andreas Schwab  <schwab@redhat.com>
11938         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11940 2011-03-03  Roland McGrath  <roland@redhat.com>
11942         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11944 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
11946         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11947         __bzero_ultra1 instead of __memset_ultra1.
11949 2011-02-23  Andreas Schwab  <schwab@redhat.com>
11950             Ulrich Drepper  <drepper@gmail.com>
11952         [BZ #12509]
11953         * include/link.h (struct link_map): Add l_orig_initfini.
11954         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11955         returning unsuccessfully.
11956         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11957         close of a file loaded at startup, restore the original l_initfini
11958         list.
11959         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11960         list, store the pointer.
11961         * elf/Makefile ($(objpfx)noload-mem): New rule.
11962         (noload-ENV): Define.
11963         (tests): Add $(objpfx)noload-mem.
11964         * elf/noload.c: Include <memcheck.h>.
11965         (main): Call mtrace.  Close all opened handles.
11967 2011-02-17  Andreas Schwab  <schwab@redhat.com>
11969         [BZ #12454]
11970         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11971         dependencies are missing.
11973 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11975         Fix __if_freereq crash: Unlike the generic version which uses free,
11976         Hurd needs munmap.
11977         * sysdeps/mach/hurd/ifreq.h: New file.
11979 2011-01-27  Petr Baudis  <pasky@suse.cz>
11980             Ulrich Drepper  <drepper@gmail.com>
11982         [BZ 12445]#
11983         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11984         to extend_alloca().
11985         * stdio-common/bug23.c: New file.
11986         * stdio-common/Makefile (tests): Add bug23.
11988 2010-09-28  Andreas Schwab  <schwab@redhat.com>
11989             Ulrich Drepper  <drepper@gmail.com>
11991         [BZ #12489]
11992         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11993         before performing relro protection.  At old place add assertion
11994         to make sure nothing changed.
11996 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
11997             Glauber de Oliveira Costa  <glommer@gmail.com>
11999         * elf/elf.h: Add new ARM TLS relocs.
12001 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
12003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12004         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12005         cast from r3.
12006         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
12007         'tests' variable.
12008         * sysdeps/wordsize-64/tst-writev.c: New file.
12010 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
12012         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12013         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12014         insns in _dl_start to prevent a TOC reference before relocs are
12015         resolved.
12017 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
12019         [BZ #12469]
12020         * Makeconfig: Remove RANLIB definition.
12021         * Makerules: Don't use RANLIB.
12022         * aclocal.m4: Remove ranlib test.
12023         * configure.in: No need to check for ranlib.
12024         * elf/rtld-Rules: Don't use RANLIB.
12026 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12028         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12029         protection macro.
12030         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12031         inclusion protection macro.
12033         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12034         SIGRTMIN and SIGRTMAX and print information in that case only when
12035         SIGRTMIN is defined.
12037 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
12039         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12040         arginfo fn returning -1.
12042         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12043         and thousands string is zero terminated.
12045 2011-02-03  Andreas Schwab  <schwab@redhat.com>
12047         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12048         sysdeps/unix/sysv/linux/bits/socket.h.
12050 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12052         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12053         (__CPU_COUNT): Remove old macros.
12054         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12055         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12056         (__CPU_ALLOC, __CPU_FREE): Add macros.
12057         (__sched_cpualloc, __sched_cpufree): Add declarations.
12059 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
12061         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12062         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12063         * nscd/aicache.c (addhstaiX): Return timeout of added value.
12064         (readdhstai): Return value of addhstaiX call.
12065         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12066         (addgrbyX): Return value returned by cache_addgr.
12067         (readdgrbyname): Return value returned by addgrbyX.
12068         (readdgrbygid): Likewise.
12069         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12070         (addpwbyX): Return value returned by cache_addpw.
12071         (readdpwbyname): Return value returned by addhstbyX.
12072         (readdpwbyuid): Likewise.
12073         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12074         (addservbyX): Return value returned by cache_addserv.
12075         (readdservbyname): Return value returned by addservbyX:
12076         (readdservbyport): Likewise.
12077         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12078         (addhstbyX): Return value returned by cache_addhst.
12079         (readdhstbyname): Return value returned by addhstbyX.
12080         (readdhstbyaddr): Likewise.
12081         (readdhstbynamev6): Likewise.
12082         (readdhstbyaddrv6): Likewise.
12083         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12084         (readdinitgroups): Return value returned by addinitgroupsX.
12085         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12086         (prune_cache): Keep track of timeout value of re-added entries.
12087         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12088         * nscd/nscd.h: Adjust prototypes of readd* functions.
12090 2011-02-04  Roland McGrath  <roland@redhat.com>
12092         * nis/nis_server.c (nis_servstate): Use the right name for 0.
12093         (nis_stats): Likewise.
12094         * nis/nis_modify.c (nis_modify): Likewise.
12095         * nis/nis_remove.c (nis_remove): Likewise.
12096         * nis/nis_add.c (nis_add): Likewise.
12098         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12100         * posix/fnmatch_loop.c: Add some consts.
12102         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12104 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
12106         [BZ #12460]
12107         * config.make.in (config-cflags-novzeroupper): Define.
12108         * configure.in: Substitute libc_cv_cc_novzeroupper.
12109         * elf/Makefile (AVX-CFLAGS): Define.
12110         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12111         (CFLAGS-tst-auditmod4a.c): Likewise.
12112         (CFLAGS-tst-auditmod4b.c): Likewise.
12113         (CFLAGS-tst-auditmod6b.c): Likewise.
12114         (CFLAGS-tst-auditmod6c.c): Likewise.
12115         (CFLAGS-tst-auditmod7b.c): Likewise.
12116         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12118 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
12120         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12121         function to the callback.
12122         Patch partly by Jiri Olsa <jolsa@redhat.com>.
12124 2011-02-02  Andreas Schwab  <schwab@redhat.com>
12126         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12127         of errno.
12129 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
12131         [BZ #11724]
12132         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12133         of constructors.
12134         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12135         of destructors.
12136         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12138         [BZ #11724]
12139         * elf/Makefile: Add rules to build and run new test.
12140         * elf/tst-initorder.c: New file.
12141         * elf/tst-initorder.exp: New file.
12142         * elf/tst-initordera1.c: New file.
12143         * elf/tst-initordera2.c: New file.
12144         * elf/tst-initordera3.c: New file.
12145         * elf/tst-initordera4.c: New file.
12146         * elf/tst-initorderb1.c: New file.
12147         * elf/tst-initorderb2.c: New file.
12148         * elf/tst-order-a1.c: New file.
12149         * elf/tst-order-a2.c: New file.
12150         * elf/tst-order-a3.c: New file.
12151         * elf/tst-order-a4.c: New file.
12152         * elf/tst-order-b1.c: New file.
12153         * elf/tst-order-b2.c: New file.
12154         * elf/tst-order-main.c: New file.
12155         New test case by George Gensure <werkt0@gmail.com>.
12157 2010-10-01  Andreas Schwab  <schwab@redhat.com>
12159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12160         decoding ACE if AI_CANONIDN.
12162 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
12164         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12166 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
12168         * version.h (RELEASE): Bump for 2.13 release.
12169         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12171         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12173         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12174         MADV_NOHUGEPAGE.
12175         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12176         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12177         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12178         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12179         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12180         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12182         * posix/getconf.c: Update copyright year.
12183         * catgets/gencat.c: Likewise.
12184         * csu/version.c: Likewise.
12185         * debug/catchsegv.sh: Likewise.
12186         * debug/xtrace.sh: Likewise.
12187         * elf/ldconfig.c: Likewise.
12188         * elf/ldd.bash.in: Likewise.
12189         * elf/sprof.c (print_version): Likewise.
12190         * iconv/iconv_prog.c: Likewise.
12191         * iconv/iconvconfig.c: Likewise.
12192         * locale/programs/locale.c: Likewise.
12193         * locale/programs/localedef.c: Likewise.
12194         * malloc/memusage.sh: Likewise.
12195         * malloc/mtrace.pl: Likewise.
12196         * nscd/nscd.c (print_version): Likewise.
12197         * nss/getent.c: Likewise.
12199         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12200         PF_CAIF, and PF_ALG.
12201         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12203 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
12205         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12206         (modules-names): Use them.
12207         (ifunc-test-modules, ifunc-pie-tests): Define.
12208         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12209         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12210         (test-extras): Likewise.
12211         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12212         $(compile-command.c).
12213         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12214         (all-built-dso): Define.
12215         (check-textrel.out, check-execstack.out): Depend on it.
12217         * configure.in: Don't override --enable-multi-arch.
12219 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
12221         [BZ #6812]
12222         * nscd/hstcache.c (tryagain): Define.
12223         (cache_addhst): Return tryagain not notfound for temporary errors.
12224         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12225         failed.
12227 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
12229         [BZ #10563]
12230         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12231         to make the syscall.
12232         * sysdeps/unix/sysv/linux/setgroups.c: New file.
12234         [BZ #12378]
12235         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12236         and fall back to matching as normal character if the string ends before
12237         the matching ']' is found.  This is what POSIX requires.
12238         * posix/testfnm.c: Adjust test result.
12239         * posix/globtest.sh: Adjust test result.  Add new test.
12240         * posix/tst-fnmatch.input: Likewise.
12241         * posix/tst-fnmatch2.c: Add new test.
12243 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
12245         * elf/Makefile (check-execstack): Revert last change.  Depend on
12246         check-execstack.h.
12247         (check-execstack.h): New target.
12248         (generated): Add check-execstack.h.
12249         * elf/check-execstack.c: Include "check-execstack.h".
12250         (main): Revert last change.
12251         (handle_file): Return zero if GNU_STACK is absent and
12252         DEFAULT_STACK_PERMS doesn't include PF_X.
12254 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
12256         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12257         in child fails because the descriptor is already closed.
12258         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12259         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12260         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12262         [BZ #12397]
12263         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12264         syscall.
12266         [BZ #10484]
12267         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12268         temporary buffer used to handle multi lookups locally.
12269         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12271 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12273         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12274         loader is ld.so.
12276 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
12278         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12279         alignment for SSE2.
12281 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12283         [BZ #12394]
12284         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12285         characters.  When rounding increased number of integer digits recompute
12286         number of groups.
12287         * stdio-common/tst-grouping.c: New file.
12288         * stdio-common/Makefile: Add rules to build and run tst-grouping.
12290 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
12292         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12293         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
12295         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12296         void.
12297         * bits/select.h: Likewise.
12299 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
12301         * po/ja.po: Update from translation team.
12303 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
12305         [BZ #11155]
12306         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12307         implementation just like for lxstat, fxstatat, et al.
12309 2010-12-27  Jim Meyering  <meyering@redhat.com>
12311         [BZ #12348]
12312         * posix/regexec.c (build_trtable): Return failure indication upon
12313         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
12315 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
12317         [BZ #12201]
12318         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12319         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12320         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12321         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12323         [BZ #12207]
12324         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12326         [BZ #12204]
12327         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12328         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12330 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12332         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12333         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12334         script has SORT_BY_INIT_PRIORITY.
12335         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12336         NO_CTORS_DTORS_SECTIONS is defined.
12337         * elf/soinit.c: Likewise.
12338         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12339         NO_CTORS_DTORS_SECTIONS is defined.
12340         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12341         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12342         * sysdeps/sh/init-first.c: Likewise.
12343         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12345 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
12347         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12348         always use the slow path.
12350 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
12352         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12353         similar rule which adds the sysdep directories to the header search in
12354         order to pick up the correct platform stackinfo.h.
12355         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12356         perform test if it is, otherwise return successfully without testing.
12357         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12358         DEFAULT_STACK_PERMS define in stackinfo.h.
12359         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12360         defined in stackinfo.h.
12361         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12362         DEFAULT_STACK_PERMS defined in stackinfo.h.
12363         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12364         * sysdeps/ia64/stackinfo.h: Likewise.
12365         * sysdeps/s390/stackinfo.h: Likewise.
12366         * sysdeps/sh/stackinfo.h: Likewise.
12367         * sysdeps/sparc/stackinfo.h: Likewise.
12368         * sysdeps/x86_64/stackinfo.h: Likewise.
12369         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12370         PF_X for powerpc64.  Retain PF_X for powerpc32.
12372 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
12374         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12375         accurately.
12376         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12377         GETDENTS_64BIT_ALIGNED.
12379 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
12381         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12383 2010-12-10  Andreas Schwab  <schwab@redhat.com>
12385         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12386         _GNU_SOURCE.
12388         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12389         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12390         Remove __restrict.
12391         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12392         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12394 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
12396         [BZ #11655]
12397         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12398         are initialized.
12400 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
12402         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12404 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
12406         * po/it.po: Update from translation team.
12408 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12410         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12411         unused codes.
12413 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
12415         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12417 2010-11-24  Andreas Schwab  <schwab@redhat.com>
12419         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12420         specially.
12421         (gaih_getanswer_slice): Likewise.
12423 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
12425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12427 2010-05-31  Petr Baudis  <pasky@suse.cz>
12429         [BZ #11149]
12430         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12431         silently even in the chroot mode.
12433 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
12435         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12436         last patch a bit.  Pretty printing
12438 2010-05-31  Petr Baudis <pasky@suse.cz>
12440         [BZ #10085]
12441         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12442         initialization of skip_initgroups_dyn.
12444 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
12446         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12447         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12449 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
12451         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12453 2010-11-11  Andreas Schwab  <schwab@redhat.com>
12455         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12456         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12457         (tst-fnmatch-ENV): Set MALLOC_TRACE.
12458         ($(objpfx)tst-fnmatch-mem): New rule.
12459         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12460         * posix/tst-fnmatch.c (main): Call mtrace.
12462 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
12464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12465         Support Intel processor model 6 and model 0x2c.
12467 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
12469         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12470           signed comparison.
12472 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
12474         [BZ #12205]
12475         * string/test-strncasecmp.c (check_result): New function.
12476         (do_one_test): Use it.
12477         (check1): New function.
12478         (test_main): Use it.
12479         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12480         Support strcasecmp and strncasecmp.
12482 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
12484         [BZ #12194]
12485         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12486         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12488 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12490         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12491         IFUNC support.
12492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12493         memset-x86-64.
12494         * sysdeps/x86_64/multiarch/bzero.S: New file.
12495         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12496         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12497         * sysdeps/x86_64/multiarch/memset.S: New file.
12498         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12499         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12500         Set bit_Prefer_SSE_for_memop for Intel processors.
12501         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12502         Define.
12503         (index_Prefer_SSE_for_memop): Define.
12504         (HAS_PREFER_SSE_FOR_MEMOP): Define.
12506 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
12508         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12509         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12511 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
12513         [BZ #12191]
12514         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12515         (__x86_64_raw_data_cache_size_half): Likewise.
12516         (__x86_64_raw_shared_cache_size): Likewise.
12517         (__x86_64_raw_shared_cache_size_half): Likewise.
12519         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12520         (__x86_64_raw_data_cache_size_half): Likewise.
12521         (__x86_64_raw_shared_cache_size): Likewise.
12522         (__x86_64_raw_shared_cache_size_half): Likewise.
12523         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12524         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12525         and __x86_64_raw_shared_cache_size_half.  Round
12526         __x86_64_data_cache_size_half, __x86_64_data_cache_size
12527         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12528         to multiple of 256 bytes.
12530 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
12532         [BZ #12167]
12533         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12534         of inacessible symlinks.  Verify result of symlink before returning it.
12535         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12536         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12538 2010-10-28  Erich Ritz  <erichritz@gmail.com>
12540         * math/math.h (isinf): Fix typo in comment.
12542 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
12544         * po/da.po: Update from translation team.
12546 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
12548         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12549         is added to the list.
12551 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12552             Ulrich Drepper  <drepper@gmail.com>
12554         * elf/dl-object.c (_dl_new_object): Don't append the new object to
12555         the global list here.  Move code to...
12556         (_dl_add_to_namespace_list): ...here.  New function.
12557         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12558         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12559         * elf/dl-load.c (lose): Don't remove the element from the list.
12560         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12561         (_dl_map_object): Likewise.
12563 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
12565         [BZ #12159]
12566         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12567         into all bytes of SSE register.
12568         Patch by Richard Li <richardpku@gmail.com>.
12570 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
12572         [BZ #12140]
12573         * malloc/malloc.c (_int_free): Fill correct number of bytes when
12574         perturbing.
12576 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
12578         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12579         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12580         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12581         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12583         submachine.
12584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12586 2010-10-22  Andreas Schwab  <schwab@redhat.com>
12588         * include/dlfcn.h (__RTLD_SECURE): Define.
12589         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
12590         mode & __RTLD_SECURE instead.
12591         (open_path): Rename preloaded parameter to secure.
12592         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12593         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12594         * elf/dl-deps.c (openaux): Likewise.
12595         * elf/rtld.c (struct map_args): Remove is_preloaded.
12596         (map_doit): Don't use it.
12597         (dl_main): Likewise.
12598         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12599         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12601 2010-09-09  Andreas Schwab  <schwab@redhat.com>
12603         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12604         (sysd-rules-targets): Remove duplicates.
12605         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12606         rtld-%.$o dependency.
12608 2010-10-18  Andreas Schwab  <schwab@redhat.com>
12610         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12611         _dl_map_object do it.
12613 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
12615         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12616         fast fma builtins, define the macros in the C99 standard.
12617         (FP_FAST_FMAF): Likewise.
12618         (FP_FAST_FMAL): Likewise.
12619         * sysdeps/x86_64/bits/mathdef.h: Likewise.
12621         * bits/mathdef.h: Update copyright year.
12622         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12624 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
12626         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12627         builtins, define the macros in the C99 standard.
12628         (FP_FAST_FMAF): Likewise.
12629         (FP_FAST_FMAL): Likewise.
12630         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12631         multiply/add.
12632         (FP_FAST_FMAF): Likewise.
12634 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
12636         [BZ #3268]
12637         * math/libm-test.inc (fma_test): Some new testcases.
12638         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12639         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12640         y and infinite z.  Do multiplication by C already in long double.
12641         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12643         y and infinite z.  Do bitwise or of inexact bit into u.d.
12644         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12645         * sysdeps/i386/fpu/s_fmaf.S: Removed.
12646         * sysdeps/i386/fpu/s_fma.S: Removed.
12647         * sysdeps/i386/fpu/s_fmal.S: Removed.
12649 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
12651         [BZ #3268]
12652         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12653         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12654         computation is not scheduled after fetestexcept.  Fix value
12655         of minimum denormal long double.
12657 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
12659         [BZ #3268]
12660         * math/libm-test.inc (fma_test): Add some more tests.
12661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12662         correctly.
12664 2010-10-15  Andreas Schwab  <schwab@redhat.com>
12666         * scripts/data/localplt-s390-linux-gnu.data: New file.
12667         * scripts/data/localplt-s390x-linux-gnu.data: New file.
12669 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
12671         [BZ #3268]
12672         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12673         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12674         instead of dbl-64.
12675         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12676         inlines.
12677         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12679         if one of x and y is very large and the other is subnormal.
12680         * sysdeps/s390/fpu/s_fmaf.c: New file.
12681         * sysdeps/s390/fpu/s_fma.c: New file.
12682         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12683         * sysdeps/powerpc/fpu/s_fma.S: New file.
12684         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12685         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12686         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12688 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
12690         [BZ #3268]
12691         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12692         fma tests.
12693         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12694         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12695         * sysdeps/i386/i686/multiarch/s_fma.c: Include
12696         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12697         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12698         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12699         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12701 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
12703         [BZ #12078]
12704         * posix/regcomp.c (parse_branch): One more memory leak plugged.
12705         * posix/bug-regex31.input: Add test case.
12707 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12709         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12710         * posix/bug-regex31.input: New file.
12712         [BZ #12078]
12713         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12714         (parse_sub_exp): Fix last change, use postorder.
12716         * posix/bug-regex31.c: New file.
12717         * posix/Makefile: Add rules to build and run bug-regex31.
12719         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12721         [BZ #12078]
12722         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12724         [BZ #12108]
12725         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12726         to have entries in sys_siglist.
12728         [BZ #12093]
12729         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12730         be NULL.
12732 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
12734         [BZ #3268]
12735         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12736         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12737         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12738         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12739         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12740         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12741         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12742         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12743         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12744         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12745         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12746         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12747         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12748         * math/ftestexcept.c (fetestexcept): Likewise.
12749         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12750         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12751         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12752         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12753         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12754         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12755         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12757 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
12759         [BZ #12107]
12760         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12761         newline.
12763 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
12765         * string/bug-strstr1.c: New file.
12766         * string/Makefile: Add rules to build and run bug-strstr1.
12768 2010-10-05  Eric Blake  <eblake@redhat.com>
12770         [BZ #12092]
12771         * string/str-two-way.h (two_way_long_needle): Always clear memory
12772         when skipping input due to the shift table.
12774 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
12776         [BZ #12005]
12777         * malloc/mcheck.c: Handle large requests.
12779         [BZ #12077]
12780         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12781         for strncmp and strncasecmp.
12782         * string/stratcliff.c: Add tests for strcmp and strncmp.
12783         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12785 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12787         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12788         __set_fpscr.
12790 2010-09-30  Andreas Jaeger  <aj@suse.de>
12792         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12793         (CGROUP_SUPER_MAGIC): Define.
12794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12795         Handle btrfs and cgroup file systems.
12796         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12797         Likewise.
12799 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
12801         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12802         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12804 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12806         [BZ #12067]
12807         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12808         trying to locate the ELF header.
12810 2010-09-27  Andreas Schwab  <schwab@redhat.com>
12812         [BZ #11611]
12813         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12814         Mask out sign-bit copies when constructing f_fsid.
12816 2010-09-24  Petr Baudis <pasky@suse.cz>
12818         * debug/stack_chk_fail_local.c: Add missing licence exception.
12819         * debug/warning-nop.c: Likewise.
12821 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
12823         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12824         implementing getdents64 using getdents syscall, set d_type if
12825         __ASSUME_GETDENTS32_D_TYPE.
12827 2010-09-16  Andreas Schwab  <schwab@redhat.com>
12829         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12830         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12832 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
12834         [BZ #12037]
12835         * posix/unistd.h: Undo change of feature selection for ftruncate from
12836         2010-01-11.
12838 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
12840         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12841         detection.
12843 2010-09-20  Andreas Schwab  <schwab@redhat.com>
12845         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12846         fanotify_mark.
12847         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12849 2010-09-14  Andreas Schwab  <schwab@redhat.com>
12851         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12852         variables after CHECK_SP call.
12853         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12855 2010-09-13  Andreas Schwab  <schwab@redhat.com>
12856             Ulrich Drepper  <drepper@redhat.com>
12858         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12859         re-relocationg ld.so.
12860         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12861         _dl_init_paths call.
12862         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
12863         here anymore.
12865 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
12867         * resolv/res_init.c (__res_vinit): Count the default server we added.
12869 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
12870             Ulrich Drepper  <drepper@redhat.com>
12872         [BZ #11968]
12873         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12874         (____longjmp_chk): Use %ebx for saving value across system call.
12875         Add unwind info.
12877 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12879         * manual/Makefile: Don't mix pattern rules with normal rules.
12881 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12883         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12884         operation.
12885         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12886         * libio/iofopncook.c (_IO_cookie_init): Likewise.
12887         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12888         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12890         Likewise.
12892 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
12894         [BZ #11979]
12895         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12896         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12898 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
12900         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12901         * sysdeps/x86_64/addmul_1.S: Likewise.
12902         * sysdeps/x86_64/lshift.S: Likewise.
12903         * sysdeps/x86_64/mul_1.S: Likewise.
12904         * sysdeps/x86_64/rshift.S: Likewise.
12905         * sysdeps/x86_64/sub_n.S: Likewise.
12906         * sysdeps/x86_64/submul_1.S: Likewise.
12908 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12910         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12911         Define __sched_param instead of SCHED_* and sched_param when
12912         <bits/sched.h> is included with __need_schedparam defined.
12913         * bits/sched.h [__need_schedparam]
12914         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12915         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12916         (__defined_schedparam): Define to 1.
12917         (__sched_param): New structure, identical to sched_param.
12918         (__need_schedparam): Undefine.
12920 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
12922         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12923         (epoll_create1): Declare.
12925         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12927 2010-08-31  Andreas Schwab  <schwab@redhat.com>
12929         [BZ #7066]
12930         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12931         shifting retval into place.
12933 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
12935         * nis/rpcsvc/nis.h: Update copyright notice.
12936         * nis/rpcsvc/nis.x: Likewise.
12937         * nis/rpcsvc/nis_callback.h: Likewise.
12938         * nis/rpcsvc/nis_callback.x: Likewise.
12939         * nis/rpcsvc/nis_object.x: Likewise.
12940         * nis/rpcsvc/nis_tags.h: Likewise.
12941         * nis/rpcsvc/yp.h: Likewise.
12942         * nis/rpcsvc/yp.x: Likewise.
12943         * nis/rpcsvc/ypupd.h: Likewise.
12944         * nis/yp_xdr.c: Likewise.
12945         * nis/ypupdate_xdr.c: Likewise.
12947         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
12948         mainly the body of pmap_getport.  Add parameters to specify timeouts.
12949         (pmap_getport): Use __libc_rpc_getport.
12950         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12951         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12952         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12954 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
12956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12957         fanotify_mark.
12959 2010-08-27  Roland McGrath  <roland@redhat.com>
12961         * sysdeps/i386/i686/multiarch/Makefile
12962         (CFLAGS-varshift.c): New variable.
12964 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
12966         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12967         * sysdeps/i386/i686/multiarch/varshift.c: New file.
12969         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12971         * sysdeps/x86_64/strlen.S: Minimal code improvement.
12973 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12975         * sysdeps/x86_64/strlen.S: Unroll the loop.
12976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12977         strlen-sse2 strlen-sse2-bsf.
12978         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12979         __strlen_no_bsf if bit_Slow_BSF is set.
12980         (__strlen_sse42): Removed.
12981         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12982         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12984 2010-08-25  Roland McGrath  <roland@redhat.com>
12986         * sysdeps/x86_64/multiarch/varshift.S: File removed.
12987         * sysdeps/x86_64/multiarch/varshift.c: New file.
12988         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12989         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12990         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12991         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12993 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12996         strlen-sse2 strlen-sse2-bsf.
12997         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12998         __strlen_sse2_bsf if bit_Slow_BSF is unset.
12999         (__strlen_sse2): Removed.
13000         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13003         bit_Slow_BSF for Atom.
13004         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13005         (index_Slow_BSF): Define.
13006         (HAS_SLOW_BSF): Define.
13008 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
13010         [BZ #10851]
13011         * resolv/res_init.c (__res_vinit): When no server address at all
13012         is given default to loopback.
13014 2010-08-24  Roland McGrath  <roland@redhat.com>
13016         * configure.in: Remove config-name.h generation.
13017         * configure: Regenerated.
13018         * config-name.in: File removed.
13019         * scripts/config-uname.sh: New file.
13020         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13021         ($(objdir)config-name.h): New target.
13023         * sunrpc/rpc_parse.h: Avoid nested comment.
13025 2010-08-24  Richard Henderson  <rth@redhat.com>
13026             Ulrich Drepper  <drepper@redhat.com>
13027             H.J. Lu  <hongjiu.lu@intel.com>
13029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13031         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13032         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
13033         _mm_alignr_epi8 with _mm_loadu_si128.
13034         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13035         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13036         (__m128i_shift_right): Removed.
13037         * sysdeps/i386/i686/multiarch/varshift.h: New file.
13038         * sysdeps/i386/i686/multiarch/varshift.S: New file.
13039         * sysdeps/x86_64/multiarch/varshift.h: New file.
13040         * sysdeps/x86_64/multiarch/varshift.S: New file.
13042 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
13044         * configure.in: Move assembler checks to before sysdep dir checking.
13046 2010-08-20  Petr Baudis  <pasky@suse.cz>
13048         * LICENSES: Sync the sunrpc license.
13050 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
13052         * sunrpc/auth_des.c: Update copyright notice once again.
13053         * sunrpc/auth_none.c: Likewise.
13054         * sunrpc/auth_unix.c: Likewise.
13055         * sunrpc/authdes_prot.c: Likewise.
13056         * sunrpc/authuxprot.c: Likewise.
13057         * sunrpc/bindrsvprt.c: Likewise.
13058         * sunrpc/clnt_gen.c: Likewise.
13059         * sunrpc/clnt_perr.c: Likewise.
13060         * sunrpc/clnt_raw.c: Likewise.
13061         * sunrpc/clnt_simp.c: Likewise.
13062         * sunrpc/clnt_tcp.c: Likewise.
13063         * sunrpc/clnt_udp.c: Likewise.
13064         * sunrpc/clnt_unix.c: Likewise.
13065         * sunrpc/des_crypt.c: Likewise.
13066         * sunrpc/des_soft.c: Likewise.
13067         * sunrpc/get_myaddr.c: Likewise.
13068         * sunrpc/getrpcport.c: Likewise.
13069         * sunrpc/key_call.c: Likewise.
13070         * sunrpc/key_prot.c: Likewise.
13071         * sunrpc/openchild.c: Likewise.
13072         * sunrpc/pm_getmaps.c: Likewise.
13073         * sunrpc/pm_getport.c: Likewise.
13074         * sunrpc/pmap_clnt.c: Likewise.
13075         * sunrpc/pmap_prot.c: Likewise.
13076         * sunrpc/pmap_prot2.c: Likewise.
13077         * sunrpc/pmap_rmt.c: Likewise.
13078         * sunrpc/rpc/auth.h: Likewise.
13079         * sunrpc/rpc/auth_unix.h: Likewise.
13080         * sunrpc/rpc/clnt.h: Likewise.
13081         * sunrpc/rpc/des_crypt.h: Likewise.
13082         * sunrpc/rpc/key_prot.h: Likewise.
13083         * sunrpc/rpc/netdb.h: Likewise.
13084         * sunrpc/rpc/pmap_clnt.h: Likewise.
13085         * sunrpc/rpc/pmap_prot.h: Likewise.
13086         * sunrpc/rpc/pmap_rmt.h: Likewise.
13087         * sunrpc/rpc/rpc.h: Likewise.
13088         * sunrpc/rpc/rpc_des.h: Likewise.
13089         * sunrpc/rpc/rpc_msg.h: Likewise.
13090         * sunrpc/rpc/svc.h: Likewise.
13091         * sunrpc/rpc/svc_auth.h: Likewise.
13092         * sunrpc/rpc/types.h: Likewise.
13093         * sunrpc/rpc/xdr.h: Likewise.
13094         * sunrpc/rpc_clntout.c: Likewise.
13095         * sunrpc/rpc_cmsg.c: Likewise.
13096         * sunrpc/rpc_common.c: Likewise.
13097         * sunrpc/rpc_cout.c: Likewise.
13098         * sunrpc/rpc_dtable.c: Likewise.
13099         * sunrpc/rpc_hout.c: Likewise.
13100         * sunrpc/rpc_main.c: Likewise.
13101         * sunrpc/rpc_parse.c: Likewise.
13102         * sunrpc/rpc_parse.h: Likewise.
13103         * sunrpc/rpc_prot.c: Likewise.
13104         * sunrpc/rpc_sample.c: Likewise.
13105         * sunrpc/rpc_scan.c: Likewise.
13106         * sunrpc/rpc_scan.h: Likewise.
13107         * sunrpc/rpc_svcout.c: Likewise.
13108         * sunrpc/rpc_tblout.c: Likewise.
13109         * sunrpc/rpc_util.c: Likewise.
13110         * sunrpc/rpc_util.h: Likewise.
13111         * sunrpc/rpcinfo.c: Likewise.
13112         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13113         * sunrpc/rpcsvc/key_prot.x: Likewise.
13114         * sunrpc/rpcsvc/klm_prot.x: Likewise.
13115         * sunrpc/rpcsvc/mount.x: Likewise.
13116         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13117         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13118         * sunrpc/rpcsvc/rex.x: Likewise.
13119         * sunrpc/rpcsvc/rstat.x: Likewise.
13120         * sunrpc/rpcsvc/rusers.x: Likewise.
13121         * sunrpc/rpcsvc/sm_inter.x: Likewise.
13122         * sunrpc/rpcsvc/spray.x: Likewise.
13123         * sunrpc/rpcsvc/yppasswd.x: Likewise.
13124         * sunrpc/rtime.c: Likewise.
13125         * sunrpc/svc.c: Likewise.
13126         * sunrpc/svc_auth.c: Likewise.
13127         * sunrpc/svc_authux.c: Likewise.
13128         * sunrpc/svc_raw.c: Likewise.
13129         * sunrpc/svc_run.c: Likewise.
13130         * sunrpc/svc_simple.c: Likewise.
13131         * sunrpc/svc_tcp.c: Likewise.
13132         * sunrpc/svc_udp.c: Likewise.
13133         * sunrpc/svc_unix.c: Likewise.
13134         * sunrpc/svcauth_des.c: Likewise.
13135         * sunrpc/xcrypt.c: Likewise.
13136         * sunrpc/xdr.c: Likewise.
13137         * sunrpc/xdr_array.c: Likewise.
13138         * sunrpc/xdr_float.c: Likewise.
13139         * sunrpc/xdr_mem.c: Likewise.
13140         * sunrpc/xdr_rec.c: Likewise.
13141         * sunrpc/xdr_ref.c: Likewise.
13142         * sunrpc/xdr_sizeof.c: Likewise.
13143         * sunrpc/xdr_stdio.c: Likewise.
13145         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13146         handling.
13148 2010-08-19  Andreas Schwab  <schwab@redhat.com>
13150         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13152 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
13154         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13155         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13156         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13157         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13158         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13159         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13160         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13161         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13162         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13163         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13164         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13165         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13166         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13167         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13169 2010-07-26  Anton Blanchard  <anton@samba.org>
13171         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13172         * malloc/arena.c (heap_trim): Likewise.
13174 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
13176         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13177         here.  Not...
13178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13179         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13181 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13183         * sysdeps/i386/elf/Makefile: New file.
13185 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
13187         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13188         from fanotify_init.
13189         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13190         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13192 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
13194         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13195         of strncasecmp_l.
13196         * sysdeps/multiarch/strcmp.S: Likewise.
13198 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
13200         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13201         strncase_l-nonascii.
13202         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13203         Add strncase_l-ssse3.
13204         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13205         * sysdeps/x86_64/strcmp.S: Likewise.
13206         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13207         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13208         * sysdeps/x86_64/strncase.S: New file.
13209         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13210         * sysdeps/x86_64/strncase_l.S: New file.
13211         * string/Makefile (strop-tests): Add strncasecmp.
13212         * string/test-strncasecmp.c: New file.
13214         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13215         warning.
13217         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13218         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13220 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
13222         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13224 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
13226         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13227         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13228         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13230 2010-05-01  Alan Modra  <amodra@gmail.com>
13232         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13233         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13234         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13235         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13236         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13237         tidying.  Don't tail-call __sigjmp_save for static lib.
13238         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13239         save location.
13240         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13241         (CALL_MCOUNT): Add eh info, and nop after bl.
13242         (TAIL_CALL_SYSCALL_ERROR): New macro.
13243         (PSEUDO_RET): Use it.
13244         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13245         Correct save location of integer regs and cr.
13246         (_dl_profile_resolve): Correct cr save location.  Delete nops
13247         after bl when SHARED.  Reduce cfi size a little by better
13248         placement of cfi directives.
13249         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13250         make a stack frame.  Instead use parm save area as a temp.
13251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13252         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
13253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13254         Don't make a stack frame for parent, use parm save area.
13255         Increase child stack frame to 112 bytes.  Don't save unused reg,
13256         and adjust reg usage.  Set up cfi on error recovery and
13257         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13259         (__makecontext): Add dummy nop after jump to exit.
13260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13261         Use correct parm save area and cr save, reduce stack frame.
13262         Correct cfi for possible PSEUDO_RET frame setup.
13263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13264         Branch to local label emitted by PSEUDO_RET rather than
13265         __syscall_error.
13267 2010-08-12  Andreas Schwab  <schwab@redhat.com>
13269         [BZ #11904]
13270         * locale/programs/locale.c (print_assignment): New function.
13271         (show_locale_vars): Use it.
13273 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
13275         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13276         field.
13277         (struct statfs64): Likewise.
13278         (_STATFS_F_FLAGS): Define.
13279         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13280         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13281         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13282         (ST_VALID): Define locally.
13283         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13284         __statvfs_getflags, use the provided value.
13285         * sysdeps/unix/sysv/linux/kernel-features.h: Define
13286         __ASSUME_STATFS_F_FLAGS.
13288         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13290         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13291         Add sys/fanotify.h.
13292         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13293         fanotify_mask for GLIBC_2.13.
13294         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13295         fanotify_init and fanotify_mark.
13296         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13297         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13299         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13300         Add prlimit.
13301         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13302         prlimit64 for GLIBC_2.13.
13303         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13304         prlimit64.
13305         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13306         syscall.
13307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13308         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13309         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13310         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13311         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
13312         add prlimit alias.
13313         * sysdeps/unix/sysv/linux/prlimit.c: New file.
13315         [BZ #11903]
13316         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13317         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13319         * nss/Makefile: Add rules to build and run tst-nss-test1.
13320         * shlib-versions: Add entry for libnss_test1.
13321         * nss/nss_test1.c: New file.
13322         * nss/tst-nss-test1.c: New file.
13324         * nss/nsswitch.c (__nss_database_custom): Define new variable.
13325         (__nss_configure_lookup): Set appropriate entry in
13326         __nss_configure_lookup to true.
13327         * nss/nsswitch.h: Define enum with indeces of databases in
13328         databases and __nss_database_custom arrays.  Declare
13329         __nss_database_custom.
13330         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13331         to avoid using nscd when custom rules are installed.
13332         * nss/getXXbyYY_r.c: Likewise.
13333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13335         * nss/nss_files/files-parse.c: Whitespace fixes.
13337 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
13339         [BZ #11883]
13340         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13341         * posix/fnmatch_loop.c: Likewise.
13343 2010-07-17  Andi Kleen  <ak@linux.intel.com>
13345         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13346         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13347         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13348         * Versions.def [GLIBC_2.13]: Add.
13350 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
13352         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13353         Also fail if tpwd after pwuid call is NULL.
13355 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13357         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13358         when converting to ms.
13360 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13362         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13363         EOPNOTSUPP errors with ENOTTY.
13364         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13365         EOPNOTSUPP errors with ENOTTY.
13367 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
13369         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13370         Add strcasecmp_l-ssse3.
13371         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13372         strcasecmp.
13373         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13374         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13375         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13377 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
13379         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13381         * string/Makefile (strop-tests): Add strcasecmp.
13382         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13383         strcasecmp_l-nonascii.
13384         (gen-as-const-headers): Add locale-defines.sym.
13385         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13386         * sysdeps/x86_64/strcasecmp.S: New file.
13387         * sysdeps/x86_64/strcasecmp_l.S: New file.
13388         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13389         * sysdeps/x86_64/locale-defines.sym: New file.
13390         * string/test-strcasecmp.c: New file.
13392         * string/test-strcasestr.c: Test both ends of the range of characters.
13393         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13395 2010-07-29  Roland McGrath  <roland@redhat.com>
13397         [BZ #11856]
13398         * manual/locale.texi (Yes-or-No Questions): Fix example code.
13400 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
13402         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13403         for ld.so.
13405 2010-07-27  Andreas Schwab  <schwab@redhat.com>
13407         * manual/memory.texi (Malloc Tunable Parameters): Document
13408         M_PERTURB.
13410 2010-07-26  Roland McGrath  <roland@redhat.com>
13412         [BZ #11840]
13413         * configure.in (-fgnu89-inline check): Set and substitute
13414         gnu89_inline, not libc_cv_gnu89_inline.
13415         * configure: Regenerated.
13416         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13418 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
13420         * string/test-strnlen.c: New file.
13421         * string/Makefile (strop-tests): Add strnlen.
13422         * string/tester.c (test_strnlen): Add a few more test cases.
13423         * string/tst-strlen.c: Better error reporting.
13425         * sysdeps/x86_64/strnlen.S: New file.
13427 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
13429         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13430         lower-latency instructions.
13432 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
13434         * string/test-strcasestr.c: New file.
13435         * string/test-strstr.c: New file.
13436         * string/Makefile (strop-tests): Add strstr and strcasestr.
13437         * string/str-two-way.h: Don't undefine MAX.
13438         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13440 2010-07-21  Andreas Schwab  <schwab@redhat.com>
13442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13443         strcasestr-nonascii.
13444         (CFLAGS-strcasestr-nonascii.c): Define.
13445         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13446         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13447         Remove unused attribute.
13449 2010-07-20  Roland McGrath  <roland@redhat.com>
13451         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13452         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
13453         ld.so.cache was broken.  With it, there is no way to disable dsocaps
13454         like LD_HWCAP_MASK can disable hwcaps.
13456 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13458         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13460 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
13462         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13463         call in strcasestr.
13464         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13465         __strcasestr_sse42_nonascii.
13466         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13467         strcasestr-nonascii.c.
13468         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13470 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
13472         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13473         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13474         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13475         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13477 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
13479         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13480         fcntl.
13482 2010-07-06  Andreas Schwab  <schwab@redhat.com>
13484         [BZ #11577]
13485         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13486         dl_signal_cerror.
13488 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
13490         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13491         _PC_PIPE_BUF using F_GETPIPE_SZ.
13493 2010-07-05  Roland McGrath  <roland@redhat.com>
13495         * manual/arith.texi (Rounding Functions): Fix rint description
13496         implicit in round description.
13498 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
13500         * elf/Makefile: Fix linking for a few tests to make recent linker
13501         happy.
13503 2010-06-30  Andreas Schwab  <schwab@redhat.com>
13505         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13506         $(common-objpfx)libc_nonshared.a.
13508 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
13510         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13511         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13512         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13513         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13514         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13515         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13516         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13517         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13532         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13533         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13534         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13535         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13536         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13537         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13538         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13539         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13540         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13541         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13542         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13543         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13559 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13561         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13562         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
13563         * string/memmove.c (memmove): Renamed to ...
13564         (MEMMOVE): ...this.  Default to memmove.
13565         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13566         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13567         (END_CHK): Define.
13568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13569         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13570         mempcpy-ssse3-back memmove-ssse3-back.
13571         * sysdeps/x86_64/multiarch/bcopy.S: New file .
13572         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13574         * sysdeps/x86_64/multiarch/memcpy.S: New file.
13575         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13576         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13577         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13578         * sysdeps/x86_64/multiarch/memmove.c: New file.
13579         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13580         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13581         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13582         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13583         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13584         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13585         Define.
13586         (index_Fast_Copy_Backward): Define.
13587         (HAS_ARCH_FEATURE): Define.
13588         (HAS_FAST_REP_STRING): Define.
13589         (HAS_FAST_COPY_BACKWARD): Define.
13591 2010-06-21  Andreas Schwab  <schwab@redhat.com>
13593         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13594         Restore proper fallback handling.
13596 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
13598         [BZ #11701]
13599         * posix/group_member.c (__group_member): Correct checking loop.
13601         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13602         OOM in getpwuid_r correctly.  Return error number when the caller
13603         should return, otherwise -1.
13604         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13605         call returning > 0 value.
13606         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13608 2010-06-07  Andreas Schwab  <schwab@redhat.com>
13610         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13611         libc_nonshared.a from targets in modules-names.
13613 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
13615         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13616         requires it.
13618 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
13620         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13621         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13622         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13623         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13625 2010-06-02  Andreas Schwab  <schwab@redhat.com>
13627         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13629 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
13631         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13632         and F_GETPIPE_SZ.
13633         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13634         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13635         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13637         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13638         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13640 2010-06-14  Roland McGrath  <roland@redhat.com>
13642         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13644 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
13646         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13647         __REDIRECT followed by __THROW.
13648         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13649         * posix/getopt.h (getopt): Likewise.
13651 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
13653         * hurd/lookup-at.c (__file_name_lookup_at): Accept
13654         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
13655         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13656         in AT_FLAGS.
13657         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13658         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13660 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
13662         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13664 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
13666         [BZ #11640]
13667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13668         Properly check family and model.
13670 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
13672         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13674 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
13676         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13678 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
13680         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13681         symbol reference.
13683 2010-05-19  Andreas Schwab  <schwab@redhat.com>
13685         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13686         symbol reference.
13688 2010-05-21  Andreas Schwab  <schwab@redhat.com>
13690         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13691         and internal_recvmmsg.
13692         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13693         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13694         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13695         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13697         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13698         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13699         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13701 2010-05-20  Andreas Schwab  <schwab@redhat.com>
13703         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13705 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
13707         POWER7 optimizations.
13708         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13709         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13711 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
13713         * version.h: Update for 2.13 development version.
13715 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
13717         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13718         exceptions.  Return 0.
13720 2010-05-07  Roland McGrath  <roland@redhat.com>
13722         * elf/ldconfig.c (main): Add a const.
13724 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
13726         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13727         (args_options): Add no-idn option.
13728         (ahosts_keys_int): Add idn_flags to ai_flags.
13729         (parse_option): Handle 'i' option to clear idn_flags.
13731         * malloc/malloc.c (_int_free): Possible race in the most recently
13732         added check.  Only act on the data if no current modification
13733         happened.
13735 See ChangeLog.17 for earlier changes.