m68k: update libm test ULPs
[glibc.git] / ChangeLog
blob8d669dae000dcf13bec3865d6c9e1a6498616a29
1 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #13629]
4         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5         if larger part has absolute value 1.0.
6         * math/s_clog10.c (__clog10): Likewise.
7         * math/s_clog10f.c (__clog10f): Likewise.
8         * math/s_clog10l.c (__clog10l): Likewise.
9         * math/s_clogf.c (__clogf): Likewise.
10         * math/s_clogl.c (__clogl): Likewise.
11         * math/libm-test.inc (clog_test): Add more tests.
12         (clog10_test): Likewise.
13         * sysdeps/i386/fpu/libm-test-ulps: Update.
14         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17         (pltexit): Likewise.
18         (La_regs): Likewise.
19         (La_retval): Likewise.
20         (int_retval): Likewise.
21         Update #error for removed macros to refer only to definitions in
22         tst-audit.h.
23         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24         macro.
25         (pltexit): Likewise.
26         (La_regs): Likewise.
27         (La_retval): Likewise.
28         (int_retval): Likewise.
29         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30         macro.
31         (pltexit): Likewise.
32         (La_regs): Likewise.
33         (La_retval): Likewise.
34         (int_retval): Likewise.
35         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36         macro.
37         (pltexit): Likewise.
38         (La_regs): Likewise.
39         (La_retval): Likewise.
40         (int_retval): Likewise.
41         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42         macro.
43         (pltexit): Likewise.
44         (La_regs): Likewise.
45         (La_retval): Likewise.
46         (int_retval): Likewise.
47         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48         macro.
49         (pltexit): Likewise.
50         (La_regs): Likewise.
51         (La_retval): Likewise.
52         (int_retval): Likewise.
53         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54         macro.
55         (pltexit): Likewise.
56         (La_regs): Likewise.
57         (La_retval): Likewise.
58         (int_retval): Likewise.
59         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60         macro definitions in tst-audit.h.
61         * sysdeps/i386/tst-audit.h: New file.
62         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
64         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66         * sysdeps/sh/tst-audit.h: Likewise.
67         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
69         * sysdeps/x86_64/tst-audit.h: Likewise.
71 2012-07-26  Andreas Jaeger  <aj@suse.de>
73         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
74         ptrace.
76         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
77         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79         PTRACE_O_MASK.
80         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
81         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
82         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
84         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
85         value.
87         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
88         _sigsys.
89         (si_call_addr, si_syscall, si_arch): Define new macro.
90         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
91         _sigsys.
92         (si_call_addr, si_syscall, si_arch): Define new marcro.
93         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
94         _sigsys.
95         (si_call_addr, si_syscall, si_arch): Define new macro.
96         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
97         _sigsys.
98         (si_call_addr, si_syscall, si_arch): Define new macro.
100 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
102         [BZ #13717]
103         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
104         Change to 2.4.21 where previously 2.4.1.
105         * sysdeps/unix/sysv/linux/configure: Regenerated.
106         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
107         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
108         Linux kernel version.
109         (__ASSUME_STD_AUXV): Remove.
110         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
111         kernel version.
112         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
113         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
114         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
115         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
116         (__ASSUME_NETLINK_SUPPORT): Likewise.
117         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
118         (__no_netlink_support): Remove conditional definition.
119         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
120         Remove.
121         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
122         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
123         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
124         (if_nameindex_ioctl): Remove.
125         (if_nameindex_netlink): Do not handle __no_netlink_support.
126         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
127         code.
128         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
129         Remove conditional code.
130         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
131         code.
132         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
133         unconditional.
134         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
135         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
136         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
137         Remove.
138         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
139         [!__ASSUME_STD_AUXV]: Remove conditional code.
140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
141         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
142         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
144         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
145         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
146         code.
147         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
149         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
150         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
151         conditional code.
152         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
154         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
155         code.
156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
157         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
158         conditional code.
159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
160         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
161         code unconditional.
162         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
163         conditional code.
164         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
165         unconditional.
166         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
167         conditional code.
168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
169         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
170         unconditional.
171         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
172         conditional code.
173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
174         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
175         code unconditional.
176         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
177         conditional code.
178         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
179         unconditional.
180         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
181         conditional code.
182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
183         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
184         code unconditional.
185         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
186         conditional code.
187         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
188         unconditional.
189         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
190         conditional code.
192 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
194         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
195         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
196         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
197         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
198         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
199         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
200         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
201         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
202         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
203         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
204         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
205         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
206         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
207         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
208         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
209         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
210         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
211         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
212         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
214         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
215         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
216         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
218 2012-07-25  Florian Weimer  <fweimer@redhat.com>
220         * Versions.def: Add GLIBC_2.17.
221         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
222         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
223         Introduce __libc_secure_getenv.
224         * stdlib/Versions (2.17): Add secure_getenv
225         (GLIBC_PRIVATE): Add __libc_secure_getenv.
226         * stdlib/secure-getenv.c: Rename __secure_getenv to
227         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
228         symbol __secure_getenv for GLIBC_2.0.
229         * stdlib/tst-secure-getenv.c: New.
230         * stdlib/Makefile (tests): Add testcase.
231         * manual/startup.texi (Environment Access): Document
232         secure_getenv.
233         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
234         __libc_secure_getenv.
235         * inet/ruserpass.c (ruserpass): Likewise.
236         * malloc/mtrace.c (mtrace): Likewise.
237         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
238         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
239         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
240         * sysdeps/posix/tempname.c: Likewise.  Evaluate
241         HAVE_SECURE_GETENV.
242         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
243         __secure_getenv to __libc_secure_getenv.
244         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
246         Likewise.
247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
248         Likewise.
249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
251         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
257 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
259         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
260         (struct La_i86_retval): Likewise.
261         (struct La_x86_64_regs): Likewise.
262         (struct La_x86_64_retval): Likewise.
263         (struct La_x32_regs): Likewise.
264         (struct La_x32_retval): Likewise.
265         (struct La_ppc32_regs): Likewise.
266         (struct La_ppc32_retval): Likewise.
267         (struct La_ppc64_regs): Likewise.
268         (struct La_ppc64_retval): Likewise.
269         (struct La_sh_regs): Likewise.
270         (struct La_sh_retval): Likewise.
271         (struct La_s390_32_regs): Likewise.
272         (struct La_s390_32_retval): Likewise.
273         (struct La_s390_64_regs): Likewise.
274         (struct La_s390_64_retval): Likewise.
275         (struct La_sparc32_regs): Likewise.
276         (struct La_sparc32_retval): Likewise.
277         (struct La_sparc64_regs): Likewise.
278         (struct La_sparc64_retval): Likewise.
279         (struct audit_ifaces): Remove architecture-specific pltenter and
280         pltexit members.
281         * sysdeps/i386/ldsodefs.h: New file.
282         * sysdeps/powerpc/ldsodefs.h: Likewise.
283         * sysdeps/s390/ldsodefs.h: Likewise.
284         * sysdeps/sh/ldsodefs.h: Likewise.
285         * sysdeps/sparc/ldsodefs.h: Likewise.
286         * sysdeps/x86_64/ldsodefs.h: Likewise.
288 2012-07-25  Marek Polacek  <polacek@redhat.com>
290         [BZ #6808]
291         * math/libm-test.inc (yn_test): Add another test.
292         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
293         to ERANGE when the result is +-Inf.
294         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
295         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
296         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
297         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
299 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
301         * conform/data/time.h-data (NULL): Use macro-constant.  Require
302         equal to 0.
303         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
304         clock_t.
305         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
307 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
309         * configure.in <sysdeps resolving>: Correct printing
310         Implies_before.
311         * configure: Regenerate.
313 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
315         * math/w_ilogb.c: Include <limits.h>.
316         * math/w_ilogbl.c: Likewise.
318 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
320         * manual/lang.texi (__va_copy): Document primarily as ISO C99
321         va_copy.  Document allowing for unavailable va_copy only as
322         pre-C99 compatibility.
323         * manual/string.texi (Copying and Concatenation): Use va_copy
324         instead of __va_copy in concat example.
326 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
328         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
329         (__sendto): Use create_address_port.  Initialize APORT and deallocate
330         it if not null.
332         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
333         with O_NOLINK passed to __file_name_lookup.
335         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
336         with O_NOLINK passed to __file_name_lookup.
338         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
339         negative N or less than NGIDS.
341         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
342         type to string_t.  Set ERANGE as errno and return it if NAME is not big
343         enough.  Use memcpy instead of strncpy.
345 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
347         * elf/Makefile (check-data): Remove.
348         (localplt.data): New vpath directive.
349         ($(objpfx)check-localplt.out): Use localplt.data from vpath
350         instead of $(check-data).
351         * scripts/data/localplt-generic.data: Move to ...
352         * sysdeps/generic/localplt.data: ... here.
353         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
354         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
355         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
357         ... here.
358         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
360         ... here.
361         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
363         ... here.
364         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
366         ... here.
367         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
369         ... here.
370         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
372         ... here.
374 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
376         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
377         PPC32 and PPC64 files.
378         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
379         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
381 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
383         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
384         __makecontext_ret to ...
385         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
386         ... here and call exit if uc_link is NULL.  New file.
387         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
388         __makecontext_ret.S.
389         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
390         __makecontext_ret to ...
391         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
392         ... here and call exit if uc_link is NULL.  New file.
393         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
394         __makecontext_ret.S.
396 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
398         * elf/elf.h (R_390_IRELATIVE): New definition.
399         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
400         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
401         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
402         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
403         (elf_machine_lazy_rel): Likewise.
404         * sysdeps/s390/dl-irel.h: New file.
405         * sysdeps/s390/s390-64/memcpy.S: New asm code.
406         * sysdeps/s390/s390-64/memset.S: New asm code.
407         * sysdeps/s390/s390-64/memcmp.S: New asm code.
408         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
409         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
410         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
411         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
412         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
413         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
414         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
415         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
416         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
417         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
418         * sysdeps/s390/s390-32/memcpy.S: New asm code.
419         * sysdeps/s390/s390-32/memset.S: New asm code.
420         * sysdeps/s390/s390-32/memcmp.S: New asm code.
422 2012-07-17  Marek Polacek  <polacek@redhat.com>
424         [BZ #14349]
425         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
426         * sysdeps/s390/s390-64/configure.in: Likewise.
427         * sysdeps/sparc/configure.in: Likewise.
428         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
429         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
430         * sysdeps/i386/configure.in: Likewise.
431         * sysdeps/x86_64/configure.in: Likewise.
432         * sysdeps/sh/configure.in: Likewise.
433         * sysdeps/s390/s390-32/configure: Regenerated.
434         * sysdeps/s390/s390-64/configure: Likewise.
435         * sysdeps/x86_64/configure: Likewise.
436         * sysdeps/sh/configure: Likewise.
437         * sysdeps/powerpc/powerpc64/configure: Likewise.
438         * sysdeps/powerpc/powerpc32/configure: Likewise.
439         * sysdeps/sparc/configure: Likwise.
440         * sysdeps/i386/configure: Likewise.
442         * elf/dl-open.c: Comment fixes.
444 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
446         * Makefile [CXX] (check-data): Remove.
447         [CXX] (c++-types.data): New vpath directive.
448         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
449         vpath.  Do not allow for C++ type data being missing.
450         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
451         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
452         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
453         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
454         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
455         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
456         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
458         ... here.
459         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
461         ... here.
462         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
464         ... here.
465         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
467         ... here.
468         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
470         ... here.
471         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
473         ... here.
474         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
476         ... here.
477         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
480         * elf/tls-macros.h (TLS_LE): Move architecture-specific
481         definitions to architecture-specific files.
482         (TLS_IE): Likewise.
483         (TLS_LD): Likewise.
484         (TLS_GD): Likewise.
485         * sysdeps/i386/tls-macros.h: New file.
486         * sysdeps/powerpc/tls-macros.h: Likewise.
487         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
488         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
489         * sysdeps/sh/tls-macros.h: Likewise.
490         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
491         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
492         * sysdeps/x86_64/tls-macros.h: Likewise.
494 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
496         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
497         zero value for regular exit case.
499         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
500         (__start_context): Preserve zero value for regular exit case.
502 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
503             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
505         * manual/setjmp.texi (setcontext): Clarify normal process
506         termination when uc_link is the null pointer.
507         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
508         exit call.
510 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
512         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
513         preprocessor.  Test for each exception mask separately.
515 2012-07-16  Andreas Jaeger  <aj@suse.de>
517         * po/ru.po: Update from translation team.
519 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
521         * conform/data/string.h-data (NULL): Use macro-constant.  Require
522         equal to 0.
523         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
524         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
525         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
526         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
527         [ISO || ISO99 || ISO11] (*_t): Do not allow.
529 2012-07-13  Andreas Jaeger  <aj@suse.de>
531         * po/fr.po: Update from translation team.
533 2012-07-12  Marek Polacek  <polacek@redhat.com>
535         [BZ #14173]
536         * math/libm-test.inc (yn_test): Add test for BZ #14173.
537         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
538         loop condition.
540 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
542         [BZ #13717]
543         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
544         Change to 2.4.1 where previously 2.4.0.
545         * sysdeps/unix/sysv/linux/configure: Regenerated.
546         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
547         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
548         version.
549         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
550         (__ASSUME_AT_CLKTCK): Remove.
551         (__ASSUME_AT_PAGESIZE): Likewise.
552         (__ASSUME_AT_XID): Likewise.
553         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
554         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
555         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
556         unconditionally.
557         (HAVE_AUX_PAGESIZE): Likewise.
558         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
559         [__ASSUME_AT_CLKTCK]: Make code unconditional.
560         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
562 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
564         [BZ #14307]
565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
566         the temporary buffer used to invoke __gethostbyname2_r,
567         __gethostbyaddr_r and gethostbyname4_r to make room for struct
568         host_data / struct gaih_addrtuple.
569         * resolv/nss_dns/dns-host.c (global scope): Move definition of
570         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
571         header file nss/nsswitch.h.
572         * nss/nsswitch.h (global scope): Add definition of implementation
573         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
574         resolv/nss_dns/dns-host.c).
576 2012-07-11  Andreas Jaeger  <aj@suse.de>
578         * po/fr.po: Update from translation team.
580         * po/sv.po: Update from translation team
581         * po/fr.po: Another update from translation team.
583 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
585         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
586         for subnormals or multiply small sinh result by itself.
587         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
590 2012-07-11  David S. Miller  <davem@davemloft.net>
592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
594 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
596         [BZ #14347]
597         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
598         (INTERNAL_MARK): Shift it here.
600 2012-07-10  Marek Polacek  <polacek@redhat.com>
602         [BZ #14151]
603         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
604         libc_cv_asm_global_directive with .globl.
605         * configure: Regenerated.
606         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
607         with .globl.
608         * sysdeps/i386/configure: Regenerated.
609         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
610         with .globl.
611         * sysdeps/x86_64/configure: Regenerated.
612         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
613         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
614         * elf/tst-unique2mod2.c: Likewise.
615         * elf/tst-unique2mod1.c: Likewise.
616         * elf/tst-unique1mod2.c: Likewise.
617         * elf/tst-unique1mod1.c: Likewise.
618         * sysdeps/s390/s390-32/sysdep.h: Likewise.
619         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
620         * sysdeps/s390/s390-64/sysdep.h: Likewise.
621         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
622         * sysdeps/mach/sysdep.h: Likewise.
623         * sysdeps/i386/sysdep.h: Likewise.
624         * sysdeps/i386/i386-mcount.S: Likewise.
625         * sysdeps/x86_64/_mcount.S: Likewise.
626         * sysdeps/x86_64/sysdep.h: Likewise.
627         * sysdeps/sh/_mcount.S: Likewise.
628         * sysdeps/sh/sysdep.h: Likewise.
629         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
630         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
631         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
632         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
633         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
634         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
635         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
636         * locale/localeinfo.h: Likewise.
637         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
638         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
640 2012-07-09  Roland McGrath  <roland@hack.frob.com>
642         [BZ #14336]
643         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
644         system".
645         * manual/message.texi (The Uniforum approach): Likewise.
646         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
647         (glibc iconv Implementation): Likewise.
649 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
651         [BZ #14337]
652         * math/s_clog.c (__clog): Avoid scaling a value down where that
653         could result in underflow.
654         * math/s_clog10.c (__clog10): Likewise.
655         * math/s_clog10f.c (__clog10f): Likewise.
656         * math/s_clog10l.c (__clog10l): Likewise.
657         * math/s_clogf.c (__clogf): Likewise.
658         * math/s_clogl.c (__clogl): Likewise.
659         * math/libm-test.inc (clog_test): Add more tests.
660         (clog10_test): Likewise.
661         * sysdeps/i386/fpu/libm-test-ulps: Update.
662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
664 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
666         [BZ #14283]
667         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
668         by 7 not 8 to examine high bit of fractional part.
670         [BZ #14042]
671         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
672         for call to __mcount_internal.
673         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
674         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
675         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
677 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
679         [BZ #14154]
680         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
681         approximation for values within 0x1p-13f of an odd multiple of
682         pi/4.
683         * math/libm-test.inc (tan_test): Do not allow spurious underflow
684         exception.  Add more tests.
685         * sysdeps/i386/fpu/libm-test-ulps: Update.
687         [BZ #6778]
688         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
689         inputs and return -1 for them.  Do not check for +Inf in case not
690         reachable for +Inf.
691         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
692         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
693         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
694         and return -1 for them.  Do not check for +Inf in case not
695         reachable for +Inf.
696         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
697         define.
698         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
699         and return -1 for them.  Do not check for +Inf in case not
700         reachable for +Inf.
701         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
702         spurious underflow.
703         * sysdeps/i386/fpu/libm-test-ulps: Update.
704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
706 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
708         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
710 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
712         [BZ #14157]
713         [BZ #14331]
714         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
715         could result in spurious underflow.  Scale down values above
716         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
717         * math/s_csqrtf.c (__csqrtf): Likewise.
718         * math/s_csqrtl.c (__csqrtl): Likewise.
719         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
720         spurious underflow.
721         * sysdeps/i386/fpu/libm-test-ulps: Update.
722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
724 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
726         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
727         xopen-msg.sed.
728         * catgets/xopen-msg.awk: New file.
729         * catgets/xopen-msg.sed: Removed.
731         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
732         po2text.sed.
733         * intl/po2test.awk: New file.
734         * intl/po2test.sed: Removed.
736 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
738         [BZ #14328]
739         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
740         or multiply small sinh result by itself.
741         * math/s_ctanf.c (__ctanf): Likewise.
742         * math/s_ctanh.c (__ctanh): Likewise.
743         * math/s_ctanhf.c (__ctanhf): Likewise.
744         * math/s_ctanhl.c (__ctanhl): Likewise.
745         * math/s_ctanl.c (__ctanl): Likewise.
746         * math/libm-test.inc (ctan_test_tonearest): New function.
747         (ctan_test_towardzero): Likewise.
748         (ctan_test_downward): Likewise.
749         (ctan_test_upward): Likewise.
750         (ctanh_test_tonearest): Likewise.
751         (ctanh_test_towardzero): Likewise.
752         (ctanh_test_downward): Likewise.
753         (ctanh_test_upward): Likewise.
754         (main): Call these new functions.
755         * sysdeps/i386/fpu/libm-test-ulps: Update.
756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
758 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
760         * .gitignore: Delete /ports entry.
762 2012-07-03  Andreas Jaeger  <aj@suse.de>
764         * po/bg.po: Update from translation team.
765         * po/cs.po: Likewise.
766         * po/de.po: Likewise.
767         * po/hr.po: Likewise.
768         * po/nl.pl: Likewise.
769         * po/pl.po: Likewise.
770         * po/vi.po: Likewise.
772 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
774         * Makeconfig [!+link] (+link-before-libc): New variable.
775         [!+link] (+link-after-libc): Likewise.
776         [!+link] (+link-tests): Likewise.
777         [!+link] (+link): Define in terms of $(+link-before-libc) and
778         $(+link-after-libc).
779         [!+link-static] (+link-static-before-libc): New variable.
780         [!+link-static] (+link-static-after-libc): Likewise.
781         [!+link-static] (+link-static-tests): Likewise.
782         [!+link-static] (+link-static): Define in terms of
783         $(+link-static-before-libc) and $(+link-static-after-libc).
784         [build-shared] (link-libc-before-gnulib): New variable.
785         [build-shared] (link-libc-tests): Likewise.
786         [build-shared] (link-libc): Define in terms of
787         $(link-libc-before-gnulib).
788         [!build-shared] (link-libc-tests): New variable.
789         (link-libc-static-tests): New variable.
790         [!gnulib] (gnulib-arch): New variable.
791         [!gnulib] (gnulib-tests): Likewise.
792         [!gnulib] (static-gnulib-arch): Likewise.
793         [!gnulib] (static-gnulib-tests): Likewise.
794         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
795         Define with "=" instead of ":=".
796         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
797         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
798         * Rules (binaries-all-notests): New variable.
799         (binaries-all-tests): Likewise.
800         (binaries-static-notests): Likewise.
801         (binaries-static-tests): Likewise.
802         (binaries-all): Define using $(binaries-all-notests) and
803         $(binaries-all-tests).
804         (binaries-static): Define using $(binaries-static-notests) and
805         $(binaries-static-tests).
806         (binaries-shared-tests): New variable.
807         (binaries-shared-notests): Likewise.
808         (binaries-shared): Remove variable.
809         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
810         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
811         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
812         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
813         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
814         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
815         * elf/Makefile (sln-modules): New variable.
816         (extra-objs): Add $(sln-modules:=.o).
817         (ldconfig-modules): Add static-stubs.
818         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
819         * elf/static-stubs.c: New file.
821         [BZ #14283]
822         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
823         by 7 not 8 to examine high bit of fractional part.  Use volatile
824         variables when splitting into final array of floats if
825         __FLT_EVAL_METHOD__ != 0.
826         * math/libm-test.inc (cos_test): Add another test.
827         (sin_test): Likewise.
828         * sysdeps/i386/fpu/libm-test-ulps: Update.
830         [BZ #14273]
831         * math/libm-test.inc (cosh_test): Add more tests.
833         * version.h (RELEASE): Set to "development".
834         (VERSION): Set to "2.16.90".
836 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
838         * NEWS: Update copyright. Remove last-updated date.
839         Mention math library bug fixes and timezone data changes.
840         * README: Mention GNU/Hurd, x32, and HPPA support status.
842 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
844         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
846 2012-06-27  Andreas Jaeger  <aj@suse.de>
848         * manual/contrib.texi (Contributors): Add Samuel Thibault.
850 2012-06-25  Andreas Jaeger  <aj@suse.de>
852         * sysdeps/s390/fpu/libm-test-ulps: Update.
854 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
855             Thomas Schwinge  <thomas@codesourcery.com>
857         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
858         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
859         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
860         fanotify_mark.
862 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
864         * sysdeps/mach/start.c: Remove file.
865         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
866         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
867         * sysdeps/sh/init-first.c: Likewise.
869         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
870         registers for frame unwinding purposes, add CFI directives.
871         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
872         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
873         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
874         Likewise.
876         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
877         __fortify_fail returning.
878         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
880         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
881         sysdeps/sh/____longjmp_chk.S.
882         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
883         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
884         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
885         (gen-as-const-headers): Append sigaltstack-offsets.sym.
887         * sysdeps/sh/abort-instr.h: New file.
888         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
889         process in case exit returns.
891         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
892         initialize the GOT register before use.
894         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
895         calculation of ARGC > 4.
897         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
898         meaningful names to some local labels.
900 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
901             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
903         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
904         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
905         (__arch_compare_and_exchange_val_16_acq): Likewise.
906         (__arch_compare_and_exchange_val_32_acq): Likewise.
907         (atomic_exchange_and_add): Fix gUSA sequence.
908         (atomic_add): Likewise.
909         (atomic_add_negative): Likewise.
910         (atomic_add_zero): Likewise.
911         (atomic_bit_test_set): Likewise.
913 2012-06-22  Andreas Schwab  <schwab@redhat.com>
915         [BZ #13579]
916         * include/link.h (struct link_map): Add l_free_initfini.
917         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
918         l_initfini.
919         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
920         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
921         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
922         set.
924 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
926         * configure.in: Use AC_LANG_SOURCE.
927         * configure: Regenerate.
929 2012-06-22  Roland McGrath  <roland@hack.frob.com>
931         * configure.in (libc_cv_localstatedir): New substituted variable.
932         * configure: Regenerated.
933         * config.make.in (localstatedir): New variable, substituted from
934         libc_cv_localstatedir.
935         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
936         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
937         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
938         * sysdeps/gnu/configure: Regenerated.
940 2012-06-21  Jeff Law  <law@redhat.com>
942         [BZ #14277]
943         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
944         free.  Simplify list management for _LIBC case.
946 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
948         [BZ #14273]
949         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
950         Clear sign bit of 64-bit integer value before comparing against
951         overflow value.
953         * sysdeps/mach/configure: Regenerated.
955 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
957         [BZ #14278]
958         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
960 2012-06-21  Jeff Law  <law@redhat.com>
962         [BZ #13882]
963         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
964         uint16_t for elements in the "seen" array to avoid char overflows.
965         * elf/dl-fini.c (_dl_sort_fini): Likewise.
966         * elf/dl-open.c (dl_open_worker): Likewise.
968 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
970         * scripts/list-sources.sh: Scan PORTS for translations.
971         * po/libc.pot: Regenerated.
973 2012-06-21  Andreas Jaeger  <aj@suse.de>
975         [BZ #12194]
976         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
977         warning.
978         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
979         * bits/byteswap-16.h (__bswap_16): Likewise.
980         * bits/byteswap.h (__bswap_constant_16): Likewise.
982 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
984         [BZ #14117]
985         * sysdeps/i386/fpu_control.h: Removed.
986         * sysdeps/x86_64/fpu_control.h: Moved to ...
987         * sysdeps/x86/fpu_control.h: Here.
989         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
990         (_FPU_SETCW): Likewise.
992 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
994         [BZ #14117]
995         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
996         * sysdeps/x86/fpu/bits/mathinline.h: This.
997         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
999         [BZ #14050]
1000         [BZ #14117]
1001         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1002         functions if __x86_64__ is defined.
1004 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
1006         * string/endian.h: Add !__ASSEMBLER__ condition for including
1007         conversion interfaces.
1009 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
1011         [BZ #14241]
1012         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1013         of ABS(x) in calculating zero to negative powers other than odd
1014         integers.
1015         * math/libm-test.inc (pow_test): Add more tests.
1017 2012-06-15  Andreas Jaeger  <aj@suse.de>
1019         * manual/contrib.texi (Contributors): Update entry of Liubov
1020         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1021         Machado Filho.
1023 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
1025         * string/string.h: Add __wur to GNU version of strerror_r.
1027 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1029         [BZ #14229]
1030         * string/Makefile (tests): Add tst-strtok_r.
1031         * string/tst-strtok_r.c: New file.
1032         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1033         RAX_LP/RDX_LP on SAVE_PTR.
1035 2012-06-14  Roland McGrath  <roland@hack.frob.com>
1037         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1039 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
1041         * libm_test.inc (csqrt_test): Allow more spurious underflow
1042         exceptions.
1043         (j0_test): Likewise.
1044         (j1_test): Likewise.
1045         (y0_test): Likewise.
1046         (y1_test): Likewise.
1048 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
1050         * po/Makefile (libc.pot): Use UTF-8 charset.
1052 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
1054         [BZ #14210]
1055         Suppress sign-conversion warning from FD_SET.
1056         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1057         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1058         not unsigned long int.
1059         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1061 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1063         [BZ #14050]
1064         [BZ #14117]
1065         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1066         __extern_always_inline instead of __extern_inline.
1067         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1068         (__signbit): Likewise.
1069         (__signbitl): Support C++ namespace.
1070         (lrintf): New inline function.
1071         (lrint): Likewise.
1072         (llrintf): Likewise.
1073         (llrint): Likewise.
1074         (fmaxf): Likewise.
1075         (fmax): Likewise.
1076         (fminf): Likewise.
1077         (fmin): Likewise.
1078         (rint): Likewise.
1079         (rintf): Likewise.
1080         (ceil): Likewise.
1081         (ceilf): Likewise.
1082         (floor): Likewise.
1083         (floorf): Likewise.
1084         (nearbyint): Likewise.
1085         (nearbyintf): Likewise.
1087 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
1089         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1090         non-default versions.
1092 2012-06-11  Roland McGrath  <roland@hack.frob.com>
1094         [BZ #14218]
1095         * manual/argp.texi (Argp): Reword argp_parse description slightly.
1097 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
1099         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1100         (FE_UPWARD, FE_DOWNWARD): Don't define.
1101         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1102         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1104         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1105         reading it.
1106         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1107         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1109 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1111         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1112         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1113         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1114         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1116 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1118         [BZ #14117]
1119         * sysdeps/i386/fpu/bits/fenv.h: Removed.
1120         * sysdeps/i386/fpu/Implies: New file.
1121         * sysdeps/x86_64/fpu/Implies: Likewise.
1122         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1123         * sysdeps/x86/fpu/bits/fenv.h: This.
1125         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1126         __SSE_MATH__.
1128 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1130         [BZ #14134]
1131         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1132         character 0xffff that matches the last element of the
1133         conversion table.
1135 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1137         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1138         fmodl commit.
1140 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1142         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1143         values higher than 25.6283.
1145 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1147         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1148         subnormal exponent extraction and add some __builtin_expect.
1149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1150         Fix for subnormal mantissa calculation.
1152 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
1154         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1155         cpu2 is -1 and errno is not ENOSYS.
1157 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
1159         [BZ #14117]
1160         * sysdeps/i386/i486/bits/string.h: Renamed to ...
1161         * sysdeps/x86/bits/string.h: This.
1162         * sysdeps/x86_64/bits/string.h: Removed.
1164         * sysdeps/i386/i486/bits/string.h: Define inline functions only
1165         if not compiling for x86-64, but compiling for >= i486.
1167         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1168         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1170         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1171         New macro from Linux kernel 3.4.0.
1172         (FP_XSTATE_MAGIC2): Likewise.
1173         (FP_XSTATE_MAGIC2_SIZE): Likewise.
1174         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1175         (struct _fpx_sw_bytes): New struct.
1176         (struct _xsave_hdr): Likewise.
1177         (struct _ymmh_state): Likewise.
1178         (struct _xstate): Likewise.
1180         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1181         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1182         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1183         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1184         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1185         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1187         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1188         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1189         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1190         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1191         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1192         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1194 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1196         [BZ #13743]
1197         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1198         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1199         (sysdep_headers): Include sys/platform/ppc.h.
1200         * sysdeps/powerpc/test-gettimebase.c: Test for
1201         __ppc_get_timebase() to catch future ISA opcode/insn changes.
1202         * manual/Makefile (appendices): Include platform.texi.
1203         * manual/contrib.texi (Contributors): Update @node pointers.
1204         * manual/maint.texi (Maintenance): Likewise.
1205         (Platform): New node.
1206         * manual/platform.texi: New file.  Document the new features.
1208 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1209             Jakub Jelinek  <jakub@redhat.com>
1211         [BZ #14188]
1212         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1213         where __builtin_expect is unavailable.
1215 2012-06-03  David S. Miller  <davem@davemloft.net>
1217         * stdlib/longlong.h: Updated from GCC.
1219 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
1221         [BZ #14042]
1222         * sysdeps/powerpc/powerpc32/mcount.c: New file.
1223         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1224         __mcount_internal.
1225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1226         (GLIBC_2.16): Likewise.
1228 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1230         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1232 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1235         (default-abi): New variable.
1236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1237         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1238         variable.
1239         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1240         Likewise.
1241         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1242         Likewise.
1243         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1244         Likewise.
1246         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1247         definition.  Document in comment.
1249 2012-06-01  David S. Miller  <davem@davemloft.net>
1251         * stdlib/longlong.h: Updated from GCC.
1253 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1255         [BZ #14117]
1256         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1257         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1258         sys/debugreg.h sys/io.h here.
1259         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1260         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1261         sys/io.h.
1262         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1263         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1264         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1265         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1266         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1267         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1269         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1270         Define only if __x86_64__ is defined.
1272 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1274         [BZ #14048]
1275         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1276         Use int64_t for variable i.
1277         * math/libm-test.inc (fmod_test): Add more tests.
1279         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1280         z computation is not scheduled after fetestexcept.
1281         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1282         Use math_force_eval instead of asm to ensure calculation scheduled
1283         before exception test.
1284         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1285         Ensure a1 + u.d computation is not scheduled after fetestexcept.
1287 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
1289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1290         computation is not scheduled after fetestexcept.
1292 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1294         [BZ #14117]
1295         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1296         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1298 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1300         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1301         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1303 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
1305         [BZ #14117]
1306         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1307         <bits/wordsize.h>.
1308         (__WCHAR_MIN): Support __WORDSIZE == 64.
1309         (__WCHAR_MAX): Likewise.
1311         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1312         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1314         [BZ #14183]
1315         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1316         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1318         [BZ #14117]
1319         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1320         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1322         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1323         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1325         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1326         Defined to 1 if __x86_64__ isn't defined.
1327         (_STAT_VER_LINUX_OLD): New.
1328         (st_atime): Remove duplicate.
1329         (st_mtime): Likewise.
1330         (st_ctime): Likewise.
1332 2012-05-31  David S. Miller  <davem@davemloft.net>
1334         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1335         entries.
1337 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
1339         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1340         gen-libm-test.pl.
1342         [BZ #14132]
1343         * elf/dl-reloc.c: Include <_itoa.h>.
1344         (_dl_reloc_bad_type): Remove use of INTUSE.
1345         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1346         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1347         * stdio-common/psiginfo.c (psiginfo): Likewise.
1348         * stdio-common/psignal.c (psignal): Likewise.
1349         * string/strsignal.c (strsignal): Likewise.
1350         * include/signal.h (_sys_siglist): Declare hidden proto.
1351         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
1352         INTVARDEF with libc_hidden_data_def.
1353         * stdio-common/itoa-udigits.c: Likewise.
1354         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1355         (_itoa_lower_digits_internal): Remove declaration.
1356         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1357         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1358         (_sys_sigabbrev_internal): Remove aliases.
1359         (_sys_siglist): Define hidden alias.
1361 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
1363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1364         bits/sysctl.h.
1366 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
1368         [BZ #14117]
1369         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1370         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1372         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1373         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1374         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1375         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1376         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1377         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1379         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1380         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1381         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1383         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1384         with __addr.
1385         (insw): Likewise.
1386         (insl): Likewise.
1387         (outsb): Likewise.
1388         (outsw): Likewise.
1389         (outsl): Likewise.
1391         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1392         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1393         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1395         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1396         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1397         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1398         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1399         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1400         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1402         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1403         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1405         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1406         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1408         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1409         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1410         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1412         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1413         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1414         to ...
1415         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1417         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1418         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1419         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1421         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1422         for x86-64.
1423         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1425 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
1427         * math/math.h (M_El): Use two more decimal places.
1428         (M_LOG2El): Likewise.
1429         (M_LOG10El): Likewise.
1430         (M_LN2l): Likewise.
1431         (M_LN10l): Likewise.
1432         (M_PIl): Likewise.
1433         (M_PI_2l): Likewise.
1434         (M_PI_4l): Likewise.
1435         (M_1_PIl): Likewise.
1436         (M_2_PIl): Likewise.
1437         (M_2_SQRTPIl): Likewise.
1438         (M_SQRT2l): Likewise.
1439         (M_SQRT1_2l): Likewise.
1441 2012-05-31  David S. Miller  <davem@davemloft.net>
1443         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1444         values between float registers.
1445         * sysdeps/sparc/sparc64/memset.S: Likewise.
1446         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1448 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
1450         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1451         -D_FORTIFY_SOURCE=1.
1452         (CPPFLAGS-tst-longjmp_chk.c): Define.
1453         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1454         (CPPFLAGS-tst-longjmp_chk2.c): Define.
1455         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1456         CFLAGS-tst-wchar-h.c.
1458 2012-05-31  Marek Polacek  <polacek@redhat.com>
1460         [BZ #14132]
1461         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1462         __endmntent_internal): Remove declaration.
1463         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1464         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1465         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1467 2012-05-30  David S. Miller  <davem@davemloft.net>
1469         * sysdeps/sparc/sparc32/soft-fp/q_util.c
1470         (___Q_simulate_exceptions): Use real FP ops rather than writing
1471         into the %fsr.
1472         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1473         Likewise.
1475 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1477         [BZ #14117]
1478         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1479         * sysdeps/x86/bits/xtitypes.h: This.
1481         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1482         * sysdeps/x86/bits/wordsize.h: This.
1484         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1485         * sysdeps/x86/bits/huge_vall.h: This.
1487         * sysdeps/i386/bits/select.h: Removed.
1488         * sysdeps/x86_64/bits/select.h: Renamed to ...
1489         * sysdeps/x86/bits/select.h: This.
1491         * sysdeps/i386/bits/setjmp.h: Removed.
1492         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1493         * sysdeps/x86/bits/setjmp.h: This.
1495         * sysdeps/i386/bits/mathdef.h: Removed.
1496         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1497         * sysdeps/x86/bits/mathdef.h: This.
1499 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
1501         [BZ #14132]
1502         * include/sys/socket.h (__connect_internal)
1503         (__libc_sa_len_internal): Remove declaration.
1504         (__connect, __libc_sa_len): Declare hidden_proto.
1505         (SA_LEN): Remove use of INTUSE.
1506         * socket/connect.c: Add libc_hidden_def.
1507         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1508         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1509         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1510         alias.
1511         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1512         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1513         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1514         of adding _internal alias.
1516 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1518         [BZ #14117]
1519         * sysdeps/i386/bits/link.h: Removed.
1520         * sysdeps/i386/bits/linkmap.h: Likewise.
1521         * sysdeps/x86_64/bits/link.h: Renamed to ...
1522         * sysdeps/x86/bits/link.h: This.
1523         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1524         * sysdeps/x86/bits/linkmap.h: This.
1526         * sysdeps/i386/bits/endian.h: Removed.
1527         * sysdeps/x86_64/bits/endian.h: Renamed to ...
1528         * sysdeps/x86/bits/endian.h: This.
1530         * sysdeps/i386/bits/byteswap.h: Removed.
1531         * sysdeps/i386/bits/byteswap-16.h: Likewise.
1532         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1533         * sysdeps/x86/bits/byteswap.h: This.
1534         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1535         * sysdeps/x86/bits/byteswap-16.h: This.
1536         * sysdeps/i386/Implies: Add x86.
1537         * sysdeps/x86_64/Implies: Likewise.
1539 2012-05-30  David S. Miller  <davem@davemloft.net>
1541         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1542         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1543         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1544         (FP_TRAPPING_EXCEPTIONS): Define.
1545         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1546         (FP_TRAPPING_EXCEPTIONS): Define.
1547         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1548         subnormals only when inexact has been signalled or underflow
1549         exceptions are enabled.
1550         (_FP_PACK_CANONICAL): Likewise.
1552 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1554         [BZ #14183]
1555         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1556         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1558 2012-05-30  Richard Henderson  <rth@twiddle.net>
1560         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1561         with #ifndef NOT_IN_libc.
1563         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
1564         marked to avoid plt entry.
1566 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1568         [BZ #14112]
1569         * Makeconfig (default-abi): New macro.
1570         (abi-includes): Likewise.
1571         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
1572         $(abi-$(default-abi)-lib-soname) for soname if defined.
1573         ($(common-objpfx)gnu/lib-names.stmp): Generate from
1574         abi-variants.
1575         * Makefile (installed-stubs): Likewise.
1576         * include/stubs-biarch.h: Removed.
1577         * scripts/lib-names.awk: Only handle one library at a time.
1578         * scripts/soversions.awk: Remove WORDSIZE support.
1579         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1580         entries.
1581         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1582         Removed.
1583         (syscall-list-default-condition): Likewise.
1584         (syscall-list-default-condition): Likewise.
1585         (syscall-list-includes): Likewise.
1586         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1587         syscall-list-* with abi-*.  Handle undefined abi-variants.
1588         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1589         * sysdeps/unix/sysv/linux/i386/Implies: New file.
1590         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1591         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1592         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1593         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1594         Removed.
1595         (syscall-list-32-options): Likewise.
1596         (syscall-list-32-condition): Likewise.
1597         (syscall-list-64-options): Likewise.
1598         (syscall-list-64-condition): Likewise.
1599         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1600         macro.
1601         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1602         Renamed to ...
1603         (abi-*): This.
1604         (abi-64-ld-soname): New macro.
1605         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1606         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1607         Renamed to ...
1608         (abi-*): This.
1609         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1610         * sysdeps/x86_64/x32/shlib-versions: Likewise.
1612 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
1614         * sysdeps/unix/sysv/linux/kernel-features.h
1615         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1616         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1617         include <kernel-features.h>.
1618         [!__NR_ftruncate64]: Remove conditional code.
1619         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1620         [__NR_ftruncate64]: Make code unconditional.
1621         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1622         * sysdeps/unix/sysv/linux/truncate64.c: Do not
1623         include <kernel-features.h>.
1624         [!__NR_ftruncate64]: Remove conditional code.
1625         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1626         [__NR_ftruncate64]: Make code unconditional.
1627         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1629         include <kernel-features.h>.
1630         [!__NR_ftruncate64]: Remove conditional code.
1631         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1632         [__NR_ftruncate64]: Make code unconditional.
1633         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1635         include <kernel-features.h>.
1636         [!__NR_ftruncate64]: Remove conditional code.
1637         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1638         [__NR_ftruncate64]: Make code unconditional.
1639         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1641         * configure.in (libc_cv_fpie): Weaken to a compile test using
1642         LIBC_TRY_CC_OPTION.
1643         * configure: Regenerated.
1645 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1651         Refreshed.
1652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1658         Refreshed.
1660 2012-05-27  David S. Miller  <davem@davemloft.net>
1662         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1663         (___Q_zero): New.
1664         (__Q_simulate_exceptions): Return void.  Change to simulate
1665         exceptions by writing into the %fsr.
1666         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1667         (__Qp_handle_exceptions): Likewise.
1668         (numbers): Delete.
1669         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1670         __Qp_handle_exceptions.
1671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1672         __Qp_handle_exceptions.
1673         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1674         as unused and give dummy FP_RND_NEAREST initializer.
1675         (FP_INHIBIT_RESULTS): Define.
1676         (___Q_simulate_exceptions): Update declaration.
1677         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1678         formatting.
1679         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1680         as unused and give dummy FP_RND_NEAREST initializer.
1681         (__Qp_handle_exceptions): Update declaration.
1682         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1683         formatting.
1685 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
1687         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1688         the temporary FPU control word.
1689         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1690         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1691         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1692         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1693         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1694         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1695         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1696         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1697         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1698         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1699         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1701 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1703         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1704         fields.
1706 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
1708         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1709         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1710         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1711         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1712         Likewise.
1713         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1714         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1715         Likewise.
1717 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
1719         * po/h.po: Update from translation team.
1721 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
1723         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1725         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1726         handling of denormals.
1727         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1728         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1729         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1730         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1731         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1732         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1733         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1734         Likewise.
1736 2012-05-26  Marek Polacek  <polacek@redhat.com>
1738         [BZ #14152]
1739         * math/libm-test.inc (fma_test): Don't always expect underflow
1740         exception.
1742 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1744         [BZ #12416]
1745         * elf/tst-execstack.c: Include stackinfo.h.
1746         (do_test): Adjust test case to ensure that pthread_getattr_np
1747         behaviour remains the same after marking stack executable.
1749 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1751         * sysdeps/unix/sysv/linux/kernel-features.h
1752         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1753         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1754         kernel-features.h.
1755         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1756         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1757         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1758         kernel-features.h.
1759         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1760         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1762 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1764         * configure.in: Define the default includes to being none.
1765         * configure: Regenerated.
1767 2012-05-25  Roland McGrath  <roland@hack.frob.com>
1769         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1770         * sysdeps/x86_64/setjmp.S: Likewise.
1771         * sysdeps/i386/bsd-setjmp.S: Likewise.
1772         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1773         * sysdeps/i386/setjmp.S: Likewise.
1774         * sysdeps/i386/__longjmp.S: Likewise.
1775         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1776         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1778         * include/stap-probe.h: New file.
1779         * configure.in: Handle --enable-systemtap.
1780         * configure: Regenerated.
1781         * config.h.in (USE_STAP_PROBE): New #undef.
1782         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1783         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1784         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1786 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1788         [BZ #13717]
1789         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1790         to 2.4.0 where earlier.
1791         * sysdeps/unix/sysv/linux/configure: Regenerated.
1792         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1793         <kernel-features.h>.
1794         [__ASSUME_32BITUIDS]: Make code unconditional.
1795         [!__ASSUME_32BITUIDS]: Remove conditional code.
1796         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1797         <kernel-features.h>.
1798         [__ASSUME_32BITUIDS]: Make code unconditional.
1799         [!__ASSUME_32BITUIDS]: Remove conditional code.
1800         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1801         [__ASSUME_32BITUIDS]: Make code unconditional.
1802         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1803         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1804         <kernel-features.h>.
1805         [__ASSUME_32BITUIDS]: Make code unconditional.
1806         [!__ASSUME_32BITUIDS]: Remove conditional code.
1807         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1808         <kernel-features.h>.
1809         [__ASSUME_32BITUIDS]: Make code unconditional.
1810         [!__ASSUME_32BITUIDS]: Remove conditional code.
1811         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1812         <kernel-features.h>.
1813         [__ASSUME_32BITUIDS]: Make code unconditional.
1814         [!__ASSUME_32BITUIDS]: Remove conditional code.
1815         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1816         <kernel-features.h>.
1817         [__ASSUME_32BITUIDS]: Make code unconditional.
1818         [!__ASSUME_32BITUIDS]: Remove conditional code.
1819         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1820         <kernel-features.h>.
1821         [__ASSUME_32BITUIDS]: Make code unconditional.
1822         [!__ASSUME_32BITUIDS]: Remove conditional code.
1823         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1824         <kernel-features.h>.
1825         [__ASSUME_32BITUIDS]: Make code unconditional.
1826         [!__ASSUME_32BITUIDS]: Remove conditional code.
1827         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1828         <kernel-features.h>.
1829         [__ASSUME_32BITUIDS]: Make code unconditional.
1830         [!__ASSUME_32BITUIDS]: Remove conditional code.
1831         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1832         <kernel-features.h>.
1833         [__ASSUME_32BITUIDS]: Make code unconditional.
1834         [!__ASSUME_32BITUIDS]: Remove conditional code.
1835         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1836         <kernel-features.h>.
1837         [__ASSUME_32BITUIDS]: Make code unconditional.
1838         [!__ASSUME_32BITUIDS]: Remove conditional code.
1839         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1840         <kernel-features.h>.
1841         [__ASSUME_32BITUIDS]: Make code unconditional.
1842         [!__ASSUME_32BITUIDS]: Remove conditional code.
1843         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1844         <kernel-features.h>.
1845         [__NR_setresgid] (__setresgid): Do not declare.
1846         [__ASSUME_32BITUIDS]: Make code unconditional.
1847         [!__ASSUME_32BITUIDS]: Remove conditional code.
1848         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1849         <kernel-features.h>.
1850         [__NR_setresuid] (__setresuid): Do not declare.
1851         [__ASSUME_32BITUIDS]: Make code unconditional.
1852         [!__ASSUME_32BITUIDS]: Remove conditional code.
1853         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1854         <kernel-features.h>.
1855         [__ASSUME_32BITUIDS]: Make code unconditional.
1856         [!__ASSUME_32BITUIDS]: Remove conditional code.
1857         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1858         <kernel-features.h>.
1859         [__ASSUME_32BITUIDS]: Make code unconditional.
1860         [!__ASSUME_32BITUIDS]: Remove conditional code.
1861         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1862         <kernel-features.h>.
1863         [__ASSUME_32BITUIDS]: Make code unconditional.
1864         [!__ASSUME_32BITUIDS]: Remove conditional code.
1865         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1866         <kernel-features.h>.
1867         [__ASSUME_32BITUIDS]: Make code unconditional.
1868         [!__ASSUME_32BITUIDS]: Remove conditional code.
1869         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1870         <kernel-features.h>.
1871         [__ASSUME_32BITUIDS]: Make code unconditional.
1872         [!__ASSUME_32BITUIDS]: Remove conditional code.
1873         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1874         <kernel-features.h>.
1875         [__ASSUME_32BITUIDS]: Make code unconditional.
1876         [!__ASSUME_32BITUIDS]: Remove conditional code.
1877         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1878         <kernel-features.h>.
1879         [__ASSUME_32BITUIDS]: Make code unconditional.
1880         [!__ASSUME_32BITUIDS]: Remove conditional code.
1881         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1882         <kernel-features.h>.
1883         [__ASSUME_32BITUIDS]: Make code unconditional.
1884         [!__ASSUME_32BITUIDS]: Remove conditional code.
1885         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1886         <kernel-features.h>.
1887         [__ASSUME_32BITUIDS]: Make code unconditional.
1888         [!__ASSUME_32BITUIDS]: Remove conditional code.
1889         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1890         <kernel-features.h>.
1891         [__ASSUME_32BITUIDS]: Make code unconditional.
1892         [!__ASSUME_32BITUIDS]: Remove conditional code.
1893         * sysdeps/unix/sysv/linux/kernel-features.h
1894         (__ASSUME_SETRESUID_SYSCALL): Remove.
1895         (__ASSUME_SETRESGID_SYSCALL): Likewise.
1896         (__ASSUME_32BITUIDS): Likewise.
1897         (__ASSUME_LDT_WORKS): Likewise.
1898         (__ASSUME_O_DIRECTORY): Likewise.
1899         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1900         architecture but not kernel version.
1901         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1902         (__ASSUME_MMAP2_SYSCALL): Likewise.
1903         (__ASSUME_STAT64_SYSCALL): Likewise.
1904         (__ASSUME_IPC64): Likewise.
1905         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1906         <kernel-features.h>.
1907         [__ASSUME_32BITUIDS]: Make code unconditional.
1908         [!__ASSUME_32BITUIDS]: Remove conditional code.
1909         * sysdeps/unix/sysv/linux/opendir.c: Do not include
1910         <kernel-features.h>.
1911         [__ASSUME_O_DIRECTORY]: Make code unconditional.
1912         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1913         132096]: Remove conditional code.
1914         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1915         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1916         <kernel-features.h>.
1917         [__ASSUME_32BITUIDS]: Make code unconditional.
1918         [!__ASSUME_32BITUIDS]: Remove conditional code.
1919         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1920         <kernel-features.h>.
1921         [__ASSUME_32BITUIDS]: Make code unconditional.
1922         [!__ASSUME_32BITUIDS]: Remove conditional code.
1923         * sysdeps/unix/sysv/linux/setegid.c: Do not include
1924         <kernel-features.h>.
1925         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1926         unconditional.
1927         (__setresgid): Do not declare.
1928         [__ASSUME_32BITUIDS]: Make code unconditional.
1929         [!__ASSUME_32BITUIDS]: Remove conditional code.
1930         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1931         <kernel-features.h>.
1932         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1933         unconditional.
1934         (__setresuid): Do not declare.
1935         [__ASSUME_32BITUIDS]: Make code unconditional.
1936         [!__ASSUME_32BITUIDS]: Remove conditional code.
1937         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1938         <kernel-features.h>.
1939         [__ASSUME_32BITUIDS]: Make code unconditional.
1940         [!__ASSUME_32BITUIDS]: Remove conditional code.
1941         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1942         <kernel-features.h>.
1943         [__ASSUME_32BITUIDS]: Make code unconditional.
1944         [!__ASSUME_32BITUIDS]: Remove conditional code.
1946 2012-05-25  Richard Henderson  <rth@twiddle.net>
1948         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1949         dl_hwcap to ifunc resolver.
1950         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1951         elf_ifunc_invoke.
1952         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1953         dl_hwcap to ifunc resolver.
1954         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1956 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1958         [BZ #14153]
1959         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1960         for |x| <= 2**-26, not 2**-57.
1961         * math/libm-test.inc (acos_test): Do not allow spurious underflow
1962         exception.
1964 2012-05-24  Jeff Law  <law@redhat.com>
1966         * stdio-common/Makefile (tests): Add bug25.
1967         * stdio-common/bug25.c: New test.
1969 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1971         [BZ #13576]
1972         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1973         multiple of MALLOC_ALIGNMENT in size.
1974         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1976 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
1978         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1979         Require >= 256.
1980         (FILENAME_MAX): Use macro-int-constant.
1981         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
1982         (_IOFBF): Use macro-int-constant.
1983         (_IOLBF): Likewise.
1984         (_IONBF): Likewise.
1985         (SEEK_CUR): Likewise.
1986         (SEEK_END): Likewise.
1987         (SEEK_SET): Likewise.
1988         (TMP_MAX): Likewise.
1989         (EOF): Use macro-int-constant.  Require < 0.
1990         (NULL): Use macro-constant.  Require == 0.
1991         (stdin): Require type to be FILE *.
1992         (stdout): Likewise.
1993         (stderr): Likewise.
1994         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1995         macro-int-constant.
1996         (EXIT_SUCCESS): Likewise.
1997         (NULL): Use macro-constant.  Require == 0.
1998         (RAND_MAX): Use macro-int-constant.
1999         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2000         [C99-based standards] (strtof): Require function.
2001         [C99-based standards] (strtold): Likewise.
2002         [C99-based standards] (strtoll): Likewise.
2003         [C99-based standards] (strtoull): Likewise.
2004         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2005         [ISO || ISO99 || ISO11] (limits.h): Likewise.
2006         [ISO || ISO99 || ISO11] (math.h): Likewise.
2007         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2008         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2009         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2011 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
2013         [BZ #14132]
2014         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2015         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2016         * intl/dgettext.c (DCGETTEXT): Likewise.
2017         * intl/gettext.c (DCGETTEXT): Likewise.
2018         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2019         * posix/regex_internal.h (gettext): Likewise.
2020         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2021         Remove declaration.
2022         * include/argz.h (__argz_count_internal)
2023         (__argz_stringify_internal): Remove declaration.
2024         (__argz_count, __argz_stringify): Declare hidden proto.
2025         * intl/dcgettext.c: Remove use of INTDEF.
2026         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2027         * string/argz-stringify.c: Likewise.
2028         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2029         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2030         Declare hidden proto.
2031         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2032         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2033         Declare hidden proto.
2034         * include/stdio.h (__asprintf_internal): Don't declare.
2035         (__asprintf): Don't define as macro.  Declare hidden proto.
2036         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2037         (__fsetlocking): Declare hidden proto.
2038         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2039         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2040         hidden proto.
2041         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2042         (_IO_setlinebuf): Remove use of INTUSE.
2043         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2044         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2045         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2046         Remove declaration.
2047         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2048         (_IO_do_flush): Remove use of INTUSE.
2049         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2050         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2051         (_IO_adjust_column, _IO_least_wmarker)
2052         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2053         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2054         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2055         (_IO_default_doallocate, _IO_wdefault_doallocate)
2056         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2057         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2058         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2059         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2060         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2061         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2062         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2063         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2064         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2065         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2066         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2067         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2068         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2069         proto.
2070         (_IO_flush_all_internal, _IO_adjust_column_internal)
2071         (_IO_default_uflow_internal, _IO_default_finish_internal)
2072         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2073         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2074         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2075         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2076         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2077         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2078         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2079         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2080         (_IO_file_close_internal, _IO_file_close_it_internal)
2081         (_IO_file_underflow_internal, _IO_file_overflow_internal)
2082         (_IO_file_init_internal, _IO_file_attach_internal)
2083         (_IO_file_fopen_internal, _IO_file_read_internal)
2084         (_IO_file_sync_internal, _IO_file_seek_internal)
2085         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2086         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2087         (_IO_str_underflow_internal, _IO_str_overflow_internal)
2088         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2089         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2090         (_IO_list_all_internal, _IO_link_in_internal)
2091         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2092         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2093         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2094         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2095         (_IO_do_write_internal, _IO_padn_internal)
2096         (_IO_getline_info_internal, _IO_getline_internal)
2097         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2098         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2099         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2100         (_IO_vfscanf_internal, _IO_vfprintf_internal)
2101         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2102         (_IO_init_internal, _IO_un_link_internal): Don't declare.
2103         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2104         with libc_hidden_ver, remove use of INTUSE.
2105         * libio/genops.c: Likewise.
2106         * libio/freopen.c: Likewise.
2107         * libio/freopen64.c: Likewise.
2108         * libio/iofclose.c: Likewise.
2109         * libio/iofdopen.c: Likewise.
2110         * libio/iofflush.c: Likewise.
2111         * libio/iofflush_u.c: Likewise.
2112         * libio/iofgets.c: Likewise.
2113         * libio/iofgets_u.c: Likewise.
2114         * libio/iofopen.c: Likewise.
2115         * libio/iofopncook.c: Likewise.
2116         * libio/iofread.c: Likewise.
2117         * libio/iofread_u.c: Likewise.
2118         * libio/ioftell.c: Likewise.
2119         * libio/iofwrite.c: Likewise.
2120         * libio/iogetline.c: Likewise.
2121         * libio/iogets.c: Likewise.
2122         * libio/iogetwline.c: Likewise.
2123         * libio/iopadn.c: Likewise.
2124         * libio/iopopen.c: Likewise.
2125         * libio/ioseekoff.c: Likewise.
2126         * libio/ioseekpos.c: Likewise.
2127         * libio/iosetbuffer.c: Likewise.
2128         * libio/iosetvbuf.c: Likewise.
2129         * libio/ioungetc.c: Likewise.
2130         * libio/ioungetwc.c: Likewise.
2131         * libio/iovdprintf.c: Likewise.
2132         * libio/iovsprintf.c: Likewise.
2133         * libio/iovsscanf.c: Likewise.
2134         * libio/memstream.c: Likewise.
2135         * libio/obprintf.c: Likewise.
2136         * libio/oldfileops.c: Likewise.
2137         * libio/oldiofclose.c: Likewise.
2138         * libio/oldiofdopen.c: Likewise.
2139         * libio/oldiofopen.c: Likewise.
2140         * libio/oldiopopen.c: Likewise.
2141         * libio/oldstdfiles.c: Likewise.
2142         * libio/putc.c: Likewise.
2143         * libio/setbuf.c: Likewise.
2144         * libio/setlinebuf.c: Likewise.
2145         * libio/stdfiles.c: Likewise.
2146         * libio/strops.c: Likewise.
2147         * libio/vasprintf.c: Likewise.
2148         * libio/vscanf.c: Likewise.
2149         * libio/vsnprintf.c: Likewise.
2150         * libio/vswprintf.c: Likewise.
2151         * libio/wfiledoalloc.c: Likewise.
2152         * libio/wfileops.c: Likewise.
2153         * libio/wgenops.c: Likewise.
2154         * libio/wmemstream.c: Likewise.
2155         * libio/wstrops.c: Likewise.
2156         * libio/__fpurge.c: Likewise.
2157         * libio/__fsetlocking.c: Likewise.
2158         * assert/assert.c: Likewise.
2159         * debug/fgets_chk.c: Likewise.
2160         * debug/fgets_u_chk.c: Likewise.
2161         * debug/fread_chk.c: Likewise.
2162         * debug/fread_u_chk.c: Likewise.
2163         * debug/gets_chk.c: Likewise.
2164         * debug/obprintf_chk.c: Likewise.
2165         * debug/vasprintf_chk.c: Likewise.
2166         * debug/vdprintf_chk.c: Likewise.
2167         * debug/vsnprintf_chk.c: Likewise.
2168         * debug/vsprintf_chk.c: Likewise.
2169         * malloc/mtrace.c: Likewise.
2170         * misc/error.c: Likewise.
2171         * misc/syslog.c: Likewise.
2172         * stdio-common/asprintf.c: Likewise.
2173         * stdio-common/fxprintf.c: Likewise.
2174         * stdio-common/getw.c: Likewise.
2175         * stdio-common/isoc99_fscanf.c: Likewise.
2176         * stdio-common/isoc99_scanf.c: Likewise.
2177         * stdio-common/isoc99_vfscanf.c: Likewise.
2178         * stdio-common/isoc99_vscanf.c: Likewise.
2179         * stdio-common/isoc99_vsscanf.c: Likewise.
2180         * stdio-common/printf-prs.c: Likewise.
2181         * stdio-common/printf_fp.c: Likewise.
2182         * stdio-common/printf_fphex.c: Likewise.
2183         * stdio-common/printf_size.c: Likewise.
2184         * stdio-common/putw.c: Likewise.
2185         * stdio-common/scanf.c: Likewise.
2186         * stdio-common/sprintf.c: Likewise.
2187         * stdio-common/tmpfile.c: Likewise.
2188         * stdio-common/vfprintf.c: Likewise.
2189         * stdio-common/vfscanf.c: Likewise.
2190         * stdlib/strfmon_l.c: Likewise.
2191         * sunrpc/openchild.c: Likewise.
2192         * sunrpc/xdr_stdio.c: Likewise.
2193         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2194         * sysdeps/mach/hurd/tmpfile.c: Likewise.
2196 2012-05-24  Roland McGrath  <roland@hack.frob.com>
2198         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2200         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2201         in the third column, to generate for the shared library an IFUNC
2202         that uses _dl_vdso_vsym.
2203         * Makerules (COMPILE.c, compile-stdin.c): New variables.
2204         * Makeconfig (object-suffixes-noshared): New variable.
2206         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2207         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2208         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2209         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2211         [BZ #14132]
2212         * include/sys/time.h (__gettimeofday): Remove macro.
2213         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2214         * time/gettimeofday.c (__gettimeofday): Remove #undef.
2215         Remove INTDEF.
2216         (__gettimeofday): Add libc_hidden_def.
2217         (gettimeofday): Add libc_hidden_weak.
2218         * sysdeps/mach/gettimeofday.c: Likewise.
2219         * sysdeps/posix/gettimeofday.c: Likewise.
2220         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2221         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2222         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2223         (__gettimeofday_internal): Remove strong_alias.
2224         (__gettimeofday): Add libc_hidden_def.
2225         (gettimeofday): Add libc_hidden_weak.
2226         * sysdeps/unix/syscalls.list (gettimeofday):
2227         Remove __gettimeofday_internal alias.
2229 2012-05-24  Daniel Jacobowitz  <drow@false.org>
2230             H.J. Lu  <hongjiu.lu@intel.com>
2232         [BZ #12495]
2233         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2234         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2235         (largebin_index_32_big): New.
2236         (largebin_index): Use it for 16-byte alignment.
2237         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
2238         correction with front_misalign.
2240 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2244         Likewise.
2245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2246         Likewise.
2247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2248         Likewise.
2249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2250         Likewise.
2251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2252         Likewise.
2253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2254         Likewise.
2255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2256         Likewise.
2257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2258         Likewise.
2259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2260         Likewise.
2261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2262         Likewise.
2263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2264         Likewise.
2265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2266         Likewise.
2268         * scripts/data/c++-types-x32-linux-gnu.data: New file.
2269         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2271 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2273         [BZ #10846]
2274         [BZ #14036]
2275         * math/libm-test.inc (exp_test): Add test from bug 14036.
2276         (pow_test): Add test from bug 10846.
2278         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2279         and other flags.
2280         (special_function): Do not include flags in test name.
2281         (parse_args): Likewise.
2282         * sysdeps/i386/fpu/libm-test-ulps: Update.
2283         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2284         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2285         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2288         * math/gen-libm-test.pl (%beautify): Add entries for underflow
2289         exceptions.
2290         * math/libm-test.inc ("Philosophy"): Update comment about
2291         exception testing.
2292         (UNDERFLOW_EXCEPTION): New macro.
2293         (UNDERFLOW_EXCEPTION_OK): Likewise.
2294         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2295         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2296         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2297         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2298         (INVALID_EXCEPTION_OK): Update value.
2299         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2300         (OVERFLOW_EXCEPTION_OK): Likewise.
2301         (IGNORE_ZERO_INF_SIGN): Likewise.
2302         (test_exceptions): Handle underflow exceptions.
2303         (acos_test): Update for underflow exception expectations.
2304         (cexp_test): Likewise.
2305         (clog_test): Likewise.
2306         (clog10_test): Likewise.
2307         (csqrt_test): Likewise.
2308         (ctan_test): Likewise.
2309         (ctanh_test): Likewise.
2310         (exp_test): Likewise.
2311         (exp10_test): Likewise.
2312         (exp2_test): Likewise.
2313         (expm1_test): Likewise.
2314         (fma_test): Likewise.
2315         (j0_test): Likewise.
2316         (jn_test): Likewise.
2317         (nexttoward_test): Likewise.
2318         (pow_test): Likewise.
2319         (scalbn_test): Likewise.
2320         (scalbln_test): Likewise.
2321         (tan_test): Likewise.
2322         (y1_test): Likewise.
2323         * sysdeps/i386/fpu/libm-test-ulps: Update.
2324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2326 2012-05-23  David S. Miller  <davem@davemloft.net>
2328         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2329         (__libc_sigaction): Remove unused local variables.
2331 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2333         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2335 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
2337         mktime: avoid signed integer overflow
2338         * time/mktime.c (__mktime_internal): Do not mishandle the case
2339         where diff == INT_MIN.
2341         mktime: simplify computation of average
2342         * time/mktime.c (ranged_convert): Use new time_t_avg function
2343         instead of rolling our own (probably-slower) code.
2345         mktime: do not assume signed right shift propagates sign bit
2346         * time/mktime.c (isdst_differ): New static function.
2347         (__mktime_internal): No need to normalize tm_isdst now.
2348         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2349         tm_isdst values.
2351         mktime: merge another wrapv change from gnulib
2352         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2353         from some compilers.
2355         mktime: remove incorrect attempt at unusual arithmetics
2356         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2357         The code didn't really work on such machines anyway.
2358         (TYPE_MINIMUM): Assume two's complement.
2359         (twos_complement_arithmetic): Verify that long_int and time_t
2360         are two's complement (or unsigned, in the latter case).
2362         mktime: check signed shifts on long_int and time_t, too
2363         * time/mktime.c (SHR): Check that shifts work as desired
2364         on the types long_int and time_t too, as SHR is used on
2365         such types.
2367         mktime: do not assume 'long' is wide enough
2368         * time/mktime.c (verify): Move decl up.
2369         (long_int): New type.
2370         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2371         to remove assumption in the code that 'long' is wide enough to
2372         store year values.  This assumption is not true on x32 and on
2373         some non-glibc platforms.
2375         mktime: merge wrapv change from gnulib
2376         * time/mktime.c (WRAPV): New macro.
2377         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2378         (guess_time_tm, __mktime_internal): Do not assume that signed
2379         integer overflow wraps around; modern compilers generate code
2380         where this assumption is no longer valid.
2382 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2384         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2385         Replace "jmp L(pseudo_end)" with "ret".
2386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2387         Likewise.
2389 2012-05-23  Andreas Jaeger  <aj@suse.de>
2391         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2392         * sysdeps/unix/sysv/linux/poll.c: Remove file.
2394 2012-05-23  Andreas Jaeger  <aj@suse.de>
2395             Maximilian Attems  <max@stro.at>
2397         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2398         New macros.
2400 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2402         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2403         code so that pseudo_end is just ret and the stack pointer is
2404         correct also for static library in error case.
2406 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
2408         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2409         move to syscalls.list.
2410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2415         * manual/install.texi (Running make install): Do not mention Linux
2416         kernel version for which pt_chown is not needed.
2417         (Linux): Do not mention problems with nscd with 2.0 kernels.
2418         * INSTALL: Regenerated.
2420 2012-05-23  Andreas Jaeger  <aj@suse.de>
2422         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2423         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2424         macro.
2425         * sysdeps/unix/sysv/linux/s390/bits/mman.h
2426         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2427         * sysdeps/unix/sysv/linux/sh/bits/mman.h
2428         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2429         * sysdeps/unix/sysv/linux/i386/bits/mman.h
2430         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2431         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2432         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2433         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2434         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2435         * sysdeps/unix/sysv/linux/bits/in.h
2436         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2438 2012-05-22  Roland McGrath  <roland@hack.frob.com>
2440         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2441         (PREPARE_VERSION): Just use assert instead, it will be elided
2442         under [NDEBUG] anyway.
2444 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2446         * sysdeps/unix/sysv/linux/Makefile: Include
2447         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2448         (sysdep_routines): Remove sysctl.
2449         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2450         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2451         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2452         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2453         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2455 2012-05-22  Andreas Jaeger  <aj@suse.de>
2457         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2458         that pseudo_end is just ret and the stack pointer is correct also
2459         for static library in error case.
2461 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
2463         [BZ #14122]
2464         * nss/nsswitch.c (defconfig_entries): New variable.
2465         (__nss_database_lookup): Don't leak defconfig entries.
2466         (nss_parse_service_list): Don't leak on error paths.
2467         (free_database_entries): New function.
2468         (free_defconfig): New function.
2469         (free_mem): Move common code to free_database_entries.
2471 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2473         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2474         Add arch_prctl.
2475         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2477         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2478         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2479         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2480         New macro.
2481         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2482         (INTERNAL_SYSCALL_TYPES): Likewise.
2483         (LOAD_ARGS_TYPES_[1-6]): Likewise.
2484         (LOAD_REGS_TYPES_[1-6]): Likewise.
2485         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2486         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2488 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2490         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2491         copysignl for GLIBC_2_0.
2492         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2493         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2494         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2495         logbl for GLIBC_2_0.
2496         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2497         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2499 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2501         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2502         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2504         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2505         Use "neg %eax".
2507         * time/mktime.c: Update copyright years.
2509 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2511         mktime: merge comment-quoting-style change from gnulib
2512         * time/mktime.c: Quote 'like this' in comments.
2513         The GNU coding standards suggest that we no longer quote `like this',
2514         as "`" and "'" are typically rendered asymmetrically nowadays.
2515         The typical gnulib style is to quote 'like this' when quoting
2516         code, and "like this" when quoting English.
2518         * time/mktime.c (compile-command): Add "-I.".
2520         mktime: merge mktime-internal.h change from gnulib
2521         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2523         mktime: merge time_r change from gnulib
2524         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2526         mktime: merge DEBUG change from gnulib
2527         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2528         case system <time.h> has a #define.
2530         mktime: merge <sys/types.h> change from gnulib
2531         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2532         since <time.t> is now guaranteed to define time_t.
2534         mktime: merge HAVE_CONFIG_H change from gnulib
2535         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2537 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2539         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2540         Use "neg %eax".
2542         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2543         __rlim_t cast.
2544         (struct rusage): Use anonymous union to pad each field to
2545         __syscall_slong_t.
2547 2012-05-21  David S. Miller  <davem@davemloft.net>
2549         * Makefules (o-iterator): Remove .s cases.
2550         (compile-command.s): Delete.
2551         (COMPILE.s): Delete.
2552         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2554 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
2556         * configure.in (libc_cv_predef_stack_protector): Only consider
2557         "foobar" and "__stack_chk_fail" lines in libc_undefs.
2558         * configure: Regenerated.
2560 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2563         New macro.  Use R*LP on int and pointer.
2564         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2565         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2566         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2567         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2569         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2570         [__WORDSIZE_TIME64_COMPAT32] instead of
2571         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2572         (struct utmp): Likewise.
2573         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2574         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2575         Renamed to ...
2576         (__WORDSIZE_TIME64_COMPAT32): This.
2577         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2578         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2579         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2580         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2581         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2582         (__WORDSIZE_TIME64_COMPAT32): New macro.
2584 2012-05-21  Andreas Jaeger  <aj@suse.de>
2586         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2587         only if [SHARED]. Add prototype for __wcschr_ia32.
2589 2012-05-21  Roland McGrath  <roland@hack.frob.com>
2591         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2592         of %rbp unmolested in the jmp_buf while mangling the low bits.
2593         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2594         unmolested high bits of %rbp while demangling the low bits.
2595         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2597 2012-05-21  Andreas Jaeger  <aj@suse.de>
2599         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2600         * sunrpc/svc_simple.c: Use it for registerrpc.
2601         * sunrpc/xcrypt.c: Use it for passwd2des.
2603         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2605 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2607         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2608         Don't define if [__SYSCALL_WORDSIZE != 32].
2609         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2610         New macro.
2612 2012-05-21  Bruno Haible  <bruno@clisp.org>
2613             Andreas Jaeger  <aj@suse.de>
2615         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2616         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2617         inptr and inend for must_buffer_ch.
2618         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2619         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2620         * stdio-common/Makefile (tests): Remove bug15.
2621         (bug15-ENV): Remove macro.
2622         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2623         anymore.
2625 2012-05-19  Andreas Jaeger  <aj@suse.de>
2626             Roland McGrath  <roland@hack.frob.com>
2628         * manual/contrib.texi: Completely rewritten. It contains now an
2629         alphabetical list of contributors and their contributions.
2631 2012-05-21  Richard Henderson  <rth@twiddle.net>
2633         * misc/getauxval.c (__getauxval): Use unsigned long int.
2634         * misc/sys/auxv.h: Include <sys/cdefs.h>.
2635         (getauxval): Use unsigned long int.
2637 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2639         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2641 2012-05-21  Roland McGrath  <roland@hack.frob.com>
2643         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2644         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2645         __alignof__ (long double).
2647 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2651 2012-05-20  Richard Henderson  <rth@twiddle.net>
2653         * misc/getauxval.c: New file.
2654         * misc/sys/auxv.h: New file.
2655         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2656         (routines): Add getauxval.
2657         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2658         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2659         * elf/dl-sysdep.c (_dl_auxv): Remove.
2660         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2661         * elf/dl-support.c (_dl_auxv): New variable.
2662         (_dl_aux_init): Initialize it.
2663         * manual/startup.texi (Auxiliary Vector): New node.
2664         * sysdeps/generic/bits/hwcap.h: New file.
2665         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2666         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
2667         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2668         * sysdeps/sparc/sysdep.h: ... here.  Include it.
2669         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2670         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2672         Update.
2673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2676         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2682 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2686 2012-05-19  David S. Miller  <davem@davemloft.net>
2688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2690 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
2692         [BZ #14123]
2693         * math/s_ccosh.c: Include <float.h>
2694         (__ccosh): Avoid internal overflow calculating sinh and cosh
2695         values before multiplying by sin and cos values.
2696         * math/s_ccoshf.c: Likewise.
2697         * math/s_ccoshl.c: Likewise.
2698         * math/s_csin.c: Likewise.
2699         * math/s_csinf.c: Likewise.
2700         * math/s_csinl.c: Likewise.
2701         * math/s_csinh.c: Likewise.
2702         * math/s_csinhf.c: Likewise.
2703         * math/s_csinhl.c: Likewise.
2704         * math/libm-test.inc (ccos_test): Add more tests.
2705         (ccosh_test): Likewise.
2706         (csin_test): Likewise.
2707         (csinh_test): Likewise.
2708         * sysdeps/i386/fpu/libm-test-ulps: Update.
2709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2711 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2713         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2714         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2716         * sysdeps/x86_64/x32/_itoa.h: Add comment.
2718 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
2720         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2721         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2722         * sysdeps/powerpc/soft-fp/Versions: Likewise.
2723         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2724         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2725         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2726         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2727         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2728         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2729         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2730         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2731         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2732         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2733         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2734         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2735         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2736         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2737         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2738         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2739         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2740         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2741         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2742         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2743         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2744         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2745         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2746         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2747         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2748         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2749         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2750         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2752 2012-05-18  Andreas Jaeger  <aj@suse.de>
2754         * csu/.gitignore: Delete.
2756 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2758         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2759         (timex): Use __syscall_slong_t.
2761 2012-05-18  Andreas Jaeger  <aj@suse.de>
2762             Carlos O'Donell  <carlos_odonell@mentor.com>
2764         * manual/install.texi (Configuring and compiling): Update
2765         description about files modified in the source directory.
2766         * INSTALL: Regenerated.
2768 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2770         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2771         value.  Use "or" to set return value to -1.
2772         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2773         negate return value.
2775 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2777         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2778         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2779         failure if the compiler has Graphite support disabled.
2780         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2781         Likewise.
2782         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2783         CFLAGS-memmove.c): Likewise.
2784         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2785         Likewise.
2787 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2789         * sysdeps/x86_64/x32/_itoa.h: New file.
2791         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2792         getdents system call only if kernel and user dirents have the
2793         same d_ino and d_off.
2795         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2796         LLONG_MAX != LONG_MAX.
2797         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2798         (_fitoa_word): Likewise.
2800         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2801         years.
2802         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2803         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2804         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2806         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2807         include <bits/wordsize.h>.  Check __x86_64__ instead of
2808         __WORDSIZE.
2809         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2810         if __x86_64__ is defined.  Use anonymous union on fpstate.
2812         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2813         anonymous union.
2815 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
2817         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2818         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2819         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2820         Refer to _rtld_local_ro instead of _rtld_global_ro.
2821         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2822         Likewise.
2823         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2824         Likewise.
2825         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2826         Likewise.
2827         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2828         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2829         of _rtld_global, and rtld_progname instead of _dl_argv[0].
2831         * sysdeps/powerpc/powerpc32/dl-machine.c
2832         (__elf_machine_runtime_setup) [PROF]: Don't reference
2833         _dl_prof_resolve.
2835 2012-05-18  Andreas Jaeger  <aj@suse.de>
2837         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2838         function only available for GCCs before 3.4 since GCC 3.4
2839         introduced a builtin.
2840         (lrint): Likewise.
2841         (llrintf): Likewise.
2842         (llrint): Likewise.
2843         (fmaxf): Likewise.
2844         (fmax): Likewise.
2845         (fminf): Likewise.
2846         (fmin): Likewise.
2847         (rint): Likewise.
2848         (rintf): Likewise.
2849         (nearbyint): Likewise.
2850         (nearbyintf): Likewise.
2851         (ceil): Likewise.
2852         (ceilf): Likewise.
2853         (floor): Likewise.
2854         (floorf): Likewise.
2856 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2858         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2859         on both fields and cast pointer to __syscall_ulong_t.
2861         * bits/types.h (__fsword_t): New type.
2862         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2863         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2864         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2865         (__FSWORD_T_TYPE): Likewise.
2866         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2867         (__FSWORD_T_TYPE): Likewise.
2868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2869         (__FSWORD_T_TYPE): Likewise.
2870         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2871         (__FSWORD_T_TYPE): Likewise.
2872         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2873         __SWORD_TYPE with __fsword_t.
2874         (statfs64): Likewise.
2876 2012-05-17  David S. Miller  <davem@davemloft.net>
2878         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2880 2012-05-17  Andreas Jaeger  <aj@suse.de>
2882         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2883         warning.
2885 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2887         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2889 2012-05-17  Andreas Jaeger  <aj@suse.de>
2891         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2892         when it is used.
2894 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
2896         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2898 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2900         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2901         * sysdeps/x86_64/tst-mallocalign1.c: New file.
2903 2012-05-17  Andreas Jaeger  <aj@suse.de>
2904             Carlos O'Donell  <carlos_odonell@mentor.com>
2906         [BZ #14059]
2907         * sysdeps/x86_64/multiarch/init-arch.h
2908         (bit_YMM_Usable): Rename to...
2909         (bit_AVX_Usable): ... this.
2910         (bit_FMA4_Usable): New macro.
2911         (bit_XMM_state): New macro.
2912         (bit_YMM_state): New macro.
2913         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2914         [__ASSEMBLER__] (index_AVX_Usable): ... this.
2915         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2916         (CPUID_OSXSAVE): New macro.
2917         (CPUID_AVX): New macro.
2918         (CPUID_FMA4): New macro.
2919         (index_YMM_Usable): Rename to...
2920         (index_AVX_Usable): ... this.
2921         (HAS_AVX): Use HAS_ARCH_FEATURE.
2922         (HAS_FMA4): Likewise.
2923         (HAS_YMM_USABLE): Remove.
2924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2925         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2926         are present.
2927         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2928         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2929         * sysdeps/x86_64/multiarch/Makefile: Likewise.
2930         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2931         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2933 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
2935         * math/libm-test.c: Support platforms without multiple rounding modes.
2936         * math/bug-nextafter.c: Support platforms without FP exceptions.
2937         * math/bug-nexttoward.c: Likewise.
2938         * math/test-fenv.c: Likewise.
2939         * math/test-misc.c: Likewise.
2940         * stdlib/bug-getcontext.c: Likewise.
2942 2012-05-17  Andreas Jaeger  <aj@suse.de>
2944         * manual/examples/search.c (critter_cmp): Change signature to
2945         avoid warnings.
2946         * manual/string.texi (Collation Functions): Likewise.
2948 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2950         * bits/types.h: Fold copyright years.
2951         * bits/typesizes.h: Likewise.
2952         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2953         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2954         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2955         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2956         * time/time.h: Likewise.
2958 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
2960         [BZ #208]
2961         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2962         in instead of returning them.  Return void.
2963         (__libc_mallinfo): Accumulate over all arenas.
2964         (__malloc_stats): Adjust for change in int_mallinfo interface.
2966 2012-05-16  Roland McGrath  <roland@hack.frob.com>
2968         [BZ #10375]
2969         * configure.in (NM): Add AC_CHECK_TOOL for it.
2970         (libc_extra_cflags): New substituted variable.
2971         Check for -fstack-protector being used implicitly.
2972         * configure: Regenerated.
2973         * config.make.in (config-extra-cflags): New variable,
2974         gets @libc_extra_cflags@.
2975         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2977         [BZ #10375]
2978         * configure.in: Check for _FORTIFY_SOURCE being predefined.
2979         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2980         * configure: Regenerated.
2981         * config.make.in (CPPUNDEFS): New substituted variable.
2982         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2983         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2984         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2986 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2988         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2989         (mq_attr): Use __syscall_slong_t.
2991 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
2993         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2994         Check __x86_64__ instead of __WORDSIZE.
2995         (_STAT_VER_LINUX): Likewise.
2996         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
2997         __syscall_ulong_t and __syscall_slong_t.
2998         (stat64): Likewise.
3000 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3002         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3004 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3006         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3008 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3010         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3011         __syscall_ulong_t.
3013         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3014         include <bits/wordsize.h>.  Check __x86_64__ instead of
3015         __WORDSIZE.
3016         (greg_t): Use "__extension__ long long int" if __x86_64__ is
3017         defined.
3018         (mcontext_t): Replace "unsigned long" with "unsigned long long".
3020         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3021         include <bits/wordsize.h>.  Check __x86_64__ instead of
3022         __WORDSIZE.
3023         (user_regs_struct): Use "__extension__ unsigned long long"
3024         instead of "unsigned long" if __x86_64__ is defined.
3025         (user): Likewise.  Pad after pointer field if __ILP32__ is
3026         defined.
3028 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
3030         * configure.in (makeinfo): Require version 4.5 or later.  Allow
3031         versions 5 to 9.
3032         * configure: Regenerated.
3033         * manual/install.texi (texinfo): Increase version requirement to
3034         4.5 or later.
3035         * INSTALL: Regenerated.
3037         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3039 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3041         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3043         * sysdeps/x86_64/x32/ffs.c: New file.
3045         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3046         __syscall_ulong_t.
3047         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3048         defined.  Use __syscall_ulong_t.
3049         (shminfo): Use __syscall_ulong_t.
3050         (shm_info): Likewise.
3052         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3053         __syscall_ulong_t.
3055         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3056         <bits/wordsize.h>.
3057         (msgqnum_t): Use __syscall_ulong_t.
3058         (msglen_t): Likewise.
3059         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
3060         __syscall_ulong_t.
3062         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3063         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3065         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3067         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3068         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3070         * sysvipc/sys/msg.h (msgbuf): Replace long int with
3071         __syscall_slong_t.
3073         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3074         include <bits/wordsize.h>.  Check __x86_64__ instead of
3075         __WORDSIZE.
3077         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3078         "unsigned long long int" if __x86_64__ is defined.
3079         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3081         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3082         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3083         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3085         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3086         <stdint.h>.
3087         (GET_PC): Cast to uintptr_t first.
3088         (GET_FRAME): Likewise.
3089         (GET_STACK): Likewise.
3091         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3092         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3093         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3094         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3095         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3096         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3097         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3098         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3099         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3100         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3101         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3102         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3103         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3104         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3105         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3106         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3107         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3108         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3109         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3110         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3111         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3112         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3113         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3114         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3115         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3116         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3117         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3118         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3119         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3121 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
3123         * Makerules (+depfiles): Also collect depfiles from .oS in
3124         $(extra-objs).
3125         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3126         .oS, $(libnldbl-routines)).
3128         * Makerules (native-compile-mkdep-flags): Define.
3129         * sunrpc/Makefile (extra-objs): Add $(addprefix
3130         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3131         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3132         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
3133         calling $(make-target-directory).
3135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3137         * bits/types.h (__snseconds_t): Removed.
3138         * time/time.h (struct timespec): Replace __snseconds_t with
3139         __syscall_slong_t.
3140         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3141         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3142         Likewise.
3143         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3144         (__SNSECONDS_T_TYPE): Likewise.
3145         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3146         (__SNSECONDS_T_TYPE): Likewise.
3147         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3148         (__SNSECONDS_T_TYPE): Likewise.
3150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3152         * sysdeps/mach/hurd/bits/typesizes.h
3153         (__SYSCALL_SLONG_TYPE): New macro.
3154         (__SYSCALL_ULONG_TYPE): Likewise.
3156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3158         * bits/types.h (__syscall_slong_t): New type.
3159         (__syscall_ulong_t): Likewise.
3161         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3162         (__SYSCALL_ULONG_TYPE): Likewise.
3163         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3164         (__SYSCALL_SLONG_TYPE): Likewise.
3165         (__SYSCALL_ULONG_TYPE): Likewise.
3166         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3167         (__SYSCALL_SLONG_TYPE): Likewise.
3168         (__SYSCALL_ULONG_TYPE): Likewise.
3169         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3170         (__SYSCALL_SLONG_TYPE): Likewise.
3171         (__SYSCALL_ULONG_TYPE): Likewise.
3173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3175         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3176         Add sigaltstack-offsets.sym.
3177         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3178         <sigaltstack-offsets.h>.
3179         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
3180         longjmp_msg pointer.
3181         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
3182         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3183         signal stack.
3184         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3186 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
3188         * elf/stackguard-macros.h: Remove file.
3189         * sysdeps/generic/stackguard-macros.h: New file.
3190         * sysdeps/i386/stackguard-macros.h: Likewise.
3191         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3192         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3193         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3194         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3195         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3196         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3197         * sysdeps/x86_64/stackguard-macros.h: Likewise.
3198         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3199         <elf/stackguard-macros.h>.
3201         [BZ #14109]
3202         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3203         __aligned__ in attribute.
3204         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3205         (gregset_t): Likewise.
3207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3209         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3210         * sysdeps/x86_64/64/Implies-after: Here.  New file.
3211         * sysdeps/x86_64/x32/Implies-after: New file.
3213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3215         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3216         and access return value for _dl_profile_fixup.  Use R10_LP to
3217         load frame size.
3219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3221         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3225         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3226         * sysdeps/x86_64/x32/sysdep.h: New file.
3228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3230         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3231         * sysdeps/x86_64/setjmp.S: Likewise.
3233 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3235         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3236         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3237         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3238         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3239         remove unused global constant.
3241 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
3243         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3244         include of <not-cancel.h>.
3246 2012-05-15  Roland McGrath  <roland@hack.frob.com>
3248         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3250 2012-05-15  Jeff Law  <law@redhat.com>
3251             Andreas Jaeger  <aj@suse.de>
3253         [BZ #13594]
3254         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3255         out from...
3256         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3257         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3258         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3259         code changing __hst_map_handle.map.
3261 2012-05-15  Roland McGrath  <roland@hack.frob.com>
3263         * configure.in (sysnames): Look for Implies-before and Implies-after
3264         files.
3265         * configure: Regenerated.
3267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3269         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3270         8-byte data alignment with LP_SIZE alignment.
3272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3274         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3275         into R10_LP.
3277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3279         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3283         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3284         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3285         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3286         Likewise.
3287         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3291         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3292         (stackinfo_sub_sp): Likewise.
3294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3296         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3297         RAX_LP.
3299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3301         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3302         into R*_LP.
3304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3306         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3307         sizes into R*_LP.
3309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3311         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3313 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3315         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3316         into R11_LP and load __x86_64_shared_cache_size_half into
3317         R8_LP.
3319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3321         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3322         R8_LP.
3324 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3326         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3327         logb for POWER7.
3328         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3329         logbf for POWER7.
3330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3331         logbl for POWER7.
3332         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3333         powerpc32/power7/fpu/s_logb.c via #include.
3334         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3335         powerpc32/power7/fpu/s_logbf.c via #include.
3336         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3337         powerpc32/power7/fpu/s_logbl.c via #include.
3339 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
3341         * README.libm: Remove file.
3343 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3345         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3346         count for x32.  Use R*_LP and omit operand-size suffix.
3348 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3350         * shlib-versions: Move x86_64-.*-linux.* entries to ...
3351         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
3352         * sysdeps/x86_64/x32/shlib-versions: New file.
3354 2012-05-14  Roland McGrath  <roland@hack.frob.com>
3356         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3357         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3358         Use _dl_fatal_printf instead.
3360 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
3362         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3363         set if not set by the user.  Do not allow for being unset.
3364         * sysdeps/unix/sysv/linux/configure: Regenerated.
3366 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3368         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3369         the `q' suffix from lea and replace .quad with ASM_ADDR.
3371 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3374         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
3375         instead of $17.
3376         (PTR_DEMANGLE): Likewise.
3378 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3380         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3381         (LP_OP): Likewise.
3382         (ASM_ADDR): Likewise.
3383         (RAX_LP): Likewise.
3384         (RBP_LP): Likewise.
3385         (RBX_LP): Likewise.
3386         (RCX_LP): Likewise.
3387         (RDI_LP): Likewise.
3388         (RSI_LP): Likewise.
3389         (RSP_LP): Likewise.
3390         (R8_LP): Likewise.
3391         (R9_LP): Likewise.
3392         (R10_LP): Likewise.
3393         (R10_LP): Likewise.
3394         (R11_LP): Likewise.
3395         (R12_LP): Likewise.
3396         (R13_LP): Likewise.
3397         (R14_LP): Likewise.
3398         (R15_LP): Likewise.
3400 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3402         * sysdeps/x86_64/x32/dl-machine.h: New file.
3404 2012-05-14  Andreas Jaeger  <aj@suse.de>
3406         * manual/Makefile (subdir): Remove export of subdir.
3407         (all): Remove target.
3408         (.PHONY): Remove all from list.
3409         (mkinstalldirs): Remove.
3410         (.PHONY): Remove installdirs from list.
3411         ($(inst_infodir)/libc.info): Use make-target-directory.
3412         (installdirs): Remove.
3413         (subdir_%): Remove.
3414         (glibc-targets): Remove.
3415         (lib): Remove.
3416         (stubs): Remove.
3417         ($(objpfx)stubs ../po/manual.pot): Remove.
3418         ($(objpfx)stamp%): Remove.
3419         (make-target-directory): Remove.
3420         (subdir_install): Remove.
3421         (routines): Remove.
3422         (aux): Remove.
3423         (sources): Remove.
3424         (objects): Remove.
3425         (headers): Remove.
3427         [BZ #13750]
3428         * manual/.gitignore: Remove, it's not needed anymore.
3429         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3430         all files in it.
3431         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3432         directory.
3433         (texis): Renamed to $(objpfx)texis.
3434         (texis-path): New, contains path to generated files.
3435         (chapters.%): Use texis-path for complete path, add extra argument
3436         libc-texinfo.sh.
3437         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3438         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3439         (summary,texi, stamp-summary): Use complete path of
3440         files. Generate files in build dir.
3441         (dir-add.texi): Build in build dir.
3442         (libm-err.texi,stamp-libm-err): Likewise.
3443         (version.texi, stamp-version): Likewise.
3444         (.%c.texi): Likewise.
3445         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3446         (mostlyclean): Remove target.
3447         (realclean): Remove target.
3448         (generated): Add new variable with contents from mostlyclean and
3449         realclean, remove entries duplicated in common-mostlyclean, add
3450         stamp-libm-err and stamp-version.
3451         (generated-dirs): Add libc directory.
3452         ($(inst_infodir)/libc.info): Install files from build dir.
3454         * manual/install.texi (Configuring and compiling): Adjust since
3455         the info files are not part of the tar ball anymore.
3457 2012-05-14  Andreas Jaeger  <aj@suse.de>
3459         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3460         variable.
3462 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
3464         [BZ #13717]
3465         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3466         to 2.2.0 where earlier.
3467         * sysdeps/unix/sysv/linux/configure: Regenerated.
3468         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3469         Remove conditional code.
3470         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3471         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3472         Remove conditional code.
3473         [!__NR_lchown]: Likewise.
3474         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3475         [__NR_lchown]: Likewise.
3476         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3477         comment referencing __ASSUME_LCHOWN_SYSCALL.
3478         * sysdeps/unix/sysv/linux/i386/sigaction.c
3479         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3480         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3481         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3482         Remove conditional code.
3483         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3484         (__protocol_available): Remove #if 0 code.
3485         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3486         conditional code.
3487         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3488         * sysdeps/unix/sysv/linux/kernel-features.h
3489         (__ASSUME_GETCWD_SYSCALL): Don't define.
3490         (__ASSUME_REALTIME_SIGNALS): Likewise.
3491         (__ASSUME_PREAD_SYSCALL): Likewise.
3492         (__ASSUME_PWRITE_SYSCALL): Likewise.
3493         (__ASSUME_POLL_SYSCALL): Likewise.
3494         (__ASSUME_LCHOWN_SYSCALL): Likewise.
3495         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3496         non-SPARC.
3497         (__ASSUME_SIOCGIFNAME): Don't define.
3498         (__ASSUME_MSG_NOSIGNAL): Likewise.
3499         (__ASSUME_SENDFILE): Define unconditionally.
3500         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3501         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3502         conditional code.
3503         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3504         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3505         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3506         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3507         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3508         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3509         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3511         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3512         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3514         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3515         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3517         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3518         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3520         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3521         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3523         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3524         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3526         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3527         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3529         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3530         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3532         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3533         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3534         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3535         Remove conditional code.
3536         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3537         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3538         Remove conditional code.
3539         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3540         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3541         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3542         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3543         Remove conditional code.
3544         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3545         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3546         Remove conditional code.
3547         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3548         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3549         Remove conditional code.
3550         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3551         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3552         Remove conditional code.
3553         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3554         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3555         Remove conditional code.
3556         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3557         * sysdeps/unix/sysv/linux/sh/pwrite64.c
3558         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3559         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3560         * sysdeps/unix/sysv/linux/sigaction.c
3561         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3562         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3563         * sysdeps/unix/sysv/linux/sigpending.c
3564         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3565         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3566         * sysdeps/unix/sysv/linux/sigprocmask.c
3567         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3568         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3569         * sysdeps/unix/sysv/linux/sigsuspend.c
3570         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3571         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3572         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3573         (__libc_missing_rt_sigs): Remove.
3574         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3575         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3576         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3577         Remove conditional code.
3578         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3579         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3580         return 1.
3581         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3582         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3583         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3584         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3586 2012-05-14  Andreas Jaeger  <aj@suse.de>
3588         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3589         it's not used in glibc.
3590         (__coshm1): Likewise.
3591         (__acosh1p): Likewise.
3592         (__sgn): Likewise.
3594         * manual/string.texi (Copying and Concatenation): Add missing
3595         variable in concat example.
3596         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3598 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3600         [BZ #14103]
3601         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3602         __builtin_clzl with __builtin_clzll.
3604 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3606         [BZ #14104]
3607         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3608         libc_freeres_ptr.
3610 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3612         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3613         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3614         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3615         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3617 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
3619         * NEWS: Update ia64 info.
3621 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
3623         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3624         used as bcopy.
3626 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
3628         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3629         * sysdeps/unix/syscalls.list (dup3): Likewise.
3630         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3631         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3633 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3635         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3636         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3638 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3640         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3641         thread pointer.
3642         (TLS_IE): Use mov/add instead of movq/addq to load thread
3643         pointer.
3644         (TLS_GD_PREFIX): New.
3645         (TLS_GD): Use it.
3647 2012-05-11  David S. Miller  <davem@davemloft.net>
3649         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3650         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3651         (_FPU_SETCW): Likewise.
3653 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3655         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3656         is 32-byte aligned.
3658 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
3660         [BZ #11837]
3661         * iconvdata/gb18030.c: Update tables.
3662         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
3663         characters specially.
3664         (BODY for TO_LOOP): Add encoding of missing ranges.
3666 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
3668         [BZ #13673]
3669         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3670         * sysdeps/mach/hurd/dup3.c: Likewise.
3671         * sysdeps/mach/hurd/readlinkat.c: Likewise.
3672         * sysdeps/powerpc/memmove.c:: Likewise.
3674 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3676         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3677         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3679 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3681         * elf/elf.h (R_X86_64_RELATIVE64): New.
3682         (R_X86_64_NUM): Updated.
3683         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3684         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
3685         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3686         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3687         tst-quad1pie tst-quad2pie
3688         (modules-names): Add tst-quadmod1 tst-quadmod2.
3689         ($(objpfx)tst-quad1): New dependency.
3690         ($(objpfx)tst-quad2): Likewise.
3691         ($(objpfx)tst-quad1pie): Likewise.
3692         ($(objpfx)tst-quad2pie): Likewise.
3693         * sysdeps/x86_64/tst-quad1.c: New file.
3694         * sysdeps/x86_64/tst-quad1pie.c: New file.
3695         * sysdeps/x86_64/tst-quad2.c: Likewise.
3696         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3697         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3698         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3699         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3700         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3702 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3704         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3705         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3706         * streams/stropts.h (t_scalar_t): Define type.
3708         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3709         (_PATH_PRESERVE): Set to "/var/lib".
3710         (_PATH_RWHODIR): Set to "/var/spool/rwho".
3712         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3713         instead of int.
3715         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3716         if __dir_mkfile succeeded.
3718         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3719         checking for _hurd_dtablesize.  Unlock it right after having
3720         finished _hurd_dtable allocation.
3722 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3724         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3725         * sysdeps/mach/hurd/configure: Regenerated.
3726         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3727         special-casing to...
3728         * sysdeps/gnu/configure.in: ... this new file.
3729         * sysdeps/unix/sysv/linux/configure: Regenerated.
3730         * sysdeps/gnu/configure: New generated file.
3732         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3733         for Linux: use nsec instead of usec, as well as:
3734         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3735         members of type struct timespec.
3736         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3737         New macros.
3738         (struct stat64): Likewise.
3739         (_STATBUF_ST_NSEC): New macro.
3740         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3742         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3743         __strtoul_internal rather than strtoul.
3745 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3747         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3748         and reject them.
3750 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3752         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3753         which preserves existing values.
3754         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3756 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3758         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3759         TIMEOUT values.  Return EINVAL for NFDS values either negative or
3760         greater than FD_SETSIZE.
3762 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3764         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3765         allocated, call __vm_protect to finish enabling the existing space, and
3766         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3767         allocate the remainder.
3769 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3771         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3772         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
3774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3776         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3777         sysdeps/mach/hurd/readlink.c.
3779         * posix/tst-sysconf.c (posix_options): Only use
3780         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3781         _POSIX_SYNCHRONIZED_IO when they are defined
3782         * sysdeps/mach/hurd/bits/posix_opt.h:
3783         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3784         (_XOPEN_REALTIME): Undefine macro.
3785         (_XOPEN_REALTIME_THREADS): Undefine macro.
3786         (_XOPEN_SHM): Undefine macro.
3787         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3788         macro to -1.
3789         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3790         macro to -1.
3791         (_POSIX_ASYNC_IO): Undefine macro.
3792         (_POSIX_PRIORITIZED_IO): Undefine macro.
3793         (_POSIX_SPIN_LOCKS): Define macro to -1.
3795         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3796         SA_NODEFER, SA_RESETHAND.
3797         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3798         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3799         F_DUPFD_CLOEXEC.
3801 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3803         * elf/Makefile (pldd-modules): Define unconditionally.
3805 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3807         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3809 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3811         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3812         Return ENOENT when name is empty.
3813         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3815 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3817         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3819         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3821 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3823         Fix mlock in all cases except non-readable pages.
3824         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3825         instead of VM_PROT_ALL as parameter to __vm_wire function.
3827         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3828         (__mkdir): When path is `/', just fail with EEXIST.
3829         * sysdeps/mach/hurd/mkdirat.c: Likewise.
3831 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3833         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3834         <sys/uio.h> (for writev).
3835         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3836         and <sys/param.h> (for MIN).
3838 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3840         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3841         REQUESTED_TIME.  Properly set the remaining time and return EINTR
3842         if interrupted.
3844 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3846         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3847         Depend on against $(link-rpcuserlibs).
3849 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3851         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3852         (__libc_stack_end): Do not use attribute_relro.
3853         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3854         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3855         to libthread-provided value.
3856         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3857         attribute_relro.
3859 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3861         [BZ #3748]
3862         * bits/libc-lock.h (__libc_once_get): New macro.
3863         * sysdeps/mach/bits/libc-lock.h: Likewise.
3864         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3865         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3866         instead of using implementation details.
3868         * libio/fileops.c: Unconditionally include <kernel-features.h>.
3869         * libio/freopen.c: Likewise.
3870         * libio/freopen64.c: Likewise.
3871         * misc/syslog.c: Likewise.
3872         * nscd/connections.c: Likewise.
3873         * nscd/netgroupcache.c: Likewise.
3874         * sysdeps/posix/getcwd.c: Likewise.
3876 2012-05-10  Roland McGrath  <roland@hack.frob.com>
3878         * math/w_ilogbf.c: Add #include <limits.h>.
3880 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3882         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3883         path instead of returning without unlocking.
3885         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3886         immediate-write ioctls.
3887         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3889 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3891         * sysdeps/mach/hurd/i386/init-first.c (init): Use
3892         __builtin_frame_address instead of making assumptions about the
3893         location of the return address relative to DATA.  Force early load of
3894         the return address.
3895         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3896         __builtin_frame_address.
3898         dup3 for GNU Hurd.
3899         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3900         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
3901         implement dup3 and do some further code clean-ups.
3902         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3903         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3905 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3907         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3909         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3910         HURD_CRITICAL_END around holding _hurd_dtable_lock.
3911         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3912         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3913         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3914         d->port.lock.
3916         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3917         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
3918         when handler == SIG_ERR, not when handler != SIG_ERR.
3920 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3922         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3923         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3924         definitions.
3926         accept4 for GNU Hurd.
3927         * include/sys/socket.h (__libc_accept4): New prototype.
3928         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
3929         to implement __libc_accept4.
3930         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3931         __libc_accept4.
3932         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3934         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3935         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3936         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3937         signal-defines.sym.
3939 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3941         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3943 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3945         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3946         assertion on O_CLOEXEC flag.
3947         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3948         * hurd/intern-fd.c: Likewise.
3949         * hurd/port2fd.c: Likewise.
3951 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3953         [BZ #3906]
3954         * bits/in.h (IPV6_PKTINFO): Define new macro.
3955         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3957 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3959         [BZ #13954]
3960         [BZ #13955]
3961         [BZ #13956]
3962         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3963         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3964         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3965         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3966         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3967         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3968         * math/libm-test.inc (logb_test) : Additional logb tests.
3970 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
3971             Andreas Jaeger  <aj@suse.de>
3973         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3974         * configure: Regenerated.
3975         * config.h.in (LINK_OBSOLETE_RPC): New macro.
3976         * config.make.in (link-obsolete-rpc): New substituted variable.
3977         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3978         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3979         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3980         (shared-only-routines): Don't set it under [link-obsolete-rpc],
3981         so that libc.a contains the symbols.
3982         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3983         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3984         * sunrpc/auth_none.c: Likewise.
3985         * sunrpc/auth_unix.c: Likewise.
3986         * sunrpc/authdes_prot.c: Likewise.
3987         * sunrpc/authuxprot.c: Likewise.
3988         * sunrpc/clnt_gen.c: Likewise.
3989         * sunrpc/clnt_perr.c: Likewise.
3990         * sunrpc/clnt_raw.c: Likewise.
3991         * sunrpc/clnt_simp.c: Likewise.
3992         * sunrpc/clnt_tcp.c: Likewise.
3993         * sunrpc/clnt_udp.c: Likewise.
3994         * sunrpc/clnt_unix.c: Likewise.
3995         * sunrpc/des_crypt.c: Likewise.
3996         * sunrpc/des_soft.c: Likewise.
3997         * sunrpc/get_myaddr.c: Likewise.
3998         * sunrpc/key_call.c: Likewise.
3999         * sunrpc/key_prot.c: Likewise.
4000         * sunrpc/netname.c: Likewise.
4001         * sunrpc/pm_getmaps.c: Likewise.
4002         * sunrpc/pm_getport.c: Likewise.
4003         * sunrpc/pmap_clnt.c: Likewise.
4004         * sunrpc/pmap_prot.c: Likewise.
4005         * sunrpc/pmap_prot2.c: Likewise.
4006         * sunrpc/pmap_rmt.c: Likewise.
4007         * sunrpc/publickey.c: Likewise.
4008         * sunrpc/rpc_cmsg.c: Likewise.
4009         * sunrpc/rpc_common.c: Likewise.
4010         * sunrpc/rpc_dtable.c: Likewise.
4011         * sunrpc/rpc_prot.c: Likewise.
4012         * sunrpc/rpc_thread.c: Likewise.
4013         * sunrpc/rtime.c: Likewise.
4014         * sunrpc/svc.c: Likewise.
4015         * sunrpc/svc_auth.c: Likewise.
4016         * sunrpc/svc_raw.c: Likewise.
4017         * sunrpc/svc_run.c: Likewise.
4018         * sunrpc/svc_tcp.c: Likewise.
4019         * sunrpc/svc_udp.c: Likewise.
4020         * sunrpc/svc_unix.c: Likewise.
4021         * sunrpc/svcauth_des.c: Likewise.
4022         * sunrpc/xcrypt.c: Likewise.
4023         * sunrpc/xdr.c: Likewise.
4024         * sunrpc/xdr_array.c: Likewise.
4025         * sunrpc/xdr_float.c: Likewise.
4026         * sunrpc/xdr_intXX_t.c: Likewise.
4027         * sunrpc/xdr_mem.c: Likewise.
4028         * sunrpc/xdr_rec.c: Likewise.
4029         * sunrpc/xdr_ref.c: Likewise.
4030         * sunrpc/xdr_sizeof.c: Likewise.
4031         * sunrpc/xdr_stdio.c: Likewise.
4033 2012-05-10  Roland McGrath  <roland@hack.frob.com>
4035         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4036         change.  Update copyright years.
4038 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
4040         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4042 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
4043             Joseph Myers  <joseph@codesourcery.com>
4044             Paul Pluzhnikov  <ppluzhnikov@google.com>
4046         [BZ #14012]
4047         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4048         requiring rpcgen.
4049         [cross-compiling] (extra-libs): Likewise.
4050         [cross-compiling] (extra-libs-others): Likewise.
4051         [cross-compiling] (librpcsvc-routines): Likewise.
4052         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4053         [cross-compiling] (omit-deps): Likewise.
4054         (sunrpc-CPPFLAGS): New variable.
4055         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4056         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4057         (cross-rpcgen-objs): New variable.
4058         (extra-objs): Append $(cross-rpcgen-objs).
4059         ($(cross-rpcgen-objs)): New rule.
4060         ($(objpfx)cross-rpcgen): Likewise.
4061         (rpcgen-cmd): Define to use $(built-program-file).  Expand
4062         comment.
4063         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4064         ($(objpfx)x%.stmp): Likewise.
4065         * sunrpc/proto.h [IS_IN_build] (_): Define.
4066         [IS_IN_build] (_libc_intl_domainname): Likewise.
4068 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4070         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4071         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4072         and R_X86_64_TPOFF64.
4074 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
4076         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4077         sysdeps/unix/sysv/syscalls.list.
4078         (stime): Likewise.
4079         (utime): Likewise.
4080         * sysdeps/unix/sysv/syscalls.list: Remove file.
4082 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
4084         [BZ #3440]
4085         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4086         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4087         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4088         (__LC_IDENTIFICATION): Make these macros useful in #if
4089         expressions, as required by C99.
4091 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
4093         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4094         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
4095         after this.
4097 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4099         * stdlib/longlong.h: Updated from GCC.
4101 2012-05-09  Andreas Jaeger  <aj@suse.de>
4103         * nscd/nscd.c (run_modes): Make named enum, reorder so that
4104         default is first entry.
4105         (run_mode): Set type.
4106         (main): Remove informal message about syslog.
4107         (options): Fix typo.
4109         [BZ #14053]
4110         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4111         to asm.
4112         (lrint): Likewise.
4113         (llrintf): Likewise.
4114         (llrint): Likewise.
4115         (rint): Likewise.
4116         (rintf): Likewise.
4117         (nearbyint): Likewise.
4118         (nearbyintf): Likewise.
4120 2012-05-09  Andreas Jaeger  <aj@suse.de>
4121             Pedro Alves  <palves@redhat.com>
4123         * nscd/nscd.c (run_mode): Use enum.
4124         (main): Cleanup coding style issue.
4126 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
4127             Andreas Jaeger  <aj@suse.de>
4129         * nscd/nscd.c (go_background): Replaced with...
4130         (run_mode): ... this.
4131         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4132         (options): Add -F --foreground.
4133         (main): Implement it.
4134         (parse_opt): Parse it.
4136 2012-05-09  Andreas Jaeger  <aj@suse.de>
4138         [BZ #14083]
4139         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4140         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4141         -Wconversion warning.
4142         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4143         Likewise.
4145 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
4147         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
4148         == 0.
4149         (LC_ALL): Use macro-int-constant.
4150         (LC_COLLATE): Likewise.
4151         (LC_CTYPE): Likewise.
4152         (LC_MESSAGES): Likewise.
4153         (LC_MONETARY): Likewise.
4154         (LC_NUMERIC): Likewise.
4155         (LC_TIME): Likewise.
4156         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4157         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4158         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4159         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4160         Specify type.
4161         [C99-based standards] (float_t): Expect type.
4162         [C99-based standards] (double_t): Expect type.
4163         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
4164         type.
4165         [C99-based standards] (HUGE_VALL): Likewise.
4166         [C99-based standards] (INFINITY): Likewise.
4167         [C99-based standards] (NAN): Likewise.
4168         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4169         [C99-based standards] (FP_NAN): Likewise.
4170         [C99-based standards] (FP_NORMAL): Likewise.
4171         [C99-based standards] (FP_SUBNORMAL): Likewise.
4172         [C99-based standards] (FP_ZERO): Likewise.
4173         [C99-based standards] (FP_FAST_FMA): Use
4174         optional-macro-int-constant.  Specify type.  Require == 1.
4175         [C99-based standards] (FP_FAST_FMAF): Likewise.
4176         [C99-based standards] (FP_FAST_FMAL): Likewise.
4177         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4178         [C99-based standards] (FP_ILOGBNAN): Likewise.
4179         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4180         Specify type.
4181         [C99-based standards] (MATH_ERREXCEPT): Likewise.
4182         [C99-based standards] (math_errhandling): Specify type.
4183         [ISO99 || ISO11] (signgam): Do not allow.
4184         [non-C99-based standards] (copysignf): Do not allow.
4185         [non-C99-based standards] (exp2f): Likewise.
4186         [non-C99-based standards] (log2f): Likewise.
4187         [non-C99-based standards] (modff): Allow.
4188         [non-C99-based standards] (erff): Do not allow.
4189         [non-C99-based standards] (erfcf): Likewise.
4190         [non-C99-based standards] (gammaf): Likewise.
4191         [non-C99-based standards] (hypotf): Likewise.
4192         [non-C99-based standards] (j0f): Likewise.
4193         [non-C99-based standards] (j1f): Likewise.
4194         [non-C99-based standards] (jnf): Likewise.
4195         [non-C99-based standards] (lgammaf): Likewise.
4196         [non-C99-based standards] (tgammaf): Likewise.
4197         [non-C99-based standards] (y0f): Likewise.
4198         [non-C99-based standards] (y1f): Likewise.
4199         [non-C99-based standards] (ynf): Likewise.
4200         [non-C99-based standards] (isnanf): Likewise.
4201         [non-C99-based standards] (acoshf): Likewise.
4202         [non-C99-based standards] (asinhf): Likewise.
4203         [non-C99-based standards] (atanhf): Likewise.
4204         [non-C99-based standards] (cbrtf): Likewise.
4205         [non-C99-based standards] (expm1f): Likewise.
4206         [non-C99-based standards] (ilogbf): Likewise.
4207         [non-C99-based standards] (log1pf): Likewise.
4208         [non-C99-based standards] (logbf): Likewise.
4209         [non-C99-based standards] (nextafterf): Likewise.
4210         [non-C99-based standards] (remainderf): Likewise.
4211         [non-C99-based standards] (rintf): Likewise.
4212         [non-C99-based standards] (scalbf): Likewise.
4213         [non-C99-based standards] (copysignl): Likewise.
4214         [non-C99-based standards] (exp2l): Likewise.
4215         [non-C99-based standards] (log2l): Likewise.
4216         [non-C99-based standards] (modfl): Allow.
4217         [non-C99-based standards] (erfl): Do not allow.
4218         [non-C99-based standards] (erfcl): Likewise.
4219         [non-C99-based standards] (gammal): Likewise.
4220         [non-C99-based standards] (hypotl): Likewise.
4221         [non-C99-based standards] (j0l): Likewise.
4222         [non-C99-based standards] (j1l): Likewise.
4223         [non-C99-based standards] (jnl): Likewise.
4224         [non-C99-based standards] (lgammal): Likewise.
4225         [non-C99-based standards] (tgammal): Likewise.
4226         [non-C99-based standards] (y0l): Likewise.
4227         [non-C99-based standards] (y1l): Likewise.
4228         [non-C99-based standards] (ynl): Likewise.
4229         [non-C99-based standards] (isnanl): Likewise.
4230         [non-C99-based standards] (acoshl): Likewise.
4231         [non-C99-based standards] (asinhl): Likewise.
4232         [non-C99-based standards] (atanhl): Likewise.
4233         [non-C99-based standards] (cbrtl): Likewise.
4234         [non-C99-based standards] (expm1l): Likewise.
4235         [non-C99-based standards] (ilogbl): Likewise.
4236         [non-C99-based standards] (log1pl): Likewise.
4237         [non-C99-based standards] (logbl): Likewise.
4238         [non-C99-based standards] (nextafterl): Likewise.
4239         [non-C99-based standards] (remainderl): Likewise.
4240         [non-C99-based standards] (rintl): Likewise.
4241         [non-C99-based standards] (scalbl): Likewise.
4242         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4243         [non-C99-based standards] (FP_*): Do not allow.
4244         [C99-based standards] (FP_*): Change to
4245         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4246         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4247         allow.
4248         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4249         (SIG_ERR): Likewise.
4250         [X/Open-based standards] (SIG_HOLD): Likewise.
4251         (SIG_IGN): Likewise.
4252         (SIGABRT): Use macro-int-constant.  Specify type.  Require
4253         positive value.
4254         (SIGFPE): Likewise.
4255         (SIGILL): Likewise.
4256         (SIGINT): Likewise.
4257         (SIGSEGV): Likewise.
4258         (SIGTER): Likewise.
4259         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4260         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4261         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4262         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4263         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4264         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4265         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4266         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4267         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4268         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4269         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4270         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4271         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4272         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4273         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4274         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4275         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4276         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4277         [X/Open-based standards] (SIGTRAP): Likewise.
4278         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4279         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4280         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4281         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4282         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4283         allow.
4285 2012-05-08  Ian Wienand  <ianw@vmware.com>
4287         [BZ #14080]
4288         * time/tzset.c (__tzset_parse_tz): Update default rules for
4289         daylight time changes in the Energy Policy Act of 2005.
4291 2012-05-09  Andreas Jaeger  <aj@suse.de>
4293         [BZ #13983]
4294         * elf/ldconfig.c (parse_conf): Change string to make clear that
4295         ldconfig only issued a warning if ld.so.conf does not exist.
4297 2012-05-08  David S. Miller  <davem@davemloft.net>
4299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4300         movxtod instead of popping the value on the stack.
4302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4304 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
4306         * config.h.in: Add HAVE_ARM_PCS_VFP.
4308 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
4310         [BZ #13979]
4311         * include/features.h: Warn if user requests __FORTIFY_SOURCE
4312         checking but the checks are disabled for any reason.
4314 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4316         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4317         and ELF64_R_TYPE with ELFW(R_TYPE).
4319 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
4321         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4322         (ulimit): Likewise.
4324         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4325         (settimeofday): Likewise.
4327 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
4329         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
4330         a struct th_u2 inside the union, and move tu_block/tu_code into
4331         a new th_u3 union of tu_block/tu_code inside of that.  Move
4332         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
4333         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
4334         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4335         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4336         (th_stuff): Change to th_u1.tu_stuff.
4337         (th_data): Define.
4338         (th_msg): Change to th_u1.th_u2.tu_data.
4340 2012-05-07  David S. Miller  <davem@davemloft.net>
4342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4344         [BZ #14074]
4345         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4346         (SETUP_PIC_REG): Use it.
4347         (SETUP_PIC_REG_LEAF): Use it.
4349 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
4351         [BZ #13885]
4352         [BZ #13923]
4353         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4354         USE_AS_EXPM1L.
4355         (EXPL_FINITE): Likewise.
4356         (FLDLOG): Likewise.
4357         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4358         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4359         e_expl.S.
4360         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4361         USE_AS_EXPM1L.
4362         (EXPL_FINITE): Likewise.
4363         (FLDLOG): Likewise.
4364         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4365         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4366         e_expl.S.
4367         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
4368         test of -max_value argument for long double.
4369         * sysdeps/i386/fpu/libm-test-ulps: Update.
4370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4372 2012-05-06  David S. Miller  <davem@davemloft.net>
4374         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4375         quad soft-float symbols whose references which are compiler
4376         generated.
4377         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4379 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
4381         [BZ #13884]
4382         [BZ #13914]
4383         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4384         USE_AS_EXP10L.
4385         (EXPL_FINITE): Likewise.
4386         (FLDLOG): Likewise.
4387         (c0): Likewise.
4388         (c1): Likewise.
4389         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
4390         Adjust comments for base varying.
4391         (__expl_finite): Change alias to EXPL_FINITE.
4392         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4393         e_expl.S.
4394         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4395         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4396         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4397         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4398         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4399         USE_AS_EXP10L.
4400         (EXPL_FINITE): Likewise.
4401         (FLDLOG): Likewise.
4402         (c0): Likewise.
4403         (c1): Likewise.
4404         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
4405         Adjust comments for base varying.
4406         (__expl_finite): Change alias to EXPL_FINITE.
4407         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
4408         tests for bugs.
4409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4411         [BZ #14064]
4412         * math/libm-test.inc (check_float_internal): Correct ulp
4413         calculation for subnormal expected results.
4415 2012-05-06  Andreas Jaeger  <aj@suse.de>
4417         * Makeconfig (+math-flags): New, set to -frounding-math.
4418         (+cflags): Add +math-flags so that all of glibc gets compiled with
4419         it.
4421         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4423 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
4425         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4426         Disable one test.
4428         [BZ #13787]
4429         [BZ #13922]
4430         [BZ #14036]
4431         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4432         (__ieee754_expl): Allow for and saturate large arguments.
4433         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4434         (u_threshold): Likewise.
4435         (__exp): Call __ieee754_exp before checking for overflow and
4436         underflow.
4437         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4438         (u_threshold): Likewise.
4439         (__expf): Call __ieee754_expf before checking for overflow and
4440         underflow.
4441         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4442         (u_threshold): Likewise.
4443         (__expl): Call __ieee754_expl before checking for overflow and
4444         underflow.
4445         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4446         (__ieee754_expl): Allow for and saturate large arguments.
4447         * math/libm-test.inc (exp_test): Add another test.  Do not allow
4448         missing overflow exception on overflow.
4449         (expm1_test): Do not allow missing overflow exception on overflow.
4451         * sysdeps/i386/fpu/e_expl.c: Move to ...
4452         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
4453         rather than using inline asm.
4454         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4455         * sysdeps/x86_64/fpu/e_expl.S: Copy from
4456         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4458         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4459         (nice): Likewise.
4460         (poll): Likewise.
4461         (signal): Likewise.
4462         (time): Likewise.
4463         (times): Likewise.
4465 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
4467         * sysdeps/unix/syscalls.list (adjtime): Add entry from
4468         sysdeps/unix/common/syscalls.list.
4469         (fchmod): Likewise.
4470         (fchown): Likewise.
4471         (ftruncate): Likewise.
4472         (getrusage): Likewise.
4473         (gettimeofday): Likewise.
4474         (setpgid): Likewise.
4475         (setregid): Likewise.
4476         (setreuid): Likewise.
4477         (sigaction): Likewise.
4478         (truncate): Likewise.
4479         (vhangup): Likewise.
4480         * sysdeps/unix/common/syscalls.list: Remove file.
4481         * sysdeps/unix/bsd/Implies: Don't include unix/common.
4482         * sysdeps/unix/sysv/linux/Implies: Likewise.
4484 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
4486         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4488         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4489         Moved to ...
4490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4491         Here.
4492         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4493         to ...
4494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4495         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4496         to ...
4497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4498         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4499         to ...
4500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4501         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4502         to ...
4503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4504         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4505         to ...
4506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4507         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4508         to ...
4509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4510         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4511         to ...
4512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4513         Here.
4514         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4515         to ...
4516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4517         Here.
4518         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4519         to ...
4520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4521         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4522         Moved to ...
4523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4524         Here.
4525         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4526         to ...
4527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4529 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
4531         * sysdeps/unix/common/bits/dirent.h: Remove file.
4532         * sysdeps/unix/common/bits/fcntl.h: Likewise.
4534         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4535         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4536         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4537         * sysdeps/unix/bsd/isatty.c: Likewise.
4538         * sysdeps/unix/bsd/tcdrain.c: Likewise.
4539         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4540         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4542 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4544         [BZ #13563]
4545         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4546         long double comparison inaccuracies.
4547         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4550 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
4552         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4553         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4555 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
4557         [BZ #14049]
4558         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4559         nonzero digits before rounding a hex value.
4560         * stdlib/tst-strtod.c (tests): Add another test.
4562 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4564         * sysdeps/s390/fpu/libm-test-ulps: Update.
4566 2012-05-03  Andreas Jaeger  <aj@suse.de>
4568         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4569         does not get optimized out.
4570         (malloc_opt_barrier): New.
4572 2012-05-03  Andreas Jaeger  <aj@suse.de>
4573             Roland McGrath  <roland@hack.frob.com>
4575         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4576         intermediate file deletion.
4577         (generated): Add .symlist files.
4579 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
4581         [BZ #13775]
4582         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4583         Redirect under this condition.
4584         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4585         [__USE_GNU] (__dprintf_chk): Not under this condition.
4586         [__USE_GNU] (__vdprintf_chk): Likewise.
4587         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4588         under this condition.
4589         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4590         [__USE_XOPEN2K8] (dprintf): Define under this condition.
4591         [__USE_XOPEN2K8] (vdprintf): Likewise.
4592         [__USE_GNU] (__dprintf_chk): Not under this condition.
4593         [__USE_GNU] (__vdprintf_chk): Likewise.
4594         [__USE_GNU] (dprintf): Likewise.
4595         [__USE_GNU] (vdprintf): Likewise.
4597 2012-05-03  Roland McGrath  <roland@hack.frob.com>
4599         * elf/Makefile (common-generated): Set this instead of generated for
4600         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
4601         $(all-built-dso)-derived lists.
4603 2012-05-03  Andreas Jaeger  <aj@suse.de>
4605         * sysdeps/i386/fpu/libm-test-ulps: Update.
4607         * FAQ: Removed.
4608         * FAQ.in: Likewise.
4609         * scripts/gen-FAQ.pl: Likewise.
4610         * manual/install.texi (Installation): Point to online location of
4611         FAQ.
4612         * Makefile (files-for-dist): Remove FAQ.
4613         (FAQ): Remove.
4615 2012-05-02  Allan McRae  <allan@archlinux.org>
4617         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4618         (LDFLAGS-reldepmod5.so): Likewise.
4619         (LDFLAGS-reldep6mod1.so): Likewise.
4620         (LDFLAGS-reldep6mod4.so): Likewise.
4621         (LDFLAGS-reldep8mod3.so): Likewise.
4622         (LDFLAGS-unload4mod1.so): Likewise.
4623         (LDFLAGS-unload4mod2.so): Likewise.
4624         (LDFLAGS-tst-initorder): Likewise.
4625         (LDFLAGS-tst-initordera2.so): Likewise.
4626         (LDFLAGS-tst-initordera3.so): Likewise.
4627         (LDFLAGS-tst-initordera4.so): Likewise.
4628         (LDFLAGS-tst-initorderb2.so): Likewise.
4629         (LDFLAGS-noload): Likewise.
4630         (LDFLAGS-next): Likewise.
4631         (LDFLAGS-order2mod1.so): Likewise.
4632         (LDFLAGS-order2mod2.so): Likewise.
4633         (LDFLAGS-tst-initorder2): Likewise.
4634         (LDFLAGS-tst-initorder2a.so): Likewise.
4635         (LDFLAGS-tst-initorder2b.so): Likewise.
4636         (LDFLAGS-tst-initorder2c.so): Likewise.
4637         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4639 2012-05-02  David S. Miller  <davem@davemloft.net>
4641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4643 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4645         [BZ #14055]
4646         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4648 2012-05-02  Andreas Jaeger  <aj@suse.de>
4650         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4651         since we manipulate rounding mode.
4652         (CPPFLAGS-test-idouble.c): Likewise.
4653         (CPPFLAGS-test-ifloat.c): Likewise.
4654         (CFLAGS-test-ldouble.c): Likewise.
4655         (CFLAGS-test-double.c): Likewise.
4656         (CFLAGS-test-float.c): Likewise.
4657         (CFLAGS-test-misc.c): Likewise.
4658         (CFLAGS-test-test-fenv.c): Likewise.
4660 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4662         [BZ #2550]
4663         [BZ #2570]
4664         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4665         comparisons to determine direction to adjust input.
4667 2012-05-01  Roland McGrath  <roland@hack.frob.com>
4669         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4670         output to the target.
4672         * scripts/localplt.awk: New file.
4673         * elf/Makefile ($(objpfx)check-localplt): Target removed.
4674         (check-localplt-CFLAGS): Variable removed.
4675         ($(all-built-dso:=.jmprel)): New static pattern rule.
4676         (generated): Add those targets.
4677         (localplt-built-dso): New variable.
4678         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4680         * elf/check-localplt.c: File removed.
4682         * scripts/check-execstack.awk: New file.
4683         * elf/Makefile ($(objpfx)check-execstack): Target removed.
4684         (check-execstack-CFLAGS): Variable removed.
4685         ($(objpfx)check-execstack.h): Target removed.
4686         ($(objpfx)execstack-default): New target.
4687         (generated): Add that instead of check-execstack.h.
4688         ($(all-built-dso:=.phdr)): New static pattern rule.
4689         (generated): Add those targets.
4690         * elf/check-execstack.c: File removed.
4692         * scripts/check-textrel.awk: New file.
4693         * elf/Makefile ($(objpfx)check-textrel): Target removed.
4694         (check-textrel-CFLAGS): Variable removed.
4695         (all-built-dso): Use := to define.o
4696         ($(all-built-dso:=.dyn)): New static pattern rule.
4697         (generated): Add those targets.
4698         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4699         * config.make.in (READELF): New substituted variable.
4700         * elf/check-textrel.c: File removed.
4702 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
4704         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4705         allow.
4706         * conform/data/ctype.h-data [C99-based standards] (isblank):
4707         Expect function.
4708         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4709         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4710         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4711         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4712         Specify type.  Require positive value.
4713         (EILSEQ): Likewise.
4714         (ERANGE): Likewise.
4715         [ISO || POSIX] (EILSEQ): Do not expect.
4716         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4717         Specify type.  Require positive value.
4718         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4719         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4720         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4721         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4722         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4723         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4724         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4725         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4726         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4727         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4728         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4729         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4730         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4731         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4732         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4733         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4734         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4735         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4736         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4737         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4738         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4739         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4740         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4741         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4742         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4743         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4744         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4745         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4746         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4747         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4748         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4749         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4750         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4751         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4752         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4753         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4754         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4755         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4756         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4757         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4758         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4759         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4760         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4761         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4762         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4763         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4764         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4765         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4766         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4767         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4768         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4769         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4770         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4771         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4772         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4773         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4774         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4775         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4776         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4777         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4778         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4779         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4780         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4781         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4782         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4783         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4784         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4785         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4786         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4787         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4788         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4789         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4790         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4791         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4792         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4793         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4794         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4795         Require >= 2.
4796         (FLT_ROUNDS): Expect as macro, not constant.
4797         (FLT_MANT_DIG): Use macro-int-constant.
4798         (DBL_MANT_DIG): Likewise.
4799         (LDBL_MANT_DIG): Likewise.
4800         (FLT_DIG): Likewise.
4801         (DBL_DIG): Likewise.
4802         (LDBL_DIG): Likewise.
4803         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
4804         (DBL_MIN_EXP): Likewise.
4805         (LDBL_MIN_EXP): Likewise.
4806         (FLT_MAX_EXP): Use macro-int-constant.
4807         (DBL_MAX_EXP): Likewise.
4808         (LDBL_MAX_EXP): Likewise.
4809         (FLT_MAX_10_EXP): Likewise.
4810         (DBL_MAX_10_EXP): Likewise.
4811         (LDBL_MAX_10_EXP): Likewise.
4812         (FLT_MAX): Use macro-constant.
4813         (DBL_MAX): Likewise.
4814         (LDBL_MAX): Likewise.
4815         (FLT_EPSILON): Use macro-constant.  Give upper bound.
4816         (DBL_EPSILON): Likewise.
4817         (LDBL_EPSILON): Likewise.
4818         (FLT_MIN): Likewise.
4819         (DBL_MIN): Likewise.
4820         (LDBL_MIN): Likewise.
4821         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4822         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4823         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4824         [ISO11] (FLT_HAS_SUBNORM): Likewise.
4825         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4826         [ISO11] (DBL_DECIMAL_DIG): Likewise.
4827         [ISO11] (FLT_DECIMAL_DIG): Likewise.
4828         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4829         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4830         [ISO11] (FLT_TRUE_MIN): Likewise.
4831         [ISO11] (LDBL_TRUE_MIN): Likewise.
4832         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4833         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4834         (SCHAR_MIN): Use macro-int-constant.  Specify type.
4835         (SCHAR_MAX): Likewise.
4836         (UCHAR_MAX): Likewise.
4837         (CHAR_MIN): Likewise.
4838         (CHAR_MAX): Likewise.
4839         (MB_LEN_MAX): Use macro-int-constant.
4840         (SHRT_MIN): Use macro-int-constant.  Specify type.
4841         (SHRT_MAX): Likewise.
4842         (USHRT_MAX): Likewise.
4843         (INT_MAX): Likewise.
4844         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
4845         bound negative.
4846         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4847         bound with "U".
4848         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4849         bound with "L".
4850         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
4851         bound negative.  Suffix upper bound with "L".
4852         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
4853         bound with "UL".
4854         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4855         Specify type.
4856         [C99-based standards] (LLONG_MAX): Likewise.
4857         [C99-based standards] (ULLONG_MAX): Likewise.
4858         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
4859         == 0.
4860         [ISO11] (max_align_t): Require type.
4861         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4863         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4864         from $CFLAGS, without defining away __attribute__ calls.
4865         (checknamespace): Use $CFLAGS_namespace.
4867         * conform/conformtest.pl (@keywords): Only include C99 keywords
4868         for standards based on C99 or C11.
4870         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4871         Disable tests.
4872         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4873         UNIX98]: Likewise.
4875         * conform/conformtest.pl: Handle "macro-int-constant" and test for
4876         usability of symbols in #if.
4878         * conform/conformtest.pl: If macro or constant types start
4879         "promoted:", expect the symbol to be of the following type
4880         promoted by the integer promotions.
4882         * conform/conformtest.pl: Parse all "constant" and "macro" lines
4883         in one place.  Also handle "macro-constant".
4885         * conform/conformtest.pl: Only accept expected macro values with
4886         "==".  Parse all "macro" lines in one place.
4887         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4889         * conform/conformtest.pl: Handle braced types on "constant" lines
4890         instead of handling "typed-constant".
4891         * conform/data/signal.h-data: Use "constant" instead of
4892         "typed-constant".
4894         * conform/conformtest.pl: Handle "optional-" at start of lines in
4895         one place rather than duplicating several cases.  Handle each
4896         format of "macro" line with initial "optional-".
4898         * conform/conformtest.pl: Only accept expected constant or
4899         optional-constant values with "==".  Parse all "constant" lines in
4900         one place.  Parse all "optional-constant" lines in one place.
4901         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4902         * conform/data/fmtmsg.h-data: Likewise.
4903         * conform/data/netinet/in.h-data: Likewise.
4904         * conform/data/tar.h-data: Likewise.
4905         * conform/data/limits.h-data: Use "==" form on "constant" and
4906         "optional-constant" lines.
4908         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4909         Use -std=c99 for XOPEN2K.
4910         (@knownproblems): Remove.
4911         (newtoken): Don't check %isknown.
4913         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4914         Do not expect macro.
4915         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4916         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4917         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4918         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4919         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4920         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4921         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4922         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4923         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4924         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4925         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4926         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4927         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4928         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4929         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4930         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4931         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4932         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4933         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4934         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4935         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4936         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4937         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4938         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4939         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4940         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4941         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4942         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4943         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4944         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4945         [XPG3] (acosh): Likewise.
4946         [XPG3] (asinh): Likewise.
4947         [XPG3] (atanh): Likewise.
4948         [XPG3] (cbrt): Likewise.
4949         [XPG3] (expm1): Likewise.
4950         [XPG3] (ilogb): Likewise.
4951         [XPG3] (log1p): Likewise.
4952         [XPG3] (logb): Likewise.
4953         [XPG3] (nextafter): Likewise.
4954         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4955         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4956         [XPG3] (remainder): Likewise.
4957         [XPG3] (rint): Likewise.
4958         [XPG3 || XPG4 || UNIX98] (round): Likewise.
4959         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4960         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4961         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4962         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4963         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4964         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4965         [UNIX98 || XOPEN2K] (scalb): Expect.
4966         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4967         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4968         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4969         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4970         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4971         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4972         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4973         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4974         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4975         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4976         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4977         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4978         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4979         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4980         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4981         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4982         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4983         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4984         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4985         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4986         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4987         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4988         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4989         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4990         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4991         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4992         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4993         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4994         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4995         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4996         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4997         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4998         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4999         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5000         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5001         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5002         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5003         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5004         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5005         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5006         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5007         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5008         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5009         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5010         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5011         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5012         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5013         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5014         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5015         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5016         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5017         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5018         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5019         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5020         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5021         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5022         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5023         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5024         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5025         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5026         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5027         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5028         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5029         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5030         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5031         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5032         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5033         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5034         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5035         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5036         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5037         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5038         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5039         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5040         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5041         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5042         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5043         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5044         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5045         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5046         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5047         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5048         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5049         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5050         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5051         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5052         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5053         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5054         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5055         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5056         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5057         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5058         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5059         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5060         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5061         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5062         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5063         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5064         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5065         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5066         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5067         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5068         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5069         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5070         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5071         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5072         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5073         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5074         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5075         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5076         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5077         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5078         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5079         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5080         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5081         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5082         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5083         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5084         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5085         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5086         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5087         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5088         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5089         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5090         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5091         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5092         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5093         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5094         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5095         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5096         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5097         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5098         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5099         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5100         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5101         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5102         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5104         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5105         _XOPEN_SOURCE_EXTENDED for XPG4.
5107         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5109         * Makeconfig (localtime): Remove variable.
5110         (inst_localtime-file): Likewise.
5112 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5115         Update.
5116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5117         Update.
5118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5119         Update.
5120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5121         Update.
5122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5123         Update.
5124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5125         Update.
5126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5127         Update.
5128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5129         Update.
5130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5131         Update.
5133 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
5135         [BZ #2550]
5136         [BZ #2570]
5137         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5138         comparisons to determine direction to adjust input.
5139         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5140         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5141         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5142         Likewise.
5143         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5144         Likewise.
5145         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5146         Likewise.
5147         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5148         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5149         Likewise.
5150         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5151         Likewise.
5152         * math/libm-test.inc (nexttoward_test): Add more tests.
5154 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5156         [BZ #14040]
5157         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5158         in version GLIBC_2.1, not GLIBC_2.0.
5159         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5160         Likewise.
5162 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
5164         [BZ #13942]
5165         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5166         (1 - x) * (1 + x).
5167         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5168         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5169         * math/libm-test.inc (acos_test): Add more tests.
5170         (asin_test): Likewise.
5171         * sysdeps/i386/fpu/libm-test-ulps: Update.
5172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5174         [BZ #14034]
5175         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5176         of square root.
5177         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5178         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5179         * math/libm-test.inc (acos_test_tonearest): New function.
5180         (acos_test_towardzero): Likewise.
5181         (acos_test_downward): Likewise.
5182         (acos_test_upward): Likewise.
5183         (asin_test_tonearest): Likewise.
5184         (asin_test_towardzero): Likewise.
5185         (asin_test_downward): Likewise.
5186         (asin_test_upward): Likewise.
5187         (main): Call the new functions.
5188         * sysdeps/i386/fpu/libm-test-ulps: Update.
5189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5191         [BZ #13884]
5192         [BZ #13924]
5193         * math/e_exp10.c: Include <float.h>.
5194         (__ieee754_exp10): Handle underflow here rather than multiplying
5195         large negative argument by M_LN10.
5196         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5197         of __ieee754_expf.
5198         * math/e_exp10l.c: Include <float.h>.
5199         (__ieee754_exp10l): Handle underflow here rather than multiplying
5200         large negative argument by M_LN10l.
5201         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
5202         spurious overflow exception on underflow.
5204 2012-04-29  Marek Polacek  <polacek@redhat.com>
5206         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5207         (__fortify_function): New macro.
5208         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5209         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5210         __extern_always_inline.
5211         * libio/bits/stdio2.h: Likewise.
5212         * libio/bits/stdio.h: Likewise.
5213         * string/string.h: Likewise.
5214         * string/bits/string3.h: Likewise.
5215         * include/stdio.h: Likewise.
5216         * stdlib/bits/stdlib.h: Likewise.
5217         * stdlib/stdlib.h: Likewise.
5218         * rt/bits/mqueue2.h: Likewise.
5219         * rt/mqueue.h: Likewise.
5220         * posix/bits/unistd.h: Likewise.
5221         * posix/unistd.h: Likewise.
5222         * io/bits/poll2.h: Likewise.
5223         * io/bits/fcntl2.h: Likewise.
5224         * io/fcntl.h: Likewise.
5225         * io/sys/poll.h: Likewise.
5226         * misc/bits/syslog.h: Likewise.
5227         * misc/bits/syslog-ldbl.h: Likewise.
5228         * misc/sys/syslog.h: Likewise.
5229         * socket/bits/socket2.h: Likewise.
5230         * socket/sys/socket.h: Likewise.
5231         * debug/tst-chk1.c: Likewise.
5232         * wcsmbs/bits/wchar2.h: Likewise.
5233         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5234         * wcsmbs/wchar.h: Likewise.
5236 2012-04-29  Andreas Jaeger  <aj@suse.de>
5238         * Makerules (tests): Remove enable-check-abi protection.
5239         (check-abi-warn): Remove.
5240         (check-abi-%): Remove check-abi-warn usage.
5242         * configure.in: Remove check-abi configure option.
5243         * configure: Regenerated.
5244         * config.make.in (enable-check-abi): Remove.
5246 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
5248         [BZ #14033]
5249         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5250         double functions to double *_finite functions.
5252         [BZ #13941]
5253         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5254         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5255         LDBL_MIN_EXP.
5256         * stdio-common/Makefile (tests): Add tst-sprintf3.
5257         * stdio-common/tst-sprintf3.c: New file.
5259         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5260         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5262 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
5264         * conform/conformtest.pl: Remove duplicate typed-constant
5265         handling.
5267 2012-04-28  David S. Miller  <davem@davemloft.net>
5269         * Makerules (%.abilist): Add vpath on sysdep_dirs.
5270         (check-abi-%): Remove AWK script prerequisite and explicit
5271         abilist directory.
5272         (check-abi): Rewrite to just diff the symlist with the abilist.
5273         (config-tls, config-abi-config): Delete, no longer used.
5274         (update-abi-%): Remove AWK script and explicit abilist directory.
5275         (update-abi): Rewrite to simply compare and conditionally copy the
5276         symlist and the sysdep abilist file.  Remove update-abi-config
5277         checks.
5278         * abilist/ld.abilist: Remove.
5279         * abilist/libBrokenLocale.abilist: Remove.
5280         * abilist/libanl.abilist: Remove.
5281         * abilist/libcrypt.abilist: Remove.
5282         * abilist/libdl.abilist: Remove.
5283         * abilist/librt.abilist: Remove.
5284         * abilist/libthread_db.abilist: Remove.
5285         * abilist/libutil.abilist: Remove.
5286         * scripts/extract-abilist.awk: Remove.
5287         * scripts/merge-abilist.awk: Remove.
5288         * sysdeps/generic/libcidn.abilist: New file.
5289         * sysdeps/generic/libnss_compat.abilist: New file.
5290         * sysdeps/generic/libnss_db.abilist: New file.
5291         * sysdeps/generic/libnss_dns.abilist: New file.
5292         * sysdeps/generic/libnss_files.abilist: New file.
5293         * sysdeps/generic/libnss_hesiod.abilist: New file.
5294         * sysdeps/generic/libnss_nis.abilist: New file.
5295         * sysdeps/generic/libnss_nisplus.abilist: New file.
5296         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5297         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5298         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5299         file.
5300         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5301         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5302         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5303         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5304         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5305         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5306         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5307         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5308         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5309         file.
5310         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5311         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5312         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5313         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5314         file.
5315         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5316         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5317         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5318         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5319         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5320         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5321         file.
5322         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5323         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5324         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5325         file.
5326         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5327         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5328         New file.
5329         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5330         New file.
5331         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5332         New file.
5333         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5334         New file.
5335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5336         New file.
5337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5338         New file.
5339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5340         New file.
5341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5342         New file.
5343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5344         New file.
5345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5346         New file.
5347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5348         New file.
5349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5350         New file.
5351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5352         New file.
5353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5354         file.
5355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5356         New file.
5357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5358         New file.
5359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5360         file.
5361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5362         New file.
5363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5364         New file.
5365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5366         file.
5367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5368         New file.
5369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5370         New file.
5371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5372         New file.
5373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5374         New file.
5375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5376         New file.
5377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5378         New file.
5379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5381         file.
5382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5383         New file.
5384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5385         file.
5386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5387         file.
5388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5389         file.
5390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5391         file.
5392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5393         file.
5394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5395         New file.
5396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5397         file.
5398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5399         file.
5400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5401         New file.
5402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5403         file.
5404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5406         file.
5407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5408         New file.
5409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5410         file.
5411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5412         file.
5413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5414         file.
5415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5416         file.
5417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5418         file.
5419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5420         New file.
5421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5422         file.
5423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5424         file.
5425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5426         New file.
5427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5428         file.
5429         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5430         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5431         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5432         file.
5433         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5434         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5435         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5436         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5437         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5438         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5439         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5440         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5441         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5442         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5445         file.
5446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5447         New file.
5448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5449         file.
5450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5451         file.
5452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5453         file.
5454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5455         file.
5456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5457         file.
5458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5459         New file.
5460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5461         New file.
5462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5463         file.
5464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5465         New file.
5466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5467         file.
5468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5470         file.
5471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5472         New file.
5473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5474         file.
5475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5476         file.
5477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5478         file.
5479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5480         file.
5481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5482         file.
5483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5484         New file.
5485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5486         New file.
5487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5488         file.
5489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5490         New file.
5491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5492         file.
5494 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
5496         * conform/conformtest.pl: Fix typo in handling typed-constant from
5497         allow-header.
5499 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
5501         * README: Cut down references to pre-2.6 Linux kernels and
5502         Linuxthreads.  Update lists of configurations in libc and ports
5503         and sort alphabetically.  Say "or newer" with Linux kernel version
5504         requirements.
5506         * config.h.in [IS_IN_build]: Allow compiling without optimization.
5508 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5510         [BZ #887]
5511         * math/libm-test.inc (logb_test_downward): New test to expose
5512         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5513         rounding mode.
5515 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
5517         [BZ #14027]
5518         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5519         to be done.
5520         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5521         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5523 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
5525         * sysdeps/unix/i386/brk.S: Remove file.
5526         * sysdeps/unix/i386/dl-brk.S: Likewise.
5527         * sysdeps/unix/i386/pipe.S: Likewise.
5528         * sysdeps/unix/i386/sigreturn.S: Likewise.
5529         * sysdeps/unix/i386/syscall.S: Likewise.
5530         * sysdeps/unix/i386/vfork.S: Likewise.
5531         * sysdeps/unix/i386/wait.S: Likewise.
5533         * sysdeps/unix/common/tcsendbrk.c: Move to ...
5534         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5536         * configure.in (arm*-none*): Do not allow without
5537         --enable-hacker-mode.
5538         (netbsd*): Remove case setting base_os.
5539         (386bsd*): Likewise.
5540         (freebsd*): Likewise.
5541         (bsdi*): Likewise.
5542         (osf*): Likewise.
5543         (sunos*): Likewise.
5544         (ultrix*): Likewise.
5545         (newsos*): Likewise.
5546         (dynix*): Likewise.
5547         (*bsd*): Likewise.
5548         (sysv*): Likewise.
5549         (isc*): Likewise.
5550         (esix*): Likewise.
5551         (sco*): Likewise.
5552         (minix*): Likewise.
5553         (irix4*): Likewise.
5554         (irix6*): Likewise.
5555         (solaris[2-9]*): Likewise.
5556         (none): Likewise.
5557         * configure: Regenerated.
5559 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5561         [BZ #11521]
5562         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5563         overflow or cancellation in calculating denominator.
5564         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5565         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5566         down expression to avoid unexpected rounding in newer GCCs.
5567         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5569 2012-04-26  David S. Miller  <davem@davemloft.net>
5571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5572         long-double compat symbols.
5573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5587 2012-04-25  David S. Miller  <davem@davemloft.net>
5589         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5590         HWCAP_* values only after the memory barriers have been defined.
5591         (atomic_full_barrier): Define.
5592         (atomic_read_barrier): Define.
5593         (atomic_write_barrier): Define.
5595 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5597         * shlib-versions: Add libgcc_s version information.
5598         * sysdeps/generic/libgcc_s.h: Remove.
5599         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5600         libgcc_s.h.
5601         * sysdeps/gnu/unwind-resume.c: Likewise.
5602         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5604 2012-04-25  David S. Miller  <davem@davemloft.net>
5606         * sysdeps/unix/sparc/brk.S: Delete.
5607         * sysdeps/unix/sparc/dl-brk.S: Delete.
5608         * sysdeps/unix/sparc/pipe.S: Delete.
5609         * sysdeps/unix/sparc/sysdep.S: Delete.
5610         * sysdeps/unix/sparc/sysdep.h: Delete.
5611         * sysdeps/unix/sparc/vfork.S: Delete.
5612         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5613         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5614         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5615         ret_ERRVAL, r0, r1, MOVE): Define.
5616         (JUMPTARGET): Remove.
5617         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5618         sysdeps/unix/sparc/sysdep.h
5619         (ENTRY, END): Remove.
5620         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5622 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
5624         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5625         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5626         -DIS_IN_build.
5628         * timezone/README: Update upstream location and email address for
5629         tzcode and tzdata.
5630         * timezone/zdump.c: Update from tzcode 2012b.
5631         * timezone/zic.c: Likewise.
5633         * configure.in (libc_cv_as_needed): Remove test.
5634         * configure: Regenerated.
5635         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5636         conditional definition.
5637         [$(have-as-needed) != yes] (no-as-needed): Likewise.
5638         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5639         * config.make.in (have-as-needed): Remove variable.
5641 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5642             Paul Pluzhnikov  <ppluzhnikov@google.com>
5644         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5645         strings correctly.
5647 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5649         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5650         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5651         * sysdeps/sh/strlen.S: Likewise.
5653 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5655         * sysdeps/unix/fork.S: Remove file.
5656         * sysdeps/unix/i386/fork.S: Likewise.
5657         * sysdeps/unix/sparc/fork.S: Likewise.
5659         * sysdeps/unix/system.c: Remove file.
5660         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5662         * sysdeps/unix/getegid.S: Remove file.
5663         * sysdeps/unix/geteuid.S: Likewise.
5665 2012-04-24  Roland McGrath  <roland@hack.frob.com>
5667         * scripts/check-localplt.awk: New file.
5668         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5669         of diff.
5670         * scripts/data/localplt-generic.data: Add a comment.
5672         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5673         NODE when __dir_mkfile failed.
5674         * sysdeps/mach/hurd/symlinkat.c: Likewise.
5675         Reported by Ludovic Courtès <ludo@gnu.org>.
5677 2012-04-24  Andreas Jaeger  <aj@suse.de>
5679         * Makerules (common-clean): Also remove gen-as-const-headers
5680         files.
5682 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5684         * Makerules (native-compile): Do not change working directory for
5685         build.  Use $(OUTPUT_OPTION) in command.
5686         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5688 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5690         [BZ #13886]
5691         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5692         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5693         * math/libm-test.inc (floor_test): Add more tests.
5694         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5696 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5698         * sysdeps/unix/getdents.c: Remove file.
5699         * sysdeps/unix/sysv/getdents.c: Likewise.
5700         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5702         * sysdeps/unix/syscalls.list (madvise): Add syscall from
5703         sysdeps/unix/mman/syscalls.list.
5704         (mmap): Likewise.
5705         (mprotect): Likewise.
5706         (msync): Likewise.
5707         (munmap): Likewise.
5708         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5709         * sysdeps/unix/mman/syscalls.list: Remove.
5710         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5712         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5713         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5714         * configure: Regenerated.
5715         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5716         $(libgcc_s_suffix).
5717         * config.make.in (libgcc_s_suffix): Remove variable.
5719 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
5721         * sysdeps/unix/sysv/gethostname.c: Move to ...
5722         * sysdeps/posix/gethostname.c: ... here.
5724         * sysdeps/unix/execve.S: Remove file.
5726         * sysdeps/unix/_exit.S: Remove file.
5728 2012-04-23  Andreas Jaeger  <aj@suse.de>
5730         [BZ #13739]
5731         * manual/Makefile: Remove make dist support, there's no
5732         need for a stand-alone documentation tar ball.
5733         (TEXI2DVI): Define always, it's not in Makeconfig.
5734         (dist): Removed.
5735         (tar-it): Removed.
5736         (edition): Removed.
5737         (glibc-doc-$(edition).tar): Removed
5738         (%.Z): Removed.
5739         (%.gz): Removed.
5740         (%.uu): Removed.
5741         (ETAGS): Remove, it's in Makeconfig.
5742         (move-if-change): Remove, it's in Makeconfig.
5744 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
5746         [BZ #13970]
5747         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5748         (strtod, strtof, strtold, strtol, strtoul, strtoq)
5749         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5750         (strtod_l, strtof_l, strtold_l): Remove __wur.
5751         It is not necessarily an error to ignore strtol's return value.
5752         One can reliably look at the stored endptr to decide whether
5753         the number had valid syntax.
5755 2012-04-21  Andreas Jaeger  <aj@suse.de>
5757         [BZ #13739]
5758         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5760 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
5762         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5763         * sysdeps/unix/sysv/Versions: Remove file.
5765 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
5767         [BZ #13927]
5768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5770 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
5772         [BZ #7064]
5773         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5774         version from __vm86.
5776 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
5778         * sysdeps/unix/common/lxstat.c: Remove file.
5779         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5781         * sysdeps/unix/sysv/Makefile: Remove file.
5783         * sysdeps/unix/sysv/direct.h: Remove file.
5785         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5786         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5787         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5788         * sysdeps/unix/sysv/bits/signum.h: Likewise.
5789         * sysdeps/unix/sysv/bits/stat.h: Likewise.
5790         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5791         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5793         * sysdeps/unix/sysv/setrlimit.c: Remove file.
5795         * sysdeps/unix/xmknod.c: Remove file.
5796         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5798         * sysdeps/unix/sysv/settimeofday.c: Remove file.
5800         * sysdeps/unix/sysv/i386/time.S: Remove file.
5802         * sysdeps/unix/fxstat.c: Remove file.
5803         * sysdeps/unix/xstat.c: Likewise.
5804         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5806         * sysdeps/unix/sysv/sigaction.c: Remove file.
5808         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5809         (sysdep_headers): Remove variable.
5810         [termio.h not in sysdep_headers] (generated): Likewise.
5811         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5812         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5813         * sysdeps/unix/sysv/tcdrain.c: Likewise.
5814         * sysdeps/unix/sysv/tcflow.c: Likewise.
5815         * sysdeps/unix/sysv/tcflush.c: Likewise.
5816         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5817         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5818         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5819         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5820         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5822         * sysdeps/unix/siglist.c: Remove file.
5824         * sysdeps/unix/getppid.S: Remove file.
5826         * sysdeps/unix/mkdir.c: Remove file.
5827         * sysdeps/unix/rmdir.c: Likewise.
5829 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
5831         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5832         ERR_MAX value.
5833         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5834         errlist-compat value.
5836 2012-04-18  David S. Miller  <davem@davemloft.net>
5838         * sysdeps/generic/memcopy.h (reg_char): Delete.
5839         * debug/strcat_chk.c: Use char, not reg_char.
5840         * debug/strcpy_chk.c: Likewise.
5841         * debug/strncat_chk.c: Likewise.
5842         * debug/strncpy_chk.c: Likewise.
5843         * string/memchr.c: Likewise.
5844         * string/memrchr.c: Likewise.
5845         * string/rawmemchr.c: Likewise.
5846         * string/strcat.c: Likewise.
5847         * string/strchr.c: Likewise.
5848         * string/strchrnul.c: Likewise.
5849         * string/strcmp.c: Likewise.
5850         * string/strcpy.c: Likewise.
5851         * string/strncat.c: Likewise.
5852         * string/strncmp.c: Likewise.
5853         * string/strncpy.c: Likewise.
5855 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5857         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5858         __builtin_memcopy is called when src and dest ranges are known to not
5859         overlap.
5861 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5863         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5864         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5865         fwd_align_merge macro call.
5866         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5867         bwd_align_merge macro call.
5868         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5870 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
5872         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5873         bwd_align_merge macros.
5874         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5875         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5876         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5878 2012-04-18  David S. Miller  <davem@davemloft.net>
5880         * sysdeps/sparc/sparc64/memcopy.h: Delete.
5882 2012-04-18  Andreas Jaeger  <aj@suse.de>
5884         [BZ# 6794]
5885         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5886         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5887         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5889         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5890         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5891         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5893         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5894         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5895         Adjust for changed ldbl-128 files.
5897         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5898         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5899         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5901 2012-04-17  David S. Miller  <davem@davemloft.net>
5903         * sysdeps/sparc/sparc32/memcopy.h: Delete.
5905 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
5907         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5908         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5909         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5910         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5911         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5912         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5914 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5916         [BZ #6794]
5917         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5918         * math/libm-test.inc: Add ilogb errno and exception tests.
5919         * math/w_ilogb.c: New file: ilogb wrapper.
5920         * math/w_ilogbf.c: New file: ilogbf wrapper.
5921         * math/w_ilogbl.c: New file: ilogbl wrapper.
5922         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5923         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5924         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5925         exception being thrown with 0.0 as argument.
5926         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5927         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5928         exception being thrown with 0.0 as argument.
5929         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5930         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5931         exception being thrown with 0.0 as argument.
5932         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5933         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5934         exception being thrown with 0.0 as argument.
5935         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5936         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5937         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5938         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5939         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5940         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5941         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5942         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5943         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5945 2012-04-17  Petr Baudis  <pasky@ucw.cz>
5947         * include/sys/uio.h: Change __vector to __iovec to avoid clash
5948         with altivec.
5950 2012-04-16  Marek Polacek  <polacek@redhat.com>
5952         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5954 2012-04-16  Marek Polacek  <polacek@redhat.com>
5956         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5957         operands of fdivp instruction.
5959 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
5961         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5962         * elf/tst-auditmod3b.c: Likewise.
5963         * elf/tst-auditmod4b.c: Likewise.
5964         * elf/tst-auditmod5b.c: Likewise.
5965         * elf/tst-auditmod6b.c: Likewise.
5966         * elf/tst-auditmod6c.c: Likewise.
5967         * elf/tst-auditmod7b.c: Likewise.
5968         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5969         * sysdeps/x86_64/preconfigure.in: Likewise.
5970         * sysdeps/x86_64/preconfigure: Regenerated.
5972 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
5974         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5975         __ILP32__.
5977 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
5979         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5980         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5982 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
5984         [BZ #13973]
5985         * locale/iso-639.def: Fix gl language name. Spotted by
5986         Yaron Shahrabani.
5988 2012-04-12  Roland McGrath  <roland@hack.frob.com>
5990         [BZ #2074]
5991         * libio/libio.h (__io_write_fn): Update comment.
5993 2012-04-12  Petr Baudis  <pasky@ucw.cz>
5995         [BZ #2074]
5996         * stdio.texi (Hook Functions): The user provided writer function
5997         is not allowed to return -1.
5999 2012-04-11  David S. Miller  <davem@davemloft.net>
6001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6003 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
6005         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6006         Add a leading slash to rtkaio.
6008 2012-04-11  Jim Meyering  <meyering@redhat.com>
6010         [BZ #11959]
6011         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6012         It is not necessarily an error to ignore fwrite's return
6013         value.  One can reliably use ferror to test for errors after
6014         the fact.
6016 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6018         * bits/types.h (__snseconds_t): New type.
6019         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6021         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6022         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6023         (__SNSECONDS_T_TYPE): Likewise.
6024         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6025         (__SNSECONDS_T_TYPE): Likewise.
6026         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6027         (__SNSECONDS_T_TYPE): Likewise.
6029 2012-04-10  Andreas Jaeger  <aj@suse.de>
6031         [BZ #2636]
6032         * manual/time.texi (Processor Time): Return type of times is
6033         elapsed real time since an arbitrary point in the past.
6034         (CPU Time): Move CLK_TCK from here...
6035         (Processor Time): ...to here.  Correct description.
6036         * manual/conf.texi (Constants for Sysconf): Correct description of
6037         _SC_CLK_TCK.
6039 2012-04-10  David S. Miller  <davem@davemloft.net>
6041         [BZ #13967]
6042         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6043         where the is a gap between DT_REL(A) and DT_JMPREL.
6045 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6047         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6048         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6049         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6051 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6053         * elf/dl-support.c (_dl_inhibit_cache): New variable.
6054         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6055         (dl_main): Handle --inhibit-cache.
6056         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6057         _dl_inhibit_cache.
6058         * elf/dl-load.c (_dl_map_object): Use it.
6059         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6061 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
6063         [BZ #13872]
6064         * sysdeps/i386/fpu/e_powl.S (p78): New object.
6065         (__ieee754_powl): Saturate large exponents rather than testing for
6066         overflow of y*log2(x).
6067         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6068         * math/libm-test.inc (pow_test): Do not permit spurious overflow
6069         exceptions.
6071         [BZ #11521]
6072         * math/s_ctan.c: Include <float.h>.
6073         (__ctan): Avoid internal overflow or cancellation in calculating
6074         denominator.
6075         * math/s_ctanf.c: Likewise.
6076         * math/s_ctanl.c: Likewise.
6077         * math/s_ctanh.c: Likewise.
6078         * math/s_ctanhf.c: Likewise.
6079         * math/s_ctanhl.c: Likewise.
6080         * math/libm-test.inc (ctan_test): Add more tests.
6081         (ctanh_test): Likewise.
6082         * sysdeps/i386/fpu/libm-test-ulps: Update.
6083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6085 2012-04-09  Andreas Jaeger  <aj@suse.de>
6087         [BZ #6894]
6088         * manual/filesys.texi (Directory Entries): Mention that d_namlen
6089         is an optional BSD extension.
6091         [BZ #10254]
6092         * manual/stdio.texi (Opening Streams): Document additional fopen
6093         parameters.
6095 2012-04-09  Roland McGrath  <roland@hack.frob.com>
6097         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6098         %eax without telling the compiler.
6100 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
6102         [BZ # 13963]
6103         * manual/install.texi: Use sourceware.org.
6105 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
6107         [BZ #13873]
6108         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6109         (__ieee754_pow): Generate overflow and underflow using huge*huge
6110         and tiny*tiny rather than just returning constant infinity or zero
6111         for large exponents.
6112         * math/libm-test.inc (pow_test): Require overflow exceptions for
6113         applicable cases of large exponents.
6115         [BZ #706]
6116         * sysdeps/i386/fpu/e_pow.S (p10): New object.
6117         (__ieee754_pow): Use iterative multiplication algorithm only for
6118         integer exponents with absolute value below 1024.  Check for odd
6119         integer exponents when using algorithm for real exponents.
6120         * math/libm-test.inc (pow_test): Add more tests.
6121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6123 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
6125         [BZ #13705]
6126         * math/libm-test.inc (exp_test): Do not allow overflow exception
6127         on underflow test.
6129 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
6131         [BZ #13705]
6132         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6133         instead of __kernel_standard_f.
6135 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
6137         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6138         * sysdeps/x86_64/memset_chk.S: Likewise.
6140 2012-04-08  Andreas Jaeger  <aj@suse.de>
6142         [BZ #10153]
6143         * manual/startup.texi (Environment Access): Describe return value
6144         for putenv and setenv.
6146         [BZ #6895]
6147         * manual/filesys.texi (Directory Entries): Add description for
6148         DT_LNK.
6150         [BZ #6890]
6151         * manual/filesys.texi (Directory Entries): Clarify that it's file
6152         system not operating system in the description of DT_UNKNOWN.
6154         [BZ #6578]
6155         * manual/syslog.texi (closelog): Fix reference, it's openlog.
6157 2012-04-08  Stephen Compall  <s11@member.fsf.org>
6159         [BZ #6649]
6160         * manual/llio.texi (Opening and Closing Files): Add cross
6161         reference to explain mode argument.
6163 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
6165         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6166         * sysdeps/x86_64/memset_chk.S: Likewise.
6168 2012-04-07  David S. Miller  <davem@davemloft.net>
6170         * elf/elf.h (R_SPARC_WDISP10): Define.
6171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6172         R_SPARC_SIZE32.
6173         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6174         R_SPARC_SIZE64 and R_SPARC_H34.
6176 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
6178         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6179         conditions and remove no longer applicable assertion.
6181 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
6183         * bits/byteswap.h: Include <features.h>.
6184         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6185         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6187 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
6189         * bits/byteswap.h (__bswap_16): Removed.
6190         Include <bits/byteswap-16.h> to get __bswap_16.
6191         * sysdeps/i386/bits/byteswap.h: Likewise.
6192         * sysdeps/s390/bits/byteswap.h: Likewise.
6193         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6194         * bits/byteswap-16.h: New file.
6195         * sysdeps/i386/bits/byteswap-16.h: Likewise.
6196         * sysdeps/s390/bits/byteswap-16.h: Likewise.
6197         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6198         * string/Makefile (headers): Add bits/byteswap-16.h.
6200 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6202         [BZ #13895]
6203         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6204         extra indirection.
6205         * nss/Makefile (tests-static, tests): Add tst-nss-static.
6206         * nss/tst-nss-static.c: New.
6208 2012-04-06  Robert Millan  <rmh@gnu.org>
6210         [BZ #6486]
6211         * manual/llio.texi (File Position Primitive): lseek
6212         refers to WHENCE when it really means OFFSET.
6214 2012-04-06  Andreas Jaeger  <aj@suse.de>
6216         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6217         strncmp declarations.
6219         * abilist/libc.abilist: Add __poll and __ppoll.
6221 2012-04-05  David S. Miller  <davem@davemloft.net>
6223         * scripts/check-local-headers.sh: Accept a host triplet in the
6224         path matched by the exclude regexp.
6226         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6227         definition.
6228         * sysdeps/powerpc/powerpc32/dl-machine.h
6229         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6230         * sysdeps/s390/s390-32/dl-machine.h
6231         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6232         * sysdeps/sparc/sparc32/dl-machine.h
6233         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6234         * sysdeps/sparc/sparc64/dl-machine.h
6235         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6237         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6238         lazy binding.
6239         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6240         undefined symbol errors.
6242         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6243         DT_NEEDED entries.
6245 2012-04-05  Michael Matz  <matz@suse.de>
6247         [BZ #13592]
6248         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6250 2012-04-05  Andreas Jaeger  <aj@suse.de>
6252         [BZ #13908]
6253         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6254         comment.
6256 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6258         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6259         which ROUND is no valid rounding mode.
6261 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6263         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6264         read again.
6265         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6267 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6269         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6270         an exception using FPU order intentionally.
6272 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6274         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6275         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6276         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6277         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6279 2012-04-05  Simon Josefsson  <simon@josefsson.org>
6281         [BZ #12340]
6282         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6283         EINVAL when BUFLEN is too smal.
6285 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6287         [BZ #13553]
6288         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6289         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6291 2012-04-03  Andreas Jaeger  <aj@suse.de>
6293         [BZ #13938]
6294         * manual/setjmp.texi (System V contexts): Fix sentence.
6296         [BZ #13926]
6297         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6298         New macro for this case.
6299         [!__GNUC__] (__bswap_64): New inline function for this case.
6300         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6301         * bits/byteswap.h: Likewise.
6302         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6303         ull, guard with __GLIBC_HAVE_LONG_LONG.
6305         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6306         __GLIBC_HAVE_LONG_LONG.
6308         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6309         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6311 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6313         [BZ #13691]
6314         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6315         inptr and inend, rather than using last_ch.
6317 2012-04-02  David S. Miller  <davem@davemloft.net>
6319         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6320         * stdio-common/printf-parse.h (read_int): Change return type to
6321         'int', return -1 on INT_MAX overflow.
6322         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6323         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
6324         overflows INT_MAX.  Check for overflow of in-format-string precision
6325         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
6326         SIZE_MAX not INT_MAX for integer overflow test.
6327         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6328         skip the construct in the format string but do not record anything.
6329         * stdio-common/bug22.c: Adjust to test both width/prevision
6330         INT_MAX overflow as well as total length INT_MAX overflow.  Check
6331         explicitly for proper errno values.
6333 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
6335         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6336         CHAR_MAX.
6337         * string/test-strcmp.c [! WIDE]: Likewise.
6338         * time/tst-mktime2.c: Likewise for INT_MAX.
6339         * string/test-string.h: #include <sys/param.h> for MIN.
6341         * csu/init-first.c (__libc_init_first): Call __ctype_init.
6342         * sysdeps/i386/init-first.c (init): Likewise.
6343         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6344         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6345         * sysdeps/sh/init-first.c (init): Likewise.
6347 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
6349         * po/ru.po: Update from translation team.
6350         * po/vi.po: Likewise.
6352 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6354         * resolv/nss_dns/dns-host.c: Merge copyright years.
6356 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6358         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6359         Optimize memcpy with prefetch if
6360         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
6361         src, dst pointers have unequal 16 byte alignments.
6363 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6365         [BZ #13928]
6366         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6367         from a CNAME entry and return the minimum ttl for the query.
6368         (gaih_getanswer_slice): Likewise.
6370 2012-03-30  Jeff Law  <law@redhat.com>
6372         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6373         due to long keys.
6374         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6375         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6377         * resolv/nss_dns/dns-host.c: Update copyright year.
6379 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
6381         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6382         requests to save a system call.  Fix check that all bytes are sent.
6384         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6385         comments for sendmmsg.
6387 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6389         [BZ #13691]
6390         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6391         with only 1 character between 0x0041 and 0x01b0.
6392         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6393         * wcsmbs/tst-mbsnrtowcs.c: New file.
6395 2012-03-29  David S. Miller  <davem@davemloft.net>
6397         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6398         small copies by hand.
6400 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6402         [BZ #13761]
6403         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6404         _nss_compat_initgroups_dyn): Fall back to malloc/free
6405         for large group memberships.
6407 2012-03-28  David S. Miller  <davem@davemloft.net>
6409         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6410         that branches into memcpy.
6411         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6412         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6413         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6414         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6415         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6416         bits.
6417         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6418         implementation too.
6419         * sysdeps/sparc/mempcpy.S: New file.
6421         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6422         the IFUNC routine in the libc case.
6423         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6425         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6426         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6427         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6428         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6429         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6430         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6431         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6432         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6434         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6435         loop to 256 bytes instead of 64 bytes and fix test signedness.
6437         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6438         * sysdeps/sparc/sparc32/Makefile: rather than here...
6439         * sysdeps/sparc/sparc64/Makefile: and here.
6441 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
6443         * malloc/mallocbug.c: Avoid warnings about unused variables.
6445 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6447         [BZ #13760]
6448         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6449         in the right place. Discard and retry query if response is
6450         larger than input buffer size.
6452 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
6454         [BZ #369]
6455         [BZ #2678]
6456         [BZ #3866]
6457         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6458         x for large integer exponent.
6459         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6460         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
6461         sign of result as needed afterwards.
6462         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6463         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6464         result for underflowing pow the same as for overflow.
6465         (__kernel_standard_l): Handle powl overflow and underflow here
6466         rather than calling __kernel_standard.
6467         * math/libm-test.inc (pow_test): Add more tests.
6469         [BZ #3868]
6470         [BZ #13879]
6471         [BZ #13910]
6472         [BZ #13911]
6473         [BZ #13912]
6474         [BZ #13913]
6475         [BZ #13915]
6476         [BZ #13916]
6477         [BZ #13917]
6478         [BZ #13918]
6479         [BZ #13919]
6480         [BZ #13920]
6481         [BZ #13921]
6482         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6483         * sysdeps/ieee754/k_standard.c: Include <float.h>.
6484         (__kernel_standard_l): New function.
6485         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6486         __kernel_standard.
6487         * math/w_acosl.c (__acosl): Likewise.
6488         * math/w_asinl.c (__asinl): Likewise.
6489         * math/w_atan2l.c (__atan2l): Likewise.
6490         * math/w_atanhl.c (__atanhl): Likewise.
6491         * math/w_coshl.c (__coshl): Likewise.
6492         * math/w_exp10l.c (__exp10l): Likewise.
6493         * math/w_exp2l.c (__exp2l): Likewise.
6494         * math/w_fmodl.c (__fmodl): Likewise.
6495         * math/w_hypotl.c (__hypotl): Likewise.
6496         * math/w_j0l.c (__j0l, __y0l): Likewise.
6497         * math/w_j1l.c (__j1l, __y1l): Likewise.
6498         * math/w_jnl.c (__jnl, __ynl): Likewise.
6499         * math/w_lgammal.c (__lgammal): Likewise.
6500         * math/w_log10l.c (__log10l): Likewise.
6501         * math/w_log2l.c (__log2l): Likewise.
6502         * math/w_logl.c (__logl): Likewise.
6503         * math/w_powl.c (__powl): Likewise.
6504         * math/w_remainderl.c (__remainderl): Likewise.
6505         * math/w_scalbl.c (sysv_scalbl): Likewise.
6506         * math/w_sinhl.c (__sinhl): Likewise.
6507         * math/w_sqrtl.c (__sqrtl): Likewise.
6508         * math/w_tgammal.c (__tgammal): Likewise.
6509         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6510         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6511         * math/libm-test.inc (acos_test): Add more tests.
6512         (acosh_test): Likewise.
6513         (asin_test): Likewise.
6514         (atanh_test): Likewise.
6515         (exp_test): Likewise.
6516         (exp10_test): Likewise.
6517         (exp2_test): Likewise.
6518         (expm1_test): Likewise.
6519         (lgamma_test): Likewise.
6520         (log_test): Likewise.
6521         (log10_test): Likewise.
6522         (log1p_test): Likewise.
6523         (log2_test): Likewise.
6524         (pow_test): Do not allow some spurious overflow exceptions.
6525         (sqrt_test): Add more tests.
6526         (tgamma_test): Likewise.
6527         (y0_test): Likewise.
6528         (y1_test): Likewise.
6529         (yn_test): Likewise.
6531 2012-03-27  Anton Blanchard  <anton@samba.org>
6533         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6534         MAP_HUGETLB.
6535         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6536         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6537         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6539 2012-03-27  David S. Miller  <davem@davemloft.net>
6541         * conform/Makefile: Run run-conformtest.sh using $(BASH).
6543         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6544         have-as-vis3 check.
6546 2012-03-27  Andreas Jaeger  <aj@suse.de>
6548         * sysdeps/x86_64/elf/configure.in: Moved to ...
6549         * sysdeps/x86_64/configure.in: ... here.
6550         * sysdeps/x86_64/elf/start.S: Moved to ...
6551         * sysdeps/x86_64/start.S: ... here.
6552         * sysdeps/x86_64/elf/configure: Delete.
6554         * sysdeps/x86_64/configure.in: Merge contents from
6555         sysdeps/i386/configure.in (without i686 check).
6557         * sysdeps/i386/elf/Versions: Merge into ...
6558         * sysdeps/i386/Versions: ... this.
6559         * sysdeps/i386/elf/Versions: Delete file.
6560         * sysdeps/i386/elf/start.S: Moved to ...
6561         * sysdeps/i386/start.S: ...here.
6562         * sysdeps/i386/elf/configure.in: Merge into...
6563         * sysdeps/i386/configure.in: ...here.
6564         * sysdeps/i386/elf/configure.in: Delete file.
6565         * sysdeps/i386/elf/configure: Delete file.
6567         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6568         * debug/backtracesyms.c: ... here.
6569         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6570         * debug/backtracesymsfd.c: ... here.
6571         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6572         * sysdeps/generic/ifunc-sel.h: ... here.
6574         * sysdeps/unix/i386/start.c: Delete file.
6575         * sysdeps/unix/sparc/start.c: Delete file.
6576         * sysdeps/unix/start.c: Delete file.
6578         * sysdeps/sh/elf/configure.in: Moved to ...
6579         * sysdeps/sh/configure.in: ... here.
6580         * sysdeps/sh/elf/start.S: Moved to ...
6581         * sysdeps/sh/start.S: ... here.
6582         * sysdeps/sh/elf/configure: Delete file.
6584         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6585         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6586         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6587         * sysdeps/powerpc/powerpc64/entry.h: ... here.
6588         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6589         * sysdeps/powerpc/powerpc64/start.S: here.
6590         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6591         * sysdeps/powerpc/powerpc64/Makefile: ... this.
6592         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6593         * sysdeps/powerpc/powerpc64/configure.in: ... this.
6594         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6596         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6597         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6598         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6599         * sysdeps/powerpc/powerpc32/start.S: ... here.
6600         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6601         * sysdeps/powerpc/powerpc32/configure.in: ... this.
6602         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6604         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6605         * sysdeps/powerpc/ifunc-sel.h: ... here.
6606         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6607         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6609         * sysdeps/sparc/elf/configure.in: Moved to ...
6610         * sysdeps/sparc/configure.in: ... here.
6611         * sysdeps/sparc/elf/configure: Delete file.
6612         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6613         * sysdeps/sparc/sparc32/start.S: ... here.
6614         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6615         * sysdeps/sparc/sparc64/start.S: ... here.
6616         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6617         * sysdeps/sparc/sparc32/Makefile: ... this.
6618         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6619         * sysdeps/sparc/sparc64/Makefile: ... this.
6621         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6622         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6623         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6624         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6625         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6626         * sysdeps/s390/s390-32/setjmp.S: ... here.
6627         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6628         * sysdeps/s390/s390-32/configure.in: ... here.
6629         * sysdeps/s390/s390-32/elf/configure: Delete file.
6630         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6631         * sysdeps/s390/s390-32/start.S: ... here.
6633         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6634         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6635         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6636         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6637         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6638         * sysdeps/s390/s390-64/setjmp.S: ... here.
6639         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6640         * sysdeps/s390/s390-64/configure.in: ... here
6641         * sysdeps/s390/s390-64/elf/configure: Delete file.
6642         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6643         * sysdeps/s390/s390-64/start.S: ... here.
6644         * sysdeps/s390/s390-64/elf/configure: Delete.
6646         * configure.in: Remove support for elf directories in sysdeps.
6648         * configure: Regenerated.
6649         * sysdeps/i386/configure: Regenerated.
6650         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6651         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6652         * sysdeps/s390/s390-32/configure: Regenerated.
6653         * sysdeps/s390/s390-64/configure: Regenerated.
6654         * sysdeps/sh/configure: Regenerated.
6655         * sysdeps/sparc/configure: Regenerated.
6656         * sysdeps/x86_64/configure: Regenerated.
6658 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
6660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6662         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6663         denormal result into account.
6665 2012-03-25  Roland McGrath  <roland@hack.frob.com>
6667         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6668         Reported by Allan McRae <allan@archlinux.org>.
6670 2012-03-23  Jeff Law  <law@redhat.com>
6672         * nss/getnssent.c (__nss_getent): Fix typo.
6674 2012-03-23  David S. Miller  <davem@davemloft.net>
6676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6678 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
6680         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6681         to pad to uint64_t for each field.
6682         (dl_tls_index): Replace unsigned long with uint64_t.
6684 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
6685         Paul Pluzhnikov  <ppluzhnikov@google.com>
6687         [BZ #6528]
6688         * grp/Makefile (otherlibs): Don't set it.
6689         * inet/Makefile (otherlibs): Likewise.
6690         * login/Makefile (otherlibs): Likewise.
6691         * nscd/Makefile (otherlibs): Likewise.
6692         * posix/Makefile (otherlibs): Likewise.
6693         * pwd/Makefile (otherlibs): Likewise.
6694         * rt/Makefile (otherlibs): Likewise.
6695         * sunrpc/Makefile (otherlibs): Likewise.
6696         * nss/Makefile (otherlibs): Likewise.
6697         Add libnss_files to routines and static-only-routines.
6698         ($(objpfx)getent): Remove rule.
6699         * resolv/Makefile: Add libnss_dns and libresolv to routines and
6700         static-only-routines.
6702 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
6704         [BZ #13892]
6705         * math/s_cexp.c: Include <float.h>.
6706         (__cexp): Handle exp result overflowing not necessarily
6707         overflowing both real and imaginary parts of result.
6708         * math/s_cexpf.c: Likewise.
6709         * math/s_cexpl.c: Likewise.
6710         * math/libm-test.inc (cexp_test): Add more tests.
6711         * sysdeps/i386/fpu/libm-test-ulps: Update.
6712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6714 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6716         * include/link.h (ELFW): New macro.
6717         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6718         Replace ELF64_R_TYPE with ELFW(R_TYPE).
6720 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6722         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6723         with uint64_t.
6725 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6727         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6728         declaration.
6729         (struct La_x32_retval): Likewise.
6731 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6733         * sysdeps/x86_64/preconfigure.in: New file.
6734         * sysdeps/x86_64/preconfigure: New generated file.
6736 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
6738         [BZ #13824]
6739         * math/e_exp2l.c: Include <float.h>.
6740         (__ieee754_exp2l): Handle overflow and underflow cases
6741         separately.  Only pass fractional part of argument to
6742         __ieee754_expl.
6743         * math/libm-test.inc (exp2_test): Add more tests.
6745         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6746         negating x to take absolute value.
6747         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6748         Likewise.
6749         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6750         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6751         Likewise.
6752         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6753         computing low part if x was negated.
6754         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6756 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6758         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6759         la_x32_gnu_pltexit.
6760         (pltexit): Cast int_retval to ptrdiff_t.
6761         * elf/tst-auditmod3b.c: Likewise.
6762         * elf/tst-auditmod4b.c: Likewise.
6763         * elf/tst-auditmod5b.c: Likewise.
6764         * elf/tst-auditmod6b.c: Likewise.
6765         * elf/tst-auditmod6c.c: Likewise.
6766         * elf/tst-auditmod7b.c: Likewise.
6768         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6769         and x32_gnu_pltexit.
6771         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6772         __ELF_NATIVE_CLASS.
6773         (La_x32_regs): New macro.
6774         (La_x32_retval): Likewise.
6775         (la_x32_gnu_pltenter): New function prototype.
6776         (la_x32_gnu_pltexit): Likewise.
6778 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
6780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6781         exponent.
6783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6785         * configure.in (libc_cv_cc_nofma): Check for option to disable
6786         generation of FMA instructions.
6787         * configure: Regenerate.
6788         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6789         * sysdeps/ieee754/dbl-64/Makefile: New file.
6790         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6791         Remove brandred-fma4.
6792         (CFLAGS-brandred-fma4.c): Remove.
6793         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6794         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6795         define.
6796         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6797         define.
6799 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6801         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6802         LLONG_MAX != LONG_MAX.
6803         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6804         (_fitoa_word): Likewise.
6805         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6806         LLONG_MAX != LONG_MAX.
6807         * stdio-common/_itowa.h: Include <_itoa.h>.
6808         (_itowa_word): Use _ITOA_WORD_TYPE on value.
6809         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
6810         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
6811         only if not defined.
6812         (_ITOA_WORD_TYPE): Likewise.
6813         (_itoa_word): Use _ITOA_WORD_TYPE on value.
6814         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6816 2012-03-21  David S. Miller  <davem@davemloft.net>
6818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6820 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6822         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6823         of x86_64 when setting libc_cv_slibdir, libdir and
6824         libc_cv_localedir.
6825         * sysdeps/unix/sysv/linux/configure: Regenerated.
6827 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6829         * manual/lang.texi (Old Varargs): Remove section.
6830         (How Variadic): Update menu.
6831         (va_start): Do not mention varargs.h.
6833 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6834             Joseph Myers  <joseph@codesourcery.com>
6836         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6837         link test.
6838         * configure: Regenerated.
6840 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6842         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6843         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6844         conformtest.pl
6846 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6848         * NOTES: Remove.
6849         * Makefile (files-for-dist): Remove NOTES.
6850         (NOTES): Remove rule.
6851         * README: Don't refer to NOTES.
6852         * manual/creature.texi: Don't include macros.texi.
6853         * manual/intro.texi (creature.texi): Remove comment referring to
6854         NOTES.
6856         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6857         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6858         * configure: Regenerated.
6859         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6860         LIBC_TRY_CC_OPTION.
6861         (libc_cv_as_i686): Likewise.
6862         (libc_cv_cc_avx): Likewise.
6863         (libc_cv_cc_sse2avx): Likewise.
6864         (libc_cv_cc_fma4): Likewise.
6865         (libc_cv_cc_novzeroupper): Likewise.
6866         * sysdeps/i386/configure: Regenerated.
6868         [BZ #13883]
6869         * sysdeps/i386/fpu/s_cexp.S: Remove.
6870         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6871         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6872         * math/libm-test.inc (cexp_test): Add more tests.
6873         * sysdeps/i386/fpu/libm-test-ulps: Update.
6874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6876 2012-03-21  Allan McRae  <allan@archlinux.org>
6878         * timezone/Makefile: Do not install iso3166.tab and zone.tab
6880 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
6882         [BZ #13871]
6883         * math/w_exp2.c: Do not include <float.h>.
6884         (o_threshold, u_threshold): Remove.
6885         (__exp2): Calculate result before checking finiteness and calling
6886         __kernel_standard.
6887         * math/w_exp2f.c: Likewise.
6888         * math/w_exp2l.c: Likewise.
6889         * math/libm-test.inc (exp2_test): Require overflow exception for
6890         1e6 input.
6892         [BZ #3866]
6893         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6894         range of signed 64-bit integers before using fistpll.  Remove
6895         checks for whether integers fit in mantissa bits.
6896         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6897         the range of signed 32-bit integers before using fistpl.  Remove
6898         checks for whether integers fit in mantissa bits.
6899         * sysdeps/i386/fpu/e_powl.S (p64): New object.
6900         (__ieee754_powl): Test for y outside the range of signed 64-bit
6901         integers before using fistpll.  Reduce 64-bit values to 63-bit
6902         ones as needed.
6903         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6904         divide-by-zero is raised for zero to large negative powers.
6905         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6906         (__ieee754_powl): Test for y outside the range of signed 64-bit
6907         integers before using fistpll.  Reduce 64-bit values to 63-bit
6908         ones as needed.
6909         * math/libm-test.inc (pow_test): Add more tests.
6911 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6913         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6914         <stdio-common/_itoa.h>.
6915         * debug/segfault.c: Likewise.
6916         * elf/dl-cache.c: Likewise.
6917         * elf/dl-minimal.c: Likewise.
6918         * elf/dl-misc.c: Likewise.
6919         * elf/dl-sysdep.c: Likewise.
6920         * elf/dl-version.c: Likewise.
6921         * elf/rtld.c: Likewise.
6922         * hurd/hurdsock.c: Likewise.
6923         * hurd/lookup-retry.c: Likewise.
6924         * malloc/malloc.c: Likewise.
6925         * malloc/mtrace.c: Likewise.
6926         * nscd/nscd_getgr_r.c: Likewise.
6927         * nscd/nscd_getpw_r.c: Likewise.
6928         * nscd/nscd_getserv_r.c: Likewise.
6929         * posix/getopt_init.c: Likewise.
6930         * posix/wordexp.c: Likewise.
6931         * stdio-common/_itoa.c: Likewise.
6932         * stdio-common/printf_fphex.c: Likewise.
6933         * stdio-common/vfprintf.c: Likewise.
6934         * string/_strerror.c: Likewise.
6935         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6936         * sysdeps/i386/i686/hp-timing.h: Likewise.
6937         * sysdeps/mach/_strerror.c: Likewise.
6938         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6939         * sysdeps/mach/hurd/sethostid.c: Likewise.
6940         * sysdeps/mach/hurd/xmknodat.c: Likewise.
6941         * sysdeps/mach/xpg-strerror.c: Likewise.
6942         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6943         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6944         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6945         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6946         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6947         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6948         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6949         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6950         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6951         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6952         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6953         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6954         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6955         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6956         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6957         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6958         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6959         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6960         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6961         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6962         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6964         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6966         * stdio-common/_itoa.h: Moved to ...
6967         * sysdeps/generic/_itoa.h: Here.
6969         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6971         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6972         instead of "_itoa.h" and "_itowa.h".
6973         * stdio-common/vfprintf.: Likewise.
6975 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6977         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6978         <bits/wordsize.h>.
6979         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6980         (__signbit): Likwise.
6981         (llrintf): Likwise.
6982         (llrint): Likwise.
6984 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6986         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6987         __WORDSIZE != 64.
6989 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
6991         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6992         OVERFLOW_EXCEPTION_OK.
6993         * math/libm-test.inc ("Philosophy"): Update comment about
6994         exception testing.
6995         (OVERFLOW_EXCEPTION): Define.
6996         (OVERFLOW_EXCEPTION_OK): Likewise.
6997         (INVALID_EXCEPTION_OK): Renumber.
6998         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6999         (IGNORE_ZERO_INF_SIGN): Likewise.
7000         (test_exceptions): Handle FE_OVERFLOW.
7001         (exp10_test): Expect overflow exceptions.
7002         (exp2_test): Likewise.
7003         (expm1_test): Likewise.
7004         (nextafter_test): Likewise.
7005         (pow_test): Likewise.
7006         (scalbn_test): Likewise.
7007         (scalbln_test): Likewise.
7009 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7011         * sysdeps/x86_64/bits/atomic.h
7012         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7013         64bit integer.
7014         (atomic_exchange_acq): Likewise.
7015         (__arch_exchange_and_add_body): Likewise.
7016         (__arch_add_body): Likewise.
7017         (atomic_add_negative): Likewise.
7018         (atomic_add_zero): Likewise.
7020 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7022         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7023         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7025 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7027         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7028         Check __x86_64__ instead of __WORDSIZE.
7030 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7032         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7034 2012-03-19  David S. Miller  <davem@davemloft.net>
7036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7038         * sysdeps/sparc/fpu/fenv_private.h: New file.
7039         * sysdeps/sparc/fpu/math_private.h: Use it.
7040         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7041         Remove.
7042         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7043         (libc_feholdexcept_setroundl): Remove.
7044         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7045         Remove.
7046         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7047         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7049 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7051         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7052         int64_t instead of long int.
7053         (INSERT_WORDS64): Likwise.
7055 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7057         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7058         _Unwind_GetCFA return to _Unwind_Ptr first.
7060 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
7062         [BZ #13629]
7063         * math/s_clog.c: Include <float.h>.
7064         (__clog): Scale large or subnormal inputs.
7065         * math/s_clogf.c: Likewise.
7066         * math/s_clogl.c: Likewise.
7067         * math/s_clog10.c: Include <float.h>.
7068         (M_LOG10_2): Define.
7069         (__clog10): Scale large or subnormal inputs.
7070         * math/s_clog10f.c: Likewise.
7071         * math/s_clog10l.c: Likewise.
7072         * math/libm-test.inc (clog_test): Add more tests.
7073         (clog10_test): Likewise.
7074         * sysdeps/i386/fpu/libm-test-ulps: Update.
7075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7077         [BZ #11451]
7078         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7079         x and y.
7080         * math/libm-test.inc (atan2_test): Add another test.
7082         * Makerules (common-objdir-compile): Remove.
7083         * sysdeps/unix/Makefile (config-generated): Do not add
7084         $(unix-generated) to variable.
7085         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7086         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7087         Remove rule.
7088         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7089         Likewise.
7090         [generic bits/local_lim.h] (before-compile): Do not append to
7091         variable.
7092         [generic bits/local_lim.h] (common-generated): Likewise.
7093         [generic sys/param.h] (before-compile): Do not append to variable.
7094         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7095         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7096         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7097         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7098         include.
7099         [generic sys/param.h] (sys/param.h-includes): Remove variable.
7100         [generic sys/param.h] (sys/param.h-includes): Remove rule.
7101         [generic sys/param.h] ($(addprefix
7102         $(common-objpfx),$(sys/param.h-includes))): Likewise.
7103         [generic sys/param.h] (common-generated): Do not append to
7104         variable.
7105         [generic sys/param.h] (sysdep_headers): Likewise.
7106         [generic bits/errno.h] (before-compile): Do not append to
7107         variable.
7108         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7109         rule.
7110         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7111         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7112         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7113         [generic bits/errno.h] (common-generated): Do not append to
7114         variable.
7115         [generic bits/ioctls.h] (before-compile): Do not append to
7116         variable.
7117         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7118         rule.
7119         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7120         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7121         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7122         rule.
7123         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7124         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7125         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7126         [generic bits/ioctls.h] (common-generated): Do not append to
7127         variable.
7128         [generic sys/syscall.h] (syscall.h): Remove variable.
7129         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7130         rule.
7131         [generic sys/syscall.h] (before-compile): Do not append to
7132         variable.
7133         [generic sys/syscall.h] (common-generated): Likewise.
7134         * sysdeps/unix/errnos-tmpl.c: Remove file.
7135         * sysdeps/unix/errnos.awk: Likewise.
7136         * sysdeps/unix/ioctls-tmpl.c: Likewise.
7137         * sysdeps/unix/ioctls.awk: Likewise.
7138         * sysdeps/unix/mk-local_lim.c: Likewise.
7139         * sysdeps/unix/snarf-ioctls: Likewise.
7141 2012-03-19  Richard Henderson  <rth@twiddle.net>
7143         * sysdeps/i386/fpu/fenv_private.h: New file.
7144         * sysdeps/i386/fpu/math_private.h: Use it.
7145         (math_opt_barrier, math_force_eval): Remove.
7146         (libc_feholdexcept_setround_53bit): Remove.
7147         (libc_feupdateenv_53bit): Remove.
7148         * sysdeps/x86_64/fpu/math_private.h: Likewise.
7149         (math_opt_barrier, math_force_eval): Remove.
7150         (libc_feholdexcept): Remove.
7151         (libc_feholdexcept_setround): Remove.
7152         (libc_fetestexcept, libc_fesetenv): Remove.
7153         (libc_feupdateenv_test): Remove.
7154         (libc_feupdateenv, libc_feholdsetround): Remove.
7155         (libc_feresetround): Remove.
7157         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7158         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7160         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7161         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7162         (libc_feupdateenv_testl): New.
7163         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7164         (libc_feupdateenv_testf): New.
7165         (libc_feupdateenv): Use libc_feupdateenv_test.
7166         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7167         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7169         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7170         (libc_feholdsetroundf, libc_feholdsetroundl): New.
7171         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7172         (libc_feresetround_noex): New.
7173         (libc_feresetround_noexf): New.
7174         (libc_feresetround_noexl): New.
7175         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7176         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7177         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7178         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7179         SET_RESTORE_ROUND.
7180         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7181         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7182         (__cos): Likewise.
7183         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7184         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7185         SET_RESTORE_ROUND_NOEX.
7186         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7187         SET_RESTORE_ROUND_NOEXF.
7188         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7189         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7190         (libc_feholdsetroundf): New.
7191         (libc_feresetround, libc_feresetroundf): New.
7193         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7194         (libc_feholdexcept_setround_53bit): Convert from macro to function.
7195         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
7197         * sysdeps/generic/math_private.h: Include <fenv.h>.
7198         (default_libc_feholdexcept): New.
7199         (default_libc_feholdexcept_setround): New.
7200         (default_libc_fesetenv, default_libc_feupdateenv): New.
7201         (libc_feholdexcept): Only define if undefined.
7202         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7203         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7204         (libc_feholdexcept_setroundl): Likewise.
7205         (libc_feholdexcept_setround_53bit): Likewise.
7206         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7207         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7208         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7209         (libc_feupdateenv_53bit): Likewise.
7210         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7211         (libc_feholdexcept): Convert from macro to inline function.
7212         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7213         (libc_fesetenv, libc_feupdateenv): Likewise.
7215         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7216         not previously defined.
7217         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7218         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7219         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7220         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7221         * sysdeps/ieee754/flt-32/math_private.h: New file.
7222         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7223         math_private.h below SET_FLOAT_WORD.
7224         (__isnan, __isinf_ns, __finite): Remove.
7225         (__isnanf, __isinf_nsf, __finitef): Remove.
7227 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
7229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7231 2012-03-17  David S. Miller  <davem@davemloft.net>
7233         [BZ #6471]
7234         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7235         for 2.16.
7237 2012-03-16  David S. Miller  <davem@davemloft.net>
7239         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7240         warnings.
7242         [BZ #6471]
7243         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7244         properly.
7245         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7246         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7247         sysdep_routines when subdir is sysvipc.
7248         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7249         __getshmlba helper.
7251         * sysdeps/sparc/fpu/libm-test/ulps: Update.
7253 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7255         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7256         [__LP64__].
7258 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7260         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7261         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7262         (__lround): Renamed to ...
7263         (__llround): This.  Replace long int with long long int.
7264         Define lround functions as aliases of llround functions.
7265         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7267 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7269         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7270         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
7271         adresses to uintptr_t.  Replace "long int" and "unsigned long
7272         int" with "greg_t" on va_arg.
7274 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7276         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7277         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7279         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7280         Move e_machine check before EI_CLASS check.  Handle x32
7281         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7282         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7283         SKIP_EM_IA_64 and include
7284         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7286         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7287         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7288         (add_system_dir): New macro.
7290         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7291         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7293 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
7295         [BZ #2551]
7296         [BZ #2552]
7297         [BZ #2553]
7298         [BZ #2554]
7299         [BZ #2562]
7300         [BZ #2563]
7301         [BZ #2565]
7302         [BZ #2566]
7303         [BZ #2576]
7304         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7305         (y0): Likewise.
7306         * math/w_j0f.c (j0f): Likewise.
7307         (y0f): Likewise.
7308         * math/w_j0l.c (__j0l): Likewise.
7309         (__y0l): Likewise.
7310         * math/w_j1.c (j1): Likewise.
7311         (y1): Likewise.
7312         * math/w_j1f.c (j1f): Likewise.
7313         (y1f): Likewise.
7314         * math/w_j1l.c (__j1l): Likewise.
7315         (__y1l): Likewise.
7316         * math/w_jn.c (jn): Likewise.
7317         (yn): Likewise.
7318         * math/w_jnf.c (jnf): Likewise.
7319         (ynf): Likewise.
7320         * math/w_jnl.c (__jnl): Likewise.
7321         (__ynl): Likewise.
7322         * math/libm-test.inc (j0_test): Add more tests.
7323         (j1_test): Likewise.
7324         (jn_test): Likewise.  Add trailing semicolon to existing test.
7325         (y0_test): Likewise.
7326         (y1_test): Likewise.
7327         * sysdeps/i386/fpu/libm-test-ulps: Update.
7328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7330         [BZ #13851]
7331         [BZ #13854]
7332         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7333         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7334         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7335         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7336         (__tanl): Set errno for infinite argument.
7337         * sysdeps/i386/fpu/mptan.c: Remove.
7338         * sysdeps/i386/fpu/s_tan.S: Likewise.
7339         * sysdeps/i386/fpu/s_tanl.S: Likewise.
7340         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7341         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7342         * math/libm-test.inc (tan_test): Add more tests and enable more
7343         tests for double and long double.
7344         * sysdeps/i386/fpu/libm-test-ulps: Update.
7345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7347 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7349         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7350         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7352 2012-03-16  Roland McGrath  <roland@hack.frob.com>
7354         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7355         * configure.in: Use it for both main tree and add-ons.
7356         * configure: Regenerated.
7358 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7360         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7362 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
7364         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7365         in comment.
7367         [BZ #13851]
7368         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7369         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7370         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7371         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7372         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7373         infinite argument.
7374         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7375         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7376         != 0 for prec == 2.
7377         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7378         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7379         * sysdeps/i386/fpu/s_cosl.S: Likewise.
7380         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7381         * sysdeps/i386/fpu/s_sinl.S: Likewise.
7382         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7383         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7384         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7385         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7386         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7387         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7388         * math/libm-test.inc (cos_test): Add more tests and enable more
7389         tests for long double.
7390         (sin_test): Likewise.
7391         (sincos_test): Likewise.
7392         * sysdeps/i386/fpu/libm-test-ulps: Update.
7393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7395 2012-03-16  David S. Miller  <davem@davemloft.net>
7397         * sysdeps/sparc/fpu/math_private.h: New file.
7399 2012-03-15  David S. Miller  <davem@davemloft.net>
7401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7402         file.
7403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7405         file.
7406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7410         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7411         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7412         sysdep routines.
7413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7415         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7416         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7418         * sysdeps/sparc/sparc-ifunc.h: New file.
7419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7420         sparc-ifunc.h
7421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7423         Likewise.
7424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7425         Likewise.
7426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7430         Likewise.
7431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7436         Likewise.
7437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7438         Likewise.
7439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7445         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7447         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7457         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7458         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7459         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7460         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7461         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7462         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7464 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
7466         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7467         scaling.
7468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7470 2012-03-15  Andreas Jaeger  <aj@suse.de>
7472         [BZ #13852]
7473         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7474         ieee754/flt-32 implementation for sin, cos and sincos.
7475         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7476         * sysdeps/i386/fpu/s_cosf.S: Likewise.
7477         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7478         * sysdeps/i386/fpu/s_sinf.S: Likewise.
7479         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7480         ieee754/flt-32 implementation for tan.
7482         * math/libm-test.inc (cos_test): Enable some large input tests for
7483         float as well
7484         (sin_test): Likewise.
7485         (sincos_test): Likewise.
7486         (tan_test): Add tests for large input.
7488         * sysdeps/i386/fpu/libm-test-ulps: Update.
7490 2012-03-15  Andreas Jaeger  <aj@suse.de>
7492         [BZ #13658]
7493         * math/libm-test.inc (cos_test): Add more test cases.
7494         (sin_test): Likewise.
7495         (sincos_test): Likewise.
7497 2012-03-15  Andreas Jaeger  <aj@suse.de>
7499         [BZ #13837]
7500         * math/libm-test.inc (cos_test): Add a test case for large input
7501         value.
7502         (sin_test): Likewise.
7503         (sincos_test): Likewise.
7505 2012-03-15  Andreas Jaeger  <aj@suse.de>,
7506         Joseph Myers  <joseph@codesourcery.com>
7508         [BZ #13658]
7509         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7510         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7511         * sysdeps/i386/fpu/branred.c: Likewise.
7512         * sysdeps/i386/fpu/dosincos.c: Likewise.
7513         * sysdeps/i386/fpu/mpa.c: Likewise.
7514         * sysdeps/i386/fpu/s_cos.S: Likewise.
7515         * sysdeps/i386/fpu/s_sin.S: Likewise.
7516         * sysdeps/i386/fpu/s_sincos.S: Likewise.
7517         * sysdeps/i386/fpu/sincos32.c: Likewise.
7519         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7520         Define.
7521         (libc_feupdateenv_53bit): Define.
7522         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7523         Define.
7524         (libc_feupdateenv_53bit): Define.
7526         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7527         53 bit (without extend i386 double precision).
7529         * math/libm-test.inc (sincos_test): Add tests for large input.
7530         (sin): Likewise.
7531         (cos): Likewise.
7533         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7535 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
7537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7539 2012-03-15  David S. Miller  <davem@davemloft.net>
7541         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7542         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7543         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7544         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7555         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7557         file.
7558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7560         file.
7561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7563         file.
7564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7566         file.
7567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7568         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7569         fmin/fmax sysdep routines.
7570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7572 2012-03-14  David S. Miller  <davem@davemloft.net>
7574         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7575         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7576         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7577         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7578         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7579         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7580         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7581         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7584         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7585         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7586         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7587         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7588         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7589         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7590         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7591         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7592         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7593         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7594         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7595         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7596         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7597         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7598         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7599         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7600         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7601         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7602         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7603         routines.
7604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7605         file.
7606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7608         file.
7609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7611         file.
7612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7614         file.
7615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7617         file.
7618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7620         file.
7621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7622         file.
7623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7624         file.
7625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7626         file.
7627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7628         New file.
7629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7630         file.
7631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7632         file.
7633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7635         file.
7636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7638         file.
7639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7641         file.
7642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7644         VIS3 routines.
7646         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7647         New file.
7649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7651         * sysdeps/sparc/configure.in: New file.
7652         * sysdeps/sparc/configure: Generate.
7653         * configure.in (libc_cv_sparc_as_vis3): Substitute.
7654         * configure: Regenerate.
7655         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7656         * config.make.in (have-as-vis3): New.
7657         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7658         available use -Av9d instead of -Av9a.
7659         * sysdeps/sparc/sparc64/Makefile: Likewise.
7660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7662         New file.
7663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7664         file.
7665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7666         New file.
7667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7668         file.
7669         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7670         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7671         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7672         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7673         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7675         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7676         fzeros/fnegs to load 0x80000000 into a float register instead of
7677         using the stack.
7678         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7680 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
7682         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7683         bits/syscall.h.
7684         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7685         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7686         ($(inst_includedir)/bits/syscall.h): Remove rule.
7687         ($(objpfx)bits/syscall.d): Include instead of
7688         $(objpfx)syscall-list.d.
7689         (generated): Change syscall-list.h and syscall-list.d to
7690         bits/syscall.h and bits/syscall.d.
7692 2012-03-14  Roland McGrath  <roland@hack.frob.com>
7694         [BZ #13846]
7695         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7697 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
7699         [BZ #13841]
7700         * math/s_csqrt.c: Include <float.h>.
7701         (__csqrt): Scale large or subnormal inputs.
7702         * math/s_csqrtf.c: Likewise.
7703         * math/s_csqrtl.c: Likewise.
7704         * math/libm-test.inc (csqrt_test): Add more tests.
7705         * sysdeps/i386/fpu/libm-test-ulps: Update.
7706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7708         [BZ #13840]
7709         * math/libm-test.inc (hypot_test): Add more tests.
7711 2012-03-13  David S. Miller  <davem@davemloft.net>
7713         [BZ #13840]
7714         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7715         double-precision for the calculation instead of scaling.
7717 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
7719         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7720         manipulate bits before adding and subtracting TWO52[sx].
7721         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7722         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7723         Likewise.
7724         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7726 2012-03-13  David S. Miller  <davem@davemloft.net>
7728         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7729         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7730         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7731         rtld-global-offsets.h
7732         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7734         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7735         large parameters.
7737         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7739         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7740         'err' in the ifdef scope in which it is actually used.
7742         * nss/nss_db/db-init.c: Include string.h
7744 2012-03-12  David S. Miller  <davem@davemloft.net>
7746         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7747         masking out of the most significant byte of random value used.
7748         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7749         Fix coding style in previous change.
7751         * sysdeps/unix/sysv/linux/kernel-features.h
7752         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7753         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7754         expression.
7755         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7756         later.
7758 2012-03-11  David S. Miller  <davem@davemloft.net>
7760         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7761         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7762         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7763         for 'resultvar' otherwise things get truncated on 64-bit.
7765         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7766         Fix masking out of the most significant byte of random value used.
7768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7770 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
7772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7774 2012-03-09  David S. Miller  <davem@davemloft.net>
7776         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7777         variables with appropriate CPP guards.
7778         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7779         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
7780         on resulting framesize and the management of the outregs buffer for pltexit.
7781         Preserve floating point return values across _dl_call_pltexit call.
7782         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7783         framesize and the management of the outregs buffer for pltexit.
7784         Preserve floating point return values across _dl_call_pltexit
7785         call.
7786         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7787         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7788         (print_exit): Fix format string for return register value.
7790 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
7792         * sunrpc/Makefile (others): Add rpcgen.
7793         ($(objpfx)rpcgen): Remove special build rule and dependency on
7794         libc.
7795         * sunrpc/rpcgen.c: New file.
7797 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
7799         [BZ #13673]
7800         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7801         * stdio-common/bug-vfprintf-nargs.c: Likewise.
7802         * sysdeps/i386/crti.S: Likewise.
7803         * sysdeps/i386/crtn.S: Likewise.
7804         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7805         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7806         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7807         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7808         * sysdeps/sh/crti.S: Likewise.
7809         * sysdeps/sh/crtn.S: Likewise.
7810         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7812         [BZ #13673]
7813         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7814         with URL.
7815         * locale/programs/locfile-kw.gperf: Likewise.
7816         * locale/programs/charmap-kw.h: Regenerated.
7817         * locale/programs/locfile-kw.h: Likewise.
7819         [BZ #13673]
7820         * intl/plural.y: Replace FSF snail mail address with URL.
7821         * intl/plural.c: Regenerated.
7823 2012-03-09  Richard Henderson  <rth@twiddle.net>
7825         * include/math_private.h: Remove file.
7826         * math/math_private.h: Move file ...
7827         * sysdeps/generic/math_private.h: ... here.
7829         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7830         * sysdeps/powerpc/fpu/math_private.h: Likewise.
7831         * sysdeps/x86_64/fpu/math_private.h: Likewise.
7833         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7834         and <math_private.h>.
7835         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7836         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7837         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7838         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7839         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7840         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7841         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7842         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7843         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7844         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7845         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7846         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7847         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7848         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7849         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7850         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7851         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7852         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7853         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7854         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7855         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7856         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7857         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7858         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7859         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7860         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7861         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7862         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7863         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7864         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7865         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7866         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7867         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7868         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7869         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7870         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7871         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7872         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7873         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7874         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7875         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7876         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7877         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7878         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7879         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7880         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7881         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7882         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7883         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7884         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7885         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7886         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7887         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7888         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7889         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7890         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7891         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7892         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7893         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7894         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7895         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7896         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7897         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7898         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7899         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7900         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7901         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7902         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7903         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7904         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7905         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7906         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7907         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7908         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7909         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7910         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7911         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7912         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7913         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7914         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7915         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7916         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7917         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7918         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7919         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7920         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7922         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7923         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7924         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7925         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7926         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7927         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7928         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7929         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7930         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7931         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7932         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7933         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7934         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7935         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7936         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7937         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7938         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7939         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7940         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7941         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7942         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7943         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7944         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7945         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7946         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7947         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7948         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7949         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7950         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7951         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7952         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7953         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7954         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7955         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7956         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7957         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7958         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7959         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7960         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7961         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7962         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7963         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7964         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7965         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7966         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7967         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7968         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7969         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7970         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7971         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7972         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7973         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7974         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7975         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7976         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7977         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7978         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7979         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7980         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7981         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7982         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7983         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7984         * sysdeps/ieee754/k_standard.c: Likewise.
7985         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7986         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7987         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7988         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7989         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7990         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7991         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7992         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7993         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7994         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7995         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7996         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7997         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7998         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7999         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8000         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8001         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8002         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8003         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8004         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8005         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8006         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8007         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8008         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8009         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8010         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8011         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8012         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8013         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8014         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8015         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8016         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8017         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8018         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8019         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8020         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8021         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8022         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8023         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8024         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8025         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8026         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8027         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8028         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8029         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8030         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8031         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8032         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8033         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8034         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8035         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8036         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8037         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8038         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8039         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8040         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8041         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8042         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8043         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8044         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8045         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8046         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8047         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8048         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8049         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8051         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8053         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8054         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8055         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8057         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8058         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8059         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8060         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8061         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8062         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8064         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8065         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8066         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8067         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8068         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8069         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8070         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8071         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8072         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8073         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8075         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8076         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8077         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8078         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8079         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8080         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8081         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8082         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8083         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8084         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8085         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8086         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8087         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8088         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8089         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8090         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8091         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8092         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8093         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8094         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8095         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8096         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8097         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8098         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8099         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8100         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8101         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8102         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8103         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8104         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8105         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8106         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8107         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8108         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8109         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8110         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8111         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8112         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8113         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8114         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8115         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8116         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8117         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8118         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8119         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8120         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8121         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8122         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8123         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8124         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8125         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8126         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8127         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8128         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8129         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8130         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8131         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8132         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8133         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8134         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8135         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8136         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8137         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8138         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8139         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8140         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8141         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8142         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8143         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8144         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8145         * sysdeps/ieee754/s_lib_version.c: Likewise.
8146         * sysdeps/ieee754/s_matherr.c: Likewise.
8147         * sysdeps/ieee754/s_signgam.c: Likewise.
8148         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8149         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8150         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8151         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8152         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8153         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8154         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8155         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8156         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8157         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8158         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8159         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8160         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8161         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8162         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8163         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8164         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8165         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8166         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8167         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8168         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8170 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
8172         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8173         * sunrpc/rpc_main.c: Likewise.
8174         * sunrpc/rpc_svcout.c: Likewise.
8176 2012-03-09  David S. Miller  <davem@davemloft.net>
8178         * include/math_private.h: New file.
8180 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
8182         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8183         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8184         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8185         from <bits/socket_type.h>.
8186         (enum __socket_type): Don't define here.
8187         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8189         bits/socket_type.h.
8191         [BZ #13566]
8192         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8193         checking __USE_GNU.
8195         * Makerules ($(inst_includedir)/%.h): New rule.
8196         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8197         (install-others): Remove variable setting.
8198         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8200 2012-03-08  Richard Henderson  <rth@twiddle.net>
8202         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8203         from macro to inline function; merge with the
8204         !__LIBC_INTERNAL_MATH_INLINES version.
8205         (__ieee754_sqrtf): Likewise.
8207         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8208         to inline function.
8209         (__rintf, __floor, __floorf): Likewise.
8211         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8212         macro to inline function.
8213         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8215         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8216         not <math/math_private.h>.
8218 2012-03-08  David S. Miller  <davem@davemloft.net>
8220         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8221         copyright year.
8222         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8224 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
8226         * resolv/gai_misc.c (handle_requests): Fix struct timespec
8227         normalization.
8228         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8229         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8231 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
8233         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
8234         be defined individually, they must be defined as a block.  Define
8235         S for printing a string instead of hidint the different by using a
8236         macro for adding the 'l'.
8237         * stdio-common/tst-fphex-wide.c: Adjust.
8239 2012-03-07  Marek Polacek  <polacek@redhat.com>
8241         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8243 2012-03-08  Marek Polacek  <polacek@redhat.com>
8245         [BZ #13806]
8246         * stdio-common/Makefile (tests): Add tst-fphex-wide.
8247         * stdio-common/tst-fphex.c: Define a few macros to make the
8248         test reusable.  Use them.
8249         * stdio-common/tst-fphex-wide.c: New file.
8251 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
8253         [BZ #6911]
8254         * manual/macros.texi (gnusystems): New macro.
8255         (nongnusystems): Likewise.
8256         (gnulinuxhurdsystems): Likewise.
8257         (gnuhurdsystems): Likewise..
8258         (gnulinuxsystems): Likewise.
8259         * manual/charset.texi: Use new macros or @theglibc{} to refer to
8260         variants of the GNU system, not "GNU system".
8261         * manual/conf.texi: Likewise.
8262         * manual/errno.texi: Likewise.  Update example of errno macro
8263         expansion.
8264         * manual/filesys.texi: Likewise.
8265         (getumask): Document as specific to GNU/Hurd.
8266         * manual/install.texi: Likewise.  Reword some references to
8267         GNU/Linux.
8268         * manual/intro.texi: Likewise.
8269         * manual/io.texi: Likewise.
8270         (File Name Portability): Detail which constraints are inapplicable
8271         to all GNU systems and which are only inapplicable to GNU/Hurd.
8272         * manual/job.texi: Likewise.
8273         * manual/llio.texi: Likewise.
8274         (O_NOCTTY): Document as present on GNU/Linux.
8275         * manual/maint.texi: Likewise.
8276         * manual/memory.texi: Likewise.
8277         * manual/pattern.texi: Likewise.
8278         * manual/pipe.texi: Likewise.
8279         * manual/process.texi: Likewise.
8280         * manual/resource.texi: Likewise.
8281         (RUSAGE_CHILDREN): Remove statement about specifying a particular
8282         child on GNU/Hurd.
8283         * manual/setjmp.texi: Likewise.
8284         * manual/signal.texi: Likewise.
8285         * manual/startup.texi: Likewise.
8286         * manual/stdio.texi: Likewise.
8287         * manual/terminal.texi: Likewise.
8288         (ONLCR): Document as POSIX.
8289         (OXTABS): Document availability on GNU/Linux as XTABS.
8290         (ONOEOT): Document availability separately from other bits.
8291         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8292         * manual/time.texi: Likewise.
8293         * manual/users.texi: Likewise.
8294         * INSTALL: Regenerated.
8295         * sysdeps/gnu/errlist.c: Regenerated.
8297         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8298         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8299         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
8300         puts.
8301         * configure: Regenerated.
8303 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
8305         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8306         default includes instead of AC_HEADER_CHECK.
8307         * sysdeps/i386/configure: Regenerated.
8309         [BZ #10716]
8310         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8311         * math/s_cacoshf.c (__cacoshf): Likewise.
8312         * math/s_cacoshl.c (__cacoshl): Likewise.
8313         * math/s_casinh.c (__casinh): Set signs of result from argument.
8314         * math/s_casinhf.c (__casinhf): Likewise.
8315         * math/s_casinhl.c (__casinhl): Likewise.
8316         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8317         (casinh_test): Add more tests.
8318         * sysdeps/i386/fpu/libm-test-ulps: Update.
8319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8321 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
8323         * po/zh_TW.po: Update from translation team.
8325         * login/Makefile (distribute): Remove variable.
8326         * catgets/Makefile: Likewise.
8327         * mach/Makefile: Likewise.
8328         * malloc/Makefile: Likewise.
8329         * misc/Makefile: Likewise.
8330         * iconv/Makefile: Likewise.
8331         * nscd/Makefile: Likewise.
8332         * hurd/Makefile: Likewise.
8333         * manual/Makefile: Likewise.
8334         * locale/Makefile: Likewise.
8335         * intl/Makefile: Likewise.
8336         * conform/Makefile: Likewise.
8337         * nss/Makefile: Likewise.
8338         * time/Makefile: Likewise.
8339         * soft-fp/Makefile: Likewise.
8340         * dirent/Makefile: Likewise.
8341         * gmon/Makefile: Likewise.
8342         * po/Makefile: Likewise.
8343         * rt/Makefile: Likewise.
8344         * socket/Makefile: Likewise.
8345         * math/Makefile: Likewise.
8346         * signal/Makefile: Likewise.
8347         * debug/Makefile: Likewise.
8348         * elf/Makefile: Likewise.
8349         * timezone/Makefile: Likewise.
8350         * stdlib/Makefile: Likewise.
8351         * iconvdata/Makefile: Likewise.
8352         * sunrpc/Makefile: Likewise.
8353         * io/Makefile: Likewise.
8354         * argp/Makefile: Likewise.
8355         * inet/Makefile: Likewise.
8356         * hesiod/Makefile: Likewise.
8357         * grp/Makefile: Likewise.
8358         * csu/Makefile: Likewise.
8359         * wctype/Makefile: Likewise.
8360         * crypt/Makefile: Likewise.
8361         * libio/Makefile: Likewise.
8362         * string/Makefile: Likewise.
8363         * nis/Makefile: Likewise.
8364         * resolv/Makefile: Likewise.
8365         * stdio-common/Makefile: Likewise.
8366         * wcsmbs/Makefile: Likewise.
8367         * dlfcn/Makefile: Likewise.
8368         * posix/Makefile: Likewise.
8370         [BZ #6959]
8371         * timezone/Makefile: Don't install timezone files, just the programs
8372         and scripts.
8374 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
8376         * nss/databases.def: Add missing gshadow entry.
8378         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
8380 2012-03-06  Marek Polacek  <polacek@redhat.com>
8382         [BZ #13726]
8383         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8384         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8385         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8386         * stdio-common/tst-long-dbl-fphex.c: New file.
8388 2012-03-06  David S. Miller  <davem@davemloft.net>
8390         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8391         (set_obp_int): New function.
8392         (get_obp_int): New function.
8393         (__get_clockfreq_via_dev_openprom): Likewise.
8394         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8395         Avoid unused variable warnings on 'val' and use builtin_expect.
8396         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8397         __builtin_expect.
8398         (INLINE_CLONE_SYSCALL): Likewise.
8400 2012-03-05  David S. Miller  <davem@davemloft.net>
8402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8404 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
8406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8408         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8409         only for |x| >= 40.
8410         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8412 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
8414         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8415         Replace gettimeofday with __vdso_gettimeofday.
8417         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8418         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8419         __vdso_clock_gettime and __vdso_getcpu.
8421         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8422         time with __vdso_time.
8424 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
8426         * manual/lang.texi (size_t): Note types to which size_t may be
8427         equivalent with the GNU C Library, but do not describe when
8428         differences between them are significant.
8430 2012-03-05  Andreas Jaeger  <aj@suse.de>
8432         * sysdeps/i386/fpu/libm-test-ulps: Update.
8434 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
8436         [BZ #3976]
8437         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8438         (__ieee754_pow): Save and restore rounding mode and use
8439         round-to-nearest for main computations.
8440         * math/libm-test.inc (pow_test_tonearest): New function.
8441         (pow_test_towardzero): Likewise.
8442         (pow_test_downward): Likewise.
8443         (pow_test_upward): Likewise.
8444         (main): Call the new functions.
8445         * sysdeps/i386/fpu/libm-test-ulps: Update.
8446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8448         [BZ #3976]
8449         * math/libm-test.inc (cosh_test_tonearest): New function.
8450         (cosh_test_towardzero): Likewise.
8451         (cosh_test_downward): Likewise.
8452         (cosh_test_upward): Likewise.
8453         (sinh_test_tonearest): Likewise.
8454         (sinh_test_towardzero): Likewise.
8455         (sinh_test_downward): Likewise.
8456         (sinh_test_upward): Likewise.
8457         (main): Call the new functions.
8458         * sysdeps/i386/fpu/libm-test-ulps: Update.
8459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8461 2012-03-05  Tom de Vries  <tom@codesourcery.com>
8463         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8464         default stack guard is set in last bytes.
8465         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8467 2012-03-05  Kees Cook  <keescook@chromium.org>
8469         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8471         [BZ #13656]
8472         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8473         possibly allocate from heap instead of stack.
8474         * stdio-common/bug-vfprintf-nargs.c: New file.
8475         * stdio-common/Makefile (tests): Add nargs overflow test.
8477 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
8479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8481 2012-03-03  Marek Polacek  <polacek@redhat.com>
8483         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8484         * math/math_private.h: Likewise.
8485         * stdlib/tst-strtod.c: Likewise.
8486         * sysdeps/i386/i486/bits/atomic.h: Likewise.
8487         * sysdeps/x86_64/bits/atomic.h: Likewise.
8489 2012-03-02  David S. Miller  <davem@davemloft.net>
8491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8495         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8496         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8497         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8498         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8500 2012-03-02  Roland McGrath  <roland@hack.frob.com>
8502         [BZ #13792]
8503         * manual/examples/README: New file, says the example source files
8504         can be used under GPL>=2.
8505         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8506         line containing just "*/".
8507         * manual/examples/add.c: Add copyright header (GPL>=2).
8508         * manual/examples/argp-ex1.c: Likewise.
8509         * manual/examples/argp-ex2.c: Likewise.
8510         * manual/examples/argp-ex3.c: Likewise.
8511         * manual/examples/argp-ex4.c: Likewise.
8512         * manual/examples/atexit.c: Likewise.
8513         * manual/examples/db.c: Likewise.
8514         * manual/examples/dir.c: Likewise.
8515         * manual/examples/dir2.c: Likewise.
8516         * manual/examples/execinfo.c: Likewise.
8517         * manual/examples/filecli.c: Likewise.
8518         * manual/examples/filesrv.c: Likewise.
8519         * manual/examples/fmtmsgexpl.c: Likewise.
8520         * manual/examples/genpass.c: Likewise.
8521         * manual/examples/inetcli.c: Likewise.
8522         * manual/examples/inetsrv.c: Likewise.
8523         * manual/examples/isockad.c: Likewise.
8524         * manual/examples/longopt.c: Likewise.
8525         * manual/examples/memopen.c: Likewise.
8526         * manual/examples/memstrm.c: Likewise.
8527         * manual/examples/mkfsock.c: Likewise.
8528         * manual/examples/mkisock.c: Likewise.
8529         * manual/examples/mygetpass.c: Likewise.
8530         * manual/examples/pipe.c: Likewise.
8531         * manual/examples/popen.c: Likewise.
8532         * manual/examples/rprintf.c: Likewise.
8533         * manual/examples/search.c: Likewise.
8534         * manual/examples/select.c: Likewise.
8535         * manual/examples/setjmp.c: Likewise.
8536         * manual/examples/sigh1.c: Likewise.
8537         * manual/examples/sigusr.c: Likewise.
8538         * manual/examples/stpcpy.c: Likewise.
8539         * manual/examples/strdupa.c: Likewise.
8540         * manual/examples/strftim.c: Likewise.
8541         * manual/examples/strncat.c: Likewise.
8542         * manual/examples/subopt.c: Likewise.
8543         * manual/examples/swapcontext.c: Likewise.
8544         * manual/examples/termios.c: Likewise.
8545         * manual/examples/testopt.c: Likewise.
8546         * manual/examples/testpass.c: Likewise.
8547         * manual/examples/timeval_subtract.c: Likewise.
8549         [BZ #13792]
8550         * manual/time.texi (Elapsed Time): Move timeval_subtract example
8551         function to ...
8552         * manual/timeval_subtract.c.texi: ... here, new file.
8554 2012-03-02  David S. Miller  <davem@davemloft.net>
8556         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8558 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
8560         [BZ #3976]
8561         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8562         (__sin): Save and restore rounding mode and use round-to-nearest
8563         for all computations.
8564         (__cos): Save and restore rounding mode and use round-to-nearest
8565         for all computations.
8566         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8567         <fenv.h>.
8568         (tan): Save and restore rounding mode and use round-to-nearest for
8569         all computations.
8570         * math/libm-test.inc (cos_test_tonearest): New function.
8571         (cos_test_towardzero): Likewise.
8572         (cos_test_downward): Likewise.
8573         (cos_test_upward): Likewise.
8574         (sin_test_tonearest): Likewise.
8575         (sin_test_towardzero): Likewise.
8576         (sin_test_downward): Likewise.
8577         (sin_test_upward): Likewise.
8578         (tan_test_tonearest): Likewise.
8579         (tan_test_towardzero): Likewise.
8580         (tan_test_downward): Likewise.
8581         (tan_test_upward): Likewise.
8582         (main): Call the new functions.
8583         * sysdeps/i386/fpu/libm-test-ulps: Update.
8584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8586         [BZ #10135]
8587         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8588         small n, then large n, before computing and testing k+n.
8589         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8590         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8591         Likewise.
8592         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8593         Likewise.
8594         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8595         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8596         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8597         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8598         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8599         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8600         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8601         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8602         * math/libm-test.inc (scalbn_test): Add more tests.
8603         (scalbln_test): Likewise.
8605         * manual/filesys.texi (mode_t): Describe constraints on size and
8606         signedness, not exact equivalence to a particular type.
8607         (ino_t): Likewise.
8608         (ino64_t): Likewise.
8609         (dev_t): Likewise.
8610         (nlink_t): Likewise.
8611         (blkcnt_t): Likewise.
8612         (blkcnt64_t): Likewise.
8613         * manual/llio.texi (off_t): Likewise.
8615         [BZ #3976]
8616         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8617         (__ieee754_exp): Save and restore rounding mode and use
8618         round-to-nearest for all computations.
8619         * math/libm-test.inc (exp_test_tonearest): New function.
8620         (exp_test_towardzero): Likewise.
8621         (exp_test_downward): Likewise.
8622         (exp_test_upward): Likewise.
8623         (main): Call the new functions.
8624         * sysdeps/i386/fpu/libm-test-ulps: Update.
8625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8627 2012-03-01  Chris Demetriou  <cgd@google.com>
8629         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8630         have predictable order.
8632 2012-03-01  David S. Miller  <davem@davemloft.net>
8634         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8636         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8637         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8638         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8639         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8641         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8642         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8643         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8645         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8646         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8647         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8648         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8649         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8653         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8654         * sysdeps/sparc/fpu/libm-test-ulps: to here.
8655         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8657         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8658         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8659         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8660         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8661         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8662         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8663         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8664         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8665         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8666         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8667         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8668         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8669         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8670         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8671         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8672         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8673         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8674         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8675         * sysdeps/sparc/elf/configure: Regenerated.
8677 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
8679         * configure.in (AS, LD): Require binutils 2.20 or later.
8680         * configure: Regenerated.
8681         * manual/install.texi (Tools for Compilation): Give binutils 2.20
8682         as required minimum version.
8683         * INSTALL: Regenerated.
8685         [BZ #2541]
8686         [BZ #4108]
8687         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8688         before squaring exponent.
8689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8690         bottom long double and 27 bits of top long double before squaring
8691         exponent.
8692         * math/libm-test.inc (erfc_test): Add more tests.
8693         * sysdeps/i386/fpu/libm-test-ulps: Update.
8694         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8697 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8699         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8700         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8701         containing bit-fields.
8702         * soft-fp/extended.h (_FP_UNION_E): Likewise.
8703         * soft-fp/single.h (_FP_UNION_S): Likewise.
8704         * soft-fp/double.h (_FP_UNION_D): Likewise.
8706 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
8708         [BZ #13786]
8709         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8710         not include ../strcmp.S.
8711         [USE_AS_STRNCASECMP_L]: Likewise.
8712         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8713         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8714         * sysdeps/i386/i686/multiarch/strncase_l-c.c
8715         (__strncasecmp_l_ia32): Define as alias to
8716         __strncasecmp_l_nonascii.
8718         [BZ #5794]
8719         * math/libm-test.inc (expm1_test): Add test for bug 5794.
8720         * sysdeps/i386/fpu/libm-test-ulps: Update.
8721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8723         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8726 2012-02-29  Jeff Law  <law@redhat.com>
8728         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8729         out of bounds read.
8731 2012-02-29  Marek Polacek  <polacek@redhat.com>
8733         [BZ #13706]
8734         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8735         * elf/Makefile: Add rules to run tst-unused-dep.out.
8737 2012-02-28  David S. Miller  <davem@davemloft.net>
8739         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8740         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8741         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8742         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8743         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8744         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8746 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
8748         * math/libm-test.inc (llround_test): Move one test from
8749         lround_test.  Use TEST_f_L in moved test.
8750         (lround_test): Move misplaced test to llround_test.  Add testcase
8751         from bug 2561.
8753 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
8755         * sysdeps/x86_64/fpu/e_expf.S: New file.
8756         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8758 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
8760         [BZ #13637]
8761         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8762         of remain_len that may cause incomplete multi-byte character and
8763         false match.
8764         * posix/bug-regex33.c: New file.
8765         * posix/Makefile (tests): Add bug-regex33.
8767 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
8769         * manual/macros.texi: New file.
8770         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8771         * manual/libc.texinfo: Include macros.texi.
8772         * manual/creatute.texi: Likewise.
8773         * manual/install.texi: Likewise.
8774         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8775         @glibcadj{} in references to the GNU C Library.
8776         * manual/charset.texi: Likewise.
8777         * manual/conf.texi: Likewise.
8778         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
8779         when not using those macros.
8780         * manual/creature.texi: Likewise.
8781         * manual/crypt.texi: Likewise.
8782         * manual/errno.texi: Likewise.
8783         * manual/filesys.texi: Likewise.
8784         * manual/header.texi: Likewise.
8785         * manual/install.texi: Likewise.
8786         * manual/intro.texi: Likewise.
8787         * manual/io.texi: Likewise.
8788         * manual/job.texi: Likewise.
8789         * manual/lang.texi: Likewise.
8790         * manual/libc.texiinfo: Likewise.
8791         * manual/llio.texi: Likewise.
8792         * manual/locale.texi: Likewise.
8793         * manual/maint.texi: Likewise.
8794         * manual/math.texi: Likewise.
8795         * manual/memory.texi: Likewise.
8796         * manual/message.texi: Likewise.
8797         * manual/nss.texi: Likewise.
8798         * manual/pattern.texi: Likewise.
8799         * manual/process.texi: Likewise.
8800         * manual/resource.texi: Likewise.
8801         * manual/search.texi: Likewise.
8802         * manual/setjmp.texi: Likewise.
8803         * manual/signal.texi: Likewise.
8804         * manual/socket.texi: Likewise.
8805         * manual/startup.texi: Likewise.
8806         * manual/stdio.texi: Likewise.
8807         * manual/string.texi: Likewise.
8808         * manual/sysinfo.texi: Likewise.
8809         * manual/syslog.texi: Likewise.
8810         * manual/terminal.texi: Likewise.
8811         * manual/time.texi: Likewise.
8812         * manual/users.texi: Likewise.
8813         * INSTALL: Regenerated.
8814         * NOTES: Regenerated.
8815         * sysdeps/gnu/errlist.c: Regenerated.
8817 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8819         * include/dirent.h: Include <dirstream.h> before
8820         <dirent/dirent.h>.
8822 2012-02-28  David S. Miller  <davem@davemloft.net>
8824         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8825         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8826         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8827         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8829 2012-02-27  David S. Miller  <davem@davemloft.net>
8831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8833         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8834         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8837         frame pointer instead of stack pointer relative arg slot.
8838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8839         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8840         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8842 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
8844         [BZ #3992]
8845         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8847 2012-02-27  David S. Miller  <davem@davemloft.net>
8849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8853         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8854         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8855         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8856         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8858 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
8860         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8861         later.  Allow versions 5-9.
8862         * configure: Regenerated.
8863         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8864         required minimum version and 4.6 as recommended version.  Do not
8865         mention bugs in GCC 2.7 and 2.8.
8866         * INSTALL: Regenerated.
8868 2012-02-27  David S. Miller  <davem@davemloft.net>
8870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8874         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8875         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8876         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8877         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8879         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8880         manipulate bits before adding and subtracting TWO112[sx].
8881         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8883 2012-02-27  Roland McGrath  <roland@hack.frob.com>
8885         [BZ #13775]
8886         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8887         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8888         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8889         being in POSIX, because they are in 1003.1-2008.
8891         * rt/tst-aio.c: Include <fcntl.h>.
8892         * rt/tst-aio7.c: Likewise.
8893         * rt/tst-aio64.c: Likewise.
8895         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8897 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
8899         * manual/install.texi (--with-headers): Describe headers as
8900         interface headers, not private headers.
8901         (Specific advice for GNU/Linux systems): Describe use of headers
8902         from "make headers_install", not private headers from older
8903         kernels.
8904         * INSTALL: Regenerated.
8905         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8906         Change to 2.6.19.
8907         * sysdeps/unix/sysv/linux/configure: Regenerated.
8909         * manual/llio.texi (fclean): Remove documentation.
8911         * manual/Makefile (libc-texi-generated): New variable.  Include
8912         version.texi.
8913         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8914         $(libc-texi-generated), not duplicated list of files.
8915         (version.texi, stamp-version): New rules.
8916         (realclean): Remove $(libc-texi-generated), not individual files
8917         from that list.  Do not remove dir-add.texinfo.
8918         * manual/libc.texinfo: Comment out uses of edition numbers and
8919         references to printed manual.  Remove last-updated dates.
8920         (EDITION): Comment out.
8921         (ISBN): Likewise.
8922         (VERSION, UPDATED): Remove.
8923         (version.texi): Include.
8925 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
8927         * sysdeps/posix/spawni.c: Include <signal.h>.
8928         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8929         * sysdeps/pthread/aio_fsync.c: Likewise.
8931 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
8933         * conform/Makefile (tests): Run only when not cross-compiling and
8934         when fast-check is not defined.
8936         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8937         * conform/data/limits.h-data: Fixes for POSIX2008.
8938         * conform/run-conformtest.sh: Run all tests.
8939         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8940         headers.
8941         * include/bits/dlfcn.h: Likewise.
8942         * include/langinfo.h: Likewise.
8943         * include/monetary.h: Likewise.
8944         * include/sys/poll.h: Likewise.
8946         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8947         for __USE_GNU.
8948         * posix/spawn.h: Define __need_sigset_t.
8949         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8950         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8951         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
8952         to get sigevent_t only.
8953         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8954         only for __USE_GNU.
8955         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8956         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8957         process_vm_writev only for __USE_GNU.
8958         * termios/termios.h: Declare tcgetsid also for POSIX2008.
8960         * conform/Makefile: For now ignore errors from run-conformtest.
8961         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
8962         POSIX to avoid namespace pollution.  Don't prepend headers.
8963         * conform/data/aio.h-data: Fixes for POSIX testing.
8964         * conform/data/fcntl.h-data: Likewise.
8965         * conform/data/glob.h-data: Likewise.
8966         * conform/data/grp.h-data: Likewise.
8967         * conform/data/pthread.h-data: Likewise.
8968         * conform/data/pwd.h-data: Likewise.
8969         * conform/data/signal.h-data: Likewise.
8970         * conform/data/spawn.h-data: Likewise.
8971         * conform/data/stdio.h-data: Likewise.
8972         * conform/data/stdlib.h-data: Likewise.
8973         * conform/data/stropts.h-data: Likewise.
8974         * conform/data/sys/mman.h-data: Likewise.
8975         * conform/data/sys/stat.h-data: Likewise.
8976         * conform/data/sys/types.h-data: Likewise.
8977         * conform/data/sys/wait.h-data: Likewise.
8978         * conform/data/time.h-data: Likewise.
8979         * conform/data/unistd.h-data: Likewise.
8980         * conform/data/utime.h-data: Likewise.
8982         * io/sys/stat.h: fchmod was always in POSIX.
8983         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8984         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8985         * rt/aio.h: Define __need_timespec before including <time.h>.
8986         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8987         struct.  Add forward declaration of pthread_attr_t and use it in
8988         sigevent.
8989         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8990         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8991         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8992         always remove CLK_TCK definition.
8994 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
8996         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8998 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
9000         * conform/run-conformtest.sh: New file.
9001         * conform/Makefile: Run run-conformtest for tests.
9002         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
9003         support.
9005         * conform/data/uchar.h-data: New file.
9006         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9007         * conform/data/arpa/inet.h-data: Likewise.
9008         * conform/data/assert.h-data: Likewise.
9009         * conform/data/complex.h-data: Likewise.
9010         * conform/data/cpio.h-data: Likewise.
9011         * conform/data/ctype.h-data: Likewise.
9012         * conform/data/dirent.h-data: Likewise.
9013         * conform/data/dlfcn.h-data: Likewise.
9014         * conform/data/errno.h-data: Likewise.
9015         * conform/data/fcntl.h-data: Likewise.
9016         * conform/data/float.h-data: Likewise.
9017         * conform/data/fmtmsg.h-data: Likewise.
9018         * conform/data/fnmatch.h-data: Likewise.
9019         * conform/data/ftw.h-data: Likewise.
9020         * conform/data/glob.h-data: Likewise.
9021         * conform/data/grp.h-data: Likewise.
9022         * conform/data/iconv.h-data: Likewise.
9023         * conform/data/inttypes.h-data: Likewise.
9024         * conform/data/langinfo.h-data: Likewise.
9025         * conform/data/libgen.h-data: Likewise.
9026         * conform/data/limits.h-data: Likewise.
9027         * conform/data/locale.h-data: Likewise.
9028         * conform/data/math.h-data: Likewise.
9029         * conform/data/monetary.h-data: Likewise.
9030         * conform/data/mqueue.h-data: Likewise.
9031         * conform/data/ndbm.h-data: Likewise.
9032         * conform/data/net/if.h-data: Likewise.
9033         * conform/data/netdb.h-data: Likewise.
9034         * conform/data/netinet/in.h-data: Likewise.
9035         * conform/data/nl_types.h-data: Likewise.
9036         * conform/data/poll.h-data: Likewise.
9037         * conform/data/pthread.h-data: Likewise.
9038         * conform/data/pwd.h-data: Likewise.
9039         * conform/data/regex.h-data: Likewise.
9040         * conform/data/sched.h-data: Likewise.
9041         * conform/data/search.h-data: Likewise.
9042         * conform/data/semaphore.h-data: Likewise.
9043         * conform/data/setjmp.h-data: Likewise.
9044         * conform/data/signal.h-data: Likewise.
9045         * conform/data/spawn.h-data: Likewise.
9046         * conform/data/stdarg.h-data: Likewise.
9047         * conform/data/stdio.h-data: Likewise.
9048         * conform/data/stdlib.h-data: Likewise.
9049         * conform/data/string.h-data: Likewise.
9050         * conform/data/strings.h-data: Likewise.
9051         * conform/data/stropts.h-data: Likewise.
9052         * conform/data/sys/ipc.h-data: Likewise.
9053         * conform/data/sys/mman.h-data: Likewise.
9054         * conform/data/sys/msg.h-data: Likewise.
9055         * conform/data/sys/resource.h-data: Likewise.
9056         * conform/data/sys/select.h-data: Likewise.
9057         * conform/data/sys/sem.h-data: Likewise.
9058         * conform/data/sys/shm.h-data: Likewise.
9059         * conform/data/sys/socket.h-data: Likewise.
9060         * conform/data/sys/stat.h-data: Likewise.
9061         * conform/data/sys/statvfs.h-data: Likewise.
9062         * conform/data/sys/time.h-data: Likewise.
9063         * conform/data/sys/timeb.h-data: Likewise.
9064         * conform/data/sys/times.h-data: Likewise.
9065         * conform/data/sys/types.h-data: Likewise.
9066         * conform/data/sys/uio.h-data: Likewise.
9067         * conform/data/sys/un.h-data: Likewise.
9068         * conform/data/sys/utsname.h-data: Likewise.
9069         * conform/data/sys/wait.h-data: Likewise.
9070         * conform/data/syslog.h-data: Likewise.
9071         * conform/data/tar.h-data: Likewise.
9072         * conform/data/termios.h-data: Likewise.
9073         * conform/data/utime.h-data: Likewise.
9074         * conform/data/utmpx.h-data: Likewise.
9075         * conform/data/varargs.h-data: Likewise.
9076         * conform/data/wchar.h-data: Likewise.
9077         * conform/data/wctype.h-data: Likewise.
9078         * conform/data/wordexp.h-data: Likewise.
9080         * include/stropts.h: New file.
9081         * include/uchar.h: New file.
9082         * include/aio.h: Changes to allow conformtest.pl to use the headers.
9083         * include/assert.h: Likewise.
9084         * include/ctype.h: Likewise.
9085         * include/dirent.h: Likewise.
9086         * include/dlfcn.h: Likewise.
9087         * include/fcntl.h: Likewise.
9088         * include/fnmatch.h: Likewise.
9089         * include/glob.h: Likewise.
9090         * include/grp.h: Likewise.
9091         * include/libio.h: Likewise.
9092         * include/locale.h: Likewise.
9093         * include/math.h: Likewise.
9094         * include/net/if.h: Likewise.
9095         * include/netdb.h: Likewise.
9096         * include/netinet/in.h: Likewise.
9097         * include/pthread.h: Likewise.
9098         * include/pwd.h: Likewise.
9099         * include/regex.h: Likewise.
9100         * include/sched.h: Likewise.
9101         * include/search.h: Likewise.
9102         * include/setjmp.h: Likewise.
9103         * include/signal.h: Likewise.
9104         * include/stdio.h: Likewise.
9105         * include/stdlib.h: Likewise.
9106         * include/string.h: Likewise.
9107         * include/sys/cdefs.h: Likewise.
9108         * include/sys/mman.h: Likewise.
9109         * include/sys/msg.h: Likewise.
9110         * include/sys/resource.h: Likewise.
9111         * include/sys/select.h: Likewise.
9112         * include/sys/socket.h: Likewise.
9113         * include/sys/stat.h: Likewise.
9114         * include/sys/statvfs.h: Likewise.
9115         * include/sys/time.h: Likewise.
9116         * include/sys/times.h: Likewise.
9117         * include/sys/uio.h: Likewise.
9118         * include/sys/utsname.h: Likewise.
9119         * include/sys/wait.h: Likewise.
9120         * include/termios.h: Likewise.
9121         * include/time.h: Likewise.
9122         * include/ulimit.h: Likewise.
9123         * include/unistd.h: Likewise.
9124         * include/utime.h: Likewise.
9125         * include/wchar.h: Likewise.
9126         * include/wctype.h: Likewise.
9127         * include/wordexp.h: Likewise.
9129         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9131         * time/time.h: TIME_UTC must be a macro.
9132         Make timespec_get available for ISO C11 only as well.
9134 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
9136         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9137         Reported by Peng Haitao <penght@cn.fujitsu.com>.
9139 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9141         * configure.in: Use -o not -a in test for unsupported multi-arch.
9143 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9145         * manual/texinfo.tex: Update to version 2012-01-19.16.
9147 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9149         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9151 2012-02-24  Roland McGrath  <roland@hack.frob.com>
9153         [BZ #13738]
9154         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9155         * manual/fdl-1.3.texi: New file.
9156         * manual/fdl-1.1.texi: File removed.
9158         [BZ #13738]
9159         * manual/libc.texinfo (FDL_VERSION): New @set.
9160         Use it for mention of FDL in cover text.
9161         (Documentation License): Use it in @include file name.
9163 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9164             Roland McGrath  <roland@hack.frob.com>
9166         [BZ #5461]
9167         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9168         not LONG_LONG_MAX and LONG_LONG_MIN.
9169         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9170         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
9171         name.
9172         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9174 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9176         [BZ #2547]
9177         [BZ #11365]
9178         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9179         manipulate bits before adding and subtracting TWO23[sx].
9180         * math/libm-test.inc (nearbyint_test): Add more tests.
9182 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9184         [BZ #2548]
9185         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9186         bits before adding and subtracting TWO23[sx].
9187         * math/libm-test.inc (rint_test): Add more tests.
9188         (rint_test_tonearest): Likewise.
9189         (rint_test_towardzero): Likewise.
9190         (rint_test_downward): Likewise.
9191         (rint_test_upward: Likewise.
9193 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9195         [BZ #10110]
9196         * include/stdc-predef.h: New file.  Extracted from features.h.
9197         * include/features.h: Include stdc-predef.h.
9198         * Makefile (headers): Add stdc-predef.h.
9199         * CONFORMANCE (Compiler limitations): Update.
9201 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9203         * manual/libc.texinfo (VERSION, UPDATED): Revert.
9205 2012-02-21  David S. Miller  <davem@davemloft.net>
9207         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9208         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9210 2012-02-20  David S. Miller  <davem@davemloft.net>
9212         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9213         using a normal save/restore sequence, rather than allocating a
9214         dummy stack frame just to store a frame pointer and restore.
9215         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9217 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9219         * manual/install.texi: Fix stray word in line-wrapped comment.
9221 2012-02-20  David S. Miller  <davem@davemloft.net>
9223         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9224         both binutils and gcc support GOTDATA.
9226         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9227         "rd %pc" in the PIC register setup sequences.
9229         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9230         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9231         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9232         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9233         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9234         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9235         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9236         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9237         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9238         (SYSCALL_ERROR_HANDLER): Likewise.
9239         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9240         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9241         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9242         (SYSCALL_ERROR_HANDLER): Likewise.
9244         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9245         (HAVE_GCC_GOTDATA): New.
9246         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9247         relocation support in both binutils and gcc.
9248         * sysdeps/sparc/elf/configure: Regenerate.
9250         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9251         * sysdeps/sparc/sparc32/elf/configure: Delete.
9252         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9253         * sysdeps/sparc/sparc64/elf/configure: Delete.
9254         * sysdeps/sparc/elf/configure.in: New file.
9255         * sysdeps/sparc/elf/configure: Generate.
9257         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9258         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9259         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9260         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9261         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9263 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9265         * manual/install.texi: Do not mention specific glibc version
9266         numbers.
9267         * manual/libc.texinfo (VERSION, UPDATED): Update.
9268         (@copying): Use @copyright{} and range of years.
9270 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9272         [BZ #13695]
9273         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9274         [crti.S not in sysdirs] (generated): Do not append.
9275         [crti.S not in sysdirs] (omit-deps): Likewise.
9276         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9277         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9278         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9279         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9280         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9281         Likewise.
9282         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9283         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9284         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9285         * csu/defs.awk: Remove file.
9286         * sysdeps/generic/initfini.c: Likewise.
9287         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9288         variable.
9289         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9290         Likewise.
9292 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9294         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9295         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9296         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9297         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9298         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9299         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9300         <bits/epoll.h>.
9301         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9302         (__EPOLL_PACKED): Define to empty if not defined by
9303         <bits/epoll.h>.
9304         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9306         bits/epoll.h.
9308 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9310         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9311         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9312         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9313         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9314         <bits/timerfd.h>.
9315         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9317         bits/timerfd.h.
9319 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9321         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9322         in C locale.
9323         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9324         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9325         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9328 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
9330         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9331         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9333 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
9335         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9336         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9337         defined.
9338         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9339         Likewise.
9340         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9341         entry for 2.16.
9343 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
9345         * math/w_acos.c: Use non-signaling floating-point comparisons.
9346         * math/w_acosf.c: Likewise.
9347         * math/w_acosh.c: Likewise.
9348         * math/w_acoshf.c: Likewise.
9349         * math/w_acoshl.c: Likewise.
9350         * math/w_acosl.c: Likewise.
9351         * math/w_asin.c: Likewise.
9352         * math/w_asinf.c: Likewise.
9353         * math/w_asinl.c: Likewise.
9354         * math/w_atanh.c: Likewise.
9355         * math/w_atanhf.c: Likewise.
9356         * math/w_atanhl.c: Likewise.
9357         * math/w_exp2.c: Likewise.
9358         * math/w_exp2f.c: Likewise.
9359         * math/w_exp2l.c: Likewise.
9360         * math/w_j0.c: Likewise.
9361         * math/w_j0f.c: Likewise.
9362         * math/w_j0l.c: Likewise.
9363         * math/w_j1.c: Likewise.
9364         * math/w_j1f.c: Likewise.
9365         * math/w_j1l.c: Likewise.
9366         * math/w_jn.c: Likewise.
9367         * math/w_jnf.c: Likewise.
9368         * math/w_log.c: Likewise.
9369         * math/w_log10.c: Likewise.
9370         * math/w_log10f.c: Likewise.
9371         * math/w_log10l.c: Likewise.
9372         * math/w_log2.c: Likewise.
9373         * math/w_log2f.c: Likewise.
9374         * math/w_log2l.c: Likewise.
9375         * math/w_logf.c: Likewise.
9376         * math/w_logl.c: Likewise.
9377         * math/w_sqrt.c: Likewise.
9378         * math/w_sqrtf.c: Likewise.
9379         * math/w_sqrtl.c: Likewise.
9380         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9381         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9382         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9383         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9384         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9386 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
9388         [BZ #9739]
9389         * manual/string.texi (strnlen): Use correct parameter name in
9390         equivalent expression.
9392 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
9394         [BZ #11174]
9395         * manual/users.texi (seteuid): Consistently use neweuid for
9396         argument name.
9398 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
9400         [BZ #13704]
9401         * manual/nss.texi (Services in the NSS configuration): Correct
9402         list of services in example configuration file.
9404 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
9406         [BZ #11322]
9407         * manual/arith.texi: Remove statements about negative zero
9408         behaving identically to zero.
9410 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
9412         [BZ #5993]
9413         * manual/install.texi: Do not document upgrading from libc5.
9415 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
9417         [BZ #4596]
9418         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9420 2012-02-18  David S. Miller  <davem@davemloft.net>
9422         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9423         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9424         %o7 across the call.
9425         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9426         instead.
9427         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9428         SETUP_PIC_REG_LEAF.
9429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9430         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9431         * sysdeps/sparc/crtn.S: Likewise.
9433 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
9435         * aout/Makefile: Remove.
9437 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
9439         [BZ #13058]
9440         * manual/examples/argp-ex1.c (main): Format definition in GNU
9441         style.
9442         * manual/examples/argp-ex2.c (main): Likewise.
9443         * manual/examples/argp-ex3.c (main): Likewise.
9444         * manual/examples/argp-ex4.c (main): Likewise.
9445         * manual/examples/longopt.c (main): Use new-style prototype
9446         definition.
9447         * manual/examples/strncat.c (main): Specify return type and use
9448         (void) for arguments.
9449         * manual/examples/subopt.c (main): Use char **argv argument.
9451 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9453         [BZ #5077]
9454         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9455         rounding modes.
9457 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
9459         [BZ #6907]
9460         * manual/string.texi (strchr): Change when strchrnul is
9461         recommended.
9463 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
9465         [BZ #174]
9466         * manual/locale.texi (setlocale): Document LOCPATH.
9468 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9470         [BZ #10210]
9471         * manual/process.texi (execle): Move @dots{} before last argument.
9473 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
9475         [BZ #12047]
9476         * manual/charset.texi (Generic Charset Conversion): Fix typo
9477         (LC_TYPE -> LC_CTYPE).
9479 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
9481         [BZ #5805]
9482         * manual/arith.texi (scalbn): Use @var{} on parameter names.
9483         (scalbnf): Likewise.
9484         (scalbnl): Likewise.
9485         (scalbln): Likewise.
9486         (scalblnf): Likewise.
9487         (scalblnl): Likewise.
9488         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9489         (vwarnx): Likewise.
9490         (verr): Likewise.
9491         (verrx): Likewise.
9492         * manual/filesys.texi (telldir): Use braces around return type.
9493         * manual/llio.texi (mmap): Add space after comma.
9494         (mmap64): Likewise.
9495         * manual/math.texi (jn): Use @var{} on parameter names.
9496         (jnf): Likewise.
9497         (jnl): Likewise.
9498         (yn): Likewise.
9499         (ynf): Likewise.
9500         (ynl): Likewise.
9501         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9502         line.
9503         * manual/resource.texi (ulimit): Use @dots{} instead of literal
9504         "...".
9505         (sched_get_priority_min): Remove semicolon on @deftypefun line.
9506         (sched_get_priority_max): Likewise.
9507         * manual/signal.texi (sigvec): Add space after comma.
9508         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9509         names.
9510         (if_indextoname): Likewise.
9511         (if_freenameindex): Likewise.
9512         (sendto): Use ',' instead of '.' in prototype.
9513         * manual/startup.texi (syscall): Use @dots{} instead of literal
9514         "...".
9515         * manual/stdio.texi (__fpending): Separate initial words of
9516         paragraph from @deftypefun line.
9517         * manual/syslog.texi (syslog): Use @dots{} instead of literal
9518         "...".
9519         (vsyslog): Use @var{} on parameter names.
9520         * manual/terminal.texi (stty): Use @var{} on parameter names.
9521         * manual/users.texi (getutmp): Use @var{} on parameter names.
9522         (getutmpx): Likewise.
9524 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9526         [BZ #6884]
9527         * manual/stdio.texi (fopen): Fix typos in description of
9528         ",ccs=STRING".
9530 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
9532         [BZ #4026]
9533         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9534         get clock_id definition.
9536 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
9538         [BZ #4822]
9539         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9540         (madvise): Cast every argument to void on its own.
9542 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9544         [BZ #9902]
9545         * manual/startup.texi (Exit Status): Fix typo.
9547 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9549         [BZ #10140]
9550         * manual/examples/argp-ex1.c: Include <stdlib.h>.
9551         * manual/examples/argp-ex2.c: Likewise.
9552         * manual/examples/argp-ex3.c: Likewise.
9554 2012-02-16  Richard Henderson  <rth@redhat.com>
9556         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9557         * sysdeps/s390/s390-32/initfini.c: Remove.
9558         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9559         * sysdeps/s390/s390-64/initfini.c: Remove.
9561 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9563         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9564         compiler output for sysdeps/generic/initfini.c.
9565         * sysdeps/sh/elf/initfini.c: Remove file.
9567 2012-02-16  David S. Miller  <davem@davemloft.net>
9569         [BZ #11494]
9570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9572         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9573         * sysdeps/sparc/crti.S: New file.
9574         * sysdeps/sparc/crtn.S: New file.
9575         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9576         * sysdeps/sparc/sparc64/Makefile: Likewise.
9578 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
9580         [BZ #3335]
9581         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9583 2012-02-15  Roland McGrath  <roland@hack.frob.com>
9585         [BZ #4822]
9586         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9588         * mach/devstream.c (cookie_io_functions_t): Macro removed.
9589         (write, read, close): Likewise.
9590         Patch by Aurelien Jarno <aurelien@aurel32.net>.
9592 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
9594         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9595         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9596         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9597         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9598         <bits/signalfd.h>.
9599         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9601         bits/signalfd.h.
9603 2012-02-14  Marek Polacek  <polacek@redhat.com>
9605         * sysdeps/x86_64/crti.S: New file.
9606         * sysdeps/x86_64/crtn.S: New file.
9607         * sysdeps/x86_64/elf/initfini.c: Remove file.
9609 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
9611         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9612         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9613         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9614         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9615         <bits/inotify.h>.
9616         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9618         bits/inotify.h.
9620 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
9622         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9623         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9624         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9625         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9626         <bits/eventfd.h>.
9627         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9629         bits/eventfd.h.
9631 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
9633         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9634         __feraiseexcept instead of feraiseexcept.
9636         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9637         nanosleep invocations.
9638         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9639         strings, and add error checking for a nanosleep invocations.
9641 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
9643         Replace FSF snail mail address with URLs, as per GNU coding standards.
9644         Most of the snail mail addresses were wrong anyway, and omitting
9645         them makes the source code easier to maintain.  Almost all of the
9646         changes are to license notices and to locale LC_IDENTIFICATION
9647         addresses, except for this one:
9648         * manual/libc.texinfo: In "Published by", give the FSF's URL,
9649         not its snail mail address.
9651 2012-02-09  Richard Henderson  <rth@twiddle.net>
9653         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9654         of kernel-features.h.
9656         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9658 2012-02-08  Marek Polacek  <polacek@redhat.com>
9660         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9661         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9662         * sysdeps/gnu/_G_config.h: Likewise.
9663         * sysdeps/generic/_G_config.h: Likewise.
9665 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
9667         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9668         tests.
9669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9671         * sysdeps/powerpc/powerpc32/crti.S: New file.
9672         * sysdeps/powerpc/powerpc32/crtn.S: New file.
9673         * sysdeps/powerpc/powerpc64/crti.S: New file.
9674         * sysdeps/powerpc/powerpc64/crtn.S: New file.
9676         * Makeconfig (have-initfini): Don't set.
9677         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9678         * configure.in (nopic_initfini): Don't substitute.
9679         * config.h.in (HAVE_INITFINI): Don't #undef.
9680         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9681         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9683 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
9685         Support crti.S and crtn.S provided directly by architectures.
9686         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9687         [crti.S in sysdirs] (omit-deps): Likewise.
9688         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9689         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9690         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9691         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9692         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9693         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9694         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9695         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9696         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9697         compiler output for sysdeps/generic/initfini.c.
9698         * sysdeps/i386/elf/Makefile: Remove file.
9699         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9701 2012-02-07  Marek Polacek  <polacek@redhat.com>
9703         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9704         * sysdeps/gnu/_G_config.h: Likewise.
9705         * sysdeps/mach/hurd/_G_config.h: Likewise.
9707 2012-02-07  Marek Polacek  <polacek@redhat.com>
9709         * math/Makefile (tests): Add tst-CMPLX2.
9710         * math/tst-CMPLX2.c: New file.
9712 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
9714         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9716         * math/libm-test.inc (jn_test): Add missing L suffix.
9718 2012-02-06  Marek Polacek  <polacek@redhat.com>
9720         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9721         * sysdeps/i386/fpu/e_powf.S: Likewise.
9722         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9723         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9724         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9725         * sysdeps/i386/fpu/e_pow.S: Likewise.
9726         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9727         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9728         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9729         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9730         * sysdeps/i386/fpu/e_log2.S: Likewise.
9731         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9732         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9733         * sysdeps/i386/fpu/e_powl.S: Likewise.
9734         * sysdeps/i386/fpu/s_log1p.S: Likewise.
9735         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9736         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9737         * sysdeps/i386/fpu/e_logl.S: Likewise.
9738         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9739         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9740         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9741         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9742         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9743         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9744         * sysdeps/i386/fpu/e_log.S: Likewise.
9745         * sysdeps/i386/fpu/s_cexp.S: Likewise.
9746         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9747         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9748         * sysdeps/i386/fpu/e_logf.S: Likewise.
9749         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9750         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9751         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9752         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9753         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9754         * sysdeps/i386/fpu/e_log10.S: Likewise.
9755         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9756         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9757         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9758         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9759         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9760         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9761         * sysdeps/i386/asm-syntax.h: Likewise.
9762         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9763         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9764         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9765         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9766         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9767         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9768         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9769         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9770         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9771         * sysdeps/powerpc/sysdep.h: Likewise.
9772         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9773         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9775 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
9777         [BZ #411]
9778         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9780 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
9782         * sysdeps/i386/sysdep.h: Include <features.h>.
9783         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9784         version.
9786 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
9788         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9789         Define.
9790         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9791         LOAD_PIC_REG_STR.
9793 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9795         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9796         (SETUP_PIC_REG): Use GET_PC_THUNK.
9797         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9798         macro.
9800 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9802         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9803         for non-PIC compilation.
9804         (SETUP_PIC_REG): Add .p2align directive.
9805         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9806         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9807         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9808         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9809         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9810         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9811         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9812         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9813         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9814         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9815         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9816         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9817         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9818         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9819         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9820         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9821         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9822         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9823         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9824         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9825         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9826         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9827         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9828         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9829         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9830         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9831         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9832         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9833         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9834         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9835         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9836         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9837         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9838         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9839         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9840         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9841         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9842         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9843         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9844         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9845         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9847 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9849         * math/tst-CMPLX.c: Include <stdio.h>.
9851 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
9853         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9854         float.
9855         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9856         * sysdeps/sparc/bits/mathdef.h: Likewise.
9858 2012-01-31  Marek Polacek  <polacek@redhat.com>
9860         * libio/libio.h: Don't define _PARAMS.
9861         * locale/programs/config.h: Don't define PARAMS.
9862         * stdlib/strtol_l.c: Likewise.
9863         (__strtol_l): Remove PARAMS from the prototype.
9865 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
9867         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
9868         names.  Just use the correct names.  Remove unnecessary wrapper
9869         functions.
9870         * malloc/arena.c: Likewise.
9871         * malloc/hooks.c: Likewise.
9873         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9874         ARENA_TEST says not to.  Simplify test for creation of a new arena.
9875         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9877 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
9879         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9880         into tail calls.
9881         (update_get_addr): New function.
9882         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9883         GET_ADDR_MODULE parameter.
9885 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
9887         * crypt/cert.c: Remove __STDC__ conditionals.
9888         * crypt/crypt-entry.c: Likewise.
9889         * crypt/crypt_util.c: Likewise.
9890         * libio/filedoalloc.c: Likewise.
9891         * libio/fileops.c: Likewise.
9892         * libio/genops.c: Likewise.
9893         * libio/iofclose.c: Likewise.
9894         * libio/iofdopen.c: Likewise.
9895         * libio/iofopen.c: Likewise.
9896         * libio/iofopen64.c: Likewise.
9897         * libio/iogetdelim.c: Likewise.
9898         * libio/iopopen.c: Likewise.
9899         * libio/obprintf.c: Likewise.
9900         * libio/oldfileops.c: Likewise.
9901         * libio/oldiofclose.c: Likewise.
9902         * libio/oldiofdopen.c: Likewise.
9903         * libio/oldiofopen.c: Likewise.
9904         * libio/oldiopopen.c: Likewise.
9905         * libio/wfiledoalloc.c: Likewise.
9906         * libio/wgenops.c: Likewise.
9907         * locale/programs/xmalloc.c: Likewise.
9908         * misc/syslog.c: Likewise.
9909         * stdio-common/xbug.c: Likewise.
9910         * string/memchr.c: Likewise.
9911         * string/memcmp.c: Likewise.
9912         * string/memrchr.c: Likewise.
9913         * string/rawmemchr.c: Likewise.
9914         * sysdeps/posix/getcwd.c: Likewise.
9915         * time/strftime_l.c: Likewise.
9917 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
9919         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9920         * config.make.in (config-cflags-sse2avx): Define.
9921         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9922         Fix typo.
9924 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
9926         * scripts/config.guess: Update from upstream config git repository.
9927         * scripts/config.sub: Likewise.
9929 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
9931         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9932         (EM_NUM): Update.
9933         (R_TILEPRO_*, R_TILEGX_*): New macros.
9935         * scripts/firstversions.awk: Fix bug in version range handling.
9937         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9939         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9941         * include/sys/epoll.h: New file.
9942         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9943         libc_hidden_def.
9945 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
9947         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9948         Avoid unnecessary __WORDSIZE == 64 test.
9949         (fmaxf): Use VEX format if possible.
9950         (fmax): Likewise.
9951         (fminf): Likewise.
9952         (fmin): Likewise.
9954         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9955         * math/math_private.h: Remove libc_fegetround* and
9956         libc_fesetround*.
9957         * sysdeps/i386/configure.in: Check for -msse2avx.
9958         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9959         also if SSE2AVX is defined.
9960         Remove libc_fegetround* and libc_fesetround*.
9961         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9962         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
9963         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9964         of HAS_YMM_USABLE.
9965         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9966         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9967         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9968         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9969         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9971         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9973 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9975         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9976         size is not set.
9977         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9979 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
9981         [BZ #13618]
9982         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9983         relocation.
9984         * Makeconfig (libm): Define.
9985         * elf/Makefile: Add rules to build and run tst-relsort1.
9986         * elf/tst-relsort1.c: New file.
9987         * elf/tst-relsort1mod1.c: New file.
9988         * elf/tst-relsort1mod2.c: New file.
9990 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
9992         * math/s_ldexp.c: Remove __STDC__ conditionals.
9993         * math/s_ldexpf.c: Likewise.
9994         * math/s_ldexpl.c: Likewise.
9995         * math/s_nextafter.c: Likewise.
9996         * math/s_nexttowardf.c: Likewise.
9997         * math/s_significand.c: Likewise.
9998         * math/s_significandf.c: Likewise.
9999         * math/s_significandl.c: Likewise.
10000         * math/w_jnl.c: Likewise.
10001         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10002         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10003         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10004         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10005         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10006         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10007         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10008         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10009         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10010         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10011         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10012         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10013         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10014         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10015         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10016         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10017         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10018         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10019         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10020         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10021         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10022         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10023         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10024         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10025         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10026         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10027         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10028         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10029         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10030         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10031         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10032         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10033         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10034         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10035         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10036         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10037         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10038         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10039         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10040         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10041         * sysdeps/ieee754/k_standard.c: Likewise.
10042         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10043         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10044         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10045         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10046         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10047         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10048         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10049         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10050         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10051         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10052         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10053         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10054         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10055         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10056         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10057         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10058         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10059         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10060         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10061         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10062         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10063         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10064         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10065         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10066         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10067         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10068         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10069         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10071         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10072         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10073         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10074         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10075         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10076         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10077         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10078         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10079         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10080         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10081         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10082         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10083         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10084         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10085         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10086         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10087         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10088         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10089         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10090         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10091         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10092         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10093         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10094         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10095         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10096         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10097         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10098         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10099         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10100         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10101         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10102         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10103         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10104         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10105         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10106         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10107         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10108         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10109         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10110         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10111         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10112         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10113         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10114         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10115         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10116         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10117         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10118         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10119         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10120         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10121         * sysdeps/ieee754/s_matherr.c: Likewise.
10122         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10123         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10124         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10125         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10127 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
10129         * crypt/md5.h: Remove __STDC__ conditionals.
10130         * libio/libioP.h: Likewise.
10131         * locale/programs/config.h: Likewise.
10132         * sysdeps/generic/sysdep.h: Likewise.
10133         * sysdeps/i386/asm-syntax.h: Likewise.
10134         * sysdeps/s390/asm-syntax.h: Likewise.
10135         * sysdeps/unix/sysdep.h: Likewise.
10136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10139 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
10141         * libio/libio.h: Remove __STDC__ conditionals.
10142         * malloc/obstack.h: Likewise.
10143         * math/complex.h: Likewise.
10144         * math/math.h: Likewise.
10145         * sysdeps/generic/_G_config.h: Likewise.
10146         * sysdeps/gnu/_G_config.h: Likewise.
10147         * sysdeps/mach/hurd/_G_config.h: Likewise.
10148         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10149         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10150         * sysdeps/sparc/bits/mathdef.h: Likewise.
10152 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
10154         [BZ #13583]
10155         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10156         Clean up HAS_* macros.
10157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10158         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10159         possible.
10160         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10161         HAS_AVX.
10162         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10163         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10164         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10165         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10166         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10168 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
10170         * elf/tst-unique3.cc (gets): Remove declaration.
10171         * elf/tst-unique3lib.cc (gets): Likewise.
10172         * elf/tst-unique3lib2.cc (gets): Likewise.
10173         * elf/tst-unique4.cc (gets): Likewise.
10175 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
10177         * include/stdio.h: Add C++ protection.  Add gets declarations and
10178         definitions.
10179         * debug/tst-chk1.c: Don't declare gets here.
10180         * stdio-common/tst-gets.c: Likewise.
10182 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
10184         * posix/glob: Remove directory.
10186 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
10188         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10190 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
10192         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10193         of the non-standard EPFNOSUPPORT.
10195 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10197         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10198         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10199         ANYWHERE set to 1 only on KERN_NO_SPACE error.
10201 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
10203         * wcsmbs/uchar.h: Test __STDC_VERSION__.
10205 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
10207         * nscd/aicache.c (addhstaiX): Do not cache negative results of
10208         transient errors.
10209         * nscd/grpcache.c (cache_addgr): Likewise.
10210         * nscd/hstcache.c (cache_addhst): Likewise.
10211         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10212         * nscd/pwdcache.c (cache_addpw): Likewise.
10213         * nscd/servicescache.c (cache_addserv): Likewise.
10215 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
10217         * malloc/malloc.c: Various cleanups.
10218         * malloc/hooks.c: Likewise.
10220         * stdlib/Makefile (tests): Add bug-fmtmsg1.
10221         * stdlib/bug-fmtmsg1.c: New file.
10223         * stdlib/fmtmsg.c (init): Add missing unlock.
10224         Patch by Peng Haitao <penght@cn.fujitsu.com>.
10226 2012-01-12  Marek Polacek  <polacek@redhat.com>
10228         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10229         and _GNU_SOURCE.
10231 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
10233         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10234         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10235         macro to ensure uniqueness of label name.
10236         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10237         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10239 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
10241         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10243         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10244         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10245         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10246         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10248 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
10250         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10252         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10253         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10254         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10256         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10258         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10259         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10260         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10261         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10263         * math/bits/math-finite.h: Add ldexp support.
10265 2012-01-10  Marek Polacek  <polacek@redhat.com>
10267         * locale/programs/localedef.h (show_archive_content): Add noreturn
10268         attribute.
10270 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
10272         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10274 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10276         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10278         * io/Makefile (headers): Add bits/poll2.h.
10280 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
10282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10283         typo #include statement.
10285 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10287         * include/sys/cdefs.h: Define __attribute_alloc_size.
10288         * catgets/gencat.c: Add alloc_size attribute and apply consistently
10289         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10290         * elf/pldd.c: Likewise.
10291         * iconv/iconv_charmap.c: Likewise.
10292         * iconv/iconvconfig.c: Likewise.
10293         * iconv/strtab.c: Likewise.
10294         * locale/programs/locale.c: Likewise.
10295         * locale/programs/localedef.h: Likewise.
10296         * locale/programs/simple-hash.c: Likewise.
10297         * nscd/nscd.h: Likewise.
10298         * nss/makedb.c: Likewise.
10299         * sysdeps/generic/ldconfig.h: Likewise.
10300         * locale/programs/localedef.c: Remove xmalloc prototype.
10301         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10303 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10305         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10306         appropriate.
10308 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10310         * math/Makefile (tests): Add tst-CMPLX.
10311         * math/tst-CMPLX.c: New file.
10313         * math/complex.h (CMPLXL): Fix typo.
10315         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10316         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10317         GLIBC_2.16.
10318         * debug/tst-chk1.c: Add poll and ppoll tests.
10319         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10320         * include/sys/poll.h: Add hidden proto for ppoll.
10321         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10322         * sysdeps/mach/hurd/ppoll.c: Likewise.
10323         * io/ppoll.c: Likewise.
10324         * debug/poll_chk.c: New file.
10325         * debug/ppoll_chk.c: New file.
10326         * include/bits/poll2.h: New file.
10327         * io/bits/poll2.h: New file.
10329         [BZ #1350]
10330         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10332         * configure.in: static is always set to yes.  Remove.
10333         * config.make.in: Don't set build-static.
10334         * Makeconfig: Remove use of build-static.
10335         * dlfcn/Makefile: Likewise.
10336         * elf/Makefile: Likewise.
10337         * math/Makefile: Likewise.
10338         * misc/Makefile: Likewise.
10339         * nptl/Makefile: Likewise.
10340         * sysdeps/mach/hurd/Makefile: Likewise.
10342         * configure.in: PWD_P is not used anymore.
10343         * config.make.in: Remove PWD_P entry.
10345         * configure.in: Remove last remnants of RANLIB.
10346         No need to check for signed size_t anymore.
10347         Don't set libc_commonpagesize and libc_relro_required here for Alpha
10348         and IA-64.
10349         Remove __builtin_expect test because we require at least gcc 3.4.
10350         * aclocal.m4: Likewise.
10352         * wcsmbs/mbrtoc16.c: Implement using towc function.
10353         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10354         * wcsmbs/wcsmbsload.c: Likewise.
10355         * iconv/gconv_simple.c: Likewise.
10356         * iconv/gconv_int.h: Likewise.
10357         * iconv/gconv_builtin.h: Likewise.
10358         * iconv/iconv_prog.c: Remove CHAR16 handling.
10360         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10362         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10364         * configure.in: Remove --with-elf and --enable-bounded options.
10365         Dont set base_machine for ia64.  More non-ELF conditions removed.
10366         Remove testing and setting of leading underscore information.
10367         * config.make.in (build-bounded): Set to no.
10368         * config.h.in: Remove NO_UNDERSCORES entry.
10369         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
10370         them.
10371         * csu/start.c: Remove !NO_UNDERSCORE code.
10372         * locale/localeinfo.h: Likewise.
10373         * sysdeps/generic/machine-gmon.h: Likewise.
10374         * sysdeps/generic/sysdep.h: Likewise.
10375         * sysdeps/i386/sysdep.h: Likewise.
10376         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10377         * sysdeps/mach/sysdep.h: Likewise.
10378         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10379         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10380         * sysdeps/sh/sysdep.h: Likewise.
10381         * sysdeps/sparc/sparc32/alloca.S: Likewise.
10382         * sysdeps/unix/i386/sysdep.S: Likewise.
10383         * sysdeps/unix/sparc/start.c: Likewise.
10384         * sysdeps/unix/sparc/sysdep.S: Likewise.
10385         * sysdeps/unix/sparc/sysdep.h: Likewise.
10386         * sysdeps/unix/start.c: Likewise.
10387         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10388         * sysdeps/x86_64/sysdep.h: Likewise.
10390 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
10392         [BZ #13553]
10393         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10394         for non-gcc.
10395         * argp/argp-fmtstream.h: Use const instead __const.
10396         * argp/argp.h: Likewise.
10397         * assert/assert.h: Likewise.
10398         * bits/fenv.h: Likewise.
10399         * bits/sched.h: Likewise.
10400         * bits/sigset.h: Likewise.
10401         * bits/sigthread.h: Likewise.
10402         * catgets/nl_types.h: Likewise.
10403         * conform/data/pthread.h-data: Likewise.
10404         * crypt/crypt-private.h: Likewise.
10405         * crypt/crypt.h: Likewise.
10406         * crypt/crypt_util.c: Likewise.
10407         * ctype/ctype.h: Likewise.
10408         * debug/execinfo.h: Likewise.
10409         * debug/mbsnrtowcs_chk.c: Likewise.
10410         * debug/mbsrtowcs_chk.c: Likewise.
10411         * debug/wcsnrtombs_chk.c: Likewise.
10412         * debug/wcsrtombs_chk.c: Likewise.
10413         * debug/wcstombs_chk.c: Likewise.
10414         * dirent/dirent.h: Likewise.
10415         * dlfcn/dlfcn.h: Likewise.
10416         * elf/neededtest4.c: Likewise.
10417         * grp/grp.h: Likewise.
10418         * gshadow/gshadow.h: Likewise.
10419         * iconv/gconv.h: Likewise.
10420         * iconv/gconv_int.h: Likewise.
10421         * iconv/gconv_simple.c: Likewise.
10422         * iconv/iconv.h: Likewise.
10423         * iconv/loop.c: Likewise.
10424         * iconv/skeleton.c: Likewise.
10425         * include/aio.h: Likewise.
10426         * include/aliases.h: Likewise.
10427         * include/argz.h: Likewise.
10428         * include/arpa/inet.h: Likewise.
10429         * include/assert.h: Likewise.
10430         * include/dirent.h: Likewise.
10431         * include/dlfcn.h: Likewise.
10432         * include/execinfo.h: Likewise.
10433         * include/fcntl.h: Likewise.
10434         * include/fenv.h: Likewise.
10435         * include/glob.h: Likewise.
10436         * include/grp.h: Likewise.
10437         * include/libintl.h: Likewise.
10438         * include/mntent.h: Likewise.
10439         * include/netdb.h: Likewise.
10440         * include/pwd.h: Likewise.
10441         * include/rpc/netdb.h: Likewise.
10442         * include/sched.h: Likewise.
10443         * include/search.h: Likewise.
10444         * include/shadow.h: Likewise.
10445         * include/signal.h: Likewise.
10446         * include/stdio.h: Likewise.
10447         * include/stdlib.h: Likewise.
10448         * include/string.h: Likewise.
10449         * include/sys/socket.h: Likewise.
10450         * include/sys/stat.h: Likewise.
10451         * include/sys/statfs.h: Likewise.
10452         * include/sys/statvfs.h: Likewise.
10453         * include/sys/syslog.h: Likewise.
10454         * include/sys/time.h: Likewise.
10455         * include/sys/uio.h: Likewise.
10456         * include/time.h: Likewise.
10457         * include/unistd.h: Likewise.
10458         * include/utmp.h: Likewise.
10459         * include/wchar.h: Likewise.
10460         * include/wctype.h: Likewise.
10461         * inet/aliases.h: Likewise.
10462         * inet/arpa/inet.h: Likewise.
10463         * inet/netinet/ether.h: Likewise.
10464         * inet/netinet/in.h: Likewise.
10465         * intl/libintl.h: Likewise.
10466         * io/bits/fcntl2.h: Likewise.
10467         * io/fcntl.h: Likewise.
10468         * io/ftw.h: Likewise.
10469         * io/sys/poll.h: Likewise.
10470         * io/sys/stat.h: Likewise.
10471         * io/sys/statfs.h: Likewise.
10472         * io/sys/statvfs.h: Likewise.
10473         * io/utime.h: Likewise.
10474         * libio/bits/stdio.h: Likewise.
10475         * libio/bits/stdio2.h: Likewise.
10476         * libio/libio.h: Likewise.
10477         * libio/libioP.h: Likewise.
10478         * libio/stdio.h: Likewise.
10479         * locale/lc-ctype.c: Likewise.
10480         * locale/locale.h: Likewise.
10481         * login/utmp.h: Likewise.
10482         * malloc/arena.c: Likewise.
10483         * malloc/malloc.c: Likewise.
10484         * malloc/malloc.h: Likewise.
10485         * malloc/mcheck.c: Likewise.
10486         * malloc/mtrace.c: Likewise.
10487         * math/bits/mathcalls.h: Likewise.
10488         * math/fenv.h: Likewise.
10489         * math/math_private.h: Likewise.
10490         * misc/bits/error.h: Likewise.
10491         * misc/bits/syslog.h: Likewise.
10492         * misc/err.h: Likewise.
10493         * misc/error.h: Likewise.
10494         * misc/fstab.h: Likewise.
10495         * misc/mntent.h: Likewise.
10496         * misc/regexp.h: Likewise.
10497         * misc/search.h: Likewise.
10498         * misc/sgtty.h: Likewise.
10499         * misc/sys/mman.h: Likewise.
10500         * misc/sys/syslog.h: Likewise.
10501         * misc/sys/uio.h: Likewise.
10502         * misc/sys/xattr.h: Likewise.
10503         * misc/ttyent.h: Likewise.
10504         * nis/rpcsvc/ypclnt.h: Likewise.
10505         * nss/nss.h: Likewise.
10506         * posix/bits/unistd.h: Likewise.
10507         * posix/fnmatch.h: Likewise.
10508         * posix/glob.h: Likewise.
10509         * posix/sched.h: Likewise.
10510         * posix/spawn.h: Likewise.
10511         * posix/sys/wait.h: Likewise.
10512         * posix/unistd.h: Likewise.
10513         * posix/wordexp.h: Likewise.
10514         * pwd/pwd.h: Likewise.
10515         * resolv/netdb.h: Likewise.
10516         * resource/sys/resource.h: Likewise.
10517         * rt/aio.h: Likewise.
10518         * rt/bits/mqueue2.h: Likewise.
10519         * rt/mqueue.h: Likewise.
10520         * shadow/shadow.h: Likewise.
10521         * signal/signal.h: Likewise.
10522         * socket/send.c: Likewise.
10523         * socket/sendto.c: Likewise.
10524         * socket/sys/socket.h: Likewise.
10525         * stdio-common/printf.h: Likewise.
10526         * stdlib/bits/stdlib.h: Likewise.
10527         * stdlib/fmtmsg.h: Likewise.
10528         * stdlib/monetary.h: Likewise.
10529         * stdlib/stdlib.h: Likewise.
10530         * stdlib/ucontext.h: Likewise.
10531         * streams/stropts.h: Likewise.
10532         * string/argz.h: Likewise.
10533         * string/bits/string2.h: Likewise.
10534         * string/string.h: Likewise.
10535         * string/strings.h: Likewise.
10536         * sunrpc/rpc/auth.h: Likewise.
10537         * sunrpc/rpc/auth_des.h: Likewise.
10538         * sunrpc/rpc/clnt.h: Likewise.
10539         * sunrpc/rpc/netdb.h: Likewise.
10540         * sunrpc/rpc/pmap_clnt.h: Likewise.
10541         * sunrpc/rpc/xdr.h: Likewise.
10542         * sysdeps/generic/inttypes.h: Likewise.
10543         * sysdeps/generic/net/if.h: Likewise.
10544         * sysdeps/generic/sys/swap.h: Likewise.
10545         * sysdeps/gnu/net/if.h: Likewise.
10546         * sysdeps/gnu/utmpx.h: Likewise.
10547         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10548         * sysdeps/i386/i486/bits/string.h: Likewise.
10549         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10550         * sysdeps/s390/bits/string.h: Likewise.
10551         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10552         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10553         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10554         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10555         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10556         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10557         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10558         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10559         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10560         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10561         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10562         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10563         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10564         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10565         * sysdeps/unix/sysv/linux/readv.c: Likewise.
10566         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10567         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10568         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10569         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10570         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10571         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10572         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10573         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10574         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10575         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10576         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10577         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10578         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10579         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10580         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10581         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10582         * sysvipc/sys/ipc.h: Likewise.
10583         * sysvipc/sys/msg.h: Likewise.
10584         * sysvipc/sys/sem.h: Likewise.
10585         * sysvipc/sys/shm.h: Likewise.
10586         * termios/termios.h: Likewise.
10587         * time/sys/time.h: Likewise.
10588         * time/time.h: Likewise.
10589         * wcsmbs/bits/wchar2.h: Likewise.
10590         * wcsmbs/uchar.h: Likewise.
10591         * wcsmbs/wchar.h: Likewise.
10592         * wctype/wctype.h: Likewise.
10594         [BZ #13551]
10595         * Makeconfig: Remove all but ELF support including AIX support.
10596         * Makerules: Likewise.
10597         * config.h.in: Likewise.
10598         * config.make.in: Likewise.
10599         * configure: Likewise.
10600         * configure.in: Likewise.
10601         * csu/Makefile: Likewise.
10602         * csu/version.c: Likewise.
10603         * debug/Makefile: Likewise.
10604         * dlfcn/Makefile: Likewise.
10605         * elf/Makefile: Likewise.
10606         * extra-lib.mk: Likewise.
10607         * iconv/Makefile: Likewise.
10608         * include/libc-symbols.h: Likewise.
10609         * include/shlib-compat.h: Likewise.
10610         * resolv/Makefile: Likewise.
10611         * resolv/res_libc.c: Likewise.
10612         * rt/Makefile: Likewise.
10613         * sysdeps/i386/asm-syntax.h: Likewise.
10614         * sysdeps/i386/sysdep.h: Likewise.
10615         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10616         * sysdeps/mach/sysdep.h: Likewise.
10617         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10618         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10619         * sysdeps/s390/asm-syntax.h: Likewise.
10620         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10621         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10622         * sysdeps/sh/sysdep.h: Likewise.
10623         * sysdeps/unix/sparc/sysdep.h: Likewise.
10624         * sysdeps/wordsize-32/divdi3.c: Likewise.
10625         * sysdeps/x86_64/sysdep.h: Likewise.
10627         * argp/Versions: Remove _argp_unlock_xxx.
10629         [BZ #13559]
10630         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
10631         * abilist/libBrokenLocale.abilist: Likewise.
10632         * abilist/libanl.abilist: Likewise.
10633         * abilist/libc.abilist: Likewise.
10634         * abilist/libcrypt.abilist: Likewise.
10635         * abilist/libdl.abilist: Likewise.
10636         * abilist/libm.abilist: Likewise.
10637         * abilist/libnsl.abilist: Likewise.
10638         * abilist/libpthread.abilist: Likewise.
10639         * abilist/libresolv.abilist: Likewise.
10640         * abilist/librt.abilist: Likewise.
10641         * abilist/libthread_db.abilist: Likewise.
10642         * abilist/libutil.abilist: Likewise.
10643         * abilist/libnss_db.abilist: New file.
10645         * scripts/abilist.awk: Add support for indirect functions.
10647         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10649         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10651         * shlib-versions: Remove entries for ports architectures.
10653         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
10654         files in ports.
10655         * elf/stackguard-macros.h: Remove support for IA-64.
10656         * elf/tst-auditmod1.c: Likewise.
10657         * sysdeps/generic/ldsodefs.h: Likewise.
10659         * sysdeps/unix/sysv/linux/configure.in: Ports should define
10660         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10661         configure files.
10663         [BZ #13552]
10664         * configure.in: Remove --enable-omitfp support.
10665         * FAQ.in: Adjust.
10666         * config.make.in: Likewise.
10667         * Makeconfig: Likewise.
10668         * manual/install.texi: Likewise.
10670         In case anyone cares, the IA-64 architecture could move to ports.
10671         * sysdeps/ia64/*: Removed.
10672         * sysdeps/unix/sysv/linux/ia64/*: Removed.
10673         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10675         [BZ #13555]
10676         * configure.in: Remove entries for unsupported architectures.
10678         [BZ #13533]
10679         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10680         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
10681         routines.
10682         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10683         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10684         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
10685         fall back to using wcrtomb.
10686         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10687         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
10688         renaming.
10689         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10690         * wcsmbs/tst-c16c32-1.c: New file.
10692         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10693         local variable.
10695         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10697         * elf/tst-unique3.cc: Add explicit declaration of gets.
10698         * elf/tst-unique3lib.cc: Likewise.
10699         * elf/tst-unique3lib2.cc: Likewise.
10700         * elf/tst-unique4.cc: Likewise.
10702         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10704 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
10706         [BZ #13566]
10707         * assert/assert.h (static_assert): Don't define for C++.
10708         * libio/stdio.h (gets): Do declare for C++ <= C++11.
10709         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10711 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
10713         * iconv/loop.c (single loop): Fix assertion in storing of
10714         remaining bytes.
10716         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10718 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
10720         * posix/getconf.c: Update copyright year.
10721         * nss/getent.c: Likewise.
10722         * nss/makedb.c: Likewise.
10723         * iconv/iconvconfig.c: Likewise.
10724         * iconv/iconv_prog.c: Likewise.
10725         * elf/ldconfig.c: Likewise.
10726         * elf/pldd.c: Likewise.
10727         * elf/sotruss.ksh: Likewise.
10728         * catgets/gencat.c: Likewise.
10729         * csu/version.c: Likewise.
10730         * elf/ldd.bash.in: Likewise.
10731         * elf/sprof.c (print_version): Likewise.
10732         * locale/programs/locale.c: Likewise.
10733         * locale/programs/localedef.c: Likewise.
10734         * login/programs/pt_chown.c: Likewise.
10735         * nscd/nscd.c (print_version): Likewise.
10736         * debug/xtrace.sh: Likewise.
10737         * malloc/memusage.sh: Likewise.
10738         * malloc/mtrace.pl: Likewise.
10739         * debug/catchsegv.sh: Likewise.
10741 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
10743         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10744         pure attribute.
10746 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
10748         [BZ #13533]
10749         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10750         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10751         transformations.
10752         * iconv/gconv_int.h: Likewise.
10753         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10754         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10755         from libc for GLIBC_2.16.
10756         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10757         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10758         * wcsmbs/uchar.h: Really define mbstate_t.
10759         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10760         * wcsmbs/c16rtomb.c: New file.
10761         * wcsmbs/mbrtoc16.c: New file.
10762         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10763         for C/POSIX locale.
10764         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10765         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10767         * wcsmbs/wchar.h: Add missing __restrict.
10769 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
10771         [BZ #13532]
10772         * time/Makefile (routines): Add timespec_get.
10773         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10774         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
10775         timespec for ISO C11.
10776         * time/timespec_get.c: New file.
10777         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10778         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10780         [BZ #13531]
10781         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10782         * stdlib/stdlib.h: Declare aligned_alloc.
10783         * Versions.def: Add GLIBC_2.16 for libc.
10784         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10786         [BZ 13527]
10787         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10788         ISO C11.
10790         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10791         code.
10793         [BZ #13528]
10794         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10796         [BZ #13529]
10797         * assert/assert.h (static_assert): Define.
10799         * version.h: Update for 2.16 development version.
10801         [BZ #13526]
10802         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10803         _ISOC11_SOURCE.
10805         * version.h (RELEASE): Bump for 2.15 release.
10806         * include/features.h (__GLIBC_MINOR__): Bump to 15.
10808         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10809         Patch by Marek Polacek <mpolacek@redhat.com>.
10811         * bits/byteswap.h: Protect long long constants with __extension__.
10812         * sysdeps/i386/bits/byteswap.h: Likewise.
10813         * sysdeps/ia64/bits/byteswap.h: Likewise.
10814         * sysdeps/s390/bits/byteswap.h: Likewise.
10815         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10817 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10819         [BZ #13540]
10820         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10821         destination buffer.
10822         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10824 2011-12-23  Marek Polacek  <polacek@redhat.com>
10826         * elf/dl-addr.c (determine_info): Add inline keyword.
10827         * elf/tst-auditmod4b.c (check_avx): Likewise.
10828         * elf/tst-auditmod6b.c (check_avx): Likewise.
10829         * elf/tst-auditmod6c.c (check_avx): Likewise.
10830         * elf/tst-auditmod7b.c (check_avx): Likewise.
10832 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
10834         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10835         !__SSE_MATH__.
10837 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10839         [BZ #13540]
10840         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10841         processing for last bytes.
10843 2011-08-06  Bruno Haible  <bruno@clisp.org>
10845         [BZ #13061]
10846         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10847         U+0385, not to U+1FEE.
10849         [BZ #13062]
10850         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10851         entry for U+00A5 U+0301.
10853 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
10855         [BZ #13166]
10856         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10857         buffer for the output is too small.
10859         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10860         optimization.
10862         [BZ #13185]
10863         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10864         SSE flags if possible.
10866 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10868         [BZ #13540]
10869         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10870         processing for last bytes.
10872 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
10874         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10875         (syscall-list-default-options, syscall-list-default-condition)
10876         (syscall-list-includes): Define.
10877         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10878         list of ABIs and options and #if conditions for each ABI.  Do not
10879         handle common syscalls between ABIs specially.
10880         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10881         Remove.
10882         (syscall-list-variants, syscall-list-32bit-options)
10883         (syscall-list-32bit-condition, syscall-list-64bit-options)
10884         (syscall-list-64bit-condition): Define.
10885         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10886         (syscall-list-variants, syscall-list-32bit-options)
10887         (syscall-list-32bit-condition, syscall-list-64bit-options)
10888         (syscall-list-64bit-condition): Define.
10889         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10890         Remove.
10891         (syscall-list-variants, syscall-list-32bit-options)
10892         (syscall-list-32bit-condition, syscall-list-64bit-options)
10893         (syscall-list-64bit-condition): Define.
10894         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10895         Remove.
10896         (syscall-list-variants, syscall-list-32bit-options)
10897         (syscall-list-32bit-condition, syscall-list-64bit-options)
10898         (syscall-list-64bit-condition): Define.
10900 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
10902         * locale/iso-639.def: Add brx entry.
10904         [BZ #13328]
10905         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10906         Proposed by Mariusz_Cukr <marcukr@op.pl>.
10908         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10909         __feraiseexcept_renamed.
10911 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
10913         [BZ #13538]
10914         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10915         EPOLLET with unsigned values.
10916         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10917         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10919         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10920         to large cancellation.
10921         * math/s_cacoshf.c: Likewise.
10922         * math/s_cacoshl.c: Likewise.
10924 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
10926         [BZ #13305]
10927         [BZ #12786]
10928         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10929         * math/s_cacoshf.c: Likewise.
10930         * math/s_cacoshl.c: Likewise.
10932 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
10934         [BZ #13439]
10935         * iconv/gconv.h: Define __GCONV_SWAP.
10936         * iconvdata/unicode.c: The swap bit must be stored in __flags.
10937         * iconvdata/utf-16.c: Likewise.
10938         * iconvdata/utf-32.c: Likewise.
10940 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10942         [BZ #13524]
10943         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10944         numerator after shifting it by one limb.
10946 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
10948         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10949         under [__USE_EXTERN_INLINES].
10951 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
10953         [BZ #13446]
10954         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10956 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10958         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10959         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10960         optimized code.
10961         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10962         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10963         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10964         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10965         for strncasecmp/strncasecmp_l compilation.
10966         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10967         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10969 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
10971         [BZ #13484]
10972         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10973         of __asm__.
10975 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
10977         [BZ #13506]
10978         * time/tzfile.c (__tzfile_read): Check values from file header.
10980 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
10982         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10983         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10984         * powerpc/powerpc32/dl-start.S: Likewise.
10985         * powerpc/powerpc32/elf/start.S: Likewise.
10986         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10987         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10988         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10989         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10990         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10991         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10992         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10993         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10994         * powerpc/powerpc32/fpu/s_round.S: Likewise.
10995         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10996         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10997         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10998         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10999         * powerpc/powerpc32/memset.S: Likewise.
11000         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11001         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11002         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11003         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11004         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11005         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11006         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11007         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11008         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11009         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11010         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11011         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11012         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11014 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11016         * math/libm-test.inc: Added more nearbyint tests.
11017         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11018         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11019         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11020         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11022 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
11024         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11025         FD_CLOEXEC.
11027 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11029         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11030         Add wcscpy-ssse3 wcscpy-c.
11031         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11032         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11033         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11034         * sysdeps/x86_64/wcschr.S: New file.
11035         * sysdeps/x86_64/wcsrchr.S: New file.
11036         * string/test-strcmp.c: Remove checking of wcscmp function for
11037         wrong alignments.
11038         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11039         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11040         wcsrchr-sse2 wcsrchr-c.
11041         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11042         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11043         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11044         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11045         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11046         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11047         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11048         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11049         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11050         * wcsmbc/wcschr.c (WCSCHR): New macro.
11052 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11054         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11055         * wcsmbs/test-wcsrchr.c: New file.
11056         * string/test-strrchr.c: Add wcsrchr support.
11057         (WIDE): New macro.
11058         * wcsmbs/test-wcscpy.c: New file.
11059         * string/test-strcpy.c: Add wcscpy support.
11060         (WIDE): New macro.
11062 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
11064         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11065         the inner loop.
11067 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
11069         [BZ #13472]
11070         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11072 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
11074         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11075         Minor optimizations.
11077         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11078         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11079         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11081 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
11083         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11084         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11085         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11086         for gcc to avoid warnings.
11087         * inet/Makefile (tests): Add tst-checks.
11088         * inet/tst-checks.c: New file.
11090         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11091         warning.
11093         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11094         __wmemcmp_sse2.
11096         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11097         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11099         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11101 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
11103         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11104         problem.
11106         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11108 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
11110         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11111         conditional on GCC version.
11112         (__arch_compare_and_exchange_val_8_acq)
11113         (__arch_compare_and_exchange_val_16_acq)
11114         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11115         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11116         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11118 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
11120         * sysdeps/sh/backtrace.c: New file.
11122 2011-12-02  Andreas Schwab  <schwab@redhat.com>
11124         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
11125         parenthesis.
11127 2011-12-01  Andreas Schwab  <schwab@redhat.com>
11129         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11130         falling back to utime.
11132 2011-11-30  Andreas Schwab  <schwab@redhat.com>
11134         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11135         expectations for float.
11137 2011-11-29  Andreas Schwab  <schwab@redhat.com>
11139         * locale/weight.h (findidx): Add parameter len.
11140         * locale/weightwc.h (findidx): Likewise.
11141         * posix/fnmatch_loop.c (FCT): Adjust caller.
11142         * posix/regcomp.c (build_equiv_class): Likewise.
11143         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11144         * posix/regexec.c (check_node_accept_bytes): Likewise.
11145         * string/strcoll_l.c (STRCOLL): Likewise.
11146         * string/strxfrm_l.c (STRXFRM): Likewise.
11148 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
11150         * Makefile.in: Remove CVSOPT handling.
11151         * configure.in: Remove use of AC_REVISION.
11152         * iconvdata/Makefile (distribute): No need to filter out CVS.
11153         * scripts/list-sources.sh: Remove CVS, subversion and monotone
11154         handling.
11156 2011-11-16  Andreas Schwab  <schwab@redhat.com>
11158         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11159         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11160         [USE_AS_STRNCASECMP_L]: Likewise.
11161         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11162         NO_TLS_DIRECT_SEG_REFS.
11163         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11164         Fix argument offsets for non-PIC.
11165         [USE_AS_STRNCASECMP_L]: Likewise.
11166         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11167         NO_TLS_DIRECT_SEG_REFS.
11169 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
11171         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11172         O_CLOEXEC.
11173         * locale/loadlocale.c (_nl_load_locale): Likewise.
11175 2011-11-15  Andreas Schwab  <schwab@redhat.com>
11177         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11178         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11179         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11180         (SYSCALL_GETTIME): Set errno on error.
11182         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11183         count references to noai6ai_cached.
11185 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
11187         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11189         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11190         FD_CLOEXEC for /proc/self/maps.
11192         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11193         FD_CLOEXEC for /proc/meminfo.
11195         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11196         gai.conf.
11198         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
11199         FD_CLOEXEC for given file.
11201         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11203         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11204         FD_CLOEXEC for /etc/hosts.
11205         (_gethtent): Likewise.
11207         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11209         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11210         cancellation and set FD_CLOEXEC for /etc/netgroup.
11212         * nss/nss_files/files-key.c (search): Don't allow cancellation when
11213         reading /etc/publickey.
11215         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11216         allow cancellation when reading /etc/group.
11218         * nss/nss_files/files-alias.c (internal_setent): Don't allow
11219         cancellation.
11220         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
11222         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11223         when using data file.
11225         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11227         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11228         (write_nis_obj): Use "c" and "e" in fopen.
11230         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11232         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11234         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11236         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11238         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11239         locale.alias.
11241         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11243         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11245         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11247         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11248         file parsing and set FD_CLOEXEC.
11250 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
11252         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11254 2011-11-14  Andreas Schwab  <schwab@redhat.com>
11256         * malloc/arena.c (arena_get2): Don't call reused_arena when
11257         _int_new_arena failed.
11259 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
11261         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11262         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11263         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11264         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11265         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11266         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11267         to compile strcasecmp and strncasecmp.
11268         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11269         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11273 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
11275         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11276         locale-defines.sym to gen-as-const-headers.
11277         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11278         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11279         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11280         to compile strcasecmp and strncasecmp.
11281         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11282         strcasecmp_l and strncasecmp_l.
11283         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11284         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11285         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11286         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11287         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11288         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11289         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11290         * sysdeps/i386/i686/multiarch/strncase.S: New file.
11291         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11292         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11293         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11295 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
11297         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11298         result of SYSDEP_GETTIME_CPU to retval.
11299         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11300         parameter list to macro.  Remove trailing semicolon.  Adjust users.
11302         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11303         variable.
11305         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11306         mantissa words.
11307         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11309         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11310         from unused variable.
11312         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11313         DWARF definitions.
11314         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11315         for assembling.
11317         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11318         over namespaces.
11320         * sunrpc/rpc_prot.c (rejected): Fix case value.
11322         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11323         unsigned long long int to avoid warnings in shift.
11325         * posix/regex_internal.c (re_string_reconstruct): Actually use result
11326         of use of trans.
11327         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11328         variable tmp.
11330         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11331         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11332         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11334         * nis/nis_table.c (nis_list): Use variable of correct type for
11335         result of __follow_path call.
11337 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11339         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11340         of math functions ceil, trunc, floor, round, and sqrt, when
11341         avaliable on the platform.
11342         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11343         name clash.
11344         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11345         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11346         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11348 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
11350         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11351         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11353 2011-11-11  Roland McGrath  <roland@hack.frob.com>
11355         * include/unistd.h: Fix __readlink return type.
11356         Reported by Chris Metcalf <cmetcalf@tilera.com>.
11358 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
11360         * stdlib/ucontext.h: Undo last change for makecontext.
11362 2011-11-11  Andreas Schwab  <schwab@redhat.com>
11364         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11366         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11367         * setjmp/setjmp.h: Mark functions as non-leaf.
11368         * setjmp/bits/setjmp2.h: Likewise.
11369         * stdlib/ucontext.h: Likewise.
11371 2011-11-10  Andreas Schwab  <schwab@redhat.com>
11373         * malloc/arena.c (_int_new_arena): Don't increment narenas.
11374         (reused_arena): Don't check arena limit.
11375         (arena_get2): Atomically check arena limit.
11377 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
11379         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11380         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11382         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11383         instructions.
11385 2011-11-07  Andreas Schwab  <schwab@redhat.com>
11387         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11388         handler when locking.
11390         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11391         Fix size of allocated buffer.
11393 2011-11-04  Andreas Schwab  <schwab@redhat.com>
11395         [BZ #10103]
11396         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11397         declarations for long double functions.
11398         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11400         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11402 2011-11-03  Andreas Schwab  <schwab@redhat.com>
11404         * nscd/nscd.c (main): Don't start AVC thread until credentials are
11405         installed.
11407         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11408         is disabled.
11410 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11412         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11414 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11416         * include/alloca.h (stackinfo_alloca_round): Define.
11417         (extend_alloca): Use it.
11418         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11419         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11420         here.
11422         * scripts/check-local-headers.sh: Ignore libaudit.h.
11424         * nscd/Makefile (extra-objs): Make recursively expanded.
11426 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
11428         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11429         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11431         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11432         * posix/tst-rfc3484-2.c: Likewise.
11433         * posix/tst-rfc3484-3.c: Likewise.
11435         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11436         process_vm_writev.
11437         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11438         process_vm_writev.
11439         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11440         process_vm_writev from libc using GLIBC_2.15 version.
11442         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11444 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
11446         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11447         stack usage.
11449 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
11451         [BZ #13367]
11452         * nss/getent.c (initgroups_keys): Show error message in case no group
11453         names are given.
11455         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11456         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11457         __bump_nl_timestamp.
11458         * nscd/connections (nscd_init): When host database is served open
11459         netlink socket and request notification about configuration changes.
11460         (main_loop_poll): Track netlink file descriptor and bump timestamp
11461         in case data becomes available.
11462         (main_loop_epoll): Likewise.
11463         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11464         (database_pers_head): Add extra_data fileds.
11465         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11466         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11467         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11468         Adjust caller.
11469         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11470         in6ai data, call __free_in6ai.
11471         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11472         Add -DHAVE_NETLINK.
11473         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
11474         interface information.  Reuse previous data if netlink timestamp
11475         is not changed.
11476         (__bump_nl_timestamp): New function.
11477         (__free_in6ai): New function.
11479 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
11481         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11482         close_not_cancel_no_status here.
11483         (__check_pf): Reorganize code a bit to not call close twice if OOM.
11485 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
11487         [BZ #13276]
11488         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11489         return value.
11491         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11492         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11493         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11495 2011-07-03  Andreas Jaeger  <aj@suse.de>
11497         [BZ #10709]
11498         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11499         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11500         * math/libm-test.inc (sin_test): Add test case.
11502 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
11504         [BZ #13337]
11505         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11506         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11508         * elf/chroot_canon.c (chroot_canon): Cleanups.
11510         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11512         [BZ #13335]
11513         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11514         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11516         * string/test-strchr.c: Make usable for strchrnul testing.
11517         * string/test-strchrnul.c: New file.
11518         * string/Makefile (strop-tests): Add strchrnul.
11520         * po/it.po: Update from translation team.
11521         * po/es.po: Likewise.
11523 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
11525         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11526         the three constants needed as parameters.  Drop the others.
11527         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11528         __m128i_strloadu_tolower.
11529         Create and initialize variable zero and use it in all the places
11530         where _mm_setzero_si128 was used.
11532         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11533         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11534         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11535         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11536         anymore.
11537         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11538         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11539         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11540         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11541         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11542         __mpranred, __mptan.
11543         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11544         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11545         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11546         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11547         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11548         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11549         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11550         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11551         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11553 2011-10-28  Andreas Schwab  <schwab@redhat.com>
11555         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11556         redefine if SHARED.
11557         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11559         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11560         wide char related routines to wcsmbs subdir.
11562 2011-10-27  Andreas Schwab  <schwab@redhat.com>
11564         [BZ #13344]
11565         * misc/sys/cdefs.h (__THROWNL): Define.
11566         * posix/unistd.h: Use __THREADNL instead of __THREAD
11567         for memory synchronization functions.
11569 2011-10-26  Roland McGrath  <roland@hack.frob.com>
11571         [BZ #13349]
11572         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11573         doesn't exist.
11574         * manual/stdio.texi (Obstack Streams): Node removed.
11576 2011-10-26  Andreas Schwab  <schwab@redhat.com>
11578         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11579         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11580         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11582         * math/math_private.h (math_force_eval): Allow non-addressable
11583         arguments.
11584         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11586 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11588         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11589         file is not needed.
11591         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11592         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11593         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11594         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11595         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11596         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11597         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11598         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11599         Add AVX variants.
11600         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11601         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11602         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11603         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11604         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11605         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11606         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11607         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11608         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11609         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11610         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11611         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11612         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11613         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11614         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11615         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11616         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11617         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11618         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11620         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11621         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
11623         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11624         place.  Use VEX encoding when compiling for AVX.
11626 2011-10-25  Andreas Schwab  <schwab@redhat.com>
11628         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11629         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11631         * string/test-strchr.c (do_test): Don't generate NUL bytes.
11633 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11635         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11636         useless if() expression.
11637         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11638         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11639         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11640         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11641         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11642         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11643         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11644         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11645         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11646         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11647         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11648         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11649         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11650         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11651         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11652         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11653         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11654         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11655         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11657         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11659 2011-10-25  Andreas Schwab  <schwab@redhat.com>
11661         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11662         condition.
11663         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11665 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11667         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11668         .text section.  Avoid duplicate constants.
11669         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11670         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11671         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11672         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11673         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11674         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11675         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11676         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11677         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11678         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11679         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11680         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11681         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11682         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11683         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11684         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11685         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11686         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11687         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11688         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11689         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11690         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11691         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11692         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11693         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11694         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11695         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11696         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11697         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11698         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11699         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11700         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11701         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11702         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11703         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11704         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11705         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11706         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11707         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11708         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11709         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11710         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11711         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11712         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11713         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11715 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
11717         * sysdeps/x86_64/dla.h: Move to ...
11718         * sysdeps/x86_64/fpu/dla.h: ...here.
11719         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11720         situations.  Use __builtin_fma only for gcc 4.6 and up.
11722         * config.make.in: Add have-mfma4 entry.
11723         * configure.in: Substitute libc_cv_cc_fma4.
11724         * math/Makefile (dbl-only-routines): Add sincostab.
11725         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11726         Use __sincostab not sincos.
11727         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11728         name is a macro.
11729         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11731         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11732         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
11733         using __copysign.
11734         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
11735         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
11736         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11737         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11738         and __inv.
11739         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11740         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11741         __copysign.
11742         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
11743         define aliases when function name is a macro.
11744         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11745         sysdeps/ieee754/dbl-64/sincos.tbl.
11746         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11747         fma4-enabled routines.
11748         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11749         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11750         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11751         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11752         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11753         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11754         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11755         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11756         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11757         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11758         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11759         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11760         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11761         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11762         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11763         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11764         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11765         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11766         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11767         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11768         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11769         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11770         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11771         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11772         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11773         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11774         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11775         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11776         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11777         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11779         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11780         rename.
11781         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11782         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11783         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11784         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11785         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11786         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11787         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11788         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11790 2011-10-24  Andreas Schwab  <schwab@redhat.com>
11792         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11794 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11796         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11798         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11799         prediction.
11800         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11802         * string/strnlen.c: Don't define STRNLEN, reverse logic.
11803         Remove unused variable magic_bits.
11804         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11806         * string/strnlen.c: Define and use STRNLEN macro.
11807         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11808         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11809         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11810         * wcsmbs/wcslen.c: Define and use WCSLEN.
11811         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11812         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11813         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11814         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11815         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11816         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11817         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11819 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11822         strnlen-sse2-no-bsf.
11823         Rename strlen-no-bsf to strlen-sse2-no-bsf.
11824         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11825         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11826         Add strnlen support.
11827         (USE_AS_STRNLEN): New macro.
11828         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11829         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11830         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11831         * sysdeps/x86_64/wcslen.S: New file.
11833 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
11835         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11836         XMM-moves are used for copying on small sizes.
11838 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11840         * wcsmbs/Makefile (strop-tests): Add wcschr.
11841         * wcsmbs/test-wcschr.c: New file.
11842         * string/test-strchr.c: Update.
11843         Add wcschr support.
11844         (WIDE): New macro.
11846 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11848         * wcsmbs/Makefile (strop-tests): Add wcslen.
11849         * wcsmbs/test-wcslen.c: New file.
11850         * string/test-strlen.c: Update.
11851         Add wcslen support.
11852         (WIDE): New macro.
11854 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11856         * po/it.po: Update from translation team.
11858 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11860         * sysdeps/x86_64/wcscmp.S: Update.
11861         Fix wrong comparison semantics.
11862         wcscmp shall use signed comparison not unsigned.
11863         Don't use substraction to avoid overflow bug.
11864         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11865         * wcsmbc/wcscmp.c: Likewise.
11866         * string/test-strcmp.c: Likewise.
11867         Add new tests to check cases with negative values.
11869 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11871         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11872         * sysdeps/x86_64/dla.h: ...here.  New file.
11873         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11874         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11875         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11877         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11878         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11879         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11880         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11881         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11883 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
11885         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11886         __ynl_finite aliases.
11888 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
11890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11892         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11893         define DLA_FMA.
11894         [DLA_FMA] (EMULV): Use DLA_FMA.
11895         [DLA_FMA] (MUL12): Use EMULV.
11896         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11897         that are not needed.
11898         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11899         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11901         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11902         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11903         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11904         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11906 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
11908         * math/s_nan.c: Undef __nan.
11909         * math/s_nanf.c: Undef __nanf.
11910         * math/s_nanl.c: Undef __nanl.
11911         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11912         "math_private.h".
11914 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
11916         * math/s_catan.c: Add branch predictions.
11917         * math/s_catanf.c: Likewise.
11918         * math/s_catanh.c: Likewise.
11919         * math/s_catanhf.c: Likewise.
11920         * math/s_catanhl.c: Likewise.
11921         * math/s_catanl.c: Likewise.
11922         * math/s_cexp.c: Likewise.
11923         * math/s_cexpf.c: Likewise.
11924         * math/s_cexpl.c: Likewise.
11925         * math/s_clog.c: Likewise.
11926         * math/s_clog10.c: Likewise.
11927         * math/s_clog10f.c: Likewise.
11928         * math/s_clog10l.c: Likewise.
11929         * math/s_clogf.c: Likewise.
11930         * math/s_clogl.c: Likewise.
11931         * math/s_csqrt.c: Likewise.
11932         * math/s_csqrtf.c: Likewise.
11933         * math/s_csqrtl.c: Likewise.
11934         * math/s_ctanf.c: Likewise.
11935         * math/s_ctanh.c: Likewise.
11936         * math/s_ctanhf.c: Likewise.
11937         * math/s_ctanhl.c: Likewise.
11938         * math/s_ctanl.c: Likewise.
11940         * math/math_private.h: Define __nan, __nanf, __nanl.
11941         * math/s_cacosh.c: Include <math_private.h>.
11942         * math/s_cacoshl.c: Likewise.
11943         * math/s_casinh.c: Likewise.
11944         * math/s_casinhf.c: Likewise.
11945         * math/s_casinhl.c: Likewise.
11946         * math/s_ccos.c: Rely entire on ccosh.
11947         * math/s_ccosf.c: Rely entire on ccoshf.
11948         * math/s_ccosl.c: Rely entirely on ccoshl.
11949         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
11950         Remove tests for FE_INVALID.
11951         * math/s_ccoshf.c: Likewise.
11952         * math/s_ccoshl.c: Likewise.
11953         * math/s_csin.c: Likewise.
11954         * math/s_csinf.c: Likewise.
11955         * math/s_csinh.c Likewise.
11956         * math/s_csinhf.c: Likewise.
11957         * math/s_csinhl.c: Likewise.
11958         * math/s_csinl.c: Likewise.
11959         * math/s_ctan.c: Likewise.
11960         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11961         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11962         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11964 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
11966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11967         compilation problems.
11969         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11970         __builtin_expect.
11972 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
11974         * sysdeps/i386/configure.in: Test for -mfma4 option.
11975         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11976         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11977         COMMON_CPUID_INDEX_80000001.
11978         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11979         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11980         use it if FMA3 is not supported.
11981         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11983         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11984         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11986 2011-10-20  Andreas Schwab  <schwab@redhat.com>
11988         [BZ #12892]
11989         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11990         it would create a cycle with a link time dependency.
11992 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
11994         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11995         instruction.
11996         * string/Makefile (strop-tests): Add rawmemchr.
11997         * string/test-rawmemchr.c: New file.
11999         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12000         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
12001         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
12002         when compiling str{,n}casecmp and when AVX is available.  Hook up
12003         new optimized code in initializers.
12005 2011-10-19  Andreas Schwab  <schwab@redhat.com>
12007         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12008         __feraiseexcept instead of feraiseexcept.
12010 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
12012         * math/math_private.h: Define defaults for libc_fetestexcept and
12013         libc_feupdateenv.
12014         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12015         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12016         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12017         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12018         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12019         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12020         libc_fetestexcept and libc_feupdateenv.
12022         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12023         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12024         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12025         * sysdeps/x86_64/fpu/math_private.h: Define special version of
12026         libc_feholdexcept_setround.
12028         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12029         Add s_nearbyint-c and s_nearbyintf-c.
12030         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12031         nearbyintf inlines.
12032         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12033         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12034         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12035         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12037         * math/math_private.h: Define defaults for libc_fegetround,
12038         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12039         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12040         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12041         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12042         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12043         standard functions.
12044         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12045         Remove comments and hacks for old compiler versions.
12046         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12047         libc_fegetround, libc_fesetround, libc_feholdexcept, and
12048         libc_feholdexceptl.
12050 2011-10-18  Andreas Schwab  <schwab@redhat.com>
12052         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12053         (__feraiseexcept_renamed): Add __NTH.
12054         (feraiseexcept): Add __NTH.  Rename local variables to fix
12055         namespace violations.
12057 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
12059         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12061         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12063         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12064         recently added interfaces.
12065         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12067         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12068         about macro parameter expansion.
12070         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12071         __NO_MATH_INLINES is defined.  Cleanups.
12073         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12074         and __floorf is target has SSE4.1.
12075         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12076         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12077         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12078         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12080         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12081         name.
12082         (floorf): Likewise.
12084         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12086 2011-10-17  Andreas Schwab  <schwab@redhat.com>
12088         * misc/sys/cdefs.h: Fix last change.
12090         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12091         database lookup.
12093 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
12095         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12097         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12098         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12099         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12100         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12101         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12102         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12103         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12104         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12105         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12106         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12107         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12108         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12109         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12110         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12111         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12112         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12113         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12114         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12115         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12116         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12117         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12118         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12120         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12121         ceil, ceilf, floor, floorf.
12123         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12124         Perform IRELATIVE relocations last.
12126         * elf/do-rel.h: Add another parameter nrelative, replacing the
12127         local variable with the same name.  Change name of the function
12128         to end in Rel or Rela (uppercase).
12129         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12130         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
12131         elf_dynamic_do_##reloc function.
12133 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
12135         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12136         is sufficient, at least on modern CPUs.
12138         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12140         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12141         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12143         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12144         __expl_finite.
12145         * math/bits/math-finite.h: Add entries for exp.
12146         * math/e_expl.c: Add __*_finite alias.
12147         * sysdeps/i386/fpu/e_exp.S: Likewise.
12148         * sysdeps/i386/fpu/e_expf.S: Likewise.
12149         * sysdeps/i386/fpu/e_expl.c: Likewise.
12150         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12151         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12152         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12153         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12154         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12155         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12156         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12158         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12159         is sufficient, at least on modern CPUs.
12161         * ctype/ctype-info.c (__ctype_init): Define.
12162         * include/ctype.h (__ctype_init): Declare.
12163         (__ctype_b_loc): The variable is always initialized.
12164         (__ctype_toupper_loc): Likewise.
12165         (__ctype_tolower_loc): Likewise.
12166         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12167         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12169 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
12171         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12173         * configure.in: Also look in $cxxmachine/include for C++ system
12174         headers.
12176 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12178         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12179         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12180         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12181         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
12182         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12183         (USE_AS_WMEMCMP): New macro.
12184         Fixing indents.
12185         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12186         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12187         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12188         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12190         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12191         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12192         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12193         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12194         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12195         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12196         (USE_AS_WMEMCMP): New macro.
12197         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12198         * sysdeps/string/test-memcmp.c: Update.
12199         Fix simple_wmemcmp.
12200         Add new tests.
12201         * wcsmbs/wmemcmp.c: Update.
12202         (WMEMCMP): New macro.
12203         Fix overflow bug.
12205 2011-10-12  Andreas Jaeger  <aj@suse.de>
12207         [BZ #13268]
12208         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12210 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
12212         * libio/iofwide.c (do_length): Avoid warning.
12214         * ctype/ctype.h (__isctype_f): Add missing __THROW.
12216 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
12218         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12220         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12221         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12222         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12223         * sysdeps/i386/i686/fpu/e_log.S: New file.
12224         * sysdeps/i386/i686/fpu/e_logf.S: New file.
12225         * sysdeps/i386/i686/fpu/e_logl.S: New file.
12227         * ctype/ctype.h: Add support for inlined isXXX functions when
12228         compiling C++ code.
12230 2011-10-14  Andreas Schwab  <schwab@redhat.com>
12232         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12234         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12236 2011-10-13  Roland McGrath  <roland@hack.frob.com>
12238         [BZ #13291]
12239         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12241 2011-10-13  Andreas Schwab  <schwab@redhat.com>
12243         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12244         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12245         feraiseexcept.
12247         * sysdeps/x86_64/memrchr.S: Check for zero size.
12249         * string/stratcliff.c: Add memrchr tests.
12251 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12253         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12254         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12255         rawmemchr-sse2 rawmemchr-sse2-bsf.
12256         * sysdeps/i386/i686/multiarch/memchr.S: New file.
12257         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12258         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12259         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12260         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12261         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12262         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12263         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12264         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12265         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12266         * string/memrchr.c (MEMRCHR): New macro.
12268 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
12270         Add integration with gcc's -ffinite-math-only and optimize wrapper
12271         functions in libm.
12272         * Versions.def: Define GLIBC_2.15 version for libm.
12273         * math/Makefile (headers): Add bits/math-finite.h.
12274         * math/bits/math-finite.h: New file.
12275         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12276         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12277         * math/e_acoshl.c: Add __*_finite alias.
12278         * math/e_acosl.c: Likewise.
12279         * math/e_asinl.c: Likewise.
12280         * math/e_atan2l.c: Likewise.
12281         * math/e_atanhl.c: Likewise.
12282         * math/e_coshl.c: Likewise.
12283         * math/e_exp10.c: Likewise.
12284         * math/e_exp10f.c: Likewise.
12285         * math/e_exp10l.c: Likewise.
12286         * math/e_exp2l.c: Likewise.
12287         * math/e_fmodl.c: Likewise.
12288         * math/e_gammal_r.c: Likewise.
12289         * math/e_hypotl.c: Likewise.
12290         * math/e_j0l.c: Likewise.
12291         * math/e_j1l.c: Likewise.
12292         * math/e_jnl.c: Likewise.
12293         * math/e_lgammal_r.c: Likewise.
12294         * math/e_log10l.c: Likewise.
12295         * math/e_log2l.c: Likewise.
12296         * math/e_logl.c: Likewise.
12297         * math/e_powl.c: Likewise.
12298         * math/e_sinhl.c: Likewise.
12299         * math/e_sqrtl.c: Likewise.
12300         * math/e_scalb.c: Completely rewritten and optimized.
12301         * math/e_scalbf.c: Likewise.
12302         * math/e_scalbl.c: Likewise.
12303         * math/w_acos.c: Likewise.
12304         * math/w_acosf.c: Likewise.
12305         * math/w_acosl.c: Likewise.
12306         * math/w_acosh.c: Likewise.
12307         * math/w_acoshf.c: Likewise.
12308         * math/w_acoshl.c: Likewise.
12309         * math/w_asin.c: Likewise.
12310         * math/w_asinf.c: Likewise.
12311         * math/w_asinl.c: Likewise.
12312         * math/w_atan2.c: Likewise.
12313         * math/w_atan2f.c: Likewise.
12314         * math/w_atan2l.c: Likewise.
12315         * math/w_atanh.c: Likewise.
12316         * math/w_atanhf.c: Likewise.
12317         * math/w_atanhl.c: Likewise.
12318         * math/w_exp10.c: Likewise.
12319         * math/w_exp10f.c: Likewise.
12320         * math/w_exp10l.c: Likewise.
12321         * math/w_fmod.c: Likewise.
12322         * math/w_fmodf.c: Likewise.
12323         * math/w_fmodl.c: Likewise.
12324         * math/w_j0.c: Likewise.
12325         * math/w_j0f.c: Likewise.
12326         * math/w_j0l.c: Likewise.
12327         * math/w_j1.c: Likewise.
12328         * math/w_j1f.c: Likewise.
12329         * math/w_j1l.c: Likewise.
12330         * math/w_jn.c: Likewise.
12331         * math/w_jnf.c: Likewise.
12332         * math/w_log.c: Likewise.
12333         * math/w_logf.c: Likewise.
12334         * math/w_logl.c: Likewise.
12335         * math/w_log10.c: Likewise.
12336         * math/w_log10f.c: Likewise.
12337         * math/w_log10l.c: Likewise.
12338         * math/w_log2.c: Likewise.
12339         * math/w_log2f.c: Likewise.
12340         * math/w_log2l.c: Likewise.
12341         * math/w_pow.c: Likewise.
12342         * math/w_powf.c: Likewise.
12343         * math/w_powl.c: Likewise.
12344         * math/w_remainder.c: Likewise.
12345         * math/w_remainderf.c: Likewise.
12346         * math/w_remainderl.c: Likewise.
12347         * math/w_scalb.c: Likewise.
12348         * math/w_scalbf.c: Likewise.
12349         * math/w_scalbl.c: Likewise.
12350         * math/w_sqrt.c: Likewise.
12351         * math/w_sqrtf.c: Likewise.
12352         * math/w_sqrtl.c: Likewise.
12353         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12354         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
12355         used.
12356         * math/math_private.h: Declare __kernel_standard_f.
12357         * math/w_cosh.c: Remove cruft and optimize a bit.
12358         * math/w_coshf.c: Likewise.
12359         * math/w_coshl.c: Likewise.
12360         * math/w_exp2.c: Likewise.
12361         * math/w_exp2f.c: Likewise.
12362         * math/w_exp2l.c: Likewise.
12363         * math/w_hypot.c: Likewise.
12364         * math/w_hypotf.c: Likewise.
12365         * math/w_hypotl.c: Likewise.
12366         * math/w_lgamma.c: Likewise.
12367         * math/w_lgamma_r.c: Likewise.
12368         * math/w_lgammaf.c: Likewise.
12369         * math/w_lgammaf_r.c: Likewise.
12370         * math/w_lgammal.c: Likewise.
12371         * math/w_lgammal_r.c: Likewise.
12372         * math/w_sinh.c: Likewise.
12373         * math/w_sinhf.c: Likewise.
12374         * math/w_sinhl.c: Likewise.
12375         * math/w_tgamma.c: Likewise.
12376         * math/w_tgammaf.c: Likewise.
12377         * math/w_tgammal.c: Likewise.
12378         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12379         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12380         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12381         Minor optimizations.  Pretty printing.  Remove cruft.
12382         * sysdeps/i386/fpu/e_acosf.S: Likewise.
12383         * sysdeps/i386/fpu/e_acosh.S: Likewise.
12384         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12385         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12386         * sysdeps/i386/fpu/e_acosl.c: Likewise.
12387         * sysdeps/i386/fpu/e_asin.S: Likewise.
12388         * sysdeps/i386/fpu/e_asinf.S: Likewise.
12389         * sysdeps/i386/fpu/e_atan2.S: Likewise.
12390         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12391         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12392         * sysdeps/i386/fpu/e_atanh.S: Likewise.
12393         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12394         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12395         * sysdeps/i386/fpu/e_exp10.S: Likewise.
12396         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12397         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12398         * sysdeps/i386/fpu/e_exp2.S: Likewise.
12399         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12400         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12401         * sysdeps/i386/fpu/e_fmod.S: Likewise.
12402         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12403         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12404         * sysdeps/i386/fpu/e_hypot.S: Likewise.
12405         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12406         * sysdeps/i386/fpu/e_log.S: Likewise.
12407         * sysdeps/i386/fpu/e_log10.S: Likewise.
12408         * sysdeps/i386/fpu/e_log10f.S: Likewise.
12409         * sysdeps/i386/fpu/e_log10l.S: Likewise.
12410         * sysdeps/i386/fpu/e_log2.S: Likewise.
12411         * sysdeps/i386/fpu/e_log2f.S: Likewise.
12412         * sysdeps/i386/fpu/e_log2l.S: Likewise.
12413         * sysdeps/i386/fpu/e_logf.S: Likewise.
12414         * sysdeps/i386/fpu/e_logl.S: Likewise.
12415         * sysdeps/i386/fpu/e_pow.S: Likewise.
12416         * sysdeps/i386/fpu/e_powf.S: Likewise.
12417         * sysdeps/i386/fpu/e_powl.S: Likewise.
12418         * sysdeps/i386/fpu/e_remainder.S: Likewise.
12419         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12420         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12421         * sysdeps/i386/fpu/e_scalb.S: Likewise.
12422         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12423         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12424         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12425         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12426         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12427         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12428         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12429         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12430         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12431         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12432         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12433         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12434         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12435         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12436         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12437         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12438         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12439         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12440         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12441         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12442         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12443         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12444         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12445         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12446         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12447         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12448         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12449         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12450         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12451         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12452         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12453         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12454         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12455         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12456         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12457         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12458         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12459         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12460         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12461         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12462         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12463         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12464         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12465         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12466         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12467         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12468         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12469         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12470         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12471         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12472         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12473         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12474         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12475         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12476         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12477         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12478         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12479         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12480         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12481         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12482         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12483         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12484         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12485         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12486         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12487         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12488         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12489         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12490         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12491         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12492         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12493         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12494         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12495         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12496         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12497         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12498         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12499         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12500         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12501         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12502         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12503         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12504         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12505         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12506         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12507         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12508         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12509         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12510         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12511         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12512         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12513         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12514         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12515         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12516         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12517         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12518         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12519         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12520         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12521         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12522         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12523         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12524         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12525         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12526         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12527         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12528         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12529         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12530         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12531         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12532         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12533         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12534         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12535         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12536         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12537         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
12538         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12539         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12540         (__isnanf): Likewise.
12541         (__isinf_ns): Likewise.
12542         (__isinf_nsf): Likewise.
12543         (__finite): Likewise.
12544         (__finitef): Likewise.
12545         (__ieee754_sqrt): Define as macro.
12546         (__ieee754_sqrtf): Define as macro.
12547         (__ieee754_sqrtl): Define as macro.
12548         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12549         inlined copy.
12550         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12551         __FINITE_MATH_ONLY__ consistent.
12552         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12554 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
12556         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12557         of rawmemchr.
12559         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12561 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
12563         * po/ja.po: Update from translation team.
12565 2011-10-08  Roland McGrath  <roland@hack.frob.com>
12567         * locale/programs/locarchive.c (prepare_address_space): New function.
12568         (create_archive, enlarge_archive, open_archive): Use it.
12570         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12571         inside [SHARED], where it is used.
12573         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12575         * nss/getent.c (netgroup_keys): Remove unused variable.
12576         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12578 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
12580         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12581         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12582         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12583         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12584         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12585         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12586         * math/Makefile (libm-calls): Add s_isinf_ns.
12587         * math/divtc3.c: Use __isinf_nsl instead of isinf.
12588         * math/multc3.c: Likewise.
12589         * math/s_casin.c: Likewise.
12590         * math/s_casinf.c: Likewise.
12591         * math/s_casinl.c: Likewise.
12592         * math/s_ccos.c: Likewise.
12593         * math/s_ccosf.c: Likewise.
12594         * math/s_ccosl.c: Likewise.
12595         * math/s_ctan.c: Likewise.
12596         * math/s_ctanf.c: Likewise.
12597         * math/s_ctanh.c: Likewise.
12598         * math/s_ctanhf.c: Likewise.
12599         * math/s_ctanhl.c: Likewise.
12600         * math/s_ctanl.c: Likewise.
12601         * math/w_fmod.c: Likewise.
12602         * math/w_fmodf.c: Likewise.
12603         * math/w_fmodl.c: Likewise.
12604         * math/w_remainder.c: Likewise.
12605         * math/w_remainderf.c: Likewise.
12606         * math/w_remainderl.c: Likewise.
12607         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12608         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12609         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12610         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12611         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12612         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12613         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12614         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12616         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12617         of the number.
12618         * stdio-common/printf_fphex.c: Likewise.
12619         * stdio-common/printf_size.c: Likewise.
12621         * math/e_exp10.c: Include math_private.h using <...> not "...".
12622         * math/e_exp10f.c: Likewise.
12623         * math/e_exp10l.c: Likewise.
12624         * math/e_exp2l.c: Likewise.
12625         * math/e_j0l.c: Likewise.
12626         * math/e_j1l.c: Likewise.
12627         * math/e_jnl.c: Likewise.
12628         * math/e_lgammal_r.c: Likewise.
12629         * math/e_rem_pio2l.c: Likewise.
12630         * math/e_scalb.c: Likewise.
12631         * math/e_scalbf.c: Likewise.
12632         * math/e_scalbl.c: Likewise.
12633         * math/k_cosl.c: Likewise.
12634         * math/k_sinl.c: Likewise.
12635         * math/k_tanl.c: Likewise.
12636         * math/s_cacoshf.c: Likewise.
12637         * math/s_catan.c: Likewise.
12638         * math/s_catanf.c: Likewise.
12639         * math/s_catanh.c: Likewise.
12640         * math/s_catanhf.c: Likewise.
12641         * math/s_catanhl.c: Likewise.
12642         * math/s_catanl.c: Likewise.
12643         * math/s_ccosh.c: Likewise.
12644         * math/s_ccoshf.c: Likewise.
12645         * math/s_ccoshl.c: Likewise.
12646         * math/s_cexp.c: Likewise.
12647         * math/s_cexpf.c: Likewise.
12648         * math/s_cexpl.c: Likewise.
12649         * math/s_clog.c: Likewise.
12650         * math/s_clog10.c: Likewise.
12651         * math/s_clog10f.c: Likewise.
12652         * math/s_clog10l.c: Likewise.
12653         * math/s_clogf.c: Likewise.
12654         * math/s_clogl.c: Likewise.
12655         * math/s_csin.c: Likewise.
12656         * math/s_csinf.c: Likewise.
12657         * math/s_csinh.c: Likewise.
12658         * math/s_csinhf.c: Likewise.
12659         * math/s_csinhl.c: Likewise.
12660         * math/s_csinl.c: Likewise.
12661         * math/s_csqrt.c: Likewise.
12662         * math/s_csqrtf.c: Likewise.
12663         * math/s_csqrtl.c: Likewise.
12664         * math/s_ctan.c: Likewise.
12665         * math/s_ctanf.c: Likewise.
12666         * math/s_ctanh.c: Likewise.
12667         * math/s_ctanhf.c: Likewise.
12668         * math/s_ctanhl.c: Likewise.
12669         * math/s_ctanl.c: Likewise.
12670         * math/s_ldexp.c: Likewise.
12671         * math/s_ldexpf.c: Likewise.
12672         * math/s_ldexpl.c: Likewise.
12673         * math/s_significand.c: Likewise.
12674         * math/s_significandf.c: Likewise.
12675         * math/s_significandl.c: Likewise.
12676         * math/w_acos.c: Likewise.
12677         * math/w_acosf.c: Likewise.
12678         * math/w_acosh.c: Likewise.
12679         * math/w_acoshf.c: Likewise.
12680         * math/w_acoshl.c: Likewise.
12681         * math/w_acosl.c: Likewise.
12682         * math/w_asin.c: Likewise.
12683         * math/w_asinf.c: Likewise.
12684         * math/w_asinl.c: Likewise.
12685         * math/w_atan2.c: Likewise.
12686         * math/w_atan2f.c: Likewise.
12687         * math/w_atan2l.c: Likewise.
12688         * math/w_atanh.c: Likewise.
12689         * math/w_atanhf.c: Likewise.
12690         * math/w_atanhl.c: Likewise.
12691         * math/w_cosh.c: Likewise.
12692         * math/w_coshf.c: Likewise.
12693         * math/w_coshl.c: Likewise.
12694         * math/w_dremf.c: Likewise.
12695         * math/w_exp10.c: Likewise.
12696         * math/w_exp10f.c: Likewise.
12697         * math/w_exp10l.c: Likewise.
12698         * math/w_exp2.c: Likewise.
12699         * math/w_exp2f.c: Likewise.
12700         * math/w_fmod.c: Likewise.
12701         * math/w_fmodf.c: Likewise.
12702         * math/w_fmodl.c: Likewise.
12703         * math/w_hypot.c: Likewise.
12704         * math/w_hypotf.c: Likewise.
12705         * math/w_hypotl.c: Likewise.
12706         * math/w_j0.c: Likewise.
12707         * math/w_j0f.c: Likewise.
12708         * math/w_j0l.c: Likewise.
12709         * math/w_j1.c: Likewise.
12710         * math/w_j1f.c: Likewise.
12711         * math/w_j1l.c: Likewise.
12712         * math/w_jn.c: Likewise.
12713         * math/w_jnf.c: Likewise.
12714         * math/w_jnl.c: Likewise.
12715         * math/w_lgamma.c: Likewise.
12716         * math/w_lgamma_r.c: Likewise.
12717         * math/w_lgammaf.c: Likewise.
12718         * math/w_lgammaf_r.c: Likewise.
12719         * math/w_lgammal.c: Likewise.
12720         * math/w_lgammal_r.c: Likewise.
12721         * math/w_log.c: Likewise.
12722         * math/w_log10.c: Likewise.
12723         * math/w_log10f.c: Likewise.
12724         * math/w_log10l.c: Likewise.
12725         * math/w_log2.c: Likewise.
12726         * math/w_log2f.c: Likewise.
12727         * math/w_log2l.c: Likewise.
12728         * math/w_logf.c: Likewise.
12729         * math/w_logl.c: Likewise.
12730         * math/w_pow.c: Likewise.
12731         * math/w_powf.c: Likewise.
12732         * math/w_powl.c: Likewise.
12733         * math/w_remainder.c: Likewise.
12734         * math/w_remainderf.c: Likewise.
12735         * math/w_remainderl.c: Likewise.
12736         * math/w_scalb.c: Likewise.
12737         * math/w_scalbf.c: Likewise.
12738         * math/w_scalbl.c: Likewise.
12739         * math/w_sinh.c: Likewise.
12740         * math/w_sinhf.c: Likewise.
12741         * math/w_sinhl.c: Likewise.
12742         * math/w_sqrt.c: Likewise.
12743         * math/w_sqrtf.c: Likewise.
12744         * math/w_sqrtl.c: Likewise.
12745         * math/w_tgamma.c: Likewise.
12746         * math/w_tgammaf.c: Likewise.
12747         * math/w_tgammal.c: Likewise.
12749         * po/ja.po: Update from translation team.
12751 2011-09-29  Andreas Jaeger  <aj@suse.de>
12753         [BZ #13179]
12754         * sunrpc/netname.c (netname2host): Fix logic.
12756         [BZ #6779]
12757         [BZ #6783]
12758         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12759         correctly.
12760         * math/w_remainder.c (__remainder): Likewise.
12761         * math/w_remainderf.c (__remainderf): Likewise.
12762         * math/libm-test.inc (remainder_test): Add test cases.
12764 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12766         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
12767         sdiv_qrnnd.
12769 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
12771         * string/test-memcmp.c: Avoid unncessary #defines.
12772         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12774 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12776         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12777         Use new sse2 version for core i3 - i7 as it's faster
12778         than sse42 version.
12779         (bit_Prefer_PMINUB_for_stringop): New.
12780         * sysdeps/x86_64/rawmemchr.S: Update.
12781         Replace with faster SSE2 version.
12782         * sysdeps/x86_64/memrchr.S: New file.
12783         * sysdeps/x86_64/memchr.S: Update.
12784         Replace with faster SSE2 version.
12786 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
12788         * elf/dl-load.c (lose): Add cast to avoid warning.
12790 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
12792         * po/ca.po: Update from translation team.
12794         * inet/getnetgrent_r.c: Hook up nscd.
12795         * nscd/Makefile (routines): Add nscd_netgroup.
12796         (nscd-modules): Add netgroupcache.
12797         (CFLAGS-netgroupcache.c): Define.
12798         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12799         (cache_search): Add const to second parameter.
12800         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12801         INNETGR.
12802         (dbs): Add netgrdb entry.
12803         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12804         (verify_persistent_db): Handle netgrdb.
12805         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12806         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12807         GETFDNETGR.
12808         (netgroup_response_header): Define.
12809         (innetgroup_response_header): Define.
12810         (datahead): Add netgroup_response_header and innetgroup_response_header
12811         elements.
12812         * nscd/nscd.conf: Add entries for netgroup cache.
12813         * nscd/nscd.h (dbtype): Add netgrdb.
12814         (_PATH_NSCD_NETGROUP_DB): Define.
12815         (netgroup_iov_disabled): Declare.
12816         (xmalloc, xcalloc, xrealloc): Move declarations here.
12817         (cache_search): Adjust prototype.
12818         Add netgroup-related prototypes.
12819         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12820         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12821         (__nscd_innetgr): Declare.
12822         * nscd/selinux.c (perms): Use access_vector_t as element type and
12823         add netgroup-related initializers.
12824         * nscd/netgroupcache.c: New file.
12825         * nscd/nscd_netgroup.c: New file.
12826         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12827         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12828         For four parameters use innetgr.
12829         * nss/nss_files/files-init.c: Add definition and callback for netgr.
12830         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12831         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12832         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12834         * nscd/connections.c (register_traced_file): Don't register file
12835         for disabled databases.
12837 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
12839         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12841         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12842         from tree and freeing node.
12844 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
12846         * nss/nsswitch.c (__nss_database_lookup): Handle
12847         nss_parse_service_list out of memory case.
12849 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
12851         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12852         out of memory case.
12854 2011-10-04  Andreas Schwab  <schwab@redhat.com>
12856         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12857         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12858         pass it down.
12859         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12860         elf_machine_rela, elf_machine_lazy_rel.
12861         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12862         (ELF_DYNAMIC_DO_REL): Likewise.
12863         (ELF_DYNAMIC_DO_RELA): Likewise.
12864         (ELF_DYNAMIC_RELOCATE): Likewise.
12865         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12866         to ELF_DYNAMIC_DO_REL.
12867         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12868         (dl_main): In trace mode always set __RTLD_NOIFUNC.
12869         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12870         elf_machine_rela.
12871         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12872         skip_ifunc, don't call ifunc function if non-zero.
12873         (elf_machine_rela): Likewise.
12874         (elf_machine_lazy_rel): Likewise.
12875         (elf_machine_lazy_rela): Likewise.
12876         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12877         (elf_machine_lazy_rel): Likewise.
12878         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12879         Likewise.
12880         (elf_machine_lazy_rel): Likewise.
12881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12882         Likewise.
12883         (elf_machine_lazy_rel): Likewise.
12884         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12885         (elf_machine_lazy_rel): Likewise.
12886         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12887         (elf_machine_lazy_rel): Likewise.
12888         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12889         (elf_machine_lazy_rel): Likewise.
12890         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12891         (elf_machine_lazy_rel): Likewise.
12892         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12893         (elf_machine_lazy_rel): Likewise.
12894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12895         (elf_machine_lazy_rel): Likewise.
12897 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
12899         * nss/nss_files/files-init.c (_nss_files_init): Use static
12900         initialization for all the *_traced_file variables.
12902 2011-09-28  Andreas Schwab  <schwab@redhat.com>
12904         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12906 2011-09-27  Roland McGrath  <roland@hack.frob.com>
12908         [BZ #13226]
12909         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12911 2011-09-27  Andreas Schwab  <schwab@redhat.com>
12913         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12914         Reread the line before reparsing it.
12916 2011-09-26  Andreas Schwab  <schwab@redhat.com>
12918         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12920 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
12921             Maxim Kuvyrkov  <maxim@codesourcery.com>
12922             Joseph Myers  <joseph@codesourcery.com>
12924         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12925         if needed for __stack_chk_guard.
12927 2011-09-19  Roland McGrath  <roland@hack.frob.com>
12929         * sysdeps/posix/spawni.c (script_execute): Always define it.
12930         It will be optimized away if unused.
12931         (maybe_script_execute): New function.
12932         (__spawni): Call it.
12934         * Makerules: Don't include tls.make.
12935         (config-tls): Always set to thread.
12936         * tls.make.c: File removed.
12938 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
12940         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12941         * config.make.in (CPPFLAGS-config): New substituted variable.
12943 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
12945         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12947         [BZ #13192]
12948         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12949         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12951 2011-09-15  Roland McGrath  <roland@hack.frob.com>
12953         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12954         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12955         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12956         (CALL_FAIL): Likewise.
12957         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12958         (CALL_FAIL): Macro removed.
12959         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12961 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
12963         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12964         for __FINITE_MATH_ONLY__ == 1.
12966 2011-09-15  Andreas Schwab  <schwab@redhat.com>
12968         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12969         __ieee754_sqrt instead of sqrt.
12970         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12971         __ieee754_sqrtf instead of sqrtf.
12972         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12973         __floorf instead of floorf.
12974         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12975         __floorf, __truncf instead of floorf, truncf.
12977 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
12979         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12981         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12982         __extern_always_inline.
12983         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12984         32-bit.
12986 2011-09-14  Andreas Schwab  <schwab@redhat.com>
12988         * elf/rtld.c (dl_main): Also relocate in dependency order when
12989         doing symbol dependency testing.
12991 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
12993         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12994         Always define `refsym'.
12996 2011-09-13  Andreas Schwab  <schwab@redhat.com>
12998         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12999         (__FD_ELT): Renamed from __FDELT.
13000         * misc/bits/select2.h (__FD_ELT): Likewise.
13001         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13002         __FD_MASK instead of __FDELT, __FDMASK.
13003         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13004         Likewise.
13005         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13006         Likewise.
13008         * elf/Makefile (gen-ldd): Fix pattern.
13010         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13011         (init_tls): Likewise.
13013 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
13015         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13017 2011-09-12  Andreas Schwab  <schwab@redhat.com>
13019         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13020         `struct cmsghdr *' instead of `void *'.
13021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13022         Likewise.
13024 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
13026         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13027         if non-absolute.
13028         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13029         ldd_rewrite_script.
13031 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
13033         * configure.in: Remove --with-tls option.
13034         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13035         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13036         out in case it is missing.
13037         * sysdeps/ia64/elf/configure.in: Likewise.
13038         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13039         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13040         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13041         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13042         * sysdeps/sh/elf/configure.in: Likewise.
13043         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13044         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13045         * sysdeps/x86_64/elf/configure.in: Likewise.
13046         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13047         * sysdeps/mach/hurd/tls.h: Likewise.
13049         [BZ #13067]
13050         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13052         [BZ #13090]
13053         * configure.in: Fix use of AC_INIT.
13055         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13057 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
13059         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13060         __set_errno.
13061         * malloc/hooks.c: Likewise.
13063         [BZ #11929]
13064         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
13065         variables statically.
13066         (narenas): Initialize.
13067         (list_lock): Initialize.
13068         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
13069         initializtion of main_arena and list_lock.  Small cleanups.
13070         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13071         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
13072         Add initializers to main_arena and mp_.
13073         (malloc_state): Remove pagesize member.  Change all users to use
13074         GLRO(dl_pagesize).
13076         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13077         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
13078         is always initialized.
13080         * malloc/malloc.c: Removed unused configurations and dead code.
13081         * malloc/arena.c: Likewise.
13082         * malloc/hooks.c: Likewise.
13083         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13085         * include/tls.h: Removed.  USE___THREAD must always be defined.
13086         * bits/libc-tsd.h: Don't handle !USE___THREAD.
13087         * elf/dl-libc.c: Likewise.
13088         * elf/dl-tsd.c: Likewise.
13089         * include/errno.h: Likewise.
13090         * include/netdb.h: Likewise.
13091         * include/resolv.h: Likewise.
13092         * inet/herrno-loc.c: Likewise.
13093         * inet/herrno.c: Likewise.
13094         * malloc/arena.c: Likewise.
13095         * malloc/hooks.c: Likewise.
13096         * malloc/malloc.c: Likewise.
13097         * resolv/res-state.c: Likewise.
13098         * resolv/res_libc.c: Likewise.
13099         * sysdeps/i386/dl-machine.h: Likewise.
13100         * sysdeps/ia64/dl-machine.h: Likewise.
13101         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13102         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13103         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13104         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13105         * sysdeps/sh/dl-machine.h: Likewise.
13106         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13107         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13108         * sysdeps/unix/i386/sysdep.S: Likewise.
13109         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13110         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13112         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13114         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13115         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13119         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13120         * sysdeps/x86_64/dl-machine.h: Likewise.
13121         * tls.make.c: Likewise.
13123         * configure.in: Remove --with-__thread option.  Make tests for
13124         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13125         tls_model attribute fail if no support is available.  Remove
13126         USE_IN_LIBIO.
13127         * Makeconfig: Adjust for dropped configure option.  All features are
13128         now mandatory.
13129         * Makerules: Likewise.
13130         * Versions.def: Likewise.
13131         * argp/argp-fmtstream.c: Likewise.
13132         * argp/argp-fmtstream.h: Likewise.
13133         * argp/argp-help.c: Likewise.
13134         * assert/assert.c: Likewise.
13135         * config.h.in: Likewise.
13136         * config.make.in: Likewise.
13137         * configure: Likewise.
13138         * configure.in: Likewise.
13139         * csu/Versions: Likewise.
13140         * csu/init.c: Likewise.
13141         * elf/tst-audit2.c: Likewise.
13142         * elf/tst-tls10.c: Likewise.
13143         * elf/tst-tls10.h: Likewise.
13144         * elf/tst-tls11.c: Likewise.
13145         * elf/tst-tls12.c: Likewise.
13146         * elf/tst-tls14.c: Likewise.
13147         * elf/tst-tlsmod11.c: Likewise.
13148         * elf/tst-tlsmod12.c: Likewise.
13149         * elf/tst-tlsmod13.c: Likewise.
13150         * elf/tst-tlsmod13a.c: Likewise.
13151         * elf/tst-tlsmod14a.c: Likewise.
13152         * elf/tst-tlsmod15b.c: Likewise.
13153         * elf/tst-tlsmod16a.c: Likewise.
13154         * elf/tst-tlsmod16b.c: Likewise.
13155         * elf/tst-tlsmod7.c: Likewise.
13156         * elf/tst-tlsmod8.c: Likewise.
13157         * elf/tst-tlsmod9.c: Likewise.
13158         * gmon/gmon.c: Likewise.
13159         * grp/fgetgrent_r.c: Likewise.
13160         * grp/putgrent.c: Likewise.
13161         * hurd/fopenport.c: Likewise.
13162         * include/libc-symbols.h: Likewise.
13163         * include/tls.h: Likewise.
13164         * intl/gettextP.h: Likewise.
13165         * intl/loadinfo.h: Likewise.
13166         * locale/global-locale.c: Likewise.
13167         * locale/localeinfo.h: Likewise.
13168         * mach/devstream.c: Likewise.
13169         * malloc/arena.c: Likewise.
13170         * malloc/set-freeres.c: Likewise.
13171         * misc/err.c: Likewise.
13172         * misc/getttyent.c: Likewise.
13173         * misc/mntent_r.c: Likewise.
13174         * posix/getopt.c: Likewise.
13175         * posix/wordexp.c: Likewise.
13176         * pwd/fgetpwent_r.c: Likewise.
13177         * resolv/Versions: Likewise.
13178         * resolv/res_hconf.c: Likewise.
13179         * shadow/fgetspent_r.c: Likewise.
13180         * shadow/putspent.c: Likewise.
13181         * stdio-common/printf_fphex.c: Likewise.
13182         * stdio-common/tmpfile.c: Likewise.
13183         * stdlib/abort.c: Likewise.
13184         * stdlib/fmtmsg.c: Likewise.
13185         * sunrpc/auth_unix.c: Likewise.
13186         * sunrpc/clnt_perr.c: Likewise.
13187         * sunrpc/clnt_tcp.c: Likewise.
13188         * sunrpc/clnt_udp.c: Likewise.
13189         * sunrpc/clnt_unix.c: Likewise.
13190         * sunrpc/openchild.c: Likewise.
13191         * sunrpc/svc_simple.c: Likewise.
13192         * sunrpc/svc_tcp.c: Likewise.
13193         * sunrpc/svc_udp.c: Likewise.
13194         * sunrpc/svc_unix.c: Likewise.
13195         * sunrpc/xdr.c: Likewise.
13196         * sunrpc/xdr_array.c: Likewise.
13197         * sunrpc/xdr_rec.c: Likewise.
13198         * sunrpc/xdr_ref.c: Likewise.
13199         * sunrpc/xdr_stdio.c: Likewise.
13201 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13203         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13205 2011-07-03  Andreas Jaeger  <aj@suse.de>
13207         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13208         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13209         regenerate with gen-libm-tests.pl.
13211 2010-05-12  Petr Baudis  <pasky@suse.cz>
13213         [BZ #11589]
13214         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13215         around j0() zero points by switching to j1().
13216         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13217         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13219         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13221 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13223         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13224         instead of 0.
13225         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13226         instead of 0.                              .
13227         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13228         Patch in part by Pavel Roskin <proski@gnu.org>.
13230         [BZ #13138]
13231         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13232         realloc.
13233         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
13234         Free memory block if necessary.
13236         [BZ #12847]
13237         * libio/genops.c (INTDEF): For string streams the _lock pointer can
13238         be NULL.  Don't lock in this case.
13240 2011-09-09  Roland McGrath  <roland@hack.frob.com>
13242         * elf/elf.h (ELFOSABI_GNU): New macro.
13243         (ELFOSABI_LINUX): Define to that.
13245 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
13247         * string/strncat.c (strncat): Undef the symbol in case it has been
13248         defined in bits/string.h.
13250 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13252         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13254         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13255         link map.
13257 2011-08-17  Andreas Jaeger  <aj@suse.de>
13259         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13261 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13262             Ian Lance Taylor  <iant@google.com>
13264         * math/libm-test.inc (lround_test): New testcase.
13265         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13267 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
13269         * Makefile: Remove support for automatic cvs check-ins.
13270         * Makerules: Likewise.
13271         * config.make.in: Likewise.
13272         * configure.in: Likewise.
13273         * intl/Makefile: Likewise.
13274         * locale/Makefile: Likewise.
13275         * po/Makefile: Likewise.
13276         * posix/Makefile: Likewise.
13277         * sysdeps/gnu/Makefile: Likewise.
13278         * sysdeps/mach/hurd/Makefile: Likewise.
13279         * sysdeps/sparc/sparc32/Makefile: Likewise.
13281         [BZ #13118]
13282         * posix/Makefile (bug-regex32-ENV): Define.
13283         Patch by John Stanley <jpsinthemix@verizon.net>.
13285         * misc/Makefile (headers): Add bits/select2.h.
13286         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13287         * misc/bits/select2.h: New file.
13288         * include/bits/select2.h: New file.
13289         * debug/Makefile (routines): Add fdelt_chk.
13290         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13291         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13292         FD_ISSET.
13293         * debug/fdelt_chk.c: New file.
13295         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
13296         * wcsmbs/test-wmemcmp.c: Likewise.
13297         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13298         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13300 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13302         * string/Makefile (strop-tests): Add memcmp.
13303         * string/test-wmemcmp.c: New file.
13304         * string/test-memcmp.c: Add wmemcmp support.
13306 2011-09-08  Roland McGrath  <roland@hack.frob.com>
13308         [BZ #13153]
13309         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13310         2011-07-19 change.
13312         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13313         garbage value in a __mach_port_mod_refs call in the cases of the
13314         task-self and thread-self ports.
13316 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13318         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13320 2011-09-08  Andreas Schwab  <schwab@redhat.com>
13322         * elf/dl-load.c (lose): Check for non-null L.
13324 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
13326         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13328         * elf/dl-libc.c (dlerror_run): Pass back error code from
13329         dl_catch_error.
13331         [BZ #13123]
13332         * elf/dl-load.c (lose): Free l_origin if it is valid.
13334         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13335         names.
13336         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13337         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13338         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13339         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13340         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13341         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13343 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13345         * sysdeps/powerpc/fpu/e_hypot.c: New file.
13346         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13347         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13348         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13349         * sysdeps/powerpc/fpu/k_cosf.c: New file.
13350         * sysdeps/powerpc/fpu/k_sinf.c: New file.
13351         * sysdeps/powerpc/fpu/s_cosf.c: New file.
13352         * sysdeps/powerpc/fpu/s_sinf.c: New file.
13353         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13354         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13356 2011-08-15  Alan Modra  <amodra@gmail.com>
13358         [BZ #13092]
13359         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13360         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13361         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
13362         ppc_mcount to static-only-routines.
13363         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13364         __mcount_internal.
13365         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13366         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
13368 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
13370         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13371         for finite and infinity parameters.
13373 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
13375         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13376         and add nop instructions for throughput optimization.
13377         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13379 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
13381         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13382         aligned copy for power7 with vector-scalar instructions.
13383         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13385 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
13387         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13388         AVX check.
13390 2011-09-07  Andreas Schwab  <schwab@redhat.com>
13392         [BZ #13144]
13393         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13394         last change.
13396 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
13398         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13399         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13400         syscall wrapper around clock_gettime in __vdso_clock_gettime.
13401         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13402         clock_gettime.
13404 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
13406         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13407         Forgot to demangle the pointer.
13409         * sysdeps/i386/sysdep.h: Define atom_text_section.
13410         * sysdeps/x86_64/sysdep.h: Likewise.
13411         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13412         section with atom_text_section.
13413         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13414         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13415         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13416         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13417         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13419         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13420         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13421         already be defined.  Change to take two parameters and don't assign
13422         result to variable.  Adjust all users.
13423         Define INTERNAL_GETTIME if not already defined.
13424         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13425         call.
13426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13427         HAVE_CLOCK_GETTIME_VSYSCALL.
13428         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13430         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13431         gettimeofday vsyscall, just use time.
13433 2011-09-06  Andreas Schwab  <schwab@redhat.com>
13435         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13436         <errno.h>.
13438 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
13440         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13441         syscall on x86-64.
13442         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13443         syscall.
13444         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13445         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13446         syscall if possible.
13448 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
13450         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13451         e_ident.  Don't pass to find_mapsXX.
13452         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13454 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13457         strchr-sse2-no-bsf strrchr-sse2-no-bsf
13458         * sysdeps/x86_64/multiarch/strchr.S: Update.
13459         Check bit_slow_BSF bit.
13460         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13461         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13462         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13464 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
13466         [BZ #13134]
13467         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13468         before glibc 2.15.
13469         (tryshell): Define.
13470         (__spawni): Change last parameter to be flag.  Test
13471         SPAWN_XFLAGS_USE_PATH flag to use path or not.
13472         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13473         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13474         * posix/spawni.c: Likewise.
13475         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13476         * posix/spawnp.c: Likewise.  Change normal version to use
13477         SPAWN_XFLAGS_USE_PATH.
13478         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13479         SPAWN_XFLAGS_TRY_SHELL.
13481         [BZ #13150]
13482         * posix/glob.h: Remove gcc 1.x support.
13484         [BZ #13068]
13485         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13487 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13490         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13491         strrchr-sse2-bsf
13492         * sysdeps/i386/i686/multiarch/strchr.S: New file.
13493         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13494         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13495         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13496         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13497         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13499 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13501         * sysdeps/x86_64/wcscmp.S: New file.
13503         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13504         wcscmp-c wcscmp-sse2
13505         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13506         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13507         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13508         * wcsmbs/wcscmp.c: Allow renaming.
13510 2011-09-05  David S. Miller  <davem@davemloft.net>
13512         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13513         stack slot, rather than the struct return pointer slot.
13514         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13515         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13517         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13519 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
13521         * po/ja.po: Update from translation team.
13523         [BZ #13144]
13524         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13525         kernel in 64-bit binaries.
13527 2011-09-01  David S. Miller  <davem@davemloft.net>
13529         * elf/elf.h (HWCAP_SPARC_*): Move to..
13530         * sysdeps/sparc/sysdep.h: this new file and add new values.
13531         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13532         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13533         _DL_HWCAP_COUNT to 24.
13534         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13535         entries.
13536         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13537         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13538         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13539         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13540         instead of magic constants.
13541         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13543 2011-08-31  David S. Miller  <davem@davemloft.net>
13545         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13546         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13547         Reimplement to do errno handling inline.
13548         (SYSCALL_ERROR_HANDLER): New macro.
13549         (__SYSCALL_STRING): Do not do errno handling in asm.
13550         (__CLONE_SYSCALL_STRING): Delete.
13551         (__INTERNAL_SYSCALL_STRING): Delete.
13552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13553         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13554         (PSEUDO): Reimplement to do errno handling inline.
13555         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13556         (SYSCALL_ERROR_HANDLER): New macro.
13557         (__SYSCALL_STRING): Do not do errno handling in asm.
13558         (__CLONE_SYSCALL_STRING): Delete.
13559         (__INTERNAL_SYSCALL_STRING): Delete.
13560         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13561         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13562         i386.
13563         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13564         (inline_syscall*): Add 'err' argument.
13565         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13566         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13567         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13568         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13570         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13571         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13573 2011-08-30  Andreas Schwab  <schwab@redhat.com>
13575         * elf/rtld.c (dl_main): Relocate objects in dependency order.
13577 2011-08-29  Jiri Olsa <jolsa@redhat.com>
13579         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13580         directive.
13582 2011-08-24  David S. Miller  <davem@davemloft.net>
13584         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13586 2011-08-24  Andreas Schwab  <schwab@redhat.com>
13588         * elf/Makefile: Add rules to build and run unload8 test.
13589         * elf/unload8.c: New file.
13590         * elf/unload8mod1.c: New file.
13591         * elf/unload8mod1x.c: New file.
13592         * elf/unload8mod2.c: New file.
13593         * elf/unload8mod3.c: New file.
13595         * elf/dl-close.c (_dl_close_worker): Reset private search list if
13596         it wasn't used.
13598 2011-08-23  David S. Miller  <davem@davemloft.net>
13600         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13601         subtract stack bias.
13602         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13603         %sp not %fp in calculations.
13604         (_JMPBUF_UNWINDS_ADJ): Likewise.
13606         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13607         (aio_suspend): Call it to force an exception region around the
13608         AIO_MISC_WAIT() invocation.
13610 2011-08-23  Andreas Schwab  <schwab@redhat.com>
13612         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13613         backslash.
13615 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
13617         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13618         protection macro.
13619         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13620         and <dl-machine.h>.
13621         (Elf64_FuncDesc): Remove.
13623 2011-08-22  David S. Miller  <davem@davemloft.net>
13625         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13626         sigaltstack check, add missing cfi directives.
13627         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13628         missing cfi directives, and sigaltstack handling.
13630 2011-08-16  Andreas Schwab  <schwab@redhat.com>
13632         [BZ #11724]
13633         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13634         object is seen twice.
13635         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13637         * elf/Makefile (distribute): Add tst-initorder2.c.
13638         (tests): Add tst-initorder2.
13639         (modules-names): Add tst-initorder2a tst-initorder2b
13640         tst-initorder2c tst-initorder2d.  Add rules to build them.
13641         ($(objpfx)tst-initorder2.out): New rule.
13642         * elf/tst-initorder2.c: New file.
13643         * elf/tst-initorder2.exp: New file.
13645 2011-08-22  Andreas Schwab  <schwab@redhat.com>
13647         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13649         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13650         dependencies back to end of function.
13652         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13653         $(elfobjdir)/ld.so.
13655 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
13657         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13658         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13660         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13661         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13662         of __vdso_gettimeofday.
13663         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13664         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
13665         attribute_hidden.
13666         (_libc_vdso_platform_setup): Remove initialization of
13667         __vdso_gettimeofday and __vdso_time.
13669 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
13671         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13672         and fgetc_unlocked.
13673         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13674         getc_unlocked.
13676         * elf/dl-open.c (add_to_global): Report additions to the global scope
13677         for LD_DEBUG=scopes.
13678         (dl_open_worker): Also print scope of newly loaded dependencies.
13679         (_dl_show_scope): Indicate if there is no scope.
13681         [BZ #13114]
13682         * stdio-common/Makefile (tests): Add bug24.
13683         * stdio-common/bug24.c: New file.
13685 2011-08-19  Andreas Jaeger  <aj@suse.de>
13687         [BZ #13114]
13688         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13689         non-existant file when using close-on-exec mode.
13691 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
13693         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13694         the very first instruction.
13696         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13697         the CFI state in the end.
13698         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13699         inclusion of dl-trampoline.h.
13700         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13702 2011-08-19  Andreas Schwab  <schwab@redhat.com>
13704         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13705         expectations for long double.
13707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13708         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13710 2011-08-14  David S. Miller  <davem@davemloft.net>
13712         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13713         artificual limit depends upon the system page size.
13715 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
13717         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13718         * resolv/Makefile: Define CFLAGS-libresolv.
13720 2011-08-17  Andreas Schwab  <schwab@redhat.com>
13722         * nss/makedb.c (compute_tables): Make variables used in nested
13723         function static.
13725 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
13727         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13728         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13729         if buffer was too small.
13731         * elf/pldd.c (main): Attach to all threads in the process.
13732         Rewrite /proc handling to use *at functions.
13734 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
13736         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13737         specifies first scope to show.
13738         (dl_open_worker): Update callers.  Move printing scope of new
13739         object to before the relocation.
13740         * elf/rtld.c (dl_main): Update _dl_show_scope call.
13741         * sysdeps/generic/ldsodefs.h: Update declaration.
13743         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13744         string for the scope number.
13746 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
13748         * nscd/servicescache.c (cache_addserv): Make sure written is always
13749         initialized.
13751 2011-08-14  Roland McGrath  <roland@hack.frob.com>
13753         * sysdeps/i386/i486/bits/atomic.h
13754         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13755         statement expression, so as to suppress "set but not used" warning.
13756         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13758         * string/strncat.c (STRNCAT): Use prototype definition.
13760         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13761         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13762         -Iprograms here.
13763         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13764         (localedef-modules): Add localedef.
13765         (locale-modules): Add locale.
13767         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13768         * elf/rtld.c (dl_main): Invert order of assignment in last change,
13769         to avoid a warning.
13771 2011-08-14  David S. Miller  <davem@davemloft.net>
13773         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13774         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13776 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
13778         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13779         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13780         * elf/rtld.c (dl_main): Set l_name of vDSO.
13781         Call _dl_show_scope when DL_DEBUG_SCOPES.
13782         (process_dl_debug): Recognize scopes flag and also set it for all.
13783         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13784         Declare _dl_show_scope.
13786         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13787         (do_dlopen): Pass caller_dlopen to dl_open.
13788         (__libc_dlopen_mode): Initialize caller_dlopen.
13790         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13791         of libc.  Make tolower call locale-independent.  Optimize a bit by
13792         using isdigit instead of isalnum.
13793         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13795 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
13797         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13798         was a dependency or dynamically loaded.
13800 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
13802         * intl/l10nflist.c: Allow architecture-specific pop function.
13803         * sysdeps/x86_64/l10nflist.c: New file.
13805         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13806         classification.
13808 2011-08-10  Andreas Schwab  <schwab@redhat.com>
13810         * include/dirent.h: Add libc_hidden_proto for scandirat and
13811         scandirat64.  Don't declare __scandirat64.
13812         * dirent/scandirat.c: Add libc_hidden_def.
13813         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13814         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13816 2011-08-10  David S. Miller  <davem@davemloft.net>
13818         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13819         enum.
13820         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13821         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13822         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13824 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
13826         * Versions.def [libc]: Add GLIBC_2.15.
13827         * dirent/Makefile (routines): Add scandirat and scandirat64.
13828         * dirent/Versions [libc]: Export scandirat and scandirat64 for
13829         GLIBC_2.15.
13830         * dirent/dirent.h: Declare scandirat and scandirat64.
13831         * dirent/scandirat.c: New file.
13832         * dirent/scandirat64.c: New file.
13833         * sysdeps/wordsize-64/scandirat.c: New file.
13834         * sysdeps/wordsize-64/scandirat64.c: New file.
13835         * dirent/opendir.c: Define opendirat.
13836         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
13837         using scandirat.
13838         * dirent/scandir64.c: Adjust for scandir.c change.
13839         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
13840         __scandirat64, and __scandir_cancel_handler.
13841         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
13842         additional parameter and use openat instead of open (outside of ld.so).
13843         Add new __opendir as wrapper around __opendirat.
13844         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13845         here without requiring old scandirat implementation.
13847 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
13849         * dirent/scandir.c (cancel_handler): Renamed to
13850         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
13851         defined.  Adjust users.
13852         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13853         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13855 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
13857         * string/test-string.h (IMPL): Use __STRING to expand name and then
13858         stringify it.
13860         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
13861         of cleanups.
13863 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13865         * string/Makefile: Update.
13866         (strop-tests): Append strncat.
13867         * string/test-wcscmp.c: New file.
13868         New comprehensive test for wcscmp.
13869         * string/test-strcmp.c: Update.
13870         (WIDE): New define.
13872 2011-07-22  Andreas Schwab  <schwab@redhat.com>
13874         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13875         line.
13877 2011-07-26  Andreas Schwab  <schwab@redhat.com>
13879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13880         encoding to ACE if AI_IDN.
13882 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
13884         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13885         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13887 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13889         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13890         Fix overflow bug in strncat.
13891         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13893         * string/test-strncat.c: Update.
13894         Add new tests for checking overflow bugs.
13896 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13899         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13900         * sysdeps/i386/i686/multiarch/strcat.S: New file.
13901         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13902         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13903         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13904         * sysdeps/i386/i686/multiarch/strncat.S: New file.
13905         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13906         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13908         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13909         (USE_AS_STRCAT): Define.
13910         Add strcat and strncat support.
13911         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13913 2011-07-25  Andreas Schwab  <schwab@redhat.com>
13915         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13916         __n bigger than INT_MAX+1.
13917         (__strncmp_g): Likewise.
13919 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
13921         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13922         * libio/stido.h: Likewise.
13924         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13925         (AF_NFC): Define.
13926         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13927         (AF_NFC): Define.
13929         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13930         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13931         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13932         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13933         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13935         [BZ #13021]
13936         * scripts/test-installation.pl: Don't expect libnss_test1 to be
13937         installed.
13939         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13940         typo.
13941         (_dl_x86_64_save_sse): Likewise.
13943 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
13945         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13946         OSXSAVE.
13947         (_dl_x86_64_save_sse): Likewise.
13949         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13951         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13953 2011-07-21  Andreas Schwab  <schwab@redhat.com>
13955         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13956         change.
13957         (_dl_x86_64_save_sse): Use correct AVX check.
13959 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13961         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13962         bug in strncpy/strncat.
13963         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13965 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
13967         * string/tester.c (test_strcat): Add tests for different alignments
13968         of source and destination.
13969         (test_strncat): Likewise.
13971 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
13973         [BZ #12852]
13974         * posix/glob.c (glob): Check passed in values before using them in
13975         expressions to avoid some overflows.
13976         (glob_in_dir): Likewise.
13978         [BZ #13007]
13979         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13980         check for AVX enablement so that we don't crash with old kernels and
13981         new hardware.
13982         * elf/tst-audit4.c: Add same checks here.
13983         * elf/tst-audit6.c: Likewise.
13985         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13987 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
13989         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13991 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
13993         * po/cs.po: Update from translation team.
13994         * po/bg.po: Likewise.
13996 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
13998         * misc/sys/cdefs.h: Add support for const attribute.
13999         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14000         to gnu_dev_{major,minor,makedev} functions.
14002 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
14004         * intl/dcigettext.c (get_output_charset): Add missing bracket.
14006 2011-07-20  Andreas Schwab  <schwab@redhat.com>
14008         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14009         strlen results.
14011 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14013         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14014         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14015         register in order to avoid conflicts with the soft frame pointer
14016         being held in r11 when necessary.
14017         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14018         (INTERNAL_VSYSCALL_NCS): Likewise.
14020 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
14022         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14023         * elf/dl-fini.c (_dl_fini): Adjust caller.
14024         * elf/dl-close.c (_dl_close_worker): Likewise.
14025         * sysdeps/generic/ldsodefs.h: Adjust declaration.
14027 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
14029         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14030         "aux_cache->nlibs < 0".
14032         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14033         in the reload-count case.
14035 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14038         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14039         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14040         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14041         * sysdeps/x86_64/multiarch/strcat.S: New file.
14042         * sysdeps/x86_64/multiarch/strncat.S: New file.
14043         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14044         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14045         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14046         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14047         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14048         (USE_AS_STRCAT): Define.
14049         Add strcat and strncat support.
14050         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14051         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14052         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14053         * string/strncat.c: Update.
14054         (USE_AS_STRNCAT): Define.
14055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14056         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14057         and i7.
14058         * sysdeps/x86_64/multiarch/init-arch.h
14059         (bit_Prefer_PMINUB_for_stringop): New.
14060         (index_Prefer_PMINUB_for_stringop): Likewise.
14061         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14062         bit_Prefer_PMINUB_for_stringop.
14064 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
14066         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14067         buffer64.
14068         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14069         of casting of buffer.
14070         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14071         buffer32 and buffer64.
14072         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14073         writes instead of casting of buffer.
14074         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14075         buffer32.
14076         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14077         casting of buffer.
14079 2011-07-19  Andreas Schwab  <schwab@redhat.com>
14081         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14083 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
14085         * nscd/nscd.c (termination_handler): Don't do anything for a database
14086         if it has not yet been initialized.
14088 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
14090         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14092 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
14094         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14096 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
14098         * po/nl.po: Update from translation team.
14099         * po/sv.po: Likewise.
14101 2011-07-16  Roland McGrath  <roland@hack.frob.com>
14103         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14104         now disallowed by GCC.
14106         * configure.in (use-default-link): Default to yes if a test -shared
14107         link meets our qualifications.
14108         * configure: Regenerated.
14110         * config.make.in (output-format): New variable.
14111         * configure.in: Check for ld --print-output-format support.
14112         * configure: Regenerated.
14113         * Makerules ($(common-objpfx)format.lds)
14114         [$(output-format) != unknown]: Just use $(output-format),
14115         instead of the linker-script munging.
14117 2011-07-14  Roland McGrath  <roland@hack.frob.com>
14119         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14120         of $(common-objpfx)shlib.lds.
14121         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14123         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14124         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14126         * configure.in (-z relro check): Adjust test code to add a large
14127         writable data section after it.
14128         * configure: Regenerated.
14130 2011-07-11  Roland McGrath  <roland@hack.frob.com>
14132         * configure.in (-z relro check): Fix test code to make the variable
14133         truly const.
14134         * configure: Regenerated.
14136 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
14138         * nscd/nscd.h (struct traced_file): Define.
14139         (struct database_dyn): Remove inotify_descr, reset_res, and filename
14140         elements.  Add traced_files.
14141         (inotify_fd): Declare.
14142         (register_traced_file): Declare.
14143         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14144         (inotify_fd): Export.
14145         (resolv_conf_descr): Remove.
14146         (nscd_init): Move inotify descriptor creation to main.
14147         Don't register files for notification here.
14148         (register_traced_file): New function.
14149         (invalidate_cache): Don't use reset_res to determine whether to call
14150         res_init, go through the list of registered files.
14151         (main_loop_poll): The inotify descriptors are now stored in the
14152         structures for the traced files.
14153         (main_loop_epoll): Likewise
14154         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
14155         to __nss_disable_nscd.
14156         * nscd/cache.c (prune_cache): There is no single inotify descriptor
14157         for a database anymore.  Check the records for all the registered
14158         files instead.
14159         * nss/Makefile (libnss_files-routines): Add files-init.
14160         (libnss_db-routines): Add db-init.
14161         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14162         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14163         * nss/nss_db/db-init.c: New file.
14164         * nss/nss_files/files-init.c: New file.
14165         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
14166         __nss_lookup_function.
14167         (__nss_lookup_function): Call nss_load_library.
14168         (nss_load_all_libraries): New function.
14169         (__nss_disable_nscd): Take parameter with callback function for files
14170         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
14171         used for the cached services.
14172         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14173         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14174         options for features to all the files in nscd.
14176         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14178 2011-07-10  Roland McGrath  <roland@hack.frob.com>
14180         * csu/elf-init.c (__libc_csu_init): Comment typo.
14182 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
14184         * po/pl.po: Update from translation team.
14185         * po/ja.po: Likewise.
14186         * po/ru.po: Likewise.
14187         * po/ko.po: Likewise.
14188         * po/fr.po: Likewise.
14190 2011-07-09  Roland McGrath  <roland@hack.frob.com>
14192         * configure.in (.ctors/.dtors header and trailer check):
14193         Use an empirical test on a built program.
14194         * configure: Regenerated.
14196         * configure.in (-z relro check): Use an empirical test on a built DSO.
14197         Detect, but do not require, on ia64.
14198         * configure: Regenerated.
14200         * configure.in (READELF): Find it with AC_CHECK_TOOL.
14201         Update tests that use readelf to use $READELF instead.
14202         * configure: Regenerated.
14204 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
14206         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14207         if the result is not used.
14209 2011-07-05  Andreas Jaeger  <aj@suse.de>
14211         [BZ#9696]
14212         * stdlib/tst-strtod.c: Add testcase.
14214 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
14216         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14217         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14218         The latter has a higher limit.  Take additional parameter to pass to
14219         the new function.
14220         (__pathconf): Pass file to __statfs_link_max.
14221         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14222         __statfs_link_max.
14223         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14224         __statfs_link_max.
14226         [BZ #12868]
14227         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14228         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14229         Handle Lustre.
14230         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14231         (__statfs_filesize_max): Likewise.
14232         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14234 2011-07-05  Andreas Jaeger  <aj@suse.de>
14236         * resolv/res_comp.c (dn_skipname): Remove unused variable.
14238 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
14240         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14241         `status' variable.
14242         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14243         Likewise.
14245 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
14247         * Makefile (strop-tests): Add strncat.
14248         * string/test-strncat.c: New file.
14250 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
14252         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14254 2011-06-21  Andreas Jaeger  <aj@suse.de>
14256         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14257         Copy rule from iconvdata/Makefile.
14259 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
14261         [BZ #12922]
14262         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14263         but no long options are defined, just return 'W'.
14265 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
14267         [BZ #9696]
14268         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14270 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
14272         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14273         netgroups to read.
14274         (innetgr): Likewise.
14276 2011-07-05  Roland McGrath  <roland@hack.frob.com>
14278         * config.make.in (install_root): Default to $(DESTDIR).
14280 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
14282         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14284 2011-07-02  Roland McGrath  <roland@hack.frob.com>
14286         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14288         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14289         containing directory rather than embedding absolute directory names.
14291         * scripts/check-local-headers.sh: Rewritten using awk.
14292         Match by word, not by line.  Print error messages for matches.
14293         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14295         * Makerules [shlib-lds-flags empty]:
14296         ($(common-objpfx)libc_pic.opts): New target.
14297         ($(common-objpfx)libc_pic.os.clean): New target.
14298         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14300         * config.make.in (OBJCOPY): New variable.
14301         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14302         * configure: Regenerated.
14304         * config.make.in (use-default-link): New variable.
14305         * configure.in (use_default_link): Grok --with-default-link to set it.
14306         * configure: Regenerated.
14307         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14308         (shlib-lds, shlib-lds-flags): Define to empty.
14310         * Makerules (shlib-lds): New variable.
14311         (shlib-lds-flags): New variable.
14312         (build-shlib, build-moduile, build-module-asneeded): Use it.
14313         ($(common-objpfx)libc.so): Use $(shlib-lds).
14314         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14315         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14317         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14318         DT_FLAGS/DT_FLAGS_1 with zero flags.
14320         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14321         linker script munging.
14323 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
14325         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14326         as 128-bit value.
14327         * crypt/sha512.c (sha512_process_block): Perform total addition using
14328         128-bit if possible.
14329         (__sha512_finish_ctx): Likewise.
14330         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14331         as 64-bit value.
14332         * crypt/sha256.c (SWAP64): Define.
14333         (sha256_process_block): Perform total addition using 64-bit if
14334         possible.
14335         (__sha256_finish_ctx): Likewise.
14337 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
14339         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
14340         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14341         * nscd/hstcache.c (cache_addhst): Likewise.
14342         * nscd/grpcache.c (cache_addgr): Likewise.
14343         * nscd/aicache.c (addhstaiX): Likewise
14344         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14346 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
14348         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14349         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14350         * nscd/hstcache.c (cache_addhst): Likewise.
14351         * nscd/grpcache.c (cache_addgr): Likewise.
14352         * nscd/aicache.c (addhstaiX): Likewise
14354 2011-07-01  Andreas Schwab  <schwab@redhat.com>
14356         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14357         domain only when needed.
14359 2011-06-30  Andreas Schwab  <schwab@redhat.com>
14361         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14362         is always restored.
14364 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
14366         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14367         are re-adding the entry.
14368         * nscd/servicescache.c (cache_addserv): Likewise.
14370 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14372         * sysdeps/generic/dl-irel.h: fix protection against multiple
14373         inclusions.
14374         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14376 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
14378         [BZ #12935]
14379         * malloc/memusage.sh: Fix quoting in message.
14380         * debug/xtrace.sh: Likewise.
14382         * configure.in: Remove support for --experimental-malloc option, make
14383         it the default.
14384         * config.make.in: Likewise.
14385         * malloc/Makefile: Likewise.
14387 2011-06-27  Andreas Schwab  <schwab@redhat.com>
14389         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14390         two-byte characters.
14392 2011-06-27  Roland McGrath  <roland@hack.frob.com>
14394         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14395         AC_CACHE_CHECK invocation.
14396         * configure: Regenerated.
14398         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14400 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
14402         [BZ #12350]
14403         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
14404         bit from old_res_options.
14406         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14408         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14409         value type for setfct.
14411 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
14413         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14414         __gettimeofday instead of gettimeofday.
14416 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
14418         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14420 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14422         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14424         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14425         info.
14427 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
14429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14430         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14431         strcpy-sse2-unaligned strncpy-sse2-unaligned
14432         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14433         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14434         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14435         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14436         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14437         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14438         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14439         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14440         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14441         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14442         (STRCPY): Support SSE2 and SSSE3 versions.
14444 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
14446         [BZ #12874]
14447         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14448         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14449         kernels which artificially limit size of requests.
14451 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
14453         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14454         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14455         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14456         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14457         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14458         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14459         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14460         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14461         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14462         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14463         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14464         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14465         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14466         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14467         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14469         Enable unaligned load optimization for Intel Core i3, i5 and i7
14470         processors.
14471         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14472         Define.
14473         (index_Fast_Unaligned_Load): Define.
14474         (HAS_FAST_UNALIGNED_LOAD): Define.
14476 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
14478         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14480 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
14482         [BZ #12907]
14483         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14484         until it is clear that the information is realy needed.
14485         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14487 2011-06-22  Andreas Schwab  <schwab@redhat.com>
14489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14491 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
14493         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14494         /sys/devices/system/cpu/online if it is usable.
14496         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14497         reading the information from the /proc filesystem to once a second.
14499 2011-06-21  Andreas Jaeger  <aj@suse.de>
14501         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14502         NULL after inclusion of kernel headers.
14504 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
14506         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14507         calls to internal_setent.
14509         [BZ #12885]
14510         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14511         addresses using gethostbyname4_r ignore IPv4 addresses.
14513         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14514         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
14516         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14518 2011-06-20  David S. Miller  <davem@davemloft.net>
14520         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14521         inclusions.
14522         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14524         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14525         (elf_irel): Use it.
14526         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14527         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14528         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14529         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14530         * sysdeps/x86_64/dl-irel.h: Likewise.
14532         * elf/dl-runtime.c: Use elf_ifunc_invoke.
14533         * elf/dl-sym.c: Likewise.
14535 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
14537         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
14538         need to dereference resplen2.
14540 2011-06-14  Andreas Schwab  <schwab@redhat.com>
14542         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14544 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
14546         * Makeconfig: Define vardbdir and inst_vardbdir.
14547         * nss/Makefile: Add rules to install db-Makefile.
14549         * nss/nss_db/db-XXX.c: Cleanup.
14551         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14552         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14553         GLIBC_PRIVATE.
14554         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14555         * nss/makedb.c: Implement -g option to specify that value strings
14556         are generated and should not be added to table iterated over for
14557         get*ent calls.
14558         * nss/nss_db/db-initgroups.c: New file.
14560         * nss/getent.c: Add support for initgroups lookups through getgrouplist
14561         interface.
14563         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14564         (internal_getgrouplist): Adjust to name change.
14565         Update use_initgroups_entry if this is not the first call.
14566         * nss/databases.def: Add initgroups entry.
14568         * nss/makedb.c (compute_tables): Check result of multiple hash table
14569         sizes to minimize maximum chain length.
14571 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
14573         * Versions.def: Add entry for libnss_db.
14574         * shlib-versions: Likewise.
14575         * nss/Makefile: Add rules to build libnss_db.
14576         * nss/Versions: Add libnss_db information.  Organize libnss_files
14577         entries better.
14578         * nss/db-Makefile: Add gshadow support.  Change rules for the new
14579         makedb progra.  Some minor improvements to generate smaller files.
14580         * nss/nss_db/nss_db.h: Move NSS database header data structures to
14581         here from...
14582         * nss/makedb.c: ...here.
14583         Improve database format to be smaller and require less memory at
14584         runtime.
14585         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
14586         db anymore.
14587         * nss/nss_db/db-netgrp.c: Likewise.
14588         * nss/nss_db/db-open.c: Likewise.
14589         * nss/nss_files/flies-XXX.x: Adjust comments.
14590         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14591         * nss/nss_files/files-grp.c: Likewise.
14592         * nss/nss_files/files-hosts.c: Likewise.
14593         * nss/nss_files/files-network.c: Likewise.
14594         * nss/nss_files/files-proto.c: Likewise.
14595         * nss/nss_files/files-pwd.c: Likewise.
14596         * nss/nss_files/files-rpc.c: Likewise.
14597         * nss/nss_files/files-service.c: Likewise.
14598         * nss/nss_files/files-sgrp.c: Likewise.
14599         * nss/nss_files/files-spwd.c: Likewise.
14600         * nss/nss_db/db-alias.c: Removed.
14601         * nss/nss_db/dummy-db.h: Removed.
14603 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
14605         * nss/makedb.c: Rewritten to not use database library.
14606         * nss/Makefile: Update to build new makedb program.
14608 2011-06-14  Andreas Jaeger  <aj@suse.de>
14610         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14611         memset declaration.
14613 2011-06-10  Andreas Schwab  <schwab@redhat.com>
14615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14616         tmpbuf.
14618 2011-06-10  Roland McGrath  <roland@hack.frob.com>
14620         * Makerules (shlib.lds): Fail if the linker script comes out empty.
14621         * elf/Makefile ($(objpfx)ld.so): Likewise.
14623         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14624         Don't list ld.so twice in dependencies.
14626         * posix/bug-regex31.c: Include <stdlib.h>.
14628         * nscd/hstcache.c (cache_addhst): Remove unused variable.
14630         * nis/nss_compat/compat-spwd.c
14631         (getspent_next_nss_netgr): Remove unused variable.
14632         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14634         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14635         nonmembers" output to use the right array.
14637         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14639         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14641         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14642         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14643         * catgets/gencat.c (read_input_file): Likewise.
14644         * locale/programs/locarchive.c (enlarge_archive): Likewise.
14646         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14647         variable definition inside #if's controlling its use.
14649         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14651         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14653         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14655         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14656         unreachable code.
14658         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14660         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14661         * configure: Regenerated.
14663         * Makerules: Revert last change.
14664         * elf/Makefile: Likewise.
14666 2011-06-09  Roland McGrath  <roland@hack.frob.com>
14668         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14669         * elf/Makefile ($(objpfx)librtld.os): Likewise.
14670         (reloc-link): Likewise.
14672 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
14674         * elf/Makefile: Add rules to build pldd.
14675         * elf/pldd.c: New file.
14676         * elf/pldd-xx.c: New file.
14678 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
14680         * version.h: Update for 2.15 development version.
14682 2011-06-07  David S. Miller  <davem@davemloft.net>
14684         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14685         ifuncs.
14686         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14687         elf_machine_lazy_rel): Likewise.
14688         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14689         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14690         elf_machine_lazy_rel): Likewise.
14691         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14692         dl_hwcap via passed in argument.
14693         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14694         Likewise.
14696 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14698         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
14700 2011-06-06  Roland McGrath  <roland@hack.frob.com>
14702         [BZ #12849]
14703         * manual/fdl-1.1.texi: New file, verbatim from:
14704         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14705         * manual/lgpl-2.1.texi: New file, verbatim from:
14706         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14707         * manual/Makefile (licenses): New variable, list those new file names.
14708         (texis): Use it.
14709         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14711         * manual/fdl.texi: File removed.
14712         * manual/lesser.texi: File removed.
14713         * manual/libc.texinfo (Copying, Documentation License):
14714         Use new @include file names, put @appendix directive before @include.
14716 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
14718         [BZ #12841]
14719         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14720         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14721         (mq_open): Add __NTH.
14723 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
14725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14726         Assume Intel Core i3/i5/i7 processor if AVX is available.
14728 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
14730         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14731         typo.
14733 2011-05-31  Andreas Schwab  <schwab@redhat.com>
14735         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14736         memory.  Use alloca_account.  Fix memory leak when retrying.
14738 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
14740         * version.h (RELEASE): Bump for 2.14 release.
14741         * include/features.h (__GLIBC_MINOR__): Bump to 14.
14743         * config.make.in (RANLIB): Remove entry.
14745 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
14747         * po/Makefile (po-sed-cmd): Add ksh to extensions.
14748         (libc.pot): Work around missing support for .ksh extension in xgettext.
14750         [BZ #12684]
14751         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14752         if both request failed.
14753         (send_dg): In case of server errors clear resplen or *resplen2.
14755         [BZ #12454]
14756         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14757         when there are multiple maps.
14758         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14759         (_dl_fini): Remove test here.
14761         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14763 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
14765         [BZ #12350]
14766         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14767         bit from old_res_options.
14768         (gaih_inet): Likewise.
14770         [BZ #11099]
14771         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14772         as signed.
14774         * resolv/res_init.c (res_setoptions): Make the code more compact.
14776         [BZ #11558]
14777         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14778         set RES_USEVC.
14780         [BZ #11634]
14781         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14783         * malloc/malloc.h: Mark malloc hook variables as deprecated.
14785         [BZ #11781]
14786         * malloc/malloc.h: Declare malloc hook variables as volatile.
14788         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14789         in last patch.
14791         [BZ #11799]
14792         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14793         raise in the comment.
14794         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14795         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14796         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14798 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
14800         [BZ #12811]
14801         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14802         grow the buffers more if it already has to be sufficient.
14803         (build_wcs_upper_buffer): Likewise.
14804         * posix/regexec.c (check_matching): Likewise.
14805         (clean_state_log_if_needed): Likewise.
14806         (extend_buffers): Don't enlarge buffers beyond size of the input
14807         buffer.
14808         Patches mostly by Emil Wojak <emil@wojak.eu>.
14809         * posix/bug-regex32.c: New file.
14810         * posix/Makefile (tests): Add bug-regex32.
14812         * locale/findlocale.c (_nl_find_locale): Return right away if
14813         _nl_explode_name failed.
14814         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14816         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14818         * debug/xtrace.sh: Unify messages.
14819         * malloc/memusage.sh: Likewise.
14821         [BZ #12813]
14822         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14823         time symbol from vDSO.  Substitute with vsyscall if not available.
14824         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14825         __vdso_time.
14827         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14828         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14829         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14830         Add sendmmsg and internal_sendmmsg.
14831         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14832         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14833         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14835         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14836         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14837         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14839 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
14841         [BZ #12813]
14842         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14843         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
14844         available.
14845         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14846         __vdso_getcpu.
14848         [BZ #12814]
14849         * iconvdata/Makefile (tests): Add bug-iconv9.
14850         * iconvdata/bug-iconv9.c: New file.
14852 2011-05-27  Andreas Schwab  <schwab@redhat.com>
14854         [BZ #12814]
14855         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14857 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
14859         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14860         (struct user_regs_struct): Change intcs field back to cs.
14862 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
14864         * po/ja.po: Update from translation team.
14866 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
14868         [BZ #12795]
14869         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14870         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14872 2011-05-20  Andreas Schwab  <schwab@redhat.com>
14874         * stdlib/longlong.h: Update from GCC.
14876 2011-05-23  Andreas Schwab  <schwab@redhat.com>
14878         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14879         parameter name.
14880         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14881         Add parameter name.
14882         (__sysconf): Pass it down.
14884 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
14886         [BZ #12671]
14887         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14888         some situations.
14889         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14890         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14891         add in in __libc_use_alloca calls.  Adjust callers.
14892         (glob): Use malloc in some situations.
14894         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14895         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14896         pltexit.
14898 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
14900         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14901         and CLOCK_BOOTTIME_ALARM.
14903         [BZ #12782]
14904         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14905         is returned.
14907         * string/_strerror.c (__strerror_r): Print negative errors as signed
14908         numbers.
14910         [BZ #12777]
14911         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14912         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14913         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14915         * configure.in: Fix typo in redirection and correct removal of test
14916         files in two cases.
14918         [BZ #12788]
14919         * locale/setlocale.c (new_composite_name): Fix test to check for
14920         identical name of all categories.
14922         [BZ #12792]
14923         * libio/filedoalloc.c (local_isatty): New function.
14924         (_IO_file_doallocate): Use local_isatty.
14925         * stdio-common/perror.c (perror): In case a new stream is used
14926         forward the stream error.
14927         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14928         error flag.
14930 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
14932         [BZ #11869]
14933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14934         alloca.
14935         * include/alloca.h (extend_alloca_account): Define.
14937         [BZ #11857]
14938         * posix/regex.h: Fix comments with documentation of user-accessible
14939         fields after compilation and describe correct free'ing of pattern
14940         after re_compile_pattern.
14941         Patch by Reuben Thomas <rrt@sc3d.org>.
14943 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
14945         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14946         and -mno-altivec to prevent the compiler from using Altivec and/or
14947         VSX instructions when the corresponding registers are not available.
14949 2011-05-19  Andreas Schwab  <schwab@redhat.com>
14951         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14953 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
14955         * libio/freopen.c (freopen): Use __dup2, not dup2.
14956         * libio/freopen64.c (freopen64): Likewise.
14958 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
14960         [BZ #12775]
14961         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14962         * math/Makefile (tests): Add test-powl.
14963         (CFLAGS-test-powl.c): Define.
14964         * math/test-powl.c: New file.
14966 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
14968         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14970 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
14972         [BZ #11837]
14973         * iconvdata/gb18030.c: Update to GB18020-2005.
14975 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
14977         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14978         RE_SYNTAX_POSIX_AWK): Update to match recent development.
14979         Patch by Aharon Robbins <arnold@skeeve.com>.
14981         [BZ #11892]
14982         * stdlib/putenv.c (putenv): Don't always create copy of the variable
14983         on the stack.
14985         [BZ #11895]
14986         * misc/pselect.c (__pselect): Handle timeout value errors hidden
14987         through underflows.
14989         [BZ #12766]
14990         * misc/error.c (error_at_line): Ensure file_name and old_file_name
14991         point to strings before performing equality test for error_one_per_line
14992         mode.
14994         [BZ #11697]
14995         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14997         [BZ #11820]
14998         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14999         (struct user_fpregs_struct): Avoid __uint*_t types.
15001         [BZ #6420]
15002         * malloc/mtrace.c (tr_where): Add additional parameter to point to
15003         symbol info.  Use it instead of calling _dl_addr locally.
15004         (lock_and_info): New function.
15005         (tr_freehook): Call lock_and_info and pass symbol info as additional
15006         parameter to tr_where.
15007         (tr_mallochook): Likewise.
15008         (tr_reallochook): Likewise.
15009         (tr_memalignhook): Likewise.
15011         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
15012         used and couldn't be at all thread-safe.
15014 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
15016         * libio/freopen.c (freopen): Don't close old file descriptor
15017         before the new one is opened.  Instead dup the new file descriptor
15018         to the old one after the new stream is created.
15019         * libio/freopen64.c (freopen64): Likewise.
15020         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15021         * libio/fileops.c (_IO_new_file_close_it): Handle new
15022         _IO_FLAGS2_NOCLOSE flag.
15023         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15024         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15025         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15026         _IO_FLAGS2_NOCLOSE flag.
15027         * include/unistd.h: Add hidden_proto for dup3.
15028         Define __have_dup3.
15029         * io/dup3.c: Define hidden symbol.
15030         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15032         [BZ #7101]
15033         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15034         when an incomplete long option is used.
15035         * posix/tst-getopt_long1.c: New file.
15036         * posix/Makefile (tests): Add tst-getopt_long1.
15038         [BZ #10138]
15039         * scripts/config.guess: Update from autoconf-2.68.
15040         * scripts/config.sub: Likewise.
15042         [BZ #10157]
15043         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15044         tests into ...
15045         (has_cpuclock): ...this.  New function.
15046         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15047         macro here based on has_cpuclock code.
15049         [BZ #10149]
15050         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15051         First byte (not low byte) is now always NUL.
15052         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15055         Use non-cancelable interfaces.
15057         [BZ #9809]
15058         * locale/iso-639.def: Add entry for Sorani.
15060         [BZ #11901]
15061         * include/stdlib.h: Move include protection to the right place.
15062         Define abort_msg_s.  Declare __abort_msg with it.
15063         * stdlib/abort.c (__abort_msg): Adjust type.
15064         * assert/assert.c (__assert_fail_base): New function.  Majority
15065         of code from __assert_fail.  Allocate memory for __abort_msg with
15066         mmap.
15067         (__assert_fail): Now call __assert_fail_base.
15068         * assert/assert-perr.c: Remove bulk of implementation.  Use
15069         __assert_fail_base.
15070         * include/assert.hL Declare __assert_fail_base.
15071         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15072         mmap.
15073         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15075 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
15077         [BZ #11952]
15078         [BZ #12453]
15079         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15080         until all modules are registered in the DTV.
15081         * elf/Makefile: Add rules to build and run tst-tls19.
15082         * elf/tst-tls19.c: New file.
15083         * elf/tst-tls19mod1.c: New file.
15084         * elf/tst-tls19mod2.c: New file.
15085         * elf/tst-tls19mod3.c: New file.
15086         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15088         [BZ #12083]
15089         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15090         correctly.
15092         [BZ #12601]
15093         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15094         two-byte sequence errors.
15095         * iconvdata/Makefile (tests): Add bug-iconv8.
15096         * iconvdata/bug-iconv8.c: New file.
15098         [BZ #12626]
15099         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15100         buf2 definition.
15102         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15104         [BZ #12432]
15105         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15106         (dummy_getcfa): New function.
15107         (init): Get _Unwind_GetCFA address, use dummy if not found.
15108         (backtrace_helper): In recursion check, also check whether CFA changes.
15109         (__backtrace): Completely initialize arg.
15111         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15112         storing incomplete byte sequence in state object.  Avoid testing for
15113         guaranteed too small input if we know there is enough data available.
15115 2011-05-11  Andreas Schwab  <schwab@redhat.com>
15117         * Makeconfig (+link-pie): Indent.
15118         * Rules (binaries-pie): Define if $(have-fpie) and
15119         $(build-shared).
15120         (binaries-shared): Also filter out $(binaries-pie).
15121         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15122         * nscd/Makefile (others-pie): Add nscd.
15123         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15124         ($(objpfx)nscd): Remove command override.
15125         * login/Makefile (others-pie): Add pt_chown.
15126         ($(objpfx)pt_chown): Remove command override.
15127         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15128         remove command overrides.
15130 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
15132         * libio/tst_putwc.c: Fix error messages.
15134         [BZ #12724]
15135         * libio/fileops.c (_IO_new_file_close_it): Always flush when
15136         currently writing and seek to current position when not.
15137         * libio/Makefile (tests): Add bug-fclose1.
15138         * libio/bug-fclose1.c: New file.
15140 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
15142         [BZ #12511]
15143         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15144         don't set DF_1_NODELETE here.
15145         (do_lookup_x): When entering new entry test for copy relocation
15146         and if necessary set DF_1_NODELETE flag.
15147         * elf/tst-unique4.cc: New file.
15148         * elf/tst-unique4.h: New file.
15149         * elf/tst-unique4lib.cc: New file.
15150         * elf/Makefile: Add rules to build and run tst-unique4.
15151         Patch by Piotr Bury <pbury@goahead.com>.
15153 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
15155         [BZ #12052]
15156         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15158         [BZ #12625]
15159         * misc/mntent_r.c (addmntent): Flush the stream after the output
15161         [BZ #12393]
15162         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15163         (is_trusted_path_normalize): Skip initial colon.  Append slash
15164         to empty buffer.  Duplicate is_trusted_path code but allow
15165         constructed patch to be prefix.
15166         (is_dst): Allow $ORIGIN followed by /.
15167         (_dl_dst_substitute): Correct clearing of check_for_trusted.
15168         Correct testing of result of is_trusted_path_normalize
15169         (decompose_rpath): Fix warning.
15171 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
15173         [BZ #11257]
15174         * grp/initgroups.c (internal_getgrouplist): When we found the service
15175         list through the initgroups entry in nsswitch.conf do not always
15176         continue on a successful lookup.  Don't always use the
15177         __nss_group_database value if it is set.
15178         * nss/nsswitch.conf (initgroups): Change action for successful db
15179         lookup to continue for compatibility.
15181 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
15183         [BZ #11532]
15184         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15185         and CP774 modules.
15186         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15187         and CP774 modules.
15188         * iconvdata/tst-tables.sh: Likewise.
15189         * iconvdata/cp770.c: New file.
15190         * iconvdata/cp771.c: New file.
15191         * iconvdata/cp772.c: New file.
15192         * iconvdata/cp773.c: New file.
15193         * iconvdata/cp774.c: New file.
15194         * iconvdata/testdata/CP770: New file.
15195         * iconvdata/testdata/CP770..UTF8: New file.
15196         * iconvdata/testdata/CP771: New file.
15197         * iconvdata/testdata/CP771..UTF8: New file.
15198         * iconvdata/testdata/CP772: New file.
15199         * iconvdata/testdata/CP772..UTF8: New file.
15200         * iconvdata/testdata/CP773: New file.
15201         * iconvdata/testdata/CP773..UTF8: New file.
15202         * iconvdata/testdata/CP774: New file.
15203         * iconvdata/testdata/CP774..UTF8: New file.
15205         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15206         END CHARMAP line.
15207         * iconvdata/gen-8bit-gap.sh: Likewise.
15208         * iconvdata/gen-8bit.sh: Likewise.
15210         * locale/iso-639.def: Add ary entry.
15212         [BZ #11258]
15213         * locale/C-translit.h.in: Add U20A1 transliteration.
15215         [BZ #12178]
15216         * locale/iso-639.def: Add wae entry.
15217         Patch by Kevin Bortis <bortis@translate-wae.ch>.
15219         [BZ #12545]
15220         * locale/programs/localedef.c (construct_output_path): Use ssize_t
15221         for n.
15223         [BZ #12711]
15224         * locale/C-translit.h.in: Add entry for U20B9.
15225         Patch by pravin.d.s@gmail.com.
15227 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
15229         [BZ #12713]
15230         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15231         ENAMETOOLONG use generic getcwd.
15232         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
15233         in rtld.  Use *stat64.
15234         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15235         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15236         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15237         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15238         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15239         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15240         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15241         __fstatat64 macros.
15242         * include/dirent.h: Add libc_hidden_proto for rewinddir.
15243         * dirent/rewinddir.c: Add libc_hidden_def.
15244         * sysdeps/mach/hurd/rewinddir.c: Likewise.
15245         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
15247         * include/dirent.h (__alloc_dir): Add flags parameter.
15248         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15249         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15250         __alloc_dir.
15251         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
15252         from fdopendir if O_CLOEXEC is already set.
15254 2011-03-15  Alan Modra  <amodra@gmail.com>
15256         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15257         l_tls_firstbyte_offset non-zero.  Save padding offset in
15258         l_tls_firstbyte_offset for later use.
15259         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15260         freeing static tls block.
15262 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
15264         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15265         where #ifdef was intended.  The intent is to prevent ARG_MAX from
15266         being defined by the kernel headers.
15268 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
15270         [BZ #12734]
15271         * resolv/resolv.h: Define RES_NOTLDQUERY.
15272         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15273         no-tld-query and set RES_NOTLDQUERY.
15274         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15275         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15276         modern BIND to search name as TLD unless forbidden.
15278 2011-05-07  Petr Baudis  <pasky@suse.cz>
15279             Ulrich Drepper  <drepper@gmail.com>
15281         [BZ #12393]
15282         * elf/dl-load.c (fillin_rpath): Move trusted path check...
15283         (is_trusted_path): ...to here.
15284         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15285         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15286         using is_trusted_path_normalize() in setuid scripts.
15288 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15290         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15291         __BEGIN/__END_DECLS.
15293 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
15295         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15296         NSS_STATUS_NOTFOUND if no record was found.
15298 2011-05-05  Andreas Schwab  <schwab@redhat.com>
15300         * sunrpc/Makefile (headers): Add rpc/netdb.h.
15301         (headers-not-in-tirpc): Remove rpc/netdb.h
15302         * resolv/netdb.h: Revert last change.
15304 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15306         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15307         circular dependency between libgcc.a and libc.a.
15309 2011-05-05  Andreas Schwab  <schwab@redhat.com>
15311         * resolv/netdb.h: Don't include <rpc/netdb.h>.
15312         * nis/Makefile: Don't install rpcsvc/*.
15313         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15314         instead of <rpc/types.h>.
15315         (MAXHOSTNAMELEN): Define.
15317 2011-05-03  Andreas Schwab  <schwab@redhat.com>
15319         * elf/ldconfig.c (add_dir): Don't crash on empty path.
15321 2011-04-28  Maciej Babinski  <mbabinski@google.com>
15323         [BZ #12714]
15324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15325         gethostbyname4_r when IPv6 results are possible.
15327 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
15329         [BZ #12723]
15330         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15331         _PC_PIPE_BUF handling.
15333 2011-04-30  Bruno Haible  <bruno@clisp.org>
15335         [BZ #12717]
15336         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15337         * resolv/netdb.h (getnameinfo): Change type of flags parameter
15338         to 'int'.
15339         * inet/getnameinfo.c (getnameinfo): Likewise.
15341 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
15343         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15344         to groups setting in database lookup.
15345         * nss/nsswitch.conf: Add initgroups entry.
15347 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
15349         [BZ #12685]
15350         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15351         mode string.
15352         Patch by Eric Blake <eblake@redhat.com>.
15354 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
15356         * sunrpc/Makefile (need-export-routines): Add svc_run.
15357         (routines): Remove svc_run.
15358         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15359         * sunrpc/clnt_perr.c (clnt_perrno): Export.
15360         * sunrpc/svc_run.c (svc_run): Likewise.
15361         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15363 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
15365         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15366         problem in reallocation in last patch.
15368 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
15370         * sunrpc/Makefile: Move inclusion of Rules.
15372 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
15374         * nss/nss_files/files-initgroups.c: New file.
15375         * nss/Makefile (libnss_files-routines): Add files-initgroups.
15376         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15377         _nss_files_initgroups_dyn.
15379 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
15381         * elf/elf.h (R_ARM_IRELATIVE): Define.
15383 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
15385         * po/ru.po: Update from translation team.
15387 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
15389         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15390         dependencies.
15392 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
15394         [BZ #12653]
15395         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15396         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15397         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15398         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15399         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15401 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
15403         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15404         differing bytes.
15405         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15406         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15407         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15409 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
15411         [BZ #12420]
15412         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15413         storing it.
15414         * stdlib/bug-getcontext.c: New file.
15415         * stdlib/Makefile: Add rules to build and run bug-getcontext.
15417 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15419         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15420         instructions into .machine "z9-109".
15421         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15422         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15424 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15426         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15427         between environment variables and auxiliary vector.
15429 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
15431         * Makefile: Add rules to build linkobj/libc.so.
15432         * include/libc-symbols.h: Define libc_hidden_nolink.
15433         * include/rpc/auth.h: Mark functions which are to be hidden.
15434         * include/rpc/auth_des.h: Likewise.
15435         * include/rpc/auth_unix.h: Likewise.
15436         * include/rpc/clnt.h: Likewise.
15437         * include/rpc/des_crypt.h: Likewise.
15438         * include/rpc/key_prot.h: Likewise.
15439         * include/rpc/pmap_clnt.h: Likewise.
15440         * include/rpc/pmap_prot.h: Likewise.
15441         * include/rpc/pmap_rmt.h: Likewise.
15442         * include/rpc/rpc_msg.h: Likewise.
15443         * include/rpc/svc.h: Likewise.
15444         * include/rpc/svc_auth.h: Likewise.
15445         * include/rpc/xdr.h: Likewise.
15446         * nis/Makefile: Link all DSOs against linkobj/libc.so.
15447         * nss/Makefile: Likewise.
15448         * sunrpc/Makefile: Don't install headers.  Build library with normal
15449         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
15450         * sunrpc/auth_des.c: Hide exported symbols by default, export some
15451         for the compat linking library.  Remove use of INTDEF/INTUSE.
15452         * sunrpc/auth_none.c: Likewise.
15453         * sunrpc/auth_unix.c: Likewise.
15454         * sunrpc/authdes_prot.c: Likewise.
15455         * sunrpc/authuxprot.c: Likewise.
15456         * sunrpc/clnt_gen.c: Likewise.
15457         * sunrpc/clnt_perr.c: Likewise.
15458         * sunrpc/clnt_raw.c: Likewise.
15459         * sunrpc/clnt_simp.c: Likewise.
15460         * sunrpc/clnt_tcp.c: Likewise.
15461         * sunrpc/clnt_udp.c: Likewise.
15462         * sunrpc/clnt_unix.c: Likewise.
15463         * sunrpc/des_crypt.c: Likewise.
15464         * sunrpc/des_soft.c: Likewise.
15465         * sunrpc/get_myaddr.c: Likewise.
15466         * sunrpc/key_call.c: Likewise.
15467         * sunrpc/key_prot.c: Likewise.
15468         * sunrpc/netname.c: Likewise.
15469         * sunrpc/pm_getmaps.c: Likewise.
15470         * sunrpc/pm_getport.c: Likewise.
15471         * sunrpc/pmap_clnt.c: Likewise.
15472         * sunrpc/pmap_prot.c: Likewise.
15473         * sunrpc/pmap_prot2.c: Likewise.
15474         * sunrpc/pmap_rmt.c: Likewise.
15475         * sunrpc/publickey.c: Likewise.
15476         * sunrpc/rpc_cmsg.c: Likewise.
15477         * sunrpc/rpc_common.c: Likewise.
15478         * sunrpc/rpc_dtable.c: Likewise.
15479         * sunrpc/rpc_prot.c: Likewise.
15480         * sunrpc/rpc_thread.c: Likewise.
15481         * sunrpc/rtime.c: Likewise.
15482         * sunrpc/svc.c: Likewise.
15483         * sunrpc/svc_auth.c: Likewise.
15484         * sunrpc/svc_authux.c: Likewise.
15485         * sunrpc/svc_raw.c: Likewise.
15486         * sunrpc/svc_run.c: Likewise.
15487         * sunrpc/svc_simple.c: Likewise.
15488         * sunrpc/svc_tcp.c: Likewise.
15489         * sunrpc/svc_udp.c: Likewise.
15490         * sunrpc/svc_unix.c: Likewise.
15491         * sunrpc/svcauth_des.c: Likewise.
15492         * sunrpc/xcrypt.c: Likewise.
15493         * sunrpc/xdr.c: Likewise.
15494         * sunrpc/xdr_array.c: Likewise.
15495         * sunrpc/xdr_float.c: Likewise.
15496         * sunrpc/xdr_intXX_t.c: Likewise.
15497         * sunrpc/xdr_mem.c: Likewise.
15498         * sunrpc/xdr_rec.c: Likewise.
15499         * sunrpc/xdr_ref.c: Likewise.
15500         * sunrpc/xdr_sizeof.c: Likewise.
15501         * sunrpc/xdr_stdio.c: Likewise.
15503 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
15505         [BZ #12650]
15506         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15507         * sysdeps/ia64/dl-tls.h: Likewise.
15508         * sysdeps/powerpc/dl-tls.h: Likewise.
15509         * sysdeps/s390/dl-tls.h: Likewise.
15510         * sysdeps/sh/dl-tls.h: Likewise.
15511         * sysdeps/sparc/dl-tls.h: Likewise.
15512         * sysdeps/x86_64/dl-tls.h: Likewise.
15513         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15515 2011-03-14  Andreas Schwab  <schwab@redhat.com>
15517         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15518         rpath element also skip the following colon.
15519         (expand_dynamic_string_token): Add is_path parameter and pass
15520         down to DL_DST_REQUIRED and _dl_dst_substitute.
15521         (decompose_rpath): Call expand_dynamic_string_token with
15522         non-zero is_path.  Ignore empty rpaths.
15523         (_dl_map_object_from_fd): Call expand_dynamic_string_token
15524         with zero is_path.
15526 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
15528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15529         Make cancelable.
15531 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
15533         [BZ #12655]
15534         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15535         Patch by Filipe David Manana <fdmanana@apache.org>.
15537 2011-04-07  Andreas Schwab  <schwab@redhat.com>
15539         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15540         Maintain aligned stack.
15541         (CHECK_RSP): Remove unused macro.
15543 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
15545         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15546         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15548 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
15550         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15552         * include/features.h: Mention __USE_XOPEN2K8 in comment.
15554 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
15556         [BZ #12518]
15557         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15558         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15559         * sysdeps/x86_64/memmove.c: New file.
15560         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15561         (memcpy): Renamed to ...
15562         (__new_memcpy): This.
15563         (memcpy): Provide GLIBC_2_14 memcpy.
15564         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15565         (memcpy): Provide GLIBC_2_2_5 memcpy.
15567 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15569         [BZ #12631]
15570         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15572 2011-03-30  Andreas Schwab  <schwab@redhat.com>
15574         * misc/syncfs.c: New file.
15575         * misc/Makefile (routines): Add syncfs.
15576         * posix/unistd.h: Declare syncfs.
15577         * sysdeps/unix/syscalls.list: Add syncfs.
15579 2011-04-01  Andreas Schwab  <schwab@redhat.com>
15581         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15582         open_by_handle_at.
15583         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15584         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15585         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15586         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15587         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15588         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15589         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15591 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15593         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15594         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15595         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15596         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15597         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15599         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15601         * io/Makefile: Compile fallocate.c, fallocate64.c, and
15602         sync_file_range.c with -fexceptions.
15603         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15604         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15605         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15606         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15607         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15608         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15609         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15610         sync_file_range as cancellation point
15611         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
15612         now a wrapper around __call_sync_file_range with cancellation handling.
15613         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15614         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
15615         function name to __call_sync_file_range.
15616         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15617         Add call_sync_file_range.
15619 2011-04-01  Andreas Schwab  <schwab@redhat.com>
15621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15622         bits/timex.h.
15624 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15626         * iconv/iconv.h: Fix typo in comment.
15627         * io/fcntl.h: Likewise.
15628         * libio/stdio.h: Likewise.
15629         * posix/spawn.h: Likewise.
15630         * posix/unistd.h: Likewise.
15631         * stdlib/stdlib.h: Likewise.
15632         * time/time.h: Likewise.
15633         * wcsmbs/wchar.h: Likewise.
15635         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15636         open_by_handle): Add.
15637         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15638         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
15639         Augment a few comments.
15640         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15641         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15642         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15643         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15644         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15645         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15646         open_by_handle.
15648         * io/fcntl.h (AT_EMPTY_PATH): Define.
15650 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
15652         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15653         * sysdeps/unix/sysv/linux/bits/time.h: New file.
15654         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15655         to...
15656         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
15657         * Versions.def: Add GLIBC_2.14.
15658         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15659         Export.
15661 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
15663         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15664         round counter.
15665         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15667 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15669         [BZ #12597]
15670         * string/test-strncmp.c (do_page_test): New function.
15671         (check2): Likewise.
15672         (test_main): Call check2.
15673         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15675 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
15677         [BZ #12587]
15678         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15679         Handle cache information in CPU leaf 4.
15680         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15682 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
15684         [BZ #12583]
15685         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15686         character representation.
15687         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15689 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
15691         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15692         END(__isnan) to END(__isnanf) to match function entry point/label
15693         EALIGN(__isnanf,...).
15695 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
15697         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15699 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
15701         [BZ #12510]
15702         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15703         copy from the symbol referenced in the relocation to initialize the
15704         used variable.
15705         Patch by Piotr Bury <pbury@goahead.com>.
15706         * elf/Makefile: Add rules to build and tst-unique3.
15707         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15708         * elf/tst-unique3.cc: New file.
15709         * elf/tst-unique3.h: New file.
15710         * elf/tst-unique3lib.cc: New file.
15711         * elf/tst-unique3lib2.cc: New file.
15713         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15715 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
15717         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15718         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
15719         to _start.
15721 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
15723         * elf/dl-load.c (_dl_map_object): If we are looking for the first
15724         to-be-loaded object along a path to loader is ld.so.
15726 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
15727             Ulrich Drepper  <drepper@gmail.com>
15729         * sysdeps/x86_64/memset.S: After aligning destination, code
15730         branches to different locations depending on the value of
15731         misalignment, when multiarch is enabled. Fix this.
15733 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
15735         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15736         Set _x86_64_preferred_memory_instruction for AMD processsors.
15737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15738         Set bit_Prefer_SSE_for_memop for AMD processors.
15740 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
15742         * libio/fmemopen.c (fmemopen): Optimize a bit.
15744 2011-03-03  Andreas Schwab  <schwab@redhat.com>
15746         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15748 2011-03-03  Roland McGrath  <roland@redhat.com>
15750         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15752 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
15754         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15755         __bzero_ultra1 instead of __memset_ultra1.
15757 2011-02-23  Andreas Schwab  <schwab@redhat.com>
15758             Ulrich Drepper  <drepper@gmail.com>
15760         [BZ #12509]
15761         * include/link.h (struct link_map): Add l_orig_initfini.
15762         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15763         returning unsuccessfully.
15764         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15765         close of a file loaded at startup, restore the original l_initfini
15766         list.
15767         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15768         list, store the pointer.
15769         * elf/Makefile ($(objpfx)noload-mem): New rule.
15770         (noload-ENV): Define.
15771         (tests): Add $(objpfx)noload-mem.
15772         * elf/noload.c: Include <memcheck.h>.
15773         (main): Call mtrace.  Close all opened handles.
15775 2011-02-17  Andreas Schwab  <schwab@redhat.com>
15777         [BZ #12454]
15778         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15779         dependencies are missing.
15781 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15783         Fix __if_freereq crash: Unlike the generic version which uses free,
15784         Hurd needs munmap.
15785         * sysdeps/mach/hurd/ifreq.h: New file.
15787 2011-01-27  Petr Baudis  <pasky@suse.cz>
15788             Ulrich Drepper  <drepper@gmail.com>
15790         [BZ 12445]#
15791         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15792         to extend_alloca().
15793         * stdio-common/bug23.c: New file.
15794         * stdio-common/Makefile (tests): Add bug23.
15796 2010-09-28  Andreas Schwab  <schwab@redhat.com>
15797             Ulrich Drepper  <drepper@gmail.com>
15799         [BZ #12489]
15800         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15801         before performing relro protection.  At old place add assertion
15802         to make sure nothing changed.
15804 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
15805             Glauber de Oliveira Costa  <glommer@gmail.com>
15807         * elf/elf.h: Add new ARM TLS relocs.
15809 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
15811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15812         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15813         cast from r3.
15814         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
15815         'tests' variable.
15816         * sysdeps/wordsize-64/tst-writev.c: New file.
15818 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
15820         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15821         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15822         insns in _dl_start to prevent a TOC reference before relocs are
15823         resolved.
15825 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
15827         [BZ #12469]
15828         * Makeconfig: Remove RANLIB definition.
15829         * Makerules: Don't use RANLIB.
15830         * aclocal.m4: Remove ranlib test.
15831         * configure.in: No need to check for ranlib.
15832         * elf/rtld-Rules: Don't use RANLIB.
15834 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15836         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15837         protection macro.
15838         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15839         inclusion protection macro.
15841         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15842         SIGRTMIN and SIGRTMAX and print information in that case only when
15843         SIGRTMIN is defined.
15845 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
15847         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15848         arginfo fn returning -1.
15850         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15851         and thousands string is zero terminated.
15853 2011-02-03  Andreas Schwab  <schwab@redhat.com>
15855         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15856         sysdeps/unix/sysv/linux/bits/socket.h.
15858 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15860         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15861         (__CPU_COUNT): Remove old macros.
15862         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15863         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15864         (__CPU_ALLOC, __CPU_FREE): Add macros.
15865         (__sched_cpualloc, __sched_cpufree): Add declarations.
15867 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
15869         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15870         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15871         * nscd/aicache.c (addhstaiX): Return timeout of added value.
15872         (readdhstai): Return value of addhstaiX call.
15873         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15874         (addgrbyX): Return value returned by cache_addgr.
15875         (readdgrbyname): Return value returned by addgrbyX.
15876         (readdgrbygid): Likewise.
15877         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15878         (addpwbyX): Return value returned by cache_addpw.
15879         (readdpwbyname): Return value returned by addhstbyX.
15880         (readdpwbyuid): Likewise.
15881         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15882         (addservbyX): Return value returned by cache_addserv.
15883         (readdservbyname): Return value returned by addservbyX:
15884         (readdservbyport): Likewise.
15885         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15886         (addhstbyX): Return value returned by cache_addhst.
15887         (readdhstbyname): Return value returned by addhstbyX.
15888         (readdhstbyaddr): Likewise.
15889         (readdhstbynamev6): Likewise.
15890         (readdhstbyaddrv6): Likewise.
15891         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15892         (readdinitgroups): Return value returned by addinitgroupsX.
15893         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15894         (prune_cache): Keep track of timeout value of re-added entries.
15895         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15896         * nscd/nscd.h: Adjust prototypes of readd* functions.
15898 2011-02-04  Roland McGrath  <roland@redhat.com>
15900         * nis/nis_server.c (nis_servstate): Use the right name for 0.
15901         (nis_stats): Likewise.
15902         * nis/nis_modify.c (nis_modify): Likewise.
15903         * nis/nis_remove.c (nis_remove): Likewise.
15904         * nis/nis_add.c (nis_add): Likewise.
15906         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15908         * posix/fnmatch_loop.c: Add some consts.
15910         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15912 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
15914         [BZ #12460]
15915         * config.make.in (config-cflags-novzeroupper): Define.
15916         * configure.in: Substitute libc_cv_cc_novzeroupper.
15917         * elf/Makefile (AVX-CFLAGS): Define.
15918         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15919         (CFLAGS-tst-auditmod4a.c): Likewise.
15920         (CFLAGS-tst-auditmod4b.c): Likewise.
15921         (CFLAGS-tst-auditmod6b.c): Likewise.
15922         (CFLAGS-tst-auditmod6c.c): Likewise.
15923         (CFLAGS-tst-auditmod7b.c): Likewise.
15924         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15926 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
15928         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15929         function to the callback.
15930         Patch partly by Jiri Olsa <jolsa@redhat.com>.
15932 2011-02-02  Andreas Schwab  <schwab@redhat.com>
15934         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15935         of errno.
15937 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
15939         [BZ #11724]
15940         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15941         of constructors.
15942         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15943         of destructors.
15944         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15946         [BZ #11724]
15947         * elf/Makefile: Add rules to build and run new test.
15948         * elf/tst-initorder.c: New file.
15949         * elf/tst-initorder.exp: New file.
15950         * elf/tst-initordera1.c: New file.
15951         * elf/tst-initordera2.c: New file.
15952         * elf/tst-initordera3.c: New file.
15953         * elf/tst-initordera4.c: New file.
15954         * elf/tst-initorderb1.c: New file.
15955         * elf/tst-initorderb2.c: New file.
15956         * elf/tst-order-a1.c: New file.
15957         * elf/tst-order-a2.c: New file.
15958         * elf/tst-order-a3.c: New file.
15959         * elf/tst-order-a4.c: New file.
15960         * elf/tst-order-b1.c: New file.
15961         * elf/tst-order-b2.c: New file.
15962         * elf/tst-order-main.c: New file.
15963         New test case by George Gensure <werkt0@gmail.com>.
15965 2010-10-01  Andreas Schwab  <schwab@redhat.com>
15967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15968         decoding ACE if AI_CANONIDN.
15970 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
15972         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15974 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
15976         * version.h (RELEASE): Bump for 2.13 release.
15977         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15979         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15981         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15982         MADV_NOHUGEPAGE.
15983         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15984         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15985         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15986         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15987         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15988         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15990         * posix/getconf.c: Update copyright year.
15991         * catgets/gencat.c: Likewise.
15992         * csu/version.c: Likewise.
15993         * debug/catchsegv.sh: Likewise.
15994         * debug/xtrace.sh: Likewise.
15995         * elf/ldconfig.c: Likewise.
15996         * elf/ldd.bash.in: Likewise.
15997         * elf/sprof.c (print_version): Likewise.
15998         * iconv/iconv_prog.c: Likewise.
15999         * iconv/iconvconfig.c: Likewise.
16000         * locale/programs/locale.c: Likewise.
16001         * locale/programs/localedef.c: Likewise.
16002         * malloc/memusage.sh: Likewise.
16003         * malloc/mtrace.pl: Likewise.
16004         * nscd/nscd.c (print_version): Likewise.
16005         * nss/getent.c: Likewise.
16007         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16008         PF_CAIF, and PF_ALG.
16009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16011 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
16013         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16014         (modules-names): Use them.
16015         (ifunc-test-modules, ifunc-pie-tests): Define.
16016         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16017         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16018         (test-extras): Likewise.
16019         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16020         $(compile-command.c).
16021         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16022         (all-built-dso): Define.
16023         (check-textrel.out, check-execstack.out): Depend on it.
16025         * configure.in: Don't override --enable-multi-arch.
16027 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
16029         [BZ #6812]
16030         * nscd/hstcache.c (tryagain): Define.
16031         (cache_addhst): Return tryagain not notfound for temporary errors.
16032         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16033         failed.
16035 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
16037         [BZ #10563]
16038         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16039         to make the syscall.
16040         * sysdeps/unix/sysv/linux/setgroups.c: New file.
16042         [BZ #12378]
16043         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16044         and fall back to matching as normal character if the string ends before
16045         the matching ']' is found.  This is what POSIX requires.
16046         * posix/testfnm.c: Adjust test result.
16047         * posix/globtest.sh: Adjust test result.  Add new test.
16048         * posix/tst-fnmatch.input: Likewise.
16049         * posix/tst-fnmatch2.c: Add new test.
16051 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
16053         * elf/Makefile (check-execstack): Revert last change.  Depend on
16054         check-execstack.h.
16055         (check-execstack.h): New target.
16056         (generated): Add check-execstack.h.
16057         * elf/check-execstack.c: Include "check-execstack.h".
16058         (main): Revert last change.
16059         (handle_file): Return zero if GNU_STACK is absent and
16060         DEFAULT_STACK_PERMS doesn't include PF_X.
16062 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
16064         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16065         in child fails because the descriptor is already closed.
16066         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16067         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16068         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16070         [BZ #12397]
16071         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16072         syscall.
16074         [BZ #10484]
16075         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16076         temporary buffer used to handle multi lookups locally.
16077         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16079 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
16081         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16082         loader is ld.so.
16084 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
16086         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16087         alignment for SSE2.
16089 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
16091         [BZ #12394]
16092         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16093         characters.  When rounding increased number of integer digits recompute
16094         number of groups.
16095         * stdio-common/tst-grouping.c: New file.
16096         * stdio-common/Makefile: Add rules to build and run tst-grouping.
16098 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
16100         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16101         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
16103         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16104         void.
16105         * bits/select.h: Likewise.
16107 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
16109         * po/ja.po: Update from translation team.
16111 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
16113         [BZ #11155]
16114         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16115         implementation just like for lxstat, fxstatat, et al.
16117 2010-12-27  Jim Meyering  <meyering@redhat.com>
16119         [BZ #12348]
16120         * posix/regexec.c (build_trtable): Return failure indication upon
16121         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
16123 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
16125         [BZ #12201]
16126         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16127         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16128         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16129         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16131         [BZ #12207]
16132         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16134         [BZ #12204]
16135         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16136         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16138 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16140         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16141         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16142         script has SORT_BY_INIT_PRIORITY.
16143         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16144         NO_CTORS_DTORS_SECTIONS is defined.
16145         * elf/soinit.c: Likewise.
16146         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16147         NO_CTORS_DTORS_SECTIONS is defined.
16148         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16149         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16150         * sysdeps/sh/init-first.c: Likewise.
16151         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16153 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
16155         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16156         always use the slow path.
16158 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
16160         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16161         similar rule which adds the sysdep directories to the header search in
16162         order to pick up the correct platform stackinfo.h.
16163         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16164         perform test if it is, otherwise return successfully without testing.
16165         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16166         DEFAULT_STACK_PERMS define in stackinfo.h.
16167         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16168         defined in stackinfo.h.
16169         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16170         DEFAULT_STACK_PERMS defined in stackinfo.h.
16171         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16172         * sysdeps/ia64/stackinfo.h: Likewise.
16173         * sysdeps/s390/stackinfo.h: Likewise.
16174         * sysdeps/sh/stackinfo.h: Likewise.
16175         * sysdeps/sparc/stackinfo.h: Likewise.
16176         * sysdeps/x86_64/stackinfo.h: Likewise.
16177         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16178         PF_X for powerpc64.  Retain PF_X for powerpc32.
16180 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
16182         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16183         accurately.
16184         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16185         GETDENTS_64BIT_ALIGNED.
16187 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
16189         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16191 2010-12-10  Andreas Schwab  <schwab@redhat.com>
16193         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16194         _GNU_SOURCE.
16196         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16197         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16198         Remove __restrict.
16199         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16200         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16202 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
16204         [BZ #11655]
16205         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16206         are initialized.
16208 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
16210         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16212 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
16214         * po/it.po: Update from translation team.
16216 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
16218         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16219         unused codes.
16221 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
16223         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16225 2010-11-24  Andreas Schwab  <schwab@redhat.com>
16227         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16228         specially.
16229         (gaih_getanswer_slice): Likewise.
16231 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
16233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16235 2010-05-31  Petr Baudis  <pasky@suse.cz>
16237         [BZ #11149]
16238         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16239         silently even in the chroot mode.
16241 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
16243         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16244         last patch a bit.  Pretty printing
16246 2010-05-31  Petr Baudis <pasky@suse.cz>
16248         [BZ #10085]
16249         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16250         initialization of skip_initgroups_dyn.
16252 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
16254         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16255         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16257 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
16259         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16261 2010-11-11  Andreas Schwab  <schwab@redhat.com>
16263         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16264         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16265         (tst-fnmatch-ENV): Set MALLOC_TRACE.
16266         ($(objpfx)tst-fnmatch-mem): New rule.
16267         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16268         * posix/tst-fnmatch.c (main): Call mtrace.
16270 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
16272         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16273         Support Intel processor model 6 and model 0x2c.
16275 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
16277         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16278           signed comparison.
16280 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
16282         [BZ #12205]
16283         * string/test-strncasecmp.c (check_result): New function.
16284         (do_one_test): Use it.
16285         (check1): New function.
16286         (test_main): Use it.
16287         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16288         Support strcasecmp and strncasecmp.
16290 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
16292         [BZ #12194]
16293         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16294         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16296 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16298         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16299         IFUNC support.
16300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16301         memset-x86-64.
16302         * sysdeps/x86_64/multiarch/bzero.S: New file.
16303         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16304         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16305         * sysdeps/x86_64/multiarch/memset.S: New file.
16306         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16308         Set bit_Prefer_SSE_for_memop for Intel processors.
16309         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16310         Define.
16311         (index_Prefer_SSE_for_memop): Define.
16312         (HAS_PREFER_SSE_FOR_MEMOP): Define.
16314 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
16316         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16317         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16319 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
16321         [BZ #12191]
16322         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16323         (__x86_64_raw_data_cache_size_half): Likewise.
16324         (__x86_64_raw_shared_cache_size): Likewise.
16325         (__x86_64_raw_shared_cache_size_half): Likewise.
16327         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16328         (__x86_64_raw_data_cache_size_half): Likewise.
16329         (__x86_64_raw_shared_cache_size): Likewise.
16330         (__x86_64_raw_shared_cache_size_half): Likewise.
16331         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16332         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16333         and __x86_64_raw_shared_cache_size_half.  Round
16334         __x86_64_data_cache_size_half, __x86_64_data_cache_size
16335         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16336         to multiple of 256 bytes.
16338 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
16340         [BZ #12167]
16341         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16342         of inacessible symlinks.  Verify result of symlink before returning it.
16343         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16344         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16346 2010-10-28  Erich Ritz  <erichritz@gmail.com>
16348         * math/math.h (isinf): Fix typo in comment.
16350 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
16352         * po/da.po: Update from translation team.
16354 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
16356         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16357         is added to the list.
16359 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16360             Ulrich Drepper  <drepper@gmail.com>
16362         * elf/dl-object.c (_dl_new_object): Don't append the new object to
16363         the global list here.  Move code to...
16364         (_dl_add_to_namespace_list): ...here.  New function.
16365         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16366         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16367         * elf/dl-load.c (lose): Don't remove the element from the list.
16368         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16369         (_dl_map_object): Likewise.
16371 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
16373         [BZ #12159]
16374         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16375         into all bytes of SSE register.
16376         Patch by Richard Li <richardpku@gmail.com>.
16378 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
16380         [BZ #12140]
16381         * malloc/malloc.c (_int_free): Fill correct number of bytes when
16382         perturbing.
16384 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
16386         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16387         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16388         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16389         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16391         submachine.
16392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16394 2010-10-22  Andreas Schwab  <schwab@redhat.com>
16396         * include/dlfcn.h (__RTLD_SECURE): Define.
16397         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
16398         mode & __RTLD_SECURE instead.
16399         (open_path): Rename preloaded parameter to secure.
16400         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16401         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16402         * elf/dl-deps.c (openaux): Likewise.
16403         * elf/rtld.c (struct map_args): Remove is_preloaded.
16404         (map_doit): Don't use it.
16405         (dl_main): Likewise.
16406         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16407         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16409 2010-09-09  Andreas Schwab  <schwab@redhat.com>
16411         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16412         (sysd-rules-targets): Remove duplicates.
16413         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16414         rtld-%.$o dependency.
16416 2010-10-18  Andreas Schwab  <schwab@redhat.com>
16418         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16419         _dl_map_object do it.
16421 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
16423         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16424         fast fma builtins, define the macros in the C99 standard.
16425         (FP_FAST_FMAF): Likewise.
16426         (FP_FAST_FMAL): Likewise.
16427         * sysdeps/x86_64/bits/mathdef.h: Likewise.
16429         * bits/mathdef.h: Update copyright year.
16430         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16432 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
16434         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16435         builtins, define the macros in the C99 standard.
16436         (FP_FAST_FMAF): Likewise.
16437         (FP_FAST_FMAL): Likewise.
16438         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16439         multiply/add.
16440         (FP_FAST_FMAF): Likewise.
16442 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
16444         [BZ #3268]
16445         * math/libm-test.inc (fma_test): Some new testcases.
16446         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16447         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16448         y and infinite z.  Do multiplication by C already in long double.
16449         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16451         y and infinite z.  Do bitwise or of inexact bit into u.d.
16452         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16453         * sysdeps/i386/fpu/s_fmaf.S: Removed.
16454         * sysdeps/i386/fpu/s_fma.S: Removed.
16455         * sysdeps/i386/fpu/s_fmal.S: Removed.
16457 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
16459         [BZ #3268]
16460         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16461         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16462         computation is not scheduled after fetestexcept.  Fix value
16463         of minimum denormal long double.
16465 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
16467         [BZ #3268]
16468         * math/libm-test.inc (fma_test): Add some more tests.
16469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16470         correctly.
16472 2010-10-15  Andreas Schwab  <schwab@redhat.com>
16474         * scripts/data/localplt-s390-linux-gnu.data: New file.
16475         * scripts/data/localplt-s390x-linux-gnu.data: New file.
16477 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
16479         [BZ #3268]
16480         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16481         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16482         instead of dbl-64.
16483         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16484         inlines.
16485         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16487         if one of x and y is very large and the other is subnormal.
16488         * sysdeps/s390/fpu/s_fmaf.c: New file.
16489         * sysdeps/s390/fpu/s_fma.c: New file.
16490         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16491         * sysdeps/powerpc/fpu/s_fma.S: New file.
16492         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16493         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16494         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16496 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
16498         [BZ #3268]
16499         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16500         fma tests.
16501         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16502         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16503         * sysdeps/i386/i686/multiarch/s_fma.c: Include
16504         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16505         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16506         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16507         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16509 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
16511         [BZ #12078]
16512         * posix/regcomp.c (parse_branch): One more memory leak plugged.
16513         * posix/bug-regex31.input: Add test case.
16515 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
16517         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16518         * posix/bug-regex31.input: New file.
16520         [BZ #12078]
16521         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16522         (parse_sub_exp): Fix last change, use postorder.
16524         * posix/bug-regex31.c: New file.
16525         * posix/Makefile: Add rules to build and run bug-regex31.
16527         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16529         [BZ #12078]
16530         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16532         [BZ #12108]
16533         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16534         to have entries in sys_siglist.
16536         [BZ #12093]
16537         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16538         be NULL.
16540 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
16542         [BZ #3268]
16543         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16544         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16545         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16546         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16547         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16548         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16549         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16550         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16551         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16552         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16553         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16554         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16555         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16556         * math/ftestexcept.c (fetestexcept): Likewise.
16557         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16558         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16559         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16560         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16561         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16562         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16563         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16565 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
16567         [BZ #12107]
16568         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16569         newline.
16571 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
16573         * string/bug-strstr1.c: New file.
16574         * string/Makefile: Add rules to build and run bug-strstr1.
16576 2010-10-05  Eric Blake  <eblake@redhat.com>
16578         [BZ #12092]
16579         * string/str-two-way.h (two_way_long_needle): Always clear memory
16580         when skipping input due to the shift table.
16582 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
16584         [BZ #12005]
16585         * malloc/mcheck.c: Handle large requests.
16587         [BZ #12077]
16588         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16589         for strncmp and strncasecmp.
16590         * string/stratcliff.c: Add tests for strcmp and strncmp.
16591         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16593 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16595         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16596         __set_fpscr.
16598 2010-09-30  Andreas Jaeger  <aj@suse.de>
16600         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16601         (CGROUP_SUPER_MAGIC): Define.
16602         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16603         Handle btrfs and cgroup file systems.
16604         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16605         Likewise.
16607 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
16609         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16610         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16612 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16614         [BZ #12067]
16615         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16616         trying to locate the ELF header.
16618 2010-09-27  Andreas Schwab  <schwab@redhat.com>
16620         [BZ #11611]
16621         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16622         Mask out sign-bit copies when constructing f_fsid.
16624 2010-09-24  Petr Baudis <pasky@suse.cz>
16626         * debug/stack_chk_fail_local.c: Add missing licence exception.
16627         * debug/warning-nop.c: Likewise.
16629 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
16631         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16632         implementing getdents64 using getdents syscall, set d_type if
16633         __ASSUME_GETDENTS32_D_TYPE.
16635 2010-09-16  Andreas Schwab  <schwab@redhat.com>
16637         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16638         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16640 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
16642         [BZ #12037]
16643         * posix/unistd.h: Undo change of feature selection for ftruncate from
16644         2010-01-11.
16646 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
16648         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16649         detection.
16651 2010-09-20  Andreas Schwab  <schwab@redhat.com>
16653         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16654         fanotify_mark.
16655         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16657 2010-09-14  Andreas Schwab  <schwab@redhat.com>
16659         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16660         variables after CHECK_SP call.
16661         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16663 2010-09-13  Andreas Schwab  <schwab@redhat.com>
16664             Ulrich Drepper  <drepper@redhat.com>
16666         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16667         re-relocationg ld.so.
16668         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16669         _dl_init_paths call.
16670         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
16671         here anymore.
16673 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
16675         * resolv/res_init.c (__res_vinit): Count the default server we added.
16677 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
16678             Ulrich Drepper  <drepper@redhat.com>
16680         [BZ #11968]
16681         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16682         (____longjmp_chk): Use %ebx for saving value across system call.
16683         Add unwind info.
16685 2010-09-06  Andreas Schwab  <schwab@redhat.com>
16687         * manual/Makefile: Don't mix pattern rules with normal rules.
16689 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16691         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16692         operation.
16693         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16694         * libio/iofopncook.c (_IO_cookie_init): Likewise.
16695         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16696         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16697         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16698         Likewise.
16700 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
16702         [BZ #11979]
16703         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16704         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16706 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
16708         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16709         * sysdeps/x86_64/addmul_1.S: Likewise.
16710         * sysdeps/x86_64/lshift.S: Likewise.
16711         * sysdeps/x86_64/mul_1.S: Likewise.
16712         * sysdeps/x86_64/rshift.S: Likewise.
16713         * sysdeps/x86_64/sub_n.S: Likewise.
16714         * sysdeps/x86_64/submul_1.S: Likewise.
16716 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16718         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16719         Define __sched_param instead of SCHED_* and sched_param when
16720         <bits/sched.h> is included with __need_schedparam defined.
16721         * bits/sched.h [__need_schedparam]
16722         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16723         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16724         (__defined_schedparam): Define to 1.
16725         (__sched_param): New structure, identical to sched_param.
16726         (__need_schedparam): Undefine.
16728 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
16730         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16731         (epoll_create1): Declare.
16733         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16735 2010-08-31  Andreas Schwab  <schwab@redhat.com>
16737         [BZ #7066]
16738         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16739         shifting retval into place.
16741 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
16743         * nis/rpcsvc/nis.h: Update copyright notice.
16744         * nis/rpcsvc/nis.x: Likewise.
16745         * nis/rpcsvc/nis_callback.h: Likewise.
16746         * nis/rpcsvc/nis_callback.x: Likewise.
16747         * nis/rpcsvc/nis_object.x: Likewise.
16748         * nis/rpcsvc/nis_tags.h: Likewise.
16749         * nis/rpcsvc/yp.h: Likewise.
16750         * nis/rpcsvc/yp.x: Likewise.
16751         * nis/rpcsvc/ypupd.h: Likewise.
16752         * nis/yp_xdr.c: Likewise.
16753         * nis/ypupdate_xdr.c: Likewise.
16755         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
16756         mainly the body of pmap_getport.  Add parameters to specify timeouts.
16757         (pmap_getport): Use __libc_rpc_getport.
16758         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16759         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16760         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16762 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16765         fanotify_mark.
16767 2010-08-27  Roland McGrath  <roland@redhat.com>
16769         * sysdeps/i386/i686/multiarch/Makefile
16770         (CFLAGS-varshift.c): New variable.
16772 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
16774         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16775         * sysdeps/i386/i686/multiarch/varshift.c: New file.
16777         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16779         * sysdeps/x86_64/strlen.S: Minimal code improvement.
16781 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16783         * sysdeps/x86_64/strlen.S: Unroll the loop.
16784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16785         strlen-sse2 strlen-sse2-bsf.
16786         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16787         __strlen_no_bsf if bit_Slow_BSF is set.
16788         (__strlen_sse42): Removed.
16789         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16790         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16792 2010-08-25  Roland McGrath  <roland@redhat.com>
16794         * sysdeps/x86_64/multiarch/varshift.S: File removed.
16795         * sysdeps/x86_64/multiarch/varshift.c: New file.
16796         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16797         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16798         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16799         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16801 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16804         strlen-sse2 strlen-sse2-bsf.
16805         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16806         __strlen_sse2_bsf if bit_Slow_BSF is unset.
16807         (__strlen_sse2): Removed.
16808         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16809         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16811         bit_Slow_BSF for Atom.
16812         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16813         (index_Slow_BSF): Define.
16814         (HAS_SLOW_BSF): Define.
16816 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
16818         [BZ #10851]
16819         * resolv/res_init.c (__res_vinit): When no server address at all
16820         is given default to loopback.
16822 2010-08-24  Roland McGrath  <roland@redhat.com>
16824         * configure.in: Remove config-name.h generation.
16825         * configure: Regenerated.
16826         * config-name.in: File removed.
16827         * scripts/config-uname.sh: New file.
16828         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16829         ($(objdir)config-name.h): New target.
16831         * sunrpc/rpc_parse.h: Avoid nested comment.
16833 2010-08-24  Richard Henderson  <rth@redhat.com>
16834             Ulrich Drepper  <drepper@redhat.com>
16835             H.J. Lu  <hongjiu.lu@intel.com>
16837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16839         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16840         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
16841         _mm_alignr_epi8 with _mm_loadu_si128.
16842         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16843         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16844         (__m128i_shift_right): Removed.
16845         * sysdeps/i386/i686/multiarch/varshift.h: New file.
16846         * sysdeps/i386/i686/multiarch/varshift.S: New file.
16847         * sysdeps/x86_64/multiarch/varshift.h: New file.
16848         * sysdeps/x86_64/multiarch/varshift.S: New file.
16850 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
16852         * configure.in: Move assembler checks to before sysdep dir checking.
16854 2010-08-20  Petr Baudis  <pasky@suse.cz>
16856         * LICENSES: Sync the sunrpc license.
16858 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
16860         * sunrpc/auth_des.c: Update copyright notice once again.
16861         * sunrpc/auth_none.c: Likewise.
16862         * sunrpc/auth_unix.c: Likewise.
16863         * sunrpc/authdes_prot.c: Likewise.
16864         * sunrpc/authuxprot.c: Likewise.
16865         * sunrpc/bindrsvprt.c: Likewise.
16866         * sunrpc/clnt_gen.c: Likewise.
16867         * sunrpc/clnt_perr.c: Likewise.
16868         * sunrpc/clnt_raw.c: Likewise.
16869         * sunrpc/clnt_simp.c: Likewise.
16870         * sunrpc/clnt_tcp.c: Likewise.
16871         * sunrpc/clnt_udp.c: Likewise.
16872         * sunrpc/clnt_unix.c: Likewise.
16873         * sunrpc/des_crypt.c: Likewise.
16874         * sunrpc/des_soft.c: Likewise.
16875         * sunrpc/get_myaddr.c: Likewise.
16876         * sunrpc/getrpcport.c: Likewise.
16877         * sunrpc/key_call.c: Likewise.
16878         * sunrpc/key_prot.c: Likewise.
16879         * sunrpc/openchild.c: Likewise.
16880         * sunrpc/pm_getmaps.c: Likewise.
16881         * sunrpc/pm_getport.c: Likewise.
16882         * sunrpc/pmap_clnt.c: Likewise.
16883         * sunrpc/pmap_prot.c: Likewise.
16884         * sunrpc/pmap_prot2.c: Likewise.
16885         * sunrpc/pmap_rmt.c: Likewise.
16886         * sunrpc/rpc/auth.h: Likewise.
16887         * sunrpc/rpc/auth_unix.h: Likewise.
16888         * sunrpc/rpc/clnt.h: Likewise.
16889         * sunrpc/rpc/des_crypt.h: Likewise.
16890         * sunrpc/rpc/key_prot.h: Likewise.
16891         * sunrpc/rpc/netdb.h: Likewise.
16892         * sunrpc/rpc/pmap_clnt.h: Likewise.
16893         * sunrpc/rpc/pmap_prot.h: Likewise.
16894         * sunrpc/rpc/pmap_rmt.h: Likewise.
16895         * sunrpc/rpc/rpc.h: Likewise.
16896         * sunrpc/rpc/rpc_des.h: Likewise.
16897         * sunrpc/rpc/rpc_msg.h: Likewise.
16898         * sunrpc/rpc/svc.h: Likewise.
16899         * sunrpc/rpc/svc_auth.h: Likewise.
16900         * sunrpc/rpc/types.h: Likewise.
16901         * sunrpc/rpc/xdr.h: Likewise.
16902         * sunrpc/rpc_clntout.c: Likewise.
16903         * sunrpc/rpc_cmsg.c: Likewise.
16904         * sunrpc/rpc_common.c: Likewise.
16905         * sunrpc/rpc_cout.c: Likewise.
16906         * sunrpc/rpc_dtable.c: Likewise.
16907         * sunrpc/rpc_hout.c: Likewise.
16908         * sunrpc/rpc_main.c: Likewise.
16909         * sunrpc/rpc_parse.c: Likewise.
16910         * sunrpc/rpc_parse.h: Likewise.
16911         * sunrpc/rpc_prot.c: Likewise.
16912         * sunrpc/rpc_sample.c: Likewise.
16913         * sunrpc/rpc_scan.c: Likewise.
16914         * sunrpc/rpc_scan.h: Likewise.
16915         * sunrpc/rpc_svcout.c: Likewise.
16916         * sunrpc/rpc_tblout.c: Likewise.
16917         * sunrpc/rpc_util.c: Likewise.
16918         * sunrpc/rpc_util.h: Likewise.
16919         * sunrpc/rpcinfo.c: Likewise.
16920         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16921         * sunrpc/rpcsvc/key_prot.x: Likewise.
16922         * sunrpc/rpcsvc/klm_prot.x: Likewise.
16923         * sunrpc/rpcsvc/mount.x: Likewise.
16924         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16925         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16926         * sunrpc/rpcsvc/rex.x: Likewise.
16927         * sunrpc/rpcsvc/rstat.x: Likewise.
16928         * sunrpc/rpcsvc/rusers.x: Likewise.
16929         * sunrpc/rpcsvc/sm_inter.x: Likewise.
16930         * sunrpc/rpcsvc/spray.x: Likewise.
16931         * sunrpc/rpcsvc/yppasswd.x: Likewise.
16932         * sunrpc/rtime.c: Likewise.
16933         * sunrpc/svc.c: Likewise.
16934         * sunrpc/svc_auth.c: Likewise.
16935         * sunrpc/svc_authux.c: Likewise.
16936         * sunrpc/svc_raw.c: Likewise.
16937         * sunrpc/svc_run.c: Likewise.
16938         * sunrpc/svc_simple.c: Likewise.
16939         * sunrpc/svc_tcp.c: Likewise.
16940         * sunrpc/svc_udp.c: Likewise.
16941         * sunrpc/svc_unix.c: Likewise.
16942         * sunrpc/svcauth_des.c: Likewise.
16943         * sunrpc/xcrypt.c: Likewise.
16944         * sunrpc/xdr.c: Likewise.
16945         * sunrpc/xdr_array.c: Likewise.
16946         * sunrpc/xdr_float.c: Likewise.
16947         * sunrpc/xdr_mem.c: Likewise.
16948         * sunrpc/xdr_rec.c: Likewise.
16949         * sunrpc/xdr_ref.c: Likewise.
16950         * sunrpc/xdr_sizeof.c: Likewise.
16951         * sunrpc/xdr_stdio.c: Likewise.
16953         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16954         handling.
16956 2010-08-19  Andreas Schwab  <schwab@redhat.com>
16958         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16960 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
16962         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16963         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16964         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16965         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16966         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16967         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16968         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16969         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16970         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16971         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16972         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16973         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16974         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16975         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16977 2010-07-26  Anton Blanchard  <anton@samba.org>
16979         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16980         * malloc/arena.c (heap_trim): Likewise.
16982 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
16984         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16985         here.  Not...
16986         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16987         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16989 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
16991         * sysdeps/i386/elf/Makefile: New file.
16993 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
16995         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16996         from fanotify_init.
16997         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17000 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
17002         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17003         of strncasecmp_l.
17004         * sysdeps/multiarch/strcmp.S: Likewise.
17006 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
17008         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17009         strncase_l-nonascii.
17010         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17011         Add strncase_l-ssse3.
17012         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17013         * sysdeps/x86_64/strcmp.S: Likewise.
17014         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17015         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17016         * sysdeps/x86_64/strncase.S: New file.
17017         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17018         * sysdeps/x86_64/strncase_l.S: New file.
17019         * string/Makefile (strop-tests): Add strncasecmp.
17020         * string/test-strncasecmp.c: New file.
17022         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17023         warning.
17025         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17026         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17028 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
17030         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17032 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
17034         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17035         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17036         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17038 2010-05-01  Alan Modra  <amodra@gmail.com>
17040         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17041         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17042         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17043         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17044         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17045         tidying.  Don't tail-call __sigjmp_save for static lib.
17046         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17047         save location.
17048         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17049         (CALL_MCOUNT): Add eh info, and nop after bl.
17050         (TAIL_CALL_SYSCALL_ERROR): New macro.
17051         (PSEUDO_RET): Use it.
17052         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17053         Correct save location of integer regs and cr.
17054         (_dl_profile_resolve): Correct cr save location.  Delete nops
17055         after bl when SHARED.  Reduce cfi size a little by better
17056         placement of cfi directives.
17057         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17058         make a stack frame.  Instead use parm save area as a temp.
17059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17060         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
17061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17062         Don't make a stack frame for parent, use parm save area.
17063         Increase child stack frame to 112 bytes.  Don't save unused reg,
17064         and adjust reg usage.  Set up cfi on error recovery and
17065         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17067         (__makecontext): Add dummy nop after jump to exit.
17068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17069         Use correct parm save area and cr save, reduce stack frame.
17070         Correct cfi for possible PSEUDO_RET frame setup.
17071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17072         Branch to local label emitted by PSEUDO_RET rather than
17073         __syscall_error.
17075 2010-08-12  Andreas Schwab  <schwab@redhat.com>
17077         [BZ #11904]
17078         * locale/programs/locale.c (print_assignment): New function.
17079         (show_locale_vars): Use it.
17081 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
17083         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17084         field.
17085         (struct statfs64): Likewise.
17086         (_STATFS_F_FLAGS): Define.
17087         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17088         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17089         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17090         (ST_VALID): Define locally.
17091         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17092         __statvfs_getflags, use the provided value.
17093         * sysdeps/unix/sysv/linux/kernel-features.h: Define
17094         __ASSUME_STATFS_F_FLAGS.
17096         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17098         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17099         Add sys/fanotify.h.
17100         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17101         fanotify_mask for GLIBC_2.13.
17102         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17103         fanotify_init and fanotify_mark.
17104         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17105         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17107         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17108         Add prlimit.
17109         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17110         prlimit64 for GLIBC_2.13.
17111         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17112         prlimit64.
17113         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17114         syscall.
17115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17117         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17118         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17119         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
17120         add prlimit alias.
17121         * sysdeps/unix/sysv/linux/prlimit.c: New file.
17123         [BZ #11903]
17124         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17125         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17127         * nss/Makefile: Add rules to build and run tst-nss-test1.
17128         * shlib-versions: Add entry for libnss_test1.
17129         * nss/nss_test1.c: New file.
17130         * nss/tst-nss-test1.c: New file.
17132         * nss/nsswitch.c (__nss_database_custom): Define new variable.
17133         (__nss_configure_lookup): Set appropriate entry in
17134         __nss_configure_lookup to true.
17135         * nss/nsswitch.h: Define enum with indeces of databases in
17136         databases and __nss_database_custom arrays.  Declare
17137         __nss_database_custom.
17138         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17139         to avoid using nscd when custom rules are installed.
17140         * nss/getXXbyYY_r.c: Likewise.
17141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17143         * nss/nss_files/files-parse.c: Whitespace fixes.
17145 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
17147         [BZ #11883]
17148         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17149         * posix/fnmatch_loop.c: Likewise.
17151 2010-07-17  Andi Kleen  <ak@linux.intel.com>
17153         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17154         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17155         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17156         * Versions.def [GLIBC_2.13]: Add.
17158 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
17160         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17161         Also fail if tpwd after pwuid call is NULL.
17163 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17165         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17166         when converting to ms.
17168 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17170         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17171         EOPNOTSUPP errors with ENOTTY.
17172         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17173         EOPNOTSUPP errors with ENOTTY.
17175 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
17177         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17178         Add strcasecmp_l-ssse3.
17179         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17180         strcasecmp.
17181         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17182         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17183         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17185 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
17187         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17189         * string/Makefile (strop-tests): Add strcasecmp.
17190         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17191         strcasecmp_l-nonascii.
17192         (gen-as-const-headers): Add locale-defines.sym.
17193         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17194         * sysdeps/x86_64/strcasecmp.S: New file.
17195         * sysdeps/x86_64/strcasecmp_l.S: New file.
17196         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17197         * sysdeps/x86_64/locale-defines.sym: New file.
17198         * string/test-strcasecmp.c: New file.
17200         * string/test-strcasestr.c: Test both ends of the range of characters.
17201         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17203 2010-07-29  Roland McGrath  <roland@redhat.com>
17205         [BZ #11856]
17206         * manual/locale.texi (Yes-or-No Questions): Fix example code.
17208 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
17210         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17211         for ld.so.
17213 2010-07-27  Andreas Schwab  <schwab@redhat.com>
17215         * manual/memory.texi (Malloc Tunable Parameters): Document
17216         M_PERTURB.
17218 2010-07-26  Roland McGrath  <roland@redhat.com>
17220         [BZ #11840]
17221         * configure.in (-fgnu89-inline check): Set and substitute
17222         gnu89_inline, not libc_cv_gnu89_inline.
17223         * configure: Regenerated.
17224         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17226 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
17228         * string/test-strnlen.c: New file.
17229         * string/Makefile (strop-tests): Add strnlen.
17230         * string/tester.c (test_strnlen): Add a few more test cases.
17231         * string/tst-strlen.c: Better error reporting.
17233         * sysdeps/x86_64/strnlen.S: New file.
17235 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
17237         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17238         lower-latency instructions.
17240 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
17242         * string/test-strcasestr.c: New file.
17243         * string/test-strstr.c: New file.
17244         * string/Makefile (strop-tests): Add strstr and strcasestr.
17245         * string/str-two-way.h: Don't undefine MAX.
17246         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17248 2010-07-21  Andreas Schwab  <schwab@redhat.com>
17250         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17251         strcasestr-nonascii.
17252         (CFLAGS-strcasestr-nonascii.c): Define.
17253         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17254         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17255         Remove unused attribute.
17257 2010-07-20  Roland McGrath  <roland@redhat.com>
17259         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17260         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
17261         ld.so.cache was broken.  With it, there is no way to disable dsocaps
17262         like LD_HWCAP_MASK can disable hwcaps.
17264 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
17266         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17268 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
17270         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17271         call in strcasestr.
17272         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17273         __strcasestr_sse42_nonascii.
17274         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17275         strcasestr-nonascii.c.
17276         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17278 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
17280         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17281         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17282         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17283         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17285 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
17287         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17288         fcntl.
17290 2010-07-06  Andreas Schwab  <schwab@redhat.com>
17292         [BZ #11577]
17293         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17294         dl_signal_cerror.
17296 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
17298         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17299         _PC_PIPE_BUF using F_GETPIPE_SZ.
17301 2010-07-05  Roland McGrath  <roland@redhat.com>
17303         * manual/arith.texi (Rounding Functions): Fix rint description
17304         implicit in round description.
17306 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
17308         * elf/Makefile: Fix linking for a few tests to make recent linker
17309         happy.
17311 2010-06-30  Andreas Schwab  <schwab@redhat.com>
17313         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17314         $(common-objpfx)libc_nonshared.a.
17316 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
17318         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17319         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17320         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17321         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17322         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17323         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17324         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17325         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17340         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17341         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17342         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17343         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17344         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17345         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17346         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17347         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17348         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17349         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17350         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17351         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17367 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17369         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17370         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
17371         * string/memmove.c (memmove): Renamed to ...
17372         (MEMMOVE): ...this.  Default to memmove.
17373         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17374         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17375         (END_CHK): Define.
17376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17377         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17378         mempcpy-ssse3-back memmove-ssse3-back.
17379         * sysdeps/x86_64/multiarch/bcopy.S: New file .
17380         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17381         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17382         * sysdeps/x86_64/multiarch/memcpy.S: New file.
17383         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17384         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17385         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17386         * sysdeps/x86_64/multiarch/memmove.c: New file.
17387         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17388         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17389         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17390         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17391         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17392         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17393         Define.
17394         (index_Fast_Copy_Backward): Define.
17395         (HAS_ARCH_FEATURE): Define.
17396         (HAS_FAST_REP_STRING): Define.
17397         (HAS_FAST_COPY_BACKWARD): Define.
17399 2010-06-21  Andreas Schwab  <schwab@redhat.com>
17401         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17402         Restore proper fallback handling.
17404 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
17406         [BZ #11701]
17407         * posix/group_member.c (__group_member): Correct checking loop.
17409         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17410         OOM in getpwuid_r correctly.  Return error number when the caller
17411         should return, otherwise -1.
17412         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17413         call returning > 0 value.
17414         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17416 2010-06-07  Andreas Schwab  <schwab@redhat.com>
17418         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17419         libc_nonshared.a from targets in modules-names.
17421 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
17423         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17424         requires it.
17426 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
17428         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17429         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17430         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17431         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17433 2010-06-02  Andreas Schwab  <schwab@redhat.com>
17435         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17437 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
17439         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17440         and F_GETPIPE_SZ.
17441         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17442         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17443         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17444         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17445         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17446         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17448 2010-06-14  Roland McGrath  <roland@redhat.com>
17450         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17452 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
17454         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17455         __REDIRECT followed by __THROW.
17456         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17457         * posix/getopt.h (getopt): Likewise.
17459 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
17461         * hurd/lookup-at.c (__file_name_lookup_at): Accept
17462         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
17463         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17464         in AT_FLAGS.
17465         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17466         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17468 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
17470         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17472 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
17474         [BZ #11640]
17475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17476         Properly check family and model.
17478 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
17480         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17482 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
17484         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17486 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
17488         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17489         symbol reference.
17491 2010-05-19  Andreas Schwab  <schwab@redhat.com>
17493         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17494         symbol reference.
17496 2010-05-21  Andreas Schwab  <schwab@redhat.com>
17498         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17499         and internal_recvmmsg.
17500         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17501         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17502         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17503         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17505         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17506         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17507         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17509 2010-05-20  Andreas Schwab  <schwab@redhat.com>
17511         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17513 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
17515         POWER7 optimizations.
17516         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17517         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17519 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
17521         * version.h: Update for 2.13 development version.
17523 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
17525         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17526         exceptions.  Return 0.
17528 2010-05-07  Roland McGrath  <roland@redhat.com>
17530         * elf/ldconfig.c (main): Add a const.
17532 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
17534         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17535         (args_options): Add no-idn option.
17536         (ahosts_keys_int): Add idn_flags to ai_flags.
17537         (parse_option): Handle 'i' option to clear idn_flags.
17539         * malloc/malloc.c (_int_free): Possible race in the most recently
17540         added check.  Only act on the data if no current modification
17541         happened.
17543 See ChangeLog.17 for earlier changes.