Generic sys/param.h fixes for missing SYMLOOP_MAX or NGROUPS_MAX.
[glibc.git] / ChangeLog
blob04efecfa45687c7e18f38082c1fc5c35db7c4065
1 2012-08-01  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7         Define mkstemp64 as an alias.
8         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9         Define mkostemp64 as an alias.
10         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11         Conditionalize body on this.
12         * misc/mkostemp64.c: Likewise.
13         * sysdeps/wordsize-64/mkstemp64.c: File removed.
14         * sysdeps/wordsize-64/mkostemp64.c: File removed.
15         * sysdeps/wordsize-64/mkostemp.c: File removed.
16         * sysdeps/wordsize-64/mkstemp.c: File removed.
17         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22         [BZ #14138]
23         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29         compat_symbol macros from <shlib-compat.h> rather than the underlying
30         default_symbol_version and symbol_version macros, so that DEFAULT
31         lines in shlib-versions are respected.
32         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37         Declare with warn_unused_result.
38         (setgid, setregid, setegid, setresgid): Likewise.
39         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40         Likewise.
41         * WUR-REPORT: Remove set*id functions.
43 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47 2012-07-31  Roland McGrath  <roland@hack.frob.com>
49         * include/sys/socket.h (__libc_accept, __libc_accept4):
50         Add attribute_hidden.
51         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54         use of PTR_MANGLE.
55         * inet/getnetgrent_r.c (setup): Likewise.
57         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59 2012-07-31  David S. Miller  <davem@davemloft.net>
61         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65         [BZ #13629]
66         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67         value between 1.0 and 2.0 and smaller part has absolute value less
68         than 1.0.
69         * math/s_clog10.c (__clog10): Likewise.
70         * math/s_clog10f.c (__clog10f): Likewise.
71         * math/s_clog10l.c (__clog10l): Likewise.
72         * math/s_clogf.c (__clogf): Likewise.
73         * math/s_clogl.c (__clogl): Likewise.
74         * math/libm-test.inc (clog_test): Add more tests.
75         (clog10_test): Likewise.
76         * sysdeps/i386/fpu/libm-test-ulps: Update.
77         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79 2012-07-31  Florian Weimer  <fweimer@redhat.com>
81         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
82         Exit with zero in case no suitable GID is found, and write a
83         message to standard error.
85 2012-07-30  Roland McGrath  <roland@hack.frob.com>
87         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
88         rather than to 1.
89         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
90         (MAXPATHLEN): Removed.
91         (NOGROUP, NODEV): New macros.
92         (setbit, clrbit, isset, isclr): New macros.
93         (howmany, roundup, powerof2): New macros.
94         (DEV_BSIZE): New macro.
96         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
97         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
99         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
100         definition on [!__NO_LONG_DOUBLE_MATH].
102         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
103         PTR_MANGLE and PTR_DEMANGLE.
105         * socket/accept4.c (accept4): Rename to __libc_accept4.
106         Define accept4 as a weak alias.
108         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
109         on [_DIRENT_HAVE_D_TYPE].
110         * io/ftw.c (ftw_dir): Likewise.
112         * io/xmknod.c (__xmknod): Don't check PATH for being null.
114         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
116         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
117         Use the BSD numbers rather than the arbitrary ones we had.
118         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
119         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
120         (SIGXCPU, SIGXFSZ): New macros.
121         (_NSIG): Now 32.
123         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
124         initializer on [_LIBC_REENTRANT].
126         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
127         definitions inside [_POSIX_MAPPED_FILES].
129         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
131         * dirent/opendir.c: Include <fcntl.h>.
133         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
134         (__libc_getspecific): Likewise.
135         (__libc_key_create): Likewise.
137         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
138         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
139         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
140         (tmpfile64): Define as alias.
141         * sysdeps/wordsize-64/tmpfile.c: File removed.
142         * sysdeps/wordsize-64/tmpfile64.c: File removed.
143         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
144         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
146         * stdio-common/vfscanf.c: Include <stdbool.h>.
147         * nss/makedb.c: Likewise.
148         * stdio-common/_i18n_number.h: Likewise.
149         * argp/argp-help.c: Likewise.
150         * posix/wordexp.c: Likewise.
151         * sysdeps/posix/spawni.c: Likewise.
152         * nss/nss_files/files-initgroups.c: Likewise.
153         * stdio-common/reg-modifier.c: Include <stdlib.h>.
154         * nss/nss_files/files-initgroups.c: Likewise.
155         * nss/nss_db/db-netgrp.c: Likewise.
156         * nss/nss_db/db-initgroups.c: Likewise.
157         * io/fchmodat.c: Include <sys/stat.h>.
159         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
160         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
162         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
163         [HAVE_MMAP].
165         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
166         Add multiple inclusion protection.
168 2012-07-27  David S. Miller  <davem@davemloft.net>
170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
172 2012-07-27  Gary Benson  <gbenson@redhat.com>
174         [BZ #14298]
175         * elf/rtld.c: Include <stap-probe.h>.
176         (dl_main): Added static probes "init_start" and "init_complete".
177         * elf/dl-load.c: Include <stap-probe.h>.
178         (lose): Take new parameter "nsid".
179         Added static probe "map_failed".
180         (_dl_map_object_from_fd): Pass namespace id to lose.
181         Added static probe "map_start".
182         (open_verify): Pass namespace id to lose.
183         * elf/dl-open.c: Include <stap-probe.h>.
184         (dl_open_worker) Added static probes "map_complete", "reloc_start"
185         and "reloc_complete".
186         * elf/dl-close.c: Include <stap-probe.h>.
187         (_dl_close_worker): Added static probes "unmap_start" and
188         "unmap_complete".
189         * elf/rtld-debugger-interface.txt: New file documenting the above.
191 2012-07-26  Roland McGrath  <roland@hack.frob.com>
193         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
194         rather than a string variable.
195         * sunrpc/rpc_main.c (h_output): Likewise.
196         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
198 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
200         * inet/check_native.c: New file.
202 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
204         [BZ #13629]
205         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
206         if larger part has absolute value 1.0.
207         * math/s_clog10.c (__clog10): Likewise.
208         * math/s_clog10f.c (__clog10f): Likewise.
209         * math/s_clog10l.c (__clog10l): Likewise.
210         * math/s_clogf.c (__clogf): Likewise.
211         * math/s_clogl.c (__clogl): Likewise.
212         * math/libm-test.inc (clog_test): Add more tests.
213         (clog10_test): Likewise.
214         * sysdeps/i386/fpu/libm-test-ulps: Update.
215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
217         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
218         (pltexit): Likewise.
219         (La_regs): Likewise.
220         (La_retval): Likewise.
221         (int_retval): Likewise.
222         Update #error for removed macros to refer only to definitions in
223         tst-audit.h.
224         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
225         macro.
226         (pltexit): Likewise.
227         (La_regs): Likewise.
228         (La_retval): Likewise.
229         (int_retval): Likewise.
230         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
231         macro.
232         (pltexit): Likewise.
233         (La_regs): Likewise.
234         (La_retval): Likewise.
235         (int_retval): Likewise.
236         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
237         macro.
238         (pltexit): Likewise.
239         (La_regs): Likewise.
240         (La_retval): Likewise.
241         (int_retval): Likewise.
242         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
243         macro.
244         (pltexit): Likewise.
245         (La_regs): Likewise.
246         (La_retval): Likewise.
247         (int_retval): Likewise.
248         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
249         macro.
250         (pltexit): Likewise.
251         (La_regs): Likewise.
252         (La_retval): Likewise.
253         (int_retval): Likewise.
254         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
255         macro.
256         (pltexit): Likewise.
257         (La_regs): Likewise.
258         (La_retval): Likewise.
259         (int_retval): Likewise.
260         * sysdeps/generic/tst-audit.h: Update comment to refer only to
261         macro definitions in tst-audit.h.
262         * sysdeps/i386/tst-audit.h: New file.
263         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
264         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
265         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
266         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
267         * sysdeps/sh/tst-audit.h: Likewise.
268         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
269         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
270         * sysdeps/x86_64/tst-audit.h: Likewise.
272 2012-07-26  Andreas Jaeger  <aj@suse.de>
274         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
275         ptrace.
277         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
278         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
279         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
280         PTRACE_O_MASK.
281         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
282         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
283         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
285         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
286         value.
288         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
289         _sigsys.
290         (si_call_addr, si_syscall, si_arch): Define new macro.
291         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
292         _sigsys.
293         (si_call_addr, si_syscall, si_arch): Define new marcro.
294         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
295         _sigsys.
296         (si_call_addr, si_syscall, si_arch): Define new macro.
297         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
298         _sigsys.
299         (si_call_addr, si_syscall, si_arch): Define new macro.
301 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
303         [BZ #13717]
304         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
305         Change to 2.4.21 where previously 2.4.1.
306         * sysdeps/unix/sysv/linux/configure: Regenerated.
307         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
308         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
309         Linux kernel version.
310         (__ASSUME_STD_AUXV): Remove.
311         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
312         kernel version.
313         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
314         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
315         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
316         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
317         (__ASSUME_NETLINK_SUPPORT): Likewise.
318         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
319         (__no_netlink_support): Remove conditional definition.
320         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
321         Remove.
322         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
323         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
324         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
325         (if_nameindex_ioctl): Remove.
326         (if_nameindex_netlink): Do not handle __no_netlink_support.
327         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
328         code.
329         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
330         Remove conditional code.
331         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
332         code.
333         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
334         unconditional.
335         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
336         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
337         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
338         Remove.
339         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
340         [!__ASSUME_STD_AUXV]: Remove conditional code.
341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
342         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
343         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
345         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
346         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
347         code.
348         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
350         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
351         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
352         conditional code.
353         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
355         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
356         code.
357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
358         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
359         conditional code.
360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
361         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
362         code unconditional.
363         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
364         conditional code.
365         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
366         unconditional.
367         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
368         conditional code.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
370         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
371         unconditional.
372         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
373         conditional code.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
375         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
376         code unconditional.
377         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
378         conditional code.
379         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
380         unconditional.
381         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
382         conditional code.
383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
384         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
385         code unconditional.
386         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
387         conditional code.
388         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
389         unconditional.
390         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
391         conditional code.
393 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
395         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
396         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
397         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
398         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
399         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
400         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
401         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
402         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
403         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
404         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
405         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
406         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
407         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
408         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
409         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
410         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
411         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
412         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
413         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
414         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
415         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
416         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
417         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
419 2012-07-25  Florian Weimer  <fweimer@redhat.com>
421         * Versions.def: Add GLIBC_2.17.
422         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
423         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
424         Introduce __libc_secure_getenv.
425         * stdlib/Versions (2.17): Add secure_getenv
426         (GLIBC_PRIVATE): Add __libc_secure_getenv.
427         * stdlib/secure-getenv.c: Rename __secure_getenv to
428         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
429         symbol __secure_getenv for GLIBC_2.0.
430         * stdlib/tst-secure-getenv.c: New.
431         * stdlib/Makefile (tests): Add testcase.
432         * manual/startup.texi (Environment Access): Document
433         secure_getenv.
434         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
435         __libc_secure_getenv.
436         * inet/ruserpass.c (ruserpass): Likewise.
437         * malloc/mtrace.c (mtrace): Likewise.
438         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
439         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
440         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
441         * sysdeps/posix/tempname.c: Likewise.  Evaluate
442         HAVE_SECURE_GETENV.
443         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
444         __secure_getenv to __libc_secure_getenv.
445         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
447         Likewise.
448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
449         Likewise.
450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
452         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
458 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
460         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
461         (struct La_i86_retval): Likewise.
462         (struct La_x86_64_regs): Likewise.
463         (struct La_x86_64_retval): Likewise.
464         (struct La_x32_regs): Likewise.
465         (struct La_x32_retval): Likewise.
466         (struct La_ppc32_regs): Likewise.
467         (struct La_ppc32_retval): Likewise.
468         (struct La_ppc64_regs): Likewise.
469         (struct La_ppc64_retval): Likewise.
470         (struct La_sh_regs): Likewise.
471         (struct La_sh_retval): Likewise.
472         (struct La_s390_32_regs): Likewise.
473         (struct La_s390_32_retval): Likewise.
474         (struct La_s390_64_regs): Likewise.
475         (struct La_s390_64_retval): Likewise.
476         (struct La_sparc32_regs): Likewise.
477         (struct La_sparc32_retval): Likewise.
478         (struct La_sparc64_regs): Likewise.
479         (struct La_sparc64_retval): Likewise.
480         (struct audit_ifaces): Remove architecture-specific pltenter and
481         pltexit members.
482         * sysdeps/i386/ldsodefs.h: New file.
483         * sysdeps/powerpc/ldsodefs.h: Likewise.
484         * sysdeps/s390/ldsodefs.h: Likewise.
485         * sysdeps/sh/ldsodefs.h: Likewise.
486         * sysdeps/sparc/ldsodefs.h: Likewise.
487         * sysdeps/x86_64/ldsodefs.h: Likewise.
489 2012-07-25  Marek Polacek  <polacek@redhat.com>
491         [BZ #6808]
492         * math/libm-test.inc (yn_test): Add another test.
493         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
494         to ERANGE when the result is +-Inf.
495         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
496         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
497         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
498         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
500 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
502         * conform/data/time.h-data (NULL): Use macro-constant.  Require
503         equal to 0.
504         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
505         clock_t.
506         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
508 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
510         * configure.in <sysdeps resolving>: Correct printing
511         Implies_before.
512         * configure: Regenerate.
514 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
516         * math/w_ilogb.c: Include <limits.h>.
517         * math/w_ilogbl.c: Likewise.
519 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
521         * manual/lang.texi (__va_copy): Document primarily as ISO C99
522         va_copy.  Document allowing for unavailable va_copy only as
523         pre-C99 compatibility.
524         * manual/string.texi (Copying and Concatenation): Use va_copy
525         instead of __va_copy in concat example.
527 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
529         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
530         (__sendto): Use create_address_port.  Initialize APORT and deallocate
531         it if not null.
533         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
534         with O_NOLINK passed to __file_name_lookup.
536         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
537         with O_NOLINK passed to __file_name_lookup.
539         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
540         negative N or less than NGIDS.
542         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
543         type to string_t.  Set ERANGE as errno and return it if NAME is not big
544         enough.  Use memcpy instead of strncpy.
546 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
548         * elf/Makefile (check-data): Remove.
549         (localplt.data): New vpath directive.
550         ($(objpfx)check-localplt.out): Use localplt.data from vpath
551         instead of $(check-data).
552         * scripts/data/localplt-generic.data: Move to ...
553         * sysdeps/generic/localplt.data: ... here.
554         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
555         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
556         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
558         ... here.
559         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
561         ... here.
562         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
564         ... here.
565         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
567         ... here.
568         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
570         ... here.
571         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
573         ... here.
575 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
577         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
578         PPC32 and PPC64 files.
579         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
580         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
582 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
584         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
585         __makecontext_ret to ...
586         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
587         ... here and call exit if uc_link is NULL.  New file.
588         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
589         __makecontext_ret.S.
590         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
591         __makecontext_ret to ...
592         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
593         ... here and call exit if uc_link is NULL.  New file.
594         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
595         __makecontext_ret.S.
597 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
599         * elf/elf.h (R_390_IRELATIVE): New definition.
600         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
601         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
602         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
603         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
604         (elf_machine_lazy_rel): Likewise.
605         * sysdeps/s390/dl-irel.h: New file.
606         * sysdeps/s390/s390-64/memcpy.S: New asm code.
607         * sysdeps/s390/s390-64/memset.S: New asm code.
608         * sysdeps/s390/s390-64/memcmp.S: New asm code.
609         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
610         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
611         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
612         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
613         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
614         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
615         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
616         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
617         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
618         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
619         * sysdeps/s390/s390-32/memcpy.S: New asm code.
620         * sysdeps/s390/s390-32/memset.S: New asm code.
621         * sysdeps/s390/s390-32/memcmp.S: New asm code.
623 2012-07-17  Marek Polacek  <polacek@redhat.com>
625         [BZ #14349]
626         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
627         * sysdeps/s390/s390-64/configure.in: Likewise.
628         * sysdeps/sparc/configure.in: Likewise.
629         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
630         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
631         * sysdeps/i386/configure.in: Likewise.
632         * sysdeps/x86_64/configure.in: Likewise.
633         * sysdeps/sh/configure.in: Likewise.
634         * sysdeps/s390/s390-32/configure: Regenerated.
635         * sysdeps/s390/s390-64/configure: Likewise.
636         * sysdeps/x86_64/configure: Likewise.
637         * sysdeps/sh/configure: Likewise.
638         * sysdeps/powerpc/powerpc64/configure: Likewise.
639         * sysdeps/powerpc/powerpc32/configure: Likewise.
640         * sysdeps/sparc/configure: Likwise.
641         * sysdeps/i386/configure: Likewise.
643         * elf/dl-open.c: Comment fixes.
645 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
647         * Makefile [CXX] (check-data): Remove.
648         [CXX] (c++-types.data): New vpath directive.
649         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
650         vpath.  Do not allow for C++ type data being missing.
651         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
652         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
653         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
654         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
655         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
656         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
657         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
659         ... here.
660         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
662         ... here.
663         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
665         ... here.
666         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
668         ... here.
669         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
671         ... here.
672         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
674         ... here.
675         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
677         ... here.
678         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
681         * elf/tls-macros.h (TLS_LE): Move architecture-specific
682         definitions to architecture-specific files.
683         (TLS_IE): Likewise.
684         (TLS_LD): Likewise.
685         (TLS_GD): Likewise.
686         * sysdeps/i386/tls-macros.h: New file.
687         * sysdeps/powerpc/tls-macros.h: Likewise.
688         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
689         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
690         * sysdeps/sh/tls-macros.h: Likewise.
691         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
692         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
693         * sysdeps/x86_64/tls-macros.h: Likewise.
695 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
697         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
698         zero value for regular exit case.
700         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
701         (__start_context): Preserve zero value for regular exit case.
703 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
704             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
706         * manual/setjmp.texi (setcontext): Clarify normal process
707         termination when uc_link is the null pointer.
708         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
709         exit call.
711 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
713         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
714         preprocessor.  Test for each exception mask separately.
716 2012-07-16  Andreas Jaeger  <aj@suse.de>
718         * po/ru.po: Update from translation team.
720 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
722         * conform/data/string.h-data (NULL): Use macro-constant.  Require
723         equal to 0.
724         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
725         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
726         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
727         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
728         [ISO || ISO99 || ISO11] (*_t): Do not allow.
730 2012-07-13  Andreas Jaeger  <aj@suse.de>
732         * po/fr.po: Update from translation team.
734 2012-07-12  Marek Polacek  <polacek@redhat.com>
736         [BZ #14173]
737         * math/libm-test.inc (yn_test): Add test for BZ #14173.
738         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
739         loop condition.
741 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
743         [BZ #13717]
744         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
745         Change to 2.4.1 where previously 2.4.0.
746         * sysdeps/unix/sysv/linux/configure: Regenerated.
747         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
748         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
749         version.
750         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
751         (__ASSUME_AT_CLKTCK): Remove.
752         (__ASSUME_AT_PAGESIZE): Likewise.
753         (__ASSUME_AT_XID): Likewise.
754         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
755         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
756         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
757         unconditionally.
758         (HAVE_AUX_PAGESIZE): Likewise.
759         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
760         [__ASSUME_AT_CLKTCK]: Make code unconditional.
761         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
763 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
765         [BZ #14307]
766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
767         the temporary buffer used to invoke __gethostbyname2_r,
768         __gethostbyaddr_r and gethostbyname4_r to make room for struct
769         host_data / struct gaih_addrtuple.
770         * resolv/nss_dns/dns-host.c (global scope): Move definition of
771         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
772         header file nss/nsswitch.h.
773         * nss/nsswitch.h (global scope): Add definition of implementation
774         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
775         resolv/nss_dns/dns-host.c).
777 2012-07-11  Andreas Jaeger  <aj@suse.de>
779         * po/fr.po: Update from translation team.
781         * po/sv.po: Update from translation team
782         * po/fr.po: Another update from translation team.
784 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
786         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
787         for subnormals or multiply small sinh result by itself.
788         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
791 2012-07-11  David S. Miller  <davem@davemloft.net>
793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
795 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
797         [BZ #14347]
798         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
799         (INTERNAL_MARK): Shift it here.
801 2012-07-10  Marek Polacek  <polacek@redhat.com>
803         [BZ #14151]
804         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
805         libc_cv_asm_global_directive with .globl.
806         * configure: Regenerated.
807         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
808         with .globl.
809         * sysdeps/i386/configure: Regenerated.
810         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
811         with .globl.
812         * sysdeps/x86_64/configure: Regenerated.
813         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
814         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
815         * elf/tst-unique2mod2.c: Likewise.
816         * elf/tst-unique2mod1.c: Likewise.
817         * elf/tst-unique1mod2.c: Likewise.
818         * elf/tst-unique1mod1.c: Likewise.
819         * sysdeps/s390/s390-32/sysdep.h: Likewise.
820         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
821         * sysdeps/s390/s390-64/sysdep.h: Likewise.
822         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
823         * sysdeps/mach/sysdep.h: Likewise.
824         * sysdeps/i386/sysdep.h: Likewise.
825         * sysdeps/i386/i386-mcount.S: Likewise.
826         * sysdeps/x86_64/_mcount.S: Likewise.
827         * sysdeps/x86_64/sysdep.h: Likewise.
828         * sysdeps/sh/_mcount.S: Likewise.
829         * sysdeps/sh/sysdep.h: Likewise.
830         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
831         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
832         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
833         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
834         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
835         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
836         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
837         * locale/localeinfo.h: Likewise.
838         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
839         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
841 2012-07-09  Roland McGrath  <roland@hack.frob.com>
843         [BZ #14336]
844         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
845         system".
846         * manual/message.texi (The Uniforum approach): Likewise.
847         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
848         (glibc iconv Implementation): Likewise.
850 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
852         [BZ #14337]
853         * math/s_clog.c (__clog): Avoid scaling a value down where that
854         could result in underflow.
855         * math/s_clog10.c (__clog10): Likewise.
856         * math/s_clog10f.c (__clog10f): Likewise.
857         * math/s_clog10l.c (__clog10l): Likewise.
858         * math/s_clogf.c (__clogf): Likewise.
859         * math/s_clogl.c (__clogl): Likewise.
860         * math/libm-test.inc (clog_test): Add more tests.
861         (clog10_test): Likewise.
862         * sysdeps/i386/fpu/libm-test-ulps: Update.
863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
865 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
867         [BZ #14283]
868         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
869         by 7 not 8 to examine high bit of fractional part.
871         [BZ #14042]
872         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
873         for call to __mcount_internal.
874         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
875         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
876         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
878 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
880         [BZ #14154]
881         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
882         approximation for values within 0x1p-13f of an odd multiple of
883         pi/4.
884         * math/libm-test.inc (tan_test): Do not allow spurious underflow
885         exception.  Add more tests.
886         * sysdeps/i386/fpu/libm-test-ulps: Update.
888         [BZ #6778]
889         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
890         inputs and return -1 for them.  Do not check for +Inf in case not
891         reachable for +Inf.
892         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
893         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
894         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
895         and return -1 for them.  Do not check for +Inf in case not
896         reachable for +Inf.
897         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
898         define.
899         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
900         and return -1 for them.  Do not check for +Inf in case not
901         reachable for +Inf.
902         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
903         spurious underflow.
904         * sysdeps/i386/fpu/libm-test-ulps: Update.
905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
907 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
909         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
911 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
913         [BZ #14157]
914         [BZ #14331]
915         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
916         could result in spurious underflow.  Scale down values above
917         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
918         * math/s_csqrtf.c (__csqrtf): Likewise.
919         * math/s_csqrtl.c (__csqrtl): Likewise.
920         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
921         spurious underflow.
922         * sysdeps/i386/fpu/libm-test-ulps: Update.
923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
925 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
927         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
928         xopen-msg.sed.
929         * catgets/xopen-msg.awk: New file.
930         * catgets/xopen-msg.sed: Removed.
932         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
933         po2text.sed.
934         * intl/po2test.awk: New file.
935         * intl/po2test.sed: Removed.
937 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
939         [BZ #14328]
940         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
941         or multiply small sinh result by itself.
942         * math/s_ctanf.c (__ctanf): Likewise.
943         * math/s_ctanh.c (__ctanh): Likewise.
944         * math/s_ctanhf.c (__ctanhf): Likewise.
945         * math/s_ctanhl.c (__ctanhl): Likewise.
946         * math/s_ctanl.c (__ctanl): Likewise.
947         * math/libm-test.inc (ctan_test_tonearest): New function.
948         (ctan_test_towardzero): Likewise.
949         (ctan_test_downward): Likewise.
950         (ctan_test_upward): Likewise.
951         (ctanh_test_tonearest): Likewise.
952         (ctanh_test_towardzero): Likewise.
953         (ctanh_test_downward): Likewise.
954         (ctanh_test_upward): Likewise.
955         (main): Call these new functions.
956         * sysdeps/i386/fpu/libm-test-ulps: Update.
957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
959 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
961         * .gitignore: Delete /ports entry.
963 2012-07-03  Andreas Jaeger  <aj@suse.de>
965         * po/bg.po: Update from translation team.
966         * po/cs.po: Likewise.
967         * po/de.po: Likewise.
968         * po/hr.po: Likewise.
969         * po/nl.pl: Likewise.
970         * po/pl.po: Likewise.
971         * po/vi.po: Likewise.
973 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
975         * Makeconfig [!+link] (+link-before-libc): New variable.
976         [!+link] (+link-after-libc): Likewise.
977         [!+link] (+link-tests): Likewise.
978         [!+link] (+link): Define in terms of $(+link-before-libc) and
979         $(+link-after-libc).
980         [!+link-static] (+link-static-before-libc): New variable.
981         [!+link-static] (+link-static-after-libc): Likewise.
982         [!+link-static] (+link-static-tests): Likewise.
983         [!+link-static] (+link-static): Define in terms of
984         $(+link-static-before-libc) and $(+link-static-after-libc).
985         [build-shared] (link-libc-before-gnulib): New variable.
986         [build-shared] (link-libc-tests): Likewise.
987         [build-shared] (link-libc): Define in terms of
988         $(link-libc-before-gnulib).
989         [!build-shared] (link-libc-tests): New variable.
990         (link-libc-static-tests): New variable.
991         [!gnulib] (gnulib-arch): New variable.
992         [!gnulib] (gnulib-tests): Likewise.
993         [!gnulib] (static-gnulib-arch): Likewise.
994         [!gnulib] (static-gnulib-tests): Likewise.
995         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
996         Define with "=" instead of ":=".
997         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
998         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
999         * Rules (binaries-all-notests): New variable.
1000         (binaries-all-tests): Likewise.
1001         (binaries-static-notests): Likewise.
1002         (binaries-static-tests): Likewise.
1003         (binaries-all): Define using $(binaries-all-notests) and
1004         $(binaries-all-tests).
1005         (binaries-static): Define using $(binaries-static-notests) and
1006         $(binaries-static-tests).
1007         (binaries-shared-tests): New variable.
1008         (binaries-shared-notests): Likewise.
1009         (binaries-shared): Remove variable.
1010         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1011         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1012         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1013         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1014         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1015         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1016         * elf/Makefile (sln-modules): New variable.
1017         (extra-objs): Add $(sln-modules:=.o).
1018         (ldconfig-modules): Add static-stubs.
1019         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1020         * elf/static-stubs.c: New file.
1022         [BZ #14283]
1023         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1024         by 7 not 8 to examine high bit of fractional part.  Use volatile
1025         variables when splitting into final array of floats if
1026         __FLT_EVAL_METHOD__ != 0.
1027         * math/libm-test.inc (cos_test): Add another test.
1028         (sin_test): Likewise.
1029         * sysdeps/i386/fpu/libm-test-ulps: Update.
1031         [BZ #14273]
1032         * math/libm-test.inc (cosh_test): Add more tests.
1034         * version.h (RELEASE): Set to "development".
1035         (VERSION): Set to "2.16.90".
1037 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
1039         * NEWS: Update copyright. Remove last-updated date.
1040         Mention math library bug fixes and timezone data changes.
1041         * README: Mention GNU/Hurd, x32, and HPPA support status.
1043 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
1045         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1047 2012-06-27  Andreas Jaeger  <aj@suse.de>
1049         * manual/contrib.texi (Contributors): Add Samuel Thibault.
1051 2012-06-25  Andreas Jaeger  <aj@suse.de>
1053         * sysdeps/s390/fpu/libm-test-ulps: Update.
1055 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
1056             Thomas Schwinge  <thomas@codesourcery.com>
1058         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1059         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1060         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1061         fanotify_mark.
1063 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
1065         * sysdeps/mach/start.c: Remove file.
1066         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1067         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1068         * sysdeps/sh/init-first.c: Likewise.
1070         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1071         registers for frame unwinding purposes, add CFI directives.
1072         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1073         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1074         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1075         Likewise.
1077         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1078         __fortify_fail returning.
1079         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1081         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1082         sysdeps/sh/____longjmp_chk.S.
1083         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1084         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1085         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1086         (gen-as-const-headers): Append sigaltstack-offsets.sym.
1088         * sysdeps/sh/abort-instr.h: New file.
1089         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1090         process in case exit returns.
1092         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1093         initialize the GOT register before use.
1095         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1096         calculation of ARGC > 4.
1098         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1099         meaningful names to some local labels.
1101 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1102             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1104         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1105         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1106         (__arch_compare_and_exchange_val_16_acq): Likewise.
1107         (__arch_compare_and_exchange_val_32_acq): Likewise.
1108         (atomic_exchange_and_add): Fix gUSA sequence.
1109         (atomic_add): Likewise.
1110         (atomic_add_negative): Likewise.
1111         (atomic_add_zero): Likewise.
1112         (atomic_bit_test_set): Likewise.
1114 2012-06-22  Andreas Schwab  <schwab@redhat.com>
1116         [BZ #13579]
1117         * include/link.h (struct link_map): Add l_free_initfini.
1118         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1119         l_initfini.
1120         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1121         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1122         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1123         set.
1125 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
1127         * configure.in: Use AC_LANG_SOURCE.
1128         * configure: Regenerate.
1130 2012-06-22  Roland McGrath  <roland@hack.frob.com>
1132         * configure.in (libc_cv_localstatedir): New substituted variable.
1133         * configure: Regenerated.
1134         * config.make.in (localstatedir): New variable, substituted from
1135         libc_cv_localstatedir.
1136         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1137         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1138         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1139         * sysdeps/gnu/configure: Regenerated.
1141 2012-06-21  Jeff Law  <law@redhat.com>
1143         [BZ #14277]
1144         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1145         free.  Simplify list management for _LIBC case.
1147 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
1149         [BZ #14273]
1150         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1151         Clear sign bit of 64-bit integer value before comparing against
1152         overflow value.
1154         * sysdeps/mach/configure: Regenerated.
1156 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1158         [BZ #14278]
1159         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1161 2012-06-21  Jeff Law  <law@redhat.com>
1163         [BZ #13882]
1164         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
1165         uint16_t for elements in the "seen" array to avoid char overflows.
1166         * elf/dl-fini.c (_dl_sort_fini): Likewise.
1167         * elf/dl-open.c (dl_open_worker): Likewise.
1169 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
1171         * scripts/list-sources.sh: Scan PORTS for translations.
1172         * po/libc.pot: Regenerated.
1174 2012-06-21  Andreas Jaeger  <aj@suse.de>
1176         [BZ #12194]
1177         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1178         warning.
1179         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1180         * bits/byteswap-16.h (__bswap_16): Likewise.
1181         * bits/byteswap.h (__bswap_constant_16): Likewise.
1183 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
1185         [BZ #14117]
1186         * sysdeps/i386/fpu_control.h: Removed.
1187         * sysdeps/x86_64/fpu_control.h: Moved to ...
1188         * sysdeps/x86/fpu_control.h: Here.
1190         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1191         (_FPU_SETCW): Likewise.
1193 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1195         [BZ #14117]
1196         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1197         * sysdeps/x86/fpu/bits/mathinline.h: This.
1198         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1200         [BZ #14050]
1201         [BZ #14117]
1202         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1203         functions if __x86_64__ is defined.
1205 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
1207         * string/endian.h: Add !__ASSEMBLER__ condition for including
1208         conversion interfaces.
1210 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
1212         [BZ #14241]
1213         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1214         of ABS(x) in calculating zero to negative powers other than odd
1215         integers.
1216         * math/libm-test.inc (pow_test): Add more tests.
1218 2012-06-15  Andreas Jaeger  <aj@suse.de>
1220         * manual/contrib.texi (Contributors): Update entry of Liubov
1221         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1222         Machado Filho.
1224 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
1226         * string/string.h: Add __wur to GNU version of strerror_r.
1228 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1230         [BZ #14229]
1231         * string/Makefile (tests): Add tst-strtok_r.
1232         * string/tst-strtok_r.c: New file.
1233         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1234         RAX_LP/RDX_LP on SAVE_PTR.
1236 2012-06-14  Roland McGrath  <roland@hack.frob.com>
1238         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1240 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
1242         * libm_test.inc (csqrt_test): Allow more spurious underflow
1243         exceptions.
1244         (j0_test): Likewise.
1245         (j1_test): Likewise.
1246         (y0_test): Likewise.
1247         (y1_test): Likewise.
1249 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
1251         * po/Makefile (libc.pot): Use UTF-8 charset.
1253 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
1255         [BZ #14210]
1256         Suppress sign-conversion warning from FD_SET.
1257         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1258         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1259         not unsigned long int.
1260         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1262 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1264         [BZ #14050]
1265         [BZ #14117]
1266         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1267         __extern_always_inline instead of __extern_inline.
1268         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1269         (__signbit): Likewise.
1270         (__signbitl): Support C++ namespace.
1271         (lrintf): New inline function.
1272         (lrint): Likewise.
1273         (llrintf): Likewise.
1274         (llrint): Likewise.
1275         (fmaxf): Likewise.
1276         (fmax): Likewise.
1277         (fminf): Likewise.
1278         (fmin): Likewise.
1279         (rint): Likewise.
1280         (rintf): Likewise.
1281         (ceil): Likewise.
1282         (ceilf): Likewise.
1283         (floor): Likewise.
1284         (floorf): Likewise.
1285         (nearbyint): Likewise.
1286         (nearbyintf): Likewise.
1288 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
1290         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1291         non-default versions.
1293 2012-06-11  Roland McGrath  <roland@hack.frob.com>
1295         [BZ #14218]
1296         * manual/argp.texi (Argp): Reword argp_parse description slightly.
1298 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
1300         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1301         (FE_UPWARD, FE_DOWNWARD): Don't define.
1302         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1303         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1305         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1306         reading it.
1307         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1308         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1310 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1312         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1313         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1314         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1315         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1317 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1319         [BZ #14117]
1320         * sysdeps/i386/fpu/bits/fenv.h: Removed.
1321         * sysdeps/i386/fpu/Implies: New file.
1322         * sysdeps/x86_64/fpu/Implies: Likewise.
1323         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1324         * sysdeps/x86/fpu/bits/fenv.h: This.
1326         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1327         __SSE_MATH__.
1329 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1331         [BZ #14134]
1332         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1333         character 0xffff that matches the last element of the
1334         conversion table.
1336 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1338         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1339         fmodl commit.
1341 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1343         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1344         values higher than 25.6283.
1346 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1348         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1349         subnormal exponent extraction and add some __builtin_expect.
1350         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1351         Fix for subnormal mantissa calculation.
1353 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
1355         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1356         cpu2 is -1 and errno is not ENOSYS.
1358 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
1360         [BZ #14117]
1361         * sysdeps/i386/i486/bits/string.h: Renamed to ...
1362         * sysdeps/x86/bits/string.h: This.
1363         * sysdeps/x86_64/bits/string.h: Removed.
1365         * sysdeps/i386/i486/bits/string.h: Define inline functions only
1366         if not compiling for x86-64, but compiling for >= i486.
1368         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1369         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1371         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1372         New macro from Linux kernel 3.4.0.
1373         (FP_XSTATE_MAGIC2): Likewise.
1374         (FP_XSTATE_MAGIC2_SIZE): Likewise.
1375         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1376         (struct _fpx_sw_bytes): New struct.
1377         (struct _xsave_hdr): Likewise.
1378         (struct _ymmh_state): Likewise.
1379         (struct _xstate): Likewise.
1381         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1382         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1383         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1384         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1385         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1386         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1388         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1389         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1390         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1391         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1392         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1393         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1395 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1397         [BZ #13743]
1398         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1399         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1400         (sysdep_headers): Include sys/platform/ppc.h.
1401         * sysdeps/powerpc/test-gettimebase.c: Test for
1402         __ppc_get_timebase() to catch future ISA opcode/insn changes.
1403         * manual/Makefile (appendices): Include platform.texi.
1404         * manual/contrib.texi (Contributors): Update @node pointers.
1405         * manual/maint.texi (Maintenance): Likewise.
1406         (Platform): New node.
1407         * manual/platform.texi: New file.  Document the new features.
1409 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1410             Jakub Jelinek  <jakub@redhat.com>
1412         [BZ #14188]
1413         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1414         where __builtin_expect is unavailable.
1416 2012-06-03  David S. Miller  <davem@davemloft.net>
1418         * stdlib/longlong.h: Updated from GCC.
1420 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
1422         [BZ #14042]
1423         * sysdeps/powerpc/powerpc32/mcount.c: New file.
1424         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1425         __mcount_internal.
1426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1427         (GLIBC_2.16): Likewise.
1429 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1431         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1433 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1436         (default-abi): New variable.
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1438         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1439         variable.
1440         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1441         Likewise.
1442         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1443         Likewise.
1444         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1445         Likewise.
1447         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1448         definition.  Document in comment.
1450 2012-06-01  David S. Miller  <davem@davemloft.net>
1452         * stdlib/longlong.h: Updated from GCC.
1454 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1456         [BZ #14117]
1457         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1458         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1459         sys/debugreg.h sys/io.h here.
1460         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1461         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1462         sys/io.h.
1463         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1464         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1465         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1466         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1467         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1468         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1470         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1471         Define only if __x86_64__ is defined.
1473 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
1475         [BZ #14048]
1476         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1477         Use int64_t for variable i.
1478         * math/libm-test.inc (fmod_test): Add more tests.
1480         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1481         z computation is not scheduled after fetestexcept.
1482         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1483         Use math_force_eval instead of asm to ensure calculation scheduled
1484         before exception test.
1485         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1486         Ensure a1 + u.d computation is not scheduled after fetestexcept.
1488 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
1490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1491         computation is not scheduled after fetestexcept.
1493 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
1495         [BZ #14117]
1496         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1497         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1499 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1501         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1502         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1504 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
1506         [BZ #14117]
1507         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1508         <bits/wordsize.h>.
1509         (__WCHAR_MIN): Support __WORDSIZE == 64.
1510         (__WCHAR_MAX): Likewise.
1512         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1513         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1515         [BZ #14183]
1516         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1517         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1519         [BZ #14117]
1520         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1521         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1523         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1524         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1526         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1527         Defined to 1 if __x86_64__ isn't defined.
1528         (_STAT_VER_LINUX_OLD): New.
1529         (st_atime): Remove duplicate.
1530         (st_mtime): Likewise.
1531         (st_ctime): Likewise.
1533 2012-05-31  David S. Miller  <davem@davemloft.net>
1535         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1536         entries.
1538 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
1540         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1541         gen-libm-test.pl.
1543         [BZ #14132]
1544         * elf/dl-reloc.c: Include <_itoa.h>.
1545         (_dl_reloc_bad_type): Remove use of INTUSE.
1546         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1547         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1548         * stdio-common/psiginfo.c (psiginfo): Likewise.
1549         * stdio-common/psignal.c (psignal): Likewise.
1550         * string/strsignal.c (strsignal): Likewise.
1551         * include/signal.h (_sys_siglist): Declare hidden proto.
1552         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
1553         INTVARDEF with libc_hidden_data_def.
1554         * stdio-common/itoa-udigits.c: Likewise.
1555         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1556         (_itoa_lower_digits_internal): Remove declaration.
1557         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1558         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1559         (_sys_sigabbrev_internal): Remove aliases.
1560         (_sys_siglist): Define hidden alias.
1562 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
1564         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1565         bits/sysctl.h.
1567 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
1569         [BZ #14117]
1570         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1571         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1573         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1574         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1575         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1576         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1577         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1578         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1580         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1581         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1582         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1584         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1585         with __addr.
1586         (insw): Likewise.
1587         (insl): Likewise.
1588         (outsb): Likewise.
1589         (outsw): Likewise.
1590         (outsl): Likewise.
1592         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1593         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1594         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1596         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1597         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1598         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1599         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1600         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1601         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1603         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1604         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1606         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1607         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1609         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1610         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1611         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1613         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1614         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1615         to ...
1616         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1618         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1619         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1620         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1622         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1623         for x86-64.
1624         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1626 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
1628         * math/math.h (M_El): Use two more decimal places.
1629         (M_LOG2El): Likewise.
1630         (M_LOG10El): Likewise.
1631         (M_LN2l): Likewise.
1632         (M_LN10l): Likewise.
1633         (M_PIl): Likewise.
1634         (M_PI_2l): Likewise.
1635         (M_PI_4l): Likewise.
1636         (M_1_PIl): Likewise.
1637         (M_2_PIl): Likewise.
1638         (M_2_SQRTPIl): Likewise.
1639         (M_SQRT2l): Likewise.
1640         (M_SQRT1_2l): Likewise.
1642 2012-05-31  David S. Miller  <davem@davemloft.net>
1644         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1645         values between float registers.
1646         * sysdeps/sparc/sparc64/memset.S: Likewise.
1647         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1649 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
1651         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1652         -D_FORTIFY_SOURCE=1.
1653         (CPPFLAGS-tst-longjmp_chk.c): Define.
1654         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1655         (CPPFLAGS-tst-longjmp_chk2.c): Define.
1656         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1657         CFLAGS-tst-wchar-h.c.
1659 2012-05-31  Marek Polacek  <polacek@redhat.com>
1661         [BZ #14132]
1662         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1663         __endmntent_internal): Remove declaration.
1664         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1665         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1666         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1668 2012-05-30  David S. Miller  <davem@davemloft.net>
1670         * sysdeps/sparc/sparc32/soft-fp/q_util.c
1671         (___Q_simulate_exceptions): Use real FP ops rather than writing
1672         into the %fsr.
1673         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1674         Likewise.
1676 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1678         [BZ #14117]
1679         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1680         * sysdeps/x86/bits/xtitypes.h: This.
1682         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1683         * sysdeps/x86/bits/wordsize.h: This.
1685         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1686         * sysdeps/x86/bits/huge_vall.h: This.
1688         * sysdeps/i386/bits/select.h: Removed.
1689         * sysdeps/x86_64/bits/select.h: Renamed to ...
1690         * sysdeps/x86/bits/select.h: This.
1692         * sysdeps/i386/bits/setjmp.h: Removed.
1693         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1694         * sysdeps/x86/bits/setjmp.h: This.
1696         * sysdeps/i386/bits/mathdef.h: Removed.
1697         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1698         * sysdeps/x86/bits/mathdef.h: This.
1700 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
1702         [BZ #14132]
1703         * include/sys/socket.h (__connect_internal)
1704         (__libc_sa_len_internal): Remove declaration.
1705         (__connect, __libc_sa_len): Declare hidden_proto.
1706         (SA_LEN): Remove use of INTUSE.
1707         * socket/connect.c: Add libc_hidden_def.
1708         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1709         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1710         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1711         alias.
1712         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1713         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1714         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1715         of adding _internal alias.
1717 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1719         [BZ #14117]
1720         * sysdeps/i386/bits/link.h: Removed.
1721         * sysdeps/i386/bits/linkmap.h: Likewise.
1722         * sysdeps/x86_64/bits/link.h: Renamed to ...
1723         * sysdeps/x86/bits/link.h: This.
1724         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1725         * sysdeps/x86/bits/linkmap.h: This.
1727         * sysdeps/i386/bits/endian.h: Removed.
1728         * sysdeps/x86_64/bits/endian.h: Renamed to ...
1729         * sysdeps/x86/bits/endian.h: This.
1731         * sysdeps/i386/bits/byteswap.h: Removed.
1732         * sysdeps/i386/bits/byteswap-16.h: Likewise.
1733         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1734         * sysdeps/x86/bits/byteswap.h: This.
1735         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1736         * sysdeps/x86/bits/byteswap-16.h: This.
1737         * sysdeps/i386/Implies: Add x86.
1738         * sysdeps/x86_64/Implies: Likewise.
1740 2012-05-30  David S. Miller  <davem@davemloft.net>
1742         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1743         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1744         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1745         (FP_TRAPPING_EXCEPTIONS): Define.
1746         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1747         (FP_TRAPPING_EXCEPTIONS): Define.
1748         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1749         subnormals only when inexact has been signalled or underflow
1750         exceptions are enabled.
1751         (_FP_PACK_CANONICAL): Likewise.
1753 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1755         [BZ #14183]
1756         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1757         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1759 2012-05-30  Richard Henderson  <rth@twiddle.net>
1761         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1762         with #ifndef NOT_IN_libc.
1764         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
1765         marked to avoid plt entry.
1767 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1769         [BZ #14112]
1770         * Makeconfig (default-abi): New macro.
1771         (abi-includes): Likewise.
1772         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
1773         $(abi-$(default-abi)-lib-soname) for soname if defined.
1774         ($(common-objpfx)gnu/lib-names.stmp): Generate from
1775         abi-variants.
1776         * Makefile (installed-stubs): Likewise.
1777         * include/stubs-biarch.h: Removed.
1778         * scripts/lib-names.awk: Only handle one library at a time.
1779         * scripts/soversions.awk: Remove WORDSIZE support.
1780         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1781         entries.
1782         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1783         Removed.
1784         (syscall-list-default-condition): Likewise.
1785         (syscall-list-default-condition): Likewise.
1786         (syscall-list-includes): Likewise.
1787         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1788         syscall-list-* with abi-*.  Handle undefined abi-variants.
1789         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1790         * sysdeps/unix/sysv/linux/i386/Implies: New file.
1791         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1792         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1793         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1794         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1795         Removed.
1796         (syscall-list-32-options): Likewise.
1797         (syscall-list-32-condition): Likewise.
1798         (syscall-list-64-options): Likewise.
1799         (syscall-list-64-condition): Likewise.
1800         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1801         macro.
1802         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1803         Renamed to ...
1804         (abi-*): This.
1805         (abi-64-ld-soname): New macro.
1806         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1807         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1808         Renamed to ...
1809         (abi-*): This.
1810         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1811         * sysdeps/x86_64/x32/shlib-versions: Likewise.
1813 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
1815         * sysdeps/unix/sysv/linux/kernel-features.h
1816         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1817         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1818         include <kernel-features.h>.
1819         [!__NR_ftruncate64]: Remove conditional code.
1820         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1821         [__NR_ftruncate64]: Make code unconditional.
1822         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1823         * sysdeps/unix/sysv/linux/truncate64.c: Do not
1824         include <kernel-features.h>.
1825         [!__NR_ftruncate64]: Remove conditional code.
1826         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1827         [__NR_ftruncate64]: Make code unconditional.
1828         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1830         include <kernel-features.h>.
1831         [!__NR_ftruncate64]: Remove conditional code.
1832         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1833         [__NR_ftruncate64]: Make code unconditional.
1834         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1836         include <kernel-features.h>.
1837         [!__NR_ftruncate64]: Remove conditional code.
1838         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1839         [__NR_ftruncate64]: Make code unconditional.
1840         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1842         * configure.in (libc_cv_fpie): Weaken to a compile test using
1843         LIBC_TRY_CC_OPTION.
1844         * configure: Regenerated.
1846 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1852         Refreshed.
1853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1859         Refreshed.
1861 2012-05-27  David S. Miller  <davem@davemloft.net>
1863         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1864         (___Q_zero): New.
1865         (__Q_simulate_exceptions): Return void.  Change to simulate
1866         exceptions by writing into the %fsr.
1867         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1868         (__Qp_handle_exceptions): Likewise.
1869         (numbers): Delete.
1870         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1871         __Qp_handle_exceptions.
1872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1873         __Qp_handle_exceptions.
1874         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1875         as unused and give dummy FP_RND_NEAREST initializer.
1876         (FP_INHIBIT_RESULTS): Define.
1877         (___Q_simulate_exceptions): Update declaration.
1878         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1879         formatting.
1880         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1881         as unused and give dummy FP_RND_NEAREST initializer.
1882         (__Qp_handle_exceptions): Update declaration.
1883         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1884         formatting.
1886 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
1888         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1889         the temporary FPU control word.
1890         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1891         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1892         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1893         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1894         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1895         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1896         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1897         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1898         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1899         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1900         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1902 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1904         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1905         fields.
1907 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
1909         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1910         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1911         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1912         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1913         Likewise.
1914         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1915         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1916         Likewise.
1918 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
1920         * po/h.po: Update from translation team.
1922 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
1924         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1926         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1927         handling of denormals.
1928         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1929         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1930         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1931         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1932         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1933         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1934         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1935         Likewise.
1937 2012-05-26  Marek Polacek  <polacek@redhat.com>
1939         [BZ #14152]
1940         * math/libm-test.inc (fma_test): Don't always expect underflow
1941         exception.
1943 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1945         [BZ #12416]
1946         * elf/tst-execstack.c: Include stackinfo.h.
1947         (do_test): Adjust test case to ensure that pthread_getattr_np
1948         behaviour remains the same after marking stack executable.
1950 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1952         * sysdeps/unix/sysv/linux/kernel-features.h
1953         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1954         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1955         kernel-features.h.
1956         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1957         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1958         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1959         kernel-features.h.
1960         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1961         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1963 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1965         * configure.in: Define the default includes to being none.
1966         * configure: Regenerated.
1968 2012-05-25  Roland McGrath  <roland@hack.frob.com>
1970         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1971         * sysdeps/x86_64/setjmp.S: Likewise.
1972         * sysdeps/i386/bsd-setjmp.S: Likewise.
1973         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1974         * sysdeps/i386/setjmp.S: Likewise.
1975         * sysdeps/i386/__longjmp.S: Likewise.
1976         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1977         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1979         * include/stap-probe.h: New file.
1980         * configure.in: Handle --enable-systemtap.
1981         * configure: Regenerated.
1982         * config.h.in (USE_STAP_PROBE): New #undef.
1983         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1984         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1985         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1987 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
1989         [BZ #13717]
1990         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1991         to 2.4.0 where earlier.
1992         * sysdeps/unix/sysv/linux/configure: Regenerated.
1993         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1994         <kernel-features.h>.
1995         [__ASSUME_32BITUIDS]: Make code unconditional.
1996         [!__ASSUME_32BITUIDS]: Remove conditional code.
1997         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1998         <kernel-features.h>.
1999         [__ASSUME_32BITUIDS]: Make code unconditional.
2000         [!__ASSUME_32BITUIDS]: Remove conditional code.
2001         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2002         [__ASSUME_32BITUIDS]: Make code unconditional.
2003         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2004         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2005         <kernel-features.h>.
2006         [__ASSUME_32BITUIDS]: Make code unconditional.
2007         [!__ASSUME_32BITUIDS]: Remove conditional code.
2008         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2009         <kernel-features.h>.
2010         [__ASSUME_32BITUIDS]: Make code unconditional.
2011         [!__ASSUME_32BITUIDS]: Remove conditional code.
2012         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2013         <kernel-features.h>.
2014         [__ASSUME_32BITUIDS]: Make code unconditional.
2015         [!__ASSUME_32BITUIDS]: Remove conditional code.
2016         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2017         <kernel-features.h>.
2018         [__ASSUME_32BITUIDS]: Make code unconditional.
2019         [!__ASSUME_32BITUIDS]: Remove conditional code.
2020         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2021         <kernel-features.h>.
2022         [__ASSUME_32BITUIDS]: Make code unconditional.
2023         [!__ASSUME_32BITUIDS]: Remove conditional code.
2024         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2025         <kernel-features.h>.
2026         [__ASSUME_32BITUIDS]: Make code unconditional.
2027         [!__ASSUME_32BITUIDS]: Remove conditional code.
2028         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2029         <kernel-features.h>.
2030         [__ASSUME_32BITUIDS]: Make code unconditional.
2031         [!__ASSUME_32BITUIDS]: Remove conditional code.
2032         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2033         <kernel-features.h>.
2034         [__ASSUME_32BITUIDS]: Make code unconditional.
2035         [!__ASSUME_32BITUIDS]: Remove conditional code.
2036         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2037         <kernel-features.h>.
2038         [__ASSUME_32BITUIDS]: Make code unconditional.
2039         [!__ASSUME_32BITUIDS]: Remove conditional code.
2040         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2041         <kernel-features.h>.
2042         [__ASSUME_32BITUIDS]: Make code unconditional.
2043         [!__ASSUME_32BITUIDS]: Remove conditional code.
2044         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2045         <kernel-features.h>.
2046         [__NR_setresgid] (__setresgid): Do not declare.
2047         [__ASSUME_32BITUIDS]: Make code unconditional.
2048         [!__ASSUME_32BITUIDS]: Remove conditional code.
2049         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2050         <kernel-features.h>.
2051         [__NR_setresuid] (__setresuid): Do not declare.
2052         [__ASSUME_32BITUIDS]: Make code unconditional.
2053         [!__ASSUME_32BITUIDS]: Remove conditional code.
2054         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2055         <kernel-features.h>.
2056         [__ASSUME_32BITUIDS]: Make code unconditional.
2057         [!__ASSUME_32BITUIDS]: Remove conditional code.
2058         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2059         <kernel-features.h>.
2060         [__ASSUME_32BITUIDS]: Make code unconditional.
2061         [!__ASSUME_32BITUIDS]: Remove conditional code.
2062         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2063         <kernel-features.h>.
2064         [__ASSUME_32BITUIDS]: Make code unconditional.
2065         [!__ASSUME_32BITUIDS]: Remove conditional code.
2066         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2067         <kernel-features.h>.
2068         [__ASSUME_32BITUIDS]: Make code unconditional.
2069         [!__ASSUME_32BITUIDS]: Remove conditional code.
2070         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2071         <kernel-features.h>.
2072         [__ASSUME_32BITUIDS]: Make code unconditional.
2073         [!__ASSUME_32BITUIDS]: Remove conditional code.
2074         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2075         <kernel-features.h>.
2076         [__ASSUME_32BITUIDS]: Make code unconditional.
2077         [!__ASSUME_32BITUIDS]: Remove conditional code.
2078         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2079         <kernel-features.h>.
2080         [__ASSUME_32BITUIDS]: Make code unconditional.
2081         [!__ASSUME_32BITUIDS]: Remove conditional code.
2082         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2083         <kernel-features.h>.
2084         [__ASSUME_32BITUIDS]: Make code unconditional.
2085         [!__ASSUME_32BITUIDS]: Remove conditional code.
2086         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2087         <kernel-features.h>.
2088         [__ASSUME_32BITUIDS]: Make code unconditional.
2089         [!__ASSUME_32BITUIDS]: Remove conditional code.
2090         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2091         <kernel-features.h>.
2092         [__ASSUME_32BITUIDS]: Make code unconditional.
2093         [!__ASSUME_32BITUIDS]: Remove conditional code.
2094         * sysdeps/unix/sysv/linux/kernel-features.h
2095         (__ASSUME_SETRESUID_SYSCALL): Remove.
2096         (__ASSUME_SETRESGID_SYSCALL): Likewise.
2097         (__ASSUME_32BITUIDS): Likewise.
2098         (__ASSUME_LDT_WORKS): Likewise.
2099         (__ASSUME_O_DIRECTORY): Likewise.
2100         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2101         architecture but not kernel version.
2102         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2103         (__ASSUME_MMAP2_SYSCALL): Likewise.
2104         (__ASSUME_STAT64_SYSCALL): Likewise.
2105         (__ASSUME_IPC64): Likewise.
2106         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2107         <kernel-features.h>.
2108         [__ASSUME_32BITUIDS]: Make code unconditional.
2109         [!__ASSUME_32BITUIDS]: Remove conditional code.
2110         * sysdeps/unix/sysv/linux/opendir.c: Do not include
2111         <kernel-features.h>.
2112         [__ASSUME_O_DIRECTORY]: Make code unconditional.
2113         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2114         132096]: Remove conditional code.
2115         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2116         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2117         <kernel-features.h>.
2118         [__ASSUME_32BITUIDS]: Make code unconditional.
2119         [!__ASSUME_32BITUIDS]: Remove conditional code.
2120         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2121         <kernel-features.h>.
2122         [__ASSUME_32BITUIDS]: Make code unconditional.
2123         [!__ASSUME_32BITUIDS]: Remove conditional code.
2124         * sysdeps/unix/sysv/linux/setegid.c: Do not include
2125         <kernel-features.h>.
2126         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2127         unconditional.
2128         (__setresgid): Do not declare.
2129         [__ASSUME_32BITUIDS]: Make code unconditional.
2130         [!__ASSUME_32BITUIDS]: Remove conditional code.
2131         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2132         <kernel-features.h>.
2133         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2134         unconditional.
2135         (__setresuid): Do not declare.
2136         [__ASSUME_32BITUIDS]: Make code unconditional.
2137         [!__ASSUME_32BITUIDS]: Remove conditional code.
2138         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2139         <kernel-features.h>.
2140         [__ASSUME_32BITUIDS]: Make code unconditional.
2141         [!__ASSUME_32BITUIDS]: Remove conditional code.
2142         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2143         <kernel-features.h>.
2144         [__ASSUME_32BITUIDS]: Make code unconditional.
2145         [!__ASSUME_32BITUIDS]: Remove conditional code.
2147 2012-05-25  Richard Henderson  <rth@twiddle.net>
2149         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2150         dl_hwcap to ifunc resolver.
2151         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2152         elf_ifunc_invoke.
2153         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2154         dl_hwcap to ifunc resolver.
2155         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2157 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2159         [BZ #14153]
2160         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2161         for |x| <= 2**-26, not 2**-57.
2162         * math/libm-test.inc (acos_test): Do not allow spurious underflow
2163         exception.
2165 2012-05-24  Jeff Law  <law@redhat.com>
2167         * stdio-common/Makefile (tests): Add bug25.
2168         * stdio-common/bug25.c: New test.
2170 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2172         [BZ #13576]
2173         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2174         multiple of MALLOC_ALIGNMENT in size.
2175         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2177 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2179         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2180         Require >= 256.
2181         (FILENAME_MAX): Use macro-int-constant.
2182         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
2183         (_IOFBF): Use macro-int-constant.
2184         (_IOLBF): Likewise.
2185         (_IONBF): Likewise.
2186         (SEEK_CUR): Likewise.
2187         (SEEK_END): Likewise.
2188         (SEEK_SET): Likewise.
2189         (TMP_MAX): Likewise.
2190         (EOF): Use macro-int-constant.  Require < 0.
2191         (NULL): Use macro-constant.  Require == 0.
2192         (stdin): Require type to be FILE *.
2193         (stdout): Likewise.
2194         (stderr): Likewise.
2195         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2196         macro-int-constant.
2197         (EXIT_SUCCESS): Likewise.
2198         (NULL): Use macro-constant.  Require == 0.
2199         (RAND_MAX): Use macro-int-constant.
2200         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2201         [C99-based standards] (strtof): Require function.
2202         [C99-based standards] (strtold): Likewise.
2203         [C99-based standards] (strtoll): Likewise.
2204         [C99-based standards] (strtoull): Likewise.
2205         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2206         [ISO || ISO99 || ISO11] (limits.h): Likewise.
2207         [ISO || ISO99 || ISO11] (math.h): Likewise.
2208         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2209         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2210         [ISO || ISO99 || ISO11] (*_t): Do not allow.
2212 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
2214         [BZ #14132]
2215         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2216         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2217         * intl/dgettext.c (DCGETTEXT): Likewise.
2218         * intl/gettext.c (DCGETTEXT): Likewise.
2219         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2220         * posix/regex_internal.h (gettext): Likewise.
2221         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2222         Remove declaration.
2223         * include/argz.h (__argz_count_internal)
2224         (__argz_stringify_internal): Remove declaration.
2225         (__argz_count, __argz_stringify): Declare hidden proto.
2226         * intl/dcgettext.c: Remove use of INTDEF.
2227         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2228         * string/argz-stringify.c: Likewise.
2229         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2230         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2231         Declare hidden proto.
2232         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2233         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2234         Declare hidden proto.
2235         * include/stdio.h (__asprintf_internal): Don't declare.
2236         (__asprintf): Don't define as macro.  Declare hidden proto.
2237         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2238         (__fsetlocking): Declare hidden proto.
2239         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2240         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2241         hidden proto.
2242         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2243         (_IO_setlinebuf): Remove use of INTUSE.
2244         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2245         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2246         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2247         Remove declaration.
2248         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2249         (_IO_do_flush): Remove use of INTUSE.
2250         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2251         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2252         (_IO_adjust_column, _IO_least_wmarker)
2253         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2254         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2255         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2256         (_IO_default_doallocate, _IO_wdefault_doallocate)
2257         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2258         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2259         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2260         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2261         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2262         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2263         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2264         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2265         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2266         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2267         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2268         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2269         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2270         proto.
2271         (_IO_flush_all_internal, _IO_adjust_column_internal)
2272         (_IO_default_uflow_internal, _IO_default_finish_internal)
2273         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2274         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2275         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2276         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2277         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2278         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2279         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2280         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2281         (_IO_file_close_internal, _IO_file_close_it_internal)
2282         (_IO_file_underflow_internal, _IO_file_overflow_internal)
2283         (_IO_file_init_internal, _IO_file_attach_internal)
2284         (_IO_file_fopen_internal, _IO_file_read_internal)
2285         (_IO_file_sync_internal, _IO_file_seek_internal)
2286         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2287         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2288         (_IO_str_underflow_internal, _IO_str_overflow_internal)
2289         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2290         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2291         (_IO_list_all_internal, _IO_link_in_internal)
2292         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2293         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2294         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2295         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2296         (_IO_do_write_internal, _IO_padn_internal)
2297         (_IO_getline_info_internal, _IO_getline_internal)
2298         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2299         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2300         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2301         (_IO_vfscanf_internal, _IO_vfprintf_internal)
2302         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2303         (_IO_init_internal, _IO_un_link_internal): Don't declare.
2304         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2305         with libc_hidden_ver, remove use of INTUSE.
2306         * libio/genops.c: Likewise.
2307         * libio/freopen.c: Likewise.
2308         * libio/freopen64.c: Likewise.
2309         * libio/iofclose.c: Likewise.
2310         * libio/iofdopen.c: Likewise.
2311         * libio/iofflush.c: Likewise.
2312         * libio/iofflush_u.c: Likewise.
2313         * libio/iofgets.c: Likewise.
2314         * libio/iofgets_u.c: Likewise.
2315         * libio/iofopen.c: Likewise.
2316         * libio/iofopncook.c: Likewise.
2317         * libio/iofread.c: Likewise.
2318         * libio/iofread_u.c: Likewise.
2319         * libio/ioftell.c: Likewise.
2320         * libio/iofwrite.c: Likewise.
2321         * libio/iogetline.c: Likewise.
2322         * libio/iogets.c: Likewise.
2323         * libio/iogetwline.c: Likewise.
2324         * libio/iopadn.c: Likewise.
2325         * libio/iopopen.c: Likewise.
2326         * libio/ioseekoff.c: Likewise.
2327         * libio/ioseekpos.c: Likewise.
2328         * libio/iosetbuffer.c: Likewise.
2329         * libio/iosetvbuf.c: Likewise.
2330         * libio/ioungetc.c: Likewise.
2331         * libio/ioungetwc.c: Likewise.
2332         * libio/iovdprintf.c: Likewise.
2333         * libio/iovsprintf.c: Likewise.
2334         * libio/iovsscanf.c: Likewise.
2335         * libio/memstream.c: Likewise.
2336         * libio/obprintf.c: Likewise.
2337         * libio/oldfileops.c: Likewise.
2338         * libio/oldiofclose.c: Likewise.
2339         * libio/oldiofdopen.c: Likewise.
2340         * libio/oldiofopen.c: Likewise.
2341         * libio/oldiopopen.c: Likewise.
2342         * libio/oldstdfiles.c: Likewise.
2343         * libio/putc.c: Likewise.
2344         * libio/setbuf.c: Likewise.
2345         * libio/setlinebuf.c: Likewise.
2346         * libio/stdfiles.c: Likewise.
2347         * libio/strops.c: Likewise.
2348         * libio/vasprintf.c: Likewise.
2349         * libio/vscanf.c: Likewise.
2350         * libio/vsnprintf.c: Likewise.
2351         * libio/vswprintf.c: Likewise.
2352         * libio/wfiledoalloc.c: Likewise.
2353         * libio/wfileops.c: Likewise.
2354         * libio/wgenops.c: Likewise.
2355         * libio/wmemstream.c: Likewise.
2356         * libio/wstrops.c: Likewise.
2357         * libio/__fpurge.c: Likewise.
2358         * libio/__fsetlocking.c: Likewise.
2359         * assert/assert.c: Likewise.
2360         * debug/fgets_chk.c: Likewise.
2361         * debug/fgets_u_chk.c: Likewise.
2362         * debug/fread_chk.c: Likewise.
2363         * debug/fread_u_chk.c: Likewise.
2364         * debug/gets_chk.c: Likewise.
2365         * debug/obprintf_chk.c: Likewise.
2366         * debug/vasprintf_chk.c: Likewise.
2367         * debug/vdprintf_chk.c: Likewise.
2368         * debug/vsnprintf_chk.c: Likewise.
2369         * debug/vsprintf_chk.c: Likewise.
2370         * malloc/mtrace.c: Likewise.
2371         * misc/error.c: Likewise.
2372         * misc/syslog.c: Likewise.
2373         * stdio-common/asprintf.c: Likewise.
2374         * stdio-common/fxprintf.c: Likewise.
2375         * stdio-common/getw.c: Likewise.
2376         * stdio-common/isoc99_fscanf.c: Likewise.
2377         * stdio-common/isoc99_scanf.c: Likewise.
2378         * stdio-common/isoc99_vfscanf.c: Likewise.
2379         * stdio-common/isoc99_vscanf.c: Likewise.
2380         * stdio-common/isoc99_vsscanf.c: Likewise.
2381         * stdio-common/printf-prs.c: Likewise.
2382         * stdio-common/printf_fp.c: Likewise.
2383         * stdio-common/printf_fphex.c: Likewise.
2384         * stdio-common/printf_size.c: Likewise.
2385         * stdio-common/putw.c: Likewise.
2386         * stdio-common/scanf.c: Likewise.
2387         * stdio-common/sprintf.c: Likewise.
2388         * stdio-common/tmpfile.c: Likewise.
2389         * stdio-common/vfprintf.c: Likewise.
2390         * stdio-common/vfscanf.c: Likewise.
2391         * stdlib/strfmon_l.c: Likewise.
2392         * sunrpc/openchild.c: Likewise.
2393         * sunrpc/xdr_stdio.c: Likewise.
2394         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2395         * sysdeps/mach/hurd/tmpfile.c: Likewise.
2397 2012-05-24  Roland McGrath  <roland@hack.frob.com>
2399         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2401         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2402         in the third column, to generate for the shared library an IFUNC
2403         that uses _dl_vdso_vsym.
2404         * Makerules (COMPILE.c, compile-stdin.c): New variables.
2405         * Makeconfig (object-suffixes-noshared): New variable.
2407         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2408         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2409         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2410         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2412         [BZ #14132]
2413         * include/sys/time.h (__gettimeofday): Remove macro.
2414         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2415         * time/gettimeofday.c (__gettimeofday): Remove #undef.
2416         Remove INTDEF.
2417         (__gettimeofday): Add libc_hidden_def.
2418         (gettimeofday): Add libc_hidden_weak.
2419         * sysdeps/mach/gettimeofday.c: Likewise.
2420         * sysdeps/posix/gettimeofday.c: Likewise.
2421         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2422         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2423         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2424         (__gettimeofday_internal): Remove strong_alias.
2425         (__gettimeofday): Add libc_hidden_def.
2426         (gettimeofday): Add libc_hidden_weak.
2427         * sysdeps/unix/syscalls.list (gettimeofday):
2428         Remove __gettimeofday_internal alias.
2430 2012-05-24  Daniel Jacobowitz  <drow@false.org>
2431             H.J. Lu  <hongjiu.lu@intel.com>
2433         [BZ #12495]
2434         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2435         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2436         (largebin_index_32_big): New.
2437         (largebin_index): Use it for 16-byte alignment.
2438         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
2439         correction with front_misalign.
2441 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2445         Likewise.
2446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2447         Likewise.
2448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2449         Likewise.
2450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2451         Likewise.
2452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2453         Likewise.
2454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2455         Likewise.
2456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2457         Likewise.
2458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2459         Likewise.
2460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2461         Likewise.
2462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2463         Likewise.
2464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2465         Likewise.
2466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2467         Likewise.
2469         * scripts/data/c++-types-x32-linux-gnu.data: New file.
2470         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2472 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
2474         [BZ #10846]
2475         [BZ #14036]
2476         * math/libm-test.inc (exp_test): Add test from bug 14036.
2477         (pow_test): Add test from bug 10846.
2479         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2480         and other flags.
2481         (special_function): Do not include flags in test name.
2482         (parse_args): Likewise.
2483         * sysdeps/i386/fpu/libm-test-ulps: Update.
2484         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2485         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2486         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2489         * math/gen-libm-test.pl (%beautify): Add entries for underflow
2490         exceptions.
2491         * math/libm-test.inc ("Philosophy"): Update comment about
2492         exception testing.
2493         (UNDERFLOW_EXCEPTION): New macro.
2494         (UNDERFLOW_EXCEPTION_OK): Likewise.
2495         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2496         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2497         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2498         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2499         (INVALID_EXCEPTION_OK): Update value.
2500         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2501         (OVERFLOW_EXCEPTION_OK): Likewise.
2502         (IGNORE_ZERO_INF_SIGN): Likewise.
2503         (test_exceptions): Handle underflow exceptions.
2504         (acos_test): Update for underflow exception expectations.
2505         (cexp_test): Likewise.
2506         (clog_test): Likewise.
2507         (clog10_test): Likewise.
2508         (csqrt_test): Likewise.
2509         (ctan_test): Likewise.
2510         (ctanh_test): Likewise.
2511         (exp_test): Likewise.
2512         (exp10_test): Likewise.
2513         (exp2_test): Likewise.
2514         (expm1_test): Likewise.
2515         (fma_test): Likewise.
2516         (j0_test): Likewise.
2517         (jn_test): Likewise.
2518         (nexttoward_test): Likewise.
2519         (pow_test): Likewise.
2520         (scalbn_test): Likewise.
2521         (scalbln_test): Likewise.
2522         (tan_test): Likewise.
2523         (y1_test): Likewise.
2524         * sysdeps/i386/fpu/libm-test-ulps: Update.
2525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2527 2012-05-23  David S. Miller  <davem@davemloft.net>
2529         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2530         (__libc_sigaction): Remove unused local variables.
2532 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2534         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2536 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
2538         mktime: avoid signed integer overflow
2539         * time/mktime.c (__mktime_internal): Do not mishandle the case
2540         where diff == INT_MIN.
2542         mktime: simplify computation of average
2543         * time/mktime.c (ranged_convert): Use new time_t_avg function
2544         instead of rolling our own (probably-slower) code.
2546         mktime: do not assume signed right shift propagates sign bit
2547         * time/mktime.c (isdst_differ): New static function.
2548         (__mktime_internal): No need to normalize tm_isdst now.
2549         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2550         tm_isdst values.
2552         mktime: merge another wrapv change from gnulib
2553         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2554         from some compilers.
2556         mktime: remove incorrect attempt at unusual arithmetics
2557         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2558         The code didn't really work on such machines anyway.
2559         (TYPE_MINIMUM): Assume two's complement.
2560         (twos_complement_arithmetic): Verify that long_int and time_t
2561         are two's complement (or unsigned, in the latter case).
2563         mktime: check signed shifts on long_int and time_t, too
2564         * time/mktime.c (SHR): Check that shifts work as desired
2565         on the types long_int and time_t too, as SHR is used on
2566         such types.
2568         mktime: do not assume 'long' is wide enough
2569         * time/mktime.c (verify): Move decl up.
2570         (long_int): New type.
2571         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2572         to remove assumption in the code that 'long' is wide enough to
2573         store year values.  This assumption is not true on x32 and on
2574         some non-glibc platforms.
2576         mktime: merge wrapv change from gnulib
2577         * time/mktime.c (WRAPV): New macro.
2578         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2579         (guess_time_tm, __mktime_internal): Do not assume that signed
2580         integer overflow wraps around; modern compilers generate code
2581         where this assumption is no longer valid.
2583 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2585         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2586         Replace "jmp L(pseudo_end)" with "ret".
2587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2588         Likewise.
2590 2012-05-23  Andreas Jaeger  <aj@suse.de>
2592         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2593         * sysdeps/unix/sysv/linux/poll.c: Remove file.
2595 2012-05-23  Andreas Jaeger  <aj@suse.de>
2596             Maximilian Attems  <max@stro.at>
2598         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2599         New macros.
2601 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
2603         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2604         code so that pseudo_end is just ret and the stack pointer is
2605         correct also for static library in error case.
2607 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
2609         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2610         move to syscalls.list.
2611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2616         * manual/install.texi (Running make install): Do not mention Linux
2617         kernel version for which pt_chown is not needed.
2618         (Linux): Do not mention problems with nscd with 2.0 kernels.
2619         * INSTALL: Regenerated.
2621 2012-05-23  Andreas Jaeger  <aj@suse.de>
2623         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2624         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2625         macro.
2626         * sysdeps/unix/sysv/linux/s390/bits/mman.h
2627         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2628         * sysdeps/unix/sysv/linux/sh/bits/mman.h
2629         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2630         * sysdeps/unix/sysv/linux/i386/bits/mman.h
2631         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2632         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2633         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2634         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2635         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2636         * sysdeps/unix/sysv/linux/bits/in.h
2637         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2639 2012-05-22  Roland McGrath  <roland@hack.frob.com>
2641         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2642         (PREPARE_VERSION): Just use assert instead, it will be elided
2643         under [NDEBUG] anyway.
2645 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2647         * sysdeps/unix/sysv/linux/Makefile: Include
2648         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2649         (sysdep_routines): Remove sysctl.
2650         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2651         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2652         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2653         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2654         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2656 2012-05-22  Andreas Jaeger  <aj@suse.de>
2658         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2659         that pseudo_end is just ret and the stack pointer is correct also
2660         for static library in error case.
2662 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
2664         [BZ #14122]
2665         * nss/nsswitch.c (defconfig_entries): New variable.
2666         (__nss_database_lookup): Don't leak defconfig entries.
2667         (nss_parse_service_list): Don't leak on error paths.
2668         (free_database_entries): New function.
2669         (free_defconfig): New function.
2670         (free_mem): Move common code to free_database_entries.
2672 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2674         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2675         Add arch_prctl.
2676         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2678         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2679         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2681         New macro.
2682         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2683         (INTERNAL_SYSCALL_TYPES): Likewise.
2684         (LOAD_ARGS_TYPES_[1-6]): Likewise.
2685         (LOAD_REGS_TYPES_[1-6]): Likewise.
2686         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2687         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2689 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2691         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2692         copysignl for GLIBC_2_0.
2693         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2694         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2695         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2696         logbl for GLIBC_2_0.
2697         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2698         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2700 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2702         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2703         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
2705         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2706         Use "neg %eax".
2708         * time/mktime.c: Update copyright years.
2710 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2712         mktime: merge comment-quoting-style change from gnulib
2713         * time/mktime.c: Quote 'like this' in comments.
2714         The GNU coding standards suggest that we no longer quote `like this',
2715         as "`" and "'" are typically rendered asymmetrically nowadays.
2716         The typical gnulib style is to quote 'like this' when quoting
2717         code, and "like this" when quoting English.
2719         * time/mktime.c (compile-command): Add "-I.".
2721         mktime: merge mktime-internal.h change from gnulib
2722         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2724         mktime: merge time_r change from gnulib
2725         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2727         mktime: merge DEBUG change from gnulib
2728         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2729         case system <time.h> has a #define.
2731         mktime: merge <sys/types.h> change from gnulib
2732         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2733         since <time.t> is now guaranteed to define time_t.
2735         mktime: merge HAVE_CONFIG_H change from gnulib
2736         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2738 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2740         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2741         Use "neg %eax".
2743         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2744         __rlim_t cast.
2745         (struct rusage): Use anonymous union to pad each field to
2746         __syscall_slong_t.
2748 2012-05-21  David S. Miller  <davem@davemloft.net>
2750         * Makefules (o-iterator): Remove .s cases.
2751         (compile-command.s): Delete.
2752         (COMPILE.s): Delete.
2753         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2755 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
2757         * configure.in (libc_cv_predef_stack_protector): Only consider
2758         "foobar" and "__stack_chk_fail" lines in libc_undefs.
2759         * configure: Regenerated.
2761 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2763         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2764         New macro.  Use R*LP on int and pointer.
2765         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2766         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2767         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2768         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2770         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2771         [__WORDSIZE_TIME64_COMPAT32] instead of
2772         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2773         (struct utmp): Likewise.
2774         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2775         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2776         Renamed to ...
2777         (__WORDSIZE_TIME64_COMPAT32): This.
2778         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2779         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2780         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2781         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2782         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2783         (__WORDSIZE_TIME64_COMPAT32): New macro.
2785 2012-05-21  Andreas Jaeger  <aj@suse.de>
2787         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2788         only if [SHARED]. Add prototype for __wcschr_ia32.
2790 2012-05-21  Roland McGrath  <roland@hack.frob.com>
2792         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2793         of %rbp unmolested in the jmp_buf while mangling the low bits.
2794         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2795         unmolested high bits of %rbp while demangling the low bits.
2796         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2798 2012-05-21  Andreas Jaeger  <aj@suse.de>
2800         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2801         * sunrpc/svc_simple.c: Use it for registerrpc.
2802         * sunrpc/xcrypt.c: Use it for passwd2des.
2804         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2806 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2808         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2809         Don't define if [__SYSCALL_WORDSIZE != 32].
2810         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2811         New macro.
2813 2012-05-21  Bruno Haible  <bruno@clisp.org>
2814             Andreas Jaeger  <aj@suse.de>
2816         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2817         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2818         inptr and inend for must_buffer_ch.
2819         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2820         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2821         * stdio-common/Makefile (tests): Remove bug15.
2822         (bug15-ENV): Remove macro.
2823         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2824         anymore.
2826 2012-05-19  Andreas Jaeger  <aj@suse.de>
2827             Roland McGrath  <roland@hack.frob.com>
2829         * manual/contrib.texi: Completely rewritten. It contains now an
2830         alphabetical list of contributors and their contributions.
2832 2012-05-21  Richard Henderson  <rth@twiddle.net>
2834         * misc/getauxval.c (__getauxval): Use unsigned long int.
2835         * misc/sys/auxv.h: Include <sys/cdefs.h>.
2836         (getauxval): Use unsigned long int.
2838 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
2840         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2842 2012-05-21  Roland McGrath  <roland@hack.frob.com>
2844         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2845         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2846         __alignof__ (long double).
2848 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2852 2012-05-20  Richard Henderson  <rth@twiddle.net>
2854         * misc/getauxval.c: New file.
2855         * misc/sys/auxv.h: New file.
2856         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2857         (routines): Add getauxval.
2858         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2859         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2860         * elf/dl-sysdep.c (_dl_auxv): Remove.
2861         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2862         * elf/dl-support.c (_dl_auxv): New variable.
2863         (_dl_aux_init): Initialize it.
2864         * manual/startup.texi (Auxiliary Vector): New node.
2865         * sysdeps/generic/bits/hwcap.h: New file.
2866         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2867         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
2868         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2869         * sysdeps/sparc/sysdep.h: ... here.  Include it.
2870         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2871         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2873         Update.
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2877         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2883 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2887 2012-05-19  David S. Miller  <davem@davemloft.net>
2889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2891 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
2893         [BZ #14123]
2894         * math/s_ccosh.c: Include <float.h>
2895         (__ccosh): Avoid internal overflow calculating sinh and cosh
2896         values before multiplying by sin and cos values.
2897         * math/s_ccoshf.c: Likewise.
2898         * math/s_ccoshl.c: Likewise.
2899         * math/s_csin.c: Likewise.
2900         * math/s_csinf.c: Likewise.
2901         * math/s_csinl.c: Likewise.
2902         * math/s_csinh.c: Likewise.
2903         * math/s_csinhf.c: Likewise.
2904         * math/s_csinhl.c: Likewise.
2905         * math/libm-test.inc (ccos_test): Add more tests.
2906         (ccosh_test): Likewise.
2907         (csin_test): Likewise.
2908         (csinh_test): Likewise.
2909         * sysdeps/i386/fpu/libm-test-ulps: Update.
2910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2912 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2914         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2915         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2917         * sysdeps/x86_64/x32/_itoa.h: Add comment.
2919 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
2921         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2922         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2923         * sysdeps/powerpc/soft-fp/Versions: Likewise.
2924         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2925         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2926         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2927         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2928         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2929         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2930         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2931         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2932         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2933         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2934         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2935         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2936         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2937         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2938         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2939         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2940         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2941         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2942         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2943         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2944         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2945         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2946         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2947         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2948         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2949         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2950         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2951         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2953 2012-05-18  Andreas Jaeger  <aj@suse.de>
2955         * csu/.gitignore: Delete.
2957 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2959         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2960         (timex): Use __syscall_slong_t.
2962 2012-05-18  Andreas Jaeger  <aj@suse.de>
2963             Carlos O'Donell  <carlos_odonell@mentor.com>
2965         * manual/install.texi (Configuring and compiling): Update
2966         description about files modified in the source directory.
2967         * INSTALL: Regenerated.
2969 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2971         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2972         value.  Use "or" to set return value to -1.
2973         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2974         negate return value.
2976 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2978         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2979         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2980         failure if the compiler has Graphite support disabled.
2981         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2982         Likewise.
2983         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2984         CFLAGS-memmove.c): Likewise.
2985         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2986         Likewise.
2988 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2990         * sysdeps/x86_64/x32/_itoa.h: New file.
2992         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2993         getdents system call only if kernel and user dirents have the
2994         same d_ino and d_off.
2996         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2997         LLONG_MAX != LONG_MAX.
2998         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2999         (_fitoa_word): Likewise.
3001         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3002         years.
3003         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3004         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3005         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3007         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3008         include <bits/wordsize.h>.  Check __x86_64__ instead of
3009         __WORDSIZE.
3010         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3011         if __x86_64__ is defined.  Use anonymous union on fpstate.
3013         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3014         anonymous union.
3016 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
3018         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3019         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3020         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3021         Refer to _rtld_local_ro instead of _rtld_global_ro.
3022         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3023         Likewise.
3024         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3025         Likewise.
3026         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3027         Likewise.
3028         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3029         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3030         of _rtld_global, and rtld_progname instead of _dl_argv[0].
3032         * sysdeps/powerpc/powerpc32/dl-machine.c
3033         (__elf_machine_runtime_setup) [PROF]: Don't reference
3034         _dl_prof_resolve.
3036 2012-05-18  Andreas Jaeger  <aj@suse.de>
3038         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3039         function only available for GCCs before 3.4 since GCC 3.4
3040         introduced a builtin.
3041         (lrint): Likewise.
3042         (llrintf): Likewise.
3043         (llrint): Likewise.
3044         (fmaxf): Likewise.
3045         (fmax): Likewise.
3046         (fminf): Likewise.
3047         (fmin): Likewise.
3048         (rint): Likewise.
3049         (rintf): Likewise.
3050         (nearbyint): Likewise.
3051         (nearbyintf): Likewise.
3052         (ceil): Likewise.
3053         (ceilf): Likewise.
3054         (floor): Likewise.
3055         (floorf): Likewise.
3057 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3059         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3060         on both fields and cast pointer to __syscall_ulong_t.
3062         * bits/types.h (__fsword_t): New type.
3063         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3064         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3065         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3066         (__FSWORD_T_TYPE): Likewise.
3067         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3068         (__FSWORD_T_TYPE): Likewise.
3069         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3070         (__FSWORD_T_TYPE): Likewise.
3071         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3072         (__FSWORD_T_TYPE): Likewise.
3073         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3074         __SWORD_TYPE with __fsword_t.
3075         (statfs64): Likewise.
3077 2012-05-17  David S. Miller  <davem@davemloft.net>
3079         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3081 2012-05-17  Andreas Jaeger  <aj@suse.de>
3083         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3084         warning.
3086 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3088         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3090 2012-05-17  Andreas Jaeger  <aj@suse.de>
3092         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3093         when it is used.
3095 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
3097         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3099 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
3101         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3102         * sysdeps/x86_64/tst-mallocalign1.c: New file.
3104 2012-05-17  Andreas Jaeger  <aj@suse.de>
3105             Carlos O'Donell  <carlos_odonell@mentor.com>
3107         [BZ #14059]
3108         * sysdeps/x86_64/multiarch/init-arch.h
3109         (bit_YMM_Usable): Rename to...
3110         (bit_AVX_Usable): ... this.
3111         (bit_FMA4_Usable): New macro.
3112         (bit_XMM_state): New macro.
3113         (bit_YMM_state): New macro.
3114         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3115         [__ASSEMBLER__] (index_AVX_Usable): ... this.
3116         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3117         (CPUID_OSXSAVE): New macro.
3118         (CPUID_AVX): New macro.
3119         (CPUID_FMA4): New macro.
3120         (index_YMM_Usable): Rename to...
3121         (index_AVX_Usable): ... this.
3122         (HAS_AVX): Use HAS_ARCH_FEATURE.
3123         (HAS_FMA4): Likewise.
3124         (HAS_YMM_USABLE): Remove.
3125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3126         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3127         are present.
3128         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3129         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3130         * sysdeps/x86_64/multiarch/Makefile: Likewise.
3131         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3132         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3134 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
3136         * math/libm-test.c: Support platforms without multiple rounding modes.
3137         * math/bug-nextafter.c: Support platforms without FP exceptions.
3138         * math/bug-nexttoward.c: Likewise.
3139         * math/test-fenv.c: Likewise.
3140         * math/test-misc.c: Likewise.
3141         * stdlib/bug-getcontext.c: Likewise.
3143 2012-05-17  Andreas Jaeger  <aj@suse.de>
3145         * manual/examples/search.c (critter_cmp): Change signature to
3146         avoid warnings.
3147         * manual/string.texi (Collation Functions): Likewise.
3149 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3151         * bits/types.h: Fold copyright years.
3152         * bits/typesizes.h: Likewise.
3153         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3154         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3155         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3156         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3157         * time/time.h: Likewise.
3159 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
3161         [BZ #208]
3162         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3163         in instead of returning them.  Return void.
3164         (__libc_mallinfo): Accumulate over all arenas.
3165         (__malloc_stats): Adjust for change in int_mallinfo interface.
3167 2012-05-16  Roland McGrath  <roland@hack.frob.com>
3169         [BZ #10375]
3170         * configure.in (NM): Add AC_CHECK_TOOL for it.
3171         (libc_extra_cflags): New substituted variable.
3172         Check for -fstack-protector being used implicitly.
3173         * configure: Regenerated.
3174         * config.make.in (config-extra-cflags): New variable,
3175         gets @libc_extra_cflags@.
3176         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3178         [BZ #10375]
3179         * configure.in: Check for _FORTIFY_SOURCE being predefined.
3180         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3181         * configure: Regenerated.
3182         * config.make.in (CPPUNDEFS): New substituted variable.
3183         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3184         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3185         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3187 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3189         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3190         (mq_attr): Use __syscall_slong_t.
3192 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3194         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3195         Check __x86_64__ instead of __WORDSIZE.
3196         (_STAT_VER_LINUX): Likewise.
3197         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
3198         __syscall_ulong_t and __syscall_slong_t.
3199         (stat64): Likewise.
3201 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3203         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3205 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3207         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3209 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3211         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3212         __syscall_ulong_t.
3214         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3215         include <bits/wordsize.h>.  Check __x86_64__ instead of
3216         __WORDSIZE.
3217         (greg_t): Use "__extension__ long long int" if __x86_64__ is
3218         defined.
3219         (mcontext_t): Replace "unsigned long" with "unsigned long long".
3221         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3222         include <bits/wordsize.h>.  Check __x86_64__ instead of
3223         __WORDSIZE.
3224         (user_regs_struct): Use "__extension__ unsigned long long"
3225         instead of "unsigned long" if __x86_64__ is defined.
3226         (user): Likewise.  Pad after pointer field if __ILP32__ is
3227         defined.
3229 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
3231         * configure.in (makeinfo): Require version 4.5 or later.  Allow
3232         versions 5 to 9.
3233         * configure: Regenerated.
3234         * manual/install.texi (texinfo): Increase version requirement to
3235         4.5 or later.
3236         * INSTALL: Regenerated.
3238         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3240 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
3242         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3244         * sysdeps/x86_64/x32/ffs.c: New file.
3246         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3247         __syscall_ulong_t.
3248         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3249         defined.  Use __syscall_ulong_t.
3250         (shminfo): Use __syscall_ulong_t.
3251         (shm_info): Likewise.
3253         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3254         __syscall_ulong_t.
3256         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3257         <bits/wordsize.h>.
3258         (msgqnum_t): Use __syscall_ulong_t.
3259         (msglen_t): Likewise.
3260         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
3261         __syscall_ulong_t.
3263         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3264         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3266         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3268         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3269         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3271         * sysvipc/sys/msg.h (msgbuf): Replace long int with
3272         __syscall_slong_t.
3274         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3275         include <bits/wordsize.h>.  Check __x86_64__ instead of
3276         __WORDSIZE.
3278         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3279         "unsigned long long int" if __x86_64__ is defined.
3280         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3282         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3283         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
3284         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3286         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3287         <stdint.h>.
3288         (GET_PC): Cast to uintptr_t first.
3289         (GET_FRAME): Likewise.
3290         (GET_STACK): Likewise.
3292         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3293         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3294         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3295         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3296         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3297         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3298         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3299         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3300         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3301         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3302         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3303         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3304         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3305         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3306         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3307         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3308         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3309         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3310         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3311         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3312         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3313         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3314         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3315         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3316         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3317         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3318         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3319         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3320         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3322 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
3324         * Makerules (+depfiles): Also collect depfiles from .oS in
3325         $(extra-objs).
3326         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3327         .oS, $(libnldbl-routines)).
3329         * Makerules (native-compile-mkdep-flags): Define.
3330         * sunrpc/Makefile (extra-objs): Add $(addprefix
3331         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3332         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3333         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
3334         calling $(make-target-directory).
3336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3338         * bits/types.h (__snseconds_t): Removed.
3339         * time/time.h (struct timespec): Replace __snseconds_t with
3340         __syscall_slong_t.
3341         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3342         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3343         Likewise.
3344         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3345         (__SNSECONDS_T_TYPE): Likewise.
3346         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3347         (__SNSECONDS_T_TYPE): Likewise.
3348         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3349         (__SNSECONDS_T_TYPE): Likewise.
3351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3353         * sysdeps/mach/hurd/bits/typesizes.h
3354         (__SYSCALL_SLONG_TYPE): New macro.
3355         (__SYSCALL_ULONG_TYPE): Likewise.
3357 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3359         * bits/types.h (__syscall_slong_t): New type.
3360         (__syscall_ulong_t): Likewise.
3362         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3363         (__SYSCALL_ULONG_TYPE): Likewise.
3364         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3365         (__SYSCALL_SLONG_TYPE): Likewise.
3366         (__SYSCALL_ULONG_TYPE): Likewise.
3367         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3368         (__SYSCALL_SLONG_TYPE): Likewise.
3369         (__SYSCALL_ULONG_TYPE): Likewise.
3370         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3371         (__SYSCALL_SLONG_TYPE): Likewise.
3372         (__SYSCALL_ULONG_TYPE): Likewise.
3374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3376         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3377         Add sigaltstack-offsets.sym.
3378         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3379         <sigaltstack-offsets.h>.
3380         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
3381         longjmp_msg pointer.
3382         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
3383         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3384         signal stack.
3385         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3387 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
3389         * elf/stackguard-macros.h: Remove file.
3390         * sysdeps/generic/stackguard-macros.h: New file.
3391         * sysdeps/i386/stackguard-macros.h: Likewise.
3392         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3393         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3394         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3395         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3396         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3397         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3398         * sysdeps/x86_64/stackguard-macros.h: Likewise.
3399         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3400         <elf/stackguard-macros.h>.
3402         [BZ #14109]
3403         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3404         __aligned__ in attribute.
3405         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3406         (gregset_t): Likewise.
3408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3410         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3411         * sysdeps/x86_64/64/Implies-after: Here.  New file.
3412         * sysdeps/x86_64/x32/Implies-after: New file.
3414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3416         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3417         and access return value for _dl_profile_fixup.  Use R10_LP to
3418         load frame size.
3420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3422         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3426         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3427         * sysdeps/x86_64/x32/sysdep.h: New file.
3429 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3431         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3432         * sysdeps/x86_64/setjmp.S: Likewise.
3434 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3436         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3437         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3438         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3439         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3440         remove unused global constant.
3442 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
3444         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3445         include of <not-cancel.h>.
3447 2012-05-15  Roland McGrath  <roland@hack.frob.com>
3449         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3451 2012-05-15  Jeff Law  <law@redhat.com>
3452             Andreas Jaeger  <aj@suse.de>
3454         [BZ #13594]
3455         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3456         out from...
3457         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3458         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3459         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3460         code changing __hst_map_handle.map.
3462 2012-05-15  Roland McGrath  <roland@hack.frob.com>
3464         * configure.in (sysnames): Look for Implies-before and Implies-after
3465         files.
3466         * configure: Regenerated.
3468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3470         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3471         8-byte data alignment with LP_SIZE alignment.
3473 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3475         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3476         into R10_LP.
3478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3480         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3482 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3484         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3485         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3486         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3487         Likewise.
3488         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3492         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3493         (stackinfo_sub_sp): Likewise.
3495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3497         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3498         RAX_LP.
3500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3502         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3503         into R*_LP.
3505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3507         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3508         sizes into R*_LP.
3510 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3512         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3516         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3517         into R11_LP and load __x86_64_shared_cache_size_half into
3518         R8_LP.
3520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3522         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3523         R8_LP.
3525 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3527         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3528         logb for POWER7.
3529         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3530         logbf for POWER7.
3531         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3532         logbl for POWER7.
3533         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3534         powerpc32/power7/fpu/s_logb.c via #include.
3535         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3536         powerpc32/power7/fpu/s_logbf.c via #include.
3537         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3538         powerpc32/power7/fpu/s_logbl.c via #include.
3540 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
3542         * README.libm: Remove file.
3544 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3546         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3547         count for x32.  Use R*_LP and omit operand-size suffix.
3549 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3551         * shlib-versions: Move x86_64-.*-linux.* entries to ...
3552         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
3553         * sysdeps/x86_64/x32/shlib-versions: New file.
3555 2012-05-14  Roland McGrath  <roland@hack.frob.com>
3557         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3558         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3559         Use _dl_fatal_printf instead.
3561 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
3563         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3564         set if not set by the user.  Do not allow for being unset.
3565         * sysdeps/unix/sysv/linux/configure: Regenerated.
3567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3569         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3570         the `q' suffix from lea and replace .quad with ASM_ADDR.
3572 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3575         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
3576         instead of $17.
3577         (PTR_DEMANGLE): Likewise.
3579 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3581         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3582         (LP_OP): Likewise.
3583         (ASM_ADDR): Likewise.
3584         (RAX_LP): Likewise.
3585         (RBP_LP): Likewise.
3586         (RBX_LP): Likewise.
3587         (RCX_LP): Likewise.
3588         (RDI_LP): Likewise.
3589         (RSI_LP): Likewise.
3590         (RSP_LP): Likewise.
3591         (R8_LP): Likewise.
3592         (R9_LP): Likewise.
3593         (R10_LP): Likewise.
3594         (R10_LP): Likewise.
3595         (R11_LP): Likewise.
3596         (R12_LP): Likewise.
3597         (R13_LP): Likewise.
3598         (R14_LP): Likewise.
3599         (R15_LP): Likewise.
3601 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3603         * sysdeps/x86_64/x32/dl-machine.h: New file.
3605 2012-05-14  Andreas Jaeger  <aj@suse.de>
3607         * manual/Makefile (subdir): Remove export of subdir.
3608         (all): Remove target.
3609         (.PHONY): Remove all from list.
3610         (mkinstalldirs): Remove.
3611         (.PHONY): Remove installdirs from list.
3612         ($(inst_infodir)/libc.info): Use make-target-directory.
3613         (installdirs): Remove.
3614         (subdir_%): Remove.
3615         (glibc-targets): Remove.
3616         (lib): Remove.
3617         (stubs): Remove.
3618         ($(objpfx)stubs ../po/manual.pot): Remove.
3619         ($(objpfx)stamp%): Remove.
3620         (make-target-directory): Remove.
3621         (subdir_install): Remove.
3622         (routines): Remove.
3623         (aux): Remove.
3624         (sources): Remove.
3625         (objects): Remove.
3626         (headers): Remove.
3628         [BZ #13750]
3629         * manual/.gitignore: Remove, it's not needed anymore.
3630         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3631         all files in it.
3632         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3633         directory.
3634         (texis): Renamed to $(objpfx)texis.
3635         (texis-path): New, contains path to generated files.
3636         (chapters.%): Use texis-path for complete path, add extra argument
3637         libc-texinfo.sh.
3638         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3639         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3640         (summary,texi, stamp-summary): Use complete path of
3641         files. Generate files in build dir.
3642         (dir-add.texi): Build in build dir.
3643         (libm-err.texi,stamp-libm-err): Likewise.
3644         (version.texi, stamp-version): Likewise.
3645         (.%c.texi): Likewise.
3646         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3647         (mostlyclean): Remove target.
3648         (realclean): Remove target.
3649         (generated): Add new variable with contents from mostlyclean and
3650         realclean, remove entries duplicated in common-mostlyclean, add
3651         stamp-libm-err and stamp-version.
3652         (generated-dirs): Add libc directory.
3653         ($(inst_infodir)/libc.info): Install files from build dir.
3655         * manual/install.texi (Configuring and compiling): Adjust since
3656         the info files are not part of the tar ball anymore.
3658 2012-05-14  Andreas Jaeger  <aj@suse.de>
3660         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3661         variable.
3663 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
3665         [BZ #13717]
3666         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3667         to 2.2.0 where earlier.
3668         * sysdeps/unix/sysv/linux/configure: Regenerated.
3669         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3670         Remove conditional code.
3671         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3672         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3673         Remove conditional code.
3674         [!__NR_lchown]: Likewise.
3675         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3676         [__NR_lchown]: Likewise.
3677         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3678         comment referencing __ASSUME_LCHOWN_SYSCALL.
3679         * sysdeps/unix/sysv/linux/i386/sigaction.c
3680         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3681         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3682         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3683         Remove conditional code.
3684         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3685         (__protocol_available): Remove #if 0 code.
3686         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3687         conditional code.
3688         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3689         * sysdeps/unix/sysv/linux/kernel-features.h
3690         (__ASSUME_GETCWD_SYSCALL): Don't define.
3691         (__ASSUME_REALTIME_SIGNALS): Likewise.
3692         (__ASSUME_PREAD_SYSCALL): Likewise.
3693         (__ASSUME_PWRITE_SYSCALL): Likewise.
3694         (__ASSUME_POLL_SYSCALL): Likewise.
3695         (__ASSUME_LCHOWN_SYSCALL): Likewise.
3696         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3697         non-SPARC.
3698         (__ASSUME_SIOCGIFNAME): Don't define.
3699         (__ASSUME_MSG_NOSIGNAL): Likewise.
3700         (__ASSUME_SENDFILE): Define unconditionally.
3701         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3702         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3703         conditional code.
3704         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3705         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3706         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3707         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3708         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3709         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3710         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3712         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3713         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3715         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3716         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3718         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3719         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3721         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3722         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3724         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3725         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3727         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3728         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3730         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3731         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3733         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3734         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3735         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3736         Remove conditional code.
3737         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3738         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3739         Remove conditional code.
3740         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3741         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3742         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3743         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3744         Remove conditional code.
3745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3746         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3747         Remove conditional code.
3748         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3749         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3750         Remove conditional code.
3751         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3752         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3753         Remove conditional code.
3754         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3755         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3756         Remove conditional code.
3757         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3758         * sysdeps/unix/sysv/linux/sh/pwrite64.c
3759         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3760         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3761         * sysdeps/unix/sysv/linux/sigaction.c
3762         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3763         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3764         * sysdeps/unix/sysv/linux/sigpending.c
3765         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3766         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3767         * sysdeps/unix/sysv/linux/sigprocmask.c
3768         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3769         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3770         * sysdeps/unix/sysv/linux/sigsuspend.c
3771         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3772         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3773         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3774         (__libc_missing_rt_sigs): Remove.
3775         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3776         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3777         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3778         Remove conditional code.
3779         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3780         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3781         return 1.
3782         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3783         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3784         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3785         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3787 2012-05-14  Andreas Jaeger  <aj@suse.de>
3789         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3790         it's not used in glibc.
3791         (__coshm1): Likewise.
3792         (__acosh1p): Likewise.
3793         (__sgn): Likewise.
3795         * manual/string.texi (Copying and Concatenation): Add missing
3796         variable in concat example.
3797         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3799 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3801         [BZ #14103]
3802         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3803         __builtin_clzl with __builtin_clzll.
3805 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3807         [BZ #14104]
3808         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3809         libc_freeres_ptr.
3811 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3813         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3814         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3815         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3816         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3818 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
3820         * NEWS: Update ia64 info.
3822 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
3824         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3825         used as bcopy.
3827 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
3829         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3830         * sysdeps/unix/syscalls.list (dup3): Likewise.
3831         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3832         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3834 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3836         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3837         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3839 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3841         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3842         thread pointer.
3843         (TLS_IE): Use mov/add instead of movq/addq to load thread
3844         pointer.
3845         (TLS_GD_PREFIX): New.
3846         (TLS_GD): Use it.
3848 2012-05-11  David S. Miller  <davem@davemloft.net>
3850         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3851         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3852         (_FPU_SETCW): Likewise.
3854 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3856         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3857         is 32-byte aligned.
3859 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
3861         [BZ #11837]
3862         * iconvdata/gb18030.c: Update tables.
3863         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
3864         characters specially.
3865         (BODY for TO_LOOP): Add encoding of missing ranges.
3867 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
3869         [BZ #13673]
3870         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3871         * sysdeps/mach/hurd/dup3.c: Likewise.
3872         * sysdeps/mach/hurd/readlinkat.c: Likewise.
3873         * sysdeps/powerpc/memmove.c:: Likewise.
3875 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3877         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3878         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3880 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
3882         * elf/elf.h (R_X86_64_RELATIVE64): New.
3883         (R_X86_64_NUM): Updated.
3884         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3885         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
3886         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3887         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3888         tst-quad1pie tst-quad2pie
3889         (modules-names): Add tst-quadmod1 tst-quadmod2.
3890         ($(objpfx)tst-quad1): New dependency.
3891         ($(objpfx)tst-quad2): Likewise.
3892         ($(objpfx)tst-quad1pie): Likewise.
3893         ($(objpfx)tst-quad2pie): Likewise.
3894         * sysdeps/x86_64/tst-quad1.c: New file.
3895         * sysdeps/x86_64/tst-quad1pie.c: New file.
3896         * sysdeps/x86_64/tst-quad2.c: Likewise.
3897         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3898         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3899         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3900         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3901         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3903 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3905         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3906         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3907         * streams/stropts.h (t_scalar_t): Define type.
3909         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3910         (_PATH_PRESERVE): Set to "/var/lib".
3911         (_PATH_RWHODIR): Set to "/var/spool/rwho".
3913         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3914         instead of int.
3916         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3917         if __dir_mkfile succeeded.
3919         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3920         checking for _hurd_dtablesize.  Unlock it right after having
3921         finished _hurd_dtable allocation.
3923 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
3925         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3926         * sysdeps/mach/hurd/configure: Regenerated.
3927         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3928         special-casing to...
3929         * sysdeps/gnu/configure.in: ... this new file.
3930         * sysdeps/unix/sysv/linux/configure: Regenerated.
3931         * sysdeps/gnu/configure: New generated file.
3933         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3934         for Linux: use nsec instead of usec, as well as:
3935         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3936         members of type struct timespec.
3937         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3938         New macros.
3939         (struct stat64): Likewise.
3940         (_STATBUF_ST_NSEC): New macro.
3941         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3943         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3944         __strtoul_internal rather than strtoul.
3946 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3948         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3949         and reject them.
3951 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3953         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3954         which preserves existing values.
3955         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3957 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3959         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3960         TIMEOUT values.  Return EINVAL for NFDS values either negative or
3961         greater than FD_SETSIZE.
3963 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3965         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3966         allocated, call __vm_protect to finish enabling the existing space, and
3967         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3968         allocate the remainder.
3970 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3972         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3973         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
3975 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3977         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3978         sysdeps/mach/hurd/readlink.c.
3980         * posix/tst-sysconf.c (posix_options): Only use
3981         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3982         _POSIX_SYNCHRONIZED_IO when they are defined
3983         * sysdeps/mach/hurd/bits/posix_opt.h:
3984         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3985         (_XOPEN_REALTIME): Undefine macro.
3986         (_XOPEN_REALTIME_THREADS): Undefine macro.
3987         (_XOPEN_SHM): Undefine macro.
3988         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3989         macro to -1.
3990         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3991         macro to -1.
3992         (_POSIX_ASYNC_IO): Undefine macro.
3993         (_POSIX_PRIORITIZED_IO): Undefine macro.
3994         (_POSIX_SPIN_LOCKS): Define macro to -1.
3996         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3997         SA_NODEFER, SA_RESETHAND.
3998         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3999         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4000         F_DUPFD_CLOEXEC.
4002 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4004         * elf/Makefile (pldd-modules): Define unconditionally.
4006 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4008         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4010 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4012         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4013         Return ENOENT when name is empty.
4014         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4016 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4018         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4020         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4022 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4024         Fix mlock in all cases except non-readable pages.
4025         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4026         instead of VM_PROT_ALL as parameter to __vm_wire function.
4028         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4029         (__mkdir): When path is `/', just fail with EEXIST.
4030         * sysdeps/mach/hurd/mkdirat.c: Likewise.
4032 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4034         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4035         <sys/uio.h> (for writev).
4036         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4037         and <sys/param.h> (for MIN).
4039 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4041         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4042         REQUESTED_TIME.  Properly set the remaining time and return EINTR
4043         if interrupted.
4045 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4047         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4048         Depend on against $(link-rpcuserlibs).
4050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4052         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4053         (__libc_stack_end): Do not use attribute_relro.
4054         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4055         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4056         to libthread-provided value.
4057         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4058         attribute_relro.
4060 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4062         [BZ #3748]
4063         * bits/libc-lock.h (__libc_once_get): New macro.
4064         * sysdeps/mach/bits/libc-lock.h: Likewise.
4065         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4066         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4067         instead of using implementation details.
4069         * libio/fileops.c: Unconditionally include <kernel-features.h>.
4070         * libio/freopen.c: Likewise.
4071         * libio/freopen64.c: Likewise.
4072         * misc/syslog.c: Likewise.
4073         * nscd/connections.c: Likewise.
4074         * nscd/netgroupcache.c: Likewise.
4075         * sysdeps/posix/getcwd.c: Likewise.
4077 2012-05-10  Roland McGrath  <roland@hack.frob.com>
4079         * math/w_ilogbf.c: Add #include <limits.h>.
4081 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4083         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4084         path instead of returning without unlocking.
4086         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4087         immediate-write ioctls.
4088         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4090 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4092         * sysdeps/mach/hurd/i386/init-first.c (init): Use
4093         __builtin_frame_address instead of making assumptions about the
4094         location of the return address relative to DATA.  Force early load of
4095         the return address.
4096         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4097         __builtin_frame_address.
4099         dup3 for GNU Hurd.
4100         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4101         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
4102         implement dup3 and do some further code clean-ups.
4103         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4104         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4106 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4108         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4110         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4111         HURD_CRITICAL_END around holding _hurd_dtable_lock.
4112         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4113         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4114         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4115         d->port.lock.
4117         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4118         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
4119         when handler == SIG_ERR, not when handler != SIG_ERR.
4121 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4123         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4124         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4125         definitions.
4127         accept4 for GNU Hurd.
4128         * include/sys/socket.h (__libc_accept4): New prototype.
4129         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
4130         to implement __libc_accept4.
4131         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4132         __libc_accept4.
4133         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4135         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4136         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4137         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4138         signal-defines.sym.
4140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4142         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4144 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
4146         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4147         assertion on O_CLOEXEC flag.
4148         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4149         * hurd/intern-fd.c: Likewise.
4150         * hurd/port2fd.c: Likewise.
4152 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4154         [BZ #3906]
4155         * bits/in.h (IPV6_PKTINFO): Define new macro.
4156         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4158 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4160         [BZ #13954]
4161         [BZ #13955]
4162         [BZ #13956]
4163         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4164         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4165         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4166         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4167         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4168         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4169         * math/libm-test.inc (logb_test) : Additional logb tests.
4171 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
4172             Andreas Jaeger  <aj@suse.de>
4174         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4175         * configure: Regenerated.
4176         * config.h.in (LINK_OBSOLETE_RPC): New macro.
4177         * config.make.in (link-obsolete-rpc): New substituted variable.
4178         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4179         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4180         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4181         (shared-only-routines): Don't set it under [link-obsolete-rpc],
4182         so that libc.a contains the symbols.
4183         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4184         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4185         * sunrpc/auth_none.c: Likewise.
4186         * sunrpc/auth_unix.c: Likewise.
4187         * sunrpc/authdes_prot.c: Likewise.
4188         * sunrpc/authuxprot.c: Likewise.
4189         * sunrpc/clnt_gen.c: Likewise.
4190         * sunrpc/clnt_perr.c: Likewise.
4191         * sunrpc/clnt_raw.c: Likewise.
4192         * sunrpc/clnt_simp.c: Likewise.
4193         * sunrpc/clnt_tcp.c: Likewise.
4194         * sunrpc/clnt_udp.c: Likewise.
4195         * sunrpc/clnt_unix.c: Likewise.
4196         * sunrpc/des_crypt.c: Likewise.
4197         * sunrpc/des_soft.c: Likewise.
4198         * sunrpc/get_myaddr.c: Likewise.
4199         * sunrpc/key_call.c: Likewise.
4200         * sunrpc/key_prot.c: Likewise.
4201         * sunrpc/netname.c: Likewise.
4202         * sunrpc/pm_getmaps.c: Likewise.
4203         * sunrpc/pm_getport.c: Likewise.
4204         * sunrpc/pmap_clnt.c: Likewise.
4205         * sunrpc/pmap_prot.c: Likewise.
4206         * sunrpc/pmap_prot2.c: Likewise.
4207         * sunrpc/pmap_rmt.c: Likewise.
4208         * sunrpc/publickey.c: Likewise.
4209         * sunrpc/rpc_cmsg.c: Likewise.
4210         * sunrpc/rpc_common.c: Likewise.
4211         * sunrpc/rpc_dtable.c: Likewise.
4212         * sunrpc/rpc_prot.c: Likewise.
4213         * sunrpc/rpc_thread.c: Likewise.
4214         * sunrpc/rtime.c: Likewise.
4215         * sunrpc/svc.c: Likewise.
4216         * sunrpc/svc_auth.c: Likewise.
4217         * sunrpc/svc_raw.c: Likewise.
4218         * sunrpc/svc_run.c: Likewise.
4219         * sunrpc/svc_tcp.c: Likewise.
4220         * sunrpc/svc_udp.c: Likewise.
4221         * sunrpc/svc_unix.c: Likewise.
4222         * sunrpc/svcauth_des.c: Likewise.
4223         * sunrpc/xcrypt.c: Likewise.
4224         * sunrpc/xdr.c: Likewise.
4225         * sunrpc/xdr_array.c: Likewise.
4226         * sunrpc/xdr_float.c: Likewise.
4227         * sunrpc/xdr_intXX_t.c: Likewise.
4228         * sunrpc/xdr_mem.c: Likewise.
4229         * sunrpc/xdr_rec.c: Likewise.
4230         * sunrpc/xdr_ref.c: Likewise.
4231         * sunrpc/xdr_sizeof.c: Likewise.
4232         * sunrpc/xdr_stdio.c: Likewise.
4234 2012-05-10  Roland McGrath  <roland@hack.frob.com>
4236         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4237         change.  Update copyright years.
4239 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
4241         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4243 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
4244             Joseph Myers  <joseph@codesourcery.com>
4245             Paul Pluzhnikov  <ppluzhnikov@google.com>
4247         [BZ #14012]
4248         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4249         requiring rpcgen.
4250         [cross-compiling] (extra-libs): Likewise.
4251         [cross-compiling] (extra-libs-others): Likewise.
4252         [cross-compiling] (librpcsvc-routines): Likewise.
4253         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4254         [cross-compiling] (omit-deps): Likewise.
4255         (sunrpc-CPPFLAGS): New variable.
4256         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4257         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4258         (cross-rpcgen-objs): New variable.
4259         (extra-objs): Append $(cross-rpcgen-objs).
4260         ($(cross-rpcgen-objs)): New rule.
4261         ($(objpfx)cross-rpcgen): Likewise.
4262         (rpcgen-cmd): Define to use $(built-program-file).  Expand
4263         comment.
4264         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4265         ($(objpfx)x%.stmp): Likewise.
4266         * sunrpc/proto.h [IS_IN_build] (_): Define.
4267         [IS_IN_build] (_libc_intl_domainname): Likewise.
4269 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
4271         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4272         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4273         and R_X86_64_TPOFF64.
4275 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
4277         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4278         sysdeps/unix/sysv/syscalls.list.
4279         (stime): Likewise.
4280         (utime): Likewise.
4281         * sysdeps/unix/sysv/syscalls.list: Remove file.
4283 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
4285         [BZ #3440]
4286         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4287         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4288         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4289         (__LC_IDENTIFICATION): Make these macros useful in #if
4290         expressions, as required by C99.
4292 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
4294         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4295         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
4296         after this.
4298 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4300         * stdlib/longlong.h: Updated from GCC.
4302 2012-05-09  Andreas Jaeger  <aj@suse.de>
4304         * nscd/nscd.c (run_modes): Make named enum, reorder so that
4305         default is first entry.
4306         (run_mode): Set type.
4307         (main): Remove informal message about syslog.
4308         (options): Fix typo.
4310         [BZ #14053]
4311         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4312         to asm.
4313         (lrint): Likewise.
4314         (llrintf): Likewise.
4315         (llrint): Likewise.
4316         (rint): Likewise.
4317         (rintf): Likewise.
4318         (nearbyint): Likewise.
4319         (nearbyintf): Likewise.
4321 2012-05-09  Andreas Jaeger  <aj@suse.de>
4322             Pedro Alves  <palves@redhat.com>
4324         * nscd/nscd.c (run_mode): Use enum.
4325         (main): Cleanup coding style issue.
4327 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
4328             Andreas Jaeger  <aj@suse.de>
4330         * nscd/nscd.c (go_background): Replaced with...
4331         (run_mode): ... this.
4332         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4333         (options): Add -F --foreground.
4334         (main): Implement it.
4335         (parse_opt): Parse it.
4337 2012-05-09  Andreas Jaeger  <aj@suse.de>
4339         [BZ #14083]
4340         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4341         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4342         -Wconversion warning.
4343         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4344         Likewise.
4346 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
4348         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
4349         == 0.
4350         (LC_ALL): Use macro-int-constant.
4351         (LC_COLLATE): Likewise.
4352         (LC_CTYPE): Likewise.
4353         (LC_MESSAGES): Likewise.
4354         (LC_MONETARY): Likewise.
4355         (LC_NUMERIC): Likewise.
4356         (LC_TIME): Likewise.
4357         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4358         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4359         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4360         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4361         Specify type.
4362         [C99-based standards] (float_t): Expect type.
4363         [C99-based standards] (double_t): Expect type.
4364         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
4365         type.
4366         [C99-based standards] (HUGE_VALL): Likewise.
4367         [C99-based standards] (INFINITY): Likewise.
4368         [C99-based standards] (NAN): Likewise.
4369         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4370         [C99-based standards] (FP_NAN): Likewise.
4371         [C99-based standards] (FP_NORMAL): Likewise.
4372         [C99-based standards] (FP_SUBNORMAL): Likewise.
4373         [C99-based standards] (FP_ZERO): Likewise.
4374         [C99-based standards] (FP_FAST_FMA): Use
4375         optional-macro-int-constant.  Specify type.  Require == 1.
4376         [C99-based standards] (FP_FAST_FMAF): Likewise.
4377         [C99-based standards] (FP_FAST_FMAL): Likewise.
4378         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4379         [C99-based standards] (FP_ILOGBNAN): Likewise.
4380         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4381         Specify type.
4382         [C99-based standards] (MATH_ERREXCEPT): Likewise.
4383         [C99-based standards] (math_errhandling): Specify type.
4384         [ISO99 || ISO11] (signgam): Do not allow.
4385         [non-C99-based standards] (copysignf): Do not allow.
4386         [non-C99-based standards] (exp2f): Likewise.
4387         [non-C99-based standards] (log2f): Likewise.
4388         [non-C99-based standards] (modff): Allow.
4389         [non-C99-based standards] (erff): Do not allow.
4390         [non-C99-based standards] (erfcf): Likewise.
4391         [non-C99-based standards] (gammaf): Likewise.
4392         [non-C99-based standards] (hypotf): Likewise.
4393         [non-C99-based standards] (j0f): Likewise.
4394         [non-C99-based standards] (j1f): Likewise.
4395         [non-C99-based standards] (jnf): Likewise.
4396         [non-C99-based standards] (lgammaf): Likewise.
4397         [non-C99-based standards] (tgammaf): Likewise.
4398         [non-C99-based standards] (y0f): Likewise.
4399         [non-C99-based standards] (y1f): Likewise.
4400         [non-C99-based standards] (ynf): Likewise.
4401         [non-C99-based standards] (isnanf): Likewise.
4402         [non-C99-based standards] (acoshf): Likewise.
4403         [non-C99-based standards] (asinhf): Likewise.
4404         [non-C99-based standards] (atanhf): Likewise.
4405         [non-C99-based standards] (cbrtf): Likewise.
4406         [non-C99-based standards] (expm1f): Likewise.
4407         [non-C99-based standards] (ilogbf): Likewise.
4408         [non-C99-based standards] (log1pf): Likewise.
4409         [non-C99-based standards] (logbf): Likewise.
4410         [non-C99-based standards] (nextafterf): Likewise.
4411         [non-C99-based standards] (remainderf): Likewise.
4412         [non-C99-based standards] (rintf): Likewise.
4413         [non-C99-based standards] (scalbf): Likewise.
4414         [non-C99-based standards] (copysignl): Likewise.
4415         [non-C99-based standards] (exp2l): Likewise.
4416         [non-C99-based standards] (log2l): Likewise.
4417         [non-C99-based standards] (modfl): Allow.
4418         [non-C99-based standards] (erfl): Do not allow.
4419         [non-C99-based standards] (erfcl): Likewise.
4420         [non-C99-based standards] (gammal): Likewise.
4421         [non-C99-based standards] (hypotl): Likewise.
4422         [non-C99-based standards] (j0l): Likewise.
4423         [non-C99-based standards] (j1l): Likewise.
4424         [non-C99-based standards] (jnl): Likewise.
4425         [non-C99-based standards] (lgammal): Likewise.
4426         [non-C99-based standards] (tgammal): Likewise.
4427         [non-C99-based standards] (y0l): Likewise.
4428         [non-C99-based standards] (y1l): Likewise.
4429         [non-C99-based standards] (ynl): Likewise.
4430         [non-C99-based standards] (isnanl): Likewise.
4431         [non-C99-based standards] (acoshl): Likewise.
4432         [non-C99-based standards] (asinhl): Likewise.
4433         [non-C99-based standards] (atanhl): Likewise.
4434         [non-C99-based standards] (cbrtl): Likewise.
4435         [non-C99-based standards] (expm1l): Likewise.
4436         [non-C99-based standards] (ilogbl): Likewise.
4437         [non-C99-based standards] (log1pl): Likewise.
4438         [non-C99-based standards] (logbl): Likewise.
4439         [non-C99-based standards] (nextafterl): Likewise.
4440         [non-C99-based standards] (remainderl): Likewise.
4441         [non-C99-based standards] (rintl): Likewise.
4442         [non-C99-based standards] (scalbl): Likewise.
4443         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4444         [non-C99-based standards] (FP_*): Do not allow.
4445         [C99-based standards] (FP_*): Change to
4446         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4447         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4448         allow.
4449         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4450         (SIG_ERR): Likewise.
4451         [X/Open-based standards] (SIG_HOLD): Likewise.
4452         (SIG_IGN): Likewise.
4453         (SIGABRT): Use macro-int-constant.  Specify type.  Require
4454         positive value.
4455         (SIGFPE): Likewise.
4456         (SIGILL): Likewise.
4457         (SIGINT): Likewise.
4458         (SIGSEGV): Likewise.
4459         (SIGTER): Likewise.
4460         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4461         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4462         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4463         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4464         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4465         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4466         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4467         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4468         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4469         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4470         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4471         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4472         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4473         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4474         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4475         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4476         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4477         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4478         [X/Open-based standards] (SIGTRAP): Likewise.
4479         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4480         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4481         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4482         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4483         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4484         allow.
4486 2012-05-08  Ian Wienand  <ianw@vmware.com>
4488         [BZ #14080]
4489         * time/tzset.c (__tzset_parse_tz): Update default rules for
4490         daylight time changes in the Energy Policy Act of 2005.
4492 2012-05-09  Andreas Jaeger  <aj@suse.de>
4494         [BZ #13983]
4495         * elf/ldconfig.c (parse_conf): Change string to make clear that
4496         ldconfig only issued a warning if ld.so.conf does not exist.
4498 2012-05-08  David S. Miller  <davem@davemloft.net>
4500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4501         movxtod instead of popping the value on the stack.
4503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4505 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
4507         * config.h.in: Add HAVE_ARM_PCS_VFP.
4509 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
4511         [BZ #13979]
4512         * include/features.h: Warn if user requests __FORTIFY_SOURCE
4513         checking but the checks are disabled for any reason.
4515 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4517         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4518         and ELF64_R_TYPE with ELFW(R_TYPE).
4520 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
4522         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4523         (ulimit): Likewise.
4525         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4526         (settimeofday): Likewise.
4528 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
4530         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
4531         a struct th_u2 inside the union, and move tu_block/tu_code into
4532         a new th_u3 union of tu_block/tu_code inside of that.  Move
4533         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
4534         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
4535         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4536         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4537         (th_stuff): Change to th_u1.tu_stuff.
4538         (th_data): Define.
4539         (th_msg): Change to th_u1.th_u2.tu_data.
4541 2012-05-07  David S. Miller  <davem@davemloft.net>
4543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4545         [BZ #14074]
4546         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4547         (SETUP_PIC_REG): Use it.
4548         (SETUP_PIC_REG_LEAF): Use it.
4550 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
4552         [BZ #13885]
4553         [BZ #13923]
4554         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4555         USE_AS_EXPM1L.
4556         (EXPL_FINITE): Likewise.
4557         (FLDLOG): Likewise.
4558         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4559         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4560         e_expl.S.
4561         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4562         USE_AS_EXPM1L.
4563         (EXPL_FINITE): Likewise.
4564         (FLDLOG): Likewise.
4565         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4566         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4567         e_expl.S.
4568         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
4569         test of -max_value argument for long double.
4570         * sysdeps/i386/fpu/libm-test-ulps: Update.
4571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4573 2012-05-06  David S. Miller  <davem@davemloft.net>
4575         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4576         quad soft-float symbols whose references which are compiler
4577         generated.
4578         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4580 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
4582         [BZ #13884]
4583         [BZ #13914]
4584         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4585         USE_AS_EXP10L.
4586         (EXPL_FINITE): Likewise.
4587         (FLDLOG): Likewise.
4588         (c0): Likewise.
4589         (c1): Likewise.
4590         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
4591         Adjust comments for base varying.
4592         (__expl_finite): Change alias to EXPL_FINITE.
4593         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4594         e_expl.S.
4595         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4596         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4597         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4598         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4599         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4600         USE_AS_EXP10L.
4601         (EXPL_FINITE): Likewise.
4602         (FLDLOG): Likewise.
4603         (c0): Likewise.
4604         (c1): Likewise.
4605         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
4606         Adjust comments for base varying.
4607         (__expl_finite): Change alias to EXPL_FINITE.
4608         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
4609         tests for bugs.
4610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4612         [BZ #14064]
4613         * math/libm-test.inc (check_float_internal): Correct ulp
4614         calculation for subnormal expected results.
4616 2012-05-06  Andreas Jaeger  <aj@suse.de>
4618         * Makeconfig (+math-flags): New, set to -frounding-math.
4619         (+cflags): Add +math-flags so that all of glibc gets compiled with
4620         it.
4622         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4624 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
4626         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4627         Disable one test.
4629         [BZ #13787]
4630         [BZ #13922]
4631         [BZ #14036]
4632         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4633         (__ieee754_expl): Allow for and saturate large arguments.
4634         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4635         (u_threshold): Likewise.
4636         (__exp): Call __ieee754_exp before checking for overflow and
4637         underflow.
4638         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4639         (u_threshold): Likewise.
4640         (__expf): Call __ieee754_expf before checking for overflow and
4641         underflow.
4642         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4643         (u_threshold): Likewise.
4644         (__expl): Call __ieee754_expl before checking for overflow and
4645         underflow.
4646         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4647         (__ieee754_expl): Allow for and saturate large arguments.
4648         * math/libm-test.inc (exp_test): Add another test.  Do not allow
4649         missing overflow exception on overflow.
4650         (expm1_test): Do not allow missing overflow exception on overflow.
4652         * sysdeps/i386/fpu/e_expl.c: Move to ...
4653         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
4654         rather than using inline asm.
4655         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4656         * sysdeps/x86_64/fpu/e_expl.S: Copy from
4657         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4659         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4660         (nice): Likewise.
4661         (poll): Likewise.
4662         (signal): Likewise.
4663         (time): Likewise.
4664         (times): Likewise.
4666 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
4668         * sysdeps/unix/syscalls.list (adjtime): Add entry from
4669         sysdeps/unix/common/syscalls.list.
4670         (fchmod): Likewise.
4671         (fchown): Likewise.
4672         (ftruncate): Likewise.
4673         (getrusage): Likewise.
4674         (gettimeofday): Likewise.
4675         (setpgid): Likewise.
4676         (setregid): Likewise.
4677         (setreuid): Likewise.
4678         (sigaction): Likewise.
4679         (truncate): Likewise.
4680         (vhangup): Likewise.
4681         * sysdeps/unix/common/syscalls.list: Remove file.
4682         * sysdeps/unix/bsd/Implies: Don't include unix/common.
4683         * sysdeps/unix/sysv/linux/Implies: Likewise.
4685 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
4687         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4689         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4690         Moved to ...
4691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4692         Here.
4693         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4694         to ...
4695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4696         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4697         to ...
4698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4699         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4700         to ...
4701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4702         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4703         to ...
4704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4705         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4706         to ...
4707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4708         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4709         to ...
4710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4711         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4712         to ...
4713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4714         Here.
4715         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4716         to ...
4717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4718         Here.
4719         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4720         to ...
4721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4722         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4723         Moved to ...
4724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4725         Here.
4726         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4727         to ...
4728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4730 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
4732         * sysdeps/unix/common/bits/dirent.h: Remove file.
4733         * sysdeps/unix/common/bits/fcntl.h: Likewise.
4735         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4736         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4737         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4738         * sysdeps/unix/bsd/isatty.c: Likewise.
4739         * sysdeps/unix/bsd/tcdrain.c: Likewise.
4740         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4741         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4743 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4745         [BZ #13563]
4746         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4747         long double comparison inaccuracies.
4748         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4751 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
4753         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4754         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4756 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
4758         [BZ #14049]
4759         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4760         nonzero digits before rounding a hex value.
4761         * stdlib/tst-strtod.c (tests): Add another test.
4763 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4765         * sysdeps/s390/fpu/libm-test-ulps: Update.
4767 2012-05-03  Andreas Jaeger  <aj@suse.de>
4769         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4770         does not get optimized out.
4771         (malloc_opt_barrier): New.
4773 2012-05-03  Andreas Jaeger  <aj@suse.de>
4774             Roland McGrath  <roland@hack.frob.com>
4776         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4777         intermediate file deletion.
4778         (generated): Add .symlist files.
4780 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
4782         [BZ #13775]
4783         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4784         Redirect under this condition.
4785         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4786         [__USE_GNU] (__dprintf_chk): Not under this condition.
4787         [__USE_GNU] (__vdprintf_chk): Likewise.
4788         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4789         under this condition.
4790         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4791         [__USE_XOPEN2K8] (dprintf): Define under this condition.
4792         [__USE_XOPEN2K8] (vdprintf): Likewise.
4793         [__USE_GNU] (__dprintf_chk): Not under this condition.
4794         [__USE_GNU] (__vdprintf_chk): Likewise.
4795         [__USE_GNU] (dprintf): Likewise.
4796         [__USE_GNU] (vdprintf): Likewise.
4798 2012-05-03  Roland McGrath  <roland@hack.frob.com>
4800         * elf/Makefile (common-generated): Set this instead of generated for
4801         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
4802         $(all-built-dso)-derived lists.
4804 2012-05-03  Andreas Jaeger  <aj@suse.de>
4806         * sysdeps/i386/fpu/libm-test-ulps: Update.
4808         * FAQ: Removed.
4809         * FAQ.in: Likewise.
4810         * scripts/gen-FAQ.pl: Likewise.
4811         * manual/install.texi (Installation): Point to online location of
4812         FAQ.
4813         * Makefile (files-for-dist): Remove FAQ.
4814         (FAQ): Remove.
4816 2012-05-02  Allan McRae  <allan@archlinux.org>
4818         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4819         (LDFLAGS-reldepmod5.so): Likewise.
4820         (LDFLAGS-reldep6mod1.so): Likewise.
4821         (LDFLAGS-reldep6mod4.so): Likewise.
4822         (LDFLAGS-reldep8mod3.so): Likewise.
4823         (LDFLAGS-unload4mod1.so): Likewise.
4824         (LDFLAGS-unload4mod2.so): Likewise.
4825         (LDFLAGS-tst-initorder): Likewise.
4826         (LDFLAGS-tst-initordera2.so): Likewise.
4827         (LDFLAGS-tst-initordera3.so): Likewise.
4828         (LDFLAGS-tst-initordera4.so): Likewise.
4829         (LDFLAGS-tst-initorderb2.so): Likewise.
4830         (LDFLAGS-noload): Likewise.
4831         (LDFLAGS-next): Likewise.
4832         (LDFLAGS-order2mod1.so): Likewise.
4833         (LDFLAGS-order2mod2.so): Likewise.
4834         (LDFLAGS-tst-initorder2): Likewise.
4835         (LDFLAGS-tst-initorder2a.so): Likewise.
4836         (LDFLAGS-tst-initorder2b.so): Likewise.
4837         (LDFLAGS-tst-initorder2c.so): Likewise.
4838         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4840 2012-05-02  David S. Miller  <davem@davemloft.net>
4842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4844 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4846         [BZ #14055]
4847         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4849 2012-05-02  Andreas Jaeger  <aj@suse.de>
4851         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4852         since we manipulate rounding mode.
4853         (CPPFLAGS-test-idouble.c): Likewise.
4854         (CPPFLAGS-test-ifloat.c): Likewise.
4855         (CFLAGS-test-ldouble.c): Likewise.
4856         (CFLAGS-test-double.c): Likewise.
4857         (CFLAGS-test-float.c): Likewise.
4858         (CFLAGS-test-misc.c): Likewise.
4859         (CFLAGS-test-test-fenv.c): Likewise.
4861 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4863         [BZ #2550]
4864         [BZ #2570]
4865         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4866         comparisons to determine direction to adjust input.
4868 2012-05-01  Roland McGrath  <roland@hack.frob.com>
4870         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4871         output to the target.
4873         * scripts/localplt.awk: New file.
4874         * elf/Makefile ($(objpfx)check-localplt): Target removed.
4875         (check-localplt-CFLAGS): Variable removed.
4876         ($(all-built-dso:=.jmprel)): New static pattern rule.
4877         (generated): Add those targets.
4878         (localplt-built-dso): New variable.
4879         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4881         * elf/check-localplt.c: File removed.
4883         * scripts/check-execstack.awk: New file.
4884         * elf/Makefile ($(objpfx)check-execstack): Target removed.
4885         (check-execstack-CFLAGS): Variable removed.
4886         ($(objpfx)check-execstack.h): Target removed.
4887         ($(objpfx)execstack-default): New target.
4888         (generated): Add that instead of check-execstack.h.
4889         ($(all-built-dso:=.phdr)): New static pattern rule.
4890         (generated): Add those targets.
4891         * elf/check-execstack.c: File removed.
4893         * scripts/check-textrel.awk: New file.
4894         * elf/Makefile ($(objpfx)check-textrel): Target removed.
4895         (check-textrel-CFLAGS): Variable removed.
4896         (all-built-dso): Use := to define.o
4897         ($(all-built-dso:=.dyn)): New static pattern rule.
4898         (generated): Add those targets.
4899         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4900         * config.make.in (READELF): New substituted variable.
4901         * elf/check-textrel.c: File removed.
4903 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
4905         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4906         allow.
4907         * conform/data/ctype.h-data [C99-based standards] (isblank):
4908         Expect function.
4909         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4910         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4911         [ISO || ISO99 || ISO11] (*_t): Do not allow.
4912         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4913         Specify type.  Require positive value.
4914         (EILSEQ): Likewise.
4915         (ERANGE): Likewise.
4916         [ISO || POSIX] (EILSEQ): Do not expect.
4917         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4918         Specify type.  Require positive value.
4919         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4920         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4921         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4922         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4923         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4924         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4925         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4926         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4927         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4928         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4929         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4930         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4931         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4932         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4933         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4934         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4935         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4936         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4937         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4938         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4939         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4940         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4941         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4942         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4943         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4944         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4945         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4946         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4947         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4948         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4949         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4950         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4951         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4952         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4953         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4954         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4955         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4956         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4957         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4958         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4959         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4960         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4961         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4962         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4963         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4964         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4965         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4966         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4967         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4968         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4969         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4970         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4971         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4972         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4973         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4974         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4975         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4976         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4977         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4978         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4979         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4980         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4981         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4982         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4983         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4984         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4985         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4986         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4987         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4988         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4989         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4990         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4991         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4992         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4993         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4994         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4995         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4996         Require >= 2.
4997         (FLT_ROUNDS): Expect as macro, not constant.
4998         (FLT_MANT_DIG): Use macro-int-constant.
4999         (DBL_MANT_DIG): Likewise.
5000         (LDBL_MANT_DIG): Likewise.
5001         (FLT_DIG): Likewise.
5002         (DBL_DIG): Likewise.
5003         (LDBL_DIG): Likewise.
5004         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
5005         (DBL_MIN_EXP): Likewise.
5006         (LDBL_MIN_EXP): Likewise.
5007         (FLT_MAX_EXP): Use macro-int-constant.
5008         (DBL_MAX_EXP): Likewise.
5009         (LDBL_MAX_EXP): Likewise.
5010         (FLT_MAX_10_EXP): Likewise.
5011         (DBL_MAX_10_EXP): Likewise.
5012         (LDBL_MAX_10_EXP): Likewise.
5013         (FLT_MAX): Use macro-constant.
5014         (DBL_MAX): Likewise.
5015         (LDBL_MAX): Likewise.
5016         (FLT_EPSILON): Use macro-constant.  Give upper bound.
5017         (DBL_EPSILON): Likewise.
5018         (LDBL_EPSILON): Likewise.
5019         (FLT_MIN): Likewise.
5020         (DBL_MIN): Likewise.
5021         (LDBL_MIN): Likewise.
5022         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5023         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5024         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5025         [ISO11] (FLT_HAS_SUBNORM): Likewise.
5026         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5027         [ISO11] (DBL_DECIMAL_DIG): Likewise.
5028         [ISO11] (FLT_DECIMAL_DIG): Likewise.
5029         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5030         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5031         [ISO11] (FLT_TRUE_MIN): Likewise.
5032         [ISO11] (LDBL_TRUE_MIN): Likewise.
5033         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5034         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5035         (SCHAR_MIN): Use macro-int-constant.  Specify type.
5036         (SCHAR_MAX): Likewise.
5037         (UCHAR_MAX): Likewise.
5038         (CHAR_MIN): Likewise.
5039         (CHAR_MAX): Likewise.
5040         (MB_LEN_MAX): Use macro-int-constant.
5041         (SHRT_MIN): Use macro-int-constant.  Specify type.
5042         (SHRT_MAX): Likewise.
5043         (USHRT_MAX): Likewise.
5044         (INT_MAX): Likewise.
5045         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
5046         bound negative.
5047         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5048         bound with "U".
5049         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5050         bound with "L".
5051         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
5052         bound negative.  Suffix upper bound with "L".
5053         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
5054         bound with "UL".
5055         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5056         Specify type.
5057         [C99-based standards] (LLONG_MAX): Likewise.
5058         [C99-based standards] (ULLONG_MAX): Likewise.
5059         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
5060         == 0.
5061         [ISO11] (max_align_t): Require type.
5062         [ISO || ISO99 || ISO11] (*_t): Do not allow.
5064         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5065         from $CFLAGS, without defining away __attribute__ calls.
5066         (checknamespace): Use $CFLAGS_namespace.
5068         * conform/conformtest.pl (@keywords): Only include C99 keywords
5069         for standards based on C99 or C11.
5071         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5072         Disable tests.
5073         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5074         UNIX98]: Likewise.
5076         * conform/conformtest.pl: Handle "macro-int-constant" and test for
5077         usability of symbols in #if.
5079         * conform/conformtest.pl: If macro or constant types start
5080         "promoted:", expect the symbol to be of the following type
5081         promoted by the integer promotions.
5083         * conform/conformtest.pl: Parse all "constant" and "macro" lines
5084         in one place.  Also handle "macro-constant".
5086         * conform/conformtest.pl: Only accept expected macro values with
5087         "==".  Parse all "macro" lines in one place.
5088         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5090         * conform/conformtest.pl: Handle braced types on "constant" lines
5091         instead of handling "typed-constant".
5092         * conform/data/signal.h-data: Use "constant" instead of
5093         "typed-constant".
5095         * conform/conformtest.pl: Handle "optional-" at start of lines in
5096         one place rather than duplicating several cases.  Handle each
5097         format of "macro" line with initial "optional-".
5099         * conform/conformtest.pl: Only accept expected constant or
5100         optional-constant values with "==".  Parse all "constant" lines in
5101         one place.  Parse all "optional-constant" lines in one place.
5102         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5103         * conform/data/fmtmsg.h-data: Likewise.
5104         * conform/data/netinet/in.h-data: Likewise.
5105         * conform/data/tar.h-data: Likewise.
5106         * conform/data/limits.h-data: Use "==" form on "constant" and
5107         "optional-constant" lines.
5109         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5110         Use -std=c99 for XOPEN2K.
5111         (@knownproblems): Remove.
5112         (newtoken): Don't check %isknown.
5114         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5115         Do not expect macro.
5116         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5117         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5118         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5119         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5120         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5121         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5122         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5123         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5124         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5125         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5126         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5127         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5128         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5129         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5130         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5131         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5132         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5133         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5134         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5135         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5136         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5137         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5138         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5139         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5140         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5141         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5142         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5143         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5144         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5145         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5146         [XPG3] (acosh): Likewise.
5147         [XPG3] (asinh): Likewise.
5148         [XPG3] (atanh): Likewise.
5149         [XPG3] (cbrt): Likewise.
5150         [XPG3] (expm1): Likewise.
5151         [XPG3] (ilogb): Likewise.
5152         [XPG3] (log1p): Likewise.
5153         [XPG3] (logb): Likewise.
5154         [XPG3] (nextafter): Likewise.
5155         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5156         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5157         [XPG3] (remainder): Likewise.
5158         [XPG3] (rint): Likewise.
5159         [XPG3 || XPG4 || UNIX98] (round): Likewise.
5160         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5161         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5162         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5163         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5164         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5165         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5166         [UNIX98 || XOPEN2K] (scalb): Expect.
5167         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5168         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5169         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5170         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5171         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5172         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5173         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5174         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5175         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5176         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5177         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5178         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5179         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5180         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5181         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5182         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5183         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5184         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5185         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5186         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5187         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5188         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5189         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5190         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5191         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5192         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5193         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5194         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5195         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5196         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5197         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5198         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5199         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5200         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5201         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5202         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5203         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5204         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5205         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5206         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5207         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5208         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5209         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5210         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5211         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5212         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5213         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5214         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5215         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5216         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5217         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5218         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5219         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5220         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5221         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5222         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5223         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5224         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5225         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5226         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5227         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5228         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5229         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5230         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5231         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5232         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5233         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5234         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5235         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5236         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5237         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5238         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5239         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5240         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5241         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5242         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5243         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5244         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5245         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5246         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5247         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5248         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5249         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5250         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5251         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5252         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5253         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5254         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5255         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5256         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5257         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5258         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5259         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5260         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5261         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5262         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5263         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5264         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5265         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5266         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5267         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5268         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5269         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5270         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5271         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5272         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5273         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5274         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5275         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5276         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5277         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5278         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5279         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5280         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5281         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5282         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5283         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5284         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5285         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5286         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5287         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5288         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5289         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5290         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5291         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5292         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5293         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5294         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5295         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5296         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5297         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5298         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5299         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5300         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5301         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5302         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5303         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5305         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5306         _XOPEN_SOURCE_EXTENDED for XPG4.
5308         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5310         * Makeconfig (localtime): Remove variable.
5311         (inst_localtime-file): Likewise.
5313 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5316         Update.
5317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5318         Update.
5319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5320         Update.
5321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5322         Update.
5323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5324         Update.
5325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5326         Update.
5327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5328         Update.
5329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5330         Update.
5331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5332         Update.
5334 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
5336         [BZ #2550]
5337         [BZ #2570]
5338         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5339         comparisons to determine direction to adjust input.
5340         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5341         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5342         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5343         Likewise.
5344         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5345         Likewise.
5346         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5347         Likewise.
5348         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5349         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5350         Likewise.
5351         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5352         Likewise.
5353         * math/libm-test.inc (nexttoward_test): Add more tests.
5355 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5357         [BZ #14040]
5358         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5359         in version GLIBC_2.1, not GLIBC_2.0.
5360         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5361         Likewise.
5363 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
5365         [BZ #13942]
5366         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5367         (1 - x) * (1 + x).
5368         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5369         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5370         * math/libm-test.inc (acos_test): Add more tests.
5371         (asin_test): Likewise.
5372         * sysdeps/i386/fpu/libm-test-ulps: Update.
5373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5375         [BZ #14034]
5376         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5377         of square root.
5378         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5379         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5380         * math/libm-test.inc (acos_test_tonearest): New function.
5381         (acos_test_towardzero): Likewise.
5382         (acos_test_downward): Likewise.
5383         (acos_test_upward): Likewise.
5384         (asin_test_tonearest): Likewise.
5385         (asin_test_towardzero): Likewise.
5386         (asin_test_downward): Likewise.
5387         (asin_test_upward): Likewise.
5388         (main): Call the new functions.
5389         * sysdeps/i386/fpu/libm-test-ulps: Update.
5390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5392         [BZ #13884]
5393         [BZ #13924]
5394         * math/e_exp10.c: Include <float.h>.
5395         (__ieee754_exp10): Handle underflow here rather than multiplying
5396         large negative argument by M_LN10.
5397         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5398         of __ieee754_expf.
5399         * math/e_exp10l.c: Include <float.h>.
5400         (__ieee754_exp10l): Handle underflow here rather than multiplying
5401         large negative argument by M_LN10l.
5402         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
5403         spurious overflow exception on underflow.
5405 2012-04-29  Marek Polacek  <polacek@redhat.com>
5407         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5408         (__fortify_function): New macro.
5409         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5410         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5411         __extern_always_inline.
5412         * libio/bits/stdio2.h: Likewise.
5413         * libio/bits/stdio.h: Likewise.
5414         * string/string.h: Likewise.
5415         * string/bits/string3.h: Likewise.
5416         * include/stdio.h: Likewise.
5417         * stdlib/bits/stdlib.h: Likewise.
5418         * stdlib/stdlib.h: Likewise.
5419         * rt/bits/mqueue2.h: Likewise.
5420         * rt/mqueue.h: Likewise.
5421         * posix/bits/unistd.h: Likewise.
5422         * posix/unistd.h: Likewise.
5423         * io/bits/poll2.h: Likewise.
5424         * io/bits/fcntl2.h: Likewise.
5425         * io/fcntl.h: Likewise.
5426         * io/sys/poll.h: Likewise.
5427         * misc/bits/syslog.h: Likewise.
5428         * misc/bits/syslog-ldbl.h: Likewise.
5429         * misc/sys/syslog.h: Likewise.
5430         * socket/bits/socket2.h: Likewise.
5431         * socket/sys/socket.h: Likewise.
5432         * debug/tst-chk1.c: Likewise.
5433         * wcsmbs/bits/wchar2.h: Likewise.
5434         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5435         * wcsmbs/wchar.h: Likewise.
5437 2012-04-29  Andreas Jaeger  <aj@suse.de>
5439         * Makerules (tests): Remove enable-check-abi protection.
5440         (check-abi-warn): Remove.
5441         (check-abi-%): Remove check-abi-warn usage.
5443         * configure.in: Remove check-abi configure option.
5444         * configure: Regenerated.
5445         * config.make.in (enable-check-abi): Remove.
5447 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
5449         [BZ #14033]
5450         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5451         double functions to double *_finite functions.
5453         [BZ #13941]
5454         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5455         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5456         LDBL_MIN_EXP.
5457         * stdio-common/Makefile (tests): Add tst-sprintf3.
5458         * stdio-common/tst-sprintf3.c: New file.
5460         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5461         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5463 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
5465         * conform/conformtest.pl: Remove duplicate typed-constant
5466         handling.
5468 2012-04-28  David S. Miller  <davem@davemloft.net>
5470         * Makerules (%.abilist): Add vpath on sysdep_dirs.
5471         (check-abi-%): Remove AWK script prerequisite and explicit
5472         abilist directory.
5473         (check-abi): Rewrite to just diff the symlist with the abilist.
5474         (config-tls, config-abi-config): Delete, no longer used.
5475         (update-abi-%): Remove AWK script and explicit abilist directory.
5476         (update-abi): Rewrite to simply compare and conditionally copy the
5477         symlist and the sysdep abilist file.  Remove update-abi-config
5478         checks.
5479         * abilist/ld.abilist: Remove.
5480         * abilist/libBrokenLocale.abilist: Remove.
5481         * abilist/libanl.abilist: Remove.
5482         * abilist/libcrypt.abilist: Remove.
5483         * abilist/libdl.abilist: Remove.
5484         * abilist/librt.abilist: Remove.
5485         * abilist/libthread_db.abilist: Remove.
5486         * abilist/libutil.abilist: Remove.
5487         * scripts/extract-abilist.awk: Remove.
5488         * scripts/merge-abilist.awk: Remove.
5489         * sysdeps/generic/libcidn.abilist: New file.
5490         * sysdeps/generic/libnss_compat.abilist: New file.
5491         * sysdeps/generic/libnss_db.abilist: New file.
5492         * sysdeps/generic/libnss_dns.abilist: New file.
5493         * sysdeps/generic/libnss_files.abilist: New file.
5494         * sysdeps/generic/libnss_hesiod.abilist: New file.
5495         * sysdeps/generic/libnss_nis.abilist: New file.
5496         * sysdeps/generic/libnss_nisplus.abilist: New file.
5497         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5498         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5499         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5500         file.
5501         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5502         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5503         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5504         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5505         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5506         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5507         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5508         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5509         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5510         file.
5511         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5512         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5513         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5514         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5515         file.
5516         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5517         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5518         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5519         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5520         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5521         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5522         file.
5523         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5524         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5525         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5526         file.
5527         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5529         New file.
5530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5531         New file.
5532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5533         New file.
5534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5535         New file.
5536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5537         New file.
5538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5539         New file.
5540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5541         New file.
5542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5543         New file.
5544         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5545         New file.
5546         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5547         New file.
5548         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5549         New file.
5550         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5551         New file.
5552         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5553         New file.
5554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5555         file.
5556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5557         New file.
5558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5559         New file.
5560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5561         file.
5562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5563         New file.
5564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5565         New file.
5566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5567         file.
5568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5569         New file.
5570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5571         New file.
5572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5573         New file.
5574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5575         New file.
5576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5577         New file.
5578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5579         New file.
5580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5582         file.
5583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5584         New file.
5585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5586         file.
5587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5588         file.
5589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5590         file.
5591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5592         file.
5593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5594         file.
5595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5596         New file.
5597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5598         file.
5599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5600         file.
5601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5602         New file.
5603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5604         file.
5605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5607         file.
5608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5609         New file.
5610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5611         file.
5612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5613         file.
5614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5615         file.
5616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5617         file.
5618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5619         file.
5620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5621         New file.
5622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5623         file.
5624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5625         file.
5626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5627         New file.
5628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5629         file.
5630         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5631         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5632         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5633         file.
5634         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5635         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5636         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5637         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5638         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5639         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5640         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5641         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5642         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5643         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5646         file.
5647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5648         New file.
5649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5650         file.
5651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5652         file.
5653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5654         file.
5655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5656         file.
5657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5658         file.
5659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5660         New file.
5661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5662         New file.
5663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5664         file.
5665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5666         New file.
5667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5668         file.
5669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5671         file.
5672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5673         New file.
5674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5675         file.
5676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5677         file.
5678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5679         file.
5680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5681         file.
5682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5683         file.
5684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5685         New file.
5686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5687         New file.
5688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5689         file.
5690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5691         New file.
5692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5693         file.
5695 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
5697         * conform/conformtest.pl: Fix typo in handling typed-constant from
5698         allow-header.
5700 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
5702         * README: Cut down references to pre-2.6 Linux kernels and
5703         Linuxthreads.  Update lists of configurations in libc and ports
5704         and sort alphabetically.  Say "or newer" with Linux kernel version
5705         requirements.
5707         * config.h.in [IS_IN_build]: Allow compiling without optimization.
5709 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5711         [BZ #887]
5712         * math/libm-test.inc (logb_test_downward): New test to expose
5713         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5714         rounding mode.
5716 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
5718         [BZ #14027]
5719         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5720         to be done.
5721         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5722         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5724 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
5726         * sysdeps/unix/i386/brk.S: Remove file.
5727         * sysdeps/unix/i386/dl-brk.S: Likewise.
5728         * sysdeps/unix/i386/pipe.S: Likewise.
5729         * sysdeps/unix/i386/sigreturn.S: Likewise.
5730         * sysdeps/unix/i386/syscall.S: Likewise.
5731         * sysdeps/unix/i386/vfork.S: Likewise.
5732         * sysdeps/unix/i386/wait.S: Likewise.
5734         * sysdeps/unix/common/tcsendbrk.c: Move to ...
5735         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5737         * configure.in (arm*-none*): Do not allow without
5738         --enable-hacker-mode.
5739         (netbsd*): Remove case setting base_os.
5740         (386bsd*): Likewise.
5741         (freebsd*): Likewise.
5742         (bsdi*): Likewise.
5743         (osf*): Likewise.
5744         (sunos*): Likewise.
5745         (ultrix*): Likewise.
5746         (newsos*): Likewise.
5747         (dynix*): Likewise.
5748         (*bsd*): Likewise.
5749         (sysv*): Likewise.
5750         (isc*): Likewise.
5751         (esix*): Likewise.
5752         (sco*): Likewise.
5753         (minix*): Likewise.
5754         (irix4*): Likewise.
5755         (irix6*): Likewise.
5756         (solaris[2-9]*): Likewise.
5757         (none): Likewise.
5758         * configure: Regenerated.
5760 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5762         [BZ #11521]
5763         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5764         overflow or cancellation in calculating denominator.
5765         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5766         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5767         down expression to avoid unexpected rounding in newer GCCs.
5768         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5770 2012-04-26  David S. Miller  <davem@davemloft.net>
5772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5773         long-double compat symbols.
5774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5788 2012-04-25  David S. Miller  <davem@davemloft.net>
5790         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5791         HWCAP_* values only after the memory barriers have been defined.
5792         (atomic_full_barrier): Define.
5793         (atomic_read_barrier): Define.
5794         (atomic_write_barrier): Define.
5796 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5798         * shlib-versions: Add libgcc_s version information.
5799         * sysdeps/generic/libgcc_s.h: Remove.
5800         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5801         libgcc_s.h.
5802         * sysdeps/gnu/unwind-resume.c: Likewise.
5803         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5805 2012-04-25  David S. Miller  <davem@davemloft.net>
5807         * sysdeps/unix/sparc/brk.S: Delete.
5808         * sysdeps/unix/sparc/dl-brk.S: Delete.
5809         * sysdeps/unix/sparc/pipe.S: Delete.
5810         * sysdeps/unix/sparc/sysdep.S: Delete.
5811         * sysdeps/unix/sparc/sysdep.h: Delete.
5812         * sysdeps/unix/sparc/vfork.S: Delete.
5813         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5814         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5815         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5816         ret_ERRVAL, r0, r1, MOVE): Define.
5817         (JUMPTARGET): Remove.
5818         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5819         sysdeps/unix/sparc/sysdep.h
5820         (ENTRY, END): Remove.
5821         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5823 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
5825         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5826         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5827         -DIS_IN_build.
5829         * timezone/README: Update upstream location and email address for
5830         tzcode and tzdata.
5831         * timezone/zdump.c: Update from tzcode 2012b.
5832         * timezone/zic.c: Likewise.
5834         * configure.in (libc_cv_as_needed): Remove test.
5835         * configure: Regenerated.
5836         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5837         conditional definition.
5838         [$(have-as-needed) != yes] (no-as-needed): Likewise.
5839         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5840         * config.make.in (have-as-needed): Remove variable.
5842 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5843             Paul Pluzhnikov  <ppluzhnikov@google.com>
5845         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5846         strings correctly.
5848 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5850         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5851         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5852         * sysdeps/sh/strlen.S: Likewise.
5854 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5856         * sysdeps/unix/fork.S: Remove file.
5857         * sysdeps/unix/i386/fork.S: Likewise.
5858         * sysdeps/unix/sparc/fork.S: Likewise.
5860         * sysdeps/unix/system.c: Remove file.
5861         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5863         * sysdeps/unix/getegid.S: Remove file.
5864         * sysdeps/unix/geteuid.S: Likewise.
5866 2012-04-24  Roland McGrath  <roland@hack.frob.com>
5868         * scripts/check-localplt.awk: New file.
5869         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5870         of diff.
5871         * scripts/data/localplt-generic.data: Add a comment.
5873         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5874         NODE when __dir_mkfile failed.
5875         * sysdeps/mach/hurd/symlinkat.c: Likewise.
5876         Reported by Ludovic Courtès <ludo@gnu.org>.
5878 2012-04-24  Andreas Jaeger  <aj@suse.de>
5880         * Makerules (common-clean): Also remove gen-as-const-headers
5881         files.
5883 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5885         * Makerules (native-compile): Do not change working directory for
5886         build.  Use $(OUTPUT_OPTION) in command.
5887         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5889 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5891         [BZ #13886]
5892         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5893         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5894         * math/libm-test.inc (floor_test): Add more tests.
5895         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5897 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
5899         * sysdeps/unix/getdents.c: Remove file.
5900         * sysdeps/unix/sysv/getdents.c: Likewise.
5901         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5903         * sysdeps/unix/syscalls.list (madvise): Add syscall from
5904         sysdeps/unix/mman/syscalls.list.
5905         (mmap): Likewise.
5906         (mprotect): Likewise.
5907         (msync): Likewise.
5908         (munmap): Likewise.
5909         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5910         * sysdeps/unix/mman/syscalls.list: Remove.
5911         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5913         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5914         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5915         * configure: Regenerated.
5916         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5917         $(libgcc_s_suffix).
5918         * config.make.in (libgcc_s_suffix): Remove variable.
5920 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
5922         * sysdeps/unix/sysv/gethostname.c: Move to ...
5923         * sysdeps/posix/gethostname.c: ... here.
5925         * sysdeps/unix/execve.S: Remove file.
5927         * sysdeps/unix/_exit.S: Remove file.
5929 2012-04-23  Andreas Jaeger  <aj@suse.de>
5931         [BZ #13739]
5932         * manual/Makefile: Remove make dist support, there's no
5933         need for a stand-alone documentation tar ball.
5934         (TEXI2DVI): Define always, it's not in Makeconfig.
5935         (dist): Removed.
5936         (tar-it): Removed.
5937         (edition): Removed.
5938         (glibc-doc-$(edition).tar): Removed
5939         (%.Z): Removed.
5940         (%.gz): Removed.
5941         (%.uu): Removed.
5942         (ETAGS): Remove, it's in Makeconfig.
5943         (move-if-change): Remove, it's in Makeconfig.
5945 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
5947         [BZ #13970]
5948         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5949         (strtod, strtof, strtold, strtol, strtoul, strtoq)
5950         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5951         (strtod_l, strtof_l, strtold_l): Remove __wur.
5952         It is not necessarily an error to ignore strtol's return value.
5953         One can reliably look at the stored endptr to decide whether
5954         the number had valid syntax.
5956 2012-04-21  Andreas Jaeger  <aj@suse.de>
5958         [BZ #13739]
5959         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5961 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
5963         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5964         * sysdeps/unix/sysv/Versions: Remove file.
5966 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
5968         [BZ #13927]
5969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5971 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
5973         [BZ #7064]
5974         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5975         version from __vm86.
5977 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
5979         * sysdeps/unix/common/lxstat.c: Remove file.
5980         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5982         * sysdeps/unix/sysv/Makefile: Remove file.
5984         * sysdeps/unix/sysv/direct.h: Remove file.
5986         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5987         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5988         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5989         * sysdeps/unix/sysv/bits/signum.h: Likewise.
5990         * sysdeps/unix/sysv/bits/stat.h: Likewise.
5991         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5992         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5994         * sysdeps/unix/sysv/setrlimit.c: Remove file.
5996         * sysdeps/unix/xmknod.c: Remove file.
5997         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5999         * sysdeps/unix/sysv/settimeofday.c: Remove file.
6001         * sysdeps/unix/sysv/i386/time.S: Remove file.
6003         * sysdeps/unix/fxstat.c: Remove file.
6004         * sysdeps/unix/xstat.c: Likewise.
6005         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6007         * sysdeps/unix/sysv/sigaction.c: Remove file.
6009         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6010         (sysdep_headers): Remove variable.
6011         [termio.h not in sysdep_headers] (generated): Likewise.
6012         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6013         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6014         * sysdeps/unix/sysv/tcdrain.c: Likewise.
6015         * sysdeps/unix/sysv/tcflow.c: Likewise.
6016         * sysdeps/unix/sysv/tcflush.c: Likewise.
6017         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6018         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6019         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6020         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6021         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6023         * sysdeps/unix/siglist.c: Remove file.
6025         * sysdeps/unix/getppid.S: Remove file.
6027         * sysdeps/unix/mkdir.c: Remove file.
6028         * sysdeps/unix/rmdir.c: Likewise.
6030 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
6032         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6033         ERR_MAX value.
6034         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6035         errlist-compat value.
6037 2012-04-18  David S. Miller  <davem@davemloft.net>
6039         * sysdeps/generic/memcopy.h (reg_char): Delete.
6040         * debug/strcat_chk.c: Use char, not reg_char.
6041         * debug/strcpy_chk.c: Likewise.
6042         * debug/strncat_chk.c: Likewise.
6043         * debug/strncpy_chk.c: Likewise.
6044         * string/memchr.c: Likewise.
6045         * string/memrchr.c: Likewise.
6046         * string/rawmemchr.c: Likewise.
6047         * string/strcat.c: Likewise.
6048         * string/strchr.c: Likewise.
6049         * string/strchrnul.c: Likewise.
6050         * string/strcmp.c: Likewise.
6051         * string/strcpy.c: Likewise.
6052         * string/strncat.c: Likewise.
6053         * string/strncmp.c: Likewise.
6054         * string/strncpy.c: Likewise.
6056 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6058         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6059         __builtin_memcopy is called when src and dest ranges are known to not
6060         overlap.
6062 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6064         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6065         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6066         fwd_align_merge macro call.
6067         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6068         bwd_align_merge macro call.
6069         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6071 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
6073         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6074         bwd_align_merge macros.
6075         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6076         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6077         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6079 2012-04-18  David S. Miller  <davem@davemloft.net>
6081         * sysdeps/sparc/sparc64/memcopy.h: Delete.
6083 2012-04-18  Andreas Jaeger  <aj@suse.de>
6085         [BZ# 6794]
6086         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6087         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6088         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6090         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6091         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6092         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6094         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6095         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6096         Adjust for changed ldbl-128 files.
6098         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6099         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6100         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6102 2012-04-17  David S. Miller  <davem@davemloft.net>
6104         * sysdeps/sparc/sparc32/memcopy.h: Delete.
6106 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
6108         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6109         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6110         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6111         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6112         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6113         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6115 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6117         [BZ #6794]
6118         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6119         * math/libm-test.inc: Add ilogb errno and exception tests.
6120         * math/w_ilogb.c: New file: ilogb wrapper.
6121         * math/w_ilogbf.c: New file: ilogbf wrapper.
6122         * math/w_ilogbl.c: New file: ilogbl wrapper.
6123         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6124         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6125         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6126         exception being thrown with 0.0 as argument.
6127         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6128         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6129         exception being thrown with 0.0 as argument.
6130         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6131         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6132         exception being thrown with 0.0 as argument.
6133         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6134         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6135         exception being thrown with 0.0 as argument.
6136         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6137         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6138         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6139         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6140         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6141         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6142         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6143         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6144         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6146 2012-04-17  Petr Baudis  <pasky@ucw.cz>
6148         * include/sys/uio.h: Change __vector to __iovec to avoid clash
6149         with altivec.
6151 2012-04-16  Marek Polacek  <polacek@redhat.com>
6153         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6155 2012-04-16  Marek Polacek  <polacek@redhat.com>
6157         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6158         operands of fdivp instruction.
6160 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
6162         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6163         * elf/tst-auditmod3b.c: Likewise.
6164         * elf/tst-auditmod4b.c: Likewise.
6165         * elf/tst-auditmod5b.c: Likewise.
6166         * elf/tst-auditmod6b.c: Likewise.
6167         * elf/tst-auditmod6c.c: Likewise.
6168         * elf/tst-auditmod7b.c: Likewise.
6169         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6170         * sysdeps/x86_64/preconfigure.in: Likewise.
6171         * sysdeps/x86_64/preconfigure: Regenerated.
6173 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
6175         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6176         __ILP32__.
6178 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
6180         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6181         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6183 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
6185         [BZ #13973]
6186         * locale/iso-639.def: Fix gl language name. Spotted by
6187         Yaron Shahrabani.
6189 2012-04-12  Roland McGrath  <roland@hack.frob.com>
6191         [BZ #2074]
6192         * libio/libio.h (__io_write_fn): Update comment.
6194 2012-04-12  Petr Baudis  <pasky@ucw.cz>
6196         [BZ #2074]
6197         * stdio.texi (Hook Functions): The user provided writer function
6198         is not allowed to return -1.
6200 2012-04-11  David S. Miller  <davem@davemloft.net>
6202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6204 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
6206         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6207         Add a leading slash to rtkaio.
6209 2012-04-11  Jim Meyering  <meyering@redhat.com>
6211         [BZ #11959]
6212         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6213         It is not necessarily an error to ignore fwrite's return
6214         value.  One can reliably use ferror to test for errors after
6215         the fact.
6217 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6219         * bits/types.h (__snseconds_t): New type.
6220         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6222         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6223         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6224         (__SNSECONDS_T_TYPE): Likewise.
6225         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6226         (__SNSECONDS_T_TYPE): Likewise.
6227         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6228         (__SNSECONDS_T_TYPE): Likewise.
6230 2012-04-10  Andreas Jaeger  <aj@suse.de>
6232         [BZ #2636]
6233         * manual/time.texi (Processor Time): Return type of times is
6234         elapsed real time since an arbitrary point in the past.
6235         (CPU Time): Move CLK_TCK from here...
6236         (Processor Time): ...to here.  Correct description.
6237         * manual/conf.texi (Constants for Sysconf): Correct description of
6238         _SC_CLK_TCK.
6240 2012-04-10  David S. Miller  <davem@davemloft.net>
6242         [BZ #13967]
6243         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6244         where the is a gap between DT_REL(A) and DT_JMPREL.
6246 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6248         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6249         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6250         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6252 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6254         * elf/dl-support.c (_dl_inhibit_cache): New variable.
6255         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6256         (dl_main): Handle --inhibit-cache.
6257         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6258         _dl_inhibit_cache.
6259         * elf/dl-load.c (_dl_map_object): Use it.
6260         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6262 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
6264         [BZ #13872]
6265         * sysdeps/i386/fpu/e_powl.S (p78): New object.
6266         (__ieee754_powl): Saturate large exponents rather than testing for
6267         overflow of y*log2(x).
6268         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6269         * math/libm-test.inc (pow_test): Do not permit spurious overflow
6270         exceptions.
6272         [BZ #11521]
6273         * math/s_ctan.c: Include <float.h>.
6274         (__ctan): Avoid internal overflow or cancellation in calculating
6275         denominator.
6276         * math/s_ctanf.c: Likewise.
6277         * math/s_ctanl.c: Likewise.
6278         * math/s_ctanh.c: Likewise.
6279         * math/s_ctanhf.c: Likewise.
6280         * math/s_ctanhl.c: Likewise.
6281         * math/libm-test.inc (ctan_test): Add more tests.
6282         (ctanh_test): Likewise.
6283         * sysdeps/i386/fpu/libm-test-ulps: Update.
6284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6286 2012-04-09  Andreas Jaeger  <aj@suse.de>
6288         [BZ #6894]
6289         * manual/filesys.texi (Directory Entries): Mention that d_namlen
6290         is an optional BSD extension.
6292         [BZ #10254]
6293         * manual/stdio.texi (Opening Streams): Document additional fopen
6294         parameters.
6296 2012-04-09  Roland McGrath  <roland@hack.frob.com>
6298         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6299         %eax without telling the compiler.
6301 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
6303         [BZ # 13963]
6304         * manual/install.texi: Use sourceware.org.
6306 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
6308         [BZ #13873]
6309         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6310         (__ieee754_pow): Generate overflow and underflow using huge*huge
6311         and tiny*tiny rather than just returning constant infinity or zero
6312         for large exponents.
6313         * math/libm-test.inc (pow_test): Require overflow exceptions for
6314         applicable cases of large exponents.
6316         [BZ #706]
6317         * sysdeps/i386/fpu/e_pow.S (p10): New object.
6318         (__ieee754_pow): Use iterative multiplication algorithm only for
6319         integer exponents with absolute value below 1024.  Check for odd
6320         integer exponents when using algorithm for real exponents.
6321         * math/libm-test.inc (pow_test): Add more tests.
6322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6324 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
6326         [BZ #13705]
6327         * math/libm-test.inc (exp_test): Do not allow overflow exception
6328         on underflow test.
6330 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
6332         [BZ #13705]
6333         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6334         instead of __kernel_standard_f.
6336 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
6338         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6339         * sysdeps/x86_64/memset_chk.S: Likewise.
6341 2012-04-08  Andreas Jaeger  <aj@suse.de>
6343         [BZ #10153]
6344         * manual/startup.texi (Environment Access): Describe return value
6345         for putenv and setenv.
6347         [BZ #6895]
6348         * manual/filesys.texi (Directory Entries): Add description for
6349         DT_LNK.
6351         [BZ #6890]
6352         * manual/filesys.texi (Directory Entries): Clarify that it's file
6353         system not operating system in the description of DT_UNKNOWN.
6355         [BZ #6578]
6356         * manual/syslog.texi (closelog): Fix reference, it's openlog.
6358 2012-04-08  Stephen Compall  <s11@member.fsf.org>
6360         [BZ #6649]
6361         * manual/llio.texi (Opening and Closing Files): Add cross
6362         reference to explain mode argument.
6364 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
6366         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6367         * sysdeps/x86_64/memset_chk.S: Likewise.
6369 2012-04-07  David S. Miller  <davem@davemloft.net>
6371         * elf/elf.h (R_SPARC_WDISP10): Define.
6372         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6373         R_SPARC_SIZE32.
6374         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6375         R_SPARC_SIZE64 and R_SPARC_H34.
6377 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
6379         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6380         conditions and remove no longer applicable assertion.
6382 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
6384         * bits/byteswap.h: Include <features.h>.
6385         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6386         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6388 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
6390         * bits/byteswap.h (__bswap_16): Removed.
6391         Include <bits/byteswap-16.h> to get __bswap_16.
6392         * sysdeps/i386/bits/byteswap.h: Likewise.
6393         * sysdeps/s390/bits/byteswap.h: Likewise.
6394         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6395         * bits/byteswap-16.h: New file.
6396         * sysdeps/i386/bits/byteswap-16.h: Likewise.
6397         * sysdeps/s390/bits/byteswap-16.h: Likewise.
6398         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6399         * string/Makefile (headers): Add bits/byteswap-16.h.
6401 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6403         [BZ #13895]
6404         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6405         extra indirection.
6406         * nss/Makefile (tests-static, tests): Add tst-nss-static.
6407         * nss/tst-nss-static.c: New.
6409 2012-04-06  Robert Millan  <rmh@gnu.org>
6411         [BZ #6486]
6412         * manual/llio.texi (File Position Primitive): lseek
6413         refers to WHENCE when it really means OFFSET.
6415 2012-04-06  Andreas Jaeger  <aj@suse.de>
6417         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6418         strncmp declarations.
6420         * abilist/libc.abilist: Add __poll and __ppoll.
6422 2012-04-05  David S. Miller  <davem@davemloft.net>
6424         * scripts/check-local-headers.sh: Accept a host triplet in the
6425         path matched by the exclude regexp.
6427         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6428         definition.
6429         * sysdeps/powerpc/powerpc32/dl-machine.h
6430         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6431         * sysdeps/s390/s390-32/dl-machine.h
6432         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6433         * sysdeps/sparc/sparc32/dl-machine.h
6434         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6435         * sysdeps/sparc/sparc64/dl-machine.h
6436         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6438         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6439         lazy binding.
6440         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6441         undefined symbol errors.
6443         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6444         DT_NEEDED entries.
6446 2012-04-05  Michael Matz  <matz@suse.de>
6448         [BZ #13592]
6449         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6451 2012-04-05  Andreas Jaeger  <aj@suse.de>
6453         [BZ #13908]
6454         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6455         comment.
6457 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6459         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6460         which ROUND is no valid rounding mode.
6462 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6464         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6465         read again.
6466         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6468 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6470         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6471         an exception using FPU order intentionally.
6473 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
6475         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6476         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6477         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6478         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6480 2012-04-05  Simon Josefsson  <simon@josefsson.org>
6482         [BZ #12340]
6483         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6484         EINVAL when BUFLEN is too smal.
6486 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6488         [BZ #13553]
6489         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6490         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6492 2012-04-03  Andreas Jaeger  <aj@suse.de>
6494         [BZ #13938]
6495         * manual/setjmp.texi (System V contexts): Fix sentence.
6497         [BZ #13926]
6498         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6499         New macro for this case.
6500         [!__GNUC__] (__bswap_64): New inline function for this case.
6501         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6502         * bits/byteswap.h: Likewise.
6503         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6504         ull, guard with __GLIBC_HAVE_LONG_LONG.
6506         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6507         __GLIBC_HAVE_LONG_LONG.
6509         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6510         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6512 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6514         [BZ #13691]
6515         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6516         inptr and inend, rather than using last_ch.
6518 2012-04-02  David S. Miller  <davem@davemloft.net>
6520         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6521         * stdio-common/printf-parse.h (read_int): Change return type to
6522         'int', return -1 on INT_MAX overflow.
6523         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6524         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
6525         overflows INT_MAX.  Check for overflow of in-format-string precision
6526         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
6527         SIZE_MAX not INT_MAX for integer overflow test.
6528         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6529         skip the construct in the format string but do not record anything.
6530         * stdio-common/bug22.c: Adjust to test both width/prevision
6531         INT_MAX overflow as well as total length INT_MAX overflow.  Check
6532         explicitly for proper errno values.
6534 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
6536         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6537         CHAR_MAX.
6538         * string/test-strcmp.c [! WIDE]: Likewise.
6539         * time/tst-mktime2.c: Likewise for INT_MAX.
6540         * string/test-string.h: #include <sys/param.h> for MIN.
6542         * csu/init-first.c (__libc_init_first): Call __ctype_init.
6543         * sysdeps/i386/init-first.c (init): Likewise.
6544         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6545         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6546         * sysdeps/sh/init-first.c (init): Likewise.
6548 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
6550         * po/ru.po: Update from translation team.
6551         * po/vi.po: Likewise.
6553 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6555         * resolv/nss_dns/dns-host.c: Merge copyright years.
6557 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6559         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6560         Optimize memcpy with prefetch if
6561         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
6562         src, dst pointers have unequal 16 byte alignments.
6564 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6566         [BZ #13928]
6567         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6568         from a CNAME entry and return the minimum ttl for the query.
6569         (gaih_getanswer_slice): Likewise.
6571 2012-03-30  Jeff Law  <law@redhat.com>
6573         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6574         due to long keys.
6575         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6576         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6578         * resolv/nss_dns/dns-host.c: Update copyright year.
6580 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
6582         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6583         requests to save a system call.  Fix check that all bytes are sent.
6585         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6586         comments for sendmmsg.
6588 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6590         [BZ #13691]
6591         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6592         with only 1 character between 0x0041 and 0x01b0.
6593         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6594         * wcsmbs/tst-mbsnrtowcs.c: New file.
6596 2012-03-29  David S. Miller  <davem@davemloft.net>
6598         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6599         small copies by hand.
6601 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6603         [BZ #13761]
6604         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6605         _nss_compat_initgroups_dyn): Fall back to malloc/free
6606         for large group memberships.
6608 2012-03-28  David S. Miller  <davem@davemloft.net>
6610         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6611         that branches into memcpy.
6612         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6613         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6614         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6615         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6616         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6617         bits.
6618         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6619         implementation too.
6620         * sysdeps/sparc/mempcpy.S: New file.
6622         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6623         the IFUNC routine in the libc case.
6624         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6626         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6627         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6628         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6629         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6630         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6631         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6632         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6633         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6635         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6636         loop to 256 bytes instead of 64 bytes and fix test signedness.
6638         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6639         * sysdeps/sparc/sparc32/Makefile: rather than here...
6640         * sysdeps/sparc/sparc64/Makefile: and here.
6642 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
6644         * malloc/mallocbug.c: Avoid warnings about unused variables.
6646 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6648         [BZ #13760]
6649         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6650         in the right place. Discard and retry query if response is
6651         larger than input buffer size.
6653 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
6655         [BZ #369]
6656         [BZ #2678]
6657         [BZ #3866]
6658         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6659         x for large integer exponent.
6660         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6661         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
6662         sign of result as needed afterwards.
6663         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6664         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6665         result for underflowing pow the same as for overflow.
6666         (__kernel_standard_l): Handle powl overflow and underflow here
6667         rather than calling __kernel_standard.
6668         * math/libm-test.inc (pow_test): Add more tests.
6670         [BZ #3868]
6671         [BZ #13879]
6672         [BZ #13910]
6673         [BZ #13911]
6674         [BZ #13912]
6675         [BZ #13913]
6676         [BZ #13915]
6677         [BZ #13916]
6678         [BZ #13917]
6679         [BZ #13918]
6680         [BZ #13919]
6681         [BZ #13920]
6682         [BZ #13921]
6683         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6684         * sysdeps/ieee754/k_standard.c: Include <float.h>.
6685         (__kernel_standard_l): New function.
6686         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6687         __kernel_standard.
6688         * math/w_acosl.c (__acosl): Likewise.
6689         * math/w_asinl.c (__asinl): Likewise.
6690         * math/w_atan2l.c (__atan2l): Likewise.
6691         * math/w_atanhl.c (__atanhl): Likewise.
6692         * math/w_coshl.c (__coshl): Likewise.
6693         * math/w_exp10l.c (__exp10l): Likewise.
6694         * math/w_exp2l.c (__exp2l): Likewise.
6695         * math/w_fmodl.c (__fmodl): Likewise.
6696         * math/w_hypotl.c (__hypotl): Likewise.
6697         * math/w_j0l.c (__j0l, __y0l): Likewise.
6698         * math/w_j1l.c (__j1l, __y1l): Likewise.
6699         * math/w_jnl.c (__jnl, __ynl): Likewise.
6700         * math/w_lgammal.c (__lgammal): Likewise.
6701         * math/w_log10l.c (__log10l): Likewise.
6702         * math/w_log2l.c (__log2l): Likewise.
6703         * math/w_logl.c (__logl): Likewise.
6704         * math/w_powl.c (__powl): Likewise.
6705         * math/w_remainderl.c (__remainderl): Likewise.
6706         * math/w_scalbl.c (sysv_scalbl): Likewise.
6707         * math/w_sinhl.c (__sinhl): Likewise.
6708         * math/w_sqrtl.c (__sqrtl): Likewise.
6709         * math/w_tgammal.c (__tgammal): Likewise.
6710         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6711         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6712         * math/libm-test.inc (acos_test): Add more tests.
6713         (acosh_test): Likewise.
6714         (asin_test): Likewise.
6715         (atanh_test): Likewise.
6716         (exp_test): Likewise.
6717         (exp10_test): Likewise.
6718         (exp2_test): Likewise.
6719         (expm1_test): Likewise.
6720         (lgamma_test): Likewise.
6721         (log_test): Likewise.
6722         (log10_test): Likewise.
6723         (log1p_test): Likewise.
6724         (log2_test): Likewise.
6725         (pow_test): Do not allow some spurious overflow exceptions.
6726         (sqrt_test): Add more tests.
6727         (tgamma_test): Likewise.
6728         (y0_test): Likewise.
6729         (y1_test): Likewise.
6730         (yn_test): Likewise.
6732 2012-03-27  Anton Blanchard  <anton@samba.org>
6734         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6735         MAP_HUGETLB.
6736         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6737         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6738         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6740 2012-03-27  David S. Miller  <davem@davemloft.net>
6742         * conform/Makefile: Run run-conformtest.sh using $(BASH).
6744         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6745         have-as-vis3 check.
6747 2012-03-27  Andreas Jaeger  <aj@suse.de>
6749         * sysdeps/x86_64/elf/configure.in: Moved to ...
6750         * sysdeps/x86_64/configure.in: ... here.
6751         * sysdeps/x86_64/elf/start.S: Moved to ...
6752         * sysdeps/x86_64/start.S: ... here.
6753         * sysdeps/x86_64/elf/configure: Delete.
6755         * sysdeps/x86_64/configure.in: Merge contents from
6756         sysdeps/i386/configure.in (without i686 check).
6758         * sysdeps/i386/elf/Versions: Merge into ...
6759         * sysdeps/i386/Versions: ... this.
6760         * sysdeps/i386/elf/Versions: Delete file.
6761         * sysdeps/i386/elf/start.S: Moved to ...
6762         * sysdeps/i386/start.S: ...here.
6763         * sysdeps/i386/elf/configure.in: Merge into...
6764         * sysdeps/i386/configure.in: ...here.
6765         * sysdeps/i386/elf/configure.in: Delete file.
6766         * sysdeps/i386/elf/configure: Delete file.
6768         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6769         * debug/backtracesyms.c: ... here.
6770         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6771         * debug/backtracesymsfd.c: ... here.
6772         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6773         * sysdeps/generic/ifunc-sel.h: ... here.
6775         * sysdeps/unix/i386/start.c: Delete file.
6776         * sysdeps/unix/sparc/start.c: Delete file.
6777         * sysdeps/unix/start.c: Delete file.
6779         * sysdeps/sh/elf/configure.in: Moved to ...
6780         * sysdeps/sh/configure.in: ... here.
6781         * sysdeps/sh/elf/start.S: Moved to ...
6782         * sysdeps/sh/start.S: ... here.
6783         * sysdeps/sh/elf/configure: Delete file.
6785         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6786         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6787         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6788         * sysdeps/powerpc/powerpc64/entry.h: ... here.
6789         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6790         * sysdeps/powerpc/powerpc64/start.S: here.
6791         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6792         * sysdeps/powerpc/powerpc64/Makefile: ... this.
6793         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6794         * sysdeps/powerpc/powerpc64/configure.in: ... this.
6795         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6797         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6798         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6799         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6800         * sysdeps/powerpc/powerpc32/start.S: ... here.
6801         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6802         * sysdeps/powerpc/powerpc32/configure.in: ... this.
6803         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6805         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6806         * sysdeps/powerpc/ifunc-sel.h: ... here.
6807         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6808         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6810         * sysdeps/sparc/elf/configure.in: Moved to ...
6811         * sysdeps/sparc/configure.in: ... here.
6812         * sysdeps/sparc/elf/configure: Delete file.
6813         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6814         * sysdeps/sparc/sparc32/start.S: ... here.
6815         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6816         * sysdeps/sparc/sparc64/start.S: ... here.
6817         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6818         * sysdeps/sparc/sparc32/Makefile: ... this.
6819         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6820         * sysdeps/sparc/sparc64/Makefile: ... this.
6822         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6823         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6824         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6825         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6826         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6827         * sysdeps/s390/s390-32/setjmp.S: ... here.
6828         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6829         * sysdeps/s390/s390-32/configure.in: ... here.
6830         * sysdeps/s390/s390-32/elf/configure: Delete file.
6831         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6832         * sysdeps/s390/s390-32/start.S: ... here.
6834         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6835         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6836         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6837         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6838         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6839         * sysdeps/s390/s390-64/setjmp.S: ... here.
6840         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6841         * sysdeps/s390/s390-64/configure.in: ... here
6842         * sysdeps/s390/s390-64/elf/configure: Delete file.
6843         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6844         * sysdeps/s390/s390-64/start.S: ... here.
6845         * sysdeps/s390/s390-64/elf/configure: Delete.
6847         * configure.in: Remove support for elf directories in sysdeps.
6849         * configure: Regenerated.
6850         * sysdeps/i386/configure: Regenerated.
6851         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6852         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6853         * sysdeps/s390/s390-32/configure: Regenerated.
6854         * sysdeps/s390/s390-64/configure: Regenerated.
6855         * sysdeps/sh/configure: Regenerated.
6856         * sysdeps/sparc/configure: Regenerated.
6857         * sysdeps/x86_64/configure: Regenerated.
6859 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
6861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6863         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6864         denormal result into account.
6866 2012-03-25  Roland McGrath  <roland@hack.frob.com>
6868         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6869         Reported by Allan McRae <allan@archlinux.org>.
6871 2012-03-23  Jeff Law  <law@redhat.com>
6873         * nss/getnssent.c (__nss_getent): Fix typo.
6875 2012-03-23  David S. Miller  <davem@davemloft.net>
6877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6879 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
6881         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6882         to pad to uint64_t for each field.
6883         (dl_tls_index): Replace unsigned long with uint64_t.
6885 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
6886         Paul Pluzhnikov  <ppluzhnikov@google.com>
6888         [BZ #6528]
6889         * grp/Makefile (otherlibs): Don't set it.
6890         * inet/Makefile (otherlibs): Likewise.
6891         * login/Makefile (otherlibs): Likewise.
6892         * nscd/Makefile (otherlibs): Likewise.
6893         * posix/Makefile (otherlibs): Likewise.
6894         * pwd/Makefile (otherlibs): Likewise.
6895         * rt/Makefile (otherlibs): Likewise.
6896         * sunrpc/Makefile (otherlibs): Likewise.
6897         * nss/Makefile (otherlibs): Likewise.
6898         Add libnss_files to routines and static-only-routines.
6899         ($(objpfx)getent): Remove rule.
6900         * resolv/Makefile: Add libnss_dns and libresolv to routines and
6901         static-only-routines.
6903 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
6905         [BZ #13892]
6906         * math/s_cexp.c: Include <float.h>.
6907         (__cexp): Handle exp result overflowing not necessarily
6908         overflowing both real and imaginary parts of result.
6909         * math/s_cexpf.c: Likewise.
6910         * math/s_cexpl.c: Likewise.
6911         * math/libm-test.inc (cexp_test): Add more tests.
6912         * sysdeps/i386/fpu/libm-test-ulps: Update.
6913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6915 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6917         * include/link.h (ELFW): New macro.
6918         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6919         Replace ELF64_R_TYPE with ELFW(R_TYPE).
6921 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6923         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6924         with uint64_t.
6926 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6928         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6929         declaration.
6930         (struct La_x32_retval): Likewise.
6932 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6934         * sysdeps/x86_64/preconfigure.in: New file.
6935         * sysdeps/x86_64/preconfigure: New generated file.
6937 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
6939         [BZ #13824]
6940         * math/e_exp2l.c: Include <float.h>.
6941         (__ieee754_exp2l): Handle overflow and underflow cases
6942         separately.  Only pass fractional part of argument to
6943         __ieee754_expl.
6944         * math/libm-test.inc (exp2_test): Add more tests.
6946         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6947         negating x to take absolute value.
6948         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6949         Likewise.
6950         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6951         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6952         Likewise.
6953         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6954         computing low part if x was negated.
6955         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6957 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6959         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6960         la_x32_gnu_pltexit.
6961         (pltexit): Cast int_retval to ptrdiff_t.
6962         * elf/tst-auditmod3b.c: Likewise.
6963         * elf/tst-auditmod4b.c: Likewise.
6964         * elf/tst-auditmod5b.c: Likewise.
6965         * elf/tst-auditmod6b.c: Likewise.
6966         * elf/tst-auditmod6c.c: Likewise.
6967         * elf/tst-auditmod7b.c: Likewise.
6969         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6970         and x32_gnu_pltexit.
6972         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6973         __ELF_NATIVE_CLASS.
6974         (La_x32_regs): New macro.
6975         (La_x32_retval): Likewise.
6976         (la_x32_gnu_pltenter): New function prototype.
6977         (la_x32_gnu_pltexit): Likewise.
6979 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
6981         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6982         exponent.
6984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6986         * configure.in (libc_cv_cc_nofma): Check for option to disable
6987         generation of FMA instructions.
6988         * configure: Regenerate.
6989         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6990         * sysdeps/ieee754/dbl-64/Makefile: New file.
6991         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6992         Remove brandred-fma4.
6993         (CFLAGS-brandred-fma4.c): Remove.
6994         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6995         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6996         define.
6997         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6998         define.
7000 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7002         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7003         LLONG_MAX != LONG_MAX.
7004         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7005         (_fitoa_word): Likewise.
7006         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7007         LLONG_MAX != LONG_MAX.
7008         * stdio-common/_itowa.h: Include <_itoa.h>.
7009         (_itowa_word): Use _ITOA_WORD_TYPE on value.
7010         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
7011         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
7012         only if not defined.
7013         (_ITOA_WORD_TYPE): Likewise.
7014         (_itoa_word): Use _ITOA_WORD_TYPE on value.
7015         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7017 2012-03-21  David S. Miller  <davem@davemloft.net>
7019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7021 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7023         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7024         of x86_64 when setting libc_cv_slibdir, libdir and
7025         libc_cv_localedir.
7026         * sysdeps/unix/sysv/linux/configure: Regenerated.
7028 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7030         * manual/lang.texi (Old Varargs): Remove section.
7031         (How Variadic): Update menu.
7032         (va_start): Do not mention varargs.h.
7034 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7035             Joseph Myers  <joseph@codesourcery.com>
7037         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7038         link test.
7039         * configure: Regenerated.
7041 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7043         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7044         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7045         conformtest.pl
7047 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7049         * NOTES: Remove.
7050         * Makefile (files-for-dist): Remove NOTES.
7051         (NOTES): Remove rule.
7052         * README: Don't refer to NOTES.
7053         * manual/creature.texi: Don't include macros.texi.
7054         * manual/intro.texi (creature.texi): Remove comment referring to
7055         NOTES.
7057         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7058         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7059         * configure: Regenerated.
7060         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7061         LIBC_TRY_CC_OPTION.
7062         (libc_cv_as_i686): Likewise.
7063         (libc_cv_cc_avx): Likewise.
7064         (libc_cv_cc_sse2avx): Likewise.
7065         (libc_cv_cc_fma4): Likewise.
7066         (libc_cv_cc_novzeroupper): Likewise.
7067         * sysdeps/i386/configure: Regenerated.
7069         [BZ #13883]
7070         * sysdeps/i386/fpu/s_cexp.S: Remove.
7071         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7072         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7073         * math/libm-test.inc (cexp_test): Add more tests.
7074         * sysdeps/i386/fpu/libm-test-ulps: Update.
7075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7077 2012-03-21  Allan McRae  <allan@archlinux.org>
7079         * timezone/Makefile: Do not install iso3166.tab and zone.tab
7081 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
7083         [BZ #13871]
7084         * math/w_exp2.c: Do not include <float.h>.
7085         (o_threshold, u_threshold): Remove.
7086         (__exp2): Calculate result before checking finiteness and calling
7087         __kernel_standard.
7088         * math/w_exp2f.c: Likewise.
7089         * math/w_exp2l.c: Likewise.
7090         * math/libm-test.inc (exp2_test): Require overflow exception for
7091         1e6 input.
7093         [BZ #3866]
7094         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7095         range of signed 64-bit integers before using fistpll.  Remove
7096         checks for whether integers fit in mantissa bits.
7097         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7098         the range of signed 32-bit integers before using fistpl.  Remove
7099         checks for whether integers fit in mantissa bits.
7100         * sysdeps/i386/fpu/e_powl.S (p64): New object.
7101         (__ieee754_powl): Test for y outside the range of signed 64-bit
7102         integers before using fistpll.  Reduce 64-bit values to 63-bit
7103         ones as needed.
7104         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7105         divide-by-zero is raised for zero to large negative powers.
7106         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7107         (__ieee754_powl): Test for y outside the range of signed 64-bit
7108         integers before using fistpll.  Reduce 64-bit values to 63-bit
7109         ones as needed.
7110         * math/libm-test.inc (pow_test): Add more tests.
7112 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7114         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7115         <stdio-common/_itoa.h>.
7116         * debug/segfault.c: Likewise.
7117         * elf/dl-cache.c: Likewise.
7118         * elf/dl-minimal.c: Likewise.
7119         * elf/dl-misc.c: Likewise.
7120         * elf/dl-sysdep.c: Likewise.
7121         * elf/dl-version.c: Likewise.
7122         * elf/rtld.c: Likewise.
7123         * hurd/hurdsock.c: Likewise.
7124         * hurd/lookup-retry.c: Likewise.
7125         * malloc/malloc.c: Likewise.
7126         * malloc/mtrace.c: Likewise.
7127         * nscd/nscd_getgr_r.c: Likewise.
7128         * nscd/nscd_getpw_r.c: Likewise.
7129         * nscd/nscd_getserv_r.c: Likewise.
7130         * posix/getopt_init.c: Likewise.
7131         * posix/wordexp.c: Likewise.
7132         * stdio-common/_itoa.c: Likewise.
7133         * stdio-common/printf_fphex.c: Likewise.
7134         * stdio-common/vfprintf.c: Likewise.
7135         * string/_strerror.c: Likewise.
7136         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7137         * sysdeps/i386/i686/hp-timing.h: Likewise.
7138         * sysdeps/mach/_strerror.c: Likewise.
7139         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7140         * sysdeps/mach/hurd/sethostid.c: Likewise.
7141         * sysdeps/mach/hurd/xmknodat.c: Likewise.
7142         * sysdeps/mach/xpg-strerror.c: Likewise.
7143         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7144         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7145         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7146         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7147         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7148         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7149         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7150         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7151         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7152         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7153         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7154         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7155         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7156         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7157         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7158         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7159         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7160         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7161         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7162         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7163         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7165         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7167         * stdio-common/_itoa.h: Moved to ...
7168         * sysdeps/generic/_itoa.h: Here.
7170         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7172         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7173         instead of "_itoa.h" and "_itowa.h".
7174         * stdio-common/vfprintf.: Likewise.
7176 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7178         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7179         <bits/wordsize.h>.
7180         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7181         (__signbit): Likwise.
7182         (llrintf): Likwise.
7183         (llrint): Likwise.
7185 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
7187         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7188         __WORDSIZE != 64.
7190 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
7192         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7193         OVERFLOW_EXCEPTION_OK.
7194         * math/libm-test.inc ("Philosophy"): Update comment about
7195         exception testing.
7196         (OVERFLOW_EXCEPTION): Define.
7197         (OVERFLOW_EXCEPTION_OK): Likewise.
7198         (INVALID_EXCEPTION_OK): Renumber.
7199         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7200         (IGNORE_ZERO_INF_SIGN): Likewise.
7201         (test_exceptions): Handle FE_OVERFLOW.
7202         (exp10_test): Expect overflow exceptions.
7203         (exp2_test): Likewise.
7204         (expm1_test): Likewise.
7205         (nextafter_test): Likewise.
7206         (pow_test): Likewise.
7207         (scalbn_test): Likewise.
7208         (scalbln_test): Likewise.
7210 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7212         * sysdeps/x86_64/bits/atomic.h
7213         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7214         64bit integer.
7215         (atomic_exchange_acq): Likewise.
7216         (__arch_exchange_and_add_body): Likewise.
7217         (__arch_add_body): Likewise.
7218         (atomic_add_negative): Likewise.
7219         (atomic_add_zero): Likewise.
7221 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7223         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7224         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7226 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7228         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7229         Check __x86_64__ instead of __WORDSIZE.
7231 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7233         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7235 2012-03-19  David S. Miller  <davem@davemloft.net>
7237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7239         * sysdeps/sparc/fpu/fenv_private.h: New file.
7240         * sysdeps/sparc/fpu/math_private.h: Use it.
7241         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7242         Remove.
7243         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7244         (libc_feholdexcept_setroundl): Remove.
7245         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7246         Remove.
7247         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7248         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7250 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7252         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7253         int64_t instead of long int.
7254         (INSERT_WORDS64): Likwise.
7256 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
7258         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7259         _Unwind_GetCFA return to _Unwind_Ptr first.
7261 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
7263         [BZ #13629]
7264         * math/s_clog.c: Include <float.h>.
7265         (__clog): Scale large or subnormal inputs.
7266         * math/s_clogf.c: Likewise.
7267         * math/s_clogl.c: Likewise.
7268         * math/s_clog10.c: Include <float.h>.
7269         (M_LOG10_2): Define.
7270         (__clog10): Scale large or subnormal inputs.
7271         * math/s_clog10f.c: Likewise.
7272         * math/s_clog10l.c: Likewise.
7273         * math/libm-test.inc (clog_test): Add more tests.
7274         (clog10_test): Likewise.
7275         * sysdeps/i386/fpu/libm-test-ulps: Update.
7276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7278         [BZ #11451]
7279         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7280         x and y.
7281         * math/libm-test.inc (atan2_test): Add another test.
7283         * Makerules (common-objdir-compile): Remove.
7284         * sysdeps/unix/Makefile (config-generated): Do not add
7285         $(unix-generated) to variable.
7286         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7287         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7288         Remove rule.
7289         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7290         Likewise.
7291         [generic bits/local_lim.h] (before-compile): Do not append to
7292         variable.
7293         [generic bits/local_lim.h] (common-generated): Likewise.
7294         [generic sys/param.h] (before-compile): Do not append to variable.
7295         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7296         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7297         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7298         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7299         include.
7300         [generic sys/param.h] (sys/param.h-includes): Remove variable.
7301         [generic sys/param.h] (sys/param.h-includes): Remove rule.
7302         [generic sys/param.h] ($(addprefix
7303         $(common-objpfx),$(sys/param.h-includes))): Likewise.
7304         [generic sys/param.h] (common-generated): Do not append to
7305         variable.
7306         [generic sys/param.h] (sysdep_headers): Likewise.
7307         [generic bits/errno.h] (before-compile): Do not append to
7308         variable.
7309         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7310         rule.
7311         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7312         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7313         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7314         [generic bits/errno.h] (common-generated): Do not append to
7315         variable.
7316         [generic bits/ioctls.h] (before-compile): Do not append to
7317         variable.
7318         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7319         rule.
7320         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7321         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7322         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7323         rule.
7324         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7325         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7326         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7327         [generic bits/ioctls.h] (common-generated): Do not append to
7328         variable.
7329         [generic sys/syscall.h] (syscall.h): Remove variable.
7330         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7331         rule.
7332         [generic sys/syscall.h] (before-compile): Do not append to
7333         variable.
7334         [generic sys/syscall.h] (common-generated): Likewise.
7335         * sysdeps/unix/errnos-tmpl.c: Remove file.
7336         * sysdeps/unix/errnos.awk: Likewise.
7337         * sysdeps/unix/ioctls-tmpl.c: Likewise.
7338         * sysdeps/unix/ioctls.awk: Likewise.
7339         * sysdeps/unix/mk-local_lim.c: Likewise.
7340         * sysdeps/unix/snarf-ioctls: Likewise.
7342 2012-03-19  Richard Henderson  <rth@twiddle.net>
7344         * sysdeps/i386/fpu/fenv_private.h: New file.
7345         * sysdeps/i386/fpu/math_private.h: Use it.
7346         (math_opt_barrier, math_force_eval): Remove.
7347         (libc_feholdexcept_setround_53bit): Remove.
7348         (libc_feupdateenv_53bit): Remove.
7349         * sysdeps/x86_64/fpu/math_private.h: Likewise.
7350         (math_opt_barrier, math_force_eval): Remove.
7351         (libc_feholdexcept): Remove.
7352         (libc_feholdexcept_setround): Remove.
7353         (libc_fetestexcept, libc_fesetenv): Remove.
7354         (libc_feupdateenv_test): Remove.
7355         (libc_feupdateenv, libc_feholdsetround): Remove.
7356         (libc_feresetround): Remove.
7358         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7359         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7361         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7362         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7363         (libc_feupdateenv_testl): New.
7364         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7365         (libc_feupdateenv_testf): New.
7366         (libc_feupdateenv): Use libc_feupdateenv_test.
7367         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7368         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7370         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7371         (libc_feholdsetroundf, libc_feholdsetroundl): New.
7372         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7373         (libc_feresetround_noex): New.
7374         (libc_feresetround_noexf): New.
7375         (libc_feresetround_noexl): New.
7376         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7377         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7378         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7379         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7380         SET_RESTORE_ROUND.
7381         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7382         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7383         (__cos): Likewise.
7384         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7385         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7386         SET_RESTORE_ROUND_NOEX.
7387         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7388         SET_RESTORE_ROUND_NOEXF.
7389         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7390         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7391         (libc_feholdsetroundf): New.
7392         (libc_feresetround, libc_feresetroundf): New.
7394         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7395         (libc_feholdexcept_setround_53bit): Convert from macro to function.
7396         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
7398         * sysdeps/generic/math_private.h: Include <fenv.h>.
7399         (default_libc_feholdexcept): New.
7400         (default_libc_feholdexcept_setround): New.
7401         (default_libc_fesetenv, default_libc_feupdateenv): New.
7402         (libc_feholdexcept): Only define if undefined.
7403         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7404         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7405         (libc_feholdexcept_setroundl): Likewise.
7406         (libc_feholdexcept_setround_53bit): Likewise.
7407         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7408         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7409         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7410         (libc_feupdateenv_53bit): Likewise.
7411         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7412         (libc_feholdexcept): Convert from macro to inline function.
7413         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7414         (libc_fesetenv, libc_feupdateenv): Likewise.
7416         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7417         not previously defined.
7418         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7419         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7420         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7421         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7422         * sysdeps/ieee754/flt-32/math_private.h: New file.
7423         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7424         math_private.h below SET_FLOAT_WORD.
7425         (__isnan, __isinf_ns, __finite): Remove.
7426         (__isnanf, __isinf_nsf, __finitef): Remove.
7428 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
7430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7432 2012-03-17  David S. Miller  <davem@davemloft.net>
7434         [BZ #6471]
7435         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7436         for 2.16.
7438 2012-03-16  David S. Miller  <davem@davemloft.net>
7440         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7441         warnings.
7443         [BZ #6471]
7444         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7445         properly.
7446         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7447         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7448         sysdep_routines when subdir is sysvipc.
7449         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7450         __getshmlba helper.
7452         * sysdeps/sparc/fpu/libm-test/ulps: Update.
7454 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7456         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7457         [__LP64__].
7459 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7461         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7462         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7463         (__lround): Renamed to ...
7464         (__llround): This.  Replace long int with long long int.
7465         Define lround functions as aliases of llround functions.
7466         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7468 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7470         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7471         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
7472         adresses to uintptr_t.  Replace "long int" and "unsigned long
7473         int" with "greg_t" on va_arg.
7475 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7477         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7478         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7480         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7481         Move e_machine check before EI_CLASS check.  Handle x32
7482         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7483         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7484         SKIP_EM_IA_64 and include
7485         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7487         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7488         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7489         (add_system_dir): New macro.
7491         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7492         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7494 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
7496         [BZ #2551]
7497         [BZ #2552]
7498         [BZ #2553]
7499         [BZ #2554]
7500         [BZ #2562]
7501         [BZ #2563]
7502         [BZ #2565]
7503         [BZ #2566]
7504         [BZ #2576]
7505         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7506         (y0): Likewise.
7507         * math/w_j0f.c (j0f): Likewise.
7508         (y0f): Likewise.
7509         * math/w_j0l.c (__j0l): Likewise.
7510         (__y0l): Likewise.
7511         * math/w_j1.c (j1): Likewise.
7512         (y1): Likewise.
7513         * math/w_j1f.c (j1f): Likewise.
7514         (y1f): Likewise.
7515         * math/w_j1l.c (__j1l): Likewise.
7516         (__y1l): Likewise.
7517         * math/w_jn.c (jn): Likewise.
7518         (yn): Likewise.
7519         * math/w_jnf.c (jnf): Likewise.
7520         (ynf): Likewise.
7521         * math/w_jnl.c (__jnl): Likewise.
7522         (__ynl): Likewise.
7523         * math/libm-test.inc (j0_test): Add more tests.
7524         (j1_test): Likewise.
7525         (jn_test): Likewise.  Add trailing semicolon to existing test.
7526         (y0_test): Likewise.
7527         (y1_test): Likewise.
7528         * sysdeps/i386/fpu/libm-test-ulps: Update.
7529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7531         [BZ #13851]
7532         [BZ #13854]
7533         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7534         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7535         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7536         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7537         (__tanl): Set errno for infinite argument.
7538         * sysdeps/i386/fpu/mptan.c: Remove.
7539         * sysdeps/i386/fpu/s_tan.S: Likewise.
7540         * sysdeps/i386/fpu/s_tanl.S: Likewise.
7541         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7542         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7543         * math/libm-test.inc (tan_test): Add more tests and enable more
7544         tests for double and long double.
7545         * sysdeps/i386/fpu/libm-test-ulps: Update.
7546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7548 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
7550         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7551         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7553 2012-03-16  Roland McGrath  <roland@hack.frob.com>
7555         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7556         * configure.in: Use it for both main tree and add-ons.
7557         * configure: Regenerated.
7559 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7561         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7563 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
7565         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7566         in comment.
7568         [BZ #13851]
7569         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7570         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7571         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7572         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7573         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7574         infinite argument.
7575         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7576         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7577         != 0 for prec == 2.
7578         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7579         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7580         * sysdeps/i386/fpu/s_cosl.S: Likewise.
7581         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7582         * sysdeps/i386/fpu/s_sinl.S: Likewise.
7583         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7584         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7585         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7586         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7587         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7588         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7589         * math/libm-test.inc (cos_test): Add more tests and enable more
7590         tests for long double.
7591         (sin_test): Likewise.
7592         (sincos_test): Likewise.
7593         * sysdeps/i386/fpu/libm-test-ulps: Update.
7594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7596 2012-03-16  David S. Miller  <davem@davemloft.net>
7598         * sysdeps/sparc/fpu/math_private.h: New file.
7600 2012-03-15  David S. Miller  <davem@davemloft.net>
7602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7603         file.
7604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7606         file.
7607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7612         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7613         sysdep routines.
7614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7616         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7617         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7619         * sysdeps/sparc/sparc-ifunc.h: New file.
7620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7621         sparc-ifunc.h
7622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7624         Likewise.
7625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7626         Likewise.
7627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7631         Likewise.
7632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7637         Likewise.
7638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7639         Likewise.
7640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7644         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7645         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7646         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7647         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7648         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7649         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7653         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7654         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7655         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7656         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7657         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7658         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7659         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7660         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7661         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7662         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7663         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7665 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
7667         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7668         scaling.
7669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7671 2012-03-15  Andreas Jaeger  <aj@suse.de>
7673         [BZ #13852]
7674         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7675         ieee754/flt-32 implementation for sin, cos and sincos.
7676         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7677         * sysdeps/i386/fpu/s_cosf.S: Likewise.
7678         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7679         * sysdeps/i386/fpu/s_sinf.S: Likewise.
7680         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7681         ieee754/flt-32 implementation for tan.
7683         * math/libm-test.inc (cos_test): Enable some large input tests for
7684         float as well
7685         (sin_test): Likewise.
7686         (sincos_test): Likewise.
7687         (tan_test): Add tests for large input.
7689         * sysdeps/i386/fpu/libm-test-ulps: Update.
7691 2012-03-15  Andreas Jaeger  <aj@suse.de>
7693         [BZ #13658]
7694         * math/libm-test.inc (cos_test): Add more test cases.
7695         (sin_test): Likewise.
7696         (sincos_test): Likewise.
7698 2012-03-15  Andreas Jaeger  <aj@suse.de>
7700         [BZ #13837]
7701         * math/libm-test.inc (cos_test): Add a test case for large input
7702         value.
7703         (sin_test): Likewise.
7704         (sincos_test): Likewise.
7706 2012-03-15  Andreas Jaeger  <aj@suse.de>,
7707         Joseph Myers  <joseph@codesourcery.com>
7709         [BZ #13658]
7710         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7711         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7712         * sysdeps/i386/fpu/branred.c: Likewise.
7713         * sysdeps/i386/fpu/dosincos.c: Likewise.
7714         * sysdeps/i386/fpu/mpa.c: Likewise.
7715         * sysdeps/i386/fpu/s_cos.S: Likewise.
7716         * sysdeps/i386/fpu/s_sin.S: Likewise.
7717         * sysdeps/i386/fpu/s_sincos.S: Likewise.
7718         * sysdeps/i386/fpu/sincos32.c: Likewise.
7720         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7721         Define.
7722         (libc_feupdateenv_53bit): Define.
7723         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7724         Define.
7725         (libc_feupdateenv_53bit): Define.
7727         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7728         53 bit (without extend i386 double precision).
7730         * math/libm-test.inc (sincos_test): Add tests for large input.
7731         (sin): Likewise.
7732         (cos): Likewise.
7734         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7736 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
7738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7740 2012-03-15  David S. Miller  <davem@davemloft.net>
7742         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7743         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7744         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7745         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7752         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7753         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7754         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7755         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7756         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7758         file.
7759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7761         file.
7762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7764         file.
7765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7767         file.
7768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7769         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7770         fmin/fmax sysdep routines.
7771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7773 2012-03-14  David S. Miller  <davem@davemloft.net>
7775         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7776         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7779         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7780         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7781         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7782         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7785         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7790         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7791         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7792         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7793         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7794         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7795         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7796         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7797         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7798         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7799         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7800         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7801         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7802         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7803         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7804         routines.
7805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7806         file.
7807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7809         file.
7810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7812         file.
7813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7815         file.
7816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7818         file.
7819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7821         file.
7822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7823         file.
7824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7825         file.
7826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7827         file.
7828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7829         New file.
7830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7831         file.
7832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7833         file.
7834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7836         file.
7837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7839         file.
7840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7842         file.
7843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7845         VIS3 routines.
7847         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7848         New file.
7850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7852         * sysdeps/sparc/configure.in: New file.
7853         * sysdeps/sparc/configure: Generate.
7854         * configure.in (libc_cv_sparc_as_vis3): Substitute.
7855         * configure: Regenerate.
7856         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7857         * config.make.in (have-as-vis3): New.
7858         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7859         available use -Av9d instead of -Av9a.
7860         * sysdeps/sparc/sparc64/Makefile: Likewise.
7861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7863         New file.
7864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7865         file.
7866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7867         New file.
7868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7869         file.
7870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7871         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7872         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7873         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7874         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7876         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7877         fzeros/fnegs to load 0x80000000 into a float register instead of
7878         using the stack.
7879         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7881 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
7883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7884         bits/syscall.h.
7885         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7886         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7887         ($(inst_includedir)/bits/syscall.h): Remove rule.
7888         ($(objpfx)bits/syscall.d): Include instead of
7889         $(objpfx)syscall-list.d.
7890         (generated): Change syscall-list.h and syscall-list.d to
7891         bits/syscall.h and bits/syscall.d.
7893 2012-03-14  Roland McGrath  <roland@hack.frob.com>
7895         [BZ #13846]
7896         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7898 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
7900         [BZ #13841]
7901         * math/s_csqrt.c: Include <float.h>.
7902         (__csqrt): Scale large or subnormal inputs.
7903         * math/s_csqrtf.c: Likewise.
7904         * math/s_csqrtl.c: Likewise.
7905         * math/libm-test.inc (csqrt_test): Add more tests.
7906         * sysdeps/i386/fpu/libm-test-ulps: Update.
7907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7909         [BZ #13840]
7910         * math/libm-test.inc (hypot_test): Add more tests.
7912 2012-03-13  David S. Miller  <davem@davemloft.net>
7914         [BZ #13840]
7915         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7916         double-precision for the calculation instead of scaling.
7918 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
7920         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7921         manipulate bits before adding and subtracting TWO52[sx].
7922         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7923         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7924         Likewise.
7925         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7927 2012-03-13  David S. Miller  <davem@davemloft.net>
7929         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7930         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7932         rtld-global-offsets.h
7933         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7935         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7936         large parameters.
7938         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7940         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7941         'err' in the ifdef scope in which it is actually used.
7943         * nss/nss_db/db-init.c: Include string.h
7945 2012-03-12  David S. Miller  <davem@davemloft.net>
7947         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7948         masking out of the most significant byte of random value used.
7949         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7950         Fix coding style in previous change.
7952         * sysdeps/unix/sysv/linux/kernel-features.h
7953         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7954         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7955         expression.
7956         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7957         later.
7959 2012-03-11  David S. Miller  <davem@davemloft.net>
7961         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7962         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7963         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7964         for 'resultvar' otherwise things get truncated on 64-bit.
7966         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7967         Fix masking out of the most significant byte of random value used.
7969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7971 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
7973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7975 2012-03-09  David S. Miller  <davem@davemloft.net>
7977         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7978         variables with appropriate CPP guards.
7979         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7980         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
7981         on resulting framesize and the management of the outregs buffer for pltexit.
7982         Preserve floating point return values across _dl_call_pltexit call.
7983         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7984         framesize and the management of the outregs buffer for pltexit.
7985         Preserve floating point return values across _dl_call_pltexit
7986         call.
7987         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7988         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7989         (print_exit): Fix format string for return register value.
7991 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
7993         * sunrpc/Makefile (others): Add rpcgen.
7994         ($(objpfx)rpcgen): Remove special build rule and dependency on
7995         libc.
7996         * sunrpc/rpcgen.c: New file.
7998 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
8000         [BZ #13673]
8001         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8002         * stdio-common/bug-vfprintf-nargs.c: Likewise.
8003         * sysdeps/i386/crti.S: Likewise.
8004         * sysdeps/i386/crtn.S: Likewise.
8005         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8006         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8007         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8008         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8009         * sysdeps/sh/crti.S: Likewise.
8010         * sysdeps/sh/crtn.S: Likewise.
8011         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8013         [BZ #13673]
8014         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8015         with URL.
8016         * locale/programs/locfile-kw.gperf: Likewise.
8017         * locale/programs/charmap-kw.h: Regenerated.
8018         * locale/programs/locfile-kw.h: Likewise.
8020         [BZ #13673]
8021         * intl/plural.y: Replace FSF snail mail address with URL.
8022         * intl/plural.c: Regenerated.
8024 2012-03-09  Richard Henderson  <rth@twiddle.net>
8026         * include/math_private.h: Remove file.
8027         * math/math_private.h: Move file ...
8028         * sysdeps/generic/math_private.h: ... here.
8030         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8031         * sysdeps/powerpc/fpu/math_private.h: Likewise.
8032         * sysdeps/x86_64/fpu/math_private.h: Likewise.
8034         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8035         and <math_private.h>.
8036         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8037         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8038         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8039         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8040         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8041         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8042         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8043         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8044         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8045         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8046         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8047         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8048         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8049         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8050         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8051         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8052         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8053         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8054         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8055         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8056         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8057         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8058         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8059         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8060         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8061         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8062         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8063         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8064         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8065         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8066         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8067         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8068         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8069         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8070         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8071         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8072         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8073         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8074         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8075         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8076         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8077         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8078         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8079         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8080         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8081         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8082         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8083         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8084         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8085         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8086         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8087         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8088         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8089         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8090         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8091         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8092         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8093         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8094         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8095         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8096         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8097         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8098         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8099         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8100         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8101         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8102         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8103         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8104         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8105         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8106         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8107         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8108         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8109         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8110         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8111         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8112         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8113         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8114         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8115         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8116         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8117         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8118         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8119         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8120         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8121         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8122         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8123         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8124         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8125         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8126         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8127         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8128         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8129         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8130         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8131         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8132         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8133         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8134         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8135         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8136         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8137         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8138         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8139         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8140         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8141         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8142         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8143         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8144         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8145         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8146         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8147         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8148         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8149         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8150         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8151         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8152         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8153         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8154         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8155         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8156         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8157         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8158         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8159         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8160         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8161         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8162         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8163         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8164         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8165         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8166         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8167         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8168         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8169         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8170         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8171         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8172         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8173         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8174         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8175         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8176         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8177         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8178         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8179         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8180         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8181         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8182         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8183         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8184         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8185         * sysdeps/ieee754/k_standard.c: Likewise.
8186         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8187         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8188         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8189         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8190         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8191         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8192         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8193         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8194         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8195         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8196         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8197         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8198         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8199         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8200         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8201         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8202         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8203         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8204         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8205         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8206         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8207         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8208         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8209         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8210         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8211         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8212         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8213         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8214         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8215         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8216         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8217         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8218         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8219         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8220         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8221         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8222         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8223         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8224         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8225         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8226         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8227         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8228         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8229         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8230         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8231         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8232         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8233         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8234         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8235         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8236         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8237         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8238         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8239         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8240         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8241         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8242         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8243         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8244         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8245         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8246         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8247         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8248         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8249         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8250         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8251         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8252         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8253         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8254         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8255         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8256         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8257         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8258         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8259         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8260         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8261         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8262         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8263         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8264         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8265         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8266         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8267         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8269         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8270         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8271         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8272         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8273         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8274         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8275         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8276         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8277         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8278         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8279         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8280         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8281         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8282         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8283         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8284         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8285         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8286         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8287         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8288         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8289         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8290         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8291         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8292         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8293         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8294         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8295         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8296         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8297         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8298         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8299         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8300         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8301         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8302         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8303         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8304         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8305         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8306         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8307         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8308         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8309         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8310         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8311         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8312         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8313         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8314         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8315         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8316         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8317         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8318         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8319         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8320         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8321         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8322         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8323         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8324         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8325         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8326         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8327         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8328         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8329         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8330         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8331         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8332         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8333         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8334         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8335         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8336         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8337         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8338         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8339         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8340         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8341         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8342         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8343         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8344         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8345         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8346         * sysdeps/ieee754/s_lib_version.c: Likewise.
8347         * sysdeps/ieee754/s_matherr.c: Likewise.
8348         * sysdeps/ieee754/s_signgam.c: Likewise.
8349         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8350         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8351         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8352         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8353         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8354         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8355         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8356         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8357         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8358         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8359         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8360         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8361         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8362         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8363         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8364         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8365         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8366         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8367         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8368         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8371 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
8373         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8374         * sunrpc/rpc_main.c: Likewise.
8375         * sunrpc/rpc_svcout.c: Likewise.
8377 2012-03-09  David S. Miller  <davem@davemloft.net>
8379         * include/math_private.h: New file.
8381 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
8383         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8384         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8385         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8386         from <bits/socket_type.h>.
8387         (enum __socket_type): Don't define here.
8388         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8389         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8390         bits/socket_type.h.
8392         [BZ #13566]
8393         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8394         checking __USE_GNU.
8396         * Makerules ($(inst_includedir)/%.h): New rule.
8397         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8398         (install-others): Remove variable setting.
8399         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8401 2012-03-08  Richard Henderson  <rth@twiddle.net>
8403         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8404         from macro to inline function; merge with the
8405         !__LIBC_INTERNAL_MATH_INLINES version.
8406         (__ieee754_sqrtf): Likewise.
8408         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8409         to inline function.
8410         (__rintf, __floor, __floorf): Likewise.
8412         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8413         macro to inline function.
8414         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8416         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8417         not <math/math_private.h>.
8419 2012-03-08  David S. Miller  <davem@davemloft.net>
8421         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8422         copyright year.
8423         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8425 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
8427         * resolv/gai_misc.c (handle_requests): Fix struct timespec
8428         normalization.
8429         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8430         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8432 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
8434         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
8435         be defined individually, they must be defined as a block.  Define
8436         S for printing a string instead of hidint the different by using a
8437         macro for adding the 'l'.
8438         * stdio-common/tst-fphex-wide.c: Adjust.
8440 2012-03-07  Marek Polacek  <polacek@redhat.com>
8442         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8444 2012-03-08  Marek Polacek  <polacek@redhat.com>
8446         [BZ #13806]
8447         * stdio-common/Makefile (tests): Add tst-fphex-wide.
8448         * stdio-common/tst-fphex.c: Define a few macros to make the
8449         test reusable.  Use them.
8450         * stdio-common/tst-fphex-wide.c: New file.
8452 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
8454         [BZ #6911]
8455         * manual/macros.texi (gnusystems): New macro.
8456         (nongnusystems): Likewise.
8457         (gnulinuxhurdsystems): Likewise.
8458         (gnuhurdsystems): Likewise..
8459         (gnulinuxsystems): Likewise.
8460         * manual/charset.texi: Use new macros or @theglibc{} to refer to
8461         variants of the GNU system, not "GNU system".
8462         * manual/conf.texi: Likewise.
8463         * manual/errno.texi: Likewise.  Update example of errno macro
8464         expansion.
8465         * manual/filesys.texi: Likewise.
8466         (getumask): Document as specific to GNU/Hurd.
8467         * manual/install.texi: Likewise.  Reword some references to
8468         GNU/Linux.
8469         * manual/intro.texi: Likewise.
8470         * manual/io.texi: Likewise.
8471         (File Name Portability): Detail which constraints are inapplicable
8472         to all GNU systems and which are only inapplicable to GNU/Hurd.
8473         * manual/job.texi: Likewise.
8474         * manual/llio.texi: Likewise.
8475         (O_NOCTTY): Document as present on GNU/Linux.
8476         * manual/maint.texi: Likewise.
8477         * manual/memory.texi: Likewise.
8478         * manual/pattern.texi: Likewise.
8479         * manual/pipe.texi: Likewise.
8480         * manual/process.texi: Likewise.
8481         * manual/resource.texi: Likewise.
8482         (RUSAGE_CHILDREN): Remove statement about specifying a particular
8483         child on GNU/Hurd.
8484         * manual/setjmp.texi: Likewise.
8485         * manual/signal.texi: Likewise.
8486         * manual/startup.texi: Likewise.
8487         * manual/stdio.texi: Likewise.
8488         * manual/terminal.texi: Likewise.
8489         (ONLCR): Document as POSIX.
8490         (OXTABS): Document availability on GNU/Linux as XTABS.
8491         (ONOEOT): Document availability separately from other bits.
8492         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8493         * manual/time.texi: Likewise.
8494         * manual/users.texi: Likewise.
8495         * INSTALL: Regenerated.
8496         * sysdeps/gnu/errlist.c: Regenerated.
8498         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8499         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8500         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
8501         puts.
8502         * configure: Regenerated.
8504 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
8506         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8507         default includes instead of AC_HEADER_CHECK.
8508         * sysdeps/i386/configure: Regenerated.
8510         [BZ #10716]
8511         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8512         * math/s_cacoshf.c (__cacoshf): Likewise.
8513         * math/s_cacoshl.c (__cacoshl): Likewise.
8514         * math/s_casinh.c (__casinh): Set signs of result from argument.
8515         * math/s_casinhf.c (__casinhf): Likewise.
8516         * math/s_casinhl.c (__casinhl): Likewise.
8517         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8518         (casinh_test): Add more tests.
8519         * sysdeps/i386/fpu/libm-test-ulps: Update.
8520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8522 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
8524         * po/zh_TW.po: Update from translation team.
8526         * login/Makefile (distribute): Remove variable.
8527         * catgets/Makefile: Likewise.
8528         * mach/Makefile: Likewise.
8529         * malloc/Makefile: Likewise.
8530         * misc/Makefile: Likewise.
8531         * iconv/Makefile: Likewise.
8532         * nscd/Makefile: Likewise.
8533         * hurd/Makefile: Likewise.
8534         * manual/Makefile: Likewise.
8535         * locale/Makefile: Likewise.
8536         * intl/Makefile: Likewise.
8537         * conform/Makefile: Likewise.
8538         * nss/Makefile: Likewise.
8539         * time/Makefile: Likewise.
8540         * soft-fp/Makefile: Likewise.
8541         * dirent/Makefile: Likewise.
8542         * gmon/Makefile: Likewise.
8543         * po/Makefile: Likewise.
8544         * rt/Makefile: Likewise.
8545         * socket/Makefile: Likewise.
8546         * math/Makefile: Likewise.
8547         * signal/Makefile: Likewise.
8548         * debug/Makefile: Likewise.
8549         * elf/Makefile: Likewise.
8550         * timezone/Makefile: Likewise.
8551         * stdlib/Makefile: Likewise.
8552         * iconvdata/Makefile: Likewise.
8553         * sunrpc/Makefile: Likewise.
8554         * io/Makefile: Likewise.
8555         * argp/Makefile: Likewise.
8556         * inet/Makefile: Likewise.
8557         * hesiod/Makefile: Likewise.
8558         * grp/Makefile: Likewise.
8559         * csu/Makefile: Likewise.
8560         * wctype/Makefile: Likewise.
8561         * crypt/Makefile: Likewise.
8562         * libio/Makefile: Likewise.
8563         * string/Makefile: Likewise.
8564         * nis/Makefile: Likewise.
8565         * resolv/Makefile: Likewise.
8566         * stdio-common/Makefile: Likewise.
8567         * wcsmbs/Makefile: Likewise.
8568         * dlfcn/Makefile: Likewise.
8569         * posix/Makefile: Likewise.
8571         [BZ #6959]
8572         * timezone/Makefile: Don't install timezone files, just the programs
8573         and scripts.
8575 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
8577         * nss/databases.def: Add missing gshadow entry.
8579         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
8581 2012-03-06  Marek Polacek  <polacek@redhat.com>
8583         [BZ #13726]
8584         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8585         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8586         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8587         * stdio-common/tst-long-dbl-fphex.c: New file.
8589 2012-03-06  David S. Miller  <davem@davemloft.net>
8591         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8592         (set_obp_int): New function.
8593         (get_obp_int): New function.
8594         (__get_clockfreq_via_dev_openprom): Likewise.
8595         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8596         Avoid unused variable warnings on 'val' and use builtin_expect.
8597         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8598         __builtin_expect.
8599         (INLINE_CLONE_SYSCALL): Likewise.
8601 2012-03-05  David S. Miller  <davem@davemloft.net>
8603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8605 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
8607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8609         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8610         only for |x| >= 40.
8611         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8613 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
8615         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8616         Replace gettimeofday with __vdso_gettimeofday.
8618         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8619         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8620         __vdso_clock_gettime and __vdso_getcpu.
8622         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8623         time with __vdso_time.
8625 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
8627         * manual/lang.texi (size_t): Note types to which size_t may be
8628         equivalent with the GNU C Library, but do not describe when
8629         differences between them are significant.
8631 2012-03-05  Andreas Jaeger  <aj@suse.de>
8633         * sysdeps/i386/fpu/libm-test-ulps: Update.
8635 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
8637         [BZ #3976]
8638         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8639         (__ieee754_pow): Save and restore rounding mode and use
8640         round-to-nearest for main computations.
8641         * math/libm-test.inc (pow_test_tonearest): New function.
8642         (pow_test_towardzero): Likewise.
8643         (pow_test_downward): Likewise.
8644         (pow_test_upward): Likewise.
8645         (main): Call the new functions.
8646         * sysdeps/i386/fpu/libm-test-ulps: Update.
8647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8649         [BZ #3976]
8650         * math/libm-test.inc (cosh_test_tonearest): New function.
8651         (cosh_test_towardzero): Likewise.
8652         (cosh_test_downward): Likewise.
8653         (cosh_test_upward): Likewise.
8654         (sinh_test_tonearest): Likewise.
8655         (sinh_test_towardzero): Likewise.
8656         (sinh_test_downward): Likewise.
8657         (sinh_test_upward): Likewise.
8658         (main): Call the new functions.
8659         * sysdeps/i386/fpu/libm-test-ulps: Update.
8660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8662 2012-03-05  Tom de Vries  <tom@codesourcery.com>
8664         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8665         default stack guard is set in last bytes.
8666         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8668 2012-03-05  Kees Cook  <keescook@chromium.org>
8670         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8672         [BZ #13656]
8673         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8674         possibly allocate from heap instead of stack.
8675         * stdio-common/bug-vfprintf-nargs.c: New file.
8676         * stdio-common/Makefile (tests): Add nargs overflow test.
8678 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
8680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8682 2012-03-03  Marek Polacek  <polacek@redhat.com>
8684         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8685         * math/math_private.h: Likewise.
8686         * stdlib/tst-strtod.c: Likewise.
8687         * sysdeps/i386/i486/bits/atomic.h: Likewise.
8688         * sysdeps/x86_64/bits/atomic.h: Likewise.
8690 2012-03-02  David S. Miller  <davem@davemloft.net>
8692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8696         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8697         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8698         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8699         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8701 2012-03-02  Roland McGrath  <roland@hack.frob.com>
8703         [BZ #13792]
8704         * manual/examples/README: New file, says the example source files
8705         can be used under GPL>=2.
8706         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8707         line containing just "*/".
8708         * manual/examples/add.c: Add copyright header (GPL>=2).
8709         * manual/examples/argp-ex1.c: Likewise.
8710         * manual/examples/argp-ex2.c: Likewise.
8711         * manual/examples/argp-ex3.c: Likewise.
8712         * manual/examples/argp-ex4.c: Likewise.
8713         * manual/examples/atexit.c: Likewise.
8714         * manual/examples/db.c: Likewise.
8715         * manual/examples/dir.c: Likewise.
8716         * manual/examples/dir2.c: Likewise.
8717         * manual/examples/execinfo.c: Likewise.
8718         * manual/examples/filecli.c: Likewise.
8719         * manual/examples/filesrv.c: Likewise.
8720         * manual/examples/fmtmsgexpl.c: Likewise.
8721         * manual/examples/genpass.c: Likewise.
8722         * manual/examples/inetcli.c: Likewise.
8723         * manual/examples/inetsrv.c: Likewise.
8724         * manual/examples/isockad.c: Likewise.
8725         * manual/examples/longopt.c: Likewise.
8726         * manual/examples/memopen.c: Likewise.
8727         * manual/examples/memstrm.c: Likewise.
8728         * manual/examples/mkfsock.c: Likewise.
8729         * manual/examples/mkisock.c: Likewise.
8730         * manual/examples/mygetpass.c: Likewise.
8731         * manual/examples/pipe.c: Likewise.
8732         * manual/examples/popen.c: Likewise.
8733         * manual/examples/rprintf.c: Likewise.
8734         * manual/examples/search.c: Likewise.
8735         * manual/examples/select.c: Likewise.
8736         * manual/examples/setjmp.c: Likewise.
8737         * manual/examples/sigh1.c: Likewise.
8738         * manual/examples/sigusr.c: Likewise.
8739         * manual/examples/stpcpy.c: Likewise.
8740         * manual/examples/strdupa.c: Likewise.
8741         * manual/examples/strftim.c: Likewise.
8742         * manual/examples/strncat.c: Likewise.
8743         * manual/examples/subopt.c: Likewise.
8744         * manual/examples/swapcontext.c: Likewise.
8745         * manual/examples/termios.c: Likewise.
8746         * manual/examples/testopt.c: Likewise.
8747         * manual/examples/testpass.c: Likewise.
8748         * manual/examples/timeval_subtract.c: Likewise.
8750         [BZ #13792]
8751         * manual/time.texi (Elapsed Time): Move timeval_subtract example
8752         function to ...
8753         * manual/timeval_subtract.c.texi: ... here, new file.
8755 2012-03-02  David S. Miller  <davem@davemloft.net>
8757         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8759 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
8761         [BZ #3976]
8762         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8763         (__sin): Save and restore rounding mode and use round-to-nearest
8764         for all computations.
8765         (__cos): Save and restore rounding mode and use round-to-nearest
8766         for all computations.
8767         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8768         <fenv.h>.
8769         (tan): Save and restore rounding mode and use round-to-nearest for
8770         all computations.
8771         * math/libm-test.inc (cos_test_tonearest): New function.
8772         (cos_test_towardzero): Likewise.
8773         (cos_test_downward): Likewise.
8774         (cos_test_upward): Likewise.
8775         (sin_test_tonearest): Likewise.
8776         (sin_test_towardzero): Likewise.
8777         (sin_test_downward): Likewise.
8778         (sin_test_upward): Likewise.
8779         (tan_test_tonearest): Likewise.
8780         (tan_test_towardzero): Likewise.
8781         (tan_test_downward): Likewise.
8782         (tan_test_upward): Likewise.
8783         (main): Call the new functions.
8784         * sysdeps/i386/fpu/libm-test-ulps: Update.
8785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8787         [BZ #10135]
8788         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8789         small n, then large n, before computing and testing k+n.
8790         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8791         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8792         Likewise.
8793         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8794         Likewise.
8795         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8796         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8797         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8798         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8800         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8801         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8802         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8803         * math/libm-test.inc (scalbn_test): Add more tests.
8804         (scalbln_test): Likewise.
8806         * manual/filesys.texi (mode_t): Describe constraints on size and
8807         signedness, not exact equivalence to a particular type.
8808         (ino_t): Likewise.
8809         (ino64_t): Likewise.
8810         (dev_t): Likewise.
8811         (nlink_t): Likewise.
8812         (blkcnt_t): Likewise.
8813         (blkcnt64_t): Likewise.
8814         * manual/llio.texi (off_t): Likewise.
8816         [BZ #3976]
8817         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8818         (__ieee754_exp): Save and restore rounding mode and use
8819         round-to-nearest for all computations.
8820         * math/libm-test.inc (exp_test_tonearest): New function.
8821         (exp_test_towardzero): Likewise.
8822         (exp_test_downward): Likewise.
8823         (exp_test_upward): Likewise.
8824         (main): Call the new functions.
8825         * sysdeps/i386/fpu/libm-test-ulps: Update.
8826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8828 2012-03-01  Chris Demetriou  <cgd@google.com>
8830         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8831         have predictable order.
8833 2012-03-01  David S. Miller  <davem@davemloft.net>
8835         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8837         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8838         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8839         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8840         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8842         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8843         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8844         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8846         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8847         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8848         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8849         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8850         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8854         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8855         * sysdeps/sparc/fpu/libm-test-ulps: to here.
8856         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8858         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8859         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8860         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8861         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8862         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8863         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8864         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8865         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8866         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8867         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8868         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8869         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8870         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8871         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8872         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8873         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8874         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8875         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8876         * sysdeps/sparc/elf/configure: Regenerated.
8878 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
8880         * configure.in (AS, LD): Require binutils 2.20 or later.
8881         * configure: Regenerated.
8882         * manual/install.texi (Tools for Compilation): Give binutils 2.20
8883         as required minimum version.
8884         * INSTALL: Regenerated.
8886         [BZ #2541]
8887         [BZ #4108]
8888         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8889         before squaring exponent.
8890         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8891         bottom long double and 27 bits of top long double before squaring
8892         exponent.
8893         * math/libm-test.inc (erfc_test): Add more tests.
8894         * sysdeps/i386/fpu/libm-test-ulps: Update.
8895         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8898 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8900         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8901         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8902         containing bit-fields.
8903         * soft-fp/extended.h (_FP_UNION_E): Likewise.
8904         * soft-fp/single.h (_FP_UNION_S): Likewise.
8905         * soft-fp/double.h (_FP_UNION_D): Likewise.
8907 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
8909         [BZ #13786]
8910         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8911         not include ../strcmp.S.
8912         [USE_AS_STRNCASECMP_L]: Likewise.
8913         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8914         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8915         * sysdeps/i386/i686/multiarch/strncase_l-c.c
8916         (__strncasecmp_l_ia32): Define as alias to
8917         __strncasecmp_l_nonascii.
8919         [BZ #5794]
8920         * math/libm-test.inc (expm1_test): Add test for bug 5794.
8921         * sysdeps/i386/fpu/libm-test-ulps: Update.
8922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8924         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8927 2012-02-29  Jeff Law  <law@redhat.com>
8929         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8930         out of bounds read.
8932 2012-02-29  Marek Polacek  <polacek@redhat.com>
8934         [BZ #13706]
8935         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8936         * elf/Makefile: Add rules to run tst-unused-dep.out.
8938 2012-02-28  David S. Miller  <davem@davemloft.net>
8940         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8941         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8942         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8943         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8944         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8945         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8947 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
8949         * math/libm-test.inc (llround_test): Move one test from
8950         lround_test.  Use TEST_f_L in moved test.
8951         (lround_test): Move misplaced test to llround_test.  Add testcase
8952         from bug 2561.
8954 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
8956         * sysdeps/x86_64/fpu/e_expf.S: New file.
8957         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8959 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
8961         [BZ #13637]
8962         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8963         of remain_len that may cause incomplete multi-byte character and
8964         false match.
8965         * posix/bug-regex33.c: New file.
8966         * posix/Makefile (tests): Add bug-regex33.
8968 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
8970         * manual/macros.texi: New file.
8971         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8972         * manual/libc.texinfo: Include macros.texi.
8973         * manual/creatute.texi: Likewise.
8974         * manual/install.texi: Likewise.
8975         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8976         @glibcadj{} in references to the GNU C Library.
8977         * manual/charset.texi: Likewise.
8978         * manual/conf.texi: Likewise.
8979         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
8980         when not using those macros.
8981         * manual/creature.texi: Likewise.
8982         * manual/crypt.texi: Likewise.
8983         * manual/errno.texi: Likewise.
8984         * manual/filesys.texi: Likewise.
8985         * manual/header.texi: Likewise.
8986         * manual/install.texi: Likewise.
8987         * manual/intro.texi: Likewise.
8988         * manual/io.texi: Likewise.
8989         * manual/job.texi: Likewise.
8990         * manual/lang.texi: Likewise.
8991         * manual/libc.texiinfo: Likewise.
8992         * manual/llio.texi: Likewise.
8993         * manual/locale.texi: Likewise.
8994         * manual/maint.texi: Likewise.
8995         * manual/math.texi: Likewise.
8996         * manual/memory.texi: Likewise.
8997         * manual/message.texi: Likewise.
8998         * manual/nss.texi: Likewise.
8999         * manual/pattern.texi: Likewise.
9000         * manual/process.texi: Likewise.
9001         * manual/resource.texi: Likewise.
9002         * manual/search.texi: Likewise.
9003         * manual/setjmp.texi: Likewise.
9004         * manual/signal.texi: Likewise.
9005         * manual/socket.texi: Likewise.
9006         * manual/startup.texi: Likewise.
9007         * manual/stdio.texi: Likewise.
9008         * manual/string.texi: Likewise.
9009         * manual/sysinfo.texi: Likewise.
9010         * manual/syslog.texi: Likewise.
9011         * manual/terminal.texi: Likewise.
9012         * manual/time.texi: Likewise.
9013         * manual/users.texi: Likewise.
9014         * INSTALL: Regenerated.
9015         * NOTES: Regenerated.
9016         * sysdeps/gnu/errlist.c: Regenerated.
9018 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
9020         * include/dirent.h: Include <dirstream.h> before
9021         <dirent/dirent.h>.
9023 2012-02-28  David S. Miller  <davem@davemloft.net>
9025         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9026         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9027         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9028         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9030 2012-02-27  David S. Miller  <davem@davemloft.net>
9032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9034         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9035         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9038         frame pointer instead of stack pointer relative arg slot.
9039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9040         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9041         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9043 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
9045         [BZ #3992]
9046         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9048 2012-02-27  David S. Miller  <davem@davemloft.net>
9050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9054         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9055         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9056         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9057         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9059 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
9061         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9062         later.  Allow versions 5-9.
9063         * configure: Regenerated.
9064         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9065         required minimum version and 4.6 as recommended version.  Do not
9066         mention bugs in GCC 2.7 and 2.8.
9067         * INSTALL: Regenerated.
9069 2012-02-27  David S. Miller  <davem@davemloft.net>
9071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9075         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9076         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9077         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9078         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9080         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9081         manipulate bits before adding and subtracting TWO112[sx].
9082         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9084 2012-02-27  Roland McGrath  <roland@hack.frob.com>
9086         [BZ #13775]
9087         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9088         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9089         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9090         being in POSIX, because they are in 1003.1-2008.
9092         * rt/tst-aio.c: Include <fcntl.h>.
9093         * rt/tst-aio7.c: Likewise.
9094         * rt/tst-aio64.c: Likewise.
9096         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9098 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
9100         * manual/install.texi (--with-headers): Describe headers as
9101         interface headers, not private headers.
9102         (Specific advice for GNU/Linux systems): Describe use of headers
9103         from "make headers_install", not private headers from older
9104         kernels.
9105         * INSTALL: Regenerated.
9106         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9107         Change to 2.6.19.
9108         * sysdeps/unix/sysv/linux/configure: Regenerated.
9110         * manual/llio.texi (fclean): Remove documentation.
9112         * manual/Makefile (libc-texi-generated): New variable.  Include
9113         version.texi.
9114         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9115         $(libc-texi-generated), not duplicated list of files.
9116         (version.texi, stamp-version): New rules.
9117         (realclean): Remove $(libc-texi-generated), not individual files
9118         from that list.  Do not remove dir-add.texinfo.
9119         * manual/libc.texinfo: Comment out uses of edition numbers and
9120         references to printed manual.  Remove last-updated dates.
9121         (EDITION): Comment out.
9122         (ISBN): Likewise.
9123         (VERSION, UPDATED): Remove.
9124         (version.texi): Include.
9126 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
9128         * sysdeps/posix/spawni.c: Include <signal.h>.
9129         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9130         * sysdeps/pthread/aio_fsync.c: Likewise.
9132 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
9134         * conform/Makefile (tests): Run only when not cross-compiling and
9135         when fast-check is not defined.
9137         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9138         * conform/data/limits.h-data: Fixes for POSIX2008.
9139         * conform/run-conformtest.sh: Run all tests.
9140         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9141         headers.
9142         * include/bits/dlfcn.h: Likewise.
9143         * include/langinfo.h: Likewise.
9144         * include/monetary.h: Likewise.
9145         * include/sys/poll.h: Likewise.
9147         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9148         for __USE_GNU.
9149         * posix/spawn.h: Define __need_sigset_t.
9150         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9151         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9152         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
9153         to get sigevent_t only.
9154         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9155         only for __USE_GNU.
9156         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9157         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9158         process_vm_writev only for __USE_GNU.
9159         * termios/termios.h: Declare tcgetsid also for POSIX2008.
9161         * conform/Makefile: For now ignore errors from run-conformtest.
9162         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
9163         POSIX to avoid namespace pollution.  Don't prepend headers.
9164         * conform/data/aio.h-data: Fixes for POSIX testing.
9165         * conform/data/fcntl.h-data: Likewise.
9166         * conform/data/glob.h-data: Likewise.
9167         * conform/data/grp.h-data: Likewise.
9168         * conform/data/pthread.h-data: Likewise.
9169         * conform/data/pwd.h-data: Likewise.
9170         * conform/data/signal.h-data: Likewise.
9171         * conform/data/spawn.h-data: Likewise.
9172         * conform/data/stdio.h-data: Likewise.
9173         * conform/data/stdlib.h-data: Likewise.
9174         * conform/data/stropts.h-data: Likewise.
9175         * conform/data/sys/mman.h-data: Likewise.
9176         * conform/data/sys/stat.h-data: Likewise.
9177         * conform/data/sys/types.h-data: Likewise.
9178         * conform/data/sys/wait.h-data: Likewise.
9179         * conform/data/time.h-data: Likewise.
9180         * conform/data/unistd.h-data: Likewise.
9181         * conform/data/utime.h-data: Likewise.
9183         * io/sys/stat.h: fchmod was always in POSIX.
9184         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9185         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9186         * rt/aio.h: Define __need_timespec before including <time.h>.
9187         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9188         struct.  Add forward declaration of pthread_attr_t and use it in
9189         sigevent.
9190         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9191         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9192         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9193         always remove CLK_TCK definition.
9195 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
9197         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9199 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
9201         * conform/run-conformtest.sh: New file.
9202         * conform/Makefile: Run run-conformtest for tests.
9203         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
9204         support.
9206         * conform/data/uchar.h-data: New file.
9207         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9208         * conform/data/arpa/inet.h-data: Likewise.
9209         * conform/data/assert.h-data: Likewise.
9210         * conform/data/complex.h-data: Likewise.
9211         * conform/data/cpio.h-data: Likewise.
9212         * conform/data/ctype.h-data: Likewise.
9213         * conform/data/dirent.h-data: Likewise.
9214         * conform/data/dlfcn.h-data: Likewise.
9215         * conform/data/errno.h-data: Likewise.
9216         * conform/data/fcntl.h-data: Likewise.
9217         * conform/data/float.h-data: Likewise.
9218         * conform/data/fmtmsg.h-data: Likewise.
9219         * conform/data/fnmatch.h-data: Likewise.
9220         * conform/data/ftw.h-data: Likewise.
9221         * conform/data/glob.h-data: Likewise.
9222         * conform/data/grp.h-data: Likewise.
9223         * conform/data/iconv.h-data: Likewise.
9224         * conform/data/inttypes.h-data: Likewise.
9225         * conform/data/langinfo.h-data: Likewise.
9226         * conform/data/libgen.h-data: Likewise.
9227         * conform/data/limits.h-data: Likewise.
9228         * conform/data/locale.h-data: Likewise.
9229         * conform/data/math.h-data: Likewise.
9230         * conform/data/monetary.h-data: Likewise.
9231         * conform/data/mqueue.h-data: Likewise.
9232         * conform/data/ndbm.h-data: Likewise.
9233         * conform/data/net/if.h-data: Likewise.
9234         * conform/data/netdb.h-data: Likewise.
9235         * conform/data/netinet/in.h-data: Likewise.
9236         * conform/data/nl_types.h-data: Likewise.
9237         * conform/data/poll.h-data: Likewise.
9238         * conform/data/pthread.h-data: Likewise.
9239         * conform/data/pwd.h-data: Likewise.
9240         * conform/data/regex.h-data: Likewise.
9241         * conform/data/sched.h-data: Likewise.
9242         * conform/data/search.h-data: Likewise.
9243         * conform/data/semaphore.h-data: Likewise.
9244         * conform/data/setjmp.h-data: Likewise.
9245         * conform/data/signal.h-data: Likewise.
9246         * conform/data/spawn.h-data: Likewise.
9247         * conform/data/stdarg.h-data: Likewise.
9248         * conform/data/stdio.h-data: Likewise.
9249         * conform/data/stdlib.h-data: Likewise.
9250         * conform/data/string.h-data: Likewise.
9251         * conform/data/strings.h-data: Likewise.
9252         * conform/data/stropts.h-data: Likewise.
9253         * conform/data/sys/ipc.h-data: Likewise.
9254         * conform/data/sys/mman.h-data: Likewise.
9255         * conform/data/sys/msg.h-data: Likewise.
9256         * conform/data/sys/resource.h-data: Likewise.
9257         * conform/data/sys/select.h-data: Likewise.
9258         * conform/data/sys/sem.h-data: Likewise.
9259         * conform/data/sys/shm.h-data: Likewise.
9260         * conform/data/sys/socket.h-data: Likewise.
9261         * conform/data/sys/stat.h-data: Likewise.
9262         * conform/data/sys/statvfs.h-data: Likewise.
9263         * conform/data/sys/time.h-data: Likewise.
9264         * conform/data/sys/timeb.h-data: Likewise.
9265         * conform/data/sys/times.h-data: Likewise.
9266         * conform/data/sys/types.h-data: Likewise.
9267         * conform/data/sys/uio.h-data: Likewise.
9268         * conform/data/sys/un.h-data: Likewise.
9269         * conform/data/sys/utsname.h-data: Likewise.
9270         * conform/data/sys/wait.h-data: Likewise.
9271         * conform/data/syslog.h-data: Likewise.
9272         * conform/data/tar.h-data: Likewise.
9273         * conform/data/termios.h-data: Likewise.
9274         * conform/data/utime.h-data: Likewise.
9275         * conform/data/utmpx.h-data: Likewise.
9276         * conform/data/varargs.h-data: Likewise.
9277         * conform/data/wchar.h-data: Likewise.
9278         * conform/data/wctype.h-data: Likewise.
9279         * conform/data/wordexp.h-data: Likewise.
9281         * include/stropts.h: New file.
9282         * include/uchar.h: New file.
9283         * include/aio.h: Changes to allow conformtest.pl to use the headers.
9284         * include/assert.h: Likewise.
9285         * include/ctype.h: Likewise.
9286         * include/dirent.h: Likewise.
9287         * include/dlfcn.h: Likewise.
9288         * include/fcntl.h: Likewise.
9289         * include/fnmatch.h: Likewise.
9290         * include/glob.h: Likewise.
9291         * include/grp.h: Likewise.
9292         * include/libio.h: Likewise.
9293         * include/locale.h: Likewise.
9294         * include/math.h: Likewise.
9295         * include/net/if.h: Likewise.
9296         * include/netdb.h: Likewise.
9297         * include/netinet/in.h: Likewise.
9298         * include/pthread.h: Likewise.
9299         * include/pwd.h: Likewise.
9300         * include/regex.h: Likewise.
9301         * include/sched.h: Likewise.
9302         * include/search.h: Likewise.
9303         * include/setjmp.h: Likewise.
9304         * include/signal.h: Likewise.
9305         * include/stdio.h: Likewise.
9306         * include/stdlib.h: Likewise.
9307         * include/string.h: Likewise.
9308         * include/sys/cdefs.h: Likewise.
9309         * include/sys/mman.h: Likewise.
9310         * include/sys/msg.h: Likewise.
9311         * include/sys/resource.h: Likewise.
9312         * include/sys/select.h: Likewise.
9313         * include/sys/socket.h: Likewise.
9314         * include/sys/stat.h: Likewise.
9315         * include/sys/statvfs.h: Likewise.
9316         * include/sys/time.h: Likewise.
9317         * include/sys/times.h: Likewise.
9318         * include/sys/uio.h: Likewise.
9319         * include/sys/utsname.h: Likewise.
9320         * include/sys/wait.h: Likewise.
9321         * include/termios.h: Likewise.
9322         * include/time.h: Likewise.
9323         * include/ulimit.h: Likewise.
9324         * include/unistd.h: Likewise.
9325         * include/utime.h: Likewise.
9326         * include/wchar.h: Likewise.
9327         * include/wctype.h: Likewise.
9328         * include/wordexp.h: Likewise.
9330         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9332         * time/time.h: TIME_UTC must be a macro.
9333         Make timespec_get available for ISO C11 only as well.
9335 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
9337         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9338         Reported by Peng Haitao <penght@cn.fujitsu.com>.
9340 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9342         * configure.in: Use -o not -a in test for unsupported multi-arch.
9344 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9346         * manual/texinfo.tex: Update to version 2012-01-19.16.
9348 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
9350         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9352 2012-02-24  Roland McGrath  <roland@hack.frob.com>
9354         [BZ #13738]
9355         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9356         * manual/fdl-1.3.texi: New file.
9357         * manual/fdl-1.1.texi: File removed.
9359         [BZ #13738]
9360         * manual/libc.texinfo (FDL_VERSION): New @set.
9361         Use it for mention of FDL in cover text.
9362         (Documentation License): Use it in @include file name.
9364 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9365             Roland McGrath  <roland@hack.frob.com>
9367         [BZ #5461]
9368         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9369         not LONG_LONG_MAX and LONG_LONG_MIN.
9370         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9371         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
9372         name.
9373         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9375 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9377         [BZ #2547]
9378         [BZ #11365]
9379         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9380         manipulate bits before adding and subtracting TWO23[sx].
9381         * math/libm-test.inc (nearbyint_test): Add more tests.
9383 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9385         [BZ #2548]
9386         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9387         bits before adding and subtracting TWO23[sx].
9388         * math/libm-test.inc (rint_test): Add more tests.
9389         (rint_test_tonearest): Likewise.
9390         (rint_test_towardzero): Likewise.
9391         (rint_test_downward): Likewise.
9392         (rint_test_upward: Likewise.
9394 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9396         [BZ #10110]
9397         * include/stdc-predef.h: New file.  Extracted from features.h.
9398         * include/features.h: Include stdc-predef.h.
9399         * Makefile (headers): Add stdc-predef.h.
9400         * CONFORMANCE (Compiler limitations): Update.
9402 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
9404         * manual/libc.texinfo (VERSION, UPDATED): Revert.
9406 2012-02-21  David S. Miller  <davem@davemloft.net>
9408         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9409         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9411 2012-02-20  David S. Miller  <davem@davemloft.net>
9413         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9414         using a normal save/restore sequence, rather than allocating a
9415         dummy stack frame just to store a frame pointer and restore.
9416         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9418 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9420         * manual/install.texi: Fix stray word in line-wrapped comment.
9422 2012-02-20  David S. Miller  <davem@davemloft.net>
9424         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9425         both binutils and gcc support GOTDATA.
9427         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9428         "rd %pc" in the PIC register setup sequences.
9430         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9431         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9432         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9433         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9434         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9436         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9437         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9438         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9439         (SYSCALL_ERROR_HANDLER): Likewise.
9440         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9441         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9442         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9443         (SYSCALL_ERROR_HANDLER): Likewise.
9445         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9446         (HAVE_GCC_GOTDATA): New.
9447         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9448         relocation support in both binutils and gcc.
9449         * sysdeps/sparc/elf/configure: Regenerate.
9451         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9452         * sysdeps/sparc/sparc32/elf/configure: Delete.
9453         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9454         * sysdeps/sparc/sparc64/elf/configure: Delete.
9455         * sysdeps/sparc/elf/configure.in: New file.
9456         * sysdeps/sparc/elf/configure: Generate.
9458         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9459         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9460         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9461         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9462         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9464 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9466         * manual/install.texi: Do not mention specific glibc version
9467         numbers.
9468         * manual/libc.texinfo (VERSION, UPDATED): Update.
9469         (@copying): Use @copyright{} and range of years.
9471 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
9473         [BZ #13695]
9474         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9475         [crti.S not in sysdirs] (generated): Do not append.
9476         [crti.S not in sysdirs] (omit-deps): Likewise.
9477         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9478         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9479         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9480         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9481         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9482         Likewise.
9483         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9484         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9485         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9486         * csu/defs.awk: Remove file.
9487         * sysdeps/generic/initfini.c: Likewise.
9488         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9489         variable.
9490         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9491         Likewise.
9493 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9495         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9496         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9497         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9498         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9499         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9500         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9501         <bits/epoll.h>.
9502         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9503         (__EPOLL_PACKED): Define to empty if not defined by
9504         <bits/epoll.h>.
9505         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9507         bits/epoll.h.
9509 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9511         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9512         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9513         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9514         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9515         <bits/timerfd.h>.
9516         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9518         bits/timerfd.h.
9520 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
9522         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9523         in C locale.
9524         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9525         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9526         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9529 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
9531         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9532         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9534 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
9536         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9537         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9538         defined.
9539         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9540         Likewise.
9541         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9542         entry for 2.16.
9544 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
9546         * math/w_acos.c: Use non-signaling floating-point comparisons.
9547         * math/w_acosf.c: Likewise.
9548         * math/w_acosh.c: Likewise.
9549         * math/w_acoshf.c: Likewise.
9550         * math/w_acoshl.c: Likewise.
9551         * math/w_acosl.c: Likewise.
9552         * math/w_asin.c: Likewise.
9553         * math/w_asinf.c: Likewise.
9554         * math/w_asinl.c: Likewise.
9555         * math/w_atanh.c: Likewise.
9556         * math/w_atanhf.c: Likewise.
9557         * math/w_atanhl.c: Likewise.
9558         * math/w_exp2.c: Likewise.
9559         * math/w_exp2f.c: Likewise.
9560         * math/w_exp2l.c: Likewise.
9561         * math/w_j0.c: Likewise.
9562         * math/w_j0f.c: Likewise.
9563         * math/w_j0l.c: Likewise.
9564         * math/w_j1.c: Likewise.
9565         * math/w_j1f.c: Likewise.
9566         * math/w_j1l.c: Likewise.
9567         * math/w_jn.c: Likewise.
9568         * math/w_jnf.c: Likewise.
9569         * math/w_log.c: Likewise.
9570         * math/w_log10.c: Likewise.
9571         * math/w_log10f.c: Likewise.
9572         * math/w_log10l.c: Likewise.
9573         * math/w_log2.c: Likewise.
9574         * math/w_log2f.c: Likewise.
9575         * math/w_log2l.c: Likewise.
9576         * math/w_logf.c: Likewise.
9577         * math/w_logl.c: Likewise.
9578         * math/w_sqrt.c: Likewise.
9579         * math/w_sqrtf.c: Likewise.
9580         * math/w_sqrtl.c: Likewise.
9581         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9582         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9583         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9584         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9585         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9587 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
9589         [BZ #9739]
9590         * manual/string.texi (strnlen): Use correct parameter name in
9591         equivalent expression.
9593 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
9595         [BZ #11174]
9596         * manual/users.texi (seteuid): Consistently use neweuid for
9597         argument name.
9599 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
9601         [BZ #13704]
9602         * manual/nss.texi (Services in the NSS configuration): Correct
9603         list of services in example configuration file.
9605 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
9607         [BZ #11322]
9608         * manual/arith.texi: Remove statements about negative zero
9609         behaving identically to zero.
9611 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
9613         [BZ #5993]
9614         * manual/install.texi: Do not document upgrading from libc5.
9616 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
9618         [BZ #4596]
9619         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9621 2012-02-18  David S. Miller  <davem@davemloft.net>
9623         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9624         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9625         %o7 across the call.
9626         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9627         instead.
9628         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9629         SETUP_PIC_REG_LEAF.
9630         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9631         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9632         * sysdeps/sparc/crtn.S: Likewise.
9634 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
9636         * aout/Makefile: Remove.
9638 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
9640         [BZ #13058]
9641         * manual/examples/argp-ex1.c (main): Format definition in GNU
9642         style.
9643         * manual/examples/argp-ex2.c (main): Likewise.
9644         * manual/examples/argp-ex3.c (main): Likewise.
9645         * manual/examples/argp-ex4.c (main): Likewise.
9646         * manual/examples/longopt.c (main): Use new-style prototype
9647         definition.
9648         * manual/examples/strncat.c (main): Specify return type and use
9649         (void) for arguments.
9650         * manual/examples/subopt.c (main): Use char **argv argument.
9652 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9654         [BZ #5077]
9655         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9656         rounding modes.
9658 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
9660         [BZ #6907]
9661         * manual/string.texi (strchr): Change when strchrnul is
9662         recommended.
9664 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
9666         [BZ #174]
9667         * manual/locale.texi (setlocale): Document LOCPATH.
9669 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9671         [BZ #10210]
9672         * manual/process.texi (execle): Move @dots{} before last argument.
9674 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
9676         [BZ #12047]
9677         * manual/charset.texi (Generic Charset Conversion): Fix typo
9678         (LC_TYPE -> LC_CTYPE).
9680 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
9682         [BZ #5805]
9683         * manual/arith.texi (scalbn): Use @var{} on parameter names.
9684         (scalbnf): Likewise.
9685         (scalbnl): Likewise.
9686         (scalbln): Likewise.
9687         (scalblnf): Likewise.
9688         (scalblnl): Likewise.
9689         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9690         (vwarnx): Likewise.
9691         (verr): Likewise.
9692         (verrx): Likewise.
9693         * manual/filesys.texi (telldir): Use braces around return type.
9694         * manual/llio.texi (mmap): Add space after comma.
9695         (mmap64): Likewise.
9696         * manual/math.texi (jn): Use @var{} on parameter names.
9697         (jnf): Likewise.
9698         (jnl): Likewise.
9699         (yn): Likewise.
9700         (ynf): Likewise.
9701         (ynl): Likewise.
9702         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9703         line.
9704         * manual/resource.texi (ulimit): Use @dots{} instead of literal
9705         "...".
9706         (sched_get_priority_min): Remove semicolon on @deftypefun line.
9707         (sched_get_priority_max): Likewise.
9708         * manual/signal.texi (sigvec): Add space after comma.
9709         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9710         names.
9711         (if_indextoname): Likewise.
9712         (if_freenameindex): Likewise.
9713         (sendto): Use ',' instead of '.' in prototype.
9714         * manual/startup.texi (syscall): Use @dots{} instead of literal
9715         "...".
9716         * manual/stdio.texi (__fpending): Separate initial words of
9717         paragraph from @deftypefun line.
9718         * manual/syslog.texi (syslog): Use @dots{} instead of literal
9719         "...".
9720         (vsyslog): Use @var{} on parameter names.
9721         * manual/terminal.texi (stty): Use @var{} on parameter names.
9722         * manual/users.texi (getutmp): Use @var{} on parameter names.
9723         (getutmpx): Likewise.
9725 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9727         [BZ #6884]
9728         * manual/stdio.texi (fopen): Fix typos in description of
9729         ",ccs=STRING".
9731 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
9733         [BZ #4026]
9734         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9735         get clock_id definition.
9737 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
9739         [BZ #4822]
9740         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9741         (madvise): Cast every argument to void on its own.
9743 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9745         [BZ #9902]
9746         * manual/startup.texi (Exit Status): Fix typo.
9748 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
9750         [BZ #10140]
9751         * manual/examples/argp-ex1.c: Include <stdlib.h>.
9752         * manual/examples/argp-ex2.c: Likewise.
9753         * manual/examples/argp-ex3.c: Likewise.
9755 2012-02-16  Richard Henderson  <rth@redhat.com>
9757         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9758         * sysdeps/s390/s390-32/initfini.c: Remove.
9759         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9760         * sysdeps/s390/s390-64/initfini.c: Remove.
9762 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9764         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9765         compiler output for sysdeps/generic/initfini.c.
9766         * sysdeps/sh/elf/initfini.c: Remove file.
9768 2012-02-16  David S. Miller  <davem@davemloft.net>
9770         [BZ #11494]
9771         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9773         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9774         * sysdeps/sparc/crti.S: New file.
9775         * sysdeps/sparc/crtn.S: New file.
9776         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9777         * sysdeps/sparc/sparc64/Makefile: Likewise.
9779 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
9781         [BZ #3335]
9782         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9784 2012-02-15  Roland McGrath  <roland@hack.frob.com>
9786         [BZ #4822]
9787         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9789         * mach/devstream.c (cookie_io_functions_t): Macro removed.
9790         (write, read, close): Likewise.
9791         Patch by Aurelien Jarno <aurelien@aurel32.net>.
9793 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
9795         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9796         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9797         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9798         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9799         <bits/signalfd.h>.
9800         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9802         bits/signalfd.h.
9804 2012-02-14  Marek Polacek  <polacek@redhat.com>
9806         * sysdeps/x86_64/crti.S: New file.
9807         * sysdeps/x86_64/crtn.S: New file.
9808         * sysdeps/x86_64/elf/initfini.c: Remove file.
9810 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
9812         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9813         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9814         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9815         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9816         <bits/inotify.h>.
9817         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9818         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9819         bits/inotify.h.
9821 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
9823         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9824         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9825         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9826         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9827         <bits/eventfd.h>.
9828         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9830         bits/eventfd.h.
9832 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
9834         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9835         __feraiseexcept instead of feraiseexcept.
9837         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9838         nanosleep invocations.
9839         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9840         strings, and add error checking for a nanosleep invocations.
9842 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
9844         Replace FSF snail mail address with URLs, as per GNU coding standards.
9845         Most of the snail mail addresses were wrong anyway, and omitting
9846         them makes the source code easier to maintain.  Almost all of the
9847         changes are to license notices and to locale LC_IDENTIFICATION
9848         addresses, except for this one:
9849         * manual/libc.texinfo: In "Published by", give the FSF's URL,
9850         not its snail mail address.
9852 2012-02-09  Richard Henderson  <rth@twiddle.net>
9854         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9855         of kernel-features.h.
9857         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9859 2012-02-08  Marek Polacek  <polacek@redhat.com>
9861         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9862         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9863         * sysdeps/gnu/_G_config.h: Likewise.
9864         * sysdeps/generic/_G_config.h: Likewise.
9866 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
9868         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9869         tests.
9870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9872         * sysdeps/powerpc/powerpc32/crti.S: New file.
9873         * sysdeps/powerpc/powerpc32/crtn.S: New file.
9874         * sysdeps/powerpc/powerpc64/crti.S: New file.
9875         * sysdeps/powerpc/powerpc64/crtn.S: New file.
9877         * Makeconfig (have-initfini): Don't set.
9878         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9879         * configure.in (nopic_initfini): Don't substitute.
9880         * config.h.in (HAVE_INITFINI): Don't #undef.
9881         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9882         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9884 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
9886         Support crti.S and crtn.S provided directly by architectures.
9887         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9888         [crti.S in sysdirs] (omit-deps): Likewise.
9889         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9890         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9891         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9892         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9893         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9894         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9895         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9896         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9897         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9898         compiler output for sysdeps/generic/initfini.c.
9899         * sysdeps/i386/elf/Makefile: Remove file.
9900         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9902 2012-02-07  Marek Polacek  <polacek@redhat.com>
9904         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9905         * sysdeps/gnu/_G_config.h: Likewise.
9906         * sysdeps/mach/hurd/_G_config.h: Likewise.
9908 2012-02-07  Marek Polacek  <polacek@redhat.com>
9910         * math/Makefile (tests): Add tst-CMPLX2.
9911         * math/tst-CMPLX2.c: New file.
9913 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
9915         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9917         * math/libm-test.inc (jn_test): Add missing L suffix.
9919 2012-02-06  Marek Polacek  <polacek@redhat.com>
9921         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9922         * sysdeps/i386/fpu/e_powf.S: Likewise.
9923         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9924         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9925         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9926         * sysdeps/i386/fpu/e_pow.S: Likewise.
9927         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9928         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9929         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9930         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9931         * sysdeps/i386/fpu/e_log2.S: Likewise.
9932         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9933         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9934         * sysdeps/i386/fpu/e_powl.S: Likewise.
9935         * sysdeps/i386/fpu/s_log1p.S: Likewise.
9936         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9937         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9938         * sysdeps/i386/fpu/e_logl.S: Likewise.
9939         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9940         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9941         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9942         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9943         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9944         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9945         * sysdeps/i386/fpu/e_log.S: Likewise.
9946         * sysdeps/i386/fpu/s_cexp.S: Likewise.
9947         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9948         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9949         * sysdeps/i386/fpu/e_logf.S: Likewise.
9950         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9951         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9952         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9953         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9954         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9955         * sysdeps/i386/fpu/e_log10.S: Likewise.
9956         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9957         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9958         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9959         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9960         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9961         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9962         * sysdeps/i386/asm-syntax.h: Likewise.
9963         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9964         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9965         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9966         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9967         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9968         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9969         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9970         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9971         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9972         * sysdeps/powerpc/sysdep.h: Likewise.
9973         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9974         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9976 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
9978         [BZ #411]
9979         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9981 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
9983         * sysdeps/i386/sysdep.h: Include <features.h>.
9984         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9985         version.
9987 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
9989         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9990         Define.
9991         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9992         LOAD_PIC_REG_STR.
9994 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
9996         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9997         (SETUP_PIC_REG): Use GET_PC_THUNK.
9998         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9999         macro.
10001 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10003         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10004         for non-PIC compilation.
10005         (SETUP_PIC_REG): Add .p2align directive.
10006         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10007         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10008         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10009         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10010         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10011         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10012         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10013         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10014         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10015         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10016         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10017         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10018         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10019         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10020         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10021         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10022         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10023         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10024         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10025         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10026         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10027         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10028         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10029         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10030         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10031         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10032         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10033         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10034         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10035         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10036         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10037         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10038         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10039         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10040         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10041         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10042         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10043         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10044         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10045         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10046         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10048 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
10050         * math/tst-CMPLX.c: Include <stdio.h>.
10052 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
10054         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10055         float.
10056         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10057         * sysdeps/sparc/bits/mathdef.h: Likewise.
10059 2012-01-31  Marek Polacek  <polacek@redhat.com>
10061         * libio/libio.h: Don't define _PARAMS.
10062         * locale/programs/config.h: Don't define PARAMS.
10063         * stdlib/strtol_l.c: Likewise.
10064         (__strtol_l): Remove PARAMS from the prototype.
10066 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
10068         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
10069         names.  Just use the correct names.  Remove unnecessary wrapper
10070         functions.
10071         * malloc/arena.c: Likewise.
10072         * malloc/hooks.c: Likewise.
10074         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10075         ARENA_TEST says not to.  Simplify test for creation of a new arena.
10076         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10078 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
10080         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10081         into tail calls.
10082         (update_get_addr): New function.
10083         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10084         GET_ADDR_MODULE parameter.
10086 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
10088         * crypt/cert.c: Remove __STDC__ conditionals.
10089         * crypt/crypt-entry.c: Likewise.
10090         * crypt/crypt_util.c: Likewise.
10091         * libio/filedoalloc.c: Likewise.
10092         * libio/fileops.c: Likewise.
10093         * libio/genops.c: Likewise.
10094         * libio/iofclose.c: Likewise.
10095         * libio/iofdopen.c: Likewise.
10096         * libio/iofopen.c: Likewise.
10097         * libio/iofopen64.c: Likewise.
10098         * libio/iogetdelim.c: Likewise.
10099         * libio/iopopen.c: Likewise.
10100         * libio/obprintf.c: Likewise.
10101         * libio/oldfileops.c: Likewise.
10102         * libio/oldiofclose.c: Likewise.
10103         * libio/oldiofdopen.c: Likewise.
10104         * libio/oldiofopen.c: Likewise.
10105         * libio/oldiopopen.c: Likewise.
10106         * libio/wfiledoalloc.c: Likewise.
10107         * libio/wgenops.c: Likewise.
10108         * locale/programs/xmalloc.c: Likewise.
10109         * misc/syslog.c: Likewise.
10110         * stdio-common/xbug.c: Likewise.
10111         * string/memchr.c: Likewise.
10112         * string/memcmp.c: Likewise.
10113         * string/memrchr.c: Likewise.
10114         * string/rawmemchr.c: Likewise.
10115         * sysdeps/posix/getcwd.c: Likewise.
10116         * time/strftime_l.c: Likewise.
10118 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
10120         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10121         * config.make.in (config-cflags-sse2avx): Define.
10122         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10123         Fix typo.
10125 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
10127         * scripts/config.guess: Update from upstream config git repository.
10128         * scripts/config.sub: Likewise.
10130 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
10132         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10133         (EM_NUM): Update.
10134         (R_TILEPRO_*, R_TILEGX_*): New macros.
10136         * scripts/firstversions.awk: Fix bug in version range handling.
10138         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10140         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10142         * include/sys/epoll.h: New file.
10143         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10144         libc_hidden_def.
10146 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
10148         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10149         Avoid unnecessary __WORDSIZE == 64 test.
10150         (fmaxf): Use VEX format if possible.
10151         (fmax): Likewise.
10152         (fminf): Likewise.
10153         (fmin): Likewise.
10155         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10156         * math/math_private.h: Remove libc_fegetround* and
10157         libc_fesetround*.
10158         * sysdeps/i386/configure.in: Check for -msse2avx.
10159         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10160         also if SSE2AVX is defined.
10161         Remove libc_fegetround* and libc_fesetround*.
10162         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10163         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
10164         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10165         of HAS_YMM_USABLE.
10166         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10167         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10168         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10169         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10170         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10172         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10174 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10176         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10177         size is not set.
10178         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10180 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
10182         [BZ #13618]
10183         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10184         relocation.
10185         * Makeconfig (libm): Define.
10186         * elf/Makefile: Add rules to build and run tst-relsort1.
10187         * elf/tst-relsort1.c: New file.
10188         * elf/tst-relsort1mod1.c: New file.
10189         * elf/tst-relsort1mod2.c: New file.
10191 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
10193         * math/s_ldexp.c: Remove __STDC__ conditionals.
10194         * math/s_ldexpf.c: Likewise.
10195         * math/s_ldexpl.c: Likewise.
10196         * math/s_nextafter.c: Likewise.
10197         * math/s_nexttowardf.c: Likewise.
10198         * math/s_significand.c: Likewise.
10199         * math/s_significandf.c: Likewise.
10200         * math/s_significandl.c: Likewise.
10201         * math/w_jnl.c: Likewise.
10202         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10203         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10204         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10205         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10206         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10208         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10209         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10210         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10211         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10212         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10213         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10214         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10215         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10216         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10217         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10218         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10219         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10220         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10221         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10222         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10223         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10224         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10225         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10226         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10227         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10228         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10229         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10230         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10231         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10232         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10233         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10234         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10235         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10236         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10237         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10238         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10239         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10240         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10241         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10242         * sysdeps/ieee754/k_standard.c: Likewise.
10243         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10244         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10245         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10246         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10247         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10248         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10249         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10250         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10251         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10252         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10253         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10254         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10255         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10256         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10257         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10258         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10259         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10260         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10261         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10262         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10263         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10264         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10265         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10266         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10267         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10268         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10269         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10270         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10271         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10272         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10273         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10274         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10275         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10276         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10277         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10278         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10279         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10280         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10281         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10282         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10283         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10284         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10285         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10286         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10287         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10288         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10289         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10290         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10291         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10292         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10293         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10294         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10295         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10296         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10297         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10298         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10299         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10300         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10301         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10302         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10303         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10304         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10305         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10306         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10307         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10308         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10309         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10310         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10311         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10312         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10313         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10314         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10315         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10316         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10317         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10318         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10319         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10320         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10321         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10322         * sysdeps/ieee754/s_matherr.c: Likewise.
10323         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10324         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10325         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10326         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10328 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
10330         * crypt/md5.h: Remove __STDC__ conditionals.
10331         * libio/libioP.h: Likewise.
10332         * locale/programs/config.h: Likewise.
10333         * sysdeps/generic/sysdep.h: Likewise.
10334         * sysdeps/i386/asm-syntax.h: Likewise.
10335         * sysdeps/s390/asm-syntax.h: Likewise.
10336         * sysdeps/unix/sysdep.h: Likewise.
10337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10340 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
10342         * libio/libio.h: Remove __STDC__ conditionals.
10343         * malloc/obstack.h: Likewise.
10344         * math/complex.h: Likewise.
10345         * math/math.h: Likewise.
10346         * sysdeps/generic/_G_config.h: Likewise.
10347         * sysdeps/gnu/_G_config.h: Likewise.
10348         * sysdeps/mach/hurd/_G_config.h: Likewise.
10349         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10350         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10351         * sysdeps/sparc/bits/mathdef.h: Likewise.
10353 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
10355         [BZ #13583]
10356         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10357         Clean up HAS_* macros.
10358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10359         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10360         possible.
10361         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10362         HAS_AVX.
10363         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10364         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10365         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10366         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10367         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10369 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
10371         * elf/tst-unique3.cc (gets): Remove declaration.
10372         * elf/tst-unique3lib.cc (gets): Likewise.
10373         * elf/tst-unique3lib2.cc (gets): Likewise.
10374         * elf/tst-unique4.cc (gets): Likewise.
10376 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
10378         * include/stdio.h: Add C++ protection.  Add gets declarations and
10379         definitions.
10380         * debug/tst-chk1.c: Don't declare gets here.
10381         * stdio-common/tst-gets.c: Likewise.
10383 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
10385         * posix/glob: Remove directory.
10387 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
10389         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10391 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
10393         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10394         of the non-standard EPFNOSUPPORT.
10396 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10398         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10399         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10400         ANYWHERE set to 1 only on KERN_NO_SPACE error.
10402 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
10404         * wcsmbs/uchar.h: Test __STDC_VERSION__.
10406 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
10408         * nscd/aicache.c (addhstaiX): Do not cache negative results of
10409         transient errors.
10410         * nscd/grpcache.c (cache_addgr): Likewise.
10411         * nscd/hstcache.c (cache_addhst): Likewise.
10412         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10413         * nscd/pwdcache.c (cache_addpw): Likewise.
10414         * nscd/servicescache.c (cache_addserv): Likewise.
10416 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
10418         * malloc/malloc.c: Various cleanups.
10419         * malloc/hooks.c: Likewise.
10421         * stdlib/Makefile (tests): Add bug-fmtmsg1.
10422         * stdlib/bug-fmtmsg1.c: New file.
10424         * stdlib/fmtmsg.c (init): Add missing unlock.
10425         Patch by Peng Haitao <penght@cn.fujitsu.com>.
10427 2012-01-12  Marek Polacek  <polacek@redhat.com>
10429         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10430         and _GNU_SOURCE.
10432 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
10434         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10435         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10436         macro to ensure uniqueness of label name.
10437         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10438         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10440 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
10442         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10444         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10445         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10446         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10447         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10449 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
10451         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10453         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10454         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10455         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10457         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10459         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10460         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10461         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10462         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10464         * math/bits/math-finite.h: Add ldexp support.
10466 2012-01-10  Marek Polacek  <polacek@redhat.com>
10468         * locale/programs/localedef.h (show_archive_content): Add noreturn
10469         attribute.
10471 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
10473         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10475 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10477         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10479         * io/Makefile (headers): Add bits/poll2.h.
10481 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
10483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10484         typo #include statement.
10486 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10488         * include/sys/cdefs.h: Define __attribute_alloc_size.
10489         * catgets/gencat.c: Add alloc_size attribute and apply consistently
10490         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10491         * elf/pldd.c: Likewise.
10492         * iconv/iconv_charmap.c: Likewise.
10493         * iconv/iconvconfig.c: Likewise.
10494         * iconv/strtab.c: Likewise.
10495         * locale/programs/locale.c: Likewise.
10496         * locale/programs/localedef.h: Likewise.
10497         * locale/programs/simple-hash.c: Likewise.
10498         * nscd/nscd.h: Likewise.
10499         * nss/makedb.c: Likewise.
10500         * sysdeps/generic/ldconfig.h: Likewise.
10501         * locale/programs/localedef.c: Remove xmalloc prototype.
10502         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10504 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10506         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10507         appropriate.
10509 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
10511         * math/Makefile (tests): Add tst-CMPLX.
10512         * math/tst-CMPLX.c: New file.
10514         * math/complex.h (CMPLXL): Fix typo.
10516         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10517         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10518         GLIBC_2.16.
10519         * debug/tst-chk1.c: Add poll and ppoll tests.
10520         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10521         * include/sys/poll.h: Add hidden proto for ppoll.
10522         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10523         * sysdeps/mach/hurd/ppoll.c: Likewise.
10524         * io/ppoll.c: Likewise.
10525         * debug/poll_chk.c: New file.
10526         * debug/ppoll_chk.c: New file.
10527         * include/bits/poll2.h: New file.
10528         * io/bits/poll2.h: New file.
10530         [BZ #1350]
10531         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10533         * configure.in: static is always set to yes.  Remove.
10534         * config.make.in: Don't set build-static.
10535         * Makeconfig: Remove use of build-static.
10536         * dlfcn/Makefile: Likewise.
10537         * elf/Makefile: Likewise.
10538         * math/Makefile: Likewise.
10539         * misc/Makefile: Likewise.
10540         * nptl/Makefile: Likewise.
10541         * sysdeps/mach/hurd/Makefile: Likewise.
10543         * configure.in: PWD_P is not used anymore.
10544         * config.make.in: Remove PWD_P entry.
10546         * configure.in: Remove last remnants of RANLIB.
10547         No need to check for signed size_t anymore.
10548         Don't set libc_commonpagesize and libc_relro_required here for Alpha
10549         and IA-64.
10550         Remove __builtin_expect test because we require at least gcc 3.4.
10551         * aclocal.m4: Likewise.
10553         * wcsmbs/mbrtoc16.c: Implement using towc function.
10554         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10555         * wcsmbs/wcsmbsload.c: Likewise.
10556         * iconv/gconv_simple.c: Likewise.
10557         * iconv/gconv_int.h: Likewise.
10558         * iconv/gconv_builtin.h: Likewise.
10559         * iconv/iconv_prog.c: Remove CHAR16 handling.
10561         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10563         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10565         * configure.in: Remove --with-elf and --enable-bounded options.
10566         Dont set base_machine for ia64.  More non-ELF conditions removed.
10567         Remove testing and setting of leading underscore information.
10568         * config.make.in (build-bounded): Set to no.
10569         * config.h.in: Remove NO_UNDERSCORES entry.
10570         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
10571         them.
10572         * csu/start.c: Remove !NO_UNDERSCORE code.
10573         * locale/localeinfo.h: Likewise.
10574         * sysdeps/generic/machine-gmon.h: Likewise.
10575         * sysdeps/generic/sysdep.h: Likewise.
10576         * sysdeps/i386/sysdep.h: Likewise.
10577         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10578         * sysdeps/mach/sysdep.h: Likewise.
10579         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10580         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10581         * sysdeps/sh/sysdep.h: Likewise.
10582         * sysdeps/sparc/sparc32/alloca.S: Likewise.
10583         * sysdeps/unix/i386/sysdep.S: Likewise.
10584         * sysdeps/unix/sparc/start.c: Likewise.
10585         * sysdeps/unix/sparc/sysdep.S: Likewise.
10586         * sysdeps/unix/sparc/sysdep.h: Likewise.
10587         * sysdeps/unix/start.c: Likewise.
10588         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10589         * sysdeps/x86_64/sysdep.h: Likewise.
10591 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
10593         [BZ #13553]
10594         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10595         for non-gcc.
10596         * argp/argp-fmtstream.h: Use const instead __const.
10597         * argp/argp.h: Likewise.
10598         * assert/assert.h: Likewise.
10599         * bits/fenv.h: Likewise.
10600         * bits/sched.h: Likewise.
10601         * bits/sigset.h: Likewise.
10602         * bits/sigthread.h: Likewise.
10603         * catgets/nl_types.h: Likewise.
10604         * conform/data/pthread.h-data: Likewise.
10605         * crypt/crypt-private.h: Likewise.
10606         * crypt/crypt.h: Likewise.
10607         * crypt/crypt_util.c: Likewise.
10608         * ctype/ctype.h: Likewise.
10609         * debug/execinfo.h: Likewise.
10610         * debug/mbsnrtowcs_chk.c: Likewise.
10611         * debug/mbsrtowcs_chk.c: Likewise.
10612         * debug/wcsnrtombs_chk.c: Likewise.
10613         * debug/wcsrtombs_chk.c: Likewise.
10614         * debug/wcstombs_chk.c: Likewise.
10615         * dirent/dirent.h: Likewise.
10616         * dlfcn/dlfcn.h: Likewise.
10617         * elf/neededtest4.c: Likewise.
10618         * grp/grp.h: Likewise.
10619         * gshadow/gshadow.h: Likewise.
10620         * iconv/gconv.h: Likewise.
10621         * iconv/gconv_int.h: Likewise.
10622         * iconv/gconv_simple.c: Likewise.
10623         * iconv/iconv.h: Likewise.
10624         * iconv/loop.c: Likewise.
10625         * iconv/skeleton.c: Likewise.
10626         * include/aio.h: Likewise.
10627         * include/aliases.h: Likewise.
10628         * include/argz.h: Likewise.
10629         * include/arpa/inet.h: Likewise.
10630         * include/assert.h: Likewise.
10631         * include/dirent.h: Likewise.
10632         * include/dlfcn.h: Likewise.
10633         * include/execinfo.h: Likewise.
10634         * include/fcntl.h: Likewise.
10635         * include/fenv.h: Likewise.
10636         * include/glob.h: Likewise.
10637         * include/grp.h: Likewise.
10638         * include/libintl.h: Likewise.
10639         * include/mntent.h: Likewise.
10640         * include/netdb.h: Likewise.
10641         * include/pwd.h: Likewise.
10642         * include/rpc/netdb.h: Likewise.
10643         * include/sched.h: Likewise.
10644         * include/search.h: Likewise.
10645         * include/shadow.h: Likewise.
10646         * include/signal.h: Likewise.
10647         * include/stdio.h: Likewise.
10648         * include/stdlib.h: Likewise.
10649         * include/string.h: Likewise.
10650         * include/sys/socket.h: Likewise.
10651         * include/sys/stat.h: Likewise.
10652         * include/sys/statfs.h: Likewise.
10653         * include/sys/statvfs.h: Likewise.
10654         * include/sys/syslog.h: Likewise.
10655         * include/sys/time.h: Likewise.
10656         * include/sys/uio.h: Likewise.
10657         * include/time.h: Likewise.
10658         * include/unistd.h: Likewise.
10659         * include/utmp.h: Likewise.
10660         * include/wchar.h: Likewise.
10661         * include/wctype.h: Likewise.
10662         * inet/aliases.h: Likewise.
10663         * inet/arpa/inet.h: Likewise.
10664         * inet/netinet/ether.h: Likewise.
10665         * inet/netinet/in.h: Likewise.
10666         * intl/libintl.h: Likewise.
10667         * io/bits/fcntl2.h: Likewise.
10668         * io/fcntl.h: Likewise.
10669         * io/ftw.h: Likewise.
10670         * io/sys/poll.h: Likewise.
10671         * io/sys/stat.h: Likewise.
10672         * io/sys/statfs.h: Likewise.
10673         * io/sys/statvfs.h: Likewise.
10674         * io/utime.h: Likewise.
10675         * libio/bits/stdio.h: Likewise.
10676         * libio/bits/stdio2.h: Likewise.
10677         * libio/libio.h: Likewise.
10678         * libio/libioP.h: Likewise.
10679         * libio/stdio.h: Likewise.
10680         * locale/lc-ctype.c: Likewise.
10681         * locale/locale.h: Likewise.
10682         * login/utmp.h: Likewise.
10683         * malloc/arena.c: Likewise.
10684         * malloc/malloc.c: Likewise.
10685         * malloc/malloc.h: Likewise.
10686         * malloc/mcheck.c: Likewise.
10687         * malloc/mtrace.c: Likewise.
10688         * math/bits/mathcalls.h: Likewise.
10689         * math/fenv.h: Likewise.
10690         * math/math_private.h: Likewise.
10691         * misc/bits/error.h: Likewise.
10692         * misc/bits/syslog.h: Likewise.
10693         * misc/err.h: Likewise.
10694         * misc/error.h: Likewise.
10695         * misc/fstab.h: Likewise.
10696         * misc/mntent.h: Likewise.
10697         * misc/regexp.h: Likewise.
10698         * misc/search.h: Likewise.
10699         * misc/sgtty.h: Likewise.
10700         * misc/sys/mman.h: Likewise.
10701         * misc/sys/syslog.h: Likewise.
10702         * misc/sys/uio.h: Likewise.
10703         * misc/sys/xattr.h: Likewise.
10704         * misc/ttyent.h: Likewise.
10705         * nis/rpcsvc/ypclnt.h: Likewise.
10706         * nss/nss.h: Likewise.
10707         * posix/bits/unistd.h: Likewise.
10708         * posix/fnmatch.h: Likewise.
10709         * posix/glob.h: Likewise.
10710         * posix/sched.h: Likewise.
10711         * posix/spawn.h: Likewise.
10712         * posix/sys/wait.h: Likewise.
10713         * posix/unistd.h: Likewise.
10714         * posix/wordexp.h: Likewise.
10715         * pwd/pwd.h: Likewise.
10716         * resolv/netdb.h: Likewise.
10717         * resource/sys/resource.h: Likewise.
10718         * rt/aio.h: Likewise.
10719         * rt/bits/mqueue2.h: Likewise.
10720         * rt/mqueue.h: Likewise.
10721         * shadow/shadow.h: Likewise.
10722         * signal/signal.h: Likewise.
10723         * socket/send.c: Likewise.
10724         * socket/sendto.c: Likewise.
10725         * socket/sys/socket.h: Likewise.
10726         * stdio-common/printf.h: Likewise.
10727         * stdlib/bits/stdlib.h: Likewise.
10728         * stdlib/fmtmsg.h: Likewise.
10729         * stdlib/monetary.h: Likewise.
10730         * stdlib/stdlib.h: Likewise.
10731         * stdlib/ucontext.h: Likewise.
10732         * streams/stropts.h: Likewise.
10733         * string/argz.h: Likewise.
10734         * string/bits/string2.h: Likewise.
10735         * string/string.h: Likewise.
10736         * string/strings.h: Likewise.
10737         * sunrpc/rpc/auth.h: Likewise.
10738         * sunrpc/rpc/auth_des.h: Likewise.
10739         * sunrpc/rpc/clnt.h: Likewise.
10740         * sunrpc/rpc/netdb.h: Likewise.
10741         * sunrpc/rpc/pmap_clnt.h: Likewise.
10742         * sunrpc/rpc/xdr.h: Likewise.
10743         * sysdeps/generic/inttypes.h: Likewise.
10744         * sysdeps/generic/net/if.h: Likewise.
10745         * sysdeps/generic/sys/swap.h: Likewise.
10746         * sysdeps/gnu/net/if.h: Likewise.
10747         * sysdeps/gnu/utmpx.h: Likewise.
10748         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10749         * sysdeps/i386/i486/bits/string.h: Likewise.
10750         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10751         * sysdeps/s390/bits/string.h: Likewise.
10752         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10753         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10754         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10755         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10756         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10757         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10758         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10759         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10760         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10761         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10762         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10763         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10764         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10765         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10766         * sysdeps/unix/sysv/linux/readv.c: Likewise.
10767         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10768         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10769         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10770         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10771         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10772         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10773         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10774         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10775         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10776         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10777         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10778         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10779         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10780         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10781         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10782         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10783         * sysvipc/sys/ipc.h: Likewise.
10784         * sysvipc/sys/msg.h: Likewise.
10785         * sysvipc/sys/sem.h: Likewise.
10786         * sysvipc/sys/shm.h: Likewise.
10787         * termios/termios.h: Likewise.
10788         * time/sys/time.h: Likewise.
10789         * time/time.h: Likewise.
10790         * wcsmbs/bits/wchar2.h: Likewise.
10791         * wcsmbs/uchar.h: Likewise.
10792         * wcsmbs/wchar.h: Likewise.
10793         * wctype/wctype.h: Likewise.
10795         [BZ #13551]
10796         * Makeconfig: Remove all but ELF support including AIX support.
10797         * Makerules: Likewise.
10798         * config.h.in: Likewise.
10799         * config.make.in: Likewise.
10800         * configure: Likewise.
10801         * configure.in: Likewise.
10802         * csu/Makefile: Likewise.
10803         * csu/version.c: Likewise.
10804         * debug/Makefile: Likewise.
10805         * dlfcn/Makefile: Likewise.
10806         * elf/Makefile: Likewise.
10807         * extra-lib.mk: Likewise.
10808         * iconv/Makefile: Likewise.
10809         * include/libc-symbols.h: Likewise.
10810         * include/shlib-compat.h: Likewise.
10811         * resolv/Makefile: Likewise.
10812         * resolv/res_libc.c: Likewise.
10813         * rt/Makefile: Likewise.
10814         * sysdeps/i386/asm-syntax.h: Likewise.
10815         * sysdeps/i386/sysdep.h: Likewise.
10816         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10817         * sysdeps/mach/sysdep.h: Likewise.
10818         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10819         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10820         * sysdeps/s390/asm-syntax.h: Likewise.
10821         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10822         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10823         * sysdeps/sh/sysdep.h: Likewise.
10824         * sysdeps/unix/sparc/sysdep.h: Likewise.
10825         * sysdeps/wordsize-32/divdi3.c: Likewise.
10826         * sysdeps/x86_64/sysdep.h: Likewise.
10828         * argp/Versions: Remove _argp_unlock_xxx.
10830         [BZ #13559]
10831         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
10832         * abilist/libBrokenLocale.abilist: Likewise.
10833         * abilist/libanl.abilist: Likewise.
10834         * abilist/libc.abilist: Likewise.
10835         * abilist/libcrypt.abilist: Likewise.
10836         * abilist/libdl.abilist: Likewise.
10837         * abilist/libm.abilist: Likewise.
10838         * abilist/libnsl.abilist: Likewise.
10839         * abilist/libpthread.abilist: Likewise.
10840         * abilist/libresolv.abilist: Likewise.
10841         * abilist/librt.abilist: Likewise.
10842         * abilist/libthread_db.abilist: Likewise.
10843         * abilist/libutil.abilist: Likewise.
10844         * abilist/libnss_db.abilist: New file.
10846         * scripts/abilist.awk: Add support for indirect functions.
10848         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10850         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10852         * shlib-versions: Remove entries for ports architectures.
10854         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
10855         files in ports.
10856         * elf/stackguard-macros.h: Remove support for IA-64.
10857         * elf/tst-auditmod1.c: Likewise.
10858         * sysdeps/generic/ldsodefs.h: Likewise.
10860         * sysdeps/unix/sysv/linux/configure.in: Ports should define
10861         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10862         configure files.
10864         [BZ #13552]
10865         * configure.in: Remove --enable-omitfp support.
10866         * FAQ.in: Adjust.
10867         * config.make.in: Likewise.
10868         * Makeconfig: Likewise.
10869         * manual/install.texi: Likewise.
10871         In case anyone cares, the IA-64 architecture could move to ports.
10872         * sysdeps/ia64/*: Removed.
10873         * sysdeps/unix/sysv/linux/ia64/*: Removed.
10874         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10876         [BZ #13555]
10877         * configure.in: Remove entries for unsupported architectures.
10879         [BZ #13533]
10880         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10881         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
10882         routines.
10883         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10884         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10885         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
10886         fall back to using wcrtomb.
10887         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10888         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
10889         renaming.
10890         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10891         * wcsmbs/tst-c16c32-1.c: New file.
10893         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10894         local variable.
10896         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10898         * elf/tst-unique3.cc: Add explicit declaration of gets.
10899         * elf/tst-unique3lib.cc: Likewise.
10900         * elf/tst-unique3lib2.cc: Likewise.
10901         * elf/tst-unique4.cc: Likewise.
10903         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10905 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
10907         [BZ #13566]
10908         * assert/assert.h (static_assert): Don't define for C++.
10909         * libio/stdio.h (gets): Do declare for C++ <= C++11.
10910         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10912 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
10914         * iconv/loop.c (single loop): Fix assertion in storing of
10915         remaining bytes.
10917         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10919 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
10921         * posix/getconf.c: Update copyright year.
10922         * nss/getent.c: Likewise.
10923         * nss/makedb.c: Likewise.
10924         * iconv/iconvconfig.c: Likewise.
10925         * iconv/iconv_prog.c: Likewise.
10926         * elf/ldconfig.c: Likewise.
10927         * elf/pldd.c: Likewise.
10928         * elf/sotruss.ksh: Likewise.
10929         * catgets/gencat.c: Likewise.
10930         * csu/version.c: Likewise.
10931         * elf/ldd.bash.in: Likewise.
10932         * elf/sprof.c (print_version): Likewise.
10933         * locale/programs/locale.c: Likewise.
10934         * locale/programs/localedef.c: Likewise.
10935         * login/programs/pt_chown.c: Likewise.
10936         * nscd/nscd.c (print_version): Likewise.
10937         * debug/xtrace.sh: Likewise.
10938         * malloc/memusage.sh: Likewise.
10939         * malloc/mtrace.pl: Likewise.
10940         * debug/catchsegv.sh: Likewise.
10942 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
10944         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10945         pure attribute.
10947 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
10949         [BZ #13533]
10950         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10951         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10952         transformations.
10953         * iconv/gconv_int.h: Likewise.
10954         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10955         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10956         from libc for GLIBC_2.16.
10957         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10958         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10959         * wcsmbs/uchar.h: Really define mbstate_t.
10960         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10961         * wcsmbs/c16rtomb.c: New file.
10962         * wcsmbs/mbrtoc16.c: New file.
10963         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10964         for C/POSIX locale.
10965         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10966         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10968         * wcsmbs/wchar.h: Add missing __restrict.
10970 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
10972         [BZ #13532]
10973         * time/Makefile (routines): Add timespec_get.
10974         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10975         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
10976         timespec for ISO C11.
10977         * time/timespec_get.c: New file.
10978         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10979         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10981         [BZ #13531]
10982         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10983         * stdlib/stdlib.h: Declare aligned_alloc.
10984         * Versions.def: Add GLIBC_2.16 for libc.
10985         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10987         [BZ 13527]
10988         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10989         ISO C11.
10991         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10992         code.
10994         [BZ #13528]
10995         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10997         [BZ #13529]
10998         * assert/assert.h (static_assert): Define.
11000         * version.h: Update for 2.16 development version.
11002         [BZ #13526]
11003         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11004         _ISOC11_SOURCE.
11006         * version.h (RELEASE): Bump for 2.15 release.
11007         * include/features.h (__GLIBC_MINOR__): Bump to 15.
11009         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11010         Patch by Marek Polacek <mpolacek@redhat.com>.
11012         * bits/byteswap.h: Protect long long constants with __extension__.
11013         * sysdeps/i386/bits/byteswap.h: Likewise.
11014         * sysdeps/ia64/bits/byteswap.h: Likewise.
11015         * sysdeps/s390/bits/byteswap.h: Likewise.
11016         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11018 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11020         [BZ #13540]
11021         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11022         destination buffer.
11023         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11025 2011-12-23  Marek Polacek  <polacek@redhat.com>
11027         * elf/dl-addr.c (determine_info): Add inline keyword.
11028         * elf/tst-auditmod4b.c (check_avx): Likewise.
11029         * elf/tst-auditmod6b.c (check_avx): Likewise.
11030         * elf/tst-auditmod6c.c (check_avx): Likewise.
11031         * elf/tst-auditmod7b.c (check_avx): Likewise.
11033 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
11035         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11036         !__SSE_MATH__.
11038 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11040         [BZ #13540]
11041         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11042         processing for last bytes.
11044 2011-08-06  Bruno Haible  <bruno@clisp.org>
11046         [BZ #13061]
11047         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11048         U+0385, not to U+1FEE.
11050         [BZ #13062]
11051         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11052         entry for U+00A5 U+0301.
11054 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
11056         [BZ #13166]
11057         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11058         buffer for the output is too small.
11060         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11061         optimization.
11063         [BZ #13185]
11064         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11065         SSE flags if possible.
11067 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11069         [BZ #13540]
11070         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11071         processing for last bytes.
11073 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
11075         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11076         (syscall-list-default-options, syscall-list-default-condition)
11077         (syscall-list-includes): Define.
11078         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11079         list of ABIs and options and #if conditions for each ABI.  Do not
11080         handle common syscalls between ABIs specially.
11081         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11082         Remove.
11083         (syscall-list-variants, syscall-list-32bit-options)
11084         (syscall-list-32bit-condition, syscall-list-64bit-options)
11085         (syscall-list-64bit-condition): Define.
11086         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11087         (syscall-list-variants, syscall-list-32bit-options)
11088         (syscall-list-32bit-condition, syscall-list-64bit-options)
11089         (syscall-list-64bit-condition): Define.
11090         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11091         Remove.
11092         (syscall-list-variants, syscall-list-32bit-options)
11093         (syscall-list-32bit-condition, syscall-list-64bit-options)
11094         (syscall-list-64bit-condition): Define.
11095         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11096         Remove.
11097         (syscall-list-variants, syscall-list-32bit-options)
11098         (syscall-list-32bit-condition, syscall-list-64bit-options)
11099         (syscall-list-64bit-condition): Define.
11101 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
11103         * locale/iso-639.def: Add brx entry.
11105         [BZ #13328]
11106         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11107         Proposed by Mariusz_Cukr <marcukr@op.pl>.
11109         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11110         __feraiseexcept_renamed.
11112 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
11114         [BZ #13538]
11115         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11116         EPOLLET with unsigned values.
11117         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11118         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11120         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11121         to large cancellation.
11122         * math/s_cacoshf.c: Likewise.
11123         * math/s_cacoshl.c: Likewise.
11125 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
11127         [BZ #13305]
11128         [BZ #12786]
11129         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11130         * math/s_cacoshf.c: Likewise.
11131         * math/s_cacoshl.c: Likewise.
11133 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
11135         [BZ #13439]
11136         * iconv/gconv.h: Define __GCONV_SWAP.
11137         * iconvdata/unicode.c: The swap bit must be stored in __flags.
11138         * iconvdata/utf-16.c: Likewise.
11139         * iconvdata/utf-32.c: Likewise.
11141 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
11143         [BZ #13524]
11144         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11145         numerator after shifting it by one limb.
11147 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
11149         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11150         under [__USE_EXTERN_INLINES].
11152 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
11154         [BZ #13446]
11155         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11157 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11159         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11160         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11161         optimized code.
11162         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11163         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11164         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11165         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11166         for strncasecmp/strncasecmp_l compilation.
11167         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11168         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11170 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
11172         [BZ #13484]
11173         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11174         of __asm__.
11176 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
11178         [BZ #13506]
11179         * time/tzfile.c (__tzfile_read): Check values from file header.
11181 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
11183         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11184         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11185         * powerpc/powerpc32/dl-start.S: Likewise.
11186         * powerpc/powerpc32/elf/start.S: Likewise.
11187         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11188         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11189         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11190         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11191         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11192         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11193         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11194         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11195         * powerpc/powerpc32/fpu/s_round.S: Likewise.
11196         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11197         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11198         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11199         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11200         * powerpc/powerpc32/memset.S: Likewise.
11201         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11202         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11203         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11204         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11205         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11206         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11207         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11208         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11209         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11210         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11211         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11212         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11213         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11215 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11217         * math/libm-test.inc: Added more nearbyint tests.
11218         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11219         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11220         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11221         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11223 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
11225         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11226         FD_CLOEXEC.
11228 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11230         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11231         Add wcscpy-ssse3 wcscpy-c.
11232         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11233         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11234         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11235         * sysdeps/x86_64/wcschr.S: New file.
11236         * sysdeps/x86_64/wcsrchr.S: New file.
11237         * string/test-strcmp.c: Remove checking of wcscmp function for
11238         wrong alignments.
11239         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11240         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11241         wcsrchr-sse2 wcsrchr-c.
11242         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11243         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11244         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11245         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11246         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11247         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11248         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11249         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11250         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11251         * wcsmbc/wcschr.c (WCSCHR): New macro.
11253 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
11255         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11256         * wcsmbs/test-wcsrchr.c: New file.
11257         * string/test-strrchr.c: Add wcsrchr support.
11258         (WIDE): New macro.
11259         * wcsmbs/test-wcscpy.c: New file.
11260         * string/test-strcpy.c: Add wcscpy support.
11261         (WIDE): New macro.
11263 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
11265         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11266         the inner loop.
11268 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
11270         [BZ #13472]
11271         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11273 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
11275         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11276         Minor optimizations.
11278         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11279         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11280         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11282 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
11284         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11285         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11286         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11287         for gcc to avoid warnings.
11288         * inet/Makefile (tests): Add tst-checks.
11289         * inet/tst-checks.c: New file.
11291         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11292         warning.
11294         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11295         __wmemcmp_sse2.
11297         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11298         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11300         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11302 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
11304         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11305         problem.
11307         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11309 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
11311         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11312         conditional on GCC version.
11313         (__arch_compare_and_exchange_val_8_acq)
11314         (__arch_compare_and_exchange_val_16_acq)
11315         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11316         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11317         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11319 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
11321         * sysdeps/sh/backtrace.c: New file.
11323 2011-12-02  Andreas Schwab  <schwab@redhat.com>
11325         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
11326         parenthesis.
11328 2011-12-01  Andreas Schwab  <schwab@redhat.com>
11330         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11331         falling back to utime.
11333 2011-11-30  Andreas Schwab  <schwab@redhat.com>
11335         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11336         expectations for float.
11338 2011-11-29  Andreas Schwab  <schwab@redhat.com>
11340         * locale/weight.h (findidx): Add parameter len.
11341         * locale/weightwc.h (findidx): Likewise.
11342         * posix/fnmatch_loop.c (FCT): Adjust caller.
11343         * posix/regcomp.c (build_equiv_class): Likewise.
11344         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11345         * posix/regexec.c (check_node_accept_bytes): Likewise.
11346         * string/strcoll_l.c (STRCOLL): Likewise.
11347         * string/strxfrm_l.c (STRXFRM): Likewise.
11349 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
11351         * Makefile.in: Remove CVSOPT handling.
11352         * configure.in: Remove use of AC_REVISION.
11353         * iconvdata/Makefile (distribute): No need to filter out CVS.
11354         * scripts/list-sources.sh: Remove CVS, subversion and monotone
11355         handling.
11357 2011-11-16  Andreas Schwab  <schwab@redhat.com>
11359         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11360         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11361         [USE_AS_STRNCASECMP_L]: Likewise.
11362         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11363         NO_TLS_DIRECT_SEG_REFS.
11364         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11365         Fix argument offsets for non-PIC.
11366         [USE_AS_STRNCASECMP_L]: Likewise.
11367         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11368         NO_TLS_DIRECT_SEG_REFS.
11370 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
11372         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11373         O_CLOEXEC.
11374         * locale/loadlocale.c (_nl_load_locale): Likewise.
11376 2011-11-15  Andreas Schwab  <schwab@redhat.com>
11378         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11379         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11380         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11381         (SYSCALL_GETTIME): Set errno on error.
11383         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11384         count references to noai6ai_cached.
11386 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
11388         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11390         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11391         FD_CLOEXEC for /proc/self/maps.
11393         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11394         FD_CLOEXEC for /proc/meminfo.
11396         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11397         gai.conf.
11399         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
11400         FD_CLOEXEC for given file.
11402         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11404         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11405         FD_CLOEXEC for /etc/hosts.
11406         (_gethtent): Likewise.
11408         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11410         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11411         cancellation and set FD_CLOEXEC for /etc/netgroup.
11413         * nss/nss_files/files-key.c (search): Don't allow cancellation when
11414         reading /etc/publickey.
11416         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11417         allow cancellation when reading /etc/group.
11419         * nss/nss_files/files-alias.c (internal_setent): Don't allow
11420         cancellation.
11421         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
11423         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11424         when using data file.
11426         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11428         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11429         (write_nis_obj): Use "c" and "e" in fopen.
11431         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11433         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11435         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11437         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11439         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11440         locale.alias.
11442         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11444         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11446         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11448         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11449         file parsing and set FD_CLOEXEC.
11451 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
11453         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11455 2011-11-14  Andreas Schwab  <schwab@redhat.com>
11457         * malloc/arena.c (arena_get2): Don't call reused_arena when
11458         _int_new_arena failed.
11460 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
11462         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11463         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11464         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11465         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11466         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11467         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11468         to compile strcasecmp and strncasecmp.
11469         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11470         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11474 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
11476         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11477         locale-defines.sym to gen-as-const-headers.
11478         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11479         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11481         to compile strcasecmp and strncasecmp.
11482         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11483         strcasecmp_l and strncasecmp_l.
11484         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11485         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11486         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11487         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11488         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11489         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11490         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11491         * sysdeps/i386/i686/multiarch/strncase.S: New file.
11492         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11493         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11494         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11496 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
11498         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11499         result of SYSDEP_GETTIME_CPU to retval.
11500         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11501         parameter list to macro.  Remove trailing semicolon.  Adjust users.
11503         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11504         variable.
11506         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11507         mantissa words.
11508         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11510         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11511         from unused variable.
11513         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11514         DWARF definitions.
11515         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11516         for assembling.
11518         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11519         over namespaces.
11521         * sunrpc/rpc_prot.c (rejected): Fix case value.
11523         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11524         unsigned long long int to avoid warnings in shift.
11526         * posix/regex_internal.c (re_string_reconstruct): Actually use result
11527         of use of trans.
11528         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11529         variable tmp.
11531         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11532         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11533         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11535         * nis/nis_table.c (nis_list): Use variable of correct type for
11536         result of __follow_path call.
11538 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11540         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11541         of math functions ceil, trunc, floor, round, and sqrt, when
11542         avaliable on the platform.
11543         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11544         name clash.
11545         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11546         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11547         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11549 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
11551         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11552         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11554 2011-11-11  Roland McGrath  <roland@hack.frob.com>
11556         * include/unistd.h: Fix __readlink return type.
11557         Reported by Chris Metcalf <cmetcalf@tilera.com>.
11559 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
11561         * stdlib/ucontext.h: Undo last change for makecontext.
11563 2011-11-11  Andreas Schwab  <schwab@redhat.com>
11565         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11567         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11568         * setjmp/setjmp.h: Mark functions as non-leaf.
11569         * setjmp/bits/setjmp2.h: Likewise.
11570         * stdlib/ucontext.h: Likewise.
11572 2011-11-10  Andreas Schwab  <schwab@redhat.com>
11574         * malloc/arena.c (_int_new_arena): Don't increment narenas.
11575         (reused_arena): Don't check arena limit.
11576         (arena_get2): Atomically check arena limit.
11578 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
11580         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11581         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11584         instructions.
11586 2011-11-07  Andreas Schwab  <schwab@redhat.com>
11588         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11589         handler when locking.
11591         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11592         Fix size of allocated buffer.
11594 2011-11-04  Andreas Schwab  <schwab@redhat.com>
11596         [BZ #10103]
11597         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11598         declarations for long double functions.
11599         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11601         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11603 2011-11-03  Andreas Schwab  <schwab@redhat.com>
11605         * nscd/nscd.c (main): Don't start AVC thread until credentials are
11606         installed.
11608         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11609         is disabled.
11611 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11613         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11615 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
11617         * include/alloca.h (stackinfo_alloca_round): Define.
11618         (extend_alloca): Use it.
11619         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11620         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11621         here.
11623         * scripts/check-local-headers.sh: Ignore libaudit.h.
11625         * nscd/Makefile (extra-objs): Make recursively expanded.
11627 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
11629         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11630         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11632         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11633         * posix/tst-rfc3484-2.c: Likewise.
11634         * posix/tst-rfc3484-3.c: Likewise.
11636         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11637         process_vm_writev.
11638         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11639         process_vm_writev.
11640         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11641         process_vm_writev from libc using GLIBC_2.15 version.
11643         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11645 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
11647         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11648         stack usage.
11650 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
11652         [BZ #13367]
11653         * nss/getent.c (initgroups_keys): Show error message in case no group
11654         names are given.
11656         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11657         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11658         __bump_nl_timestamp.
11659         * nscd/connections (nscd_init): When host database is served open
11660         netlink socket and request notification about configuration changes.
11661         (main_loop_poll): Track netlink file descriptor and bump timestamp
11662         in case data becomes available.
11663         (main_loop_epoll): Likewise.
11664         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11665         (database_pers_head): Add extra_data fileds.
11666         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11667         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11668         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11669         Adjust caller.
11670         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11671         in6ai data, call __free_in6ai.
11672         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11673         Add -DHAVE_NETLINK.
11674         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
11675         interface information.  Reuse previous data if netlink timestamp
11676         is not changed.
11677         (__bump_nl_timestamp): New function.
11678         (__free_in6ai): New function.
11680 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
11682         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11683         close_not_cancel_no_status here.
11684         (__check_pf): Reorganize code a bit to not call close twice if OOM.
11686 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
11688         [BZ #13276]
11689         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11690         return value.
11692         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11693         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11694         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11696 2011-07-03  Andreas Jaeger  <aj@suse.de>
11698         [BZ #10709]
11699         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11700         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11701         * math/libm-test.inc (sin_test): Add test case.
11703 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
11705         [BZ #13337]
11706         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11707         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11709         * elf/chroot_canon.c (chroot_canon): Cleanups.
11711         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11713         [BZ #13335]
11714         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11715         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11717         * string/test-strchr.c: Make usable for strchrnul testing.
11718         * string/test-strchrnul.c: New file.
11719         * string/Makefile (strop-tests): Add strchrnul.
11721         * po/it.po: Update from translation team.
11722         * po/es.po: Likewise.
11724 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
11726         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11727         the three constants needed as parameters.  Drop the others.
11728         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11729         __m128i_strloadu_tolower.
11730         Create and initialize variable zero and use it in all the places
11731         where _mm_setzero_si128 was used.
11733         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11734         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11735         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11736         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11737         anymore.
11738         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11739         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11740         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11741         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11742         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11743         __mpranred, __mptan.
11744         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11745         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11746         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11747         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11748         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11749         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11750         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11751         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11752         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11754 2011-10-28  Andreas Schwab  <schwab@redhat.com>
11756         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11757         redefine if SHARED.
11758         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11760         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11761         wide char related routines to wcsmbs subdir.
11763 2011-10-27  Andreas Schwab  <schwab@redhat.com>
11765         [BZ #13344]
11766         * misc/sys/cdefs.h (__THROWNL): Define.
11767         * posix/unistd.h: Use __THREADNL instead of __THREAD
11768         for memory synchronization functions.
11770 2011-10-26  Roland McGrath  <roland@hack.frob.com>
11772         [BZ #13349]
11773         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11774         doesn't exist.
11775         * manual/stdio.texi (Obstack Streams): Node removed.
11777 2011-10-26  Andreas Schwab  <schwab@redhat.com>
11779         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11780         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11781         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11783         * math/math_private.h (math_force_eval): Allow non-addressable
11784         arguments.
11785         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11787 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11789         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11790         file is not needed.
11792         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11793         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11794         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11795         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11796         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11797         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11798         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11799         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11800         Add AVX variants.
11801         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11802         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11803         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11804         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11805         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11806         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11807         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11808         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11809         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11810         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11811         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11812         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11813         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11814         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11815         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11816         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11817         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11818         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11819         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11821         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11822         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
11824         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11825         place.  Use VEX encoding when compiling for AVX.
11827 2011-10-25  Andreas Schwab  <schwab@redhat.com>
11829         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11830         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11832         * string/test-strchr.c (do_test): Don't generate NUL bytes.
11834 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11836         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11837         useless if() expression.
11838         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11839         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11840         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11841         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11842         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11843         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11844         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11845         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11846         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11847         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11848         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11849         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11850         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11851         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11852         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11853         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11854         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11855         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11856         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11858         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11860 2011-10-25  Andreas Schwab  <schwab@redhat.com>
11862         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11863         condition.
11864         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11866 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
11868         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11869         .text section.  Avoid duplicate constants.
11870         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11871         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11872         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11873         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11874         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11875         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11876         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11877         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11878         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11879         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11880         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11881         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11882         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11883         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11884         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11885         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11886         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11887         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11888         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11889         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11890         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11891         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11892         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11893         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11894         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11895         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11896         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11897         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11898         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11899         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11900         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11901         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11902         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11903         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11904         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11905         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11906         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11907         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11908         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11909         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11910         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11911         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11912         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11913         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11914         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11916 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
11918         * sysdeps/x86_64/dla.h: Move to ...
11919         * sysdeps/x86_64/fpu/dla.h: ...here.
11920         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11921         situations.  Use __builtin_fma only for gcc 4.6 and up.
11923         * config.make.in: Add have-mfma4 entry.
11924         * configure.in: Substitute libc_cv_cc_fma4.
11925         * math/Makefile (dbl-only-routines): Add sincostab.
11926         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11927         Use __sincostab not sincos.
11928         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11929         name is a macro.
11930         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11932         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11933         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
11934         using __copysign.
11935         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
11936         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
11937         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11938         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11939         and __inv.
11940         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11941         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11942         __copysign.
11943         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
11944         define aliases when function name is a macro.
11945         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11946         sysdeps/ieee754/dbl-64/sincos.tbl.
11947         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11948         fma4-enabled routines.
11949         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11950         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11951         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11952         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11953         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11954         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11955         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11956         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11957         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11958         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11959         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11960         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11961         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11962         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11963         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11964         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11965         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11966         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11967         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11968         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11969         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11970         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11971         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11972         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11973         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11974         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11975         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11976         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11977         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11978         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11980         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11981         rename.
11982         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11983         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11984         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11985         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11986         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11987         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11988         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11989         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11991 2011-10-24  Andreas Schwab  <schwab@redhat.com>
11993         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11995 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
11997         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11999         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12000         prediction.
12001         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12003         * string/strnlen.c: Don't define STRNLEN, reverse logic.
12004         Remove unused variable magic_bits.
12005         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12007         * string/strnlen.c: Define and use STRNLEN macro.
12008         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12009         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12010         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12011         * wcsmbs/wcslen.c: Define and use WCSLEN.
12012         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12013         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12014         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12015         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12016         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12017         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12018         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12020 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12023         strnlen-sse2-no-bsf.
12024         Rename strlen-no-bsf to strlen-sse2-no-bsf.
12025         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12026         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12027         Add strnlen support.
12028         (USE_AS_STRNLEN): New macro.
12029         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12030         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12031         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12032         * sysdeps/x86_64/wcslen.S: New file.
12034 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
12036         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12037         XMM-moves are used for copying on small sizes.
12039 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12041         * wcsmbs/Makefile (strop-tests): Add wcschr.
12042         * wcsmbs/test-wcschr.c: New file.
12043         * string/test-strchr.c: Update.
12044         Add wcschr support.
12045         (WIDE): New macro.
12047 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12049         * wcsmbs/Makefile (strop-tests): Add wcslen.
12050         * wcsmbs/test-wcslen.c: New file.
12051         * string/test-strlen.c: Update.
12052         Add wcslen support.
12053         (WIDE): New macro.
12055 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12057         * po/it.po: Update from translation team.
12059 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12061         * sysdeps/x86_64/wcscmp.S: Update.
12062         Fix wrong comparison semantics.
12063         wcscmp shall use signed comparison not unsigned.
12064         Don't use substraction to avoid overflow bug.
12065         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12066         * wcsmbc/wcscmp.c: Likewise.
12067         * string/test-strcmp.c: Likewise.
12068         Add new tests to check cases with negative values.
12070 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
12072         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12073         * sysdeps/x86_64/dla.h: ...here.  New file.
12074         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12075         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12076         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12077         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12078         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12079         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12080         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12081         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12082         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12084 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
12086         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12087         __ynl_finite aliases.
12089 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
12091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12093         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12094         define DLA_FMA.
12095         [DLA_FMA] (EMULV): Use DLA_FMA.
12096         [DLA_FMA] (MUL12): Use EMULV.
12097         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12098         that are not needed.
12099         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12100         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12101         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12102         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12103         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12104         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12105         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12107 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
12109         * math/s_nan.c: Undef __nan.
12110         * math/s_nanf.c: Undef __nanf.
12111         * math/s_nanl.c: Undef __nanl.
12112         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12113         "math_private.h".
12115 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
12117         * math/s_catan.c: Add branch predictions.
12118         * math/s_catanf.c: Likewise.
12119         * math/s_catanh.c: Likewise.
12120         * math/s_catanhf.c: Likewise.
12121         * math/s_catanhl.c: Likewise.
12122         * math/s_catanl.c: Likewise.
12123         * math/s_cexp.c: Likewise.
12124         * math/s_cexpf.c: Likewise.
12125         * math/s_cexpl.c: Likewise.
12126         * math/s_clog.c: Likewise.
12127         * math/s_clog10.c: Likewise.
12128         * math/s_clog10f.c: Likewise.
12129         * math/s_clog10l.c: Likewise.
12130         * math/s_clogf.c: Likewise.
12131         * math/s_clogl.c: Likewise.
12132         * math/s_csqrt.c: Likewise.
12133         * math/s_csqrtf.c: Likewise.
12134         * math/s_csqrtl.c: Likewise.
12135         * math/s_ctanf.c: Likewise.
12136         * math/s_ctanh.c: Likewise.
12137         * math/s_ctanhf.c: Likewise.
12138         * math/s_ctanhl.c: Likewise.
12139         * math/s_ctanl.c: Likewise.
12141         * math/math_private.h: Define __nan, __nanf, __nanl.
12142         * math/s_cacosh.c: Include <math_private.h>.
12143         * math/s_cacoshl.c: Likewise.
12144         * math/s_casinh.c: Likewise.
12145         * math/s_casinhf.c: Likewise.
12146         * math/s_casinhl.c: Likewise.
12147         * math/s_ccos.c: Rely entire on ccosh.
12148         * math/s_ccosf.c: Rely entire on ccoshf.
12149         * math/s_ccosl.c: Rely entirely on ccoshl.
12150         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
12151         Remove tests for FE_INVALID.
12152         * math/s_ccoshf.c: Likewise.
12153         * math/s_ccoshl.c: Likewise.
12154         * math/s_csin.c: Likewise.
12155         * math/s_csinf.c: Likewise.
12156         * math/s_csinh.c Likewise.
12157         * math/s_csinhf.c: Likewise.
12158         * math/s_csinhl.c: Likewise.
12159         * math/s_csinl.c: Likewise.
12160         * math/s_ctan.c: Likewise.
12161         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12162         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12163         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12165 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
12167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12168         compilation problems.
12170         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12171         __builtin_expect.
12173 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
12175         * sysdeps/i386/configure.in: Test for -mfma4 option.
12176         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12177         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12178         COMMON_CPUID_INDEX_80000001.
12179         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12180         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12181         use it if FMA3 is not supported.
12182         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12184         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12185         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12187 2011-10-20  Andreas Schwab  <schwab@redhat.com>
12189         [BZ #12892]
12190         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12191         it would create a cycle with a link time dependency.
12193 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
12195         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12196         instruction.
12197         * string/Makefile (strop-tests): Add rawmemchr.
12198         * string/test-rawmemchr.c: New file.
12200         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12201         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
12202         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
12203         when compiling str{,n}casecmp and when AVX is available.  Hook up
12204         new optimized code in initializers.
12206 2011-10-19  Andreas Schwab  <schwab@redhat.com>
12208         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12209         __feraiseexcept instead of feraiseexcept.
12211 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
12213         * math/math_private.h: Define defaults for libc_fetestexcept and
12214         libc_feupdateenv.
12215         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12216         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12217         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12218         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12219         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12220         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12221         libc_fetestexcept and libc_feupdateenv.
12223         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12224         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12225         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12226         * sysdeps/x86_64/fpu/math_private.h: Define special version of
12227         libc_feholdexcept_setround.
12229         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12230         Add s_nearbyint-c and s_nearbyintf-c.
12231         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12232         nearbyintf inlines.
12233         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12234         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12235         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12236         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12238         * math/math_private.h: Define defaults for libc_fegetround,
12239         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12240         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12241         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12242         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12243         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12244         standard functions.
12245         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12246         Remove comments and hacks for old compiler versions.
12247         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12248         libc_fegetround, libc_fesetround, libc_feholdexcept, and
12249         libc_feholdexceptl.
12251 2011-10-18  Andreas Schwab  <schwab@redhat.com>
12253         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12254         (__feraiseexcept_renamed): Add __NTH.
12255         (feraiseexcept): Add __NTH.  Rename local variables to fix
12256         namespace violations.
12258 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
12260         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12262         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12264         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12265         recently added interfaces.
12266         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12268         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12269         about macro parameter expansion.
12271         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12272         __NO_MATH_INLINES is defined.  Cleanups.
12274         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12275         and __floorf is target has SSE4.1.
12276         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12277         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12278         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12279         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12281         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12282         name.
12283         (floorf): Likewise.
12285         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12287 2011-10-17  Andreas Schwab  <schwab@redhat.com>
12289         * misc/sys/cdefs.h: Fix last change.
12291         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12292         database lookup.
12294 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
12296         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12298         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12299         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12300         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12301         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12302         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12303         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12304         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12305         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12306         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12307         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12308         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12309         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12310         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12311         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12312         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12313         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12314         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12315         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12316         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12317         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12318         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12319         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12321         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12322         ceil, ceilf, floor, floorf.
12324         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12325         Perform IRELATIVE relocations last.
12327         * elf/do-rel.h: Add another parameter nrelative, replacing the
12328         local variable with the same name.  Change name of the function
12329         to end in Rel or Rela (uppercase).
12330         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12331         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
12332         elf_dynamic_do_##reloc function.
12334 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
12336         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12337         is sufficient, at least on modern CPUs.
12339         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12341         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12342         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12344         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12345         __expl_finite.
12346         * math/bits/math-finite.h: Add entries for exp.
12347         * math/e_expl.c: Add __*_finite alias.
12348         * sysdeps/i386/fpu/e_exp.S: Likewise.
12349         * sysdeps/i386/fpu/e_expf.S: Likewise.
12350         * sysdeps/i386/fpu/e_expl.c: Likewise.
12351         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12352         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12353         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12354         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12355         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12356         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12357         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12359         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12360         is sufficient, at least on modern CPUs.
12362         * ctype/ctype-info.c (__ctype_init): Define.
12363         * include/ctype.h (__ctype_init): Declare.
12364         (__ctype_b_loc): The variable is always initialized.
12365         (__ctype_toupper_loc): Likewise.
12366         (__ctype_tolower_loc): Likewise.
12367         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12368         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12370 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
12372         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12374         * configure.in: Also look in $cxxmachine/include for C++ system
12375         headers.
12377 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12379         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12380         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12381         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12382         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
12383         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12384         (USE_AS_WMEMCMP): New macro.
12385         Fixing indents.
12386         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12387         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12388         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12389         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12390         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12391         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12392         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12393         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12394         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12395         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12396         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12397         (USE_AS_WMEMCMP): New macro.
12398         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12399         * sysdeps/string/test-memcmp.c: Update.
12400         Fix simple_wmemcmp.
12401         Add new tests.
12402         * wcsmbs/wmemcmp.c: Update.
12403         (WMEMCMP): New macro.
12404         Fix overflow bug.
12406 2011-10-12  Andreas Jaeger  <aj@suse.de>
12408         [BZ #13268]
12409         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12411 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
12413         * libio/iofwide.c (do_length): Avoid warning.
12415         * ctype/ctype.h (__isctype_f): Add missing __THROW.
12417 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
12419         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12421         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12422         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12423         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12424         * sysdeps/i386/i686/fpu/e_log.S: New file.
12425         * sysdeps/i386/i686/fpu/e_logf.S: New file.
12426         * sysdeps/i386/i686/fpu/e_logl.S: New file.
12428         * ctype/ctype.h: Add support for inlined isXXX functions when
12429         compiling C++ code.
12431 2011-10-14  Andreas Schwab  <schwab@redhat.com>
12433         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12435         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12437 2011-10-13  Roland McGrath  <roland@hack.frob.com>
12439         [BZ #13291]
12440         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12442 2011-10-13  Andreas Schwab  <schwab@redhat.com>
12444         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12445         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12446         feraiseexcept.
12448         * sysdeps/x86_64/memrchr.S: Check for zero size.
12450         * string/stratcliff.c: Add memrchr tests.
12452 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12454         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12455         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12456         rawmemchr-sse2 rawmemchr-sse2-bsf.
12457         * sysdeps/i386/i686/multiarch/memchr.S: New file.
12458         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12459         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12460         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12461         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12462         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12463         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12464         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12465         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12466         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12467         * string/memrchr.c (MEMRCHR): New macro.
12469 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
12471         Add integration with gcc's -ffinite-math-only and optimize wrapper
12472         functions in libm.
12473         * Versions.def: Define GLIBC_2.15 version for libm.
12474         * math/Makefile (headers): Add bits/math-finite.h.
12475         * math/bits/math-finite.h: New file.
12476         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12477         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12478         * math/e_acoshl.c: Add __*_finite alias.
12479         * math/e_acosl.c: Likewise.
12480         * math/e_asinl.c: Likewise.
12481         * math/e_atan2l.c: Likewise.
12482         * math/e_atanhl.c: Likewise.
12483         * math/e_coshl.c: Likewise.
12484         * math/e_exp10.c: Likewise.
12485         * math/e_exp10f.c: Likewise.
12486         * math/e_exp10l.c: Likewise.
12487         * math/e_exp2l.c: Likewise.
12488         * math/e_fmodl.c: Likewise.
12489         * math/e_gammal_r.c: Likewise.
12490         * math/e_hypotl.c: Likewise.
12491         * math/e_j0l.c: Likewise.
12492         * math/e_j1l.c: Likewise.
12493         * math/e_jnl.c: Likewise.
12494         * math/e_lgammal_r.c: Likewise.
12495         * math/e_log10l.c: Likewise.
12496         * math/e_log2l.c: Likewise.
12497         * math/e_logl.c: Likewise.
12498         * math/e_powl.c: Likewise.
12499         * math/e_sinhl.c: Likewise.
12500         * math/e_sqrtl.c: Likewise.
12501         * math/e_scalb.c: Completely rewritten and optimized.
12502         * math/e_scalbf.c: Likewise.
12503         * math/e_scalbl.c: Likewise.
12504         * math/w_acos.c: Likewise.
12505         * math/w_acosf.c: Likewise.
12506         * math/w_acosl.c: Likewise.
12507         * math/w_acosh.c: Likewise.
12508         * math/w_acoshf.c: Likewise.
12509         * math/w_acoshl.c: Likewise.
12510         * math/w_asin.c: Likewise.
12511         * math/w_asinf.c: Likewise.
12512         * math/w_asinl.c: Likewise.
12513         * math/w_atan2.c: Likewise.
12514         * math/w_atan2f.c: Likewise.
12515         * math/w_atan2l.c: Likewise.
12516         * math/w_atanh.c: Likewise.
12517         * math/w_atanhf.c: Likewise.
12518         * math/w_atanhl.c: Likewise.
12519         * math/w_exp10.c: Likewise.
12520         * math/w_exp10f.c: Likewise.
12521         * math/w_exp10l.c: Likewise.
12522         * math/w_fmod.c: Likewise.
12523         * math/w_fmodf.c: Likewise.
12524         * math/w_fmodl.c: Likewise.
12525         * math/w_j0.c: Likewise.
12526         * math/w_j0f.c: Likewise.
12527         * math/w_j0l.c: Likewise.
12528         * math/w_j1.c: Likewise.
12529         * math/w_j1f.c: Likewise.
12530         * math/w_j1l.c: Likewise.
12531         * math/w_jn.c: Likewise.
12532         * math/w_jnf.c: Likewise.
12533         * math/w_log.c: Likewise.
12534         * math/w_logf.c: Likewise.
12535         * math/w_logl.c: Likewise.
12536         * math/w_log10.c: Likewise.
12537         * math/w_log10f.c: Likewise.
12538         * math/w_log10l.c: Likewise.
12539         * math/w_log2.c: Likewise.
12540         * math/w_log2f.c: Likewise.
12541         * math/w_log2l.c: Likewise.
12542         * math/w_pow.c: Likewise.
12543         * math/w_powf.c: Likewise.
12544         * math/w_powl.c: Likewise.
12545         * math/w_remainder.c: Likewise.
12546         * math/w_remainderf.c: Likewise.
12547         * math/w_remainderl.c: Likewise.
12548         * math/w_scalb.c: Likewise.
12549         * math/w_scalbf.c: Likewise.
12550         * math/w_scalbl.c: Likewise.
12551         * math/w_sqrt.c: Likewise.
12552         * math/w_sqrtf.c: Likewise.
12553         * math/w_sqrtl.c: Likewise.
12554         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12555         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
12556         used.
12557         * math/math_private.h: Declare __kernel_standard_f.
12558         * math/w_cosh.c: Remove cruft and optimize a bit.
12559         * math/w_coshf.c: Likewise.
12560         * math/w_coshl.c: Likewise.
12561         * math/w_exp2.c: Likewise.
12562         * math/w_exp2f.c: Likewise.
12563         * math/w_exp2l.c: Likewise.
12564         * math/w_hypot.c: Likewise.
12565         * math/w_hypotf.c: Likewise.
12566         * math/w_hypotl.c: Likewise.
12567         * math/w_lgamma.c: Likewise.
12568         * math/w_lgamma_r.c: Likewise.
12569         * math/w_lgammaf.c: Likewise.
12570         * math/w_lgammaf_r.c: Likewise.
12571         * math/w_lgammal.c: Likewise.
12572         * math/w_lgammal_r.c: Likewise.
12573         * math/w_sinh.c: Likewise.
12574         * math/w_sinhf.c: Likewise.
12575         * math/w_sinhl.c: Likewise.
12576         * math/w_tgamma.c: Likewise.
12577         * math/w_tgammaf.c: Likewise.
12578         * math/w_tgammal.c: Likewise.
12579         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12580         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12581         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12582         Minor optimizations.  Pretty printing.  Remove cruft.
12583         * sysdeps/i386/fpu/e_acosf.S: Likewise.
12584         * sysdeps/i386/fpu/e_acosh.S: Likewise.
12585         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12586         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12587         * sysdeps/i386/fpu/e_acosl.c: Likewise.
12588         * sysdeps/i386/fpu/e_asin.S: Likewise.
12589         * sysdeps/i386/fpu/e_asinf.S: Likewise.
12590         * sysdeps/i386/fpu/e_atan2.S: Likewise.
12591         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12592         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12593         * sysdeps/i386/fpu/e_atanh.S: Likewise.
12594         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12595         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12596         * sysdeps/i386/fpu/e_exp10.S: Likewise.
12597         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12598         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12599         * sysdeps/i386/fpu/e_exp2.S: Likewise.
12600         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12601         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12602         * sysdeps/i386/fpu/e_fmod.S: Likewise.
12603         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12604         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12605         * sysdeps/i386/fpu/e_hypot.S: Likewise.
12606         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12607         * sysdeps/i386/fpu/e_log.S: Likewise.
12608         * sysdeps/i386/fpu/e_log10.S: Likewise.
12609         * sysdeps/i386/fpu/e_log10f.S: Likewise.
12610         * sysdeps/i386/fpu/e_log10l.S: Likewise.
12611         * sysdeps/i386/fpu/e_log2.S: Likewise.
12612         * sysdeps/i386/fpu/e_log2f.S: Likewise.
12613         * sysdeps/i386/fpu/e_log2l.S: Likewise.
12614         * sysdeps/i386/fpu/e_logf.S: Likewise.
12615         * sysdeps/i386/fpu/e_logl.S: Likewise.
12616         * sysdeps/i386/fpu/e_pow.S: Likewise.
12617         * sysdeps/i386/fpu/e_powf.S: Likewise.
12618         * sysdeps/i386/fpu/e_powl.S: Likewise.
12619         * sysdeps/i386/fpu/e_remainder.S: Likewise.
12620         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12621         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12622         * sysdeps/i386/fpu/e_scalb.S: Likewise.
12623         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12624         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12625         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12626         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12627         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12628         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12629         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12630         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12631         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12632         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12633         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12634         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12635         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12636         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12637         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12638         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12639         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12640         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12641         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12642         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12644         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12645         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12646         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12647         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12648         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12649         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12650         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12651         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12652         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12653         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12654         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12655         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12656         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12657         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12658         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12659         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12660         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12661         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12662         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12663         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12664         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12665         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12666         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12667         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12668         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12669         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12670         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12671         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12672         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12673         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12674         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12675         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12676         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12677         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12678         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12679         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12680         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12681         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12682         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12683         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12684         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12685         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12686         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12687         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12688         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12689         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12690         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12691         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12692         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12693         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12694         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12695         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12696         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12697         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12698         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12699         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12700         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12701         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12702         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12703         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12704         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12705         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12706         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12707         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12708         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12709         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12710         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12711         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12712         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12713         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12714         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12715         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12716         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12717         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12718         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12719         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12720         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12721         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12722         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12723         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12724         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12725         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12726         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12727         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12728         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12729         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12730         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12731         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12732         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12733         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12734         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12735         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12736         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12737         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12738         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
12739         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12740         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12741         (__isnanf): Likewise.
12742         (__isinf_ns): Likewise.
12743         (__isinf_nsf): Likewise.
12744         (__finite): Likewise.
12745         (__finitef): Likewise.
12746         (__ieee754_sqrt): Define as macro.
12747         (__ieee754_sqrtf): Define as macro.
12748         (__ieee754_sqrtl): Define as macro.
12749         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12750         inlined copy.
12751         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12752         __FINITE_MATH_ONLY__ consistent.
12753         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12755 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
12757         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12758         of rawmemchr.
12760         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12762 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
12764         * po/ja.po: Update from translation team.
12766 2011-10-08  Roland McGrath  <roland@hack.frob.com>
12768         * locale/programs/locarchive.c (prepare_address_space): New function.
12769         (create_archive, enlarge_archive, open_archive): Use it.
12771         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12772         inside [SHARED], where it is used.
12774         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12776         * nss/getent.c (netgroup_keys): Remove unused variable.
12777         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12779 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
12781         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12782         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12783         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12784         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12785         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12786         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12787         * math/Makefile (libm-calls): Add s_isinf_ns.
12788         * math/divtc3.c: Use __isinf_nsl instead of isinf.
12789         * math/multc3.c: Likewise.
12790         * math/s_casin.c: Likewise.
12791         * math/s_casinf.c: Likewise.
12792         * math/s_casinl.c: Likewise.
12793         * math/s_ccos.c: Likewise.
12794         * math/s_ccosf.c: Likewise.
12795         * math/s_ccosl.c: Likewise.
12796         * math/s_ctan.c: Likewise.
12797         * math/s_ctanf.c: Likewise.
12798         * math/s_ctanh.c: Likewise.
12799         * math/s_ctanhf.c: Likewise.
12800         * math/s_ctanhl.c: Likewise.
12801         * math/s_ctanl.c: Likewise.
12802         * math/w_fmod.c: Likewise.
12803         * math/w_fmodf.c: Likewise.
12804         * math/w_fmodl.c: Likewise.
12805         * math/w_remainder.c: Likewise.
12806         * math/w_remainderf.c: Likewise.
12807         * math/w_remainderl.c: Likewise.
12808         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12809         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12810         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12811         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12812         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12813         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12814         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12815         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12817         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12818         of the number.
12819         * stdio-common/printf_fphex.c: Likewise.
12820         * stdio-common/printf_size.c: Likewise.
12822         * math/e_exp10.c: Include math_private.h using <...> not "...".
12823         * math/e_exp10f.c: Likewise.
12824         * math/e_exp10l.c: Likewise.
12825         * math/e_exp2l.c: Likewise.
12826         * math/e_j0l.c: Likewise.
12827         * math/e_j1l.c: Likewise.
12828         * math/e_jnl.c: Likewise.
12829         * math/e_lgammal_r.c: Likewise.
12830         * math/e_rem_pio2l.c: Likewise.
12831         * math/e_scalb.c: Likewise.
12832         * math/e_scalbf.c: Likewise.
12833         * math/e_scalbl.c: Likewise.
12834         * math/k_cosl.c: Likewise.
12835         * math/k_sinl.c: Likewise.
12836         * math/k_tanl.c: Likewise.
12837         * math/s_cacoshf.c: Likewise.
12838         * math/s_catan.c: Likewise.
12839         * math/s_catanf.c: Likewise.
12840         * math/s_catanh.c: Likewise.
12841         * math/s_catanhf.c: Likewise.
12842         * math/s_catanhl.c: Likewise.
12843         * math/s_catanl.c: Likewise.
12844         * math/s_ccosh.c: Likewise.
12845         * math/s_ccoshf.c: Likewise.
12846         * math/s_ccoshl.c: Likewise.
12847         * math/s_cexp.c: Likewise.
12848         * math/s_cexpf.c: Likewise.
12849         * math/s_cexpl.c: Likewise.
12850         * math/s_clog.c: Likewise.
12851         * math/s_clog10.c: Likewise.
12852         * math/s_clog10f.c: Likewise.
12853         * math/s_clog10l.c: Likewise.
12854         * math/s_clogf.c: Likewise.
12855         * math/s_clogl.c: Likewise.
12856         * math/s_csin.c: Likewise.
12857         * math/s_csinf.c: Likewise.
12858         * math/s_csinh.c: Likewise.
12859         * math/s_csinhf.c: Likewise.
12860         * math/s_csinhl.c: Likewise.
12861         * math/s_csinl.c: Likewise.
12862         * math/s_csqrt.c: Likewise.
12863         * math/s_csqrtf.c: Likewise.
12864         * math/s_csqrtl.c: Likewise.
12865         * math/s_ctan.c: Likewise.
12866         * math/s_ctanf.c: Likewise.
12867         * math/s_ctanh.c: Likewise.
12868         * math/s_ctanhf.c: Likewise.
12869         * math/s_ctanhl.c: Likewise.
12870         * math/s_ctanl.c: Likewise.
12871         * math/s_ldexp.c: Likewise.
12872         * math/s_ldexpf.c: Likewise.
12873         * math/s_ldexpl.c: Likewise.
12874         * math/s_significand.c: Likewise.
12875         * math/s_significandf.c: Likewise.
12876         * math/s_significandl.c: Likewise.
12877         * math/w_acos.c: Likewise.
12878         * math/w_acosf.c: Likewise.
12879         * math/w_acosh.c: Likewise.
12880         * math/w_acoshf.c: Likewise.
12881         * math/w_acoshl.c: Likewise.
12882         * math/w_acosl.c: Likewise.
12883         * math/w_asin.c: Likewise.
12884         * math/w_asinf.c: Likewise.
12885         * math/w_asinl.c: Likewise.
12886         * math/w_atan2.c: Likewise.
12887         * math/w_atan2f.c: Likewise.
12888         * math/w_atan2l.c: Likewise.
12889         * math/w_atanh.c: Likewise.
12890         * math/w_atanhf.c: Likewise.
12891         * math/w_atanhl.c: Likewise.
12892         * math/w_cosh.c: Likewise.
12893         * math/w_coshf.c: Likewise.
12894         * math/w_coshl.c: Likewise.
12895         * math/w_dremf.c: Likewise.
12896         * math/w_exp10.c: Likewise.
12897         * math/w_exp10f.c: Likewise.
12898         * math/w_exp10l.c: Likewise.
12899         * math/w_exp2.c: Likewise.
12900         * math/w_exp2f.c: Likewise.
12901         * math/w_fmod.c: Likewise.
12902         * math/w_fmodf.c: Likewise.
12903         * math/w_fmodl.c: Likewise.
12904         * math/w_hypot.c: Likewise.
12905         * math/w_hypotf.c: Likewise.
12906         * math/w_hypotl.c: Likewise.
12907         * math/w_j0.c: Likewise.
12908         * math/w_j0f.c: Likewise.
12909         * math/w_j0l.c: Likewise.
12910         * math/w_j1.c: Likewise.
12911         * math/w_j1f.c: Likewise.
12912         * math/w_j1l.c: Likewise.
12913         * math/w_jn.c: Likewise.
12914         * math/w_jnf.c: Likewise.
12915         * math/w_jnl.c: Likewise.
12916         * math/w_lgamma.c: Likewise.
12917         * math/w_lgamma_r.c: Likewise.
12918         * math/w_lgammaf.c: Likewise.
12919         * math/w_lgammaf_r.c: Likewise.
12920         * math/w_lgammal.c: Likewise.
12921         * math/w_lgammal_r.c: Likewise.
12922         * math/w_log.c: Likewise.
12923         * math/w_log10.c: Likewise.
12924         * math/w_log10f.c: Likewise.
12925         * math/w_log10l.c: Likewise.
12926         * math/w_log2.c: Likewise.
12927         * math/w_log2f.c: Likewise.
12928         * math/w_log2l.c: Likewise.
12929         * math/w_logf.c: Likewise.
12930         * math/w_logl.c: Likewise.
12931         * math/w_pow.c: Likewise.
12932         * math/w_powf.c: Likewise.
12933         * math/w_powl.c: Likewise.
12934         * math/w_remainder.c: Likewise.
12935         * math/w_remainderf.c: Likewise.
12936         * math/w_remainderl.c: Likewise.
12937         * math/w_scalb.c: Likewise.
12938         * math/w_scalbf.c: Likewise.
12939         * math/w_scalbl.c: Likewise.
12940         * math/w_sinh.c: Likewise.
12941         * math/w_sinhf.c: Likewise.
12942         * math/w_sinhl.c: Likewise.
12943         * math/w_sqrt.c: Likewise.
12944         * math/w_sqrtf.c: Likewise.
12945         * math/w_sqrtl.c: Likewise.
12946         * math/w_tgamma.c: Likewise.
12947         * math/w_tgammaf.c: Likewise.
12948         * math/w_tgammal.c: Likewise.
12950         * po/ja.po: Update from translation team.
12952 2011-09-29  Andreas Jaeger  <aj@suse.de>
12954         [BZ #13179]
12955         * sunrpc/netname.c (netname2host): Fix logic.
12957         [BZ #6779]
12958         [BZ #6783]
12959         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12960         correctly.
12961         * math/w_remainder.c (__remainder): Likewise.
12962         * math/w_remainderf.c (__remainderf): Likewise.
12963         * math/libm-test.inc (remainder_test): Add test cases.
12965 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12967         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
12968         sdiv_qrnnd.
12970 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
12972         * string/test-memcmp.c: Avoid unncessary #defines.
12973         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12975 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12977         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12978         Use new sse2 version for core i3 - i7 as it's faster
12979         than sse42 version.
12980         (bit_Prefer_PMINUB_for_stringop): New.
12981         * sysdeps/x86_64/rawmemchr.S: Update.
12982         Replace with faster SSE2 version.
12983         * sysdeps/x86_64/memrchr.S: New file.
12984         * sysdeps/x86_64/memchr.S: Update.
12985         Replace with faster SSE2 version.
12987 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
12989         * elf/dl-load.c (lose): Add cast to avoid warning.
12991 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
12993         * po/ca.po: Update from translation team.
12995         * inet/getnetgrent_r.c: Hook up nscd.
12996         * nscd/Makefile (routines): Add nscd_netgroup.
12997         (nscd-modules): Add netgroupcache.
12998         (CFLAGS-netgroupcache.c): Define.
12999         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13000         (cache_search): Add const to second parameter.
13001         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13002         INNETGR.
13003         (dbs): Add netgrdb entry.
13004         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13005         (verify_persistent_db): Handle netgrdb.
13006         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13007         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13008         GETFDNETGR.
13009         (netgroup_response_header): Define.
13010         (innetgroup_response_header): Define.
13011         (datahead): Add netgroup_response_header and innetgroup_response_header
13012         elements.
13013         * nscd/nscd.conf: Add entries for netgroup cache.
13014         * nscd/nscd.h (dbtype): Add netgrdb.
13015         (_PATH_NSCD_NETGROUP_DB): Define.
13016         (netgroup_iov_disabled): Declare.
13017         (xmalloc, xcalloc, xrealloc): Move declarations here.
13018         (cache_search): Adjust prototype.
13019         Add netgroup-related prototypes.
13020         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13021         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13022         (__nscd_innetgr): Declare.
13023         * nscd/selinux.c (perms): Use access_vector_t as element type and
13024         add netgroup-related initializers.
13025         * nscd/netgroupcache.c: New file.
13026         * nscd/nscd_netgroup.c: New file.
13027         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13028         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13029         For four parameters use innetgr.
13030         * nss/nss_files/files-init.c: Add definition and callback for netgr.
13031         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13032         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13033         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13035         * nscd/connections.c (register_traced_file): Don't register file
13036         for disabled databases.
13038 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
13040         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13042         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13043         from tree and freeing node.
13045 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
13047         * nss/nsswitch.c (__nss_database_lookup): Handle
13048         nss_parse_service_list out of memory case.
13050 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
13052         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13053         out of memory case.
13055 2011-10-04  Andreas Schwab  <schwab@redhat.com>
13057         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13058         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13059         pass it down.
13060         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13061         elf_machine_rela, elf_machine_lazy_rel.
13062         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13063         (ELF_DYNAMIC_DO_REL): Likewise.
13064         (ELF_DYNAMIC_DO_RELA): Likewise.
13065         (ELF_DYNAMIC_RELOCATE): Likewise.
13066         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13067         to ELF_DYNAMIC_DO_REL.
13068         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13069         (dl_main): In trace mode always set __RTLD_NOIFUNC.
13070         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13071         elf_machine_rela.
13072         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13073         skip_ifunc, don't call ifunc function if non-zero.
13074         (elf_machine_rela): Likewise.
13075         (elf_machine_lazy_rel): Likewise.
13076         (elf_machine_lazy_rela): Likewise.
13077         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13078         (elf_machine_lazy_rel): Likewise.
13079         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13080         Likewise.
13081         (elf_machine_lazy_rel): Likewise.
13082         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13083         Likewise.
13084         (elf_machine_lazy_rel): Likewise.
13085         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13086         (elf_machine_lazy_rel): Likewise.
13087         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13088         (elf_machine_lazy_rel): Likewise.
13089         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13090         (elf_machine_lazy_rel): Likewise.
13091         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13092         (elf_machine_lazy_rel): Likewise.
13093         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13094         (elf_machine_lazy_rel): Likewise.
13095         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13096         (elf_machine_lazy_rel): Likewise.
13098 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
13100         * nss/nss_files/files-init.c (_nss_files_init): Use static
13101         initialization for all the *_traced_file variables.
13103 2011-09-28  Andreas Schwab  <schwab@redhat.com>
13105         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13107 2011-09-27  Roland McGrath  <roland@hack.frob.com>
13109         [BZ #13226]
13110         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13112 2011-09-27  Andreas Schwab  <schwab@redhat.com>
13114         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13115         Reread the line before reparsing it.
13117 2011-09-26  Andreas Schwab  <schwab@redhat.com>
13119         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13121 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
13122             Maxim Kuvyrkov  <maxim@codesourcery.com>
13123             Joseph Myers  <joseph@codesourcery.com>
13125         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13126         if needed for __stack_chk_guard.
13128 2011-09-19  Roland McGrath  <roland@hack.frob.com>
13130         * sysdeps/posix/spawni.c (script_execute): Always define it.
13131         It will be optimized away if unused.
13132         (maybe_script_execute): New function.
13133         (__spawni): Call it.
13135         * Makerules: Don't include tls.make.
13136         (config-tls): Always set to thread.
13137         * tls.make.c: File removed.
13139 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
13141         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13142         * config.make.in (CPPFLAGS-config): New substituted variable.
13144 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
13146         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13148         [BZ #13192]
13149         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13150         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13152 2011-09-15  Roland McGrath  <roland@hack.frob.com>
13154         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13155         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13156         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13157         (CALL_FAIL): Likewise.
13158         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13159         (CALL_FAIL): Macro removed.
13160         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13162 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
13164         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13165         for __FINITE_MATH_ONLY__ == 1.
13167 2011-09-15  Andreas Schwab  <schwab@redhat.com>
13169         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13170         __ieee754_sqrt instead of sqrt.
13171         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13172         __ieee754_sqrtf instead of sqrtf.
13173         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13174         __floorf instead of floorf.
13175         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13176         __floorf, __truncf instead of floorf, truncf.
13178 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
13180         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13182         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13183         __extern_always_inline.
13184         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13185         32-bit.
13187 2011-09-14  Andreas Schwab  <schwab@redhat.com>
13189         * elf/rtld.c (dl_main): Also relocate in dependency order when
13190         doing symbol dependency testing.
13192 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
13194         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13195         Always define `refsym'.
13197 2011-09-13  Andreas Schwab  <schwab@redhat.com>
13199         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13200         (__FD_ELT): Renamed from __FDELT.
13201         * misc/bits/select2.h (__FD_ELT): Likewise.
13202         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13203         __FD_MASK instead of __FDELT, __FDMASK.
13204         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13205         Likewise.
13206         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13207         Likewise.
13209         * elf/Makefile (gen-ldd): Fix pattern.
13211         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13212         (init_tls): Likewise.
13214 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
13216         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13218 2011-09-12  Andreas Schwab  <schwab@redhat.com>
13220         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13221         `struct cmsghdr *' instead of `void *'.
13222         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13223         Likewise.
13225 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
13227         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13228         if non-absolute.
13229         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13230         ldd_rewrite_script.
13232 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
13234         * configure.in: Remove --with-tls option.
13235         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13236         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13237         out in case it is missing.
13238         * sysdeps/ia64/elf/configure.in: Likewise.
13239         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13240         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13241         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13242         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13243         * sysdeps/sh/elf/configure.in: Likewise.
13244         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13245         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13246         * sysdeps/x86_64/elf/configure.in: Likewise.
13247         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13248         * sysdeps/mach/hurd/tls.h: Likewise.
13250         [BZ #13067]
13251         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13253         [BZ #13090]
13254         * configure.in: Fix use of AC_INIT.
13256         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13258 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
13260         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13261         __set_errno.
13262         * malloc/hooks.c: Likewise.
13264         [BZ #11929]
13265         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
13266         variables statically.
13267         (narenas): Initialize.
13268         (list_lock): Initialize.
13269         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
13270         initializtion of main_arena and list_lock.  Small cleanups.
13271         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13272         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
13273         Add initializers to main_arena and mp_.
13274         (malloc_state): Remove pagesize member.  Change all users to use
13275         GLRO(dl_pagesize).
13277         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13278         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
13279         is always initialized.
13281         * malloc/malloc.c: Removed unused configurations and dead code.
13282         * malloc/arena.c: Likewise.
13283         * malloc/hooks.c: Likewise.
13284         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13286         * include/tls.h: Removed.  USE___THREAD must always be defined.
13287         * bits/libc-tsd.h: Don't handle !USE___THREAD.
13288         * elf/dl-libc.c: Likewise.
13289         * elf/dl-tsd.c: Likewise.
13290         * include/errno.h: Likewise.
13291         * include/netdb.h: Likewise.
13292         * include/resolv.h: Likewise.
13293         * inet/herrno-loc.c: Likewise.
13294         * inet/herrno.c: Likewise.
13295         * malloc/arena.c: Likewise.
13296         * malloc/hooks.c: Likewise.
13297         * malloc/malloc.c: Likewise.
13298         * resolv/res-state.c: Likewise.
13299         * resolv/res_libc.c: Likewise.
13300         * sysdeps/i386/dl-machine.h: Likewise.
13301         * sysdeps/ia64/dl-machine.h: Likewise.
13302         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13303         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13304         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13305         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13306         * sysdeps/sh/dl-machine.h: Likewise.
13307         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13308         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13309         * sysdeps/unix/i386/sysdep.S: Likewise.
13310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13311         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13316         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13320         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13321         * sysdeps/x86_64/dl-machine.h: Likewise.
13322         * tls.make.c: Likewise.
13324         * configure.in: Remove --with-__thread option.  Make tests for
13325         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13326         tls_model attribute fail if no support is available.  Remove
13327         USE_IN_LIBIO.
13328         * Makeconfig: Adjust for dropped configure option.  All features are
13329         now mandatory.
13330         * Makerules: Likewise.
13331         * Versions.def: Likewise.
13332         * argp/argp-fmtstream.c: Likewise.
13333         * argp/argp-fmtstream.h: Likewise.
13334         * argp/argp-help.c: Likewise.
13335         * assert/assert.c: Likewise.
13336         * config.h.in: Likewise.
13337         * config.make.in: Likewise.
13338         * configure: Likewise.
13339         * configure.in: Likewise.
13340         * csu/Versions: Likewise.
13341         * csu/init.c: Likewise.
13342         * elf/tst-audit2.c: Likewise.
13343         * elf/tst-tls10.c: Likewise.
13344         * elf/tst-tls10.h: Likewise.
13345         * elf/tst-tls11.c: Likewise.
13346         * elf/tst-tls12.c: Likewise.
13347         * elf/tst-tls14.c: Likewise.
13348         * elf/tst-tlsmod11.c: Likewise.
13349         * elf/tst-tlsmod12.c: Likewise.
13350         * elf/tst-tlsmod13.c: Likewise.
13351         * elf/tst-tlsmod13a.c: Likewise.
13352         * elf/tst-tlsmod14a.c: Likewise.
13353         * elf/tst-tlsmod15b.c: Likewise.
13354         * elf/tst-tlsmod16a.c: Likewise.
13355         * elf/tst-tlsmod16b.c: Likewise.
13356         * elf/tst-tlsmod7.c: Likewise.
13357         * elf/tst-tlsmod8.c: Likewise.
13358         * elf/tst-tlsmod9.c: Likewise.
13359         * gmon/gmon.c: Likewise.
13360         * grp/fgetgrent_r.c: Likewise.
13361         * grp/putgrent.c: Likewise.
13362         * hurd/fopenport.c: Likewise.
13363         * include/libc-symbols.h: Likewise.
13364         * include/tls.h: Likewise.
13365         * intl/gettextP.h: Likewise.
13366         * intl/loadinfo.h: Likewise.
13367         * locale/global-locale.c: Likewise.
13368         * locale/localeinfo.h: Likewise.
13369         * mach/devstream.c: Likewise.
13370         * malloc/arena.c: Likewise.
13371         * malloc/set-freeres.c: Likewise.
13372         * misc/err.c: Likewise.
13373         * misc/getttyent.c: Likewise.
13374         * misc/mntent_r.c: Likewise.
13375         * posix/getopt.c: Likewise.
13376         * posix/wordexp.c: Likewise.
13377         * pwd/fgetpwent_r.c: Likewise.
13378         * resolv/Versions: Likewise.
13379         * resolv/res_hconf.c: Likewise.
13380         * shadow/fgetspent_r.c: Likewise.
13381         * shadow/putspent.c: Likewise.
13382         * stdio-common/printf_fphex.c: Likewise.
13383         * stdio-common/tmpfile.c: Likewise.
13384         * stdlib/abort.c: Likewise.
13385         * stdlib/fmtmsg.c: Likewise.
13386         * sunrpc/auth_unix.c: Likewise.
13387         * sunrpc/clnt_perr.c: Likewise.
13388         * sunrpc/clnt_tcp.c: Likewise.
13389         * sunrpc/clnt_udp.c: Likewise.
13390         * sunrpc/clnt_unix.c: Likewise.
13391         * sunrpc/openchild.c: Likewise.
13392         * sunrpc/svc_simple.c: Likewise.
13393         * sunrpc/svc_tcp.c: Likewise.
13394         * sunrpc/svc_udp.c: Likewise.
13395         * sunrpc/svc_unix.c: Likewise.
13396         * sunrpc/xdr.c: Likewise.
13397         * sunrpc/xdr_array.c: Likewise.
13398         * sunrpc/xdr_rec.c: Likewise.
13399         * sunrpc/xdr_ref.c: Likewise.
13400         * sunrpc/xdr_stdio.c: Likewise.
13402 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13404         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13406 2011-07-03  Andreas Jaeger  <aj@suse.de>
13408         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13409         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13410         regenerate with gen-libm-tests.pl.
13412 2010-05-12  Petr Baudis  <pasky@suse.cz>
13414         [BZ #11589]
13415         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13416         around j0() zero points by switching to j1().
13417         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13418         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13419         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13420         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13422 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13424         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13425         instead of 0.
13426         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13427         instead of 0.                              .
13428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13429         Patch in part by Pavel Roskin <proski@gnu.org>.
13431         [BZ #13138]
13432         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13433         realloc.
13434         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
13435         Free memory block if necessary.
13437         [BZ #12847]
13438         * libio/genops.c (INTDEF): For string streams the _lock pointer can
13439         be NULL.  Don't lock in this case.
13441 2011-09-09  Roland McGrath  <roland@hack.frob.com>
13443         * elf/elf.h (ELFOSABI_GNU): New macro.
13444         (ELFOSABI_LINUX): Define to that.
13446 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
13448         * string/strncat.c (strncat): Undef the symbol in case it has been
13449         defined in bits/string.h.
13451 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
13453         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13455         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13456         link map.
13458 2011-08-17  Andreas Jaeger  <aj@suse.de>
13460         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13462 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13463             Ian Lance Taylor  <iant@google.com>
13465         * math/libm-test.inc (lround_test): New testcase.
13466         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13468 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
13470         * Makefile: Remove support for automatic cvs check-ins.
13471         * Makerules: Likewise.
13472         * config.make.in: Likewise.
13473         * configure.in: Likewise.
13474         * intl/Makefile: Likewise.
13475         * locale/Makefile: Likewise.
13476         * po/Makefile: Likewise.
13477         * posix/Makefile: Likewise.
13478         * sysdeps/gnu/Makefile: Likewise.
13479         * sysdeps/mach/hurd/Makefile: Likewise.
13480         * sysdeps/sparc/sparc32/Makefile: Likewise.
13482         [BZ #13118]
13483         * posix/Makefile (bug-regex32-ENV): Define.
13484         Patch by John Stanley <jpsinthemix@verizon.net>.
13486         * misc/Makefile (headers): Add bits/select2.h.
13487         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13488         * misc/bits/select2.h: New file.
13489         * include/bits/select2.h: New file.
13490         * debug/Makefile (routines): Add fdelt_chk.
13491         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13492         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13493         FD_ISSET.
13494         * debug/fdelt_chk.c: New file.
13496         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
13497         * wcsmbs/test-wmemcmp.c: Likewise.
13498         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13499         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13501 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13503         * string/Makefile (strop-tests): Add memcmp.
13504         * string/test-wmemcmp.c: New file.
13505         * string/test-memcmp.c: Add wmemcmp support.
13507 2011-09-08  Roland McGrath  <roland@hack.frob.com>
13509         [BZ #13153]
13510         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13511         2011-07-19 change.
13513         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13514         garbage value in a __mach_port_mod_refs call in the cases of the
13515         task-self and thread-self ports.
13517 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13519         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13521 2011-09-08  Andreas Schwab  <schwab@redhat.com>
13523         * elf/dl-load.c (lose): Check for non-null L.
13525 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
13527         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13529         * elf/dl-libc.c (dlerror_run): Pass back error code from
13530         dl_catch_error.
13532         [BZ #13123]
13533         * elf/dl-load.c (lose): Free l_origin if it is valid.
13535         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13536         names.
13537         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13538         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13539         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13540         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13541         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13542         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13544 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13546         * sysdeps/powerpc/fpu/e_hypot.c: New file.
13547         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13548         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13549         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13550         * sysdeps/powerpc/fpu/k_cosf.c: New file.
13551         * sysdeps/powerpc/fpu/k_sinf.c: New file.
13552         * sysdeps/powerpc/fpu/s_cosf.c: New file.
13553         * sysdeps/powerpc/fpu/s_sinf.c: New file.
13554         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13555         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13557 2011-08-15  Alan Modra  <amodra@gmail.com>
13559         [BZ #13092]
13560         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13561         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13562         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
13563         ppc_mcount to static-only-routines.
13564         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13565         __mcount_internal.
13566         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13567         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
13569 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
13571         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13572         for finite and infinity parameters.
13574 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
13576         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13577         and add nop instructions for throughput optimization.
13578         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13580 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
13582         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13583         aligned copy for power7 with vector-scalar instructions.
13584         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13586 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
13588         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13589         AVX check.
13591 2011-09-07  Andreas Schwab  <schwab@redhat.com>
13593         [BZ #13144]
13594         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13595         last change.
13597 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
13599         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13600         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13601         syscall wrapper around clock_gettime in __vdso_clock_gettime.
13602         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13603         clock_gettime.
13605 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
13607         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13608         Forgot to demangle the pointer.
13610         * sysdeps/i386/sysdep.h: Define atom_text_section.
13611         * sysdeps/x86_64/sysdep.h: Likewise.
13612         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13613         section with atom_text_section.
13614         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13615         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13616         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13617         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13618         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13620         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13621         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13622         already be defined.  Change to take two parameters and don't assign
13623         result to variable.  Adjust all users.
13624         Define INTERNAL_GETTIME if not already defined.
13625         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13626         call.
13627         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13628         HAVE_CLOCK_GETTIME_VSYSCALL.
13629         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13631         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13632         gettimeofday vsyscall, just use time.
13634 2011-09-06  Andreas Schwab  <schwab@redhat.com>
13636         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13637         <errno.h>.
13639 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
13641         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13642         syscall on x86-64.
13643         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13644         syscall.
13645         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13646         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13647         syscall if possible.
13649 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
13651         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13652         e_ident.  Don't pass to find_mapsXX.
13653         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13655 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13657         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13658         strchr-sse2-no-bsf strrchr-sse2-no-bsf
13659         * sysdeps/x86_64/multiarch/strchr.S: Update.
13660         Check bit_slow_BSF bit.
13661         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13662         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13663         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13665 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
13667         [BZ #13134]
13668         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13669         before glibc 2.15.
13670         (tryshell): Define.
13671         (__spawni): Change last parameter to be flag.  Test
13672         SPAWN_XFLAGS_USE_PATH flag to use path or not.
13673         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13674         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13675         * posix/spawni.c: Likewise.
13676         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13677         * posix/spawnp.c: Likewise.  Change normal version to use
13678         SPAWN_XFLAGS_USE_PATH.
13679         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13680         SPAWN_XFLAGS_TRY_SHELL.
13682         [BZ #13150]
13683         * posix/glob.h: Remove gcc 1.x support.
13685         [BZ #13068]
13686         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13688 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13690         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13691         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13692         strrchr-sse2-bsf
13693         * sysdeps/i386/i686/multiarch/strchr.S: New file.
13694         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13695         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13696         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13697         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13698         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13700 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13702         * sysdeps/x86_64/wcscmp.S: New file.
13704         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13705         wcscmp-c wcscmp-sse2
13706         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13707         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13708         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13709         * wcsmbs/wcscmp.c: Allow renaming.
13711 2011-09-05  David S. Miller  <davem@davemloft.net>
13713         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13714         stack slot, rather than the struct return pointer slot.
13715         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13716         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13718         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13720 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
13722         * po/ja.po: Update from translation team.
13724         [BZ #13144]
13725         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13726         kernel in 64-bit binaries.
13728 2011-09-01  David S. Miller  <davem@davemloft.net>
13730         * elf/elf.h (HWCAP_SPARC_*): Move to..
13731         * sysdeps/sparc/sysdep.h: this new file and add new values.
13732         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13733         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13734         _DL_HWCAP_COUNT to 24.
13735         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13736         entries.
13737         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13738         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13739         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13740         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13741         instead of magic constants.
13742         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13744 2011-08-31  David S. Miller  <davem@davemloft.net>
13746         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13747         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13748         Reimplement to do errno handling inline.
13749         (SYSCALL_ERROR_HANDLER): New macro.
13750         (__SYSCALL_STRING): Do not do errno handling in asm.
13751         (__CLONE_SYSCALL_STRING): Delete.
13752         (__INTERNAL_SYSCALL_STRING): Delete.
13753         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13754         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13755         (PSEUDO): Reimplement to do errno handling inline.
13756         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13757         (SYSCALL_ERROR_HANDLER): New macro.
13758         (__SYSCALL_STRING): Do not do errno handling in asm.
13759         (__CLONE_SYSCALL_STRING): Delete.
13760         (__INTERNAL_SYSCALL_STRING): Delete.
13761         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13762         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13763         i386.
13764         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13765         (inline_syscall*): Add 'err' argument.
13766         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13767         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13768         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13769         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13771         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13772         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13774 2011-08-30  Andreas Schwab  <schwab@redhat.com>
13776         * elf/rtld.c (dl_main): Relocate objects in dependency order.
13778 2011-08-29  Jiri Olsa <jolsa@redhat.com>
13780         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13781         directive.
13783 2011-08-24  David S. Miller  <davem@davemloft.net>
13785         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13787 2011-08-24  Andreas Schwab  <schwab@redhat.com>
13789         * elf/Makefile: Add rules to build and run unload8 test.
13790         * elf/unload8.c: New file.
13791         * elf/unload8mod1.c: New file.
13792         * elf/unload8mod1x.c: New file.
13793         * elf/unload8mod2.c: New file.
13794         * elf/unload8mod3.c: New file.
13796         * elf/dl-close.c (_dl_close_worker): Reset private search list if
13797         it wasn't used.
13799 2011-08-23  David S. Miller  <davem@davemloft.net>
13801         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13802         subtract stack bias.
13803         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13804         %sp not %fp in calculations.
13805         (_JMPBUF_UNWINDS_ADJ): Likewise.
13807         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13808         (aio_suspend): Call it to force an exception region around the
13809         AIO_MISC_WAIT() invocation.
13811 2011-08-23  Andreas Schwab  <schwab@redhat.com>
13813         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13814         backslash.
13816 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
13818         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13819         protection macro.
13820         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13821         and <dl-machine.h>.
13822         (Elf64_FuncDesc): Remove.
13824 2011-08-22  David S. Miller  <davem@davemloft.net>
13826         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13827         sigaltstack check, add missing cfi directives.
13828         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13829         missing cfi directives, and sigaltstack handling.
13831 2011-08-16  Andreas Schwab  <schwab@redhat.com>
13833         [BZ #11724]
13834         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13835         object is seen twice.
13836         * elf/dl-fini.c (_dl_sort_fini): Likewise.
13838         * elf/Makefile (distribute): Add tst-initorder2.c.
13839         (tests): Add tst-initorder2.
13840         (modules-names): Add tst-initorder2a tst-initorder2b
13841         tst-initorder2c tst-initorder2d.  Add rules to build them.
13842         ($(objpfx)tst-initorder2.out): New rule.
13843         * elf/tst-initorder2.c: New file.
13844         * elf/tst-initorder2.exp: New file.
13846 2011-08-22  Andreas Schwab  <schwab@redhat.com>
13848         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13850         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13851         dependencies back to end of function.
13853         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13854         $(elfobjdir)/ld.so.
13856 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
13858         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13859         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13860         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13861         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13862         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13863         of __vdso_gettimeofday.
13864         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13865         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
13866         attribute_hidden.
13867         (_libc_vdso_platform_setup): Remove initialization of
13868         __vdso_gettimeofday and __vdso_time.
13870 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
13872         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13873         and fgetc_unlocked.
13874         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13875         getc_unlocked.
13877         * elf/dl-open.c (add_to_global): Report additions to the global scope
13878         for LD_DEBUG=scopes.
13879         (dl_open_worker): Also print scope of newly loaded dependencies.
13880         (_dl_show_scope): Indicate if there is no scope.
13882         [BZ #13114]
13883         * stdio-common/Makefile (tests): Add bug24.
13884         * stdio-common/bug24.c: New file.
13886 2011-08-19  Andreas Jaeger  <aj@suse.de>
13888         [BZ #13114]
13889         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13890         non-existant file when using close-on-exec mode.
13892 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
13894         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13895         the very first instruction.
13897         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13898         the CFI state in the end.
13899         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13900         inclusion of dl-trampoline.h.
13901         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13903 2011-08-19  Andreas Schwab  <schwab@redhat.com>
13905         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13906         expectations for long double.
13908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13909         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13911 2011-08-14  David S. Miller  <davem@davemloft.net>
13913         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13914         artificual limit depends upon the system page size.
13916 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
13918         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13919         * resolv/Makefile: Define CFLAGS-libresolv.
13921 2011-08-17  Andreas Schwab  <schwab@redhat.com>
13923         * nss/makedb.c (compute_tables): Make variables used in nested
13924         function static.
13926 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
13928         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13929         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13930         if buffer was too small.
13932         * elf/pldd.c (main): Attach to all threads in the process.
13933         Rewrite /proc handling to use *at functions.
13935 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
13937         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13938         specifies first scope to show.
13939         (dl_open_worker): Update callers.  Move printing scope of new
13940         object to before the relocation.
13941         * elf/rtld.c (dl_main): Update _dl_show_scope call.
13942         * sysdeps/generic/ldsodefs.h: Update declaration.
13944         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13945         string for the scope number.
13947 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
13949         * nscd/servicescache.c (cache_addserv): Make sure written is always
13950         initialized.
13952 2011-08-14  Roland McGrath  <roland@hack.frob.com>
13954         * sysdeps/i386/i486/bits/atomic.h
13955         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13956         statement expression, so as to suppress "set but not used" warning.
13957         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13959         * string/strncat.c (STRNCAT): Use prototype definition.
13961         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13962         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13963         -Iprograms here.
13964         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13965         (localedef-modules): Add localedef.
13966         (locale-modules): Add locale.
13968         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13969         * elf/rtld.c (dl_main): Invert order of assignment in last change,
13970         to avoid a warning.
13972 2011-08-14  David S. Miller  <davem@davemloft.net>
13974         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13975         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13977 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
13979         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13980         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13981         * elf/rtld.c (dl_main): Set l_name of vDSO.
13982         Call _dl_show_scope when DL_DEBUG_SCOPES.
13983         (process_dl_debug): Recognize scopes flag and also set it for all.
13984         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13985         Declare _dl_show_scope.
13987         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13988         (do_dlopen): Pass caller_dlopen to dl_open.
13989         (__libc_dlopen_mode): Initialize caller_dlopen.
13991         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13992         of libc.  Make tolower call locale-independent.  Optimize a bit by
13993         using isdigit instead of isalnum.
13994         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13996 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
13998         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13999         was a dependency or dynamically loaded.
14001 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
14003         * intl/l10nflist.c: Allow architecture-specific pop function.
14004         * sysdeps/x86_64/l10nflist.c: New file.
14006         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14007         classification.
14009 2011-08-10  Andreas Schwab  <schwab@redhat.com>
14011         * include/dirent.h: Add libc_hidden_proto for scandirat and
14012         scandirat64.  Don't declare __scandirat64.
14013         * dirent/scandirat.c: Add libc_hidden_def.
14014         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14015         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14017 2011-08-10  David S. Miller  <davem@davemloft.net>
14019         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14020         enum.
14021         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14022         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14023         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14025 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
14027         * Versions.def [libc]: Add GLIBC_2.15.
14028         * dirent/Makefile (routines): Add scandirat and scandirat64.
14029         * dirent/Versions [libc]: Export scandirat and scandirat64 for
14030         GLIBC_2.15.
14031         * dirent/dirent.h: Declare scandirat and scandirat64.
14032         * dirent/scandirat.c: New file.
14033         * dirent/scandirat64.c: New file.
14034         * sysdeps/wordsize-64/scandirat.c: New file.
14035         * sysdeps/wordsize-64/scandirat64.c: New file.
14036         * dirent/opendir.c: Define opendirat.
14037         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
14038         using scandirat.
14039         * dirent/scandir64.c: Adjust for scandir.c change.
14040         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
14041         __scandirat64, and __scandir_cancel_handler.
14042         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
14043         additional parameter and use openat instead of open (outside of ld.so).
14044         Add new __opendir as wrapper around __opendirat.
14045         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14046         here without requiring old scandirat implementation.
14048 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
14050         * dirent/scandir.c (cancel_handler): Renamed to
14051         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
14052         defined.  Adjust users.
14053         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14054         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14056 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
14058         * string/test-string.h (IMPL): Use __STRING to expand name and then
14059         stringify it.
14061         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
14062         of cleanups.
14064 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14066         * string/Makefile: Update.
14067         (strop-tests): Append strncat.
14068         * string/test-wcscmp.c: New file.
14069         New comprehensive test for wcscmp.
14070         * string/test-strcmp.c: Update.
14071         (WIDE): New define.
14073 2011-07-22  Andreas Schwab  <schwab@redhat.com>
14075         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14076         line.
14078 2011-07-26  Andreas Schwab  <schwab@redhat.com>
14080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14081         encoding to ACE if AI_IDN.
14083 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
14085         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14086         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14088 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14090         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14091         Fix overflow bug in strncat.
14092         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14094         * string/test-strncat.c: Update.
14095         Add new tests for checking overflow bugs.
14097 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14100         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14101         * sysdeps/i386/i686/multiarch/strcat.S: New file.
14102         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14103         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14104         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14105         * sysdeps/i386/i686/multiarch/strncat.S: New file.
14106         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14107         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14109         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14110         (USE_AS_STRCAT): Define.
14111         Add strcat and strncat support.
14112         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14114 2011-07-25  Andreas Schwab  <schwab@redhat.com>
14116         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14117         __n bigger than INT_MAX+1.
14118         (__strncmp_g): Likewise.
14120 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
14122         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14123         * libio/stido.h: Likewise.
14125         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14126         (AF_NFC): Define.
14127         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14128         (AF_NFC): Define.
14130         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14131         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14132         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14133         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14134         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14136         [BZ #13021]
14137         * scripts/test-installation.pl: Don't expect libnss_test1 to be
14138         installed.
14140         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14141         typo.
14142         (_dl_x86_64_save_sse): Likewise.
14144 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
14146         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14147         OSXSAVE.
14148         (_dl_x86_64_save_sse): Likewise.
14150         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14152         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14154 2011-07-21  Andreas Schwab  <schwab@redhat.com>
14156         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14157         change.
14158         (_dl_x86_64_save_sse): Use correct AVX check.
14160 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14162         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14163         bug in strncpy/strncat.
14164         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14166 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
14168         * string/tester.c (test_strcat): Add tests for different alignments
14169         of source and destination.
14170         (test_strncat): Likewise.
14172 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
14174         [BZ #12852]
14175         * posix/glob.c (glob): Check passed in values before using them in
14176         expressions to avoid some overflows.
14177         (glob_in_dir): Likewise.
14179         [BZ #13007]
14180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14181         check for AVX enablement so that we don't crash with old kernels and
14182         new hardware.
14183         * elf/tst-audit4.c: Add same checks here.
14184         * elf/tst-audit6.c: Likewise.
14186         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14188 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
14190         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14192 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
14194         * po/cs.po: Update from translation team.
14195         * po/bg.po: Likewise.
14197 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
14199         * misc/sys/cdefs.h: Add support for const attribute.
14200         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14201         to gnu_dev_{major,minor,makedev} functions.
14203 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
14205         * intl/dcigettext.c (get_output_charset): Add missing bracket.
14207 2011-07-20  Andreas Schwab  <schwab@redhat.com>
14209         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14210         strlen results.
14212 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14214         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14215         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14216         register in order to avoid conflicts with the soft frame pointer
14217         being held in r11 when necessary.
14218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14219         (INTERNAL_VSYSCALL_NCS): Likewise.
14221 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
14223         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14224         * elf/dl-fini.c (_dl_fini): Adjust caller.
14225         * elf/dl-close.c (_dl_close_worker): Likewise.
14226         * sysdeps/generic/ldsodefs.h: Adjust declaration.
14228 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
14230         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14231         "aux_cache->nlibs < 0".
14233         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14234         in the reload-count case.
14236 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14239         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14240         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14241         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14242         * sysdeps/x86_64/multiarch/strcat.S: New file.
14243         * sysdeps/x86_64/multiarch/strncat.S: New file.
14244         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14245         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14246         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14247         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14248         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14249         (USE_AS_STRCAT): Define.
14250         Add strcat and strncat support.
14251         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14252         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14253         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14254         * string/strncat.c: Update.
14255         (USE_AS_STRNCAT): Define.
14256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14257         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14258         and i7.
14259         * sysdeps/x86_64/multiarch/init-arch.h
14260         (bit_Prefer_PMINUB_for_stringop): New.
14261         (index_Prefer_PMINUB_for_stringop): Likewise.
14262         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14263         bit_Prefer_PMINUB_for_stringop.
14265 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
14267         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14268         buffer64.
14269         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14270         of casting of buffer.
14271         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14272         buffer32 and buffer64.
14273         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14274         writes instead of casting of buffer.
14275         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14276         buffer32.
14277         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14278         casting of buffer.
14280 2011-07-19  Andreas Schwab  <schwab@redhat.com>
14282         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14284 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
14286         * nscd/nscd.c (termination_handler): Don't do anything for a database
14287         if it has not yet been initialized.
14289 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
14291         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14293 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
14295         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14297 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
14299         * po/nl.po: Update from translation team.
14300         * po/sv.po: Likewise.
14302 2011-07-16  Roland McGrath  <roland@hack.frob.com>
14304         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14305         now disallowed by GCC.
14307         * configure.in (use-default-link): Default to yes if a test -shared
14308         link meets our qualifications.
14309         * configure: Regenerated.
14311         * config.make.in (output-format): New variable.
14312         * configure.in: Check for ld --print-output-format support.
14313         * configure: Regenerated.
14314         * Makerules ($(common-objpfx)format.lds)
14315         [$(output-format) != unknown]: Just use $(output-format),
14316         instead of the linker-script munging.
14318 2011-07-14  Roland McGrath  <roland@hack.frob.com>
14320         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14321         of $(common-objpfx)shlib.lds.
14322         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14324         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14325         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14327         * configure.in (-z relro check): Adjust test code to add a large
14328         writable data section after it.
14329         * configure: Regenerated.
14331 2011-07-11  Roland McGrath  <roland@hack.frob.com>
14333         * configure.in (-z relro check): Fix test code to make the variable
14334         truly const.
14335         * configure: Regenerated.
14337 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
14339         * nscd/nscd.h (struct traced_file): Define.
14340         (struct database_dyn): Remove inotify_descr, reset_res, and filename
14341         elements.  Add traced_files.
14342         (inotify_fd): Declare.
14343         (register_traced_file): Declare.
14344         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14345         (inotify_fd): Export.
14346         (resolv_conf_descr): Remove.
14347         (nscd_init): Move inotify descriptor creation to main.
14348         Don't register files for notification here.
14349         (register_traced_file): New function.
14350         (invalidate_cache): Don't use reset_res to determine whether to call
14351         res_init, go through the list of registered files.
14352         (main_loop_poll): The inotify descriptors are now stored in the
14353         structures for the traced files.
14354         (main_loop_epoll): Likewise
14355         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
14356         to __nss_disable_nscd.
14357         * nscd/cache.c (prune_cache): There is no single inotify descriptor
14358         for a database anymore.  Check the records for all the registered
14359         files instead.
14360         * nss/Makefile (libnss_files-routines): Add files-init.
14361         (libnss_db-routines): Add db-init.
14362         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14363         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14364         * nss/nss_db/db-init.c: New file.
14365         * nss/nss_files/files-init.c: New file.
14366         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
14367         __nss_lookup_function.
14368         (__nss_lookup_function): Call nss_load_library.
14369         (nss_load_all_libraries): New function.
14370         (__nss_disable_nscd): Take parameter with callback function for files
14371         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
14372         used for the cached services.
14373         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14374         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14375         options for features to all the files in nscd.
14377         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14379 2011-07-10  Roland McGrath  <roland@hack.frob.com>
14381         * csu/elf-init.c (__libc_csu_init): Comment typo.
14383 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
14385         * po/pl.po: Update from translation team.
14386         * po/ja.po: Likewise.
14387         * po/ru.po: Likewise.
14388         * po/ko.po: Likewise.
14389         * po/fr.po: Likewise.
14391 2011-07-09  Roland McGrath  <roland@hack.frob.com>
14393         * configure.in (.ctors/.dtors header and trailer check):
14394         Use an empirical test on a built program.
14395         * configure: Regenerated.
14397         * configure.in (-z relro check): Use an empirical test on a built DSO.
14398         Detect, but do not require, on ia64.
14399         * configure: Regenerated.
14401         * configure.in (READELF): Find it with AC_CHECK_TOOL.
14402         Update tests that use readelf to use $READELF instead.
14403         * configure: Regenerated.
14405 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
14407         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14408         if the result is not used.
14410 2011-07-05  Andreas Jaeger  <aj@suse.de>
14412         [BZ#9696]
14413         * stdlib/tst-strtod.c: Add testcase.
14415 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
14417         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14418         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14419         The latter has a higher limit.  Take additional parameter to pass to
14420         the new function.
14421         (__pathconf): Pass file to __statfs_link_max.
14422         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14423         __statfs_link_max.
14424         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14425         __statfs_link_max.
14427         [BZ #12868]
14428         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14429         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14430         Handle Lustre.
14431         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14432         (__statfs_filesize_max): Likewise.
14433         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14435 2011-07-05  Andreas Jaeger  <aj@suse.de>
14437         * resolv/res_comp.c (dn_skipname): Remove unused variable.
14439 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
14441         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14442         `status' variable.
14443         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14444         Likewise.
14446 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
14448         * Makefile (strop-tests): Add strncat.
14449         * string/test-strncat.c: New file.
14451 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
14453         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14455 2011-06-21  Andreas Jaeger  <aj@suse.de>
14457         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14458         Copy rule from iconvdata/Makefile.
14460 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
14462         [BZ #12922]
14463         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14464         but no long options are defined, just return 'W'.
14466 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
14468         [BZ #9696]
14469         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14471 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
14473         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14474         netgroups to read.
14475         (innetgr): Likewise.
14477 2011-07-05  Roland McGrath  <roland@hack.frob.com>
14479         * config.make.in (install_root): Default to $(DESTDIR).
14481 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
14483         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14485 2011-07-02  Roland McGrath  <roland@hack.frob.com>
14487         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14489         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14490         containing directory rather than embedding absolute directory names.
14492         * scripts/check-local-headers.sh: Rewritten using awk.
14493         Match by word, not by line.  Print error messages for matches.
14494         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14496         * Makerules [shlib-lds-flags empty]:
14497         ($(common-objpfx)libc_pic.opts): New target.
14498         ($(common-objpfx)libc_pic.os.clean): New target.
14499         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14501         * config.make.in (OBJCOPY): New variable.
14502         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14503         * configure: Regenerated.
14505         * config.make.in (use-default-link): New variable.
14506         * configure.in (use_default_link): Grok --with-default-link to set it.
14507         * configure: Regenerated.
14508         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14509         (shlib-lds, shlib-lds-flags): Define to empty.
14511         * Makerules (shlib-lds): New variable.
14512         (shlib-lds-flags): New variable.
14513         (build-shlib, build-moduile, build-module-asneeded): Use it.
14514         ($(common-objpfx)libc.so): Use $(shlib-lds).
14515         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14516         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14518         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14519         DT_FLAGS/DT_FLAGS_1 with zero flags.
14521         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14522         linker script munging.
14524 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
14526         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14527         as 128-bit value.
14528         * crypt/sha512.c (sha512_process_block): Perform total addition using
14529         128-bit if possible.
14530         (__sha512_finish_ctx): Likewise.
14531         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14532         as 64-bit value.
14533         * crypt/sha256.c (SWAP64): Define.
14534         (sha256_process_block): Perform total addition using 64-bit if
14535         possible.
14536         (__sha256_finish_ctx): Likewise.
14538 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
14540         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
14541         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14542         * nscd/hstcache.c (cache_addhst): Likewise.
14543         * nscd/grpcache.c (cache_addgr): Likewise.
14544         * nscd/aicache.c (addhstaiX): Likewise
14545         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14547 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
14549         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14550         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14551         * nscd/hstcache.c (cache_addhst): Likewise.
14552         * nscd/grpcache.c (cache_addgr): Likewise.
14553         * nscd/aicache.c (addhstaiX): Likewise
14555 2011-07-01  Andreas Schwab  <schwab@redhat.com>
14557         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14558         domain only when needed.
14560 2011-06-30  Andreas Schwab  <schwab@redhat.com>
14562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14563         is always restored.
14565 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
14567         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14568         are re-adding the entry.
14569         * nscd/servicescache.c (cache_addserv): Likewise.
14571 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
14573         * sysdeps/generic/dl-irel.h: fix protection against multiple
14574         inclusions.
14575         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14577 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
14579         [BZ #12935]
14580         * malloc/memusage.sh: Fix quoting in message.
14581         * debug/xtrace.sh: Likewise.
14583         * configure.in: Remove support for --experimental-malloc option, make
14584         it the default.
14585         * config.make.in: Likewise.
14586         * malloc/Makefile: Likewise.
14588 2011-06-27  Andreas Schwab  <schwab@redhat.com>
14590         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14591         two-byte characters.
14593 2011-06-27  Roland McGrath  <roland@hack.frob.com>
14595         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14596         AC_CACHE_CHECK invocation.
14597         * configure: Regenerated.
14599         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14601 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
14603         [BZ #12350]
14604         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
14605         bit from old_res_options.
14607         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14609         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14610         value type for setfct.
14612 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
14614         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14615         __gettimeofday instead of gettimeofday.
14617 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
14619         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14621 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14623         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14625         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14626         info.
14628 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
14630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14631         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14632         strcpy-sse2-unaligned strncpy-sse2-unaligned
14633         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14634         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14635         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14636         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14637         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14638         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14639         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14640         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14641         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14642         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14643         (STRCPY): Support SSE2 and SSSE3 versions.
14645 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
14647         [BZ #12874]
14648         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14649         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14650         kernels which artificially limit size of requests.
14652 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
14654         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14655         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14656         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14657         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14658         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14659         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14660         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14661         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14662         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14663         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14664         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14665         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14666         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14667         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14668         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14670         Enable unaligned load optimization for Intel Core i3, i5 and i7
14671         processors.
14672         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14673         Define.
14674         (index_Fast_Unaligned_Load): Define.
14675         (HAS_FAST_UNALIGNED_LOAD): Define.
14677 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
14679         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14681 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
14683         [BZ #12907]
14684         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14685         until it is clear that the information is realy needed.
14686         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14688 2011-06-22  Andreas Schwab  <schwab@redhat.com>
14690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14692 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
14694         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14695         /sys/devices/system/cpu/online if it is usable.
14697         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14698         reading the information from the /proc filesystem to once a second.
14700 2011-06-21  Andreas Jaeger  <aj@suse.de>
14702         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14703         NULL after inclusion of kernel headers.
14705 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
14707         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14708         calls to internal_setent.
14710         [BZ #12885]
14711         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14712         addresses using gethostbyname4_r ignore IPv4 addresses.
14714         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14715         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
14717         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14719 2011-06-20  David S. Miller  <davem@davemloft.net>
14721         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14722         inclusions.
14723         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14725         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14726         (elf_irel): Use it.
14727         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14728         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14729         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14730         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14731         * sysdeps/x86_64/dl-irel.h: Likewise.
14733         * elf/dl-runtime.c: Use elf_ifunc_invoke.
14734         * elf/dl-sym.c: Likewise.
14736 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
14738         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
14739         need to dereference resplen2.
14741 2011-06-14  Andreas Schwab  <schwab@redhat.com>
14743         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14745 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
14747         * Makeconfig: Define vardbdir and inst_vardbdir.
14748         * nss/Makefile: Add rules to install db-Makefile.
14750         * nss/nss_db/db-XXX.c: Cleanup.
14752         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14753         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14754         GLIBC_PRIVATE.
14755         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14756         * nss/makedb.c: Implement -g option to specify that value strings
14757         are generated and should not be added to table iterated over for
14758         get*ent calls.
14759         * nss/nss_db/db-initgroups.c: New file.
14761         * nss/getent.c: Add support for initgroups lookups through getgrouplist
14762         interface.
14764         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14765         (internal_getgrouplist): Adjust to name change.
14766         Update use_initgroups_entry if this is not the first call.
14767         * nss/databases.def: Add initgroups entry.
14769         * nss/makedb.c (compute_tables): Check result of multiple hash table
14770         sizes to minimize maximum chain length.
14772 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
14774         * Versions.def: Add entry for libnss_db.
14775         * shlib-versions: Likewise.
14776         * nss/Makefile: Add rules to build libnss_db.
14777         * nss/Versions: Add libnss_db information.  Organize libnss_files
14778         entries better.
14779         * nss/db-Makefile: Add gshadow support.  Change rules for the new
14780         makedb progra.  Some minor improvements to generate smaller files.
14781         * nss/nss_db/nss_db.h: Move NSS database header data structures to
14782         here from...
14783         * nss/makedb.c: ...here.
14784         Improve database format to be smaller and require less memory at
14785         runtime.
14786         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
14787         db anymore.
14788         * nss/nss_db/db-netgrp.c: Likewise.
14789         * nss/nss_db/db-open.c: Likewise.
14790         * nss/nss_files/flies-XXX.x: Adjust comments.
14791         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14792         * nss/nss_files/files-grp.c: Likewise.
14793         * nss/nss_files/files-hosts.c: Likewise.
14794         * nss/nss_files/files-network.c: Likewise.
14795         * nss/nss_files/files-proto.c: Likewise.
14796         * nss/nss_files/files-pwd.c: Likewise.
14797         * nss/nss_files/files-rpc.c: Likewise.
14798         * nss/nss_files/files-service.c: Likewise.
14799         * nss/nss_files/files-sgrp.c: Likewise.
14800         * nss/nss_files/files-spwd.c: Likewise.
14801         * nss/nss_db/db-alias.c: Removed.
14802         * nss/nss_db/dummy-db.h: Removed.
14804 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
14806         * nss/makedb.c: Rewritten to not use database library.
14807         * nss/Makefile: Update to build new makedb program.
14809 2011-06-14  Andreas Jaeger  <aj@suse.de>
14811         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14812         memset declaration.
14814 2011-06-10  Andreas Schwab  <schwab@redhat.com>
14816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14817         tmpbuf.
14819 2011-06-10  Roland McGrath  <roland@hack.frob.com>
14821         * Makerules (shlib.lds): Fail if the linker script comes out empty.
14822         * elf/Makefile ($(objpfx)ld.so): Likewise.
14824         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14825         Don't list ld.so twice in dependencies.
14827         * posix/bug-regex31.c: Include <stdlib.h>.
14829         * nscd/hstcache.c (cache_addhst): Remove unused variable.
14831         * nis/nss_compat/compat-spwd.c
14832         (getspent_next_nss_netgr): Remove unused variable.
14833         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14835         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14836         nonmembers" output to use the right array.
14838         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14840         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14842         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14843         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14844         * catgets/gencat.c (read_input_file): Likewise.
14845         * locale/programs/locarchive.c (enlarge_archive): Likewise.
14847         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14848         variable definition inside #if's controlling its use.
14850         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14852         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14854         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14856         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14857         unreachable code.
14859         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14861         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14862         * configure: Regenerated.
14864         * Makerules: Revert last change.
14865         * elf/Makefile: Likewise.
14867 2011-06-09  Roland McGrath  <roland@hack.frob.com>
14869         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14870         * elf/Makefile ($(objpfx)librtld.os): Likewise.
14871         (reloc-link): Likewise.
14873 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
14875         * elf/Makefile: Add rules to build pldd.
14876         * elf/pldd.c: New file.
14877         * elf/pldd-xx.c: New file.
14879 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
14881         * version.h: Update for 2.15 development version.
14883 2011-06-07  David S. Miller  <davem@davemloft.net>
14885         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14886         ifuncs.
14887         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14888         elf_machine_lazy_rel): Likewise.
14889         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14890         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14891         elf_machine_lazy_rel): Likewise.
14892         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14893         dl_hwcap via passed in argument.
14894         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14895         Likewise.
14897 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14899         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
14901 2011-06-06  Roland McGrath  <roland@hack.frob.com>
14903         [BZ #12849]
14904         * manual/fdl-1.1.texi: New file, verbatim from:
14905         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14906         * manual/lgpl-2.1.texi: New file, verbatim from:
14907         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14908         * manual/Makefile (licenses): New variable, list those new file names.
14909         (texis): Use it.
14910         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14912         * manual/fdl.texi: File removed.
14913         * manual/lesser.texi: File removed.
14914         * manual/libc.texinfo (Copying, Documentation License):
14915         Use new @include file names, put @appendix directive before @include.
14917 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
14919         [BZ #12841]
14920         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14921         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14922         (mq_open): Add __NTH.
14924 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
14926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14927         Assume Intel Core i3/i5/i7 processor if AVX is available.
14929 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
14931         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14932         typo.
14934 2011-05-31  Andreas Schwab  <schwab@redhat.com>
14936         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14937         memory.  Use alloca_account.  Fix memory leak when retrying.
14939 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
14941         * version.h (RELEASE): Bump for 2.14 release.
14942         * include/features.h (__GLIBC_MINOR__): Bump to 14.
14944         * config.make.in (RANLIB): Remove entry.
14946 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
14948         * po/Makefile (po-sed-cmd): Add ksh to extensions.
14949         (libc.pot): Work around missing support for .ksh extension in xgettext.
14951         [BZ #12684]
14952         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14953         if both request failed.
14954         (send_dg): In case of server errors clear resplen or *resplen2.
14956         [BZ #12454]
14957         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14958         when there are multiple maps.
14959         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14960         (_dl_fini): Remove test here.
14962         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14964 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
14966         [BZ #12350]
14967         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14968         bit from old_res_options.
14969         (gaih_inet): Likewise.
14971         [BZ #11099]
14972         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14973         as signed.
14975         * resolv/res_init.c (res_setoptions): Make the code more compact.
14977         [BZ #11558]
14978         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14979         set RES_USEVC.
14981         [BZ #11634]
14982         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14984         * malloc/malloc.h: Mark malloc hook variables as deprecated.
14986         [BZ #11781]
14987         * malloc/malloc.h: Declare malloc hook variables as volatile.
14989         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14990         in last patch.
14992         [BZ #11799]
14993         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14994         raise in the comment.
14995         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14996         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14997         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14999 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
15001         [BZ #12811]
15002         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15003         grow the buffers more if it already has to be sufficient.
15004         (build_wcs_upper_buffer): Likewise.
15005         * posix/regexec.c (check_matching): Likewise.
15006         (clean_state_log_if_needed): Likewise.
15007         (extend_buffers): Don't enlarge buffers beyond size of the input
15008         buffer.
15009         Patches mostly by Emil Wojak <emil@wojak.eu>.
15010         * posix/bug-regex32.c: New file.
15011         * posix/Makefile (tests): Add bug-regex32.
15013         * locale/findlocale.c (_nl_find_locale): Return right away if
15014         _nl_explode_name failed.
15015         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15017         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15019         * debug/xtrace.sh: Unify messages.
15020         * malloc/memusage.sh: Likewise.
15022         [BZ #12813]
15023         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15024         time symbol from vDSO.  Substitute with vsyscall if not available.
15025         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15026         __vdso_time.
15028         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15029         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15030         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15031         Add sendmmsg and internal_sendmmsg.
15032         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15033         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15034         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15036         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15037         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15038         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15040 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
15042         [BZ #12813]
15043         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15044         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
15045         available.
15046         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15047         __vdso_getcpu.
15049         [BZ #12814]
15050         * iconvdata/Makefile (tests): Add bug-iconv9.
15051         * iconvdata/bug-iconv9.c: New file.
15053 2011-05-27  Andreas Schwab  <schwab@redhat.com>
15055         [BZ #12814]
15056         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15058 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
15060         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15061         (struct user_regs_struct): Change intcs field back to cs.
15063 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
15065         * po/ja.po: Update from translation team.
15067 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
15069         [BZ #12795]
15070         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15071         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15073 2011-05-20  Andreas Schwab  <schwab@redhat.com>
15075         * stdlib/longlong.h: Update from GCC.
15077 2011-05-23  Andreas Schwab  <schwab@redhat.com>
15079         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15080         parameter name.
15081         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15082         Add parameter name.
15083         (__sysconf): Pass it down.
15085 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
15087         [BZ #12671]
15088         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15089         some situations.
15090         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15091         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15092         add in in __libc_use_alloca calls.  Adjust callers.
15093         (glob): Use malloc in some situations.
15095         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15096         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15097         pltexit.
15099 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
15101         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15102         and CLOCK_BOOTTIME_ALARM.
15104         [BZ #12782]
15105         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15106         is returned.
15108         * string/_strerror.c (__strerror_r): Print negative errors as signed
15109         numbers.
15111         [BZ #12777]
15112         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15113         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15114         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15116         * configure.in: Fix typo in redirection and correct removal of test
15117         files in two cases.
15119         [BZ #12788]
15120         * locale/setlocale.c (new_composite_name): Fix test to check for
15121         identical name of all categories.
15123         [BZ #12792]
15124         * libio/filedoalloc.c (local_isatty): New function.
15125         (_IO_file_doallocate): Use local_isatty.
15126         * stdio-common/perror.c (perror): In case a new stream is used
15127         forward the stream error.
15128         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15129         error flag.
15131 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
15133         [BZ #11869]
15134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15135         alloca.
15136         * include/alloca.h (extend_alloca_account): Define.
15138         [BZ #11857]
15139         * posix/regex.h: Fix comments with documentation of user-accessible
15140         fields after compilation and describe correct free'ing of pattern
15141         after re_compile_pattern.
15142         Patch by Reuben Thomas <rrt@sc3d.org>.
15144 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
15146         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15147         and -mno-altivec to prevent the compiler from using Altivec and/or
15148         VSX instructions when the corresponding registers are not available.
15150 2011-05-19  Andreas Schwab  <schwab@redhat.com>
15152         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15154 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
15156         * libio/freopen.c (freopen): Use __dup2, not dup2.
15157         * libio/freopen64.c (freopen64): Likewise.
15159 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
15161         [BZ #12775]
15162         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15163         * math/Makefile (tests): Add test-powl.
15164         (CFLAGS-test-powl.c): Define.
15165         * math/test-powl.c: New file.
15167 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
15169         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15171 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
15173         [BZ #11837]
15174         * iconvdata/gb18030.c: Update to GB18020-2005.
15176 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
15178         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15179         RE_SYNTAX_POSIX_AWK): Update to match recent development.
15180         Patch by Aharon Robbins <arnold@skeeve.com>.
15182         [BZ #11892]
15183         * stdlib/putenv.c (putenv): Don't always create copy of the variable
15184         on the stack.
15186         [BZ #11895]
15187         * misc/pselect.c (__pselect): Handle timeout value errors hidden
15188         through underflows.
15190         [BZ #12766]
15191         * misc/error.c (error_at_line): Ensure file_name and old_file_name
15192         point to strings before performing equality test for error_one_per_line
15193         mode.
15195         [BZ #11697]
15196         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15198         [BZ #11820]
15199         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15200         (struct user_fpregs_struct): Avoid __uint*_t types.
15202         [BZ #6420]
15203         * malloc/mtrace.c (tr_where): Add additional parameter to point to
15204         symbol info.  Use it instead of calling _dl_addr locally.
15205         (lock_and_info): New function.
15206         (tr_freehook): Call lock_and_info and pass symbol info as additional
15207         parameter to tr_where.
15208         (tr_mallochook): Likewise.
15209         (tr_reallochook): Likewise.
15210         (tr_memalignhook): Likewise.
15212         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
15213         used and couldn't be at all thread-safe.
15215 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
15217         * libio/freopen.c (freopen): Don't close old file descriptor
15218         before the new one is opened.  Instead dup the new file descriptor
15219         to the old one after the new stream is created.
15220         * libio/freopen64.c (freopen64): Likewise.
15221         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15222         * libio/fileops.c (_IO_new_file_close_it): Handle new
15223         _IO_FLAGS2_NOCLOSE flag.
15224         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15225         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15226         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15227         _IO_FLAGS2_NOCLOSE flag.
15228         * include/unistd.h: Add hidden_proto for dup3.
15229         Define __have_dup3.
15230         * io/dup3.c: Define hidden symbol.
15231         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15233         [BZ #7101]
15234         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15235         when an incomplete long option is used.
15236         * posix/tst-getopt_long1.c: New file.
15237         * posix/Makefile (tests): Add tst-getopt_long1.
15239         [BZ #10138]
15240         * scripts/config.guess: Update from autoconf-2.68.
15241         * scripts/config.sub: Likewise.
15243         [BZ #10157]
15244         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15245         tests into ...
15246         (has_cpuclock): ...this.  New function.
15247         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15248         macro here based on has_cpuclock code.
15250         [BZ #10149]
15251         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15252         First byte (not low byte) is now always NUL.
15253         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15255         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15256         Use non-cancelable interfaces.
15258         [BZ #9809]
15259         * locale/iso-639.def: Add entry for Sorani.
15261         [BZ #11901]
15262         * include/stdlib.h: Move include protection to the right place.
15263         Define abort_msg_s.  Declare __abort_msg with it.
15264         * stdlib/abort.c (__abort_msg): Adjust type.
15265         * assert/assert.c (__assert_fail_base): New function.  Majority
15266         of code from __assert_fail.  Allocate memory for __abort_msg with
15267         mmap.
15268         (__assert_fail): Now call __assert_fail_base.
15269         * assert/assert-perr.c: Remove bulk of implementation.  Use
15270         __assert_fail_base.
15271         * include/assert.hL Declare __assert_fail_base.
15272         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15273         mmap.
15274         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15276 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
15278         [BZ #11952]
15279         [BZ #12453]
15280         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15281         until all modules are registered in the DTV.
15282         * elf/Makefile: Add rules to build and run tst-tls19.
15283         * elf/tst-tls19.c: New file.
15284         * elf/tst-tls19mod1.c: New file.
15285         * elf/tst-tls19mod2.c: New file.
15286         * elf/tst-tls19mod3.c: New file.
15287         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15289         [BZ #12083]
15290         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15291         correctly.
15293         [BZ #12601]
15294         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15295         two-byte sequence errors.
15296         * iconvdata/Makefile (tests): Add bug-iconv8.
15297         * iconvdata/bug-iconv8.c: New file.
15299         [BZ #12626]
15300         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15301         buf2 definition.
15303         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15305         [BZ #12432]
15306         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15307         (dummy_getcfa): New function.
15308         (init): Get _Unwind_GetCFA address, use dummy if not found.
15309         (backtrace_helper): In recursion check, also check whether CFA changes.
15310         (__backtrace): Completely initialize arg.
15312         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15313         storing incomplete byte sequence in state object.  Avoid testing for
15314         guaranteed too small input if we know there is enough data available.
15316 2011-05-11  Andreas Schwab  <schwab@redhat.com>
15318         * Makeconfig (+link-pie): Indent.
15319         * Rules (binaries-pie): Define if $(have-fpie) and
15320         $(build-shared).
15321         (binaries-shared): Also filter out $(binaries-pie).
15322         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15323         * nscd/Makefile (others-pie): Add nscd.
15324         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15325         ($(objpfx)nscd): Remove command override.
15326         * login/Makefile (others-pie): Add pt_chown.
15327         ($(objpfx)pt_chown): Remove command override.
15328         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15329         remove command overrides.
15331 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
15333         * libio/tst_putwc.c: Fix error messages.
15335         [BZ #12724]
15336         * libio/fileops.c (_IO_new_file_close_it): Always flush when
15337         currently writing and seek to current position when not.
15338         * libio/Makefile (tests): Add bug-fclose1.
15339         * libio/bug-fclose1.c: New file.
15341 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
15343         [BZ #12511]
15344         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15345         don't set DF_1_NODELETE here.
15346         (do_lookup_x): When entering new entry test for copy relocation
15347         and if necessary set DF_1_NODELETE flag.
15348         * elf/tst-unique4.cc: New file.
15349         * elf/tst-unique4.h: New file.
15350         * elf/tst-unique4lib.cc: New file.
15351         * elf/Makefile: Add rules to build and run tst-unique4.
15352         Patch by Piotr Bury <pbury@goahead.com>.
15354 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
15356         [BZ #12052]
15357         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15359         [BZ #12625]
15360         * misc/mntent_r.c (addmntent): Flush the stream after the output
15362         [BZ #12393]
15363         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15364         (is_trusted_path_normalize): Skip initial colon.  Append slash
15365         to empty buffer.  Duplicate is_trusted_path code but allow
15366         constructed patch to be prefix.
15367         (is_dst): Allow $ORIGIN followed by /.
15368         (_dl_dst_substitute): Correct clearing of check_for_trusted.
15369         Correct testing of result of is_trusted_path_normalize
15370         (decompose_rpath): Fix warning.
15372 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
15374         [BZ #11257]
15375         * grp/initgroups.c (internal_getgrouplist): When we found the service
15376         list through the initgroups entry in nsswitch.conf do not always
15377         continue on a successful lookup.  Don't always use the
15378         __nss_group_database value if it is set.
15379         * nss/nsswitch.conf (initgroups): Change action for successful db
15380         lookup to continue for compatibility.
15382 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
15384         [BZ #11532]
15385         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15386         and CP774 modules.
15387         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15388         and CP774 modules.
15389         * iconvdata/tst-tables.sh: Likewise.
15390         * iconvdata/cp770.c: New file.
15391         * iconvdata/cp771.c: New file.
15392         * iconvdata/cp772.c: New file.
15393         * iconvdata/cp773.c: New file.
15394         * iconvdata/cp774.c: New file.
15395         * iconvdata/testdata/CP770: New file.
15396         * iconvdata/testdata/CP770..UTF8: New file.
15397         * iconvdata/testdata/CP771: New file.
15398         * iconvdata/testdata/CP771..UTF8: New file.
15399         * iconvdata/testdata/CP772: New file.
15400         * iconvdata/testdata/CP772..UTF8: New file.
15401         * iconvdata/testdata/CP773: New file.
15402         * iconvdata/testdata/CP773..UTF8: New file.
15403         * iconvdata/testdata/CP774: New file.
15404         * iconvdata/testdata/CP774..UTF8: New file.
15406         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15407         END CHARMAP line.
15408         * iconvdata/gen-8bit-gap.sh: Likewise.
15409         * iconvdata/gen-8bit.sh: Likewise.
15411         * locale/iso-639.def: Add ary entry.
15413         [BZ #11258]
15414         * locale/C-translit.h.in: Add U20A1 transliteration.
15416         [BZ #12178]
15417         * locale/iso-639.def: Add wae entry.
15418         Patch by Kevin Bortis <bortis@translate-wae.ch>.
15420         [BZ #12545]
15421         * locale/programs/localedef.c (construct_output_path): Use ssize_t
15422         for n.
15424         [BZ #12711]
15425         * locale/C-translit.h.in: Add entry for U20B9.
15426         Patch by pravin.d.s@gmail.com.
15428 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
15430         [BZ #12713]
15431         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15432         ENAMETOOLONG use generic getcwd.
15433         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
15434         in rtld.  Use *stat64.
15435         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15436         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15437         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15438         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15439         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15440         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15441         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15442         __fstatat64 macros.
15443         * include/dirent.h: Add libc_hidden_proto for rewinddir.
15444         * dirent/rewinddir.c: Add libc_hidden_def.
15445         * sysdeps/mach/hurd/rewinddir.c: Likewise.
15446         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
15448         * include/dirent.h (__alloc_dir): Add flags parameter.
15449         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15450         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15451         __alloc_dir.
15452         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
15453         from fdopendir if O_CLOEXEC is already set.
15455 2011-03-15  Alan Modra  <amodra@gmail.com>
15457         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15458         l_tls_firstbyte_offset non-zero.  Save padding offset in
15459         l_tls_firstbyte_offset for later use.
15460         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15461         freeing static tls block.
15463 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
15465         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15466         where #ifdef was intended.  The intent is to prevent ARG_MAX from
15467         being defined by the kernel headers.
15469 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
15471         [BZ #12734]
15472         * resolv/resolv.h: Define RES_NOTLDQUERY.
15473         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15474         no-tld-query and set RES_NOTLDQUERY.
15475         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15476         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15477         modern BIND to search name as TLD unless forbidden.
15479 2011-05-07  Petr Baudis  <pasky@suse.cz>
15480             Ulrich Drepper  <drepper@gmail.com>
15482         [BZ #12393]
15483         * elf/dl-load.c (fillin_rpath): Move trusted path check...
15484         (is_trusted_path): ...to here.
15485         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15486         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15487         using is_trusted_path_normalize() in setuid scripts.
15489 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15491         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15492         __BEGIN/__END_DECLS.
15494 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
15496         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15497         NSS_STATUS_NOTFOUND if no record was found.
15499 2011-05-05  Andreas Schwab  <schwab@redhat.com>
15501         * sunrpc/Makefile (headers): Add rpc/netdb.h.
15502         (headers-not-in-tirpc): Remove rpc/netdb.h
15503         * resolv/netdb.h: Revert last change.
15505 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15507         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15508         circular dependency between libgcc.a and libc.a.
15510 2011-05-05  Andreas Schwab  <schwab@redhat.com>
15512         * resolv/netdb.h: Don't include <rpc/netdb.h>.
15513         * nis/Makefile: Don't install rpcsvc/*.
15514         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15515         instead of <rpc/types.h>.
15516         (MAXHOSTNAMELEN): Define.
15518 2011-05-03  Andreas Schwab  <schwab@redhat.com>
15520         * elf/ldconfig.c (add_dir): Don't crash on empty path.
15522 2011-04-28  Maciej Babinski  <mbabinski@google.com>
15524         [BZ #12714]
15525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15526         gethostbyname4_r when IPv6 results are possible.
15528 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
15530         [BZ #12723]
15531         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15532         _PC_PIPE_BUF handling.
15534 2011-04-30  Bruno Haible  <bruno@clisp.org>
15536         [BZ #12717]
15537         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15538         * resolv/netdb.h (getnameinfo): Change type of flags parameter
15539         to 'int'.
15540         * inet/getnameinfo.c (getnameinfo): Likewise.
15542 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
15544         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15545         to groups setting in database lookup.
15546         * nss/nsswitch.conf: Add initgroups entry.
15548 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
15550         [BZ #12685]
15551         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15552         mode string.
15553         Patch by Eric Blake <eblake@redhat.com>.
15555 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
15557         * sunrpc/Makefile (need-export-routines): Add svc_run.
15558         (routines): Remove svc_run.
15559         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15560         * sunrpc/clnt_perr.c (clnt_perrno): Export.
15561         * sunrpc/svc_run.c (svc_run): Likewise.
15562         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15564 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
15566         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15567         problem in reallocation in last patch.
15569 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
15571         * sunrpc/Makefile: Move inclusion of Rules.
15573 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
15575         * nss/nss_files/files-initgroups.c: New file.
15576         * nss/Makefile (libnss_files-routines): Add files-initgroups.
15577         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15578         _nss_files_initgroups_dyn.
15580 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
15582         * elf/elf.h (R_ARM_IRELATIVE): Define.
15584 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
15586         * po/ru.po: Update from translation team.
15588 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
15590         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15591         dependencies.
15593 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
15595         [BZ #12653]
15596         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15597         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15598         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15599         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15600         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15602 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
15604         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15605         differing bytes.
15606         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15607         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15608         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15610 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
15612         [BZ #12420]
15613         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15614         storing it.
15615         * stdlib/bug-getcontext.c: New file.
15616         * stdlib/Makefile: Add rules to build and run bug-getcontext.
15618 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15620         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15621         instructions into .machine "z9-109".
15622         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15623         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15625 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15627         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15628         between environment variables and auxiliary vector.
15630 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
15632         * Makefile: Add rules to build linkobj/libc.so.
15633         * include/libc-symbols.h: Define libc_hidden_nolink.
15634         * include/rpc/auth.h: Mark functions which are to be hidden.
15635         * include/rpc/auth_des.h: Likewise.
15636         * include/rpc/auth_unix.h: Likewise.
15637         * include/rpc/clnt.h: Likewise.
15638         * include/rpc/des_crypt.h: Likewise.
15639         * include/rpc/key_prot.h: Likewise.
15640         * include/rpc/pmap_clnt.h: Likewise.
15641         * include/rpc/pmap_prot.h: Likewise.
15642         * include/rpc/pmap_rmt.h: Likewise.
15643         * include/rpc/rpc_msg.h: Likewise.
15644         * include/rpc/svc.h: Likewise.
15645         * include/rpc/svc_auth.h: Likewise.
15646         * include/rpc/xdr.h: Likewise.
15647         * nis/Makefile: Link all DSOs against linkobj/libc.so.
15648         * nss/Makefile: Likewise.
15649         * sunrpc/Makefile: Don't install headers.  Build library with normal
15650         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
15651         * sunrpc/auth_des.c: Hide exported symbols by default, export some
15652         for the compat linking library.  Remove use of INTDEF/INTUSE.
15653         * sunrpc/auth_none.c: Likewise.
15654         * sunrpc/auth_unix.c: Likewise.
15655         * sunrpc/authdes_prot.c: Likewise.
15656         * sunrpc/authuxprot.c: Likewise.
15657         * sunrpc/clnt_gen.c: Likewise.
15658         * sunrpc/clnt_perr.c: Likewise.
15659         * sunrpc/clnt_raw.c: Likewise.
15660         * sunrpc/clnt_simp.c: Likewise.
15661         * sunrpc/clnt_tcp.c: Likewise.
15662         * sunrpc/clnt_udp.c: Likewise.
15663         * sunrpc/clnt_unix.c: Likewise.
15664         * sunrpc/des_crypt.c: Likewise.
15665         * sunrpc/des_soft.c: Likewise.
15666         * sunrpc/get_myaddr.c: Likewise.
15667         * sunrpc/key_call.c: Likewise.
15668         * sunrpc/key_prot.c: Likewise.
15669         * sunrpc/netname.c: Likewise.
15670         * sunrpc/pm_getmaps.c: Likewise.
15671         * sunrpc/pm_getport.c: Likewise.
15672         * sunrpc/pmap_clnt.c: Likewise.
15673         * sunrpc/pmap_prot.c: Likewise.
15674         * sunrpc/pmap_prot2.c: Likewise.
15675         * sunrpc/pmap_rmt.c: Likewise.
15676         * sunrpc/publickey.c: Likewise.
15677         * sunrpc/rpc_cmsg.c: Likewise.
15678         * sunrpc/rpc_common.c: Likewise.
15679         * sunrpc/rpc_dtable.c: Likewise.
15680         * sunrpc/rpc_prot.c: Likewise.
15681         * sunrpc/rpc_thread.c: Likewise.
15682         * sunrpc/rtime.c: Likewise.
15683         * sunrpc/svc.c: Likewise.
15684         * sunrpc/svc_auth.c: Likewise.
15685         * sunrpc/svc_authux.c: Likewise.
15686         * sunrpc/svc_raw.c: Likewise.
15687         * sunrpc/svc_run.c: Likewise.
15688         * sunrpc/svc_simple.c: Likewise.
15689         * sunrpc/svc_tcp.c: Likewise.
15690         * sunrpc/svc_udp.c: Likewise.
15691         * sunrpc/svc_unix.c: Likewise.
15692         * sunrpc/svcauth_des.c: Likewise.
15693         * sunrpc/xcrypt.c: Likewise.
15694         * sunrpc/xdr.c: Likewise.
15695         * sunrpc/xdr_array.c: Likewise.
15696         * sunrpc/xdr_float.c: Likewise.
15697         * sunrpc/xdr_intXX_t.c: Likewise.
15698         * sunrpc/xdr_mem.c: Likewise.
15699         * sunrpc/xdr_rec.c: Likewise.
15700         * sunrpc/xdr_ref.c: Likewise.
15701         * sunrpc/xdr_sizeof.c: Likewise.
15702         * sunrpc/xdr_stdio.c: Likewise.
15704 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
15706         [BZ #12650]
15707         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15708         * sysdeps/ia64/dl-tls.h: Likewise.
15709         * sysdeps/powerpc/dl-tls.h: Likewise.
15710         * sysdeps/s390/dl-tls.h: Likewise.
15711         * sysdeps/sh/dl-tls.h: Likewise.
15712         * sysdeps/sparc/dl-tls.h: Likewise.
15713         * sysdeps/x86_64/dl-tls.h: Likewise.
15714         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15716 2011-03-14  Andreas Schwab  <schwab@redhat.com>
15718         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15719         rpath element also skip the following colon.
15720         (expand_dynamic_string_token): Add is_path parameter and pass
15721         down to DL_DST_REQUIRED and _dl_dst_substitute.
15722         (decompose_rpath): Call expand_dynamic_string_token with
15723         non-zero is_path.  Ignore empty rpaths.
15724         (_dl_map_object_from_fd): Call expand_dynamic_string_token
15725         with zero is_path.
15727 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
15729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15730         Make cancelable.
15732 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
15734         [BZ #12655]
15735         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15736         Patch by Filipe David Manana <fdmanana@apache.org>.
15738 2011-04-07  Andreas Schwab  <schwab@redhat.com>
15740         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15741         Maintain aligned stack.
15742         (CHECK_RSP): Remove unused macro.
15744 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
15746         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15747         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15749 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
15751         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15753         * include/features.h: Mention __USE_XOPEN2K8 in comment.
15755 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
15757         [BZ #12518]
15758         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15759         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15760         * sysdeps/x86_64/memmove.c: New file.
15761         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15762         (memcpy): Renamed to ...
15763         (__new_memcpy): This.
15764         (memcpy): Provide GLIBC_2_14 memcpy.
15765         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15766         (memcpy): Provide GLIBC_2_2_5 memcpy.
15768 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15770         [BZ #12631]
15771         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15773 2011-03-30  Andreas Schwab  <schwab@redhat.com>
15775         * misc/syncfs.c: New file.
15776         * misc/Makefile (routines): Add syncfs.
15777         * posix/unistd.h: Declare syncfs.
15778         * sysdeps/unix/syscalls.list: Add syncfs.
15780 2011-04-01  Andreas Schwab  <schwab@redhat.com>
15782         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15783         open_by_handle_at.
15784         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15785         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15786         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15787         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15788         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15789         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15790         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15792 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15794         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15795         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15796         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15797         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15798         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15800         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15802         * io/Makefile: Compile fallocate.c, fallocate64.c, and
15803         sync_file_range.c with -fexceptions.
15804         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15805         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15806         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15807         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15808         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15809         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15810         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15811         sync_file_range as cancellation point
15812         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
15813         now a wrapper around __call_sync_file_range with cancellation handling.
15814         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15815         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
15816         function name to __call_sync_file_range.
15817         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15818         Add call_sync_file_range.
15820 2011-04-01  Andreas Schwab  <schwab@redhat.com>
15822         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15823         bits/timex.h.
15825 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
15827         * iconv/iconv.h: Fix typo in comment.
15828         * io/fcntl.h: Likewise.
15829         * libio/stdio.h: Likewise.
15830         * posix/spawn.h: Likewise.
15831         * posix/unistd.h: Likewise.
15832         * stdlib/stdlib.h: Likewise.
15833         * time/time.h: Likewise.
15834         * wcsmbs/wchar.h: Likewise.
15836         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15837         open_by_handle): Add.
15838         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15839         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
15840         Augment a few comments.
15841         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15842         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15843         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15844         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15845         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15846         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15847         open_by_handle.
15849         * io/fcntl.h (AT_EMPTY_PATH): Define.
15851 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
15853         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15854         * sysdeps/unix/sysv/linux/bits/time.h: New file.
15855         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15856         to...
15857         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
15858         * Versions.def: Add GLIBC_2.14.
15859         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15860         Export.
15862 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
15864         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15865         round counter.
15866         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15868 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15870         [BZ #12597]
15871         * string/test-strncmp.c (do_page_test): New function.
15872         (check2): Likewise.
15873         (test_main): Call check2.
15874         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15876 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
15878         [BZ #12587]
15879         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15880         Handle cache information in CPU leaf 4.
15881         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15883 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
15885         [BZ #12583]
15886         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15887         character representation.
15888         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15890 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
15892         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15893         END(__isnan) to END(__isnanf) to match function entry point/label
15894         EALIGN(__isnanf,...).
15896 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
15898         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15900 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
15902         [BZ #12510]
15903         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15904         copy from the symbol referenced in the relocation to initialize the
15905         used variable.
15906         Patch by Piotr Bury <pbury@goahead.com>.
15907         * elf/Makefile: Add rules to build and tst-unique3.
15908         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15909         * elf/tst-unique3.cc: New file.
15910         * elf/tst-unique3.h: New file.
15911         * elf/tst-unique3lib.cc: New file.
15912         * elf/tst-unique3lib2.cc: New file.
15914         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15916 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
15918         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15919         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
15920         to _start.
15922 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
15924         * elf/dl-load.c (_dl_map_object): If we are looking for the first
15925         to-be-loaded object along a path to loader is ld.so.
15927 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
15928             Ulrich Drepper  <drepper@gmail.com>
15930         * sysdeps/x86_64/memset.S: After aligning destination, code
15931         branches to different locations depending on the value of
15932         misalignment, when multiarch is enabled. Fix this.
15934 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
15936         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15937         Set _x86_64_preferred_memory_instruction for AMD processsors.
15938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15939         Set bit_Prefer_SSE_for_memop for AMD processors.
15941 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
15943         * libio/fmemopen.c (fmemopen): Optimize a bit.
15945 2011-03-03  Andreas Schwab  <schwab@redhat.com>
15947         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15949 2011-03-03  Roland McGrath  <roland@redhat.com>
15951         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15953 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
15955         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15956         __bzero_ultra1 instead of __memset_ultra1.
15958 2011-02-23  Andreas Schwab  <schwab@redhat.com>
15959             Ulrich Drepper  <drepper@gmail.com>
15961         [BZ #12509]
15962         * include/link.h (struct link_map): Add l_orig_initfini.
15963         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15964         returning unsuccessfully.
15965         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15966         close of a file loaded at startup, restore the original l_initfini
15967         list.
15968         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15969         list, store the pointer.
15970         * elf/Makefile ($(objpfx)noload-mem): New rule.
15971         (noload-ENV): Define.
15972         (tests): Add $(objpfx)noload-mem.
15973         * elf/noload.c: Include <memcheck.h>.
15974         (main): Call mtrace.  Close all opened handles.
15976 2011-02-17  Andreas Schwab  <schwab@redhat.com>
15978         [BZ #12454]
15979         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15980         dependencies are missing.
15982 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15984         Fix __if_freereq crash: Unlike the generic version which uses free,
15985         Hurd needs munmap.
15986         * sysdeps/mach/hurd/ifreq.h: New file.
15988 2011-01-27  Petr Baudis  <pasky@suse.cz>
15989             Ulrich Drepper  <drepper@gmail.com>
15991         [BZ 12445]#
15992         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15993         to extend_alloca().
15994         * stdio-common/bug23.c: New file.
15995         * stdio-common/Makefile (tests): Add bug23.
15997 2010-09-28  Andreas Schwab  <schwab@redhat.com>
15998             Ulrich Drepper  <drepper@gmail.com>
16000         [BZ #12489]
16001         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16002         before performing relro protection.  At old place add assertion
16003         to make sure nothing changed.
16005 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
16006             Glauber de Oliveira Costa  <glommer@gmail.com>
16008         * elf/elf.h: Add new ARM TLS relocs.
16010 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
16012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16013         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16014         cast from r3.
16015         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
16016         'tests' variable.
16017         * sysdeps/wordsize-64/tst-writev.c: New file.
16019 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
16021         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16022         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16023         insns in _dl_start to prevent a TOC reference before relocs are
16024         resolved.
16026 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
16028         [BZ #12469]
16029         * Makeconfig: Remove RANLIB definition.
16030         * Makerules: Don't use RANLIB.
16031         * aclocal.m4: Remove ranlib test.
16032         * configure.in: No need to check for ranlib.
16033         * elf/rtld-Rules: Don't use RANLIB.
16035 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16037         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16038         protection macro.
16039         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16040         inclusion protection macro.
16042         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16043         SIGRTMIN and SIGRTMAX and print information in that case only when
16044         SIGRTMIN is defined.
16046 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
16048         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16049         arginfo fn returning -1.
16051         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16052         and thousands string is zero terminated.
16054 2011-02-03  Andreas Schwab  <schwab@redhat.com>
16056         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16057         sysdeps/unix/sysv/linux/bits/socket.h.
16059 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16061         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16062         (__CPU_COUNT): Remove old macros.
16063         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16064         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16065         (__CPU_ALLOC, __CPU_FREE): Add macros.
16066         (__sched_cpualloc, __sched_cpufree): Add declarations.
16068 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
16070         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16071         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16072         * nscd/aicache.c (addhstaiX): Return timeout of added value.
16073         (readdhstai): Return value of addhstaiX call.
16074         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16075         (addgrbyX): Return value returned by cache_addgr.
16076         (readdgrbyname): Return value returned by addgrbyX.
16077         (readdgrbygid): Likewise.
16078         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16079         (addpwbyX): Return value returned by cache_addpw.
16080         (readdpwbyname): Return value returned by addhstbyX.
16081         (readdpwbyuid): Likewise.
16082         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16083         (addservbyX): Return value returned by cache_addserv.
16084         (readdservbyname): Return value returned by addservbyX:
16085         (readdservbyport): Likewise.
16086         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16087         (addhstbyX): Return value returned by cache_addhst.
16088         (readdhstbyname): Return value returned by addhstbyX.
16089         (readdhstbyaddr): Likewise.
16090         (readdhstbynamev6): Likewise.
16091         (readdhstbyaddrv6): Likewise.
16092         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16093         (readdinitgroups): Return value returned by addinitgroupsX.
16094         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16095         (prune_cache): Keep track of timeout value of re-added entries.
16096         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16097         * nscd/nscd.h: Adjust prototypes of readd* functions.
16099 2011-02-04  Roland McGrath  <roland@redhat.com>
16101         * nis/nis_server.c (nis_servstate): Use the right name for 0.
16102         (nis_stats): Likewise.
16103         * nis/nis_modify.c (nis_modify): Likewise.
16104         * nis/nis_remove.c (nis_remove): Likewise.
16105         * nis/nis_add.c (nis_add): Likewise.
16107         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16109         * posix/fnmatch_loop.c: Add some consts.
16111         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16113 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
16115         [BZ #12460]
16116         * config.make.in (config-cflags-novzeroupper): Define.
16117         * configure.in: Substitute libc_cv_cc_novzeroupper.
16118         * elf/Makefile (AVX-CFLAGS): Define.
16119         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16120         (CFLAGS-tst-auditmod4a.c): Likewise.
16121         (CFLAGS-tst-auditmod4b.c): Likewise.
16122         (CFLAGS-tst-auditmod6b.c): Likewise.
16123         (CFLAGS-tst-auditmod6c.c): Likewise.
16124         (CFLAGS-tst-auditmod7b.c): Likewise.
16125         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16127 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
16129         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16130         function to the callback.
16131         Patch partly by Jiri Olsa <jolsa@redhat.com>.
16133 2011-02-02  Andreas Schwab  <schwab@redhat.com>
16135         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16136         of errno.
16138 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
16140         [BZ #11724]
16141         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16142         of constructors.
16143         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16144         of destructors.
16145         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16147         [BZ #11724]
16148         * elf/Makefile: Add rules to build and run new test.
16149         * elf/tst-initorder.c: New file.
16150         * elf/tst-initorder.exp: New file.
16151         * elf/tst-initordera1.c: New file.
16152         * elf/tst-initordera2.c: New file.
16153         * elf/tst-initordera3.c: New file.
16154         * elf/tst-initordera4.c: New file.
16155         * elf/tst-initorderb1.c: New file.
16156         * elf/tst-initorderb2.c: New file.
16157         * elf/tst-order-a1.c: New file.
16158         * elf/tst-order-a2.c: New file.
16159         * elf/tst-order-a3.c: New file.
16160         * elf/tst-order-a4.c: New file.
16161         * elf/tst-order-b1.c: New file.
16162         * elf/tst-order-b2.c: New file.
16163         * elf/tst-order-main.c: New file.
16164         New test case by George Gensure <werkt0@gmail.com>.
16166 2010-10-01  Andreas Schwab  <schwab@redhat.com>
16168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16169         decoding ACE if AI_CANONIDN.
16171 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
16173         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16175 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
16177         * version.h (RELEASE): Bump for 2.13 release.
16178         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16180         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16182         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16183         MADV_NOHUGEPAGE.
16184         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16185         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16186         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16187         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16188         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16189         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16191         * posix/getconf.c: Update copyright year.
16192         * catgets/gencat.c: Likewise.
16193         * csu/version.c: Likewise.
16194         * debug/catchsegv.sh: Likewise.
16195         * debug/xtrace.sh: Likewise.
16196         * elf/ldconfig.c: Likewise.
16197         * elf/ldd.bash.in: Likewise.
16198         * elf/sprof.c (print_version): Likewise.
16199         * iconv/iconv_prog.c: Likewise.
16200         * iconv/iconvconfig.c: Likewise.
16201         * locale/programs/locale.c: Likewise.
16202         * locale/programs/localedef.c: Likewise.
16203         * malloc/memusage.sh: Likewise.
16204         * malloc/mtrace.pl: Likewise.
16205         * nscd/nscd.c (print_version): Likewise.
16206         * nss/getent.c: Likewise.
16208         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16209         PF_CAIF, and PF_ALG.
16210         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16212 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
16214         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16215         (modules-names): Use them.
16216         (ifunc-test-modules, ifunc-pie-tests): Define.
16217         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16218         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16219         (test-extras): Likewise.
16220         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16221         $(compile-command.c).
16222         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16223         (all-built-dso): Define.
16224         (check-textrel.out, check-execstack.out): Depend on it.
16226         * configure.in: Don't override --enable-multi-arch.
16228 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
16230         [BZ #6812]
16231         * nscd/hstcache.c (tryagain): Define.
16232         (cache_addhst): Return tryagain not notfound for temporary errors.
16233         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16234         failed.
16236 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
16238         [BZ #10563]
16239         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16240         to make the syscall.
16241         * sysdeps/unix/sysv/linux/setgroups.c: New file.
16243         [BZ #12378]
16244         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16245         and fall back to matching as normal character if the string ends before
16246         the matching ']' is found.  This is what POSIX requires.
16247         * posix/testfnm.c: Adjust test result.
16248         * posix/globtest.sh: Adjust test result.  Add new test.
16249         * posix/tst-fnmatch.input: Likewise.
16250         * posix/tst-fnmatch2.c: Add new test.
16252 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
16254         * elf/Makefile (check-execstack): Revert last change.  Depend on
16255         check-execstack.h.
16256         (check-execstack.h): New target.
16257         (generated): Add check-execstack.h.
16258         * elf/check-execstack.c: Include "check-execstack.h".
16259         (main): Revert last change.
16260         (handle_file): Return zero if GNU_STACK is absent and
16261         DEFAULT_STACK_PERMS doesn't include PF_X.
16263 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
16265         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16266         in child fails because the descriptor is already closed.
16267         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16268         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16269         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16271         [BZ #12397]
16272         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16273         syscall.
16275         [BZ #10484]
16276         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16277         temporary buffer used to handle multi lookups locally.
16278         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16280 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
16282         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16283         loader is ld.so.
16285 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
16287         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16288         alignment for SSE2.
16290 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
16292         [BZ #12394]
16293         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16294         characters.  When rounding increased number of integer digits recompute
16295         number of groups.
16296         * stdio-common/tst-grouping.c: New file.
16297         * stdio-common/Makefile: Add rules to build and run tst-grouping.
16299 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
16301         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16302         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
16304         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16305         void.
16306         * bits/select.h: Likewise.
16308 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
16310         * po/ja.po: Update from translation team.
16312 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
16314         [BZ #11155]
16315         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16316         implementation just like for lxstat, fxstatat, et al.
16318 2010-12-27  Jim Meyering  <meyering@redhat.com>
16320         [BZ #12348]
16321         * posix/regexec.c (build_trtable): Return failure indication upon
16322         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
16324 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
16326         [BZ #12201]
16327         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16328         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16329         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16330         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16332         [BZ #12207]
16333         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16335         [BZ #12204]
16336         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16337         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16339 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16341         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16342         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16343         script has SORT_BY_INIT_PRIORITY.
16344         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16345         NO_CTORS_DTORS_SECTIONS is defined.
16346         * elf/soinit.c: Likewise.
16347         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16348         NO_CTORS_DTORS_SECTIONS is defined.
16349         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16350         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16351         * sysdeps/sh/init-first.c: Likewise.
16352         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16354 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
16356         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16357         always use the slow path.
16359 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
16361         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16362         similar rule which adds the sysdep directories to the header search in
16363         order to pick up the correct platform stackinfo.h.
16364         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16365         perform test if it is, otherwise return successfully without testing.
16366         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16367         DEFAULT_STACK_PERMS define in stackinfo.h.
16368         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16369         defined in stackinfo.h.
16370         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16371         DEFAULT_STACK_PERMS defined in stackinfo.h.
16372         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16373         * sysdeps/ia64/stackinfo.h: Likewise.
16374         * sysdeps/s390/stackinfo.h: Likewise.
16375         * sysdeps/sh/stackinfo.h: Likewise.
16376         * sysdeps/sparc/stackinfo.h: Likewise.
16377         * sysdeps/x86_64/stackinfo.h: Likewise.
16378         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16379         PF_X for powerpc64.  Retain PF_X for powerpc32.
16381 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
16383         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16384         accurately.
16385         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16386         GETDENTS_64BIT_ALIGNED.
16388 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
16390         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16392 2010-12-10  Andreas Schwab  <schwab@redhat.com>
16394         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16395         _GNU_SOURCE.
16397         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16398         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16399         Remove __restrict.
16400         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16401         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16403 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
16405         [BZ #11655]
16406         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16407         are initialized.
16409 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
16411         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16413 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
16415         * po/it.po: Update from translation team.
16417 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
16419         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16420         unused codes.
16422 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
16424         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16426 2010-11-24  Andreas Schwab  <schwab@redhat.com>
16428         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16429         specially.
16430         (gaih_getanswer_slice): Likewise.
16432 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
16434         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16436 2010-05-31  Petr Baudis  <pasky@suse.cz>
16438         [BZ #11149]
16439         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16440         silently even in the chroot mode.
16442 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
16444         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16445         last patch a bit.  Pretty printing
16447 2010-05-31  Petr Baudis <pasky@suse.cz>
16449         [BZ #10085]
16450         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16451         initialization of skip_initgroups_dyn.
16453 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
16455         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16456         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16458 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
16460         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16462 2010-11-11  Andreas Schwab  <schwab@redhat.com>
16464         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16465         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16466         (tst-fnmatch-ENV): Set MALLOC_TRACE.
16467         ($(objpfx)tst-fnmatch-mem): New rule.
16468         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16469         * posix/tst-fnmatch.c (main): Call mtrace.
16471 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
16473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16474         Support Intel processor model 6 and model 0x2c.
16476 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
16478         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16479           signed comparison.
16481 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
16483         [BZ #12205]
16484         * string/test-strncasecmp.c (check_result): New function.
16485         (do_one_test): Use it.
16486         (check1): New function.
16487         (test_main): Use it.
16488         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16489         Support strcasecmp and strncasecmp.
16491 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
16493         [BZ #12194]
16494         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16495         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16497 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16499         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16500         IFUNC support.
16501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16502         memset-x86-64.
16503         * sysdeps/x86_64/multiarch/bzero.S: New file.
16504         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16505         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16506         * sysdeps/x86_64/multiarch/memset.S: New file.
16507         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16509         Set bit_Prefer_SSE_for_memop for Intel processors.
16510         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16511         Define.
16512         (index_Prefer_SSE_for_memop): Define.
16513         (HAS_PREFER_SSE_FOR_MEMOP): Define.
16515 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
16517         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16518         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16520 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
16522         [BZ #12191]
16523         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16524         (__x86_64_raw_data_cache_size_half): Likewise.
16525         (__x86_64_raw_shared_cache_size): Likewise.
16526         (__x86_64_raw_shared_cache_size_half): Likewise.
16528         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16529         (__x86_64_raw_data_cache_size_half): Likewise.
16530         (__x86_64_raw_shared_cache_size): Likewise.
16531         (__x86_64_raw_shared_cache_size_half): Likewise.
16532         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16533         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16534         and __x86_64_raw_shared_cache_size_half.  Round
16535         __x86_64_data_cache_size_half, __x86_64_data_cache_size
16536         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16537         to multiple of 256 bytes.
16539 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
16541         [BZ #12167]
16542         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16543         of inacessible symlinks.  Verify result of symlink before returning it.
16544         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16545         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16547 2010-10-28  Erich Ritz  <erichritz@gmail.com>
16549         * math/math.h (isinf): Fix typo in comment.
16551 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
16553         * po/da.po: Update from translation team.
16555 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
16557         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16558         is added to the list.
16560 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16561             Ulrich Drepper  <drepper@gmail.com>
16563         * elf/dl-object.c (_dl_new_object): Don't append the new object to
16564         the global list here.  Move code to...
16565         (_dl_add_to_namespace_list): ...here.  New function.
16566         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16567         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16568         * elf/dl-load.c (lose): Don't remove the element from the list.
16569         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16570         (_dl_map_object): Likewise.
16572 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
16574         [BZ #12159]
16575         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16576         into all bytes of SSE register.
16577         Patch by Richard Li <richardpku@gmail.com>.
16579 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
16581         [BZ #12140]
16582         * malloc/malloc.c (_int_free): Fill correct number of bytes when
16583         perturbing.
16585 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
16587         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16588         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16589         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16590         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16592         submachine.
16593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16595 2010-10-22  Andreas Schwab  <schwab@redhat.com>
16597         * include/dlfcn.h (__RTLD_SECURE): Define.
16598         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
16599         mode & __RTLD_SECURE instead.
16600         (open_path): Rename preloaded parameter to secure.
16601         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16602         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16603         * elf/dl-deps.c (openaux): Likewise.
16604         * elf/rtld.c (struct map_args): Remove is_preloaded.
16605         (map_doit): Don't use it.
16606         (dl_main): Likewise.
16607         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16608         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16610 2010-09-09  Andreas Schwab  <schwab@redhat.com>
16612         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16613         (sysd-rules-targets): Remove duplicates.
16614         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16615         rtld-%.$o dependency.
16617 2010-10-18  Andreas Schwab  <schwab@redhat.com>
16619         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16620         _dl_map_object do it.
16622 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
16624         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16625         fast fma builtins, define the macros in the C99 standard.
16626         (FP_FAST_FMAF): Likewise.
16627         (FP_FAST_FMAL): Likewise.
16628         * sysdeps/x86_64/bits/mathdef.h: Likewise.
16630         * bits/mathdef.h: Update copyright year.
16631         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16633 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
16635         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16636         builtins, define the macros in the C99 standard.
16637         (FP_FAST_FMAF): Likewise.
16638         (FP_FAST_FMAL): Likewise.
16639         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16640         multiply/add.
16641         (FP_FAST_FMAF): Likewise.
16643 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
16645         [BZ #3268]
16646         * math/libm-test.inc (fma_test): Some new testcases.
16647         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16648         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16649         y and infinite z.  Do multiplication by C already in long double.
16650         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16651         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16652         y and infinite z.  Do bitwise or of inexact bit into u.d.
16653         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16654         * sysdeps/i386/fpu/s_fmaf.S: Removed.
16655         * sysdeps/i386/fpu/s_fma.S: Removed.
16656         * sysdeps/i386/fpu/s_fmal.S: Removed.
16658 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
16660         [BZ #3268]
16661         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16662         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16663         computation is not scheduled after fetestexcept.  Fix value
16664         of minimum denormal long double.
16666 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
16668         [BZ #3268]
16669         * math/libm-test.inc (fma_test): Add some more tests.
16670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16671         correctly.
16673 2010-10-15  Andreas Schwab  <schwab@redhat.com>
16675         * scripts/data/localplt-s390-linux-gnu.data: New file.
16676         * scripts/data/localplt-s390x-linux-gnu.data: New file.
16678 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
16680         [BZ #3268]
16681         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16682         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16683         instead of dbl-64.
16684         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16685         inlines.
16686         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16687         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16688         if one of x and y is very large and the other is subnormal.
16689         * sysdeps/s390/fpu/s_fmaf.c: New file.
16690         * sysdeps/s390/fpu/s_fma.c: New file.
16691         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16692         * sysdeps/powerpc/fpu/s_fma.S: New file.
16693         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16694         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16695         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16697 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
16699         [BZ #3268]
16700         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16701         fma tests.
16702         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16703         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16704         * sysdeps/i386/i686/multiarch/s_fma.c: Include
16705         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16706         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16707         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16708         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16710 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
16712         [BZ #12078]
16713         * posix/regcomp.c (parse_branch): One more memory leak plugged.
16714         * posix/bug-regex31.input: Add test case.
16716 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
16718         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16719         * posix/bug-regex31.input: New file.
16721         [BZ #12078]
16722         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16723         (parse_sub_exp): Fix last change, use postorder.
16725         * posix/bug-regex31.c: New file.
16726         * posix/Makefile: Add rules to build and run bug-regex31.
16728         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16730         [BZ #12078]
16731         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16733         [BZ #12108]
16734         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16735         to have entries in sys_siglist.
16737         [BZ #12093]
16738         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16739         be NULL.
16741 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
16743         [BZ #3268]
16744         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16745         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16746         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16747         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16748         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16749         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16750         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16751         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16752         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16753         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16754         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16755         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16756         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16757         * math/ftestexcept.c (fetestexcept): Likewise.
16758         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16759         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16760         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16761         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16762         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16763         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16764         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16766 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
16768         [BZ #12107]
16769         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16770         newline.
16772 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
16774         * string/bug-strstr1.c: New file.
16775         * string/Makefile: Add rules to build and run bug-strstr1.
16777 2010-10-05  Eric Blake  <eblake@redhat.com>
16779         [BZ #12092]
16780         * string/str-two-way.h (two_way_long_needle): Always clear memory
16781         when skipping input due to the shift table.
16783 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
16785         [BZ #12005]
16786         * malloc/mcheck.c: Handle large requests.
16788         [BZ #12077]
16789         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16790         for strncmp and strncasecmp.
16791         * string/stratcliff.c: Add tests for strcmp and strncmp.
16792         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16794 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16796         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16797         __set_fpscr.
16799 2010-09-30  Andreas Jaeger  <aj@suse.de>
16801         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16802         (CGROUP_SUPER_MAGIC): Define.
16803         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16804         Handle btrfs and cgroup file systems.
16805         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16806         Likewise.
16808 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
16810         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16811         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16813 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16815         [BZ #12067]
16816         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16817         trying to locate the ELF header.
16819 2010-09-27  Andreas Schwab  <schwab@redhat.com>
16821         [BZ #11611]
16822         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16823         Mask out sign-bit copies when constructing f_fsid.
16825 2010-09-24  Petr Baudis <pasky@suse.cz>
16827         * debug/stack_chk_fail_local.c: Add missing licence exception.
16828         * debug/warning-nop.c: Likewise.
16830 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
16832         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16833         implementing getdents64 using getdents syscall, set d_type if
16834         __ASSUME_GETDENTS32_D_TYPE.
16836 2010-09-16  Andreas Schwab  <schwab@redhat.com>
16838         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16839         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16841 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
16843         [BZ #12037]
16844         * posix/unistd.h: Undo change of feature selection for ftruncate from
16845         2010-01-11.
16847 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
16849         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16850         detection.
16852 2010-09-20  Andreas Schwab  <schwab@redhat.com>
16854         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16855         fanotify_mark.
16856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16858 2010-09-14  Andreas Schwab  <schwab@redhat.com>
16860         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16861         variables after CHECK_SP call.
16862         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16864 2010-09-13  Andreas Schwab  <schwab@redhat.com>
16865             Ulrich Drepper  <drepper@redhat.com>
16867         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16868         re-relocationg ld.so.
16869         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16870         _dl_init_paths call.
16871         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
16872         here anymore.
16874 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
16876         * resolv/res_init.c (__res_vinit): Count the default server we added.
16878 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
16879             Ulrich Drepper  <drepper@redhat.com>
16881         [BZ #11968]
16882         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16883         (____longjmp_chk): Use %ebx for saving value across system call.
16884         Add unwind info.
16886 2010-09-06  Andreas Schwab  <schwab@redhat.com>
16888         * manual/Makefile: Don't mix pattern rules with normal rules.
16890 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
16892         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16893         operation.
16894         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16895         * libio/iofopncook.c (_IO_cookie_init): Likewise.
16896         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16897         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16898         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16899         Likewise.
16901 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
16903         [BZ #11979]
16904         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16905         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16907 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
16909         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16910         * sysdeps/x86_64/addmul_1.S: Likewise.
16911         * sysdeps/x86_64/lshift.S: Likewise.
16912         * sysdeps/x86_64/mul_1.S: Likewise.
16913         * sysdeps/x86_64/rshift.S: Likewise.
16914         * sysdeps/x86_64/sub_n.S: Likewise.
16915         * sysdeps/x86_64/submul_1.S: Likewise.
16917 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16919         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16920         Define __sched_param instead of SCHED_* and sched_param when
16921         <bits/sched.h> is included with __need_schedparam defined.
16922         * bits/sched.h [__need_schedparam]
16923         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16924         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16925         (__defined_schedparam): Define to 1.
16926         (__sched_param): New structure, identical to sched_param.
16927         (__need_schedparam): Undefine.
16929 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
16931         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16932         (epoll_create1): Declare.
16934         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16936 2010-08-31  Andreas Schwab  <schwab@redhat.com>
16938         [BZ #7066]
16939         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16940         shifting retval into place.
16942 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
16944         * nis/rpcsvc/nis.h: Update copyright notice.
16945         * nis/rpcsvc/nis.x: Likewise.
16946         * nis/rpcsvc/nis_callback.h: Likewise.
16947         * nis/rpcsvc/nis_callback.x: Likewise.
16948         * nis/rpcsvc/nis_object.x: Likewise.
16949         * nis/rpcsvc/nis_tags.h: Likewise.
16950         * nis/rpcsvc/yp.h: Likewise.
16951         * nis/rpcsvc/yp.x: Likewise.
16952         * nis/rpcsvc/ypupd.h: Likewise.
16953         * nis/yp_xdr.c: Likewise.
16954         * nis/ypupdate_xdr.c: Likewise.
16956         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
16957         mainly the body of pmap_getport.  Add parameters to specify timeouts.
16958         (pmap_getport): Use __libc_rpc_getport.
16959         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16960         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16961         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16963 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
16965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16966         fanotify_mark.
16968 2010-08-27  Roland McGrath  <roland@redhat.com>
16970         * sysdeps/i386/i686/multiarch/Makefile
16971         (CFLAGS-varshift.c): New variable.
16973 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
16975         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16976         * sysdeps/i386/i686/multiarch/varshift.c: New file.
16978         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16980         * sysdeps/x86_64/strlen.S: Minimal code improvement.
16982 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16984         * sysdeps/x86_64/strlen.S: Unroll the loop.
16985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16986         strlen-sse2 strlen-sse2-bsf.
16987         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16988         __strlen_no_bsf if bit_Slow_BSF is set.
16989         (__strlen_sse42): Removed.
16990         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16991         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16993 2010-08-25  Roland McGrath  <roland@redhat.com>
16995         * sysdeps/x86_64/multiarch/varshift.S: File removed.
16996         * sysdeps/x86_64/multiarch/varshift.c: New file.
16997         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16998         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16999         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17000         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17002 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17004         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17005         strlen-sse2 strlen-sse2-bsf.
17006         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17007         __strlen_sse2_bsf if bit_Slow_BSF is unset.
17008         (__strlen_sse2): Removed.
17009         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17010         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17011         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17012         bit_Slow_BSF for Atom.
17013         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17014         (index_Slow_BSF): Define.
17015         (HAS_SLOW_BSF): Define.
17017 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
17019         [BZ #10851]
17020         * resolv/res_init.c (__res_vinit): When no server address at all
17021         is given default to loopback.
17023 2010-08-24  Roland McGrath  <roland@redhat.com>
17025         * configure.in: Remove config-name.h generation.
17026         * configure: Regenerated.
17027         * config-name.in: File removed.
17028         * scripts/config-uname.sh: New file.
17029         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17030         ($(objdir)config-name.h): New target.
17032         * sunrpc/rpc_parse.h: Avoid nested comment.
17034 2010-08-24  Richard Henderson  <rth@redhat.com>
17035             Ulrich Drepper  <drepper@redhat.com>
17036             H.J. Lu  <hongjiu.lu@intel.com>
17038         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17040         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17041         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
17042         _mm_alignr_epi8 with _mm_loadu_si128.
17043         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17044         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17045         (__m128i_shift_right): Removed.
17046         * sysdeps/i386/i686/multiarch/varshift.h: New file.
17047         * sysdeps/i386/i686/multiarch/varshift.S: New file.
17048         * sysdeps/x86_64/multiarch/varshift.h: New file.
17049         * sysdeps/x86_64/multiarch/varshift.S: New file.
17051 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
17053         * configure.in: Move assembler checks to before sysdep dir checking.
17055 2010-08-20  Petr Baudis  <pasky@suse.cz>
17057         * LICENSES: Sync the sunrpc license.
17059 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
17061         * sunrpc/auth_des.c: Update copyright notice once again.
17062         * sunrpc/auth_none.c: Likewise.
17063         * sunrpc/auth_unix.c: Likewise.
17064         * sunrpc/authdes_prot.c: Likewise.
17065         * sunrpc/authuxprot.c: Likewise.
17066         * sunrpc/bindrsvprt.c: Likewise.
17067         * sunrpc/clnt_gen.c: Likewise.
17068         * sunrpc/clnt_perr.c: Likewise.
17069         * sunrpc/clnt_raw.c: Likewise.
17070         * sunrpc/clnt_simp.c: Likewise.
17071         * sunrpc/clnt_tcp.c: Likewise.
17072         * sunrpc/clnt_udp.c: Likewise.
17073         * sunrpc/clnt_unix.c: Likewise.
17074         * sunrpc/des_crypt.c: Likewise.
17075         * sunrpc/des_soft.c: Likewise.
17076         * sunrpc/get_myaddr.c: Likewise.
17077         * sunrpc/getrpcport.c: Likewise.
17078         * sunrpc/key_call.c: Likewise.
17079         * sunrpc/key_prot.c: Likewise.
17080         * sunrpc/openchild.c: Likewise.
17081         * sunrpc/pm_getmaps.c: Likewise.
17082         * sunrpc/pm_getport.c: Likewise.
17083         * sunrpc/pmap_clnt.c: Likewise.
17084         * sunrpc/pmap_prot.c: Likewise.
17085         * sunrpc/pmap_prot2.c: Likewise.
17086         * sunrpc/pmap_rmt.c: Likewise.
17087         * sunrpc/rpc/auth.h: Likewise.
17088         * sunrpc/rpc/auth_unix.h: Likewise.
17089         * sunrpc/rpc/clnt.h: Likewise.
17090         * sunrpc/rpc/des_crypt.h: Likewise.
17091         * sunrpc/rpc/key_prot.h: Likewise.
17092         * sunrpc/rpc/netdb.h: Likewise.
17093         * sunrpc/rpc/pmap_clnt.h: Likewise.
17094         * sunrpc/rpc/pmap_prot.h: Likewise.
17095         * sunrpc/rpc/pmap_rmt.h: Likewise.
17096         * sunrpc/rpc/rpc.h: Likewise.
17097         * sunrpc/rpc/rpc_des.h: Likewise.
17098         * sunrpc/rpc/rpc_msg.h: Likewise.
17099         * sunrpc/rpc/svc.h: Likewise.
17100         * sunrpc/rpc/svc_auth.h: Likewise.
17101         * sunrpc/rpc/types.h: Likewise.
17102         * sunrpc/rpc/xdr.h: Likewise.
17103         * sunrpc/rpc_clntout.c: Likewise.
17104         * sunrpc/rpc_cmsg.c: Likewise.
17105         * sunrpc/rpc_common.c: Likewise.
17106         * sunrpc/rpc_cout.c: Likewise.
17107         * sunrpc/rpc_dtable.c: Likewise.
17108         * sunrpc/rpc_hout.c: Likewise.
17109         * sunrpc/rpc_main.c: Likewise.
17110         * sunrpc/rpc_parse.c: Likewise.
17111         * sunrpc/rpc_parse.h: Likewise.
17112         * sunrpc/rpc_prot.c: Likewise.
17113         * sunrpc/rpc_sample.c: Likewise.
17114         * sunrpc/rpc_scan.c: Likewise.
17115         * sunrpc/rpc_scan.h: Likewise.
17116         * sunrpc/rpc_svcout.c: Likewise.
17117         * sunrpc/rpc_tblout.c: Likewise.
17118         * sunrpc/rpc_util.c: Likewise.
17119         * sunrpc/rpc_util.h: Likewise.
17120         * sunrpc/rpcinfo.c: Likewise.
17121         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17122         * sunrpc/rpcsvc/key_prot.x: Likewise.
17123         * sunrpc/rpcsvc/klm_prot.x: Likewise.
17124         * sunrpc/rpcsvc/mount.x: Likewise.
17125         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17126         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17127         * sunrpc/rpcsvc/rex.x: Likewise.
17128         * sunrpc/rpcsvc/rstat.x: Likewise.
17129         * sunrpc/rpcsvc/rusers.x: Likewise.
17130         * sunrpc/rpcsvc/sm_inter.x: Likewise.
17131         * sunrpc/rpcsvc/spray.x: Likewise.
17132         * sunrpc/rpcsvc/yppasswd.x: Likewise.
17133         * sunrpc/rtime.c: Likewise.
17134         * sunrpc/svc.c: Likewise.
17135         * sunrpc/svc_auth.c: Likewise.
17136         * sunrpc/svc_authux.c: Likewise.
17137         * sunrpc/svc_raw.c: Likewise.
17138         * sunrpc/svc_run.c: Likewise.
17139         * sunrpc/svc_simple.c: Likewise.
17140         * sunrpc/svc_tcp.c: Likewise.
17141         * sunrpc/svc_udp.c: Likewise.
17142         * sunrpc/svc_unix.c: Likewise.
17143         * sunrpc/svcauth_des.c: Likewise.
17144         * sunrpc/xcrypt.c: Likewise.
17145         * sunrpc/xdr.c: Likewise.
17146         * sunrpc/xdr_array.c: Likewise.
17147         * sunrpc/xdr_float.c: Likewise.
17148         * sunrpc/xdr_mem.c: Likewise.
17149         * sunrpc/xdr_rec.c: Likewise.
17150         * sunrpc/xdr_ref.c: Likewise.
17151         * sunrpc/xdr_sizeof.c: Likewise.
17152         * sunrpc/xdr_stdio.c: Likewise.
17154         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17155         handling.
17157 2010-08-19  Andreas Schwab  <schwab@redhat.com>
17159         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17161 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
17163         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17164         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17165         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17166         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17167         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17168         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17169         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17170         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17171         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17172         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17173         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17174         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17175         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17176         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17178 2010-07-26  Anton Blanchard  <anton@samba.org>
17180         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17181         * malloc/arena.c (heap_trim): Likewise.
17183 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
17185         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17186         here.  Not...
17187         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17188         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17190 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
17192         * sysdeps/i386/elf/Makefile: New file.
17194 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
17196         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17197         from fanotify_init.
17198         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17199         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17201 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
17203         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17204         of strncasecmp_l.
17205         * sysdeps/multiarch/strcmp.S: Likewise.
17207 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
17209         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17210         strncase_l-nonascii.
17211         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17212         Add strncase_l-ssse3.
17213         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17214         * sysdeps/x86_64/strcmp.S: Likewise.
17215         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17216         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17217         * sysdeps/x86_64/strncase.S: New file.
17218         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17219         * sysdeps/x86_64/strncase_l.S: New file.
17220         * string/Makefile (strop-tests): Add strncasecmp.
17221         * string/test-strncasecmp.c: New file.
17223         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17224         warning.
17226         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17227         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17229 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
17231         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17233 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
17235         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17236         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17237         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17239 2010-05-01  Alan Modra  <amodra@gmail.com>
17241         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17242         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17243         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17244         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17245         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17246         tidying.  Don't tail-call __sigjmp_save for static lib.
17247         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17248         save location.
17249         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17250         (CALL_MCOUNT): Add eh info, and nop after bl.
17251         (TAIL_CALL_SYSCALL_ERROR): New macro.
17252         (PSEUDO_RET): Use it.
17253         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17254         Correct save location of integer regs and cr.
17255         (_dl_profile_resolve): Correct cr save location.  Delete nops
17256         after bl when SHARED.  Reduce cfi size a little by better
17257         placement of cfi directives.
17258         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17259         make a stack frame.  Instead use parm save area as a temp.
17260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17261         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
17262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17263         Don't make a stack frame for parent, use parm save area.
17264         Increase child stack frame to 112 bytes.  Don't save unused reg,
17265         and adjust reg usage.  Set up cfi on error recovery and
17266         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17268         (__makecontext): Add dummy nop after jump to exit.
17269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17270         Use correct parm save area and cr save, reduce stack frame.
17271         Correct cfi for possible PSEUDO_RET frame setup.
17272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17273         Branch to local label emitted by PSEUDO_RET rather than
17274         __syscall_error.
17276 2010-08-12  Andreas Schwab  <schwab@redhat.com>
17278         [BZ #11904]
17279         * locale/programs/locale.c (print_assignment): New function.
17280         (show_locale_vars): Use it.
17282 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
17284         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17285         field.
17286         (struct statfs64): Likewise.
17287         (_STATFS_F_FLAGS): Define.
17288         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17289         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17290         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17291         (ST_VALID): Define locally.
17292         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17293         __statvfs_getflags, use the provided value.
17294         * sysdeps/unix/sysv/linux/kernel-features.h: Define
17295         __ASSUME_STATFS_F_FLAGS.
17297         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17299         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17300         Add sys/fanotify.h.
17301         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17302         fanotify_mask for GLIBC_2.13.
17303         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17304         fanotify_init and fanotify_mark.
17305         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17306         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17308         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17309         Add prlimit.
17310         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17311         prlimit64 for GLIBC_2.13.
17312         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17313         prlimit64.
17314         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17315         syscall.
17316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17317         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17318         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17319         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17320         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
17321         add prlimit alias.
17322         * sysdeps/unix/sysv/linux/prlimit.c: New file.
17324         [BZ #11903]
17325         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17326         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17328         * nss/Makefile: Add rules to build and run tst-nss-test1.
17329         * shlib-versions: Add entry for libnss_test1.
17330         * nss/nss_test1.c: New file.
17331         * nss/tst-nss-test1.c: New file.
17333         * nss/nsswitch.c (__nss_database_custom): Define new variable.
17334         (__nss_configure_lookup): Set appropriate entry in
17335         __nss_configure_lookup to true.
17336         * nss/nsswitch.h: Define enum with indeces of databases in
17337         databases and __nss_database_custom arrays.  Declare
17338         __nss_database_custom.
17339         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17340         to avoid using nscd when custom rules are installed.
17341         * nss/getXXbyYY_r.c: Likewise.
17342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17344         * nss/nss_files/files-parse.c: Whitespace fixes.
17346 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
17348         [BZ #11883]
17349         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17350         * posix/fnmatch_loop.c: Likewise.
17352 2010-07-17  Andi Kleen  <ak@linux.intel.com>
17354         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17355         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17356         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17357         * Versions.def [GLIBC_2.13]: Add.
17359 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
17361         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17362         Also fail if tpwd after pwuid call is NULL.
17364 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17366         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17367         when converting to ms.
17369 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17371         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17372         EOPNOTSUPP errors with ENOTTY.
17373         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17374         EOPNOTSUPP errors with ENOTTY.
17376 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
17378         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17379         Add strcasecmp_l-ssse3.
17380         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17381         strcasecmp.
17382         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17383         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17384         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17386 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
17388         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17390         * string/Makefile (strop-tests): Add strcasecmp.
17391         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17392         strcasecmp_l-nonascii.
17393         (gen-as-const-headers): Add locale-defines.sym.
17394         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17395         * sysdeps/x86_64/strcasecmp.S: New file.
17396         * sysdeps/x86_64/strcasecmp_l.S: New file.
17397         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17398         * sysdeps/x86_64/locale-defines.sym: New file.
17399         * string/test-strcasecmp.c: New file.
17401         * string/test-strcasestr.c: Test both ends of the range of characters.
17402         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17404 2010-07-29  Roland McGrath  <roland@redhat.com>
17406         [BZ #11856]
17407         * manual/locale.texi (Yes-or-No Questions): Fix example code.
17409 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
17411         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17412         for ld.so.
17414 2010-07-27  Andreas Schwab  <schwab@redhat.com>
17416         * manual/memory.texi (Malloc Tunable Parameters): Document
17417         M_PERTURB.
17419 2010-07-26  Roland McGrath  <roland@redhat.com>
17421         [BZ #11840]
17422         * configure.in (-fgnu89-inline check): Set and substitute
17423         gnu89_inline, not libc_cv_gnu89_inline.
17424         * configure: Regenerated.
17425         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17427 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
17429         * string/test-strnlen.c: New file.
17430         * string/Makefile (strop-tests): Add strnlen.
17431         * string/tester.c (test_strnlen): Add a few more test cases.
17432         * string/tst-strlen.c: Better error reporting.
17434         * sysdeps/x86_64/strnlen.S: New file.
17436 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
17438         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17439         lower-latency instructions.
17441 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
17443         * string/test-strcasestr.c: New file.
17444         * string/test-strstr.c: New file.
17445         * string/Makefile (strop-tests): Add strstr and strcasestr.
17446         * string/str-two-way.h: Don't undefine MAX.
17447         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17449 2010-07-21  Andreas Schwab  <schwab@redhat.com>
17451         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17452         strcasestr-nonascii.
17453         (CFLAGS-strcasestr-nonascii.c): Define.
17454         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17455         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17456         Remove unused attribute.
17458 2010-07-20  Roland McGrath  <roland@redhat.com>
17460         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17461         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
17462         ld.so.cache was broken.  With it, there is no way to disable dsocaps
17463         like LD_HWCAP_MASK can disable hwcaps.
17465 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
17467         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17469 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
17471         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17472         call in strcasestr.
17473         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17474         __strcasestr_sse42_nonascii.
17475         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17476         strcasestr-nonascii.c.
17477         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17479 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
17481         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17482         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17483         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17484         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17486 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
17488         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17489         fcntl.
17491 2010-07-06  Andreas Schwab  <schwab@redhat.com>
17493         [BZ #11577]
17494         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17495         dl_signal_cerror.
17497 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
17499         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17500         _PC_PIPE_BUF using F_GETPIPE_SZ.
17502 2010-07-05  Roland McGrath  <roland@redhat.com>
17504         * manual/arith.texi (Rounding Functions): Fix rint description
17505         implicit in round description.
17507 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
17509         * elf/Makefile: Fix linking for a few tests to make recent linker
17510         happy.
17512 2010-06-30  Andreas Schwab  <schwab@redhat.com>
17514         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17515         $(common-objpfx)libc_nonshared.a.
17517 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
17519         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17520         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17521         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17522         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17523         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17524         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17525         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17526         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17541         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17542         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17543         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17544         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17545         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17546         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17547         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17548         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17549         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17550         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17551         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17552         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17568 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17570         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17571         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
17572         * string/memmove.c (memmove): Renamed to ...
17573         (MEMMOVE): ...this.  Default to memmove.
17574         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17575         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17576         (END_CHK): Define.
17577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17578         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17579         mempcpy-ssse3-back memmove-ssse3-back.
17580         * sysdeps/x86_64/multiarch/bcopy.S: New file .
17581         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17582         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17583         * sysdeps/x86_64/multiarch/memcpy.S: New file.
17584         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17585         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17586         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17587         * sysdeps/x86_64/multiarch/memmove.c: New file.
17588         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17589         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17590         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17591         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17592         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17593         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17594         Define.
17595         (index_Fast_Copy_Backward): Define.
17596         (HAS_ARCH_FEATURE): Define.
17597         (HAS_FAST_REP_STRING): Define.
17598         (HAS_FAST_COPY_BACKWARD): Define.
17600 2010-06-21  Andreas Schwab  <schwab@redhat.com>
17602         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17603         Restore proper fallback handling.
17605 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
17607         [BZ #11701]
17608         * posix/group_member.c (__group_member): Correct checking loop.
17610         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17611         OOM in getpwuid_r correctly.  Return error number when the caller
17612         should return, otherwise -1.
17613         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17614         call returning > 0 value.
17615         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17617 2010-06-07  Andreas Schwab  <schwab@redhat.com>
17619         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17620         libc_nonshared.a from targets in modules-names.
17622 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
17624         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17625         requires it.
17627 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
17629         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17630         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17631         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17632         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17634 2010-06-02  Andreas Schwab  <schwab@redhat.com>
17636         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17638 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
17640         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17641         and F_GETPIPE_SZ.
17642         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17643         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17645         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17646         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17647         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17649 2010-06-14  Roland McGrath  <roland@redhat.com>
17651         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17653 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
17655         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17656         __REDIRECT followed by __THROW.
17657         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17658         * posix/getopt.h (getopt): Likewise.
17660 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
17662         * hurd/lookup-at.c (__file_name_lookup_at): Accept
17663         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
17664         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17665         in AT_FLAGS.
17666         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17667         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17669 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
17671         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17673 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
17675         [BZ #11640]
17676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17677         Properly check family and model.
17679 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
17681         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17683 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
17685         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17687 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
17689         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17690         symbol reference.
17692 2010-05-19  Andreas Schwab  <schwab@redhat.com>
17694         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17695         symbol reference.
17697 2010-05-21  Andreas Schwab  <schwab@redhat.com>
17699         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17700         and internal_recvmmsg.
17701         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17702         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17703         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17704         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17706         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17707         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17708         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17710 2010-05-20  Andreas Schwab  <schwab@redhat.com>
17712         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17714 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
17716         POWER7 optimizations.
17717         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17718         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17720 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
17722         * version.h: Update for 2.13 development version.
17724 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
17726         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17727         exceptions.  Return 0.
17729 2010-05-07  Roland McGrath  <roland@redhat.com>
17731         * elf/ldconfig.c (main): Add a const.
17733 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
17735         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17736         (args_options): Add no-idn option.
17737         (ahosts_keys_int): Add idn_flags to ai_flags.
17738         (parse_option): Handle 'i' option to clear idn_flags.
17740         * malloc/malloc.c (_int_free): Possible race in the most recently
17741         added check.  Only act on the data if no current modification
17742         happened.
17744 See ChangeLog.17 for earlier changes.