1 2012-08-01 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4 Remove all definitions.
5 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8 (miss_F_GETOWN_EX): Remove all definitions.
9 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11 [!__ASSUME_FCNTL64]: Remove conditional code.
12 [__ASSUME_FCNTL64]: Make code unconditional.
13 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17 (lockf64) [__NR_fcntl64]: Make code unconditional.
18 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20 * sysdeps/unix/sysv/linux/kernel-features.h
21 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
23 Make code unconditional.
24 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27 [__NR_vfork]: Make code unconditional.
28 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31 [__NR_vfork]: Make code unconditional.
32 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35 2012-08-01 Roland McGrath <roland@hack.frob.com>
37 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41 Define mkstemp64 as an alias.
42 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43 Define mkstemps64 as an alias.
44 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45 Define mkostemp64 as an alias.
46 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47 Define mkostemps64 as an alias.
48 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
49 Conditionalize body on this.
50 * misc/mkostemp64.c: Likewise.
51 * misc/mkostemps64.c: Likewise.
52 * misc/mkstemps64.c: Likewise.
53 * sysdeps/wordsize-64/mkstemp64.c: File removed.
54 * sysdeps/wordsize-64/mkostemp64.c: File removed.
55 * sysdeps/wordsize-64/mkostemp.c: File removed.
56 * sysdeps/wordsize-64/mkstemp.c: File removed.
57 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
66 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
69 compat_symbol macros from <shlib-compat.h> rather than the underlying
70 default_symbol_version and symbol_version macros, so that DEFAULT
71 lines in shlib-versions are respected.
72 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
74 2012-08-01 Florian Weimer <fweimer@redhat.com>
76 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
77 Declare with warn_unused_result.
78 (setgid, setregid, setegid, setresgid): Likewise.
79 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
81 * WUR-REPORT: Remove set*id functions.
83 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
85 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
87 2012-07-31 Roland McGrath <roland@hack.frob.com>
89 * include/sys/socket.h (__libc_accept, __libc_accept4):
91 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
93 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
95 * inet/getnetgrent_r.c (setup): Likewise.
97 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
99 2012-07-31 David S. Miller <davem@davemloft.net>
101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
103 2012-07-31 Joseph Myers <joseph@codesourcery.com>
106 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
107 value between 1.0 and 2.0 and smaller part has absolute value less
109 * math/s_clog10.c (__clog10): Likewise.
110 * math/s_clog10f.c (__clog10f): Likewise.
111 * math/s_clog10l.c (__clog10l): Likewise.
112 * math/s_clogf.c (__clogf): Likewise.
113 * math/s_clogl.c (__clogl): Likewise.
114 * math/libm-test.inc (clog_test): Add more tests.
115 (clog10_test): Likewise.
116 * sysdeps/i386/fpu/libm-test-ulps: Update.
117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
119 2012-07-31 Florian Weimer <fweimer@redhat.com>
121 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
122 Exit with zero in case no suitable GID is found, and write a
123 message to standard error.
125 2012-07-30 Roland McGrath <roland@hack.frob.com>
127 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
129 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
130 (MAXPATHLEN): Removed.
131 (NOGROUP, NODEV): New macros.
132 (setbit, clrbit, isset, isclr): New macros.
133 (howmany, roundup, powerof2): New macros.
134 (DEV_BSIZE): New macro.
136 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
137 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
139 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
140 definition on [!__NO_LONG_DOUBLE_MATH].
142 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
143 PTR_MANGLE and PTR_DEMANGLE.
145 * socket/accept4.c (accept4): Rename to __libc_accept4.
146 Define accept4 as a weak alias.
148 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
149 on [_DIRENT_HAVE_D_TYPE].
150 * io/ftw.c (ftw_dir): Likewise.
152 * io/xmknod.c (__xmknod): Don't check PATH for being null.
154 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
156 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
157 Use the BSD numbers rather than the arbitrary ones we had.
158 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
159 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
160 (SIGXCPU, SIGXFSZ): New macros.
163 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
164 initializer on [_LIBC_REENTRANT].
166 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
167 definitions inside [_POSIX_MAPPED_FILES].
169 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
171 * dirent/opendir.c: Include <fcntl.h>.
173 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
174 (__libc_getspecific): Likewise.
175 (__libc_key_create): Likewise.
177 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
178 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
179 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
180 (tmpfile64): Define as alias.
181 * sysdeps/wordsize-64/tmpfile.c: File removed.
182 * sysdeps/wordsize-64/tmpfile64.c: File removed.
183 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
184 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
186 * stdio-common/vfscanf.c: Include <stdbool.h>.
187 * nss/makedb.c: Likewise.
188 * stdio-common/_i18n_number.h: Likewise.
189 * argp/argp-help.c: Likewise.
190 * posix/wordexp.c: Likewise.
191 * sysdeps/posix/spawni.c: Likewise.
192 * nss/nss_files/files-initgroups.c: Likewise.
193 * stdio-common/reg-modifier.c: Include <stdlib.h>.
194 * nss/nss_files/files-initgroups.c: Likewise.
195 * nss/nss_db/db-netgrp.c: Likewise.
196 * nss/nss_db/db-initgroups.c: Likewise.
197 * io/fchmodat.c: Include <sys/stat.h>.
199 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
200 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
202 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
205 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
206 Add multiple inclusion protection.
208 2012-07-27 David S. Miller <davem@davemloft.net>
210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
212 2012-07-27 Gary Benson <gbenson@redhat.com>
215 * elf/rtld.c: Include <stap-probe.h>.
216 (dl_main): Added static probes "init_start" and "init_complete".
217 * elf/dl-load.c: Include <stap-probe.h>.
218 (lose): Take new parameter "nsid".
219 Added static probe "map_failed".
220 (_dl_map_object_from_fd): Pass namespace id to lose.
221 Added static probe "map_start".
222 (open_verify): Pass namespace id to lose.
223 * elf/dl-open.c: Include <stap-probe.h>.
224 (dl_open_worker) Added static probes "map_complete", "reloc_start"
225 and "reloc_complete".
226 * elf/dl-close.c: Include <stap-probe.h>.
227 (_dl_close_worker): Added static probes "unmap_start" and
229 * elf/rtld-debugger-interface.txt: New file documenting the above.
231 2012-07-26 Roland McGrath <roland@hack.frob.com>
233 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
234 rather than a string variable.
235 * sunrpc/rpc_main.c (h_output): Likewise.
236 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
238 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
240 * inet/check_native.c: New file.
242 2012-07-26 Joseph Myers <joseph@codesourcery.com>
245 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
246 if larger part has absolute value 1.0.
247 * math/s_clog10.c (__clog10): Likewise.
248 * math/s_clog10f.c (__clog10f): Likewise.
249 * math/s_clog10l.c (__clog10l): Likewise.
250 * math/s_clogf.c (__clogf): Likewise.
251 * math/s_clogl.c (__clogl): Likewise.
252 * math/libm-test.inc (clog_test): Add more tests.
253 (clog10_test): Likewise.
254 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
257 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
260 (La_retval): Likewise.
261 (int_retval): Likewise.
262 Update #error for removed macros to refer only to definitions in
264 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
268 (La_retval): Likewise.
269 (int_retval): Likewise.
270 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
274 (La_retval): Likewise.
275 (int_retval): Likewise.
276 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
280 (La_retval): Likewise.
281 (int_retval): Likewise.
282 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
286 (La_retval): Likewise.
287 (int_retval): Likewise.
288 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
292 (La_retval): Likewise.
293 (int_retval): Likewise.
294 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
298 (La_retval): Likewise.
299 (int_retval): Likewise.
300 * sysdeps/generic/tst-audit.h: Update comment to refer only to
301 macro definitions in tst-audit.h.
302 * sysdeps/i386/tst-audit.h: New file.
303 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
304 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
305 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
306 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
307 * sysdeps/sh/tst-audit.h: Likewise.
308 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
309 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
310 * sysdeps/x86_64/tst-audit.h: Likewise.
312 2012-07-26 Andreas Jaeger <aj@suse.de>
314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
317 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
318 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
319 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
321 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
322 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
323 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
325 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
328 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
330 (si_call_addr, si_syscall, si_arch): Define new macro.
331 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
333 (si_call_addr, si_syscall, si_arch): Define new marcro.
334 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
336 (si_call_addr, si_syscall, si_arch): Define new macro.
337 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
339 (si_call_addr, si_syscall, si_arch): Define new macro.
341 2012-07-25 Joseph Myers <joseph@codesourcery.com>
344 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
345 Change to 2.4.21 where previously 2.4.1.
346 * sysdeps/unix/sysv/linux/configure: Regenerated.
347 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
348 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
349 Linux kernel version.
350 (__ASSUME_STD_AUXV): Remove.
351 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
353 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
354 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
355 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
356 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
357 (__ASSUME_NETLINK_SUPPORT): Likewise.
358 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
359 (__no_netlink_support): Remove conditional definition.
360 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
362 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
363 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
364 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
365 (if_nameindex_ioctl): Remove.
366 (if_nameindex_netlink): Do not handle __no_netlink_support.
367 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
369 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
370 Remove conditional code.
371 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
373 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
375 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
376 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
377 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
379 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
380 [!__ASSUME_STD_AUXV]: Remove conditional code.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
382 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
383 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
385 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
386 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
388 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
390 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
391 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
393 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
395 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
398 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
401 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
403 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
405 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
407 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
410 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
412 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
415 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
417 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
419 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
421 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
424 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
426 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
428 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
430 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
433 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
435 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
436 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
437 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
438 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
439 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
440 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
441 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
442 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
443 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
444 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
445 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
446 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
447 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
448 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
449 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
450 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
451 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
452 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
453 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
455 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
456 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
457 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
459 2012-07-25 Florian Weimer <fweimer@redhat.com>
461 * Versions.def: Add GLIBC_2.17.
462 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
463 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
464 Introduce __libc_secure_getenv.
465 * stdlib/Versions (2.17): Add secure_getenv
466 (GLIBC_PRIVATE): Add __libc_secure_getenv.
467 * stdlib/secure-getenv.c: Rename __secure_getenv to
468 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
469 symbol __secure_getenv for GLIBC_2.0.
470 * stdlib/tst-secure-getenv.c: New.
471 * stdlib/Makefile (tests): Add testcase.
472 * manual/startup.texi (Environment Access): Document
474 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
475 __libc_secure_getenv.
476 * inet/ruserpass.c (ruserpass): Likewise.
477 * malloc/mtrace.c (mtrace): Likewise.
478 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
479 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
480 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
481 * sysdeps/posix/tempname.c: Likewise. Evaluate
483 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
484 __secure_getenv to __libc_secure_getenv.
485 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
492 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
498 2012-07-25 Joseph Myers <joseph@codesourcery.com>
500 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
501 (struct La_i86_retval): Likewise.
502 (struct La_x86_64_regs): Likewise.
503 (struct La_x86_64_retval): Likewise.
504 (struct La_x32_regs): Likewise.
505 (struct La_x32_retval): Likewise.
506 (struct La_ppc32_regs): Likewise.
507 (struct La_ppc32_retval): Likewise.
508 (struct La_ppc64_regs): Likewise.
509 (struct La_ppc64_retval): Likewise.
510 (struct La_sh_regs): Likewise.
511 (struct La_sh_retval): Likewise.
512 (struct La_s390_32_regs): Likewise.
513 (struct La_s390_32_retval): Likewise.
514 (struct La_s390_64_regs): Likewise.
515 (struct La_s390_64_retval): Likewise.
516 (struct La_sparc32_regs): Likewise.
517 (struct La_sparc32_retval): Likewise.
518 (struct La_sparc64_regs): Likewise.
519 (struct La_sparc64_retval): Likewise.
520 (struct audit_ifaces): Remove architecture-specific pltenter and
522 * sysdeps/i386/ldsodefs.h: New file.
523 * sysdeps/powerpc/ldsodefs.h: Likewise.
524 * sysdeps/s390/ldsodefs.h: Likewise.
525 * sysdeps/sh/ldsodefs.h: Likewise.
526 * sysdeps/sparc/ldsodefs.h: Likewise.
527 * sysdeps/x86_64/ldsodefs.h: Likewise.
529 2012-07-25 Marek Polacek <polacek@redhat.com>
532 * math/libm-test.inc (yn_test): Add another test.
533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
534 to ERANGE when the result is +-Inf.
535 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
536 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
537 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
538 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
540 2012-07-24 Joseph Myers <joseph@codesourcery.com>
542 * conform/data/time.h-data (NULL): Use macro-constant. Require
544 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
546 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
548 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
550 * configure.in <sysdeps resolving>: Correct printing
552 * configure: Regenerate.
554 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
556 * math/w_ilogb.c: Include <limits.h>.
557 * math/w_ilogbl.c: Likewise.
559 2012-07-20 Joseph Myers <joseph@codesourcery.com>
561 * manual/lang.texi (__va_copy): Document primarily as ISO C99
562 va_copy. Document allowing for unavailable va_copy only as
563 pre-C99 compatibility.
564 * manual/string.texi (Copying and Concatenation): Use va_copy
565 instead of __va_copy in concat example.
567 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
569 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
570 (__sendto): Use create_address_port. Initialize APORT and deallocate
573 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
574 with O_NOLINK passed to __file_name_lookup.
576 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
577 with O_NOLINK passed to __file_name_lookup.
579 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
580 negative N or less than NGIDS.
582 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
583 type to string_t. Set ERANGE as errno and return it if NAME is not big
584 enough. Use memcpy instead of strncpy.
586 2012-07-20 Joseph Myers <joseph@codesourcery.com>
588 * elf/Makefile (check-data): Remove.
589 (localplt.data): New vpath directive.
590 ($(objpfx)check-localplt.out): Use localplt.data from vpath
591 instead of $(check-data).
592 * scripts/data/localplt-generic.data: Move to ...
593 * sysdeps/generic/localplt.data: ... here.
594 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
595 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
596 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
599 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
602 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
605 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
608 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
611 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
615 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
617 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
618 PPC32 and PPC64 files.
619 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
620 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
622 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
624 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
625 __makecontext_ret to ...
626 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
627 ... here and call exit if uc_link is NULL. New file.
628 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
630 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
631 __makecontext_ret to ...
632 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
633 ... here and call exit if uc_link is NULL. New file.
634 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
637 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
639 * elf/elf.h (R_390_IRELATIVE): New definition.
640 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
641 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
642 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
643 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
644 (elf_machine_lazy_rel): Likewise.
645 * sysdeps/s390/dl-irel.h: New file.
646 * sysdeps/s390/s390-64/memcpy.S: New asm code.
647 * sysdeps/s390/s390-64/memset.S: New asm code.
648 * sysdeps/s390/s390-64/memcmp.S: New asm code.
649 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
650 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
651 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
652 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
653 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
654 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
655 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
656 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
657 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
658 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
659 * sysdeps/s390/s390-32/memcpy.S: New asm code.
660 * sysdeps/s390/s390-32/memset.S: New asm code.
661 * sysdeps/s390/s390-32/memcmp.S: New asm code.
663 2012-07-17 Marek Polacek <polacek@redhat.com>
666 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
667 * sysdeps/s390/s390-64/configure.in: Likewise.
668 * sysdeps/sparc/configure.in: Likewise.
669 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
670 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
671 * sysdeps/i386/configure.in: Likewise.
672 * sysdeps/x86_64/configure.in: Likewise.
673 * sysdeps/sh/configure.in: Likewise.
674 * sysdeps/s390/s390-32/configure: Regenerated.
675 * sysdeps/s390/s390-64/configure: Likewise.
676 * sysdeps/x86_64/configure: Likewise.
677 * sysdeps/sh/configure: Likewise.
678 * sysdeps/powerpc/powerpc64/configure: Likewise.
679 * sysdeps/powerpc/powerpc32/configure: Likewise.
680 * sysdeps/sparc/configure: Likwise.
681 * sysdeps/i386/configure: Likewise.
683 * elf/dl-open.c: Comment fixes.
685 2012-07-17 Joseph Myers <joseph@codesourcery.com>
687 * Makefile [CXX] (check-data): Remove.
688 [CXX] (c++-types.data): New vpath directive.
689 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
690 vpath. Do not allow for C++ type data being missing.
691 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
692 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
693 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
694 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
695 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
696 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
697 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
700 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
703 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
706 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
709 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
712 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
715 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
718 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
721 * elf/tls-macros.h (TLS_LE): Move architecture-specific
722 definitions to architecture-specific files.
726 * sysdeps/i386/tls-macros.h: New file.
727 * sysdeps/powerpc/tls-macros.h: Likewise.
728 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
729 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
730 * sysdeps/sh/tls-macros.h: Likewise.
731 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
732 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
733 * sysdeps/x86_64/tls-macros.h: Likewise.
735 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
737 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
738 zero value for regular exit case.
740 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
741 (__start_context): Preserve zero value for regular exit case.
743 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
744 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
746 * manual/setjmp.texi (setcontext): Clarify normal process
747 termination when uc_link is the null pointer.
748 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
751 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
753 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
754 preprocessor. Test for each exception mask separately.
756 2012-07-16 Andreas Jaeger <aj@suse.de>
758 * po/ru.po: Update from translation team.
760 2012-07-15 Joseph Myers <joseph@codesourcery.com>
762 * conform/data/string.h-data (NULL): Use macro-constant. Require
764 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
765 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
766 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
767 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
768 [ISO || ISO99 || ISO11] (*_t): Do not allow.
770 2012-07-13 Andreas Jaeger <aj@suse.de>
772 * po/fr.po: Update from translation team.
774 2012-07-12 Marek Polacek <polacek@redhat.com>
777 * math/libm-test.inc (yn_test): Add test for BZ #14173.
778 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
781 2012-07-12 Joseph Myers <joseph@codesourcery.com>
784 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
785 Change to 2.4.1 where previously 2.4.0.
786 * sysdeps/unix/sysv/linux/configure: Regenerated.
787 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
788 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
790 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
791 (__ASSUME_AT_CLKTCK): Remove.
792 (__ASSUME_AT_PAGESIZE): Likewise.
793 (__ASSUME_AT_XID): Likewise.
794 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
795 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
796 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
798 (HAVE_AUX_PAGESIZE): Likewise.
799 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
800 [__ASSUME_AT_CLKTCK]: Make code unconditional.
801 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
803 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
807 the temporary buffer used to invoke __gethostbyname2_r,
808 __gethostbyaddr_r and gethostbyname4_r to make room for struct
809 host_data / struct gaih_addrtuple.
810 * resolv/nss_dns/dns-host.c (global scope): Move definition of
811 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
812 header file nss/nsswitch.h.
813 * nss/nsswitch.h (global scope): Add definition of implementation
814 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
815 resolv/nss_dns/dns-host.c).
817 2012-07-11 Andreas Jaeger <aj@suse.de>
819 * po/fr.po: Update from translation team.
821 * po/sv.po: Update from translation team
822 * po/fr.po: Another update from translation team.
824 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
826 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
827 for subnormals or multiply small sinh result by itself.
828 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
831 2012-07-11 David S. Miller <davem@davemloft.net>
833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
835 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
838 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
839 (INTERNAL_MARK): Shift it here.
841 2012-07-10 Marek Polacek <polacek@redhat.com>
844 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
845 libc_cv_asm_global_directive with .globl.
846 * configure: Regenerated.
847 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
849 * sysdeps/i386/configure: Regenerated.
850 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
852 * sysdeps/x86_64/configure: Regenerated.
853 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
854 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
855 * elf/tst-unique2mod2.c: Likewise.
856 * elf/tst-unique2mod1.c: Likewise.
857 * elf/tst-unique1mod2.c: Likewise.
858 * elf/tst-unique1mod1.c: Likewise.
859 * sysdeps/s390/s390-32/sysdep.h: Likewise.
860 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
861 * sysdeps/s390/s390-64/sysdep.h: Likewise.
862 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
863 * sysdeps/mach/sysdep.h: Likewise.
864 * sysdeps/i386/sysdep.h: Likewise.
865 * sysdeps/i386/i386-mcount.S: Likewise.
866 * sysdeps/x86_64/_mcount.S: Likewise.
867 * sysdeps/x86_64/sysdep.h: Likewise.
868 * sysdeps/sh/_mcount.S: Likewise.
869 * sysdeps/sh/sysdep.h: Likewise.
870 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
871 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
872 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
873 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
874 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
875 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
876 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
877 * locale/localeinfo.h: Likewise.
878 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
879 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
881 2012-07-09 Roland McGrath <roland@hack.frob.com>
884 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
886 * manual/message.texi (The Uniforum approach): Likewise.
887 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
888 (glibc iconv Implementation): Likewise.
890 2012-07-09 Joseph Myers <joseph@codesourcery.com>
893 * math/s_clog.c (__clog): Avoid scaling a value down where that
894 could result in underflow.
895 * math/s_clog10.c (__clog10): Likewise.
896 * math/s_clog10f.c (__clog10f): Likewise.
897 * math/s_clog10l.c (__clog10l): Likewise.
898 * math/s_clogf.c (__clogf): Likewise.
899 * math/s_clogl.c (__clogl): Likewise.
900 * math/libm-test.inc (clog_test): Add more tests.
901 (clog10_test): Likewise.
902 * sysdeps/i386/fpu/libm-test-ulps: Update.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
905 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
908 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
909 by 7 not 8 to examine high bit of fractional part.
912 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
913 for call to __mcount_internal.
914 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
915 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
916 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
918 2012-07-06 Joseph Myers <joseph@codesourcery.com>
921 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
922 approximation for values within 0x1p-13f of an odd multiple of
924 * math/libm-test.inc (tan_test): Do not allow spurious underflow
925 exception. Add more tests.
926 * sysdeps/i386/fpu/libm-test-ulps: Update.
929 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
930 inputs and return -1 for them. Do not check for +Inf in case not
932 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
933 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
934 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
935 and return -1 for them. Do not check for +Inf in case not
937 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
939 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
940 and return -1 for them. Do not check for +Inf in case not
942 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
944 * sysdeps/i386/fpu/libm-test-ulps: Update.
945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
947 2012-07-06 Mike Frysinger <vapier@gentoo.org>
949 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
951 2012-07-05 Joseph Myers <joseph@codesourcery.com>
955 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
956 could result in spurious underflow. Scale down values above
957 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
958 * math/s_csqrtf.c (__csqrtf): Likewise.
959 * math/s_csqrtl.c (__csqrtl): Likewise.
960 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
962 * sysdeps/i386/fpu/libm-test-ulps: Update.
963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
965 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
967 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
969 * catgets/xopen-msg.awk: New file.
970 * catgets/xopen-msg.sed: Removed.
972 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
974 * intl/po2test.awk: New file.
975 * intl/po2test.sed: Removed.
977 2012-07-04 Joseph Myers <joseph@codesourcery.com>
980 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
981 or multiply small sinh result by itself.
982 * math/s_ctanf.c (__ctanf): Likewise.
983 * math/s_ctanh.c (__ctanh): Likewise.
984 * math/s_ctanhf.c (__ctanhf): Likewise.
985 * math/s_ctanhl.c (__ctanhl): Likewise.
986 * math/s_ctanl.c (__ctanl): Likewise.
987 * math/libm-test.inc (ctan_test_tonearest): New function.
988 (ctan_test_towardzero): Likewise.
989 (ctan_test_downward): Likewise.
990 (ctan_test_upward): Likewise.
991 (ctanh_test_tonearest): Likewise.
992 (ctanh_test_towardzero): Likewise.
993 (ctanh_test_downward): Likewise.
994 (ctanh_test_upward): Likewise.
995 (main): Call these new functions.
996 * sysdeps/i386/fpu/libm-test-ulps: Update.
997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
999 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1001 * .gitignore: Delete /ports entry.
1003 2012-07-03 Andreas Jaeger <aj@suse.de>
1005 * po/bg.po: Update from translation team.
1006 * po/cs.po: Likewise.
1007 * po/de.po: Likewise.
1008 * po/hr.po: Likewise.
1009 * po/nl.pl: Likewise.
1010 * po/pl.po: Likewise.
1011 * po/vi.po: Likewise.
1013 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1015 * Makeconfig [!+link] (+link-before-libc): New variable.
1016 [!+link] (+link-after-libc): Likewise.
1017 [!+link] (+link-tests): Likewise.
1018 [!+link] (+link): Define in terms of $(+link-before-libc) and
1019 $(+link-after-libc).
1020 [!+link-static] (+link-static-before-libc): New variable.
1021 [!+link-static] (+link-static-after-libc): Likewise.
1022 [!+link-static] (+link-static-tests): Likewise.
1023 [!+link-static] (+link-static): Define in terms of
1024 $(+link-static-before-libc) and $(+link-static-after-libc).
1025 [build-shared] (link-libc-before-gnulib): New variable.
1026 [build-shared] (link-libc-tests): Likewise.
1027 [build-shared] (link-libc): Define in terms of
1028 $(link-libc-before-gnulib).
1029 [!build-shared] (link-libc-tests): New variable.
1030 (link-libc-static-tests): New variable.
1031 [!gnulib] (gnulib-arch): New variable.
1032 [!gnulib] (gnulib-tests): Likewise.
1033 [!gnulib] (static-gnulib-arch): Likewise.
1034 [!gnulib] (static-gnulib-tests): Likewise.
1035 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1036 Define with "=" instead of ":=".
1037 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1038 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1039 * Rules (binaries-all-notests): New variable.
1040 (binaries-all-tests): Likewise.
1041 (binaries-static-notests): Likewise.
1042 (binaries-static-tests): Likewise.
1043 (binaries-all): Define using $(binaries-all-notests) and
1044 $(binaries-all-tests).
1045 (binaries-static): Define using $(binaries-static-notests) and
1046 $(binaries-static-tests).
1047 (binaries-shared-tests): New variable.
1048 (binaries-shared-notests): Likewise.
1049 (binaries-shared): Remove variable.
1050 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1051 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1052 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1053 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1054 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1055 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1056 * elf/Makefile (sln-modules): New variable.
1057 (extra-objs): Add $(sln-modules:=.o).
1058 (ldconfig-modules): Add static-stubs.
1059 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1060 * elf/static-stubs.c: New file.
1063 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1064 by 7 not 8 to examine high bit of fractional part. Use volatile
1065 variables when splitting into final array of floats if
1066 __FLT_EVAL_METHOD__ != 0.
1067 * math/libm-test.inc (cos_test): Add another test.
1068 (sin_test): Likewise.
1069 * sysdeps/i386/fpu/libm-test-ulps: Update.
1072 * math/libm-test.inc (cosh_test): Add more tests.
1074 * version.h (RELEASE): Set to "development".
1075 (VERSION): Set to "2.16.90".
1077 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1079 * NEWS: Update copyright. Remove last-updated date.
1080 Mention math library bug fixes and timezone data changes.
1081 * README: Mention GNU/Hurd, x32, and HPPA support status.
1083 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1085 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1087 2012-06-27 Andreas Jaeger <aj@suse.de>
1089 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1091 2012-06-25 Andreas Jaeger <aj@suse.de>
1093 * sysdeps/s390/fpu/libm-test-ulps: Update.
1095 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1096 Thomas Schwinge <thomas@codesourcery.com>
1098 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1099 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1103 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1105 * sysdeps/mach/start.c: Remove file.
1106 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1107 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1108 * sysdeps/sh/init-first.c: Likewise.
1110 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1111 registers for frame unwinding purposes, add CFI directives.
1112 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1113 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1114 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1117 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1118 __fortify_fail returning.
1119 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1121 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1122 sysdeps/sh/____longjmp_chk.S.
1123 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1124 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1125 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1126 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1128 * sysdeps/sh/abort-instr.h: New file.
1129 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1130 process in case exit returns.
1132 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1133 initialize the GOT register before use.
1135 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1136 calculation of ARGC > 4.
1138 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1139 meaningful names to some local labels.
1141 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1142 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1144 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1145 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1146 (__arch_compare_and_exchange_val_16_acq): Likewise.
1147 (__arch_compare_and_exchange_val_32_acq): Likewise.
1148 (atomic_exchange_and_add): Fix gUSA sequence.
1149 (atomic_add): Likewise.
1150 (atomic_add_negative): Likewise.
1151 (atomic_add_zero): Likewise.
1152 (atomic_bit_test_set): Likewise.
1154 2012-06-22 Andreas Schwab <schwab@redhat.com>
1157 * include/link.h (struct link_map): Add l_free_initfini.
1158 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1160 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1161 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1162 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1165 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1167 * configure.in: Use AC_LANG_SOURCE.
1168 * configure: Regenerate.
1170 2012-06-22 Roland McGrath <roland@hack.frob.com>
1172 * configure.in (libc_cv_localstatedir): New substituted variable.
1173 * configure: Regenerated.
1174 * config.make.in (localstatedir): New variable, substituted from
1175 libc_cv_localstatedir.
1176 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1177 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1178 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1179 * sysdeps/gnu/configure: Regenerated.
1181 2012-06-21 Jeff Law <law@redhat.com>
1184 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1185 free. Simplify list management for _LIBC case.
1187 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1190 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1191 Clear sign bit of 64-bit integer value before comparing against
1194 * sysdeps/mach/configure: Regenerated.
1196 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1199 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1201 2012-06-21 Jeff Law <law@redhat.com>
1204 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1205 uint16_t for elements in the "seen" array to avoid char overflows.
1206 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1207 * elf/dl-open.c (dl_open_worker): Likewise.
1209 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1211 * scripts/list-sources.sh: Scan PORTS for translations.
1212 * po/libc.pot: Regenerated.
1214 2012-06-21 Andreas Jaeger <aj@suse.de>
1217 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1219 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1220 * bits/byteswap-16.h (__bswap_16): Likewise.
1221 * bits/byteswap.h (__bswap_constant_16): Likewise.
1223 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1226 * sysdeps/i386/fpu_control.h: Removed.
1227 * sysdeps/x86_64/fpu_control.h: Moved to ...
1228 * sysdeps/x86/fpu_control.h: Here.
1230 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1231 (_FPU_SETCW): Likewise.
1233 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1236 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1237 * sysdeps/x86/fpu/bits/mathinline.h: This.
1238 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1242 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1243 functions if __x86_64__ is defined.
1245 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1247 * string/endian.h: Add !__ASSEMBLER__ condition for including
1248 conversion interfaces.
1250 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1253 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1254 of ABS(x) in calculating zero to negative powers other than odd
1256 * math/libm-test.inc (pow_test): Add more tests.
1258 2012-06-15 Andreas Jaeger <aj@suse.de>
1260 * manual/contrib.texi (Contributors): Update entry of Liubov
1261 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1264 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1266 * string/string.h: Add __wur to GNU version of strerror_r.
1268 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1271 * string/Makefile (tests): Add tst-strtok_r.
1272 * string/tst-strtok_r.c: New file.
1273 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1274 RAX_LP/RDX_LP on SAVE_PTR.
1276 2012-06-14 Roland McGrath <roland@hack.frob.com>
1278 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1280 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1282 * libm_test.inc (csqrt_test): Allow more spurious underflow
1284 (j0_test): Likewise.
1285 (j1_test): Likewise.
1286 (y0_test): Likewise.
1287 (y1_test): Likewise.
1289 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1291 * po/Makefile (libc.pot): Use UTF-8 charset.
1293 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1296 Suppress sign-conversion warning from FD_SET.
1297 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1298 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1299 not unsigned long int.
1300 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1302 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1306 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1307 __extern_always_inline instead of __extern_inline.
1308 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1309 (__signbit): Likewise.
1310 (__signbitl): Support C++ namespace.
1311 (lrintf): New inline function.
1313 (llrintf): Likewise.
1325 (nearbyint): Likewise.
1326 (nearbyintf): Likewise.
1328 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1330 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1331 non-default versions.
1333 2012-06-11 Roland McGrath <roland@hack.frob.com>
1336 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1338 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1340 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1341 (FE_UPWARD, FE_DOWNWARD): Don't define.
1342 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1343 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1345 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1347 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1348 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1350 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1352 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1354 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1355 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1357 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1360 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1361 * sysdeps/i386/fpu/Implies: New file.
1362 * sysdeps/x86_64/fpu/Implies: Likewise.
1363 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1364 * sysdeps/x86/fpu/bits/fenv.h: This.
1366 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1369 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1372 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1373 character 0xffff that matches the last element of the
1376 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1378 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1381 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1383 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1384 values higher than 25.6283.
1386 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1389 subnormal exponent extraction and add some __builtin_expect.
1390 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1391 Fix for subnormal mantissa calculation.
1393 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1395 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1396 cpu2 is -1 and errno is not ENOSYS.
1398 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1401 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1402 * sysdeps/x86/bits/string.h: This.
1403 * sysdeps/x86_64/bits/string.h: Removed.
1405 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1406 if not compiling for x86-64, but compiling for >= i486.
1408 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1409 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1411 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1412 New macro from Linux kernel 3.4.0.
1413 (FP_XSTATE_MAGIC2): Likewise.
1414 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1415 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1416 (struct _fpx_sw_bytes): New struct.
1417 (struct _xsave_hdr): Likewise.
1418 (struct _ymmh_state): Likewise.
1419 (struct _xstate): Likewise.
1421 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1422 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1423 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1424 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1425 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1426 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1428 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1429 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1430 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1431 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1432 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1433 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1435 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1438 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1439 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1440 (sysdep_headers): Include sys/platform/ppc.h.
1441 * sysdeps/powerpc/test-gettimebase.c: Test for
1442 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1443 * manual/Makefile (appendices): Include platform.texi.
1444 * manual/contrib.texi (Contributors): Update @node pointers.
1445 * manual/maint.texi (Maintenance): Likewise.
1446 (Platform): New node.
1447 * manual/platform.texi: New file. Document the new features.
1449 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1450 Jakub Jelinek <jakub@redhat.com>
1453 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1454 where __builtin_expect is unavailable.
1456 2012-06-03 David S. Miller <davem@davemloft.net>
1458 * stdlib/longlong.h: Updated from GCC.
1460 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1463 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1464 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1467 (GLIBC_2.16): Likewise.
1469 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1471 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1473 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1476 (default-abi): New variable.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1478 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1480 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1482 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1484 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1487 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1488 definition. Document in comment.
1490 2012-06-01 David S. Miller <davem@davemloft.net>
1492 * stdlib/longlong.h: Updated from GCC.
1494 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1497 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1498 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1499 sys/debugreg.h sys/io.h here.
1500 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1501 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1503 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1504 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1505 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1506 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1507 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1508 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1510 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1511 Define only if __x86_64__ is defined.
1513 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1516 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1517 Use int64_t for variable i.
1518 * math/libm-test.inc (fmod_test): Add more tests.
1520 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1521 z computation is not scheduled after fetestexcept.
1522 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1523 Use math_force_eval instead of asm to ensure calculation scheduled
1524 before exception test.
1525 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1526 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1528 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1531 computation is not scheduled after fetestexcept.
1533 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1536 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1537 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1539 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1542 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1544 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1547 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1549 (__WCHAR_MIN): Support __WORDSIZE == 64.
1550 (__WCHAR_MAX): Likewise.
1552 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1553 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1556 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1557 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1560 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1561 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1563 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1564 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1566 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1567 Defined to 1 if __x86_64__ isn't defined.
1568 (_STAT_VER_LINUX_OLD): New.
1569 (st_atime): Remove duplicate.
1570 (st_mtime): Likewise.
1571 (st_ctime): Likewise.
1573 2012-05-31 David S. Miller <davem@davemloft.net>
1575 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1578 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1580 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1584 * elf/dl-reloc.c: Include <_itoa.h>.
1585 (_dl_reloc_bad_type): Remove use of INTUSE.
1586 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1587 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1588 * stdio-common/psiginfo.c (psiginfo): Likewise.
1589 * stdio-common/psignal.c (psignal): Likewise.
1590 * string/strsignal.c (strsignal): Likewise.
1591 * include/signal.h (_sys_siglist): Declare hidden proto.
1592 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1593 INTVARDEF with libc_hidden_data_def.
1594 * stdio-common/itoa-udigits.c: Likewise.
1595 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1596 (_itoa_lower_digits_internal): Remove declaration.
1597 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1598 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1599 (_sys_sigabbrev_internal): Remove aliases.
1600 (_sys_siglist): Define hidden alias.
1602 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1607 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1610 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1611 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1613 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1614 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1615 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1616 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1618 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1620 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1621 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1622 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1624 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1632 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1633 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1634 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1636 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1637 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1638 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1639 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1640 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1641 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1643 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1644 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1646 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1647 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1649 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1650 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1651 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1653 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1654 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1656 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1658 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1659 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1660 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1662 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1664 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1666 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1668 * math/math.h (M_El): Use two more decimal places.
1669 (M_LOG2El): Likewise.
1670 (M_LOG10El): Likewise.
1672 (M_LN10l): Likewise.
1674 (M_PI_2l): Likewise.
1675 (M_PI_4l): Likewise.
1676 (M_1_PIl): Likewise.
1677 (M_2_PIl): Likewise.
1678 (M_2_SQRTPIl): Likewise.
1679 (M_SQRT2l): Likewise.
1680 (M_SQRT1_2l): Likewise.
1682 2012-05-31 David S. Miller <davem@davemloft.net>
1684 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1685 values between float registers.
1686 * sysdeps/sparc/sparc64/memset.S: Likewise.
1687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1689 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1691 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1692 -D_FORTIFY_SOURCE=1.
1693 (CPPFLAGS-tst-longjmp_chk.c): Define.
1694 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1695 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1696 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1697 CFLAGS-tst-wchar-h.c.
1699 2012-05-31 Marek Polacek <polacek@redhat.com>
1702 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1703 __endmntent_internal): Remove declaration.
1704 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1705 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1706 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1708 2012-05-30 David S. Miller <davem@davemloft.net>
1710 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1711 (___Q_simulate_exceptions): Use real FP ops rather than writing
1713 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1716 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1719 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1720 * sysdeps/x86/bits/xtitypes.h: This.
1722 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1723 * sysdeps/x86/bits/wordsize.h: This.
1725 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1726 * sysdeps/x86/bits/huge_vall.h: This.
1728 * sysdeps/i386/bits/select.h: Removed.
1729 * sysdeps/x86_64/bits/select.h: Renamed to ...
1730 * sysdeps/x86/bits/select.h: This.
1732 * sysdeps/i386/bits/setjmp.h: Removed.
1733 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1734 * sysdeps/x86/bits/setjmp.h: This.
1736 * sysdeps/i386/bits/mathdef.h: Removed.
1737 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1738 * sysdeps/x86/bits/mathdef.h: This.
1740 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1743 * include/sys/socket.h (__connect_internal)
1744 (__libc_sa_len_internal): Remove declaration.
1745 (__connect, __libc_sa_len): Declare hidden_proto.
1746 (SA_LEN): Remove use of INTUSE.
1747 * socket/connect.c: Add libc_hidden_def.
1748 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1749 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1750 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1752 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1753 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1754 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1755 of adding _internal alias.
1757 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1760 * sysdeps/i386/bits/link.h: Removed.
1761 * sysdeps/i386/bits/linkmap.h: Likewise.
1762 * sysdeps/x86_64/bits/link.h: Renamed to ...
1763 * sysdeps/x86/bits/link.h: This.
1764 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1765 * sysdeps/x86/bits/linkmap.h: This.
1767 * sysdeps/i386/bits/endian.h: Removed.
1768 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1769 * sysdeps/x86/bits/endian.h: This.
1771 * sysdeps/i386/bits/byteswap.h: Removed.
1772 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1773 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1774 * sysdeps/x86/bits/byteswap.h: This.
1775 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1776 * sysdeps/x86/bits/byteswap-16.h: This.
1777 * sysdeps/i386/Implies: Add x86.
1778 * sysdeps/x86_64/Implies: Likewise.
1780 2012-05-30 David S. Miller <davem@davemloft.net>
1782 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1783 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1784 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1785 (FP_TRAPPING_EXCEPTIONS): Define.
1786 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1787 (FP_TRAPPING_EXCEPTIONS): Define.
1788 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1789 subnormals only when inexact has been signalled or underflow
1790 exceptions are enabled.
1791 (_FP_PACK_CANONICAL): Likewise.
1793 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1796 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1797 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1799 2012-05-30 Richard Henderson <rth@twiddle.net>
1801 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1802 with #ifndef NOT_IN_libc.
1804 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1805 marked to avoid plt entry.
1807 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1810 * Makeconfig (default-abi): New macro.
1811 (abi-includes): Likewise.
1812 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1813 $(abi-$(default-abi)-lib-soname) for soname if defined.
1814 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1816 * Makefile (installed-stubs): Likewise.
1817 * include/stubs-biarch.h: Removed.
1818 * scripts/lib-names.awk: Only handle one library at a time.
1819 * scripts/soversions.awk: Remove WORDSIZE support.
1820 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1822 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1824 (syscall-list-default-condition): Likewise.
1825 (syscall-list-default-condition): Likewise.
1826 (syscall-list-includes): Likewise.
1827 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1828 syscall-list-* with abi-*. Handle undefined abi-variants.
1829 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1830 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1831 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1832 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1833 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1834 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1836 (syscall-list-32-options): Likewise.
1837 (syscall-list-32-condition): Likewise.
1838 (syscall-list-64-options): Likewise.
1839 (syscall-list-64-condition): Likewise.
1840 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1842 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1845 (abi-64-ld-soname): New macro.
1846 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1847 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1850 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1851 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1853 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1855 * sysdeps/unix/sysv/linux/kernel-features.h
1856 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1857 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1858 include <kernel-features.h>.
1859 [!__NR_ftruncate64]: Remove conditional code.
1860 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1861 [__NR_ftruncate64]: Make code unconditional.
1862 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1863 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1864 include <kernel-features.h>.
1865 [!__NR_ftruncate64]: Remove conditional code.
1866 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1867 [__NR_ftruncate64]: Make code unconditional.
1868 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1870 include <kernel-features.h>.
1871 [!__NR_ftruncate64]: Remove conditional code.
1872 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1873 [__NR_ftruncate64]: Make code unconditional.
1874 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1876 include <kernel-features.h>.
1877 [!__NR_ftruncate64]: Remove conditional code.
1878 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1879 [__NR_ftruncate64]: Make code unconditional.
1880 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1882 * configure.in (libc_cv_fpie): Weaken to a compile test using
1884 * configure: Regenerated.
1886 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1901 2012-05-27 David S. Miller <davem@davemloft.net>
1903 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1905 (__Q_simulate_exceptions): Return void. Change to simulate
1906 exceptions by writing into the %fsr.
1907 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1908 (__Qp_handle_exceptions): Likewise.
1910 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1911 __Qp_handle_exceptions.
1912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1913 __Qp_handle_exceptions.
1914 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1915 as unused and give dummy FP_RND_NEAREST initializer.
1916 (FP_INHIBIT_RESULTS): Define.
1917 (___Q_simulate_exceptions): Update declaration.
1918 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1920 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1921 as unused and give dummy FP_RND_NEAREST initializer.
1922 (__Qp_handle_exceptions): Update declaration.
1923 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1926 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1928 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1929 the temporary FPU control word.
1930 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1931 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1932 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1933 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1934 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1935 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1936 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1937 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1938 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1939 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1940 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1942 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1944 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1947 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1949 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1950 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1951 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1952 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1954 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1955 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1958 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1960 * po/h.po: Update from translation team.
1962 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1964 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1966 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1967 handling of denormals.
1968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1969 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1970 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1971 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1972 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1973 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1977 2012-05-26 Marek Polacek <polacek@redhat.com>
1980 * math/libm-test.inc (fma_test): Don't always expect underflow
1983 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1986 * elf/tst-execstack.c: Include stackinfo.h.
1987 (do_test): Adjust test case to ensure that pthread_getattr_np
1988 behaviour remains the same after marking stack executable.
1990 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1992 * sysdeps/unix/sysv/linux/kernel-features.h
1993 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1994 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1996 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1997 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1998 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2000 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2001 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2003 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2005 * configure.in: Define the default includes to being none.
2006 * configure: Regenerated.
2008 2012-05-25 Roland McGrath <roland@hack.frob.com>
2010 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2011 * sysdeps/x86_64/setjmp.S: Likewise.
2012 * sysdeps/i386/bsd-setjmp.S: Likewise.
2013 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2014 * sysdeps/i386/setjmp.S: Likewise.
2015 * sysdeps/i386/__longjmp.S: Likewise.
2016 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2017 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2019 * include/stap-probe.h: New file.
2020 * configure.in: Handle --enable-systemtap.
2021 * configure: Regenerated.
2022 * config.h.in (USE_STAP_PROBE): New #undef.
2023 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2024 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2025 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2027 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2030 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2031 to 2.4.0 where earlier.
2032 * sysdeps/unix/sysv/linux/configure: Regenerated.
2033 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2034 <kernel-features.h>.
2035 [__ASSUME_32BITUIDS]: Make code unconditional.
2036 [!__ASSUME_32BITUIDS]: Remove conditional code.
2037 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2038 <kernel-features.h>.
2039 [__ASSUME_32BITUIDS]: Make code unconditional.
2040 [!__ASSUME_32BITUIDS]: Remove conditional code.
2041 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2042 [__ASSUME_32BITUIDS]: Make code unconditional.
2043 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2044 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2045 <kernel-features.h>.
2046 [__ASSUME_32BITUIDS]: Make code unconditional.
2047 [!__ASSUME_32BITUIDS]: Remove conditional code.
2048 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2049 <kernel-features.h>.
2050 [__ASSUME_32BITUIDS]: Make code unconditional.
2051 [!__ASSUME_32BITUIDS]: Remove conditional code.
2052 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2053 <kernel-features.h>.
2054 [__ASSUME_32BITUIDS]: Make code unconditional.
2055 [!__ASSUME_32BITUIDS]: Remove conditional code.
2056 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2057 <kernel-features.h>.
2058 [__ASSUME_32BITUIDS]: Make code unconditional.
2059 [!__ASSUME_32BITUIDS]: Remove conditional code.
2060 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2061 <kernel-features.h>.
2062 [__ASSUME_32BITUIDS]: Make code unconditional.
2063 [!__ASSUME_32BITUIDS]: Remove conditional code.
2064 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2065 <kernel-features.h>.
2066 [__ASSUME_32BITUIDS]: Make code unconditional.
2067 [!__ASSUME_32BITUIDS]: Remove conditional code.
2068 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2069 <kernel-features.h>.
2070 [__ASSUME_32BITUIDS]: Make code unconditional.
2071 [!__ASSUME_32BITUIDS]: Remove conditional code.
2072 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2073 <kernel-features.h>.
2074 [__ASSUME_32BITUIDS]: Make code unconditional.
2075 [!__ASSUME_32BITUIDS]: Remove conditional code.
2076 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2077 <kernel-features.h>.
2078 [__ASSUME_32BITUIDS]: Make code unconditional.
2079 [!__ASSUME_32BITUIDS]: Remove conditional code.
2080 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2081 <kernel-features.h>.
2082 [__ASSUME_32BITUIDS]: Make code unconditional.
2083 [!__ASSUME_32BITUIDS]: Remove conditional code.
2084 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2085 <kernel-features.h>.
2086 [__NR_setresgid] (__setresgid): Do not declare.
2087 [__ASSUME_32BITUIDS]: Make code unconditional.
2088 [!__ASSUME_32BITUIDS]: Remove conditional code.
2089 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2090 <kernel-features.h>.
2091 [__NR_setresuid] (__setresuid): Do not declare.
2092 [__ASSUME_32BITUIDS]: Make code unconditional.
2093 [!__ASSUME_32BITUIDS]: Remove conditional code.
2094 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2095 <kernel-features.h>.
2096 [__ASSUME_32BITUIDS]: Make code unconditional.
2097 [!__ASSUME_32BITUIDS]: Remove conditional code.
2098 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2099 <kernel-features.h>.
2100 [__ASSUME_32BITUIDS]: Make code unconditional.
2101 [!__ASSUME_32BITUIDS]: Remove conditional code.
2102 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2103 <kernel-features.h>.
2104 [__ASSUME_32BITUIDS]: Make code unconditional.
2105 [!__ASSUME_32BITUIDS]: Remove conditional code.
2106 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2107 <kernel-features.h>.
2108 [__ASSUME_32BITUIDS]: Make code unconditional.
2109 [!__ASSUME_32BITUIDS]: Remove conditional code.
2110 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2111 <kernel-features.h>.
2112 [__ASSUME_32BITUIDS]: Make code unconditional.
2113 [!__ASSUME_32BITUIDS]: Remove conditional code.
2114 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2115 <kernel-features.h>.
2116 [__ASSUME_32BITUIDS]: Make code unconditional.
2117 [!__ASSUME_32BITUIDS]: Remove conditional code.
2118 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2119 <kernel-features.h>.
2120 [__ASSUME_32BITUIDS]: Make code unconditional.
2121 [!__ASSUME_32BITUIDS]: Remove conditional code.
2122 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2123 <kernel-features.h>.
2124 [__ASSUME_32BITUIDS]: Make code unconditional.
2125 [!__ASSUME_32BITUIDS]: Remove conditional code.
2126 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2127 <kernel-features.h>.
2128 [__ASSUME_32BITUIDS]: Make code unconditional.
2129 [!__ASSUME_32BITUIDS]: Remove conditional code.
2130 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2131 <kernel-features.h>.
2132 [__ASSUME_32BITUIDS]: Make code unconditional.
2133 [!__ASSUME_32BITUIDS]: Remove conditional code.
2134 * sysdeps/unix/sysv/linux/kernel-features.h
2135 (__ASSUME_SETRESUID_SYSCALL): Remove.
2136 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2137 (__ASSUME_32BITUIDS): Likewise.
2138 (__ASSUME_LDT_WORKS): Likewise.
2139 (__ASSUME_O_DIRECTORY): Likewise.
2140 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2141 architecture but not kernel version.
2142 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2143 (__ASSUME_MMAP2_SYSCALL): Likewise.
2144 (__ASSUME_STAT64_SYSCALL): Likewise.
2145 (__ASSUME_IPC64): Likewise.
2146 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2147 <kernel-features.h>.
2148 [__ASSUME_32BITUIDS]: Make code unconditional.
2149 [!__ASSUME_32BITUIDS]: Remove conditional code.
2150 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2151 <kernel-features.h>.
2152 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2153 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2154 132096]: Remove conditional code.
2155 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2156 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2157 <kernel-features.h>.
2158 [__ASSUME_32BITUIDS]: Make code unconditional.
2159 [!__ASSUME_32BITUIDS]: Remove conditional code.
2160 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2161 <kernel-features.h>.
2162 [__ASSUME_32BITUIDS]: Make code unconditional.
2163 [!__ASSUME_32BITUIDS]: Remove conditional code.
2164 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2165 <kernel-features.h>.
2166 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2168 (__setresgid): Do not declare.
2169 [__ASSUME_32BITUIDS]: Make code unconditional.
2170 [!__ASSUME_32BITUIDS]: Remove conditional code.
2171 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2172 <kernel-features.h>.
2173 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2175 (__setresuid): Do not declare.
2176 [__ASSUME_32BITUIDS]: Make code unconditional.
2177 [!__ASSUME_32BITUIDS]: Remove conditional code.
2178 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2179 <kernel-features.h>.
2180 [__ASSUME_32BITUIDS]: Make code unconditional.
2181 [!__ASSUME_32BITUIDS]: Remove conditional code.
2182 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2183 <kernel-features.h>.
2184 [__ASSUME_32BITUIDS]: Make code unconditional.
2185 [!__ASSUME_32BITUIDS]: Remove conditional code.
2187 2012-05-25 Richard Henderson <rth@twiddle.net>
2189 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2190 dl_hwcap to ifunc resolver.
2191 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2193 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2194 dl_hwcap to ifunc resolver.
2195 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2197 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2200 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2201 for |x| <= 2**-26, not 2**-57.
2202 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2205 2012-05-24 Jeff Law <law@redhat.com>
2207 * stdio-common/Makefile (tests): Add bug25.
2208 * stdio-common/bug25.c: New test.
2210 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2213 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2214 multiple of MALLOC_ALIGNMENT in size.
2215 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2217 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2219 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2221 (FILENAME_MAX): Use macro-int-constant.
2222 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2223 (_IOFBF): Use macro-int-constant.
2226 (SEEK_CUR): Likewise.
2227 (SEEK_END): Likewise.
2228 (SEEK_SET): Likewise.
2229 (TMP_MAX): Likewise.
2230 (EOF): Use macro-int-constant. Require < 0.
2231 (NULL): Use macro-constant. Require == 0.
2232 (stdin): Require type to be FILE *.
2235 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2237 (EXIT_SUCCESS): Likewise.
2238 (NULL): Use macro-constant. Require == 0.
2239 (RAND_MAX): Use macro-int-constant.
2240 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2241 [C99-based standards] (strtof): Require function.
2242 [C99-based standards] (strtold): Likewise.
2243 [C99-based standards] (strtoll): Likewise.
2244 [C99-based standards] (strtoull): Likewise.
2245 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2246 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2247 [ISO || ISO99 || ISO11] (math.h): Likewise.
2248 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2249 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2250 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2252 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2255 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2256 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2257 * intl/dgettext.c (DCGETTEXT): Likewise.
2258 * intl/gettext.c (DCGETTEXT): Likewise.
2259 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2260 * posix/regex_internal.h (gettext): Likewise.
2261 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2263 * include/argz.h (__argz_count_internal)
2264 (__argz_stringify_internal): Remove declaration.
2265 (__argz_count, __argz_stringify): Declare hidden proto.
2266 * intl/dcgettext.c: Remove use of INTDEF.
2267 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2268 * string/argz-stringify.c: Likewise.
2269 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2270 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2271 Declare hidden proto.
2272 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2273 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2274 Declare hidden proto.
2275 * include/stdio.h (__asprintf_internal): Don't declare.
2276 (__asprintf): Don't define as macro. Declare hidden proto.
2277 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2278 (__fsetlocking): Declare hidden proto.
2279 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2280 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2282 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2283 (_IO_setlinebuf): Remove use of INTUSE.
2284 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2285 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2286 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2288 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2289 (_IO_do_flush): Remove use of INTUSE.
2290 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2291 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2292 (_IO_adjust_column, _IO_least_wmarker)
2293 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2294 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2295 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2296 (_IO_default_doallocate, _IO_wdefault_doallocate)
2297 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2298 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2299 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2300 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2301 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2302 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2303 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2304 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2305 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2306 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2307 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2308 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2309 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2311 (_IO_flush_all_internal, _IO_adjust_column_internal)
2312 (_IO_default_uflow_internal, _IO_default_finish_internal)
2313 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2314 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2315 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2316 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2317 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2318 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2319 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2320 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2321 (_IO_file_close_internal, _IO_file_close_it_internal)
2322 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2323 (_IO_file_init_internal, _IO_file_attach_internal)
2324 (_IO_file_fopen_internal, _IO_file_read_internal)
2325 (_IO_file_sync_internal, _IO_file_seek_internal)
2326 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2327 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2328 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2329 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2330 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2331 (_IO_list_all_internal, _IO_link_in_internal)
2332 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2333 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2334 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2335 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2336 (_IO_do_write_internal, _IO_padn_internal)
2337 (_IO_getline_info_internal, _IO_getline_internal)
2338 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2339 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2340 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2341 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2342 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2343 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2344 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2345 with libc_hidden_ver, remove use of INTUSE.
2346 * libio/genops.c: Likewise.
2347 * libio/freopen.c: Likewise.
2348 * libio/freopen64.c: Likewise.
2349 * libio/iofclose.c: Likewise.
2350 * libio/iofdopen.c: Likewise.
2351 * libio/iofflush.c: Likewise.
2352 * libio/iofflush_u.c: Likewise.
2353 * libio/iofgets.c: Likewise.
2354 * libio/iofgets_u.c: Likewise.
2355 * libio/iofopen.c: Likewise.
2356 * libio/iofopncook.c: Likewise.
2357 * libio/iofread.c: Likewise.
2358 * libio/iofread_u.c: Likewise.
2359 * libio/ioftell.c: Likewise.
2360 * libio/iofwrite.c: Likewise.
2361 * libio/iogetline.c: Likewise.
2362 * libio/iogets.c: Likewise.
2363 * libio/iogetwline.c: Likewise.
2364 * libio/iopadn.c: Likewise.
2365 * libio/iopopen.c: Likewise.
2366 * libio/ioseekoff.c: Likewise.
2367 * libio/ioseekpos.c: Likewise.
2368 * libio/iosetbuffer.c: Likewise.
2369 * libio/iosetvbuf.c: Likewise.
2370 * libio/ioungetc.c: Likewise.
2371 * libio/ioungetwc.c: Likewise.
2372 * libio/iovdprintf.c: Likewise.
2373 * libio/iovsprintf.c: Likewise.
2374 * libio/iovsscanf.c: Likewise.
2375 * libio/memstream.c: Likewise.
2376 * libio/obprintf.c: Likewise.
2377 * libio/oldfileops.c: Likewise.
2378 * libio/oldiofclose.c: Likewise.
2379 * libio/oldiofdopen.c: Likewise.
2380 * libio/oldiofopen.c: Likewise.
2381 * libio/oldiopopen.c: Likewise.
2382 * libio/oldstdfiles.c: Likewise.
2383 * libio/putc.c: Likewise.
2384 * libio/setbuf.c: Likewise.
2385 * libio/setlinebuf.c: Likewise.
2386 * libio/stdfiles.c: Likewise.
2387 * libio/strops.c: Likewise.
2388 * libio/vasprintf.c: Likewise.
2389 * libio/vscanf.c: Likewise.
2390 * libio/vsnprintf.c: Likewise.
2391 * libio/vswprintf.c: Likewise.
2392 * libio/wfiledoalloc.c: Likewise.
2393 * libio/wfileops.c: Likewise.
2394 * libio/wgenops.c: Likewise.
2395 * libio/wmemstream.c: Likewise.
2396 * libio/wstrops.c: Likewise.
2397 * libio/__fpurge.c: Likewise.
2398 * libio/__fsetlocking.c: Likewise.
2399 * assert/assert.c: Likewise.
2400 * debug/fgets_chk.c: Likewise.
2401 * debug/fgets_u_chk.c: Likewise.
2402 * debug/fread_chk.c: Likewise.
2403 * debug/fread_u_chk.c: Likewise.
2404 * debug/gets_chk.c: Likewise.
2405 * debug/obprintf_chk.c: Likewise.
2406 * debug/vasprintf_chk.c: Likewise.
2407 * debug/vdprintf_chk.c: Likewise.
2408 * debug/vsnprintf_chk.c: Likewise.
2409 * debug/vsprintf_chk.c: Likewise.
2410 * malloc/mtrace.c: Likewise.
2411 * misc/error.c: Likewise.
2412 * misc/syslog.c: Likewise.
2413 * stdio-common/asprintf.c: Likewise.
2414 * stdio-common/fxprintf.c: Likewise.
2415 * stdio-common/getw.c: Likewise.
2416 * stdio-common/isoc99_fscanf.c: Likewise.
2417 * stdio-common/isoc99_scanf.c: Likewise.
2418 * stdio-common/isoc99_vfscanf.c: Likewise.
2419 * stdio-common/isoc99_vscanf.c: Likewise.
2420 * stdio-common/isoc99_vsscanf.c: Likewise.
2421 * stdio-common/printf-prs.c: Likewise.
2422 * stdio-common/printf_fp.c: Likewise.
2423 * stdio-common/printf_fphex.c: Likewise.
2424 * stdio-common/printf_size.c: Likewise.
2425 * stdio-common/putw.c: Likewise.
2426 * stdio-common/scanf.c: Likewise.
2427 * stdio-common/sprintf.c: Likewise.
2428 * stdio-common/tmpfile.c: Likewise.
2429 * stdio-common/vfprintf.c: Likewise.
2430 * stdio-common/vfscanf.c: Likewise.
2431 * stdlib/strfmon_l.c: Likewise.
2432 * sunrpc/openchild.c: Likewise.
2433 * sunrpc/xdr_stdio.c: Likewise.
2434 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2435 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2437 2012-05-24 Roland McGrath <roland@hack.frob.com>
2439 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2441 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2442 in the third column, to generate for the shared library an IFUNC
2443 that uses _dl_vdso_vsym.
2444 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2445 * Makeconfig (object-suffixes-noshared): New variable.
2447 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2448 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2449 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2450 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2453 * include/sys/time.h (__gettimeofday): Remove macro.
2454 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2455 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2457 (__gettimeofday): Add libc_hidden_def.
2458 (gettimeofday): Add libc_hidden_weak.
2459 * sysdeps/mach/gettimeofday.c: Likewise.
2460 * sysdeps/posix/gettimeofday.c: Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2462 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2464 (__gettimeofday_internal): Remove strong_alias.
2465 (__gettimeofday): Add libc_hidden_def.
2466 (gettimeofday): Add libc_hidden_weak.
2467 * sysdeps/unix/syscalls.list (gettimeofday):
2468 Remove __gettimeofday_internal alias.
2470 2012-05-24 Daniel Jacobowitz <drow@false.org>
2471 H.J. Lu <hongjiu.lu@intel.com>
2474 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2475 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2476 (largebin_index_32_big): New.
2477 (largebin_index): Use it for 16-byte alignment.
2478 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2479 correction with front_misalign.
2481 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2509 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2510 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2512 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2516 * math/libm-test.inc (exp_test): Add test from bug 14036.
2517 (pow_test): Add test from bug 10846.
2519 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2521 (special_function): Do not include flags in test name.
2522 (parse_args): Likewise.
2523 * sysdeps/i386/fpu/libm-test-ulps: Update.
2524 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2525 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2526 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2529 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2531 * math/libm-test.inc ("Philosophy"): Update comment about
2533 (UNDERFLOW_EXCEPTION): New macro.
2534 (UNDERFLOW_EXCEPTION_OK): Likewise.
2535 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2536 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2537 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2538 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2539 (INVALID_EXCEPTION_OK): Update value.
2540 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2541 (OVERFLOW_EXCEPTION_OK): Likewise.
2542 (IGNORE_ZERO_INF_SIGN): Likewise.
2543 (test_exceptions): Handle underflow exceptions.
2544 (acos_test): Update for underflow exception expectations.
2545 (cexp_test): Likewise.
2546 (clog_test): Likewise.
2547 (clog10_test): Likewise.
2548 (csqrt_test): Likewise.
2549 (ctan_test): Likewise.
2550 (ctanh_test): Likewise.
2551 (exp_test): Likewise.
2552 (exp10_test): Likewise.
2553 (exp2_test): Likewise.
2554 (expm1_test): Likewise.
2555 (fma_test): Likewise.
2556 (j0_test): Likewise.
2557 (jn_test): Likewise.
2558 (nexttoward_test): Likewise.
2559 (pow_test): Likewise.
2560 (scalbn_test): Likewise.
2561 (scalbln_test): Likewise.
2562 (tan_test): Likewise.
2563 (y1_test): Likewise.
2564 * sysdeps/i386/fpu/libm-test-ulps: Update.
2565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2567 2012-05-23 David S. Miller <davem@davemloft.net>
2569 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2570 (__libc_sigaction): Remove unused local variables.
2572 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2574 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2576 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2578 mktime: avoid signed integer overflow
2579 * time/mktime.c (__mktime_internal): Do not mishandle the case
2580 where diff == INT_MIN.
2582 mktime: simplify computation of average
2583 * time/mktime.c (ranged_convert): Use new time_t_avg function
2584 instead of rolling our own (probably-slower) code.
2586 mktime: do not assume signed right shift propagates sign bit
2587 * time/mktime.c (isdst_differ): New static function.
2588 (__mktime_internal): No need to normalize tm_isdst now.
2589 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2592 mktime: merge another wrapv change from gnulib
2593 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2594 from some compilers.
2596 mktime: remove incorrect attempt at unusual arithmetics
2597 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2598 The code didn't really work on such machines anyway.
2599 (TYPE_MINIMUM): Assume two's complement.
2600 (twos_complement_arithmetic): Verify that long_int and time_t
2601 are two's complement (or unsigned, in the latter case).
2603 mktime: check signed shifts on long_int and time_t, too
2604 * time/mktime.c (SHR): Check that shifts work as desired
2605 on the types long_int and time_t too, as SHR is used on
2608 mktime: do not assume 'long' is wide enough
2609 * time/mktime.c (verify): Move decl up.
2610 (long_int): New type.
2611 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2612 to remove assumption in the code that 'long' is wide enough to
2613 store year values. This assumption is not true on x32 and on
2614 some non-glibc platforms.
2616 mktime: merge wrapv change from gnulib
2617 * time/mktime.c (WRAPV): New macro.
2618 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2619 (guess_time_tm, __mktime_internal): Do not assume that signed
2620 integer overflow wraps around; modern compilers generate code
2621 where this assumption is no longer valid.
2623 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2625 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2626 Replace "jmp L(pseudo_end)" with "ret".
2627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2630 2012-05-23 Andreas Jaeger <aj@suse.de>
2632 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2633 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2635 2012-05-23 Andreas Jaeger <aj@suse.de>
2636 Maximilian Attems <max@stro.at>
2638 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2641 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2643 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2644 code so that pseudo_end is just ret and the stack pointer is
2645 correct also for static library in error case.
2647 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2649 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2650 move to syscalls.list.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2656 * manual/install.texi (Running make install): Do not mention Linux
2657 kernel version for which pt_chown is not needed.
2658 (Linux): Do not mention problems with nscd with 2.0 kernels.
2659 * INSTALL: Regenerated.
2661 2012-05-23 Andreas Jaeger <aj@suse.de>
2663 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2664 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2666 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2667 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2668 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2669 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2670 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2671 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2672 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2673 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2674 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2675 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2676 * sysdeps/unix/sysv/linux/bits/in.h
2677 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2679 2012-05-22 Roland McGrath <roland@hack.frob.com>
2681 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2682 (PREPARE_VERSION): Just use assert instead, it will be elided
2683 under [NDEBUG] anyway.
2685 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2687 * sysdeps/unix/sysv/linux/Makefile: Include
2688 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2689 (sysdep_routines): Remove sysctl.
2690 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2691 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2692 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2693 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2694 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2696 2012-05-22 Andreas Jaeger <aj@suse.de>
2698 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2699 that pseudo_end is just ret and the stack pointer is correct also
2700 for static library in error case.
2702 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2705 * nss/nsswitch.c (defconfig_entries): New variable.
2706 (__nss_database_lookup): Don't leak defconfig entries.
2707 (nss_parse_service_list): Don't leak on error paths.
2708 (free_database_entries): New function.
2709 (free_defconfig): New function.
2710 (free_mem): Move common code to free_database_entries.
2712 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2714 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2716 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2718 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2719 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2722 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2723 (INTERNAL_SYSCALL_TYPES): Likewise.
2724 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2725 (LOAD_REGS_TYPES_[1-6]): Likewise.
2726 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2727 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2729 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2731 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2732 copysignl for GLIBC_2_0.
2733 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2734 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2736 logbl for GLIBC_2_0.
2737 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2738 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2740 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2742 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2743 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2745 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2748 * time/mktime.c: Update copyright years.
2750 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2752 mktime: merge comment-quoting-style change from gnulib
2753 * time/mktime.c: Quote 'like this' in comments.
2754 The GNU coding standards suggest that we no longer quote `like this',
2755 as "`" and "'" are typically rendered asymmetrically nowadays.
2756 The typical gnulib style is to quote 'like this' when quoting
2757 code, and "like this" when quoting English.
2759 * time/mktime.c (compile-command): Add "-I.".
2761 mktime: merge mktime-internal.h change from gnulib
2762 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2764 mktime: merge time_r change from gnulib
2765 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2767 mktime: merge DEBUG change from gnulib
2768 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2769 case system <time.h> has a #define.
2771 mktime: merge <sys/types.h> change from gnulib
2772 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2773 since <time.t> is now guaranteed to define time_t.
2775 mktime: merge HAVE_CONFIG_H change from gnulib
2776 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2778 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2783 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2785 (struct rusage): Use anonymous union to pad each field to
2788 2012-05-21 David S. Miller <davem@davemloft.net>
2790 * Makefules (o-iterator): Remove .s cases.
2791 (compile-command.s): Delete.
2792 (COMPILE.s): Delete.
2793 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2795 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2797 * configure.in (libc_cv_predef_stack_protector): Only consider
2798 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2799 * configure: Regenerated.
2801 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2804 New macro. Use R*LP on int and pointer.
2805 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2806 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2807 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2808 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2810 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2811 [__WORDSIZE_TIME64_COMPAT32] instead of
2812 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2813 (struct utmp): Likewise.
2814 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2815 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2817 (__WORDSIZE_TIME64_COMPAT32): This.
2818 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2819 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2820 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2821 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2822 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2823 (__WORDSIZE_TIME64_COMPAT32): New macro.
2825 2012-05-21 Andreas Jaeger <aj@suse.de>
2827 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2828 only if [SHARED]. Add prototype for __wcschr_ia32.
2830 2012-05-21 Roland McGrath <roland@hack.frob.com>
2832 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2833 of %rbp unmolested in the jmp_buf while mangling the low bits.
2834 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2835 unmolested high bits of %rbp while demangling the low bits.
2836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2838 2012-05-21 Andreas Jaeger <aj@suse.de>
2840 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2841 * sunrpc/svc_simple.c: Use it for registerrpc.
2842 * sunrpc/xcrypt.c: Use it for passwd2des.
2844 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2846 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2848 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2849 Don't define if [__SYSCALL_WORDSIZE != 32].
2850 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2853 2012-05-21 Bruno Haible <bruno@clisp.org>
2854 Andreas Jaeger <aj@suse.de>
2856 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2857 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2858 inptr and inend for must_buffer_ch.
2859 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2860 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2861 * stdio-common/Makefile (tests): Remove bug15.
2862 (bug15-ENV): Remove macro.
2863 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2866 2012-05-19 Andreas Jaeger <aj@suse.de>
2867 Roland McGrath <roland@hack.frob.com>
2869 * manual/contrib.texi: Completely rewritten. It contains now an
2870 alphabetical list of contributors and their contributions.
2872 2012-05-21 Richard Henderson <rth@twiddle.net>
2874 * misc/getauxval.c (__getauxval): Use unsigned long int.
2875 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2876 (getauxval): Use unsigned long int.
2878 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2880 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2882 2012-05-21 Roland McGrath <roland@hack.frob.com>
2884 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2885 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2886 __alignof__ (long double).
2888 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2892 2012-05-20 Richard Henderson <rth@twiddle.net>
2894 * misc/getauxval.c: New file.
2895 * misc/sys/auxv.h: New file.
2896 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2897 (routines): Add getauxval.
2898 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2899 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2900 * elf/dl-sysdep.c (_dl_auxv): Remove.
2901 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2902 * elf/dl-support.c (_dl_auxv): New variable.
2903 (_dl_aux_init): Initialize it.
2904 * manual/startup.texi (Auxiliary Vector): New node.
2905 * sysdeps/generic/bits/hwcap.h: New file.
2906 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2907 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2908 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2909 * sysdeps/sparc/sysdep.h: ... here. Include it.
2910 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2911 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2917 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2923 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2927 2012-05-19 David S. Miller <davem@davemloft.net>
2929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2931 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2934 * math/s_ccosh.c: Include <float.h>
2935 (__ccosh): Avoid internal overflow calculating sinh and cosh
2936 values before multiplying by sin and cos values.
2937 * math/s_ccoshf.c: Likewise.
2938 * math/s_ccoshl.c: Likewise.
2939 * math/s_csin.c: Likewise.
2940 * math/s_csinf.c: Likewise.
2941 * math/s_csinl.c: Likewise.
2942 * math/s_csinh.c: Likewise.
2943 * math/s_csinhf.c: Likewise.
2944 * math/s_csinhl.c: Likewise.
2945 * math/libm-test.inc (ccos_test): Add more tests.
2946 (ccosh_test): Likewise.
2947 (csin_test): Likewise.
2948 (csinh_test): Likewise.
2949 * sysdeps/i386/fpu/libm-test-ulps: Update.
2950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2952 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2954 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2955 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2957 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2959 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2961 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2962 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2963 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2964 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2965 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2966 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2967 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2968 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2969 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2970 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2971 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2972 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2973 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2974 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2975 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2976 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2977 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2978 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2979 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2980 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2981 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2982 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2983 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2984 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2985 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2986 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2987 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2988 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2989 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2990 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2991 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2993 2012-05-18 Andreas Jaeger <aj@suse.de>
2995 * csu/.gitignore: Delete.
2997 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2999 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3000 (timex): Use __syscall_slong_t.
3002 2012-05-18 Andreas Jaeger <aj@suse.de>
3003 Carlos O'Donell <carlos_odonell@mentor.com>
3005 * manual/install.texi (Configuring and compiling): Update
3006 description about files modified in the source directory.
3007 * INSTALL: Regenerated.
3009 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3011 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3012 value. Use "or" to set return value to -1.
3013 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3014 negate return value.
3016 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3018 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3019 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3020 failure if the compiler has Graphite support disabled.
3021 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3023 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3024 CFLAGS-memmove.c): Likewise.
3025 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3028 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3030 * sysdeps/x86_64/x32/_itoa.h: New file.
3032 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3033 getdents system call only if kernel and user dirents have the
3034 same d_ino and d_off.
3036 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3037 LLONG_MAX != LONG_MAX.
3038 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3039 (_fitoa_word): Likewise.
3041 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3043 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3044 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3045 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3047 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3048 include <bits/wordsize.h>. Check __x86_64__ instead of
3050 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3051 if __x86_64__ is defined. Use anonymous union on fpstate.
3053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3056 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3058 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3059 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3060 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3061 Refer to _rtld_local_ro instead of _rtld_global_ro.
3062 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3064 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3066 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3068 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3069 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3070 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3072 * sysdeps/powerpc/powerpc32/dl-machine.c
3073 (__elf_machine_runtime_setup) [PROF]: Don't reference
3076 2012-05-18 Andreas Jaeger <aj@suse.de>
3078 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3079 function only available for GCCs before 3.4 since GCC 3.4
3080 introduced a builtin.
3082 (llrintf): Likewise.
3090 (nearbyint): Likewise.
3091 (nearbyintf): Likewise.
3097 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3099 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3100 on both fields and cast pointer to __syscall_ulong_t.
3102 * bits/types.h (__fsword_t): New type.
3103 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3104 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3106 (__FSWORD_T_TYPE): Likewise.
3107 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3108 (__FSWORD_T_TYPE): Likewise.
3109 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3110 (__FSWORD_T_TYPE): Likewise.
3111 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3112 (__FSWORD_T_TYPE): Likewise.
3113 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3114 __SWORD_TYPE with __fsword_t.
3115 (statfs64): Likewise.
3117 2012-05-17 David S. Miller <davem@davemloft.net>
3119 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3121 2012-05-17 Andreas Jaeger <aj@suse.de>
3123 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3126 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3128 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3130 2012-05-17 Andreas Jaeger <aj@suse.de>
3132 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3135 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3137 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3139 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3141 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3142 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3144 2012-05-17 Andreas Jaeger <aj@suse.de>
3145 Carlos O'Donell <carlos_odonell@mentor.com>
3148 * sysdeps/x86_64/multiarch/init-arch.h
3149 (bit_YMM_Usable): Rename to...
3150 (bit_AVX_Usable): ... this.
3151 (bit_FMA4_Usable): New macro.
3152 (bit_XMM_state): New macro.
3153 (bit_YMM_state): New macro.
3154 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3155 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3156 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3157 (CPUID_OSXSAVE): New macro.
3158 (CPUID_AVX): New macro.
3159 (CPUID_FMA4): New macro.
3160 (index_YMM_Usable): Rename to...
3161 (index_AVX_Usable): ... this.
3162 (HAS_AVX): Use HAS_ARCH_FEATURE.
3163 (HAS_FMA4): Likewise.
3164 (HAS_YMM_USABLE): Remove.
3165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3166 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3168 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3169 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3170 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3171 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3172 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3174 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3176 * math/libm-test.c: Support platforms without multiple rounding modes.
3177 * math/bug-nextafter.c: Support platforms without FP exceptions.
3178 * math/bug-nexttoward.c: Likewise.
3179 * math/test-fenv.c: Likewise.
3180 * math/test-misc.c: Likewise.
3181 * stdlib/bug-getcontext.c: Likewise.
3183 2012-05-17 Andreas Jaeger <aj@suse.de>
3185 * manual/examples/search.c (critter_cmp): Change signature to
3187 * manual/string.texi (Collation Functions): Likewise.
3189 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3191 * bits/types.h: Fold copyright years.
3192 * bits/typesizes.h: Likewise.
3193 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3195 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3197 * time/time.h: Likewise.
3199 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3202 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3203 in instead of returning them. Return void.
3204 (__libc_mallinfo): Accumulate over all arenas.
3205 (__malloc_stats): Adjust for change in int_mallinfo interface.
3207 2012-05-16 Roland McGrath <roland@hack.frob.com>
3210 * configure.in (NM): Add AC_CHECK_TOOL for it.
3211 (libc_extra_cflags): New substituted variable.
3212 Check for -fstack-protector being used implicitly.
3213 * configure: Regenerated.
3214 * config.make.in (config-extra-cflags): New variable,
3215 gets @libc_extra_cflags@.
3216 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3219 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3220 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3221 * configure: Regenerated.
3222 * config.make.in (CPPUNDEFS): New substituted variable.
3223 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3224 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3225 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3227 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3229 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3230 (mq_attr): Use __syscall_slong_t.
3232 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3234 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3235 Check __x86_64__ instead of __WORDSIZE.
3236 (_STAT_VER_LINUX): Likewise.
3237 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3238 __syscall_ulong_t and __syscall_slong_t.
3241 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3243 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3245 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3247 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3249 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3251 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3254 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3255 include <bits/wordsize.h>. Check __x86_64__ instead of
3257 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3259 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3261 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3262 include <bits/wordsize.h>. Check __x86_64__ instead of
3264 (user_regs_struct): Use "__extension__ unsigned long long"
3265 instead of "unsigned long" if __x86_64__ is defined.
3266 (user): Likewise. Pad after pointer field if __ILP32__ is
3269 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3271 * configure.in (makeinfo): Require version 4.5 or later. Allow
3273 * configure: Regenerated.
3274 * manual/install.texi (texinfo): Increase version requirement to
3276 * INSTALL: Regenerated.
3278 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3280 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3282 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3284 * sysdeps/x86_64/x32/ffs.c: New file.
3286 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3288 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3289 defined. Use __syscall_ulong_t.
3290 (shminfo): Use __syscall_ulong_t.
3291 (shm_info): Likewise.
3293 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3296 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3298 (msgqnum_t): Use __syscall_ulong_t.
3299 (msglen_t): Likewise.
3300 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3303 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3304 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3306 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3308 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3309 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3311 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3314 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3315 include <bits/wordsize.h>. Check __x86_64__ instead of
3318 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3319 "unsigned long long int" if __x86_64__ is defined.
3320 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3323 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3324 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3326 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3328 (GET_PC): Cast to uintptr_t first.
3329 (GET_FRAME): Likewise.
3330 (GET_STACK): Likewise.
3332 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3333 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3334 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3335 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3336 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3337 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3338 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3339 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3340 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3341 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3342 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3343 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3344 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3345 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3346 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3347 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3348 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3349 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3350 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3351 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3352 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3353 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3354 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3355 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3356 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3357 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3358 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3359 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3360 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3362 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3364 * Makerules (+depfiles): Also collect depfiles from .oS in
3366 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3367 .oS, $(libnldbl-routines)).
3369 * Makerules (native-compile-mkdep-flags): Define.
3370 * sunrpc/Makefile (extra-objs): Add $(addprefix
3371 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3372 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3373 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3374 calling $(make-target-directory).
3376 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3378 * bits/types.h (__snseconds_t): Removed.
3379 * time/time.h (struct timespec): Replace __snseconds_t with
3381 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3382 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3384 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3385 (__SNSECONDS_T_TYPE): Likewise.
3386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3387 (__SNSECONDS_T_TYPE): Likewise.
3388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3389 (__SNSECONDS_T_TYPE): Likewise.
3391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3393 * sysdeps/mach/hurd/bits/typesizes.h
3394 (__SYSCALL_SLONG_TYPE): New macro.
3395 (__SYSCALL_ULONG_TYPE): Likewise.
3397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3399 * bits/types.h (__syscall_slong_t): New type.
3400 (__syscall_ulong_t): Likewise.
3402 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3403 (__SYSCALL_ULONG_TYPE): Likewise.
3404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3405 (__SYSCALL_SLONG_TYPE): Likewise.
3406 (__SYSCALL_ULONG_TYPE): Likewise.
3407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3408 (__SYSCALL_SLONG_TYPE): Likewise.
3409 (__SYSCALL_ULONG_TYPE): Likewise.
3410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3411 (__SYSCALL_SLONG_TYPE): Likewise.
3412 (__SYSCALL_ULONG_TYPE): Likewise.
3414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3416 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3417 Add sigaltstack-offsets.sym.
3418 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3419 <sigaltstack-offsets.h>.
3420 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3421 longjmp_msg pointer.
3422 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3423 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3425 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3427 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3429 * elf/stackguard-macros.h: Remove file.
3430 * sysdeps/generic/stackguard-macros.h: New file.
3431 * sysdeps/i386/stackguard-macros.h: Likewise.
3432 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3433 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3434 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3435 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3436 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3437 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3438 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3439 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3440 <elf/stackguard-macros.h>.
3443 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3444 __aligned__ in attribute.
3445 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3446 (gregset_t): Likewise.
3448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3450 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3451 * sysdeps/x86_64/64/Implies-after: Here. New file.
3452 * sysdeps/x86_64/x32/Implies-after: New file.
3454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3456 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3457 and access return value for _dl_profile_fixup. Use R10_LP to
3460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3462 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3466 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3467 * sysdeps/x86_64/x32/sysdep.h: New file.
3469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3471 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3472 * sysdeps/x86_64/setjmp.S: Likewise.
3474 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3476 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3477 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3478 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3479 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3480 remove unused global constant.
3482 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3484 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3485 include of <not-cancel.h>.
3487 2012-05-15 Roland McGrath <roland@hack.frob.com>
3489 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3491 2012-05-15 Jeff Law <law@redhat.com>
3492 Andreas Jaeger <aj@suse.de>
3495 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3497 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3498 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3499 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3500 code changing __hst_map_handle.map.
3502 2012-05-15 Roland McGrath <roland@hack.frob.com>
3504 * configure.in (sysnames): Look for Implies-before and Implies-after
3506 * configure: Regenerated.
3508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3510 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3511 8-byte data alignment with LP_SIZE alignment.
3513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3515 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3520 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3522 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3524 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3525 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3526 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3528 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3532 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3533 (stackinfo_sub_sp): Likewise.
3535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3537 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3542 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3550 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3552 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3556 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3557 into R11_LP and load __x86_64_shared_cache_size_half into
3560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3565 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3569 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3571 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3573 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3574 powerpc32/power7/fpu/s_logb.c via #include.
3575 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3576 powerpc32/power7/fpu/s_logbf.c via #include.
3577 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3578 powerpc32/power7/fpu/s_logbl.c via #include.
3580 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3582 * README.libm: Remove file.
3584 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3586 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3587 count for x32. Use R*_LP and omit operand-size suffix.
3589 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3591 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3592 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3593 * sysdeps/x86_64/x32/shlib-versions: New file.
3595 2012-05-14 Roland McGrath <roland@hack.frob.com>
3597 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3598 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3599 Use _dl_fatal_printf instead.
3601 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3603 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3604 set if not set by the user. Do not allow for being unset.
3605 * sysdeps/unix/sysv/linux/configure: Regenerated.
3607 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3609 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3610 the `q' suffix from lea and replace .quad with ASM_ADDR.
3612 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3615 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3617 (PTR_DEMANGLE): Likewise.
3619 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3621 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3623 (ASM_ADDR): Likewise.
3641 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3643 * sysdeps/x86_64/x32/dl-machine.h: New file.
3645 2012-05-14 Andreas Jaeger <aj@suse.de>
3647 * manual/Makefile (subdir): Remove export of subdir.
3648 (all): Remove target.
3649 (.PHONY): Remove all from list.
3650 (mkinstalldirs): Remove.
3651 (.PHONY): Remove installdirs from list.
3652 ($(inst_infodir)/libc.info): Use make-target-directory.
3653 (installdirs): Remove.
3655 (glibc-targets): Remove.
3658 ($(objpfx)stubs ../po/manual.pot): Remove.
3659 ($(objpfx)stamp%): Remove.
3660 (make-target-directory): Remove.
3661 (subdir_install): Remove.
3669 * manual/.gitignore: Remove, it's not needed anymore.
3670 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3672 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3674 (texis): Renamed to $(objpfx)texis.
3675 (texis-path): New, contains path to generated files.
3676 (chapters.%): Use texis-path for complete path, add extra argument
3678 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3679 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3680 (summary,texi, stamp-summary): Use complete path of
3681 files. Generate files in build dir.
3682 (dir-add.texi): Build in build dir.
3683 (libm-err.texi,stamp-libm-err): Likewise.
3684 (version.texi, stamp-version): Likewise.
3685 (.%c.texi): Likewise.
3686 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3687 (mostlyclean): Remove target.
3688 (realclean): Remove target.
3689 (generated): Add new variable with contents from mostlyclean and
3690 realclean, remove entries duplicated in common-mostlyclean, add
3691 stamp-libm-err and stamp-version.
3692 (generated-dirs): Add libc directory.
3693 ($(inst_infodir)/libc.info): Install files from build dir.
3695 * manual/install.texi (Configuring and compiling): Adjust since
3696 the info files are not part of the tar ball anymore.
3698 2012-05-14 Andreas Jaeger <aj@suse.de>
3700 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3703 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3707 to 2.2.0 where earlier.
3708 * sysdeps/unix/sysv/linux/configure: Regenerated.
3709 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3710 Remove conditional code.
3711 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3712 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3713 Remove conditional code.
3714 [!__NR_lchown]: Likewise.
3715 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3716 [__NR_lchown]: Likewise.
3717 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3718 comment referencing __ASSUME_LCHOWN_SYSCALL.
3719 * sysdeps/unix/sysv/linux/i386/sigaction.c
3720 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3721 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3722 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3723 Remove conditional code.
3724 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3725 (__protocol_available): Remove #if 0 code.
3726 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3728 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3729 * sysdeps/unix/sysv/linux/kernel-features.h
3730 (__ASSUME_GETCWD_SYSCALL): Don't define.
3731 (__ASSUME_REALTIME_SIGNALS): Likewise.
3732 (__ASSUME_PREAD_SYSCALL): Likewise.
3733 (__ASSUME_PWRITE_SYSCALL): Likewise.
3734 (__ASSUME_POLL_SYSCALL): Likewise.
3735 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3736 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3738 (__ASSUME_SIOCGIFNAME): Don't define.
3739 (__ASSUME_MSG_NOSIGNAL): Likewise.
3740 (__ASSUME_SENDFILE): Define unconditionally.
3741 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3742 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3744 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3745 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3746 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3747 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3748 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3749 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3750 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3752 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3755 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3756 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3758 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3761 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3762 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3764 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3765 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3767 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3768 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3770 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3771 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3773 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3774 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3775 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3776 Remove conditional code.
3777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3778 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3779 Remove conditional code.
3780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3781 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3782 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3783 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3784 Remove conditional code.
3785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3786 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3787 Remove conditional code.
3788 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3789 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3790 Remove conditional code.
3791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3792 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3793 Remove conditional code.
3794 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3795 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3796 Remove conditional code.
3797 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3798 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3799 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3800 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3801 * sysdeps/unix/sysv/linux/sigaction.c
3802 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3803 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3804 * sysdeps/unix/sysv/linux/sigpending.c
3805 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3806 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3807 * sysdeps/unix/sysv/linux/sigprocmask.c
3808 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3809 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3810 * sysdeps/unix/sysv/linux/sigsuspend.c
3811 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3812 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3813 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3814 (__libc_missing_rt_sigs): Remove.
3815 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3816 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3817 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3818 Remove conditional code.
3819 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3820 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3822 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3823 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3824 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3825 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3827 2012-05-14 Andreas Jaeger <aj@suse.de>
3829 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3830 it's not used in glibc.
3831 (__coshm1): Likewise.
3832 (__acosh1p): Likewise.
3835 * manual/string.texi (Copying and Concatenation): Add missing
3836 variable in concat example.
3837 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3842 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3843 __builtin_clzl with __builtin_clzll.
3845 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3848 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3851 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3853 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3854 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3855 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3856 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3858 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3860 * NEWS: Update ia64 info.
3862 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3864 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3867 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3869 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3870 * sysdeps/unix/syscalls.list (dup3): Likewise.
3871 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3872 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3874 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3876 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3877 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3879 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3881 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3883 (TLS_IE): Use mov/add instead of movq/addq to load thread
3885 (TLS_GD_PREFIX): New.
3888 2012-05-11 David S. Miller <davem@davemloft.net>
3890 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3891 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3892 (_FPU_SETCW): Likewise.
3894 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3896 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3899 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3902 * iconvdata/gb18030.c: Update tables.
3903 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3904 characters specially.
3905 (BODY for TO_LOOP): Add encoding of missing ranges.
3907 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3910 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3911 * sysdeps/mach/hurd/dup3.c: Likewise.
3912 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3913 * sysdeps/powerpc/memmove.c:: Likewise.
3915 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3918 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3920 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3922 * elf/elf.h (R_X86_64_RELATIVE64): New.
3923 (R_X86_64_NUM): Updated.
3924 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3925 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3926 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3927 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3928 tst-quad1pie tst-quad2pie
3929 (modules-names): Add tst-quadmod1 tst-quadmod2.
3930 ($(objpfx)tst-quad1): New dependency.
3931 ($(objpfx)tst-quad2): Likewise.
3932 ($(objpfx)tst-quad1pie): Likewise.
3933 ($(objpfx)tst-quad2pie): Likewise.
3934 * sysdeps/x86_64/tst-quad1.c: New file.
3935 * sysdeps/x86_64/tst-quad1pie.c: New file.
3936 * sysdeps/x86_64/tst-quad2.c: Likewise.
3937 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3938 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3939 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3940 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3941 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3943 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3945 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3946 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3947 * streams/stropts.h (t_scalar_t): Define type.
3949 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3950 (_PATH_PRESERVE): Set to "/var/lib".
3951 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3953 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3956 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3957 if __dir_mkfile succeeded.
3959 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3960 checking for _hurd_dtablesize. Unlock it right after having
3961 finished _hurd_dtable allocation.
3963 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3965 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3966 * sysdeps/mach/hurd/configure: Regenerated.
3967 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3968 special-casing to...
3969 * sysdeps/gnu/configure.in: ... this new file.
3970 * sysdeps/unix/sysv/linux/configure: Regenerated.
3971 * sysdeps/gnu/configure: New generated file.
3973 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3974 for Linux: use nsec instead of usec, as well as:
3975 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3976 members of type struct timespec.
3977 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3979 (struct stat64): Likewise.
3980 (_STATBUF_ST_NSEC): New macro.
3981 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3983 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3984 __strtoul_internal rather than strtoul.
3986 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3988 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3993 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3994 which preserves existing values.
3995 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3997 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3999 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4000 TIMEOUT values. Return EINVAL for NFDS values either negative or
4001 greater than FD_SETSIZE.
4003 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4005 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4006 allocated, call __vm_protect to finish enabling the existing space, and
4007 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4008 allocate the remainder.
4010 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4012 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4013 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4017 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4018 sysdeps/mach/hurd/readlink.c.
4020 * posix/tst-sysconf.c (posix_options): Only use
4021 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4022 _POSIX_SYNCHRONIZED_IO when they are defined
4023 * sysdeps/mach/hurd/bits/posix_opt.h:
4024 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4025 (_XOPEN_REALTIME): Undefine macro.
4026 (_XOPEN_REALTIME_THREADS): Undefine macro.
4027 (_XOPEN_SHM): Undefine macro.
4028 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4030 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4032 (_POSIX_ASYNC_IO): Undefine macro.
4033 (_POSIX_PRIORITIZED_IO): Undefine macro.
4034 (_POSIX_SPIN_LOCKS): Define macro to -1.
4036 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4037 SA_NODEFER, SA_RESETHAND.
4038 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4039 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4042 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4044 * elf/Makefile (pldd-modules): Define unconditionally.
4046 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4048 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4050 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4052 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4053 Return ENOENT when name is empty.
4054 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4056 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4058 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4060 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4062 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4064 Fix mlock in all cases except non-readable pages.
4065 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4066 instead of VM_PROT_ALL as parameter to __vm_wire function.
4068 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4069 (__mkdir): When path is `/', just fail with EEXIST.
4070 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4072 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4074 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4075 <sys/uio.h> (for writev).
4076 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4077 and <sys/param.h> (for MIN).
4079 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4081 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4082 REQUESTED_TIME. Properly set the remaining time and return EINTR
4085 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4087 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4088 Depend on against $(link-rpcuserlibs).
4090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4092 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4093 (__libc_stack_end): Do not use attribute_relro.
4094 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4095 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4096 to libthread-provided value.
4097 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4100 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4103 * bits/libc-lock.h (__libc_once_get): New macro.
4104 * sysdeps/mach/bits/libc-lock.h: Likewise.
4105 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4106 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4107 instead of using implementation details.
4109 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4110 * libio/freopen.c: Likewise.
4111 * libio/freopen64.c: Likewise.
4112 * misc/syslog.c: Likewise.
4113 * nscd/connections.c: Likewise.
4114 * nscd/netgroupcache.c: Likewise.
4115 * sysdeps/posix/getcwd.c: Likewise.
4117 2012-05-10 Roland McGrath <roland@hack.frob.com>
4119 * math/w_ilogbf.c: Add #include <limits.h>.
4121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4123 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4124 path instead of returning without unlocking.
4126 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4127 immediate-write ioctls.
4128 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4130 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4132 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4133 __builtin_frame_address instead of making assumptions about the
4134 location of the return address relative to DATA. Force early load of
4136 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4137 __builtin_frame_address.
4140 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4141 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4142 implement dup3 and do some further code clean-ups.
4143 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4144 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4148 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4150 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4151 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4152 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4153 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4154 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4157 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4158 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4159 when handler == SIG_ERR, not when handler != SIG_ERR.
4161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4163 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4164 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4167 accept4 for GNU Hurd.
4168 * include/sys/socket.h (__libc_accept4): New prototype.
4169 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4170 to implement __libc_accept4.
4171 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4173 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4175 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4176 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4177 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4180 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4182 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4186 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4187 assertion on O_CLOEXEC flag.
4188 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4189 * hurd/intern-fd.c: Likewise.
4190 * hurd/port2fd.c: Likewise.
4192 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4195 * bits/in.h (IPV6_PKTINFO): Define new macro.
4196 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4198 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4203 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4205 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4206 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4208 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4209 * math/libm-test.inc (logb_test) : Additional logb tests.
4211 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4212 Andreas Jaeger <aj@suse.de>
4214 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4215 * configure: Regenerated.
4216 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4217 * config.make.in (link-obsolete-rpc): New substituted variable.
4218 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4219 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4220 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4221 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4222 so that libc.a contains the symbols.
4223 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4224 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4225 * sunrpc/auth_none.c: Likewise.
4226 * sunrpc/auth_unix.c: Likewise.
4227 * sunrpc/authdes_prot.c: Likewise.
4228 * sunrpc/authuxprot.c: Likewise.
4229 * sunrpc/clnt_gen.c: Likewise.
4230 * sunrpc/clnt_perr.c: Likewise.
4231 * sunrpc/clnt_raw.c: Likewise.
4232 * sunrpc/clnt_simp.c: Likewise.
4233 * sunrpc/clnt_tcp.c: Likewise.
4234 * sunrpc/clnt_udp.c: Likewise.
4235 * sunrpc/clnt_unix.c: Likewise.
4236 * sunrpc/des_crypt.c: Likewise.
4237 * sunrpc/des_soft.c: Likewise.
4238 * sunrpc/get_myaddr.c: Likewise.
4239 * sunrpc/key_call.c: Likewise.
4240 * sunrpc/key_prot.c: Likewise.
4241 * sunrpc/netname.c: Likewise.
4242 * sunrpc/pm_getmaps.c: Likewise.
4243 * sunrpc/pm_getport.c: Likewise.
4244 * sunrpc/pmap_clnt.c: Likewise.
4245 * sunrpc/pmap_prot.c: Likewise.
4246 * sunrpc/pmap_prot2.c: Likewise.
4247 * sunrpc/pmap_rmt.c: Likewise.
4248 * sunrpc/publickey.c: Likewise.
4249 * sunrpc/rpc_cmsg.c: Likewise.
4250 * sunrpc/rpc_common.c: Likewise.
4251 * sunrpc/rpc_dtable.c: Likewise.
4252 * sunrpc/rpc_prot.c: Likewise.
4253 * sunrpc/rpc_thread.c: Likewise.
4254 * sunrpc/rtime.c: Likewise.
4255 * sunrpc/svc.c: Likewise.
4256 * sunrpc/svc_auth.c: Likewise.
4257 * sunrpc/svc_raw.c: Likewise.
4258 * sunrpc/svc_run.c: Likewise.
4259 * sunrpc/svc_tcp.c: Likewise.
4260 * sunrpc/svc_udp.c: Likewise.
4261 * sunrpc/svc_unix.c: Likewise.
4262 * sunrpc/svcauth_des.c: Likewise.
4263 * sunrpc/xcrypt.c: Likewise.
4264 * sunrpc/xdr.c: Likewise.
4265 * sunrpc/xdr_array.c: Likewise.
4266 * sunrpc/xdr_float.c: Likewise.
4267 * sunrpc/xdr_intXX_t.c: Likewise.
4268 * sunrpc/xdr_mem.c: Likewise.
4269 * sunrpc/xdr_rec.c: Likewise.
4270 * sunrpc/xdr_ref.c: Likewise.
4271 * sunrpc/xdr_sizeof.c: Likewise.
4272 * sunrpc/xdr_stdio.c: Likewise.
4274 2012-05-10 Roland McGrath <roland@hack.frob.com>
4276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4277 change. Update copyright years.
4279 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4281 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4283 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4284 Joseph Myers <joseph@codesourcery.com>
4285 Paul Pluzhnikov <ppluzhnikov@google.com>
4288 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4290 [cross-compiling] (extra-libs): Likewise.
4291 [cross-compiling] (extra-libs-others): Likewise.
4292 [cross-compiling] (librpcsvc-routines): Likewise.
4293 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4294 [cross-compiling] (omit-deps): Likewise.
4295 (sunrpc-CPPFLAGS): New variable.
4296 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4297 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4298 (cross-rpcgen-objs): New variable.
4299 (extra-objs): Append $(cross-rpcgen-objs).
4300 ($(cross-rpcgen-objs)): New rule.
4301 ($(objpfx)cross-rpcgen): Likewise.
4302 (rpcgen-cmd): Define to use $(built-program-file). Expand
4304 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4305 ($(objpfx)x%.stmp): Likewise.
4306 * sunrpc/proto.h [IS_IN_build] (_): Define.
4307 [IS_IN_build] (_libc_intl_domainname): Likewise.
4309 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4312 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4313 and R_X86_64_TPOFF64.
4315 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4317 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4318 sysdeps/unix/sysv/syscalls.list.
4321 * sysdeps/unix/sysv/syscalls.list: Remove file.
4323 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4326 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4327 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4328 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4329 (__LC_IDENTIFICATION): Make these macros useful in #if
4330 expressions, as required by C99.
4332 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4334 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4335 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4338 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4340 * stdlib/longlong.h: Updated from GCC.
4342 2012-05-09 Andreas Jaeger <aj@suse.de>
4344 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4345 default is first entry.
4346 (run_mode): Set type.
4347 (main): Remove informal message about syslog.
4348 (options): Fix typo.
4351 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4354 (llrintf): Likewise.
4358 (nearbyint): Likewise.
4359 (nearbyintf): Likewise.
4361 2012-05-09 Andreas Jaeger <aj@suse.de>
4362 Pedro Alves <palves@redhat.com>
4364 * nscd/nscd.c (run_mode): Use enum.
4365 (main): Cleanup coding style issue.
4367 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4368 Andreas Jaeger <aj@suse.de>
4370 * nscd/nscd.c (go_background): Replaced with...
4371 (run_mode): ... this.
4372 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4373 (options): Add -F --foreground.
4374 (main): Implement it.
4375 (parse_opt): Parse it.
4377 2012-05-09 Andreas Jaeger <aj@suse.de>
4380 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4381 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4382 -Wconversion warning.
4383 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4386 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4388 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4390 (LC_ALL): Use macro-int-constant.
4391 (LC_COLLATE): Likewise.
4392 (LC_CTYPE): Likewise.
4393 (LC_MESSAGES): Likewise.
4394 (LC_MONETARY): Likewise.
4395 (LC_NUMERIC): Likewise.
4396 (LC_TIME): Likewise.
4397 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4398 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4399 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4400 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4402 [C99-based standards] (float_t): Expect type.
4403 [C99-based standards] (double_t): Expect type.
4404 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4406 [C99-based standards] (HUGE_VALL): Likewise.
4407 [C99-based standards] (INFINITY): Likewise.
4408 [C99-based standards] (NAN): Likewise.
4409 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4410 [C99-based standards] (FP_NAN): Likewise.
4411 [C99-based standards] (FP_NORMAL): Likewise.
4412 [C99-based standards] (FP_SUBNORMAL): Likewise.
4413 [C99-based standards] (FP_ZERO): Likewise.
4414 [C99-based standards] (FP_FAST_FMA): Use
4415 optional-macro-int-constant. Specify type. Require == 1.
4416 [C99-based standards] (FP_FAST_FMAF): Likewise.
4417 [C99-based standards] (FP_FAST_FMAL): Likewise.
4418 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4419 [C99-based standards] (FP_ILOGBNAN): Likewise.
4420 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4422 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4423 [C99-based standards] (math_errhandling): Specify type.
4424 [ISO99 || ISO11] (signgam): Do not allow.
4425 [non-C99-based standards] (copysignf): Do not allow.
4426 [non-C99-based standards] (exp2f): Likewise.
4427 [non-C99-based standards] (log2f): Likewise.
4428 [non-C99-based standards] (modff): Allow.
4429 [non-C99-based standards] (erff): Do not allow.
4430 [non-C99-based standards] (erfcf): Likewise.
4431 [non-C99-based standards] (gammaf): Likewise.
4432 [non-C99-based standards] (hypotf): Likewise.
4433 [non-C99-based standards] (j0f): Likewise.
4434 [non-C99-based standards] (j1f): Likewise.
4435 [non-C99-based standards] (jnf): Likewise.
4436 [non-C99-based standards] (lgammaf): Likewise.
4437 [non-C99-based standards] (tgammaf): Likewise.
4438 [non-C99-based standards] (y0f): Likewise.
4439 [non-C99-based standards] (y1f): Likewise.
4440 [non-C99-based standards] (ynf): Likewise.
4441 [non-C99-based standards] (isnanf): Likewise.
4442 [non-C99-based standards] (acoshf): Likewise.
4443 [non-C99-based standards] (asinhf): Likewise.
4444 [non-C99-based standards] (atanhf): Likewise.
4445 [non-C99-based standards] (cbrtf): Likewise.
4446 [non-C99-based standards] (expm1f): Likewise.
4447 [non-C99-based standards] (ilogbf): Likewise.
4448 [non-C99-based standards] (log1pf): Likewise.
4449 [non-C99-based standards] (logbf): Likewise.
4450 [non-C99-based standards] (nextafterf): Likewise.
4451 [non-C99-based standards] (remainderf): Likewise.
4452 [non-C99-based standards] (rintf): Likewise.
4453 [non-C99-based standards] (scalbf): Likewise.
4454 [non-C99-based standards] (copysignl): Likewise.
4455 [non-C99-based standards] (exp2l): Likewise.
4456 [non-C99-based standards] (log2l): Likewise.
4457 [non-C99-based standards] (modfl): Allow.
4458 [non-C99-based standards] (erfl): Do not allow.
4459 [non-C99-based standards] (erfcl): Likewise.
4460 [non-C99-based standards] (gammal): Likewise.
4461 [non-C99-based standards] (hypotl): Likewise.
4462 [non-C99-based standards] (j0l): Likewise.
4463 [non-C99-based standards] (j1l): Likewise.
4464 [non-C99-based standards] (jnl): Likewise.
4465 [non-C99-based standards] (lgammal): Likewise.
4466 [non-C99-based standards] (tgammal): Likewise.
4467 [non-C99-based standards] (y0l): Likewise.
4468 [non-C99-based standards] (y1l): Likewise.
4469 [non-C99-based standards] (ynl): Likewise.
4470 [non-C99-based standards] (isnanl): Likewise.
4471 [non-C99-based standards] (acoshl): Likewise.
4472 [non-C99-based standards] (asinhl): Likewise.
4473 [non-C99-based standards] (atanhl): Likewise.
4474 [non-C99-based standards] (cbrtl): Likewise.
4475 [non-C99-based standards] (expm1l): Likewise.
4476 [non-C99-based standards] (ilogbl): Likewise.
4477 [non-C99-based standards] (log1pl): Likewise.
4478 [non-C99-based standards] (logbl): Likewise.
4479 [non-C99-based standards] (nextafterl): Likewise.
4480 [non-C99-based standards] (remainderl): Likewise.
4481 [non-C99-based standards] (rintl): Likewise.
4482 [non-C99-based standards] (scalbl): Likewise.
4483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4484 [non-C99-based standards] (FP_*): Do not allow.
4485 [C99-based standards] (FP_*): Change to
4486 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4487 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4489 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4490 (SIG_ERR): Likewise.
4491 [X/Open-based standards] (SIG_HOLD): Likewise.
4492 (SIG_IGN): Likewise.
4493 (SIGABRT): Use macro-int-constant. Specify type. Require
4498 (SIGSEGV): Likewise.
4500 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4501 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4502 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4503 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4504 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4505 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4506 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4507 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4508 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4509 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4510 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4511 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4512 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4513 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4514 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4515 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4516 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4517 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4518 [X/Open-based standards] (SIGTRAP): Likewise.
4519 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4520 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4521 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4522 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4523 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4526 2012-05-08 Ian Wienand <ianw@vmware.com>
4529 * time/tzset.c (__tzset_parse_tz): Update default rules for
4530 daylight time changes in the Energy Policy Act of 2005.
4532 2012-05-09 Andreas Jaeger <aj@suse.de>
4535 * elf/ldconfig.c (parse_conf): Change string to make clear that
4536 ldconfig only issued a warning if ld.so.conf does not exist.
4538 2012-05-08 David S. Miller <davem@davemloft.net>
4540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4541 movxtod instead of popping the value on the stack.
4543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4545 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4547 * config.h.in: Add HAVE_ARM_PCS_VFP.
4549 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4552 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4553 checking but the checks are disabled for any reason.
4555 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4557 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4558 and ELF64_R_TYPE with ELFW(R_TYPE).
4560 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4562 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4565 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4566 (settimeofday): Likewise.
4568 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4570 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4571 a struct th_u2 inside the union, and move tu_block/tu_code into
4572 a new th_u3 union of tu_block/tu_code inside of that. Move
4573 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4574 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4575 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4576 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4577 (th_stuff): Change to th_u1.tu_stuff.
4579 (th_msg): Change to th_u1.th_u2.tu_data.
4581 2012-05-07 David S. Miller <davem@davemloft.net>
4583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4586 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4587 (SETUP_PIC_REG): Use it.
4588 (SETUP_PIC_REG_LEAF): Use it.
4590 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4594 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4596 (EXPL_FINITE): Likewise.
4598 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4599 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4601 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4603 (EXPL_FINITE): Likewise.
4605 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4606 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4608 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4609 test of -max_value argument for long double.
4610 * sysdeps/i386/fpu/libm-test-ulps: Update.
4611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4613 2012-05-06 David S. Miller <davem@davemloft.net>
4615 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4616 quad soft-float symbols whose references which are compiler
4618 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4620 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4624 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4626 (EXPL_FINITE): Likewise.
4630 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4631 Adjust comments for base varying.
4632 (__expl_finite): Change alias to EXPL_FINITE.
4633 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4635 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4636 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4638 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4639 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4641 (EXPL_FINITE): Likewise.
4645 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4646 Adjust comments for base varying.
4647 (__expl_finite): Change alias to EXPL_FINITE.
4648 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4653 * math/libm-test.inc (check_float_internal): Correct ulp
4654 calculation for subnormal expected results.
4656 2012-05-06 Andreas Jaeger <aj@suse.de>
4658 * Makeconfig (+math-flags): New, set to -frounding-math.
4659 (+cflags): Add +math-flags so that all of glibc gets compiled with
4662 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4664 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4666 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4672 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4673 (__ieee754_expl): Allow for and saturate large arguments.
4674 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4675 (u_threshold): Likewise.
4676 (__exp): Call __ieee754_exp before checking for overflow and
4678 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4679 (u_threshold): Likewise.
4680 (__expf): Call __ieee754_expf before checking for overflow and
4682 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4683 (u_threshold): Likewise.
4684 (__expl): Call __ieee754_expl before checking for overflow and
4686 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4687 (__ieee754_expl): Allow for and saturate large arguments.
4688 * math/libm-test.inc (exp_test): Add another test. Do not allow
4689 missing overflow exception on overflow.
4690 (expm1_test): Do not allow missing overflow exception on overflow.
4692 * sysdeps/i386/fpu/e_expl.c: Move to ...
4693 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4694 rather than using inline asm.
4695 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4696 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4697 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4699 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4706 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4708 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4709 sysdeps/unix/common/syscalls.list.
4712 (ftruncate): Likewise.
4713 (getrusage): Likewise.
4714 (gettimeofday): Likewise.
4715 (setpgid): Likewise.
4716 (setregid): Likewise.
4717 (setreuid): Likewise.
4718 (sigaction): Likewise.
4719 (truncate): Likewise.
4720 (vhangup): Likewise.
4721 * sysdeps/unix/common/syscalls.list: Remove file.
4722 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4723 * sysdeps/unix/sysv/linux/Implies: Likewise.
4725 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4727 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4729 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4733 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4736 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4739 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4742 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4745 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4748 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4751 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4755 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4759 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4762 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4766 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4770 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4772 * sysdeps/unix/common/bits/dirent.h: Remove file.
4773 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4775 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4776 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4777 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4778 * sysdeps/unix/bsd/isatty.c: Likewise.
4779 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4780 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4781 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4783 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4787 long double comparison inaccuracies.
4788 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4791 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4793 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4796 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4799 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4800 nonzero digits before rounding a hex value.
4801 * stdlib/tst-strtod.c (tests): Add another test.
4803 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4805 * sysdeps/s390/fpu/libm-test-ulps: Update.
4807 2012-05-03 Andreas Jaeger <aj@suse.de>
4809 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4810 does not get optimized out.
4811 (malloc_opt_barrier): New.
4813 2012-05-03 Andreas Jaeger <aj@suse.de>
4814 Roland McGrath <roland@hack.frob.com>
4816 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4817 intermediate file deletion.
4818 (generated): Add .symlist files.
4820 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4823 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4824 Redirect under this condition.
4825 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4826 [__USE_GNU] (__dprintf_chk): Not under this condition.
4827 [__USE_GNU] (__vdprintf_chk): Likewise.
4828 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4829 under this condition.
4830 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4831 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4832 [__USE_XOPEN2K8] (vdprintf): Likewise.
4833 [__USE_GNU] (__dprintf_chk): Not under this condition.
4834 [__USE_GNU] (__vdprintf_chk): Likewise.
4835 [__USE_GNU] (dprintf): Likewise.
4836 [__USE_GNU] (vdprintf): Likewise.
4838 2012-05-03 Roland McGrath <roland@hack.frob.com>
4840 * elf/Makefile (common-generated): Set this instead of generated for
4841 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4842 $(all-built-dso)-derived lists.
4844 2012-05-03 Andreas Jaeger <aj@suse.de>
4846 * sysdeps/i386/fpu/libm-test-ulps: Update.
4850 * scripts/gen-FAQ.pl: Likewise.
4851 * manual/install.texi (Installation): Point to online location of
4853 * Makefile (files-for-dist): Remove FAQ.
4856 2012-05-02 Allan McRae <allan@archlinux.org>
4858 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4859 (LDFLAGS-reldepmod5.so): Likewise.
4860 (LDFLAGS-reldep6mod1.so): Likewise.
4861 (LDFLAGS-reldep6mod4.so): Likewise.
4862 (LDFLAGS-reldep8mod3.so): Likewise.
4863 (LDFLAGS-unload4mod1.so): Likewise.
4864 (LDFLAGS-unload4mod2.so): Likewise.
4865 (LDFLAGS-tst-initorder): Likewise.
4866 (LDFLAGS-tst-initordera2.so): Likewise.
4867 (LDFLAGS-tst-initordera3.so): Likewise.
4868 (LDFLAGS-tst-initordera4.so): Likewise.
4869 (LDFLAGS-tst-initorderb2.so): Likewise.
4870 (LDFLAGS-noload): Likewise.
4871 (LDFLAGS-next): Likewise.
4872 (LDFLAGS-order2mod1.so): Likewise.
4873 (LDFLAGS-order2mod2.so): Likewise.
4874 (LDFLAGS-tst-initorder2): Likewise.
4875 (LDFLAGS-tst-initorder2a.so): Likewise.
4876 (LDFLAGS-tst-initorder2b.so): Likewise.
4877 (LDFLAGS-tst-initorder2c.so): Likewise.
4878 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4880 2012-05-02 David S. Miller <davem@davemloft.net>
4882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4884 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4887 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4889 2012-05-02 Andreas Jaeger <aj@suse.de>
4891 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4892 since we manipulate rounding mode.
4893 (CPPFLAGS-test-idouble.c): Likewise.
4894 (CPPFLAGS-test-ifloat.c): Likewise.
4895 (CFLAGS-test-ldouble.c): Likewise.
4896 (CFLAGS-test-double.c): Likewise.
4897 (CFLAGS-test-float.c): Likewise.
4898 (CFLAGS-test-misc.c): Likewise.
4899 (CFLAGS-test-test-fenv.c): Likewise.
4901 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4905 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4906 comparisons to determine direction to adjust input.
4908 2012-05-01 Roland McGrath <roland@hack.frob.com>
4910 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4911 output to the target.
4913 * scripts/localplt.awk: New file.
4914 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4915 (check-localplt-CFLAGS): Variable removed.
4916 ($(all-built-dso:=.jmprel)): New static pattern rule.
4917 (generated): Add those targets.
4918 (localplt-built-dso): New variable.
4919 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4921 * elf/check-localplt.c: File removed.
4923 * scripts/check-execstack.awk: New file.
4924 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4925 (check-execstack-CFLAGS): Variable removed.
4926 ($(objpfx)check-execstack.h): Target removed.
4927 ($(objpfx)execstack-default): New target.
4928 (generated): Add that instead of check-execstack.h.
4929 ($(all-built-dso:=.phdr)): New static pattern rule.
4930 (generated): Add those targets.
4931 * elf/check-execstack.c: File removed.
4933 * scripts/check-textrel.awk: New file.
4934 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4935 (check-textrel-CFLAGS): Variable removed.
4936 (all-built-dso): Use := to define.o
4937 ($(all-built-dso:=.dyn)): New static pattern rule.
4938 (generated): Add those targets.
4939 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4940 * config.make.in (READELF): New substituted variable.
4941 * elf/check-textrel.c: File removed.
4943 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4945 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4947 * conform/data/ctype.h-data [C99-based standards] (isblank):
4949 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4950 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4952 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4953 Specify type. Require positive value.
4956 [ISO || POSIX] (EILSEQ): Do not expect.
4957 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4958 Specify type. Require positive value.
4959 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4960 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4964 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4969 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4970 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4972 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4974 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4975 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4976 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4977 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4978 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4979 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4980 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4981 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4982 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4983 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4984 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4985 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4986 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4987 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4988 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4989 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4990 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4991 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4992 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4993 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4994 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4995 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4996 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4997 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4998 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4999 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5000 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5001 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5002 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5003 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5004 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5005 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5006 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5007 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5008 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5009 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5010 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5011 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5012 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5013 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5014 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5015 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5016 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5019 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5020 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5021 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5022 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5023 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5025 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5026 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5027 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5028 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5029 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5030 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5032 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5033 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5034 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5035 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5037 (FLT_ROUNDS): Expect as macro, not constant.
5038 (FLT_MANT_DIG): Use macro-int-constant.
5039 (DBL_MANT_DIG): Likewise.
5040 (LDBL_MANT_DIG): Likewise.
5041 (FLT_DIG): Likewise.
5042 (DBL_DIG): Likewise.
5043 (LDBL_DIG): Likewise.
5044 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5045 (DBL_MIN_EXP): Likewise.
5046 (LDBL_MIN_EXP): Likewise.
5047 (FLT_MAX_EXP): Use macro-int-constant.
5048 (DBL_MAX_EXP): Likewise.
5049 (LDBL_MAX_EXP): Likewise.
5050 (FLT_MAX_10_EXP): Likewise.
5051 (DBL_MAX_10_EXP): Likewise.
5052 (LDBL_MAX_10_EXP): Likewise.
5053 (FLT_MAX): Use macro-constant.
5054 (DBL_MAX): Likewise.
5055 (LDBL_MAX): Likewise.
5056 (FLT_EPSILON): Use macro-constant. Give upper bound.
5057 (DBL_EPSILON): Likewise.
5058 (LDBL_EPSILON): Likewise.
5059 (FLT_MIN): Likewise.
5060 (DBL_MIN): Likewise.
5061 (LDBL_MIN): Likewise.
5062 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5063 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5064 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5065 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5066 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5067 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5068 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5069 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5070 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5071 [ISO11] (FLT_TRUE_MIN): Likewise.
5072 [ISO11] (LDBL_TRUE_MIN): Likewise.
5073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5074 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5075 (SCHAR_MIN): Use macro-int-constant. Specify type.
5076 (SCHAR_MAX): Likewise.
5077 (UCHAR_MAX): Likewise.
5078 (CHAR_MIN): Likewise.
5079 (CHAR_MAX): Likewise.
5080 (MB_LEN_MAX): Use macro-int-constant.
5081 (SHRT_MIN): Use macro-int-constant. Specify type.
5082 (SHRT_MAX): Likewise.
5083 (USHRT_MAX): Likewise.
5084 (INT_MAX): Likewise.
5085 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5087 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5089 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5091 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5092 bound negative. Suffix upper bound with "L".
5093 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5095 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5097 [C99-based standards] (LLONG_MAX): Likewise.
5098 [C99-based standards] (ULLONG_MAX): Likewise.
5099 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5101 [ISO11] (max_align_t): Require type.
5102 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5104 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5105 from $CFLAGS, without defining away __attribute__ calls.
5106 (checknamespace): Use $CFLAGS_namespace.
5108 * conform/conformtest.pl (@keywords): Only include C99 keywords
5109 for standards based on C99 or C11.
5111 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5113 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5116 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5117 usability of symbols in #if.
5119 * conform/conformtest.pl: If macro or constant types start
5120 "promoted:", expect the symbol to be of the following type
5121 promoted by the integer promotions.
5123 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5124 in one place. Also handle "macro-constant".
5126 * conform/conformtest.pl: Only accept expected macro values with
5127 "==". Parse all "macro" lines in one place.
5128 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5130 * conform/conformtest.pl: Handle braced types on "constant" lines
5131 instead of handling "typed-constant".
5132 * conform/data/signal.h-data: Use "constant" instead of
5135 * conform/conformtest.pl: Handle "optional-" at start of lines in
5136 one place rather than duplicating several cases. Handle each
5137 format of "macro" line with initial "optional-".
5139 * conform/conformtest.pl: Only accept expected constant or
5140 optional-constant values with "==". Parse all "constant" lines in
5141 one place. Parse all "optional-constant" lines in one place.
5142 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5143 * conform/data/fmtmsg.h-data: Likewise.
5144 * conform/data/netinet/in.h-data: Likewise.
5145 * conform/data/tar.h-data: Likewise.
5146 * conform/data/limits.h-data: Use "==" form on "constant" and
5147 "optional-constant" lines.
5149 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5150 Use -std=c99 for XOPEN2K.
5151 (@knownproblems): Remove.
5152 (newtoken): Don't check %isknown.
5154 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5155 Do not expect macro.
5156 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5157 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5158 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5159 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5160 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5161 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5162 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5163 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5164 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5165 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5166 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5167 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5168 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5169 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5170 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5171 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5172 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5173 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5174 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5186 [XPG3] (acosh): Likewise.
5187 [XPG3] (asinh): Likewise.
5188 [XPG3] (atanh): Likewise.
5189 [XPG3] (cbrt): Likewise.
5190 [XPG3] (expm1): Likewise.
5191 [XPG3] (ilogb): Likewise.
5192 [XPG3] (log1p): Likewise.
5193 [XPG3] (logb): Likewise.
5194 [XPG3] (nextafter): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5197 [XPG3] (remainder): Likewise.
5198 [XPG3] (rint): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5204 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5205 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5206 [UNIX98 || XOPEN2K] (scalb): Expect.
5207 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5208 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5209 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5210 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5211 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5212 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5215 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5216 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5220 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5221 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5222 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5223 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5224 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5225 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5226 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5227 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5228 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5229 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5230 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5231 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5232 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5233 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5234 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5235 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5236 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5237 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5238 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5239 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5240 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5241 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5242 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5243 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5244 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5245 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5246 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5247 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5248 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5249 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5250 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5251 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5252 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5253 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5254 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5262 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5263 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5265 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5266 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5267 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5268 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5269 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5270 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5271 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5272 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5273 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5274 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5275 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5276 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5277 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5278 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5279 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5280 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5281 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5285 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5286 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5287 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5288 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5289 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5290 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5291 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5292 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5293 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5294 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5295 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5296 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5297 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5298 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5299 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5300 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5301 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5302 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5303 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5304 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5305 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5306 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5307 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5308 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5309 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5310 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5311 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5312 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5313 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5314 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5315 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5316 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5317 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5318 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5319 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5320 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5321 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5322 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5323 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5324 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5325 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5326 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5327 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5328 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5329 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5330 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5331 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5332 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5333 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5334 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5335 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5336 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5337 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5338 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5339 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5340 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5341 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5342 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5343 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5345 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5346 _XOPEN_SOURCE_EXTENDED for XPG4.
5348 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5350 * Makeconfig (localtime): Remove variable.
5351 (inst_localtime-file): Likewise.
5353 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5374 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5378 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5379 comparisons to determine direction to adjust input.
5380 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5381 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5382 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5384 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5386 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5388 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5389 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5391 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5393 * math/libm-test.inc (nexttoward_test): Add more tests.
5395 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5399 in version GLIBC_2.1, not GLIBC_2.0.
5400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5403 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5406 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5408 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5409 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5410 * math/libm-test.inc (acos_test): Add more tests.
5411 (asin_test): Likewise.
5412 * sysdeps/i386/fpu/libm-test-ulps: Update.
5413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5416 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5418 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5419 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5420 * math/libm-test.inc (acos_test_tonearest): New function.
5421 (acos_test_towardzero): Likewise.
5422 (acos_test_downward): Likewise.
5423 (acos_test_upward): Likewise.
5424 (asin_test_tonearest): Likewise.
5425 (asin_test_towardzero): Likewise.
5426 (asin_test_downward): Likewise.
5427 (asin_test_upward): Likewise.
5428 (main): Call the new functions.
5429 * sysdeps/i386/fpu/libm-test-ulps: Update.
5430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5434 * math/e_exp10.c: Include <float.h>.
5435 (__ieee754_exp10): Handle underflow here rather than multiplying
5436 large negative argument by M_LN10.
5437 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5439 * math/e_exp10l.c: Include <float.h>.
5440 (__ieee754_exp10l): Handle underflow here rather than multiplying
5441 large negative argument by M_LN10l.
5442 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5443 spurious overflow exception on underflow.
5445 2012-04-29 Marek Polacek <polacek@redhat.com>
5447 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5448 (__fortify_function): New macro.
5449 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5450 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5451 __extern_always_inline.
5452 * libio/bits/stdio2.h: Likewise.
5453 * libio/bits/stdio.h: Likewise.
5454 * string/string.h: Likewise.
5455 * string/bits/string3.h: Likewise.
5456 * include/stdio.h: Likewise.
5457 * stdlib/bits/stdlib.h: Likewise.
5458 * stdlib/stdlib.h: Likewise.
5459 * rt/bits/mqueue2.h: Likewise.
5460 * rt/mqueue.h: Likewise.
5461 * posix/bits/unistd.h: Likewise.
5462 * posix/unistd.h: Likewise.
5463 * io/bits/poll2.h: Likewise.
5464 * io/bits/fcntl2.h: Likewise.
5465 * io/fcntl.h: Likewise.
5466 * io/sys/poll.h: Likewise.
5467 * misc/bits/syslog.h: Likewise.
5468 * misc/bits/syslog-ldbl.h: Likewise.
5469 * misc/sys/syslog.h: Likewise.
5470 * socket/bits/socket2.h: Likewise.
5471 * socket/sys/socket.h: Likewise.
5472 * debug/tst-chk1.c: Likewise.
5473 * wcsmbs/bits/wchar2.h: Likewise.
5474 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5475 * wcsmbs/wchar.h: Likewise.
5477 2012-04-29 Andreas Jaeger <aj@suse.de>
5479 * Makerules (tests): Remove enable-check-abi protection.
5480 (check-abi-warn): Remove.
5481 (check-abi-%): Remove check-abi-warn usage.
5483 * configure.in: Remove check-abi configure option.
5484 * configure: Regenerated.
5485 * config.make.in (enable-check-abi): Remove.
5487 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5490 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5491 double functions to double *_finite functions.
5494 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5495 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5497 * stdio-common/Makefile (tests): Add tst-sprintf3.
5498 * stdio-common/tst-sprintf3.c: New file.
5500 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5501 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5503 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5505 * conform/conformtest.pl: Remove duplicate typed-constant
5508 2012-04-28 David S. Miller <davem@davemloft.net>
5510 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5511 (check-abi-%): Remove AWK script prerequisite and explicit
5513 (check-abi): Rewrite to just diff the symlist with the abilist.
5514 (config-tls, config-abi-config): Delete, no longer used.
5515 (update-abi-%): Remove AWK script and explicit abilist directory.
5516 (update-abi): Rewrite to simply compare and conditionally copy the
5517 symlist and the sysdep abilist file. Remove update-abi-config
5519 * abilist/ld.abilist: Remove.
5520 * abilist/libBrokenLocale.abilist: Remove.
5521 * abilist/libanl.abilist: Remove.
5522 * abilist/libcrypt.abilist: Remove.
5523 * abilist/libdl.abilist: Remove.
5524 * abilist/librt.abilist: Remove.
5525 * abilist/libthread_db.abilist: Remove.
5526 * abilist/libutil.abilist: Remove.
5527 * scripts/extract-abilist.awk: Remove.
5528 * scripts/merge-abilist.awk: Remove.
5529 * sysdeps/generic/libcidn.abilist: New file.
5530 * sysdeps/generic/libnss_compat.abilist: New file.
5531 * sysdeps/generic/libnss_db.abilist: New file.
5532 * sysdeps/generic/libnss_dns.abilist: New file.
5533 * sysdeps/generic/libnss_files.abilist: New file.
5534 * sysdeps/generic/libnss_hesiod.abilist: New file.
5535 * sysdeps/generic/libnss_nis.abilist: New file.
5536 * sysdeps/generic/libnss_nisplus.abilist: New file.
5537 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5538 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5539 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5542 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5543 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5544 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5545 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5546 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5547 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5548 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5549 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5551 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5552 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5553 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5554 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5556 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5557 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5558 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5559 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5560 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5561 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5563 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5564 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5565 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5567 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5670 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5671 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5672 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5675 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5676 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5677 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5678 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5679 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5680 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5681 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5682 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5683 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5735 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5737 * conform/conformtest.pl: Fix typo in handling typed-constant from
5740 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5742 * README: Cut down references to pre-2.6 Linux kernels and
5743 Linuxthreads. Update lists of configurations in libc and ports
5744 and sort alphabetically. Say "or newer" with Linux kernel version
5747 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5749 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5752 * math/libm-test.inc (logb_test_downward): New test to expose
5753 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5756 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5759 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5761 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5762 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5764 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5766 * sysdeps/unix/i386/brk.S: Remove file.
5767 * sysdeps/unix/i386/dl-brk.S: Likewise.
5768 * sysdeps/unix/i386/pipe.S: Likewise.
5769 * sysdeps/unix/i386/sigreturn.S: Likewise.
5770 * sysdeps/unix/i386/syscall.S: Likewise.
5771 * sysdeps/unix/i386/vfork.S: Likewise.
5772 * sysdeps/unix/i386/wait.S: Likewise.
5774 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5775 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5777 * configure.in (arm*-none*): Do not allow without
5778 --enable-hacker-mode.
5779 (netbsd*): Remove case setting base_os.
5780 (386bsd*): Likewise.
5781 (freebsd*): Likewise.
5785 (ultrix*): Likewise.
5786 (newsos*): Likewise.
5796 (solaris[2-9]*): Likewise.
5798 * configure: Regenerated.
5800 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5803 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5804 overflow or cancellation in calculating denominator.
5805 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5807 down expression to avoid unexpected rounding in newer GCCs.
5808 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5810 2012-04-26 David S. Miller <davem@davemloft.net>
5812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5813 long-double compat symbols.
5814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5828 2012-04-25 David S. Miller <davem@davemloft.net>
5830 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5831 HWCAP_* values only after the memory barriers have been defined.
5832 (atomic_full_barrier): Define.
5833 (atomic_read_barrier): Define.
5834 (atomic_write_barrier): Define.
5836 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5838 * shlib-versions: Add libgcc_s version information.
5839 * sysdeps/generic/libgcc_s.h: Remove.
5840 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5842 * sysdeps/gnu/unwind-resume.c: Likewise.
5843 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5845 2012-04-25 David S. Miller <davem@davemloft.net>
5847 * sysdeps/unix/sparc/brk.S: Delete.
5848 * sysdeps/unix/sparc/dl-brk.S: Delete.
5849 * sysdeps/unix/sparc/pipe.S: Delete.
5850 * sysdeps/unix/sparc/sysdep.S: Delete.
5851 * sysdeps/unix/sparc/sysdep.h: Delete.
5852 * sysdeps/unix/sparc/vfork.S: Delete.
5853 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5854 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5855 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5856 ret_ERRVAL, r0, r1, MOVE): Define.
5857 (JUMPTARGET): Remove.
5858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5859 sysdeps/unix/sparc/sysdep.h
5860 (ENTRY, END): Remove.
5861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5863 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5865 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5866 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5869 * timezone/README: Update upstream location and email address for
5871 * timezone/zdump.c: Update from tzcode 2012b.
5872 * timezone/zic.c: Likewise.
5874 * configure.in (libc_cv_as_needed): Remove test.
5875 * configure: Regenerated.
5876 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5877 conditional definition.
5878 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5879 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5880 * config.make.in (have-as-needed): Remove variable.
5882 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5883 Paul Pluzhnikov <ppluzhnikov@google.com>
5885 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5888 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5890 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5891 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5892 * sysdeps/sh/strlen.S: Likewise.
5894 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5896 * sysdeps/unix/fork.S: Remove file.
5897 * sysdeps/unix/i386/fork.S: Likewise.
5898 * sysdeps/unix/sparc/fork.S: Likewise.
5900 * sysdeps/unix/system.c: Remove file.
5901 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5903 * sysdeps/unix/getegid.S: Remove file.
5904 * sysdeps/unix/geteuid.S: Likewise.
5906 2012-04-24 Roland McGrath <roland@hack.frob.com>
5908 * scripts/check-localplt.awk: New file.
5909 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5911 * scripts/data/localplt-generic.data: Add a comment.
5913 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5914 NODE when __dir_mkfile failed.
5915 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5916 Reported by Ludovic Courtès <ludo@gnu.org>.
5918 2012-04-24 Andreas Jaeger <aj@suse.de>
5920 * Makerules (common-clean): Also remove gen-as-const-headers
5923 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5925 * Makerules (native-compile): Do not change working directory for
5926 build. Use $(OUTPUT_OPTION) in command.
5927 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5929 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5932 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5933 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5934 * math/libm-test.inc (floor_test): Add more tests.
5935 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5937 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5939 * sysdeps/unix/getdents.c: Remove file.
5940 * sysdeps/unix/sysv/getdents.c: Likewise.
5941 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5943 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5944 sysdeps/unix/mman/syscalls.list.
5946 (mprotect): Likewise.
5949 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5950 * sysdeps/unix/mman/syscalls.list: Remove.
5951 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5953 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5954 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5955 * configure: Regenerated.
5956 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5958 * config.make.in (libgcc_s_suffix): Remove variable.
5960 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5962 * sysdeps/unix/sysv/gethostname.c: Move to ...
5963 * sysdeps/posix/gethostname.c: ... here.
5965 * sysdeps/unix/execve.S: Remove file.
5967 * sysdeps/unix/_exit.S: Remove file.
5969 2012-04-23 Andreas Jaeger <aj@suse.de>
5972 * manual/Makefile: Remove make dist support, there's no
5973 need for a stand-alone documentation tar ball.
5974 (TEXI2DVI): Define always, it's not in Makeconfig.
5978 (glibc-doc-$(edition).tar): Removed
5982 (ETAGS): Remove, it's in Makeconfig.
5983 (move-if-change): Remove, it's in Makeconfig.
5985 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5988 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5989 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5990 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5991 (strtod_l, strtof_l, strtold_l): Remove __wur.
5992 It is not necessarily an error to ignore strtol's return value.
5993 One can reliably look at the stored endptr to decide whether
5994 the number had valid syntax.
5996 2012-04-21 Andreas Jaeger <aj@suse.de>
5999 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6001 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6003 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6004 * sysdeps/unix/sysv/Versions: Remove file.
6006 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6011 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6014 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6015 version from __vm86.
6017 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6019 * sysdeps/unix/common/lxstat.c: Remove file.
6020 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6022 * sysdeps/unix/sysv/Makefile: Remove file.
6024 * sysdeps/unix/sysv/direct.h: Remove file.
6026 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6027 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6028 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6029 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6030 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6031 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6032 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6034 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6036 * sysdeps/unix/xmknod.c: Remove file.
6037 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6039 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6041 * sysdeps/unix/sysv/i386/time.S: Remove file.
6043 * sysdeps/unix/fxstat.c: Remove file.
6044 * sysdeps/unix/xstat.c: Likewise.
6045 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6047 * sysdeps/unix/sysv/sigaction.c: Remove file.
6049 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6050 (sysdep_headers): Remove variable.
6051 [termio.h not in sysdep_headers] (generated): Likewise.
6052 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6053 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6054 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6055 * sysdeps/unix/sysv/tcflow.c: Likewise.
6056 * sysdeps/unix/sysv/tcflush.c: Likewise.
6057 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6058 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6059 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6060 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6061 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6063 * sysdeps/unix/siglist.c: Remove file.
6065 * sysdeps/unix/getppid.S: Remove file.
6067 * sysdeps/unix/mkdir.c: Remove file.
6068 * sysdeps/unix/rmdir.c: Likewise.
6070 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6072 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6074 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6075 errlist-compat value.
6077 2012-04-18 David S. Miller <davem@davemloft.net>
6079 * sysdeps/generic/memcopy.h (reg_char): Delete.
6080 * debug/strcat_chk.c: Use char, not reg_char.
6081 * debug/strcpy_chk.c: Likewise.
6082 * debug/strncat_chk.c: Likewise.
6083 * debug/strncpy_chk.c: Likewise.
6084 * string/memchr.c: Likewise.
6085 * string/memrchr.c: Likewise.
6086 * string/rawmemchr.c: Likewise.
6087 * string/strcat.c: Likewise.
6088 * string/strchr.c: Likewise.
6089 * string/strchrnul.c: Likewise.
6090 * string/strcmp.c: Likewise.
6091 * string/strcpy.c: Likewise.
6092 * string/strncat.c: Likewise.
6093 * string/strncmp.c: Likewise.
6094 * string/strncpy.c: Likewise.
6096 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6098 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6099 __builtin_memcopy is called when src and dest ranges are known to not
6102 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6104 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6105 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6106 fwd_align_merge macro call.
6107 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6108 bwd_align_merge macro call.
6109 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6111 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6113 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6114 bwd_align_merge macros.
6115 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6116 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6117 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6119 2012-04-18 David S. Miller <davem@davemloft.net>
6121 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6123 2012-04-18 Andreas Jaeger <aj@suse.de>
6126 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6127 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6128 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6130 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6131 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6132 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6134 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6135 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6136 Adjust for changed ldbl-128 files.
6138 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6139 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6140 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6142 2012-04-17 David S. Miller <davem@davemloft.net>
6144 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6146 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6148 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6149 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6150 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6151 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6152 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6153 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6155 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6158 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6159 * math/libm-test.inc: Add ilogb errno and exception tests.
6160 * math/w_ilogb.c: New file: ilogb wrapper.
6161 * math/w_ilogbf.c: New file: ilogbf wrapper.
6162 * math/w_ilogbl.c: New file: ilogbl wrapper.
6163 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6164 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6165 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6166 exception being thrown with 0.0 as argument.
6167 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6168 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6169 exception being thrown with 0.0 as argument.
6170 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6171 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6172 exception being thrown with 0.0 as argument.
6173 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6174 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6175 exception being thrown with 0.0 as argument.
6176 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6177 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6178 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6179 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6180 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6181 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6182 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6183 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6184 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6186 2012-04-17 Petr Baudis <pasky@ucw.cz>
6188 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6191 2012-04-16 Marek Polacek <polacek@redhat.com>
6193 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6195 2012-04-16 Marek Polacek <polacek@redhat.com>
6197 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6198 operands of fdivp instruction.
6200 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6202 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6203 * elf/tst-auditmod3b.c: Likewise.
6204 * elf/tst-auditmod4b.c: Likewise.
6205 * elf/tst-auditmod5b.c: Likewise.
6206 * elf/tst-auditmod6b.c: Likewise.
6207 * elf/tst-auditmod6c.c: Likewise.
6208 * elf/tst-auditmod7b.c: Likewise.
6209 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6210 * sysdeps/x86_64/preconfigure.in: Likewise.
6211 * sysdeps/x86_64/preconfigure: Regenerated.
6213 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6215 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6218 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6221 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6223 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6226 * locale/iso-639.def: Fix gl language name. Spotted by
6229 2012-04-12 Roland McGrath <roland@hack.frob.com>
6232 * libio/libio.h (__io_write_fn): Update comment.
6234 2012-04-12 Petr Baudis <pasky@ucw.cz>
6237 * stdio.texi (Hook Functions): The user provided writer function
6238 is not allowed to return -1.
6240 2012-04-11 David S. Miller <davem@davemloft.net>
6242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6244 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6246 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6247 Add a leading slash to rtkaio.
6249 2012-04-11 Jim Meyering <meyering@redhat.com>
6252 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6253 It is not necessarily an error to ignore fwrite's return
6254 value. One can reliably use ferror to test for errors after
6257 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6259 * bits/types.h (__snseconds_t): New type.
6260 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6262 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6263 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6264 (__SNSECONDS_T_TYPE): Likewise.
6265 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6266 (__SNSECONDS_T_TYPE): Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6268 (__SNSECONDS_T_TYPE): Likewise.
6270 2012-04-10 Andreas Jaeger <aj@suse.de>
6273 * manual/time.texi (Processor Time): Return type of times is
6274 elapsed real time since an arbitrary point in the past.
6275 (CPU Time): Move CLK_TCK from here...
6276 (Processor Time): ...to here. Correct description.
6277 * manual/conf.texi (Constants for Sysconf): Correct description of
6280 2012-04-10 David S. Miller <davem@davemloft.net>
6283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6284 where the is a gap between DT_REL(A) and DT_JMPREL.
6286 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6288 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6289 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6290 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6292 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6294 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6295 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6296 (dl_main): Handle --inhibit-cache.
6297 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6299 * elf/dl-load.c (_dl_map_object): Use it.
6300 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6302 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6305 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6306 (__ieee754_powl): Saturate large exponents rather than testing for
6307 overflow of y*log2(x).
6308 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6309 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6313 * math/s_ctan.c: Include <float.h>.
6314 (__ctan): Avoid internal overflow or cancellation in calculating
6316 * math/s_ctanf.c: Likewise.
6317 * math/s_ctanl.c: Likewise.
6318 * math/s_ctanh.c: Likewise.
6319 * math/s_ctanhf.c: Likewise.
6320 * math/s_ctanhl.c: Likewise.
6321 * math/libm-test.inc (ctan_test): Add more tests.
6322 (ctanh_test): Likewise.
6323 * sysdeps/i386/fpu/libm-test-ulps: Update.
6324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6326 2012-04-09 Andreas Jaeger <aj@suse.de>
6329 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6330 is an optional BSD extension.
6333 * manual/stdio.texi (Opening Streams): Document additional fopen
6336 2012-04-09 Roland McGrath <roland@hack.frob.com>
6338 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6339 %eax without telling the compiler.
6341 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6344 * manual/install.texi: Use sourceware.org.
6346 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6349 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6350 (__ieee754_pow): Generate overflow and underflow using huge*huge
6351 and tiny*tiny rather than just returning constant infinity or zero
6352 for large exponents.
6353 * math/libm-test.inc (pow_test): Require overflow exceptions for
6354 applicable cases of large exponents.
6357 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6358 (__ieee754_pow): Use iterative multiplication algorithm only for
6359 integer exponents with absolute value below 1024. Check for odd
6360 integer exponents when using algorithm for real exponents.
6361 * math/libm-test.inc (pow_test): Add more tests.
6362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6364 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6367 * math/libm-test.inc (exp_test): Do not allow overflow exception
6370 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6373 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6374 instead of __kernel_standard_f.
6376 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6378 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6379 * sysdeps/x86_64/memset_chk.S: Likewise.
6381 2012-04-08 Andreas Jaeger <aj@suse.de>
6384 * manual/startup.texi (Environment Access): Describe return value
6385 for putenv and setenv.
6388 * manual/filesys.texi (Directory Entries): Add description for
6392 * manual/filesys.texi (Directory Entries): Clarify that it's file
6393 system not operating system in the description of DT_UNKNOWN.
6396 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6398 2012-04-08 Stephen Compall <s11@member.fsf.org>
6401 * manual/llio.texi (Opening and Closing Files): Add cross
6402 reference to explain mode argument.
6404 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6406 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6407 * sysdeps/x86_64/memset_chk.S: Likewise.
6409 2012-04-07 David S. Miller <davem@davemloft.net>
6411 * elf/elf.h (R_SPARC_WDISP10): Define.
6412 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6414 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6415 R_SPARC_SIZE64 and R_SPARC_H34.
6417 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6419 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6420 conditions and remove no longer applicable assertion.
6422 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6424 * bits/byteswap.h: Include <features.h>.
6425 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6426 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6428 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6430 * bits/byteswap.h (__bswap_16): Removed.
6431 Include <bits/byteswap-16.h> to get __bswap_16.
6432 * sysdeps/i386/bits/byteswap.h: Likewise.
6433 * sysdeps/s390/bits/byteswap.h: Likewise.
6434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6435 * bits/byteswap-16.h: New file.
6436 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6437 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6438 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6439 * string/Makefile (headers): Add bits/byteswap-16.h.
6441 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6444 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6446 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6447 * nss/tst-nss-static.c: New.
6449 2012-04-06 Robert Millan <rmh@gnu.org>
6452 * manual/llio.texi (File Position Primitive): lseek
6453 refers to WHENCE when it really means OFFSET.
6455 2012-04-06 Andreas Jaeger <aj@suse.de>
6457 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6458 strncmp declarations.
6460 * abilist/libc.abilist: Add __poll and __ppoll.
6462 2012-04-05 David S. Miller <davem@davemloft.net>
6464 * scripts/check-local-headers.sh: Accept a host triplet in the
6465 path matched by the exclude regexp.
6467 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6469 * sysdeps/powerpc/powerpc32/dl-machine.h
6470 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6471 * sysdeps/s390/s390-32/dl-machine.h
6472 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6473 * sysdeps/sparc/sparc32/dl-machine.h
6474 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6475 * sysdeps/sparc/sparc64/dl-machine.h
6476 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6478 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6480 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6481 undefined symbol errors.
6483 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6486 2012-04-05 Michael Matz <matz@suse.de>
6489 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6491 2012-04-05 Andreas Jaeger <aj@suse.de>
6494 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6497 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6499 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6500 which ROUND is no valid rounding mode.
6502 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6504 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6506 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6508 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6510 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6511 an exception using FPU order intentionally.
6513 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6515 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6516 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6517 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6518 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6520 2012-04-05 Simon Josefsson <simon@josefsson.org>
6523 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6524 EINVAL when BUFLEN is too smal.
6526 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6529 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6530 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6532 2012-04-03 Andreas Jaeger <aj@suse.de>
6535 * manual/setjmp.texi (System V contexts): Fix sentence.
6538 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6539 New macro for this case.
6540 [!__GNUC__] (__bswap_64): New inline function for this case.
6541 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6542 * bits/byteswap.h: Likewise.
6543 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6544 ull, guard with __GLIBC_HAVE_LONG_LONG.
6546 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6547 __GLIBC_HAVE_LONG_LONG.
6549 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6550 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6552 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6555 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6556 inptr and inend, rather than using last_ch.
6558 2012-04-02 David S. Miller <davem@davemloft.net>
6560 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6561 * stdio-common/printf-parse.h (read_int): Change return type to
6562 'int', return -1 on INT_MAX overflow.
6563 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6564 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6565 overflows INT_MAX. Check for overflow of in-format-string precision
6566 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6567 SIZE_MAX not INT_MAX for integer overflow test.
6568 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6569 skip the construct in the format string but do not record anything.
6570 * stdio-common/bug22.c: Adjust to test both width/prevision
6571 INT_MAX overflow as well as total length INT_MAX overflow. Check
6572 explicitly for proper errno values.
6574 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6576 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6578 * string/test-strcmp.c [! WIDE]: Likewise.
6579 * time/tst-mktime2.c: Likewise for INT_MAX.
6580 * string/test-string.h: #include <sys/param.h> for MIN.
6582 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6583 * sysdeps/i386/init-first.c (init): Likewise.
6584 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6585 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6586 * sysdeps/sh/init-first.c (init): Likewise.
6588 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6590 * po/ru.po: Update from translation team.
6591 * po/vi.po: Likewise.
6593 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6595 * resolv/nss_dns/dns-host.c: Merge copyright years.
6597 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6600 Optimize memcpy with prefetch if
6601 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6602 src, dst pointers have unequal 16 byte alignments.
6604 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6607 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6608 from a CNAME entry and return the minimum ttl for the query.
6609 (gaih_getanswer_slice): Likewise.
6611 2012-03-30 Jeff Law <law@redhat.com>
6613 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6615 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6616 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6618 * resolv/nss_dns/dns-host.c: Update copyright year.
6620 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6622 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6623 requests to save a system call. Fix check that all bytes are sent.
6625 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6626 comments for sendmmsg.
6628 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6631 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6632 with only 1 character between 0x0041 and 0x01b0.
6633 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6634 * wcsmbs/tst-mbsnrtowcs.c: New file.
6636 2012-03-29 David S. Miller <davem@davemloft.net>
6638 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6639 small copies by hand.
6641 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6644 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6645 _nss_compat_initgroups_dyn): Fall back to malloc/free
6646 for large group memberships.
6648 2012-03-28 David S. Miller <davem@davemloft.net>
6650 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6651 that branches into memcpy.
6652 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6653 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6654 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6655 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6658 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6660 * sysdeps/sparc/mempcpy.S: New file.
6662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6663 the IFUNC routine in the libc case.
6664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6666 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6667 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6668 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6669 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6670 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6671 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6672 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6673 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6675 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6676 loop to 256 bytes instead of 64 bytes and fix test signedness.
6678 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6679 * sysdeps/sparc/sparc32/Makefile: rather than here...
6680 * sysdeps/sparc/sparc64/Makefile: and here.
6682 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6684 * malloc/mallocbug.c: Avoid warnings about unused variables.
6686 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6689 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6690 in the right place. Discard and retry query if response is
6691 larger than input buffer size.
6693 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6698 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6699 x for large integer exponent.
6700 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6701 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6702 sign of result as needed afterwards.
6703 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6704 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6705 result for underflowing pow the same as for overflow.
6706 (__kernel_standard_l): Handle powl overflow and underflow here
6707 rather than calling __kernel_standard.
6708 * math/libm-test.inc (pow_test): Add more tests.
6723 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6724 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6725 (__kernel_standard_l): New function.
6726 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6728 * math/w_acosl.c (__acosl): Likewise.
6729 * math/w_asinl.c (__asinl): Likewise.
6730 * math/w_atan2l.c (__atan2l): Likewise.
6731 * math/w_atanhl.c (__atanhl): Likewise.
6732 * math/w_coshl.c (__coshl): Likewise.
6733 * math/w_exp10l.c (__exp10l): Likewise.
6734 * math/w_exp2l.c (__exp2l): Likewise.
6735 * math/w_fmodl.c (__fmodl): Likewise.
6736 * math/w_hypotl.c (__hypotl): Likewise.
6737 * math/w_j0l.c (__j0l, __y0l): Likewise.
6738 * math/w_j1l.c (__j1l, __y1l): Likewise.
6739 * math/w_jnl.c (__jnl, __ynl): Likewise.
6740 * math/w_lgammal.c (__lgammal): Likewise.
6741 * math/w_log10l.c (__log10l): Likewise.
6742 * math/w_log2l.c (__log2l): Likewise.
6743 * math/w_logl.c (__logl): Likewise.
6744 * math/w_powl.c (__powl): Likewise.
6745 * math/w_remainderl.c (__remainderl): Likewise.
6746 * math/w_scalbl.c (sysv_scalbl): Likewise.
6747 * math/w_sinhl.c (__sinhl): Likewise.
6748 * math/w_sqrtl.c (__sqrtl): Likewise.
6749 * math/w_tgammal.c (__tgammal): Likewise.
6750 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6751 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6752 * math/libm-test.inc (acos_test): Add more tests.
6753 (acosh_test): Likewise.
6754 (asin_test): Likewise.
6755 (atanh_test): Likewise.
6756 (exp_test): Likewise.
6757 (exp10_test): Likewise.
6758 (exp2_test): Likewise.
6759 (expm1_test): Likewise.
6760 (lgamma_test): Likewise.
6761 (log_test): Likewise.
6762 (log10_test): Likewise.
6763 (log1p_test): Likewise.
6764 (log2_test): Likewise.
6765 (pow_test): Do not allow some spurious overflow exceptions.
6766 (sqrt_test): Add more tests.
6767 (tgamma_test): Likewise.
6768 (y0_test): Likewise.
6769 (y1_test): Likewise.
6770 (yn_test): Likewise.
6772 2012-03-27 Anton Blanchard <anton@samba.org>
6774 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6776 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6777 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6778 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6780 2012-03-27 David S. Miller <davem@davemloft.net>
6782 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6784 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6787 2012-03-27 Andreas Jaeger <aj@suse.de>
6789 * sysdeps/x86_64/elf/configure.in: Moved to ...
6790 * sysdeps/x86_64/configure.in: ... here.
6791 * sysdeps/x86_64/elf/start.S: Moved to ...
6792 * sysdeps/x86_64/start.S: ... here.
6793 * sysdeps/x86_64/elf/configure: Delete.
6795 * sysdeps/x86_64/configure.in: Merge contents from
6796 sysdeps/i386/configure.in (without i686 check).
6798 * sysdeps/i386/elf/Versions: Merge into ...
6799 * sysdeps/i386/Versions: ... this.
6800 * sysdeps/i386/elf/Versions: Delete file.
6801 * sysdeps/i386/elf/start.S: Moved to ...
6802 * sysdeps/i386/start.S: ...here.
6803 * sysdeps/i386/elf/configure.in: Merge into...
6804 * sysdeps/i386/configure.in: ...here.
6805 * sysdeps/i386/elf/configure.in: Delete file.
6806 * sysdeps/i386/elf/configure: Delete file.
6808 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6809 * debug/backtracesyms.c: ... here.
6810 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6811 * debug/backtracesymsfd.c: ... here.
6812 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6813 * sysdeps/generic/ifunc-sel.h: ... here.
6815 * sysdeps/unix/i386/start.c: Delete file.
6816 * sysdeps/unix/sparc/start.c: Delete file.
6817 * sysdeps/unix/start.c: Delete file.
6819 * sysdeps/sh/elf/configure.in: Moved to ...
6820 * sysdeps/sh/configure.in: ... here.
6821 * sysdeps/sh/elf/start.S: Moved to ...
6822 * sysdeps/sh/start.S: ... here.
6823 * sysdeps/sh/elf/configure: Delete file.
6825 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6826 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6827 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6828 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6829 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6830 * sysdeps/powerpc/powerpc64/start.S: here.
6831 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6832 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6833 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6834 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6835 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6837 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6838 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6839 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6840 * sysdeps/powerpc/powerpc32/start.S: ... here.
6841 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6842 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6843 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6845 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6846 * sysdeps/powerpc/ifunc-sel.h: ... here.
6847 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6848 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6850 * sysdeps/sparc/elf/configure.in: Moved to ...
6851 * sysdeps/sparc/configure.in: ... here.
6852 * sysdeps/sparc/elf/configure: Delete file.
6853 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6854 * sysdeps/sparc/sparc32/start.S: ... here.
6855 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6856 * sysdeps/sparc/sparc64/start.S: ... here.
6857 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6858 * sysdeps/sparc/sparc32/Makefile: ... this.
6859 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6860 * sysdeps/sparc/sparc64/Makefile: ... this.
6862 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6863 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6864 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6865 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6866 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6867 * sysdeps/s390/s390-32/setjmp.S: ... here.
6868 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6869 * sysdeps/s390/s390-32/configure.in: ... here.
6870 * sysdeps/s390/s390-32/elf/configure: Delete file.
6871 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6872 * sysdeps/s390/s390-32/start.S: ... here.
6874 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6875 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6876 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6877 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6878 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6879 * sysdeps/s390/s390-64/setjmp.S: ... here.
6880 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6881 * sysdeps/s390/s390-64/configure.in: ... here
6882 * sysdeps/s390/s390-64/elf/configure: Delete file.
6883 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6884 * sysdeps/s390/s390-64/start.S: ... here.
6885 * sysdeps/s390/s390-64/elf/configure: Delete.
6887 * configure.in: Remove support for elf directories in sysdeps.
6889 * configure: Regenerated.
6890 * sysdeps/i386/configure: Regenerated.
6891 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6892 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6893 * sysdeps/s390/s390-32/configure: Regenerated.
6894 * sysdeps/s390/s390-64/configure: Regenerated.
6895 * sysdeps/sh/configure: Regenerated.
6896 * sysdeps/sparc/configure: Regenerated.
6897 * sysdeps/x86_64/configure: Regenerated.
6899 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6904 denormal result into account.
6906 2012-03-25 Roland McGrath <roland@hack.frob.com>
6908 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6909 Reported by Allan McRae <allan@archlinux.org>.
6911 2012-03-23 Jeff Law <law@redhat.com>
6913 * nss/getnssent.c (__nss_getent): Fix typo.
6915 2012-03-23 David S. Miller <davem@davemloft.net>
6917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6919 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6921 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6922 to pad to uint64_t for each field.
6923 (dl_tls_index): Replace unsigned long with uint64_t.
6925 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6926 Paul Pluzhnikov <ppluzhnikov@google.com>
6929 * grp/Makefile (otherlibs): Don't set it.
6930 * inet/Makefile (otherlibs): Likewise.
6931 * login/Makefile (otherlibs): Likewise.
6932 * nscd/Makefile (otherlibs): Likewise.
6933 * posix/Makefile (otherlibs): Likewise.
6934 * pwd/Makefile (otherlibs): Likewise.
6935 * rt/Makefile (otherlibs): Likewise.
6936 * sunrpc/Makefile (otherlibs): Likewise.
6937 * nss/Makefile (otherlibs): Likewise.
6938 Add libnss_files to routines and static-only-routines.
6939 ($(objpfx)getent): Remove rule.
6940 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6941 static-only-routines.
6943 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6946 * math/s_cexp.c: Include <float.h>.
6947 (__cexp): Handle exp result overflowing not necessarily
6948 overflowing both real and imaginary parts of result.
6949 * math/s_cexpf.c: Likewise.
6950 * math/s_cexpl.c: Likewise.
6951 * math/libm-test.inc (cexp_test): Add more tests.
6952 * sysdeps/i386/fpu/libm-test-ulps: Update.
6953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6955 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6957 * include/link.h (ELFW): New macro.
6958 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6959 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6961 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6963 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6966 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6968 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6970 (struct La_x32_retval): Likewise.
6972 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6974 * sysdeps/x86_64/preconfigure.in: New file.
6975 * sysdeps/x86_64/preconfigure: New generated file.
6977 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6980 * math/e_exp2l.c: Include <float.h>.
6981 (__ieee754_exp2l): Handle overflow and underflow cases
6982 separately. Only pass fractional part of argument to
6984 * math/libm-test.inc (exp2_test): Add more tests.
6986 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6987 negating x to take absolute value.
6988 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6990 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6991 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6993 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6994 computing low part if x was negated.
6995 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6997 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6999 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7001 (pltexit): Cast int_retval to ptrdiff_t.
7002 * elf/tst-auditmod3b.c: Likewise.
7003 * elf/tst-auditmod4b.c: Likewise.
7004 * elf/tst-auditmod5b.c: Likewise.
7005 * elf/tst-auditmod6b.c: Likewise.
7006 * elf/tst-auditmod6c.c: Likewise.
7007 * elf/tst-auditmod7b.c: Likewise.
7009 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7010 and x32_gnu_pltexit.
7012 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7014 (La_x32_regs): New macro.
7015 (La_x32_retval): Likewise.
7016 (la_x32_gnu_pltenter): New function prototype.
7017 (la_x32_gnu_pltexit): Likewise.
7019 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7026 * configure.in (libc_cv_cc_nofma): Check for option to disable
7027 generation of FMA instructions.
7028 * configure: Regenerate.
7029 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7030 * sysdeps/ieee754/dbl-64/Makefile: New file.
7031 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7032 Remove brandred-fma4.
7033 (CFLAGS-brandred-fma4.c): Remove.
7034 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7040 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7042 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7043 LLONG_MAX != LONG_MAX.
7044 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7045 (_fitoa_word): Likewise.
7046 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7047 LLONG_MAX != LONG_MAX.
7048 * stdio-common/_itowa.h: Include <_itoa.h>.
7049 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7050 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7051 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7052 only if not defined.
7053 (_ITOA_WORD_TYPE): Likewise.
7054 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7055 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7057 2012-03-21 David S. Miller <davem@davemloft.net>
7059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7061 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7063 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7064 of x86_64 when setting libc_cv_slibdir, libdir and
7066 * sysdeps/unix/sysv/linux/configure: Regenerated.
7068 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7070 * manual/lang.texi (Old Varargs): Remove section.
7071 (How Variadic): Update menu.
7072 (va_start): Do not mention varargs.h.
7074 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7075 Joseph Myers <joseph@codesourcery.com>
7077 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7079 * configure: Regenerated.
7081 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7083 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7084 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7087 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7090 * Makefile (files-for-dist): Remove NOTES.
7091 (NOTES): Remove rule.
7092 * README: Don't refer to NOTES.
7093 * manual/creature.texi: Don't include macros.texi.
7094 * manual/intro.texi (creature.texi): Remove comment referring to
7097 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7098 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7099 * configure: Regenerated.
7100 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7102 (libc_cv_as_i686): Likewise.
7103 (libc_cv_cc_avx): Likewise.
7104 (libc_cv_cc_sse2avx): Likewise.
7105 (libc_cv_cc_fma4): Likewise.
7106 (libc_cv_cc_novzeroupper): Likewise.
7107 * sysdeps/i386/configure: Regenerated.
7110 * sysdeps/i386/fpu/s_cexp.S: Remove.
7111 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7112 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7113 * math/libm-test.inc (cexp_test): Add more tests.
7114 * sysdeps/i386/fpu/libm-test-ulps: Update.
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7117 2012-03-21 Allan McRae <allan@archlinux.org>
7119 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7121 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7124 * math/w_exp2.c: Do not include <float.h>.
7125 (o_threshold, u_threshold): Remove.
7126 (__exp2): Calculate result before checking finiteness and calling
7128 * math/w_exp2f.c: Likewise.
7129 * math/w_exp2l.c: Likewise.
7130 * math/libm-test.inc (exp2_test): Require overflow exception for
7134 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7135 range of signed 64-bit integers before using fistpll. Remove
7136 checks for whether integers fit in mantissa bits.
7137 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7138 the range of signed 32-bit integers before using fistpl. Remove
7139 checks for whether integers fit in mantissa bits.
7140 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7141 (__ieee754_powl): Test for y outside the range of signed 64-bit
7142 integers before using fistpll. Reduce 64-bit values to 63-bit
7144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7145 divide-by-zero is raised for zero to large negative powers.
7146 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7147 (__ieee754_powl): Test for y outside the range of signed 64-bit
7148 integers before using fistpll. Reduce 64-bit values to 63-bit
7150 * math/libm-test.inc (pow_test): Add more tests.
7152 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7154 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7155 <stdio-common/_itoa.h>.
7156 * debug/segfault.c: Likewise.
7157 * elf/dl-cache.c: Likewise.
7158 * elf/dl-minimal.c: Likewise.
7159 * elf/dl-misc.c: Likewise.
7160 * elf/dl-sysdep.c: Likewise.
7161 * elf/dl-version.c: Likewise.
7162 * elf/rtld.c: Likewise.
7163 * hurd/hurdsock.c: Likewise.
7164 * hurd/lookup-retry.c: Likewise.
7165 * malloc/malloc.c: Likewise.
7166 * malloc/mtrace.c: Likewise.
7167 * nscd/nscd_getgr_r.c: Likewise.
7168 * nscd/nscd_getpw_r.c: Likewise.
7169 * nscd/nscd_getserv_r.c: Likewise.
7170 * posix/getopt_init.c: Likewise.
7171 * posix/wordexp.c: Likewise.
7172 * stdio-common/_itoa.c: Likewise.
7173 * stdio-common/printf_fphex.c: Likewise.
7174 * stdio-common/vfprintf.c: Likewise.
7175 * string/_strerror.c: Likewise.
7176 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7177 * sysdeps/i386/i686/hp-timing.h: Likewise.
7178 * sysdeps/mach/_strerror.c: Likewise.
7179 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7180 * sysdeps/mach/hurd/sethostid.c: Likewise.
7181 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7182 * sysdeps/mach/xpg-strerror.c: Likewise.
7183 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7184 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7185 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7186 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7187 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7188 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7189 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7190 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7191 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7192 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7193 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7194 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7195 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7196 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7197 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7198 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7199 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7200 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7201 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7202 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7203 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7205 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7207 * stdio-common/_itoa.h: Moved to ...
7208 * sysdeps/generic/_itoa.h: Here.
7210 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7212 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7213 instead of "_itoa.h" and "_itowa.h".
7214 * stdio-common/vfprintf.: Likewise.
7216 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7218 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7220 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7221 (__signbit): Likwise.
7225 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7227 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7230 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7232 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7233 OVERFLOW_EXCEPTION_OK.
7234 * math/libm-test.inc ("Philosophy"): Update comment about
7236 (OVERFLOW_EXCEPTION): Define.
7237 (OVERFLOW_EXCEPTION_OK): Likewise.
7238 (INVALID_EXCEPTION_OK): Renumber.
7239 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7240 (IGNORE_ZERO_INF_SIGN): Likewise.
7241 (test_exceptions): Handle FE_OVERFLOW.
7242 (exp10_test): Expect overflow exceptions.
7243 (exp2_test): Likewise.
7244 (expm1_test): Likewise.
7245 (nextafter_test): Likewise.
7246 (pow_test): Likewise.
7247 (scalbn_test): Likewise.
7248 (scalbln_test): Likewise.
7250 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7252 * sysdeps/x86_64/bits/atomic.h
7253 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7255 (atomic_exchange_acq): Likewise.
7256 (__arch_exchange_and_add_body): Likewise.
7257 (__arch_add_body): Likewise.
7258 (atomic_add_negative): Likewise.
7259 (atomic_add_zero): Likewise.
7261 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7263 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7264 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7266 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7268 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7269 Check __x86_64__ instead of __WORDSIZE.
7271 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7273 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7275 2012-03-19 David S. Miller <davem@davemloft.net>
7277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7279 * sysdeps/sparc/fpu/fenv_private.h: New file.
7280 * sysdeps/sparc/fpu/math_private.h: Use it.
7281 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7283 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7284 (libc_feholdexcept_setroundl): Remove.
7285 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7287 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7288 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7290 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7292 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7293 int64_t instead of long int.
7294 (INSERT_WORDS64): Likwise.
7296 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7298 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7299 _Unwind_GetCFA return to _Unwind_Ptr first.
7301 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7304 * math/s_clog.c: Include <float.h>.
7305 (__clog): Scale large or subnormal inputs.
7306 * math/s_clogf.c: Likewise.
7307 * math/s_clogl.c: Likewise.
7308 * math/s_clog10.c: Include <float.h>.
7309 (M_LOG10_2): Define.
7310 (__clog10): Scale large or subnormal inputs.
7311 * math/s_clog10f.c: Likewise.
7312 * math/s_clog10l.c: Likewise.
7313 * math/libm-test.inc (clog_test): Add more tests.
7314 (clog10_test): Likewise.
7315 * sysdeps/i386/fpu/libm-test-ulps: Update.
7316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7319 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7321 * math/libm-test.inc (atan2_test): Add another test.
7323 * Makerules (common-objdir-compile): Remove.
7324 * sysdeps/unix/Makefile (config-generated): Do not add
7325 $(unix-generated) to variable.
7326 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7327 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7329 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7331 [generic bits/local_lim.h] (before-compile): Do not append to
7333 [generic bits/local_lim.h] (common-generated): Likewise.
7334 [generic sys/param.h] (before-compile): Do not append to variable.
7335 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7336 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7337 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7338 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7340 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7341 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7342 [generic sys/param.h] ($(addprefix
7343 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7344 [generic sys/param.h] (common-generated): Do not append to
7346 [generic sys/param.h] (sysdep_headers): Likewise.
7347 [generic bits/errno.h] (before-compile): Do not append to
7349 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7351 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7352 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7353 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7354 [generic bits/errno.h] (common-generated): Do not append to
7356 [generic bits/ioctls.h] (before-compile): Do not append to
7358 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7360 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7361 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7362 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7364 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7365 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7366 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7367 [generic bits/ioctls.h] (common-generated): Do not append to
7369 [generic sys/syscall.h] (syscall.h): Remove variable.
7370 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7372 [generic sys/syscall.h] (before-compile): Do not append to
7374 [generic sys/syscall.h] (common-generated): Likewise.
7375 * sysdeps/unix/errnos-tmpl.c: Remove file.
7376 * sysdeps/unix/errnos.awk: Likewise.
7377 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7378 * sysdeps/unix/ioctls.awk: Likewise.
7379 * sysdeps/unix/mk-local_lim.c: Likewise.
7380 * sysdeps/unix/snarf-ioctls: Likewise.
7382 2012-03-19 Richard Henderson <rth@twiddle.net>
7384 * sysdeps/i386/fpu/fenv_private.h: New file.
7385 * sysdeps/i386/fpu/math_private.h: Use it.
7386 (math_opt_barrier, math_force_eval): Remove.
7387 (libc_feholdexcept_setround_53bit): Remove.
7388 (libc_feupdateenv_53bit): Remove.
7389 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7390 (math_opt_barrier, math_force_eval): Remove.
7391 (libc_feholdexcept): Remove.
7392 (libc_feholdexcept_setround): Remove.
7393 (libc_fetestexcept, libc_fesetenv): Remove.
7394 (libc_feupdateenv_test): Remove.
7395 (libc_feupdateenv, libc_feholdsetround): Remove.
7396 (libc_feresetround): Remove.
7398 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7399 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7401 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7402 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7403 (libc_feupdateenv_testl): New.
7404 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7405 (libc_feupdateenv_testf): New.
7406 (libc_feupdateenv): Use libc_feupdateenv_test.
7407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7408 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7410 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7411 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7412 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7413 (libc_feresetround_noex): New.
7414 (libc_feresetround_noexf): New.
7415 (libc_feresetround_noexl): New.
7416 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7417 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7418 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7419 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7422 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7424 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7425 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7426 SET_RESTORE_ROUND_NOEX.
7427 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7428 SET_RESTORE_ROUND_NOEXF.
7429 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7430 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7431 (libc_feholdsetroundf): New.
7432 (libc_feresetround, libc_feresetroundf): New.
7434 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7435 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7436 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7438 * sysdeps/generic/math_private.h: Include <fenv.h>.
7439 (default_libc_feholdexcept): New.
7440 (default_libc_feholdexcept_setround): New.
7441 (default_libc_fesetenv, default_libc_feupdateenv): New.
7442 (libc_feholdexcept): Only define if undefined.
7443 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7444 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7445 (libc_feholdexcept_setroundl): Likewise.
7446 (libc_feholdexcept_setround_53bit): Likewise.
7447 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7448 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7449 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7450 (libc_feupdateenv_53bit): Likewise.
7451 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7452 (libc_feholdexcept): Convert from macro to inline function.
7453 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7454 (libc_fesetenv, libc_feupdateenv): Likewise.
7456 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7457 not previously defined.
7458 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7459 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7460 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7461 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7462 * sysdeps/ieee754/flt-32/math_private.h: New file.
7463 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7464 math_private.h below SET_FLOAT_WORD.
7465 (__isnan, __isinf_ns, __finite): Remove.
7466 (__isnanf, __isinf_nsf, __finitef): Remove.
7468 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7472 2012-03-17 David S. Miller <davem@davemloft.net>
7475 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7478 2012-03-16 David S. Miller <davem@davemloft.net>
7480 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7484 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7486 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7487 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7488 sysdep_routines when subdir is sysvipc.
7489 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7492 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7494 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7496 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7499 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7501 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7502 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7503 (__lround): Renamed to ...
7504 (__llround): This. Replace long int with long long int.
7505 Define lround functions as aliases of llround functions.
7506 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7508 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7510 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7511 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7512 adresses to uintptr_t. Replace "long int" and "unsigned long
7513 int" with "greg_t" on va_arg.
7515 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7517 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7518 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7520 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7521 Move e_machine check before EI_CLASS check. Handle x32
7522 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7523 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7524 SKIP_EM_IA_64 and include
7525 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7527 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7528 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7529 (add_system_dir): New macro.
7531 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7532 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7534 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7545 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7547 * math/w_j0f.c (j0f): Likewise.
7549 * math/w_j0l.c (__j0l): Likewise.
7551 * math/w_j1.c (j1): Likewise.
7553 * math/w_j1f.c (j1f): Likewise.
7555 * math/w_j1l.c (__j1l): Likewise.
7557 * math/w_jn.c (jn): Likewise.
7559 * math/w_jnf.c (jnf): Likewise.
7561 * math/w_jnl.c (__jnl): Likewise.
7563 * math/libm-test.inc (j0_test): Add more tests.
7564 (j1_test): Likewise.
7565 (jn_test): Likewise. Add trailing semicolon to existing test.
7566 (y0_test): Likewise.
7567 (y1_test): Likewise.
7568 * sysdeps/i386/fpu/libm-test-ulps: Update.
7569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7573 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7574 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7575 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7576 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7577 (__tanl): Set errno for infinite argument.
7578 * sysdeps/i386/fpu/mptan.c: Remove.
7579 * sysdeps/i386/fpu/s_tan.S: Likewise.
7580 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7581 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7582 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7583 * math/libm-test.inc (tan_test): Add more tests and enable more
7584 tests for double and long double.
7585 * sysdeps/i386/fpu/libm-test-ulps: Update.
7586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7588 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7590 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7591 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7593 2012-03-16 Roland McGrath <roland@hack.frob.com>
7595 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7596 * configure.in: Use it for both main tree and add-ons.
7597 * configure: Regenerated.
7599 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7601 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7603 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7605 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7609 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7610 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7615 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7616 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7618 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7619 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7620 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7621 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7622 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7623 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7624 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7625 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7626 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7627 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7628 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7629 * math/libm-test.inc (cos_test): Add more tests and enable more
7630 tests for long double.
7631 (sin_test): Likewise.
7632 (sincos_test): Likewise.
7633 * sysdeps/i386/fpu/libm-test-ulps: Update.
7634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7636 2012-03-16 David S. Miller <davem@davemloft.net>
7638 * sysdeps/sparc/fpu/math_private.h: New file.
7640 2012-03-15 David S. Miller <davem@davemloft.net>
7642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7656 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7657 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7659 * sysdeps/sparc/sparc-ifunc.h: New file.
7660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7698 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7699 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7700 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7701 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7702 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7703 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7705 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7707 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7711 2012-03-15 Andreas Jaeger <aj@suse.de>
7714 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7715 ieee754/flt-32 implementation for sin, cos and sincos.
7716 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7717 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7718 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7719 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7720 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7721 ieee754/flt-32 implementation for tan.
7723 * math/libm-test.inc (cos_test): Enable some large input tests for
7725 (sin_test): Likewise.
7726 (sincos_test): Likewise.
7727 (tan_test): Add tests for large input.
7729 * sysdeps/i386/fpu/libm-test-ulps: Update.
7731 2012-03-15 Andreas Jaeger <aj@suse.de>
7734 * math/libm-test.inc (cos_test): Add more test cases.
7735 (sin_test): Likewise.
7736 (sincos_test): Likewise.
7738 2012-03-15 Andreas Jaeger <aj@suse.de>
7741 * math/libm-test.inc (cos_test): Add a test case for large input
7743 (sin_test): Likewise.
7744 (sincos_test): Likewise.
7746 2012-03-15 Andreas Jaeger <aj@suse.de>,
7747 Joseph Myers <joseph@codesourcery.com>
7750 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7751 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7752 * sysdeps/i386/fpu/branred.c: Likewise.
7753 * sysdeps/i386/fpu/dosincos.c: Likewise.
7754 * sysdeps/i386/fpu/mpa.c: Likewise.
7755 * sysdeps/i386/fpu/s_cos.S: Likewise.
7756 * sysdeps/i386/fpu/s_sin.S: Likewise.
7757 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7758 * sysdeps/i386/fpu/sincos32.c: Likewise.
7760 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7762 (libc_feupdateenv_53bit): Define.
7763 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7765 (libc_feupdateenv_53bit): Define.
7767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7768 53 bit (without extend i386 double precision).
7770 * math/libm-test.inc (sincos_test): Add tests for large input.
7774 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7776 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7780 2012-03-15 David S. Miller <davem@davemloft.net>
7782 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7783 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7784 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7785 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7810 fmin/fmax sysdep routines.
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7813 2012-03-14 David S. Miller <davem@davemloft.net>
7815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7819 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7821 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7822 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7835 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7842 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7887 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7892 * sysdeps/sparc/configure.in: New file.
7893 * sysdeps/sparc/configure: Generate.
7894 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7895 * configure: Regenerate.
7896 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7897 * config.make.in (have-as-vis3): New.
7898 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7899 available use -Av9d instead of -Av9a.
7900 * sysdeps/sparc/sparc64/Makefile: Likewise.
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7911 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7913 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7914 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7916 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7917 fzeros/fnegs to load 0x80000000 into a float register instead of
7919 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7921 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7925 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7926 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7927 ($(inst_includedir)/bits/syscall.h): Remove rule.
7928 ($(objpfx)bits/syscall.d): Include instead of
7929 $(objpfx)syscall-list.d.
7930 (generated): Change syscall-list.h and syscall-list.d to
7931 bits/syscall.h and bits/syscall.d.
7933 2012-03-14 Roland McGrath <roland@hack.frob.com>
7936 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7938 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7941 * math/s_csqrt.c: Include <float.h>.
7942 (__csqrt): Scale large or subnormal inputs.
7943 * math/s_csqrtf.c: Likewise.
7944 * math/s_csqrtl.c: Likewise.
7945 * math/libm-test.inc (csqrt_test): Add more tests.
7946 * sysdeps/i386/fpu/libm-test-ulps: Update.
7947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7950 * math/libm-test.inc (hypot_test): Add more tests.
7952 2012-03-13 David S. Miller <davem@davemloft.net>
7955 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7956 double-precision for the calculation instead of scaling.
7958 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7960 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7961 manipulate bits before adding and subtracting TWO52[sx].
7962 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7963 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7965 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7967 2012-03-13 David S. Miller <davem@davemloft.net>
7969 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7970 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7972 rtld-global-offsets.h
7973 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7975 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7978 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7980 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7981 'err' in the ifdef scope in which it is actually used.
7983 * nss/nss_db/db-init.c: Include string.h
7985 2012-03-12 David S. Miller <davem@davemloft.net>
7987 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7988 masking out of the most significant byte of random value used.
7989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7990 Fix coding style in previous change.
7992 * sysdeps/unix/sysv/linux/kernel-features.h
7993 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7994 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7996 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7999 2012-03-11 David S. Miller <davem@davemloft.net>
8001 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8002 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8003 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8004 for 'resultvar' otherwise things get truncated on 64-bit.
8006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8007 Fix masking out of the most significant byte of random value used.
8009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8011 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8015 2012-03-09 David S. Miller <davem@davemloft.net>
8017 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8018 variables with appropriate CPP guards.
8019 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8020 frame pointer, not the stack pointer. Correct layout comments. Fix test
8021 on resulting framesize and the management of the outregs buffer for pltexit.
8022 Preserve floating point return values across _dl_call_pltexit call.
8023 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8024 framesize and the management of the outregs buffer for pltexit.
8025 Preserve floating point return values across _dl_call_pltexit
8027 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8028 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8029 (print_exit): Fix format string for return register value.
8031 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8033 * sunrpc/Makefile (others): Add rpcgen.
8034 ($(objpfx)rpcgen): Remove special build rule and dependency on
8036 * sunrpc/rpcgen.c: New file.
8038 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8041 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8042 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8043 * sysdeps/i386/crti.S: Likewise.
8044 * sysdeps/i386/crtn.S: Likewise.
8045 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8046 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8047 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8048 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8049 * sysdeps/sh/crti.S: Likewise.
8050 * sysdeps/sh/crtn.S: Likewise.
8051 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8054 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8056 * locale/programs/locfile-kw.gperf: Likewise.
8057 * locale/programs/charmap-kw.h: Regenerated.
8058 * locale/programs/locfile-kw.h: Likewise.
8061 * intl/plural.y: Replace FSF snail mail address with URL.
8062 * intl/plural.c: Regenerated.
8064 2012-03-09 Richard Henderson <rth@twiddle.net>
8066 * include/math_private.h: Remove file.
8067 * math/math_private.h: Move file ...
8068 * sysdeps/generic/math_private.h: ... here.
8070 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8071 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8072 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8074 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8075 and <math_private.h>.
8076 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8077 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8078 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8079 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8080 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8108 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8114 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8118 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8119 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8164 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8165 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8166 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8167 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8168 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8169 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8170 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8171 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8172 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8173 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8174 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8175 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8176 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8177 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8178 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8179 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8180 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8181 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8182 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8183 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8184 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8186 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8187 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8188 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8189 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8190 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8191 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8193 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8194 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8195 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8196 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8197 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8198 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8199 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8200 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8201 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8202 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8203 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8204 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8205 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8206 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8207 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8208 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8209 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8210 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8211 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8212 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8213 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8214 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8215 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8216 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8217 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8218 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8219 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8220 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8221 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8222 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8223 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8224 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8225 * sysdeps/ieee754/k_standard.c: Likewise.
8226 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8231 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8237 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8238 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8239 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8240 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8241 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8242 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8243 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8299 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8300 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8303 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8341 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8345 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8346 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8348 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8353 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8358 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8374 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8375 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8376 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8377 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8386 * sysdeps/ieee754/s_lib_version.c: Likewise.
8387 * sysdeps/ieee754/s_matherr.c: Likewise.
8388 * sysdeps/ieee754/s_signgam.c: Likewise.
8389 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8390 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8391 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8392 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8393 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8394 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8395 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8396 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8397 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8398 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8399 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8400 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8401 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8402 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8403 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8404 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8405 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8406 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8407 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8408 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8411 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8413 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8414 * sunrpc/rpc_main.c: Likewise.
8415 * sunrpc/rpc_svcout.c: Likewise.
8417 2012-03-09 David S. Miller <davem@davemloft.net>
8419 * include/math_private.h: New file.
8421 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8423 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8424 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8425 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8426 from <bits/socket_type.h>.
8427 (enum __socket_type): Don't define here.
8428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8433 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8436 * Makerules ($(inst_includedir)/%.h): New rule.
8437 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8438 (install-others): Remove variable setting.
8439 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8441 2012-03-08 Richard Henderson <rth@twiddle.net>
8443 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8444 from macro to inline function; merge with the
8445 !__LIBC_INTERNAL_MATH_INLINES version.
8446 (__ieee754_sqrtf): Likewise.
8448 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8450 (__rintf, __floor, __floorf): Likewise.
8452 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8453 macro to inline function.
8454 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8456 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8457 not <math/math_private.h>.
8459 2012-03-08 David S. Miller <davem@davemloft.net>
8461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8463 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8465 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8467 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8469 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8470 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8472 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8474 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8475 be defined individually, they must be defined as a block. Define
8476 S for printing a string instead of hidint the different by using a
8477 macro for adding the 'l'.
8478 * stdio-common/tst-fphex-wide.c: Adjust.
8480 2012-03-07 Marek Polacek <polacek@redhat.com>
8482 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8484 2012-03-08 Marek Polacek <polacek@redhat.com>
8487 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8488 * stdio-common/tst-fphex.c: Define a few macros to make the
8489 test reusable. Use them.
8490 * stdio-common/tst-fphex-wide.c: New file.
8492 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8495 * manual/macros.texi (gnusystems): New macro.
8496 (nongnusystems): Likewise.
8497 (gnulinuxhurdsystems): Likewise.
8498 (gnuhurdsystems): Likewise..
8499 (gnulinuxsystems): Likewise.
8500 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8501 variants of the GNU system, not "GNU system".
8502 * manual/conf.texi: Likewise.
8503 * manual/errno.texi: Likewise. Update example of errno macro
8505 * manual/filesys.texi: Likewise.
8506 (getumask): Document as specific to GNU/Hurd.
8507 * manual/install.texi: Likewise. Reword some references to
8509 * manual/intro.texi: Likewise.
8510 * manual/io.texi: Likewise.
8511 (File Name Portability): Detail which constraints are inapplicable
8512 to all GNU systems and which are only inapplicable to GNU/Hurd.
8513 * manual/job.texi: Likewise.
8514 * manual/llio.texi: Likewise.
8515 (O_NOCTTY): Document as present on GNU/Linux.
8516 * manual/maint.texi: Likewise.
8517 * manual/memory.texi: Likewise.
8518 * manual/pattern.texi: Likewise.
8519 * manual/pipe.texi: Likewise.
8520 * manual/process.texi: Likewise.
8521 * manual/resource.texi: Likewise.
8522 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8524 * manual/setjmp.texi: Likewise.
8525 * manual/signal.texi: Likewise.
8526 * manual/startup.texi: Likewise.
8527 * manual/stdio.texi: Likewise.
8528 * manual/terminal.texi: Likewise.
8529 (ONLCR): Document as POSIX.
8530 (OXTABS): Document availability on GNU/Linux as XTABS.
8531 (ONOEOT): Document availability separately from other bits.
8532 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8533 * manual/time.texi: Likewise.
8534 * manual/users.texi: Likewise.
8535 * INSTALL: Regenerated.
8536 * sysdeps/gnu/errlist.c: Regenerated.
8538 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8539 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8540 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8542 * configure: Regenerated.
8544 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8546 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8547 default includes instead of AC_HEADER_CHECK.
8548 * sysdeps/i386/configure: Regenerated.
8551 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8552 * math/s_cacoshf.c (__cacoshf): Likewise.
8553 * math/s_cacoshl.c (__cacoshl): Likewise.
8554 * math/s_casinh.c (__casinh): Set signs of result from argument.
8555 * math/s_casinhf.c (__casinhf): Likewise.
8556 * math/s_casinhl.c (__casinhl): Likewise.
8557 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8558 (casinh_test): Add more tests.
8559 * sysdeps/i386/fpu/libm-test-ulps: Update.
8560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8562 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8564 * po/zh_TW.po: Update from translation team.
8566 * login/Makefile (distribute): Remove variable.
8567 * catgets/Makefile: Likewise.
8568 * mach/Makefile: Likewise.
8569 * malloc/Makefile: Likewise.
8570 * misc/Makefile: Likewise.
8571 * iconv/Makefile: Likewise.
8572 * nscd/Makefile: Likewise.
8573 * hurd/Makefile: Likewise.
8574 * manual/Makefile: Likewise.
8575 * locale/Makefile: Likewise.
8576 * intl/Makefile: Likewise.
8577 * conform/Makefile: Likewise.
8578 * nss/Makefile: Likewise.
8579 * time/Makefile: Likewise.
8580 * soft-fp/Makefile: Likewise.
8581 * dirent/Makefile: Likewise.
8582 * gmon/Makefile: Likewise.
8583 * po/Makefile: Likewise.
8584 * rt/Makefile: Likewise.
8585 * socket/Makefile: Likewise.
8586 * math/Makefile: Likewise.
8587 * signal/Makefile: Likewise.
8588 * debug/Makefile: Likewise.
8589 * elf/Makefile: Likewise.
8590 * timezone/Makefile: Likewise.
8591 * stdlib/Makefile: Likewise.
8592 * iconvdata/Makefile: Likewise.
8593 * sunrpc/Makefile: Likewise.
8594 * io/Makefile: Likewise.
8595 * argp/Makefile: Likewise.
8596 * inet/Makefile: Likewise.
8597 * hesiod/Makefile: Likewise.
8598 * grp/Makefile: Likewise.
8599 * csu/Makefile: Likewise.
8600 * wctype/Makefile: Likewise.
8601 * crypt/Makefile: Likewise.
8602 * libio/Makefile: Likewise.
8603 * string/Makefile: Likewise.
8604 * nis/Makefile: Likewise.
8605 * resolv/Makefile: Likewise.
8606 * stdio-common/Makefile: Likewise.
8607 * wcsmbs/Makefile: Likewise.
8608 * dlfcn/Makefile: Likewise.
8609 * posix/Makefile: Likewise.
8612 * timezone/Makefile: Don't install timezone files, just the programs
8615 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8617 * nss/databases.def: Add missing gshadow entry.
8619 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8621 2012-03-06 Marek Polacek <polacek@redhat.com>
8624 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8625 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8626 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8627 * stdio-common/tst-long-dbl-fphex.c: New file.
8629 2012-03-06 David S. Miller <davem@davemloft.net>
8631 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8632 (set_obp_int): New function.
8633 (get_obp_int): New function.
8634 (__get_clockfreq_via_dev_openprom): Likewise.
8635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8636 Avoid unused variable warnings on 'val' and use builtin_expect.
8637 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8639 (INLINE_CLONE_SYSCALL): Likewise.
8641 2012-03-05 David S. Miller <davem@davemloft.net>
8643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8645 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8649 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8651 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8653 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8655 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8656 Replace gettimeofday with __vdso_gettimeofday.
8658 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8659 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8660 __vdso_clock_gettime and __vdso_getcpu.
8662 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8663 time with __vdso_time.
8665 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8667 * manual/lang.texi (size_t): Note types to which size_t may be
8668 equivalent with the GNU C Library, but do not describe when
8669 differences between them are significant.
8671 2012-03-05 Andreas Jaeger <aj@suse.de>
8673 * sysdeps/i386/fpu/libm-test-ulps: Update.
8675 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8678 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8679 (__ieee754_pow): Save and restore rounding mode and use
8680 round-to-nearest for main computations.
8681 * math/libm-test.inc (pow_test_tonearest): New function.
8682 (pow_test_towardzero): Likewise.
8683 (pow_test_downward): Likewise.
8684 (pow_test_upward): Likewise.
8685 (main): Call the new functions.
8686 * sysdeps/i386/fpu/libm-test-ulps: Update.
8687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8690 * math/libm-test.inc (cosh_test_tonearest): New function.
8691 (cosh_test_towardzero): Likewise.
8692 (cosh_test_downward): Likewise.
8693 (cosh_test_upward): Likewise.
8694 (sinh_test_tonearest): Likewise.
8695 (sinh_test_towardzero): Likewise.
8696 (sinh_test_downward): Likewise.
8697 (sinh_test_upward): Likewise.
8698 (main): Call the new functions.
8699 * sysdeps/i386/fpu/libm-test-ulps: Update.
8700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8702 2012-03-05 Tom de Vries <tom@codesourcery.com>
8704 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8705 default stack guard is set in last bytes.
8706 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8708 2012-03-05 Kees Cook <keescook@chromium.org>
8710 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8713 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8714 possibly allocate from heap instead of stack.
8715 * stdio-common/bug-vfprintf-nargs.c: New file.
8716 * stdio-common/Makefile (tests): Add nargs overflow test.
8718 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8722 2012-03-03 Marek Polacek <polacek@redhat.com>
8724 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8725 * math/math_private.h: Likewise.
8726 * stdlib/tst-strtod.c: Likewise.
8727 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8728 * sysdeps/x86_64/bits/atomic.h: Likewise.
8730 2012-03-02 David S. Miller <davem@davemloft.net>
8732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8736 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8737 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8738 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8739 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8741 2012-03-02 Roland McGrath <roland@hack.frob.com>
8744 * manual/examples/README: New file, says the example source files
8745 can be used under GPL>=2.
8746 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8747 line containing just "*/".
8748 * manual/examples/add.c: Add copyright header (GPL>=2).
8749 * manual/examples/argp-ex1.c: Likewise.
8750 * manual/examples/argp-ex2.c: Likewise.
8751 * manual/examples/argp-ex3.c: Likewise.
8752 * manual/examples/argp-ex4.c: Likewise.
8753 * manual/examples/atexit.c: Likewise.
8754 * manual/examples/db.c: Likewise.
8755 * manual/examples/dir.c: Likewise.
8756 * manual/examples/dir2.c: Likewise.
8757 * manual/examples/execinfo.c: Likewise.
8758 * manual/examples/filecli.c: Likewise.
8759 * manual/examples/filesrv.c: Likewise.
8760 * manual/examples/fmtmsgexpl.c: Likewise.
8761 * manual/examples/genpass.c: Likewise.
8762 * manual/examples/inetcli.c: Likewise.
8763 * manual/examples/inetsrv.c: Likewise.
8764 * manual/examples/isockad.c: Likewise.
8765 * manual/examples/longopt.c: Likewise.
8766 * manual/examples/memopen.c: Likewise.
8767 * manual/examples/memstrm.c: Likewise.
8768 * manual/examples/mkfsock.c: Likewise.
8769 * manual/examples/mkisock.c: Likewise.
8770 * manual/examples/mygetpass.c: Likewise.
8771 * manual/examples/pipe.c: Likewise.
8772 * manual/examples/popen.c: Likewise.
8773 * manual/examples/rprintf.c: Likewise.
8774 * manual/examples/search.c: Likewise.
8775 * manual/examples/select.c: Likewise.
8776 * manual/examples/setjmp.c: Likewise.
8777 * manual/examples/sigh1.c: Likewise.
8778 * manual/examples/sigusr.c: Likewise.
8779 * manual/examples/stpcpy.c: Likewise.
8780 * manual/examples/strdupa.c: Likewise.
8781 * manual/examples/strftim.c: Likewise.
8782 * manual/examples/strncat.c: Likewise.
8783 * manual/examples/subopt.c: Likewise.
8784 * manual/examples/swapcontext.c: Likewise.
8785 * manual/examples/termios.c: Likewise.
8786 * manual/examples/testopt.c: Likewise.
8787 * manual/examples/testpass.c: Likewise.
8788 * manual/examples/timeval_subtract.c: Likewise.
8791 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8793 * manual/timeval_subtract.c.texi: ... here, new file.
8795 2012-03-02 David S. Miller <davem@davemloft.net>
8797 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8799 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8802 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8803 (__sin): Save and restore rounding mode and use round-to-nearest
8804 for all computations.
8805 (__cos): Save and restore rounding mode and use round-to-nearest
8806 for all computations.
8807 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8809 (tan): Save and restore rounding mode and use round-to-nearest for
8811 * math/libm-test.inc (cos_test_tonearest): New function.
8812 (cos_test_towardzero): Likewise.
8813 (cos_test_downward): Likewise.
8814 (cos_test_upward): Likewise.
8815 (sin_test_tonearest): Likewise.
8816 (sin_test_towardzero): Likewise.
8817 (sin_test_downward): Likewise.
8818 (sin_test_upward): Likewise.
8819 (tan_test_tonearest): Likewise.
8820 (tan_test_towardzero): Likewise.
8821 (tan_test_downward): Likewise.
8822 (tan_test_upward): Likewise.
8823 (main): Call the new functions.
8824 * sysdeps/i386/fpu/libm-test-ulps: Update.
8825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8829 small n, then large n, before computing and testing k+n.
8830 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8831 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8833 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8835 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8836 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8837 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8838 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8839 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8840 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8841 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8842 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8843 * math/libm-test.inc (scalbn_test): Add more tests.
8844 (scalbln_test): Likewise.
8846 * manual/filesys.texi (mode_t): Describe constraints on size and
8847 signedness, not exact equivalence to a particular type.
8849 (ino64_t): Likewise.
8851 (nlink_t): Likewise.
8852 (blkcnt_t): Likewise.
8853 (blkcnt64_t): Likewise.
8854 * manual/llio.texi (off_t): Likewise.
8857 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8858 (__ieee754_exp): Save and restore rounding mode and use
8859 round-to-nearest for all computations.
8860 * math/libm-test.inc (exp_test_tonearest): New function.
8861 (exp_test_towardzero): Likewise.
8862 (exp_test_downward): Likewise.
8863 (exp_test_upward): Likewise.
8864 (main): Call the new functions.
8865 * sysdeps/i386/fpu/libm-test-ulps: Update.
8866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8868 2012-03-01 Chris Demetriou <cgd@google.com>
8870 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8871 have predictable order.
8873 2012-03-01 David S. Miller <davem@davemloft.net>
8875 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8877 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8878 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8879 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8880 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8882 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8883 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8884 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8886 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8887 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8888 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8889 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8890 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8895 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8896 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8898 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8899 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8900 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8901 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8902 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8903 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8904 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8905 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8906 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8907 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8908 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8909 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8911 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8912 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8914 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8915 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8916 * sysdeps/sparc/elf/configure: Regenerated.
8918 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8920 * configure.in (AS, LD): Require binutils 2.20 or later.
8921 * configure: Regenerated.
8922 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8923 as required minimum version.
8924 * INSTALL: Regenerated.
8928 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8929 before squaring exponent.
8930 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8931 bottom long double and 27 bits of top long double before squaring
8933 * math/libm-test.inc (erfc_test): Add more tests.
8934 * sysdeps/i386/fpu/libm-test-ulps: Update.
8935 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8938 2012-03-01 Kai Tietz <ktietz@redhat.com>
8940 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8941 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8942 containing bit-fields.
8943 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8944 * soft-fp/single.h (_FP_UNION_S): Likewise.
8945 * soft-fp/double.h (_FP_UNION_D): Likewise.
8947 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8950 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8951 not include ../strcmp.S.
8952 [USE_AS_STRNCASECMP_L]: Likewise.
8953 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8954 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8955 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8956 (__strncasecmp_l_ia32): Define as alias to
8957 __strncasecmp_l_nonascii.
8960 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8961 * sysdeps/i386/fpu/libm-test-ulps: Update.
8962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8964 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8967 2012-02-29 Jeff Law <law@redhat.com>
8969 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8972 2012-02-29 Marek Polacek <polacek@redhat.com>
8975 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8976 * elf/Makefile: Add rules to run tst-unused-dep.out.
8978 2012-02-28 David S. Miller <davem@davemloft.net>
8980 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8981 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8982 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8984 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8985 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8987 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8989 * math/libm-test.inc (llround_test): Move one test from
8990 lround_test. Use TEST_f_L in moved test.
8991 (lround_test): Move misplaced test to llround_test. Add testcase
8994 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8996 * sysdeps/x86_64/fpu/e_expf.S: New file.
8997 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8999 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9002 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9003 of remain_len that may cause incomplete multi-byte character and
9005 * posix/bug-regex33.c: New file.
9006 * posix/Makefile (tests): Add bug-regex33.
9008 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9010 * manual/macros.texi: New file.
9011 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9012 * manual/libc.texinfo: Include macros.texi.
9013 * manual/creatute.texi: Likewise.
9014 * manual/install.texi: Likewise.
9015 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9016 @glibcadj{} in references to the GNU C Library.
9017 * manual/charset.texi: Likewise.
9018 * manual/conf.texi: Likewise.
9019 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9020 when not using those macros.
9021 * manual/creature.texi: Likewise.
9022 * manual/crypt.texi: Likewise.
9023 * manual/errno.texi: Likewise.
9024 * manual/filesys.texi: Likewise.
9025 * manual/header.texi: Likewise.
9026 * manual/install.texi: Likewise.
9027 * manual/intro.texi: Likewise.
9028 * manual/io.texi: Likewise.
9029 * manual/job.texi: Likewise.
9030 * manual/lang.texi: Likewise.
9031 * manual/libc.texiinfo: Likewise.
9032 * manual/llio.texi: Likewise.
9033 * manual/locale.texi: Likewise.
9034 * manual/maint.texi: Likewise.
9035 * manual/math.texi: Likewise.
9036 * manual/memory.texi: Likewise.
9037 * manual/message.texi: Likewise.
9038 * manual/nss.texi: Likewise.
9039 * manual/pattern.texi: Likewise.
9040 * manual/process.texi: Likewise.
9041 * manual/resource.texi: Likewise.
9042 * manual/search.texi: Likewise.
9043 * manual/setjmp.texi: Likewise.
9044 * manual/signal.texi: Likewise.
9045 * manual/socket.texi: Likewise.
9046 * manual/startup.texi: Likewise.
9047 * manual/stdio.texi: Likewise.
9048 * manual/string.texi: Likewise.
9049 * manual/sysinfo.texi: Likewise.
9050 * manual/syslog.texi: Likewise.
9051 * manual/terminal.texi: Likewise.
9052 * manual/time.texi: Likewise.
9053 * manual/users.texi: Likewise.
9054 * INSTALL: Regenerated.
9055 * NOTES: Regenerated.
9056 * sysdeps/gnu/errlist.c: Regenerated.
9058 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9060 * include/dirent.h: Include <dirstream.h> before
9063 2012-02-28 David S. Miller <davem@davemloft.net>
9065 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9066 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9067 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9068 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9070 2012-02-27 David S. Miller <davem@davemloft.net>
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9074 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9075 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9078 frame pointer instead of stack pointer relative arg slot.
9079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9080 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9081 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9083 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9086 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9088 2012-02-27 David S. Miller <davem@davemloft.net>
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9094 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9095 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9096 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9097 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9099 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9101 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9102 later. Allow versions 5-9.
9103 * configure: Regenerated.
9104 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9105 required minimum version and 4.6 as recommended version. Do not
9106 mention bugs in GCC 2.7 and 2.8.
9107 * INSTALL: Regenerated.
9109 2012-02-27 David S. Miller <davem@davemloft.net>
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9115 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9116 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9117 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9118 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9120 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9121 manipulate bits before adding and subtracting TWO112[sx].
9122 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9124 2012-02-27 Roland McGrath <roland@hack.frob.com>
9127 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9128 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9129 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9130 being in POSIX, because they are in 1003.1-2008.
9132 * rt/tst-aio.c: Include <fcntl.h>.
9133 * rt/tst-aio7.c: Likewise.
9134 * rt/tst-aio64.c: Likewise.
9136 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9138 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9140 * manual/install.texi (--with-headers): Describe headers as
9141 interface headers, not private headers.
9142 (Specific advice for GNU/Linux systems): Describe use of headers
9143 from "make headers_install", not private headers from older
9145 * INSTALL: Regenerated.
9146 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9148 * sysdeps/unix/sysv/linux/configure: Regenerated.
9150 * manual/llio.texi (fclean): Remove documentation.
9152 * manual/Makefile (libc-texi-generated): New variable. Include
9154 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9155 $(libc-texi-generated), not duplicated list of files.
9156 (version.texi, stamp-version): New rules.
9157 (realclean): Remove $(libc-texi-generated), not individual files
9158 from that list. Do not remove dir-add.texinfo.
9159 * manual/libc.texinfo: Comment out uses of edition numbers and
9160 references to printed manual. Remove last-updated dates.
9161 (EDITION): Comment out.
9163 (VERSION, UPDATED): Remove.
9164 (version.texi): Include.
9166 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9168 * sysdeps/posix/spawni.c: Include <signal.h>.
9169 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9170 * sysdeps/pthread/aio_fsync.c: Likewise.
9172 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9174 * conform/Makefile (tests): Run only when not cross-compiling and
9175 when fast-check is not defined.
9177 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9178 * conform/data/limits.h-data: Fixes for POSIX2008.
9179 * conform/run-conformtest.sh: Run all tests.
9180 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9182 * include/bits/dlfcn.h: Likewise.
9183 * include/langinfo.h: Likewise.
9184 * include/monetary.h: Likewise.
9185 * include/sys/poll.h: Likewise.
9187 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9189 * posix/spawn.h: Define __need_sigset_t.
9190 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9191 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9192 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9193 to get sigevent_t only.
9194 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9197 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9198 process_vm_writev only for __USE_GNU.
9199 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9201 * conform/Makefile: For now ignore errors from run-conformtest.
9202 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9203 POSIX to avoid namespace pollution. Don't prepend headers.
9204 * conform/data/aio.h-data: Fixes for POSIX testing.
9205 * conform/data/fcntl.h-data: Likewise.
9206 * conform/data/glob.h-data: Likewise.
9207 * conform/data/grp.h-data: Likewise.
9208 * conform/data/pthread.h-data: Likewise.
9209 * conform/data/pwd.h-data: Likewise.
9210 * conform/data/signal.h-data: Likewise.
9211 * conform/data/spawn.h-data: Likewise.
9212 * conform/data/stdio.h-data: Likewise.
9213 * conform/data/stdlib.h-data: Likewise.
9214 * conform/data/stropts.h-data: Likewise.
9215 * conform/data/sys/mman.h-data: Likewise.
9216 * conform/data/sys/stat.h-data: Likewise.
9217 * conform/data/sys/types.h-data: Likewise.
9218 * conform/data/sys/wait.h-data: Likewise.
9219 * conform/data/time.h-data: Likewise.
9220 * conform/data/unistd.h-data: Likewise.
9221 * conform/data/utime.h-data: Likewise.
9223 * io/sys/stat.h: fchmod was always in POSIX.
9224 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9225 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9226 * rt/aio.h: Define __need_timespec before including <time.h>.
9227 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9228 struct. Add forward declaration of pthread_attr_t and use it in
9230 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9231 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9232 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9233 always remove CLK_TCK definition.
9235 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9237 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9239 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9241 * conform/run-conformtest.sh: New file.
9242 * conform/Makefile: Run run-conformtest for tests.
9243 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9246 * conform/data/uchar.h-data: New file.
9247 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9248 * conform/data/arpa/inet.h-data: Likewise.
9249 * conform/data/assert.h-data: Likewise.
9250 * conform/data/complex.h-data: Likewise.
9251 * conform/data/cpio.h-data: Likewise.
9252 * conform/data/ctype.h-data: Likewise.
9253 * conform/data/dirent.h-data: Likewise.
9254 * conform/data/dlfcn.h-data: Likewise.
9255 * conform/data/errno.h-data: Likewise.
9256 * conform/data/fcntl.h-data: Likewise.
9257 * conform/data/float.h-data: Likewise.
9258 * conform/data/fmtmsg.h-data: Likewise.
9259 * conform/data/fnmatch.h-data: Likewise.
9260 * conform/data/ftw.h-data: Likewise.
9261 * conform/data/glob.h-data: Likewise.
9262 * conform/data/grp.h-data: Likewise.
9263 * conform/data/iconv.h-data: Likewise.
9264 * conform/data/inttypes.h-data: Likewise.
9265 * conform/data/langinfo.h-data: Likewise.
9266 * conform/data/libgen.h-data: Likewise.
9267 * conform/data/limits.h-data: Likewise.
9268 * conform/data/locale.h-data: Likewise.
9269 * conform/data/math.h-data: Likewise.
9270 * conform/data/monetary.h-data: Likewise.
9271 * conform/data/mqueue.h-data: Likewise.
9272 * conform/data/ndbm.h-data: Likewise.
9273 * conform/data/net/if.h-data: Likewise.
9274 * conform/data/netdb.h-data: Likewise.
9275 * conform/data/netinet/in.h-data: Likewise.
9276 * conform/data/nl_types.h-data: Likewise.
9277 * conform/data/poll.h-data: Likewise.
9278 * conform/data/pthread.h-data: Likewise.
9279 * conform/data/pwd.h-data: Likewise.
9280 * conform/data/regex.h-data: Likewise.
9281 * conform/data/sched.h-data: Likewise.
9282 * conform/data/search.h-data: Likewise.
9283 * conform/data/semaphore.h-data: Likewise.
9284 * conform/data/setjmp.h-data: Likewise.
9285 * conform/data/signal.h-data: Likewise.
9286 * conform/data/spawn.h-data: Likewise.
9287 * conform/data/stdarg.h-data: Likewise.
9288 * conform/data/stdio.h-data: Likewise.
9289 * conform/data/stdlib.h-data: Likewise.
9290 * conform/data/string.h-data: Likewise.
9291 * conform/data/strings.h-data: Likewise.
9292 * conform/data/stropts.h-data: Likewise.
9293 * conform/data/sys/ipc.h-data: Likewise.
9294 * conform/data/sys/mman.h-data: Likewise.
9295 * conform/data/sys/msg.h-data: Likewise.
9296 * conform/data/sys/resource.h-data: Likewise.
9297 * conform/data/sys/select.h-data: Likewise.
9298 * conform/data/sys/sem.h-data: Likewise.
9299 * conform/data/sys/shm.h-data: Likewise.
9300 * conform/data/sys/socket.h-data: Likewise.
9301 * conform/data/sys/stat.h-data: Likewise.
9302 * conform/data/sys/statvfs.h-data: Likewise.
9303 * conform/data/sys/time.h-data: Likewise.
9304 * conform/data/sys/timeb.h-data: Likewise.
9305 * conform/data/sys/times.h-data: Likewise.
9306 * conform/data/sys/types.h-data: Likewise.
9307 * conform/data/sys/uio.h-data: Likewise.
9308 * conform/data/sys/un.h-data: Likewise.
9309 * conform/data/sys/utsname.h-data: Likewise.
9310 * conform/data/sys/wait.h-data: Likewise.
9311 * conform/data/syslog.h-data: Likewise.
9312 * conform/data/tar.h-data: Likewise.
9313 * conform/data/termios.h-data: Likewise.
9314 * conform/data/utime.h-data: Likewise.
9315 * conform/data/utmpx.h-data: Likewise.
9316 * conform/data/varargs.h-data: Likewise.
9317 * conform/data/wchar.h-data: Likewise.
9318 * conform/data/wctype.h-data: Likewise.
9319 * conform/data/wordexp.h-data: Likewise.
9321 * include/stropts.h: New file.
9322 * include/uchar.h: New file.
9323 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9324 * include/assert.h: Likewise.
9325 * include/ctype.h: Likewise.
9326 * include/dirent.h: Likewise.
9327 * include/dlfcn.h: Likewise.
9328 * include/fcntl.h: Likewise.
9329 * include/fnmatch.h: Likewise.
9330 * include/glob.h: Likewise.
9331 * include/grp.h: Likewise.
9332 * include/libio.h: Likewise.
9333 * include/locale.h: Likewise.
9334 * include/math.h: Likewise.
9335 * include/net/if.h: Likewise.
9336 * include/netdb.h: Likewise.
9337 * include/netinet/in.h: Likewise.
9338 * include/pthread.h: Likewise.
9339 * include/pwd.h: Likewise.
9340 * include/regex.h: Likewise.
9341 * include/sched.h: Likewise.
9342 * include/search.h: Likewise.
9343 * include/setjmp.h: Likewise.
9344 * include/signal.h: Likewise.
9345 * include/stdio.h: Likewise.
9346 * include/stdlib.h: Likewise.
9347 * include/string.h: Likewise.
9348 * include/sys/cdefs.h: Likewise.
9349 * include/sys/mman.h: Likewise.
9350 * include/sys/msg.h: Likewise.
9351 * include/sys/resource.h: Likewise.
9352 * include/sys/select.h: Likewise.
9353 * include/sys/socket.h: Likewise.
9354 * include/sys/stat.h: Likewise.
9355 * include/sys/statvfs.h: Likewise.
9356 * include/sys/time.h: Likewise.
9357 * include/sys/times.h: Likewise.
9358 * include/sys/uio.h: Likewise.
9359 * include/sys/utsname.h: Likewise.
9360 * include/sys/wait.h: Likewise.
9361 * include/termios.h: Likewise.
9362 * include/time.h: Likewise.
9363 * include/ulimit.h: Likewise.
9364 * include/unistd.h: Likewise.
9365 * include/utime.h: Likewise.
9366 * include/wchar.h: Likewise.
9367 * include/wctype.h: Likewise.
9368 * include/wordexp.h: Likewise.
9370 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9372 * time/time.h: TIME_UTC must be a macro.
9373 Make timespec_get available for ISO C11 only as well.
9375 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9377 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9378 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9380 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9382 * configure.in: Use -o not -a in test for unsupported multi-arch.
9384 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9386 * manual/texinfo.tex: Update to version 2012-01-19.16.
9388 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9390 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9392 2012-02-24 Roland McGrath <roland@hack.frob.com>
9395 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9396 * manual/fdl-1.3.texi: New file.
9397 * manual/fdl-1.1.texi: File removed.
9400 * manual/libc.texinfo (FDL_VERSION): New @set.
9401 Use it for mention of FDL in cover text.
9402 (Documentation License): Use it in @include file name.
9404 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9405 Roland McGrath <roland@hack.frob.com>
9408 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9409 not LONG_LONG_MAX and LONG_LONG_MIN.
9410 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9411 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9413 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9415 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9419 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9420 manipulate bits before adding and subtracting TWO23[sx].
9421 * math/libm-test.inc (nearbyint_test): Add more tests.
9423 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9426 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9427 bits before adding and subtracting TWO23[sx].
9428 * math/libm-test.inc (rint_test): Add more tests.
9429 (rint_test_tonearest): Likewise.
9430 (rint_test_towardzero): Likewise.
9431 (rint_test_downward): Likewise.
9432 (rint_test_upward: Likewise.
9434 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9437 * include/stdc-predef.h: New file. Extracted from features.h.
9438 * include/features.h: Include stdc-predef.h.
9439 * Makefile (headers): Add stdc-predef.h.
9440 * CONFORMANCE (Compiler limitations): Update.
9442 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9444 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9446 2012-02-21 David S. Miller <davem@davemloft.net>
9448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9449 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9451 2012-02-20 David S. Miller <davem@davemloft.net>
9453 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9454 using a normal save/restore sequence, rather than allocating a
9455 dummy stack frame just to store a frame pointer and restore.
9456 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9458 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9460 * manual/install.texi: Fix stray word in line-wrapped comment.
9462 2012-02-20 David S. Miller <davem@davemloft.net>
9464 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9465 both binutils and gcc support GOTDATA.
9467 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9468 "rd %pc" in the PIC register setup sequences.
9470 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9471 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9472 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9473 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9474 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9476 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9477 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9479 (SYSCALL_ERROR_HANDLER): Likewise.
9480 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9481 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9483 (SYSCALL_ERROR_HANDLER): Likewise.
9485 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9486 (HAVE_GCC_GOTDATA): New.
9487 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9488 relocation support in both binutils and gcc.
9489 * sysdeps/sparc/elf/configure: Regenerate.
9491 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9492 * sysdeps/sparc/sparc32/elf/configure: Delete.
9493 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9494 * sysdeps/sparc/sparc64/elf/configure: Delete.
9495 * sysdeps/sparc/elf/configure.in: New file.
9496 * sysdeps/sparc/elf/configure: Generate.
9498 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9499 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9500 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9501 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9502 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9504 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9506 * manual/install.texi: Do not mention specific glibc version
9508 * manual/libc.texinfo (VERSION, UPDATED): Update.
9509 (@copying): Use @copyright{} and range of years.
9511 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9514 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9515 [crti.S not in sysdirs] (generated): Do not append.
9516 [crti.S not in sysdirs] (omit-deps): Likewise.
9517 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9518 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9519 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9520 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9521 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9523 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9524 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9525 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9526 * csu/defs.awk: Remove file.
9527 * sysdeps/generic/initfini.c: Likewise.
9528 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9530 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9533 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9535 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9536 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9537 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9538 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9539 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9540 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9542 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9543 (__EPOLL_PACKED): Define to empty if not defined by
9545 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9549 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9551 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9552 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9553 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9554 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9556 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9560 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9562 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9564 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9565 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9566 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9569 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9571 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9572 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9574 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9576 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9577 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9579 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9581 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9584 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9586 * math/w_acos.c: Use non-signaling floating-point comparisons.
9587 * math/w_acosf.c: Likewise.
9588 * math/w_acosh.c: Likewise.
9589 * math/w_acoshf.c: Likewise.
9590 * math/w_acoshl.c: Likewise.
9591 * math/w_acosl.c: Likewise.
9592 * math/w_asin.c: Likewise.
9593 * math/w_asinf.c: Likewise.
9594 * math/w_asinl.c: Likewise.
9595 * math/w_atanh.c: Likewise.
9596 * math/w_atanhf.c: Likewise.
9597 * math/w_atanhl.c: Likewise.
9598 * math/w_exp2.c: Likewise.
9599 * math/w_exp2f.c: Likewise.
9600 * math/w_exp2l.c: Likewise.
9601 * math/w_j0.c: Likewise.
9602 * math/w_j0f.c: Likewise.
9603 * math/w_j0l.c: Likewise.
9604 * math/w_j1.c: Likewise.
9605 * math/w_j1f.c: Likewise.
9606 * math/w_j1l.c: Likewise.
9607 * math/w_jn.c: Likewise.
9608 * math/w_jnf.c: Likewise.
9609 * math/w_log.c: Likewise.
9610 * math/w_log10.c: Likewise.
9611 * math/w_log10f.c: Likewise.
9612 * math/w_log10l.c: Likewise.
9613 * math/w_log2.c: Likewise.
9614 * math/w_log2f.c: Likewise.
9615 * math/w_log2l.c: Likewise.
9616 * math/w_logf.c: Likewise.
9617 * math/w_logl.c: Likewise.
9618 * math/w_sqrt.c: Likewise.
9619 * math/w_sqrtf.c: Likewise.
9620 * math/w_sqrtl.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9623 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9624 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9625 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9627 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9630 * manual/string.texi (strnlen): Use correct parameter name in
9631 equivalent expression.
9633 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9636 * manual/users.texi (seteuid): Consistently use neweuid for
9639 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9642 * manual/nss.texi (Services in the NSS configuration): Correct
9643 list of services in example configuration file.
9645 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9648 * manual/arith.texi: Remove statements about negative zero
9649 behaving identically to zero.
9651 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9654 * manual/install.texi: Do not document upgrading from libc5.
9656 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9659 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9661 2012-02-18 David S. Miller <davem@davemloft.net>
9663 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9664 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9665 %o7 across the call.
9666 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9668 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9671 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9672 * sysdeps/sparc/crtn.S: Likewise.
9674 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9676 * aout/Makefile: Remove.
9678 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9681 * manual/examples/argp-ex1.c (main): Format definition in GNU
9683 * manual/examples/argp-ex2.c (main): Likewise.
9684 * manual/examples/argp-ex3.c (main): Likewise.
9685 * manual/examples/argp-ex4.c (main): Likewise.
9686 * manual/examples/longopt.c (main): Use new-style prototype
9688 * manual/examples/strncat.c (main): Specify return type and use
9689 (void) for arguments.
9690 * manual/examples/subopt.c (main): Use char **argv argument.
9692 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9695 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9698 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9701 * manual/string.texi (strchr): Change when strchrnul is
9704 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9707 * manual/locale.texi (setlocale): Document LOCPATH.
9709 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9712 * manual/process.texi (execle): Move @dots{} before last argument.
9714 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9717 * manual/charset.texi (Generic Charset Conversion): Fix typo
9718 (LC_TYPE -> LC_CTYPE).
9720 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9723 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9724 (scalbnf): Likewise.
9725 (scalbnl): Likewise.
9726 (scalbln): Likewise.
9727 (scalblnf): Likewise.
9728 (scalblnl): Likewise.
9729 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9733 * manual/filesys.texi (telldir): Use braces around return type.
9734 * manual/llio.texi (mmap): Add space after comma.
9736 * manual/math.texi (jn): Use @var{} on parameter names.
9742 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9744 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9746 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9747 (sched_get_priority_max): Likewise.
9748 * manual/signal.texi (sigvec): Add space after comma.
9749 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9751 (if_indextoname): Likewise.
9752 (if_freenameindex): Likewise.
9753 (sendto): Use ',' instead of '.' in prototype.
9754 * manual/startup.texi (syscall): Use @dots{} instead of literal
9756 * manual/stdio.texi (__fpending): Separate initial words of
9757 paragraph from @deftypefun line.
9758 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9760 (vsyslog): Use @var{} on parameter names.
9761 * manual/terminal.texi (stty): Use @var{} on parameter names.
9762 * manual/users.texi (getutmp): Use @var{} on parameter names.
9763 (getutmpx): Likewise.
9765 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9768 * manual/stdio.texi (fopen): Fix typos in description of
9771 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9774 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9775 get clock_id definition.
9777 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9780 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9781 (madvise): Cast every argument to void on its own.
9783 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9786 * manual/startup.texi (Exit Status): Fix typo.
9788 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9791 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9792 * manual/examples/argp-ex2.c: Likewise.
9793 * manual/examples/argp-ex3.c: Likewise.
9795 2012-02-16 Richard Henderson <rth@redhat.com>
9797 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9798 * sysdeps/s390/s390-32/initfini.c: Remove.
9799 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9800 * sysdeps/s390/s390-64/initfini.c: Remove.
9802 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9804 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9805 compiler output for sysdeps/generic/initfini.c.
9806 * sysdeps/sh/elf/initfini.c: Remove file.
9808 2012-02-16 David S. Miller <davem@davemloft.net>
9811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9813 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9814 * sysdeps/sparc/crti.S: New file.
9815 * sysdeps/sparc/crtn.S: New file.
9816 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9817 * sysdeps/sparc/sparc64/Makefile: Likewise.
9819 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9822 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9824 2012-02-15 Roland McGrath <roland@hack.frob.com>
9827 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9829 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9830 (write, read, close): Likewise.
9831 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9833 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9835 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9836 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9837 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9838 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9840 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9844 2012-02-14 Marek Polacek <polacek@redhat.com>
9846 * sysdeps/x86_64/crti.S: New file.
9847 * sysdeps/x86_64/crtn.S: New file.
9848 * sysdeps/x86_64/elf/initfini.c: Remove file.
9850 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9852 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9853 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9854 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9855 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9857 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9861 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9863 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9864 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9865 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9866 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9868 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9872 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9874 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9875 __feraiseexcept instead of feraiseexcept.
9877 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9878 nanosleep invocations.
9879 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9880 strings, and add error checking for a nanosleep invocations.
9882 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9884 Replace FSF snail mail address with URLs, as per GNU coding standards.
9885 Most of the snail mail addresses were wrong anyway, and omitting
9886 them makes the source code easier to maintain. Almost all of the
9887 changes are to license notices and to locale LC_IDENTIFICATION
9888 addresses, except for this one:
9889 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9890 not its snail mail address.
9892 2012-02-09 Richard Henderson <rth@twiddle.net>
9894 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9895 of kernel-features.h.
9897 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9899 2012-02-08 Marek Polacek <polacek@redhat.com>
9901 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9902 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9903 * sysdeps/gnu/_G_config.h: Likewise.
9904 * sysdeps/generic/_G_config.h: Likewise.
9906 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9908 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9912 * sysdeps/powerpc/powerpc32/crti.S: New file.
9913 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9914 * sysdeps/powerpc/powerpc64/crti.S: New file.
9915 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9917 * Makeconfig (have-initfini): Don't set.
9918 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9919 * configure.in (nopic_initfini): Don't substitute.
9920 * config.h.in (HAVE_INITFINI): Don't #undef.
9921 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9922 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9924 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9926 Support crti.S and crtn.S provided directly by architectures.
9927 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9928 [crti.S in sysdirs] (omit-deps): Likewise.
9929 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9930 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9931 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9932 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9933 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9934 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9935 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9936 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9937 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9938 compiler output for sysdeps/generic/initfini.c.
9939 * sysdeps/i386/elf/Makefile: Remove file.
9940 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9942 2012-02-07 Marek Polacek <polacek@redhat.com>
9944 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9945 * sysdeps/gnu/_G_config.h: Likewise.
9946 * sysdeps/mach/hurd/_G_config.h: Likewise.
9948 2012-02-07 Marek Polacek <polacek@redhat.com>
9950 * math/Makefile (tests): Add tst-CMPLX2.
9951 * math/tst-CMPLX2.c: New file.
9953 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9955 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9957 * math/libm-test.inc (jn_test): Add missing L suffix.
9959 2012-02-06 Marek Polacek <polacek@redhat.com>
9961 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9962 * sysdeps/i386/fpu/e_powf.S: Likewise.
9963 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9964 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9965 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9966 * sysdeps/i386/fpu/e_pow.S: Likewise.
9967 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9968 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9969 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9970 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9971 * sysdeps/i386/fpu/e_log2.S: Likewise.
9972 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9973 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9974 * sysdeps/i386/fpu/e_powl.S: Likewise.
9975 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9976 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9977 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9978 * sysdeps/i386/fpu/e_logl.S: Likewise.
9979 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9980 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9981 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9982 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9983 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9984 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9985 * sysdeps/i386/fpu/e_log.S: Likewise.
9986 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9987 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9988 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9989 * sysdeps/i386/fpu/e_logf.S: Likewise.
9990 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9991 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9992 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9993 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9994 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9995 * sysdeps/i386/fpu/e_log10.S: Likewise.
9996 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9997 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9998 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9999 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10000 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10001 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10002 * sysdeps/i386/asm-syntax.h: Likewise.
10003 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10004 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10005 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10006 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10007 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10008 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10009 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10010 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10011 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10012 * sysdeps/powerpc/sysdep.h: Likewise.
10013 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10014 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10016 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10019 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10021 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10023 * sysdeps/i386/sysdep.h: Include <features.h>.
10024 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10027 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10029 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10031 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10034 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10036 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10037 (SETUP_PIC_REG): Use GET_PC_THUNK.
10038 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10041 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10043 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10044 for non-PIC compilation.
10045 (SETUP_PIC_REG): Add .p2align directive.
10046 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10047 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10048 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10049 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10050 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10051 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10052 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10053 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10054 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10055 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10056 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10057 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10058 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10059 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10060 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10061 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10062 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10063 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10064 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10065 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10066 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10067 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10068 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10069 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10070 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10072 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10073 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10074 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10075 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10076 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10077 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10078 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10079 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10080 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10081 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10082 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10083 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10084 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10085 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10086 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10088 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10090 * math/tst-CMPLX.c: Include <stdio.h>.
10092 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10094 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10096 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10097 * sysdeps/sparc/bits/mathdef.h: Likewise.
10099 2012-01-31 Marek Polacek <polacek@redhat.com>
10101 * libio/libio.h: Don't define _PARAMS.
10102 * locale/programs/config.h: Don't define PARAMS.
10103 * stdlib/strtol_l.c: Likewise.
10104 (__strtol_l): Remove PARAMS from the prototype.
10106 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10108 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10109 names. Just use the correct names. Remove unnecessary wrapper
10111 * malloc/arena.c: Likewise.
10112 * malloc/hooks.c: Likewise.
10114 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10115 ARENA_TEST says not to. Simplify test for creation of a new arena.
10116 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10118 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10120 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10122 (update_get_addr): New function.
10123 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10124 GET_ADDR_MODULE parameter.
10126 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10128 * crypt/cert.c: Remove __STDC__ conditionals.
10129 * crypt/crypt-entry.c: Likewise.
10130 * crypt/crypt_util.c: Likewise.
10131 * libio/filedoalloc.c: Likewise.
10132 * libio/fileops.c: Likewise.
10133 * libio/genops.c: Likewise.
10134 * libio/iofclose.c: Likewise.
10135 * libio/iofdopen.c: Likewise.
10136 * libio/iofopen.c: Likewise.
10137 * libio/iofopen64.c: Likewise.
10138 * libio/iogetdelim.c: Likewise.
10139 * libio/iopopen.c: Likewise.
10140 * libio/obprintf.c: Likewise.
10141 * libio/oldfileops.c: Likewise.
10142 * libio/oldiofclose.c: Likewise.
10143 * libio/oldiofdopen.c: Likewise.
10144 * libio/oldiofopen.c: Likewise.
10145 * libio/oldiopopen.c: Likewise.
10146 * libio/wfiledoalloc.c: Likewise.
10147 * libio/wgenops.c: Likewise.
10148 * locale/programs/xmalloc.c: Likewise.
10149 * misc/syslog.c: Likewise.
10150 * stdio-common/xbug.c: Likewise.
10151 * string/memchr.c: Likewise.
10152 * string/memcmp.c: Likewise.
10153 * string/memrchr.c: Likewise.
10154 * string/rawmemchr.c: Likewise.
10155 * sysdeps/posix/getcwd.c: Likewise.
10156 * time/strftime_l.c: Likewise.
10158 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10160 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10161 * config.make.in (config-cflags-sse2avx): Define.
10162 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10165 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10167 * scripts/config.guess: Update from upstream config git repository.
10168 * scripts/config.sub: Likewise.
10170 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10172 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10174 (R_TILEPRO_*, R_TILEGX_*): New macros.
10176 * scripts/firstversions.awk: Fix bug in version range handling.
10178 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10180 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10182 * include/sys/epoll.h: New file.
10183 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10186 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10188 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10189 Avoid unnecessary __WORDSIZE == 64 test.
10190 (fmaxf): Use VEX format if possible.
10195 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10196 * math/math_private.h: Remove libc_fegetround* and
10198 * sysdeps/i386/configure.in: Check for -msse2avx.
10199 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10200 also if SSE2AVX is defined.
10201 Remove libc_fegetround* and libc_fesetround*.
10202 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10203 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10204 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10206 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10207 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10208 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10209 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10210 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10212 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10214 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10216 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10218 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10220 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10223 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10225 * Makeconfig (libm): Define.
10226 * elf/Makefile: Add rules to build and run tst-relsort1.
10227 * elf/tst-relsort1.c: New file.
10228 * elf/tst-relsort1mod1.c: New file.
10229 * elf/tst-relsort1mod2.c: New file.
10231 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10233 * math/s_ldexp.c: Remove __STDC__ conditionals.
10234 * math/s_ldexpf.c: Likewise.
10235 * math/s_ldexpl.c: Likewise.
10236 * math/s_nextafter.c: Likewise.
10237 * math/s_nexttowardf.c: Likewise.
10238 * math/s_significand.c: Likewise.
10239 * math/s_significandf.c: Likewise.
10240 * math/s_significandl.c: Likewise.
10241 * math/w_jnl.c: Likewise.
10242 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10243 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10244 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10245 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10246 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10250 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10259 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10261 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10262 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10263 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10264 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10266 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10267 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10268 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10269 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10270 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10271 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10272 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10273 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10274 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10275 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10276 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10277 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10278 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10279 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10280 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10281 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10282 * sysdeps/ieee754/k_standard.c: Likewise.
10283 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10285 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10287 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10298 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10299 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10332 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10337 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10340 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10344 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10349 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10350 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10351 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10356 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10357 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10362 * sysdeps/ieee754/s_matherr.c: Likewise.
10363 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10364 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10365 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10366 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10368 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10370 * crypt/md5.h: Remove __STDC__ conditionals.
10371 * libio/libioP.h: Likewise.
10372 * locale/programs/config.h: Likewise.
10373 * sysdeps/generic/sysdep.h: Likewise.
10374 * sysdeps/i386/asm-syntax.h: Likewise.
10375 * sysdeps/s390/asm-syntax.h: Likewise.
10376 * sysdeps/unix/sysdep.h: Likewise.
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10380 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10382 * libio/libio.h: Remove __STDC__ conditionals.
10383 * malloc/obstack.h: Likewise.
10384 * math/complex.h: Likewise.
10385 * math/math.h: Likewise.
10386 * sysdeps/generic/_G_config.h: Likewise.
10387 * sysdeps/gnu/_G_config.h: Likewise.
10388 * sysdeps/mach/hurd/_G_config.h: Likewise.
10389 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10390 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10391 * sysdeps/sparc/bits/mathdef.h: Likewise.
10393 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10396 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10397 Clean up HAS_* macros.
10398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10399 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10401 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10403 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10404 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10405 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10406 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10407 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10409 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10411 * elf/tst-unique3.cc (gets): Remove declaration.
10412 * elf/tst-unique3lib.cc (gets): Likewise.
10413 * elf/tst-unique3lib2.cc (gets): Likewise.
10414 * elf/tst-unique4.cc (gets): Likewise.
10416 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10418 * include/stdio.h: Add C++ protection. Add gets declarations and
10420 * debug/tst-chk1.c: Don't declare gets here.
10421 * stdio-common/tst-gets.c: Likewise.
10423 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10425 * posix/glob: Remove directory.
10427 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10429 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10431 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10433 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10434 of the non-standard EPFNOSUPPORT.
10436 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10438 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10439 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10440 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10442 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10444 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10446 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10448 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10450 * nscd/grpcache.c (cache_addgr): Likewise.
10451 * nscd/hstcache.c (cache_addhst): Likewise.
10452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10453 * nscd/pwdcache.c (cache_addpw): Likewise.
10454 * nscd/servicescache.c (cache_addserv): Likewise.
10456 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10458 * malloc/malloc.c: Various cleanups.
10459 * malloc/hooks.c: Likewise.
10461 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10462 * stdlib/bug-fmtmsg1.c: New file.
10464 * stdlib/fmtmsg.c (init): Add missing unlock.
10465 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10467 2012-01-12 Marek Polacek <polacek@redhat.com>
10469 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10472 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10474 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10475 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10476 macro to ensure uniqueness of label name.
10477 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10478 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10480 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10482 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10484 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10485 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10486 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10489 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10491 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10493 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10494 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10495 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10497 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10499 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10500 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10501 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10504 * math/bits/math-finite.h: Add ldexp support.
10506 2012-01-10 Marek Polacek <polacek@redhat.com>
10508 * locale/programs/localedef.h (show_archive_content): Add noreturn
10511 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10513 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10515 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10517 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10519 * io/Makefile (headers): Add bits/poll2.h.
10521 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10524 typo #include statement.
10526 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10528 * include/sys/cdefs.h: Define __attribute_alloc_size.
10529 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10530 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10531 * elf/pldd.c: Likewise.
10532 * iconv/iconv_charmap.c: Likewise.
10533 * iconv/iconvconfig.c: Likewise.
10534 * iconv/strtab.c: Likewise.
10535 * locale/programs/locale.c: Likewise.
10536 * locale/programs/localedef.h: Likewise.
10537 * locale/programs/simple-hash.c: Likewise.
10538 * nscd/nscd.h: Likewise.
10539 * nss/makedb.c: Likewise.
10540 * sysdeps/generic/ldconfig.h: Likewise.
10541 * locale/programs/localedef.c: Remove xmalloc prototype.
10542 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10544 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10546 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10549 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10551 * math/Makefile (tests): Add tst-CMPLX.
10552 * math/tst-CMPLX.c: New file.
10554 * math/complex.h (CMPLXL): Fix typo.
10556 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10557 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10559 * debug/tst-chk1.c: Add poll and ppoll tests.
10560 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10561 * include/sys/poll.h: Add hidden proto for ppoll.
10562 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10563 * sysdeps/mach/hurd/ppoll.c: Likewise.
10564 * io/ppoll.c: Likewise.
10565 * debug/poll_chk.c: New file.
10566 * debug/ppoll_chk.c: New file.
10567 * include/bits/poll2.h: New file.
10568 * io/bits/poll2.h: New file.
10571 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10573 * configure.in: static is always set to yes. Remove.
10574 * config.make.in: Don't set build-static.
10575 * Makeconfig: Remove use of build-static.
10576 * dlfcn/Makefile: Likewise.
10577 * elf/Makefile: Likewise.
10578 * math/Makefile: Likewise.
10579 * misc/Makefile: Likewise.
10580 * nptl/Makefile: Likewise.
10581 * sysdeps/mach/hurd/Makefile: Likewise.
10583 * configure.in: PWD_P is not used anymore.
10584 * config.make.in: Remove PWD_P entry.
10586 * configure.in: Remove last remnants of RANLIB.
10587 No need to check for signed size_t anymore.
10588 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10590 Remove __builtin_expect test because we require at least gcc 3.4.
10591 * aclocal.m4: Likewise.
10593 * wcsmbs/mbrtoc16.c: Implement using towc function.
10594 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10595 * wcsmbs/wcsmbsload.c: Likewise.
10596 * iconv/gconv_simple.c: Likewise.
10597 * iconv/gconv_int.h: Likewise.
10598 * iconv/gconv_builtin.h: Likewise.
10599 * iconv/iconv_prog.c: Remove CHAR16 handling.
10601 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10603 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10605 * configure.in: Remove --with-elf and --enable-bounded options.
10606 Dont set base_machine for ia64. More non-ELF conditions removed.
10607 Remove testing and setting of leading underscore information.
10608 * config.make.in (build-bounded): Set to no.
10609 * config.h.in: Remove NO_UNDERSCORES entry.
10610 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10612 * csu/start.c: Remove !NO_UNDERSCORE code.
10613 * locale/localeinfo.h: Likewise.
10614 * sysdeps/generic/machine-gmon.h: Likewise.
10615 * sysdeps/generic/sysdep.h: Likewise.
10616 * sysdeps/i386/sysdep.h: Likewise.
10617 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10618 * sysdeps/mach/sysdep.h: Likewise.
10619 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10620 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10621 * sysdeps/sh/sysdep.h: Likewise.
10622 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10623 * sysdeps/unix/i386/sysdep.S: Likewise.
10624 * sysdeps/unix/sparc/start.c: Likewise.
10625 * sysdeps/unix/sparc/sysdep.S: Likewise.
10626 * sysdeps/unix/sparc/sysdep.h: Likewise.
10627 * sysdeps/unix/start.c: Likewise.
10628 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10629 * sysdeps/x86_64/sysdep.h: Likewise.
10631 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10634 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10636 * argp/argp-fmtstream.h: Use const instead __const.
10637 * argp/argp.h: Likewise.
10638 * assert/assert.h: Likewise.
10639 * bits/fenv.h: Likewise.
10640 * bits/sched.h: Likewise.
10641 * bits/sigset.h: Likewise.
10642 * bits/sigthread.h: Likewise.
10643 * catgets/nl_types.h: Likewise.
10644 * conform/data/pthread.h-data: Likewise.
10645 * crypt/crypt-private.h: Likewise.
10646 * crypt/crypt.h: Likewise.
10647 * crypt/crypt_util.c: Likewise.
10648 * ctype/ctype.h: Likewise.
10649 * debug/execinfo.h: Likewise.
10650 * debug/mbsnrtowcs_chk.c: Likewise.
10651 * debug/mbsrtowcs_chk.c: Likewise.
10652 * debug/wcsnrtombs_chk.c: Likewise.
10653 * debug/wcsrtombs_chk.c: Likewise.
10654 * debug/wcstombs_chk.c: Likewise.
10655 * dirent/dirent.h: Likewise.
10656 * dlfcn/dlfcn.h: Likewise.
10657 * elf/neededtest4.c: Likewise.
10658 * grp/grp.h: Likewise.
10659 * gshadow/gshadow.h: Likewise.
10660 * iconv/gconv.h: Likewise.
10661 * iconv/gconv_int.h: Likewise.
10662 * iconv/gconv_simple.c: Likewise.
10663 * iconv/iconv.h: Likewise.
10664 * iconv/loop.c: Likewise.
10665 * iconv/skeleton.c: Likewise.
10666 * include/aio.h: Likewise.
10667 * include/aliases.h: Likewise.
10668 * include/argz.h: Likewise.
10669 * include/arpa/inet.h: Likewise.
10670 * include/assert.h: Likewise.
10671 * include/dirent.h: Likewise.
10672 * include/dlfcn.h: Likewise.
10673 * include/execinfo.h: Likewise.
10674 * include/fcntl.h: Likewise.
10675 * include/fenv.h: Likewise.
10676 * include/glob.h: Likewise.
10677 * include/grp.h: Likewise.
10678 * include/libintl.h: Likewise.
10679 * include/mntent.h: Likewise.
10680 * include/netdb.h: Likewise.
10681 * include/pwd.h: Likewise.
10682 * include/rpc/netdb.h: Likewise.
10683 * include/sched.h: Likewise.
10684 * include/search.h: Likewise.
10685 * include/shadow.h: Likewise.
10686 * include/signal.h: Likewise.
10687 * include/stdio.h: Likewise.
10688 * include/stdlib.h: Likewise.
10689 * include/string.h: Likewise.
10690 * include/sys/socket.h: Likewise.
10691 * include/sys/stat.h: Likewise.
10692 * include/sys/statfs.h: Likewise.
10693 * include/sys/statvfs.h: Likewise.
10694 * include/sys/syslog.h: Likewise.
10695 * include/sys/time.h: Likewise.
10696 * include/sys/uio.h: Likewise.
10697 * include/time.h: Likewise.
10698 * include/unistd.h: Likewise.
10699 * include/utmp.h: Likewise.
10700 * include/wchar.h: Likewise.
10701 * include/wctype.h: Likewise.
10702 * inet/aliases.h: Likewise.
10703 * inet/arpa/inet.h: Likewise.
10704 * inet/netinet/ether.h: Likewise.
10705 * inet/netinet/in.h: Likewise.
10706 * intl/libintl.h: Likewise.
10707 * io/bits/fcntl2.h: Likewise.
10708 * io/fcntl.h: Likewise.
10709 * io/ftw.h: Likewise.
10710 * io/sys/poll.h: Likewise.
10711 * io/sys/stat.h: Likewise.
10712 * io/sys/statfs.h: Likewise.
10713 * io/sys/statvfs.h: Likewise.
10714 * io/utime.h: Likewise.
10715 * libio/bits/stdio.h: Likewise.
10716 * libio/bits/stdio2.h: Likewise.
10717 * libio/libio.h: Likewise.
10718 * libio/libioP.h: Likewise.
10719 * libio/stdio.h: Likewise.
10720 * locale/lc-ctype.c: Likewise.
10721 * locale/locale.h: Likewise.
10722 * login/utmp.h: Likewise.
10723 * malloc/arena.c: Likewise.
10724 * malloc/malloc.c: Likewise.
10725 * malloc/malloc.h: Likewise.
10726 * malloc/mcheck.c: Likewise.
10727 * malloc/mtrace.c: Likewise.
10728 * math/bits/mathcalls.h: Likewise.
10729 * math/fenv.h: Likewise.
10730 * math/math_private.h: Likewise.
10731 * misc/bits/error.h: Likewise.
10732 * misc/bits/syslog.h: Likewise.
10733 * misc/err.h: Likewise.
10734 * misc/error.h: Likewise.
10735 * misc/fstab.h: Likewise.
10736 * misc/mntent.h: Likewise.
10737 * misc/regexp.h: Likewise.
10738 * misc/search.h: Likewise.
10739 * misc/sgtty.h: Likewise.
10740 * misc/sys/mman.h: Likewise.
10741 * misc/sys/syslog.h: Likewise.
10742 * misc/sys/uio.h: Likewise.
10743 * misc/sys/xattr.h: Likewise.
10744 * misc/ttyent.h: Likewise.
10745 * nis/rpcsvc/ypclnt.h: Likewise.
10746 * nss/nss.h: Likewise.
10747 * posix/bits/unistd.h: Likewise.
10748 * posix/fnmatch.h: Likewise.
10749 * posix/glob.h: Likewise.
10750 * posix/sched.h: Likewise.
10751 * posix/spawn.h: Likewise.
10752 * posix/sys/wait.h: Likewise.
10753 * posix/unistd.h: Likewise.
10754 * posix/wordexp.h: Likewise.
10755 * pwd/pwd.h: Likewise.
10756 * resolv/netdb.h: Likewise.
10757 * resource/sys/resource.h: Likewise.
10758 * rt/aio.h: Likewise.
10759 * rt/bits/mqueue2.h: Likewise.
10760 * rt/mqueue.h: Likewise.
10761 * shadow/shadow.h: Likewise.
10762 * signal/signal.h: Likewise.
10763 * socket/send.c: Likewise.
10764 * socket/sendto.c: Likewise.
10765 * socket/sys/socket.h: Likewise.
10766 * stdio-common/printf.h: Likewise.
10767 * stdlib/bits/stdlib.h: Likewise.
10768 * stdlib/fmtmsg.h: Likewise.
10769 * stdlib/monetary.h: Likewise.
10770 * stdlib/stdlib.h: Likewise.
10771 * stdlib/ucontext.h: Likewise.
10772 * streams/stropts.h: Likewise.
10773 * string/argz.h: Likewise.
10774 * string/bits/string2.h: Likewise.
10775 * string/string.h: Likewise.
10776 * string/strings.h: Likewise.
10777 * sunrpc/rpc/auth.h: Likewise.
10778 * sunrpc/rpc/auth_des.h: Likewise.
10779 * sunrpc/rpc/clnt.h: Likewise.
10780 * sunrpc/rpc/netdb.h: Likewise.
10781 * sunrpc/rpc/pmap_clnt.h: Likewise.
10782 * sunrpc/rpc/xdr.h: Likewise.
10783 * sysdeps/generic/inttypes.h: Likewise.
10784 * sysdeps/generic/net/if.h: Likewise.
10785 * sysdeps/generic/sys/swap.h: Likewise.
10786 * sysdeps/gnu/net/if.h: Likewise.
10787 * sysdeps/gnu/utmpx.h: Likewise.
10788 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10789 * sysdeps/i386/i486/bits/string.h: Likewise.
10790 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10791 * sysdeps/s390/bits/string.h: Likewise.
10792 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10793 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10794 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10795 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10796 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10797 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10798 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10799 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10800 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10801 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10802 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10803 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10804 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10805 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10806 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10807 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10808 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10810 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10811 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10812 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10813 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10814 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10815 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10816 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10817 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10818 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10819 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10820 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10821 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10822 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10823 * sysvipc/sys/ipc.h: Likewise.
10824 * sysvipc/sys/msg.h: Likewise.
10825 * sysvipc/sys/sem.h: Likewise.
10826 * sysvipc/sys/shm.h: Likewise.
10827 * termios/termios.h: Likewise.
10828 * time/sys/time.h: Likewise.
10829 * time/time.h: Likewise.
10830 * wcsmbs/bits/wchar2.h: Likewise.
10831 * wcsmbs/uchar.h: Likewise.
10832 * wcsmbs/wchar.h: Likewise.
10833 * wctype/wctype.h: Likewise.
10836 * Makeconfig: Remove all but ELF support including AIX support.
10837 * Makerules: Likewise.
10838 * config.h.in: Likewise.
10839 * config.make.in: Likewise.
10840 * configure: Likewise.
10841 * configure.in: Likewise.
10842 * csu/Makefile: Likewise.
10843 * csu/version.c: Likewise.
10844 * debug/Makefile: Likewise.
10845 * dlfcn/Makefile: Likewise.
10846 * elf/Makefile: Likewise.
10847 * extra-lib.mk: Likewise.
10848 * iconv/Makefile: Likewise.
10849 * include/libc-symbols.h: Likewise.
10850 * include/shlib-compat.h: Likewise.
10851 * resolv/Makefile: Likewise.
10852 * resolv/res_libc.c: Likewise.
10853 * rt/Makefile: Likewise.
10854 * sysdeps/i386/asm-syntax.h: Likewise.
10855 * sysdeps/i386/sysdep.h: Likewise.
10856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10857 * sysdeps/mach/sysdep.h: Likewise.
10858 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10859 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10860 * sysdeps/s390/asm-syntax.h: Likewise.
10861 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10862 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10863 * sysdeps/sh/sysdep.h: Likewise.
10864 * sysdeps/unix/sparc/sysdep.h: Likewise.
10865 * sysdeps/wordsize-32/divdi3.c: Likewise.
10866 * sysdeps/x86_64/sysdep.h: Likewise.
10868 * argp/Versions: Remove _argp_unlock_xxx.
10871 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10872 * abilist/libBrokenLocale.abilist: Likewise.
10873 * abilist/libanl.abilist: Likewise.
10874 * abilist/libc.abilist: Likewise.
10875 * abilist/libcrypt.abilist: Likewise.
10876 * abilist/libdl.abilist: Likewise.
10877 * abilist/libm.abilist: Likewise.
10878 * abilist/libnsl.abilist: Likewise.
10879 * abilist/libpthread.abilist: Likewise.
10880 * abilist/libresolv.abilist: Likewise.
10881 * abilist/librt.abilist: Likewise.
10882 * abilist/libthread_db.abilist: Likewise.
10883 * abilist/libutil.abilist: Likewise.
10884 * abilist/libnss_db.abilist: New file.
10886 * scripts/abilist.awk: Add support for indirect functions.
10888 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10890 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10892 * shlib-versions: Remove entries for ports architectures.
10894 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10896 * elf/stackguard-macros.h: Remove support for IA-64.
10897 * elf/tst-auditmod1.c: Likewise.
10898 * sysdeps/generic/ldsodefs.h: Likewise.
10900 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10901 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10905 * configure.in: Remove --enable-omitfp support.
10907 * config.make.in: Likewise.
10908 * Makeconfig: Likewise.
10909 * manual/install.texi: Likewise.
10911 In case anyone cares, the IA-64 architecture could move to ports.
10912 * sysdeps/ia64/*: Removed.
10913 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10914 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10917 * configure.in: Remove entries for unsupported architectures.
10920 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10921 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10923 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10924 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10925 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10926 fall back to using wcrtomb.
10927 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10928 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10930 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10931 * wcsmbs/tst-c16c32-1.c: New file.
10933 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10936 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10938 * elf/tst-unique3.cc: Add explicit declaration of gets.
10939 * elf/tst-unique3lib.cc: Likewise.
10940 * elf/tst-unique3lib2.cc: Likewise.
10941 * elf/tst-unique4.cc: Likewise.
10943 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10945 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10948 * assert/assert.h (static_assert): Don't define for C++.
10949 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10950 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10952 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10954 * iconv/loop.c (single loop): Fix assertion in storing of
10957 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10959 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10961 * posix/getconf.c: Update copyright year.
10962 * nss/getent.c: Likewise.
10963 * nss/makedb.c: Likewise.
10964 * iconv/iconvconfig.c: Likewise.
10965 * iconv/iconv_prog.c: Likewise.
10966 * elf/ldconfig.c: Likewise.
10967 * elf/pldd.c: Likewise.
10968 * elf/sotruss.ksh: Likewise.
10969 * catgets/gencat.c: Likewise.
10970 * csu/version.c: Likewise.
10971 * elf/ldd.bash.in: Likewise.
10972 * elf/sprof.c (print_version): Likewise.
10973 * locale/programs/locale.c: Likewise.
10974 * locale/programs/localedef.c: Likewise.
10975 * login/programs/pt_chown.c: Likewise.
10976 * nscd/nscd.c (print_version): Likewise.
10977 * debug/xtrace.sh: Likewise.
10978 * malloc/memusage.sh: Likewise.
10979 * malloc/mtrace.pl: Likewise.
10980 * debug/catchsegv.sh: Likewise.
10982 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10984 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10987 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10990 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10991 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10993 * iconv/gconv_int.h: Likewise.
10994 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10995 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10996 from libc for GLIBC_2.16.
10997 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10998 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10999 * wcsmbs/uchar.h: Really define mbstate_t.
11000 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11001 * wcsmbs/c16rtomb.c: New file.
11002 * wcsmbs/mbrtoc16.c: New file.
11003 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11004 for C/POSIX locale.
11005 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11006 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11008 * wcsmbs/wchar.h: Add missing __restrict.
11010 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11013 * time/Makefile (routines): Add timespec_get.
11014 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11015 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11016 timespec for ISO C11.
11017 * time/timespec_get.c: New file.
11018 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11019 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11022 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11023 * stdlib/stdlib.h: Declare aligned_alloc.
11024 * Versions.def: Add GLIBC_2.16 for libc.
11025 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11028 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11031 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11035 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11038 * assert/assert.h (static_assert): Define.
11040 * version.h: Update for 2.16 development version.
11043 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11046 * version.h (RELEASE): Bump for 2.15 release.
11047 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11049 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11050 Patch by Marek Polacek <mpolacek@redhat.com>.
11052 * bits/byteswap.h: Protect long long constants with __extension__.
11053 * sysdeps/i386/bits/byteswap.h: Likewise.
11054 * sysdeps/ia64/bits/byteswap.h: Likewise.
11055 * sysdeps/s390/bits/byteswap.h: Likewise.
11056 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11058 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11061 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11062 destination buffer.
11063 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11065 2011-12-23 Marek Polacek <polacek@redhat.com>
11067 * elf/dl-addr.c (determine_info): Add inline keyword.
11068 * elf/tst-auditmod4b.c (check_avx): Likewise.
11069 * elf/tst-auditmod6b.c (check_avx): Likewise.
11070 * elf/tst-auditmod6c.c (check_avx): Likewise.
11071 * elf/tst-auditmod7b.c (check_avx): Likewise.
11073 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11075 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11078 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11081 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11082 processing for last bytes.
11084 2011-08-06 Bruno Haible <bruno@clisp.org>
11087 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11088 U+0385, not to U+1FEE.
11091 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11092 entry for U+00A5 U+0301.
11094 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11097 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11098 buffer for the output is too small.
11100 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11104 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11105 SSE flags if possible.
11107 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11111 processing for last bytes.
11113 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11115 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11116 (syscall-list-default-options, syscall-list-default-condition)
11117 (syscall-list-includes): Define.
11118 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11119 list of ABIs and options and #if conditions for each ABI. Do not
11120 handle common syscalls between ABIs specially.
11121 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11123 (syscall-list-variants, syscall-list-32bit-options)
11124 (syscall-list-32bit-condition, syscall-list-64bit-options)
11125 (syscall-list-64bit-condition): Define.
11126 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11127 (syscall-list-variants, syscall-list-32bit-options)
11128 (syscall-list-32bit-condition, syscall-list-64bit-options)
11129 (syscall-list-64bit-condition): Define.
11130 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11132 (syscall-list-variants, syscall-list-32bit-options)
11133 (syscall-list-32bit-condition, syscall-list-64bit-options)
11134 (syscall-list-64bit-condition): Define.
11135 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11137 (syscall-list-variants, syscall-list-32bit-options)
11138 (syscall-list-32bit-condition, syscall-list-64bit-options)
11139 (syscall-list-64bit-condition): Define.
11141 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11143 * locale/iso-639.def: Add brx entry.
11146 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11147 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11149 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11150 __feraiseexcept_renamed.
11152 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11155 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11156 EPOLLET with unsigned values.
11157 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11158 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11160 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11161 to large cancellation.
11162 * math/s_cacoshf.c: Likewise.
11163 * math/s_cacoshl.c: Likewise.
11165 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11169 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11170 * math/s_cacoshf.c: Likewise.
11171 * math/s_cacoshl.c: Likewise.
11173 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11176 * iconv/gconv.h: Define __GCONV_SWAP.
11177 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11178 * iconvdata/utf-16.c: Likewise.
11179 * iconvdata/utf-32.c: Likewise.
11181 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11184 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11185 numerator after shifting it by one limb.
11187 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11189 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11190 under [__USE_EXTERN_INLINES].
11192 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11195 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11197 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11199 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11200 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11202 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11203 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11204 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11205 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11206 for strncasecmp/strncasecmp_l compilation.
11207 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11208 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11210 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11213 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11216 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11219 * time/tzfile.c (__tzfile_read): Check values from file header.
11221 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11223 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11224 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11225 * powerpc/powerpc32/dl-start.S: Likewise.
11226 * powerpc/powerpc32/elf/start.S: Likewise.
11227 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11228 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11229 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11230 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11231 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11232 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11233 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11234 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11235 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11236 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11237 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11238 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11239 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11240 * powerpc/powerpc32/memset.S: Likewise.
11241 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11242 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11243 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11244 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11245 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11246 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11247 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11248 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11249 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11250 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11251 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11252 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11253 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11255 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11257 * math/libm-test.inc: Added more nearbyint tests.
11258 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11259 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11260 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11263 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11265 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11268 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11270 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11271 Add wcscpy-ssse3 wcscpy-c.
11272 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11273 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11274 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11275 * sysdeps/x86_64/wcschr.S: New file.
11276 * sysdeps/x86_64/wcsrchr.S: New file.
11277 * string/test-strcmp.c: Remove checking of wcscmp function for
11279 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11280 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11281 wcsrchr-sse2 wcsrchr-c.
11282 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11283 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11284 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11285 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11286 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11287 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11288 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11289 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11290 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11291 * wcsmbc/wcschr.c (WCSCHR): New macro.
11293 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11295 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11296 * wcsmbs/test-wcsrchr.c: New file.
11297 * string/test-strrchr.c: Add wcsrchr support.
11299 * wcsmbs/test-wcscpy.c: New file.
11300 * string/test-strcpy.c: Add wcscpy support.
11303 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11305 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11308 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11311 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11313 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11315 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11316 Minor optimizations.
11318 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11319 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11320 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11322 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11324 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11325 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11326 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11327 for gcc to avoid warnings.
11328 * inet/Makefile (tests): Add tst-checks.
11329 * inet/tst-checks.c: New file.
11331 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11334 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11337 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11338 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11340 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11342 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11344 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11347 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11349 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11351 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11352 conditional on GCC version.
11353 (__arch_compare_and_exchange_val_8_acq)
11354 (__arch_compare_and_exchange_val_16_acq)
11355 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11356 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11357 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11359 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11361 * sysdeps/sh/backtrace.c: New file.
11363 2011-12-02 Andreas Schwab <schwab@redhat.com>
11365 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11368 2011-12-01 Andreas Schwab <schwab@redhat.com>
11370 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11371 falling back to utime.
11373 2011-11-30 Andreas Schwab <schwab@redhat.com>
11375 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11376 expectations for float.
11378 2011-11-29 Andreas Schwab <schwab@redhat.com>
11380 * locale/weight.h (findidx): Add parameter len.
11381 * locale/weightwc.h (findidx): Likewise.
11382 * posix/fnmatch_loop.c (FCT): Adjust caller.
11383 * posix/regcomp.c (build_equiv_class): Likewise.
11384 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11385 * posix/regexec.c (check_node_accept_bytes): Likewise.
11386 * string/strcoll_l.c (STRCOLL): Likewise.
11387 * string/strxfrm_l.c (STRXFRM): Likewise.
11389 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11391 * Makefile.in: Remove CVSOPT handling.
11392 * configure.in: Remove use of AC_REVISION.
11393 * iconvdata/Makefile (distribute): No need to filter out CVS.
11394 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11397 2011-11-16 Andreas Schwab <schwab@redhat.com>
11399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11400 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11401 [USE_AS_STRNCASECMP_L]: Likewise.
11402 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11403 NO_TLS_DIRECT_SEG_REFS.
11404 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11405 Fix argument offsets for non-PIC.
11406 [USE_AS_STRNCASECMP_L]: Likewise.
11407 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11408 NO_TLS_DIRECT_SEG_REFS.
11410 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11412 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11414 * locale/loadlocale.c (_nl_load_locale): Likewise.
11416 2011-11-15 Andreas Schwab <schwab@redhat.com>
11418 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11419 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11420 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11421 (SYSCALL_GETTIME): Set errno on error.
11423 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11424 count references to noai6ai_cached.
11426 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11428 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11430 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11431 FD_CLOEXEC for /proc/self/maps.
11433 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11434 FD_CLOEXEC for /proc/meminfo.
11436 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11439 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11440 FD_CLOEXEC for given file.
11442 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11444 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11445 FD_CLOEXEC for /etc/hosts.
11446 (_gethtent): Likewise.
11448 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11450 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11451 cancellation and set FD_CLOEXEC for /etc/netgroup.
11453 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11454 reading /etc/publickey.
11456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11457 allow cancellation when reading /etc/group.
11459 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11461 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11463 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11464 when using data file.
11466 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11468 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11469 (write_nis_obj): Use "c" and "e" in fopen.
11471 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11473 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11475 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11477 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11479 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11482 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11484 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11486 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11488 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11489 file parsing and set FD_CLOEXEC.
11491 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11493 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11495 2011-11-14 Andreas Schwab <schwab@redhat.com>
11497 * malloc/arena.c (arena_get2): Don't call reused_arena when
11498 _int_new_arena failed.
11500 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11502 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11503 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11504 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11505 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11507 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11508 to compile strcasecmp and strncasecmp.
11509 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11510 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11514 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11516 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11517 locale-defines.sym to gen-as-const-headers.
11518 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11519 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11520 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11521 to compile strcasecmp and strncasecmp.
11522 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11523 strcasecmp_l and strncasecmp_l.
11524 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11525 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11526 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11527 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11528 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11529 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11530 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11531 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11532 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11533 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11534 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11536 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11538 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11539 result of SYSDEP_GETTIME_CPU to retval.
11540 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11541 parameter list to macro. Remove trailing semicolon. Adjust users.
11543 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11546 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11548 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11550 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11551 from unused variable.
11553 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11555 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11558 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11561 * sunrpc/rpc_prot.c (rejected): Fix case value.
11563 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11564 unsigned long long int to avoid warnings in shift.
11566 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11568 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11571 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11572 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11573 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11575 * nis/nis_table.c (nis_list): Use variable of correct type for
11576 result of __follow_path call.
11578 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11580 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11581 of math functions ceil, trunc, floor, round, and sqrt, when
11582 avaliable on the platform.
11583 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11585 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11586 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11587 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11589 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11591 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11592 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11594 2011-11-11 Roland McGrath <roland@hack.frob.com>
11596 * include/unistd.h: Fix __readlink return type.
11597 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11599 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11601 * stdlib/ucontext.h: Undo last change for makecontext.
11603 2011-11-11 Andreas Schwab <schwab@redhat.com>
11605 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11607 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11608 * setjmp/setjmp.h: Mark functions as non-leaf.
11609 * setjmp/bits/setjmp2.h: Likewise.
11610 * stdlib/ucontext.h: Likewise.
11612 2011-11-10 Andreas Schwab <schwab@redhat.com>
11614 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11615 (reused_arena): Don't check arena limit.
11616 (arena_get2): Atomically check arena limit.
11618 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11620 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11621 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11626 2011-11-07 Andreas Schwab <schwab@redhat.com>
11628 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11629 handler when locking.
11631 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11632 Fix size of allocated buffer.
11634 2011-11-04 Andreas Schwab <schwab@redhat.com>
11637 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11638 declarations for long double functions.
11639 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11641 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11643 2011-11-03 Andreas Schwab <schwab@redhat.com>
11645 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11648 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11651 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11653 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11655 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11657 * include/alloca.h (stackinfo_alloca_round): Define.
11658 (extend_alloca): Use it.
11659 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11660 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11663 * scripts/check-local-headers.sh: Ignore libaudit.h.
11665 * nscd/Makefile (extra-objs): Make recursively expanded.
11667 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11669 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11672 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11673 * posix/tst-rfc3484-2.c: Likewise.
11674 * posix/tst-rfc3484-3.c: Likewise.
11676 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11678 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11680 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11681 process_vm_writev from libc using GLIBC_2.15 version.
11683 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11685 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11687 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11690 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11693 * nss/getent.c (initgroups_keys): Show error message in case no group
11696 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11697 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11698 __bump_nl_timestamp.
11699 * nscd/connections (nscd_init): When host database is served open
11700 netlink socket and request notification about configuration changes.
11701 (main_loop_poll): Track netlink file descriptor and bump timestamp
11702 in case data becomes available.
11703 (main_loop_epoll): Likewise.
11704 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11705 (database_pers_head): Add extra_data fileds.
11706 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11707 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11708 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11710 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11711 in6ai data, call __free_in6ai.
11712 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11713 Add -DHAVE_NETLINK.
11714 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11715 interface information. Reuse previous data if netlink timestamp
11717 (__bump_nl_timestamp): New function.
11718 (__free_in6ai): New function.
11720 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11722 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11723 close_not_cancel_no_status here.
11724 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11726 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11729 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11732 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11733 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11734 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11736 2011-07-03 Andreas Jaeger <aj@suse.de>
11739 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11740 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11741 * math/libm-test.inc (sin_test): Add test case.
11743 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11746 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11747 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11749 * elf/chroot_canon.c (chroot_canon): Cleanups.
11751 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11754 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11755 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11757 * string/test-strchr.c: Make usable for strchrnul testing.
11758 * string/test-strchrnul.c: New file.
11759 * string/Makefile (strop-tests): Add strchrnul.
11761 * po/it.po: Update from translation team.
11762 * po/es.po: Likewise.
11764 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11766 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11767 the three constants needed as parameters. Drop the others.
11768 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11769 __m128i_strloadu_tolower.
11770 Create and initialize variable zero and use it in all the places
11771 where _mm_setzero_si128 was used.
11773 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11774 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11775 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11776 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11778 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11779 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11780 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11781 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11782 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11783 __mpranred, __mptan.
11784 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11785 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11786 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11787 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11788 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11789 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11790 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11791 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11792 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11794 2011-10-28 Andreas Schwab <schwab@redhat.com>
11796 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11797 redefine if SHARED.
11798 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11801 wide char related routines to wcsmbs subdir.
11803 2011-10-27 Andreas Schwab <schwab@redhat.com>
11806 * misc/sys/cdefs.h (__THROWNL): Define.
11807 * posix/unistd.h: Use __THREADNL instead of __THREAD
11808 for memory synchronization functions.
11810 2011-10-26 Roland McGrath <roland@hack.frob.com>
11813 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11815 * manual/stdio.texi (Obstack Streams): Node removed.
11817 2011-10-26 Andreas Schwab <schwab@redhat.com>
11819 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11820 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11821 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11823 * math/math_private.h (math_force_eval): Allow non-addressable
11825 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11827 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11829 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11830 file is not needed.
11832 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11833 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11834 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11835 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11836 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11837 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11838 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11839 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11841 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11842 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11843 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11844 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11845 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11846 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11847 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11848 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11849 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11850 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11851 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11852 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11854 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11855 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11856 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11857 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11858 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11859 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11861 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11862 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11864 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11865 place. Use VEX encoding when compiling for AVX.
11867 2011-10-25 Andreas Schwab <schwab@redhat.com>
11869 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11870 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11872 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11874 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11876 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11877 useless if() expression.
11878 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11887 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11888 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11889 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11890 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11891 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11892 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11893 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11894 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11895 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11896 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11898 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11900 2011-10-25 Andreas Schwab <schwab@redhat.com>
11902 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11904 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11906 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11908 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11909 .text section. Avoid duplicate constants.
11910 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11912 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11918 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11919 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11920 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11921 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11922 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11923 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11924 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11925 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11926 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11927 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11928 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11930 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11931 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11932 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11933 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11934 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11935 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11936 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11937 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11938 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11939 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11940 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11941 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11942 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11943 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11944 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11945 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11946 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11948 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11949 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11950 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11951 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11952 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11953 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11954 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11956 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11958 * sysdeps/x86_64/dla.h: Move to ...
11959 * sysdeps/x86_64/fpu/dla.h: ...here.
11960 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11961 situations. Use __builtin_fma only for gcc 4.6 and up.
11963 * config.make.in: Add have-mfma4 entry.
11964 * configure.in: Substitute libc_cv_cc_fma4.
11965 * math/Makefile (dbl-only-routines): Add sincostab.
11966 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11967 Use __sincostab not sincos.
11968 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11970 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11975 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11976 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11977 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11978 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11980 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11981 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11983 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11984 define aliases when function name is a macro.
11985 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11986 sysdeps/ieee754/dbl-64/sincos.tbl.
11987 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11988 fma4-enabled routines.
11989 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11990 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11991 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11992 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11993 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11994 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11995 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11996 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11997 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11998 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11999 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12000 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12001 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12002 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12003 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12004 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12005 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12006 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12007 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12008 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12009 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12010 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12011 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12012 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12013 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12014 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12015 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12016 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12017 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12018 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12020 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12031 2011-10-24 Andreas Schwab <schwab@redhat.com>
12033 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12035 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12037 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12039 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12041 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12043 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12044 Remove unused variable magic_bits.
12045 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12047 * string/strnlen.c: Define and use STRNLEN macro.
12048 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12049 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12051 * wcsmbs/wcslen.c: Define and use WCSLEN.
12052 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12053 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12054 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12055 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12056 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12057 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12058 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12060 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12063 strnlen-sse2-no-bsf.
12064 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12065 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12066 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12067 Add strnlen support.
12068 (USE_AS_STRNLEN): New macro.
12069 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12070 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12071 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12072 * sysdeps/x86_64/wcslen.S: New file.
12074 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12077 XMM-moves are used for copying on small sizes.
12079 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12081 * wcsmbs/Makefile (strop-tests): Add wcschr.
12082 * wcsmbs/test-wcschr.c: New file.
12083 * string/test-strchr.c: Update.
12084 Add wcschr support.
12087 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12089 * wcsmbs/Makefile (strop-tests): Add wcslen.
12090 * wcsmbs/test-wcslen.c: New file.
12091 * string/test-strlen.c: Update.
12092 Add wcslen support.
12095 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12097 * po/it.po: Update from translation team.
12099 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12101 * sysdeps/x86_64/wcscmp.S: Update.
12102 Fix wrong comparison semantics.
12103 wcscmp shall use signed comparison not unsigned.
12104 Don't use substraction to avoid overflow bug.
12105 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12106 * wcsmbc/wcscmp.c: Likewise.
12107 * string/test-strcmp.c: Likewise.
12108 Add new tests to check cases with negative values.
12110 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12112 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12113 * sysdeps/x86_64/dla.h: ...here. New file.
12114 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12119 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12120 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12121 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12122 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12124 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12127 __ynl_finite aliases.
12129 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12133 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12135 [DLA_FMA] (EMULV): Use DLA_FMA.
12136 [DLA_FMA] (MUL12): Use EMULV.
12137 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12138 that are not needed.
12139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12147 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12149 * math/s_nan.c: Undef __nan.
12150 * math/s_nanf.c: Undef __nanf.
12151 * math/s_nanl.c: Undef __nanl.
12152 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12155 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12157 * math/s_catan.c: Add branch predictions.
12158 * math/s_catanf.c: Likewise.
12159 * math/s_catanh.c: Likewise.
12160 * math/s_catanhf.c: Likewise.
12161 * math/s_catanhl.c: Likewise.
12162 * math/s_catanl.c: Likewise.
12163 * math/s_cexp.c: Likewise.
12164 * math/s_cexpf.c: Likewise.
12165 * math/s_cexpl.c: Likewise.
12166 * math/s_clog.c: Likewise.
12167 * math/s_clog10.c: Likewise.
12168 * math/s_clog10f.c: Likewise.
12169 * math/s_clog10l.c: Likewise.
12170 * math/s_clogf.c: Likewise.
12171 * math/s_clogl.c: Likewise.
12172 * math/s_csqrt.c: Likewise.
12173 * math/s_csqrtf.c: Likewise.
12174 * math/s_csqrtl.c: Likewise.
12175 * math/s_ctanf.c: Likewise.
12176 * math/s_ctanh.c: Likewise.
12177 * math/s_ctanhf.c: Likewise.
12178 * math/s_ctanhl.c: Likewise.
12179 * math/s_ctanl.c: Likewise.
12181 * math/math_private.h: Define __nan, __nanf, __nanl.
12182 * math/s_cacosh.c: Include <math_private.h>.
12183 * math/s_cacoshl.c: Likewise.
12184 * math/s_casinh.c: Likewise.
12185 * math/s_casinhf.c: Likewise.
12186 * math/s_casinhl.c: Likewise.
12187 * math/s_ccos.c: Rely entire on ccosh.
12188 * math/s_ccosf.c: Rely entire on ccoshf.
12189 * math/s_ccosl.c: Rely entirely on ccoshl.
12190 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12191 Remove tests for FE_INVALID.
12192 * math/s_ccoshf.c: Likewise.
12193 * math/s_ccoshl.c: Likewise.
12194 * math/s_csin.c: Likewise.
12195 * math/s_csinf.c: Likewise.
12196 * math/s_csinh.c Likewise.
12197 * math/s_csinhf.c: Likewise.
12198 * math/s_csinhl.c: Likewise.
12199 * math/s_csinl.c: Likewise.
12200 * math/s_ctan.c: Likewise.
12201 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12202 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12203 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12205 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12208 compilation problems.
12210 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12213 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12215 * sysdeps/i386/configure.in: Test for -mfma4 option.
12216 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12217 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12218 COMMON_CPUID_INDEX_80000001.
12219 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12220 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12221 use it if FMA3 is not supported.
12222 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12224 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12225 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12227 2011-10-20 Andreas Schwab <schwab@redhat.com>
12230 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12231 it would create a cycle with a link time dependency.
12233 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12235 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12237 * string/Makefile (strop-tests): Add rawmemchr.
12238 * string/test-rawmemchr.c: New file.
12240 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12241 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12242 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12243 when compiling str{,n}casecmp and when AVX is available. Hook up
12244 new optimized code in initializers.
12246 2011-10-19 Andreas Schwab <schwab@redhat.com>
12248 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12249 __feraiseexcept instead of feraiseexcept.
12251 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12253 * math/math_private.h: Define defaults for libc_fetestexcept and
12255 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12256 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12257 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12258 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12259 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12260 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12261 libc_fetestexcept and libc_feupdateenv.
12263 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12264 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12265 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12266 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12267 libc_feholdexcept_setround.
12269 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12270 Add s_nearbyint-c and s_nearbyintf-c.
12271 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12272 nearbyintf inlines.
12273 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12274 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12275 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12276 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12278 * math/math_private.h: Define defaults for libc_fegetround,
12279 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12280 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12281 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12282 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12283 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12284 standard functions.
12285 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12286 Remove comments and hacks for old compiler versions.
12287 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12288 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12289 libc_feholdexceptl.
12291 2011-10-18 Andreas Schwab <schwab@redhat.com>
12293 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12294 (__feraiseexcept_renamed): Add __NTH.
12295 (feraiseexcept): Add __NTH. Rename local variables to fix
12296 namespace violations.
12298 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12300 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12302 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12304 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12305 recently added interfaces.
12306 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12308 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12309 about macro parameter expansion.
12311 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12312 __NO_MATH_INLINES is defined. Cleanups.
12314 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12315 and __floorf is target has SSE4.1.
12316 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12317 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12318 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12319 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12321 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12323 (floorf): Likewise.
12325 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12327 2011-10-17 Andreas Schwab <schwab@redhat.com>
12329 * misc/sys/cdefs.h: Fix last change.
12331 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12334 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12336 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12338 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12339 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12340 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12341 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12343 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12344 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12345 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12346 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12347 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12348 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12349 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12350 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12351 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12352 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12353 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12354 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12355 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12356 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12357 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12358 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12359 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12361 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12362 ceil, ceilf, floor, floorf.
12364 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12365 Perform IRELATIVE relocations last.
12367 * elf/do-rel.h: Add another parameter nrelative, replacing the
12368 local variable with the same name. Change name of the function
12369 to end in Rel or Rela (uppercase).
12370 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12371 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12372 elf_dynamic_do_##reloc function.
12374 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12376 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12377 is sufficient, at least on modern CPUs.
12379 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12381 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12382 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12384 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12386 * math/bits/math-finite.h: Add entries for exp.
12387 * math/e_expl.c: Add __*_finite alias.
12388 * sysdeps/i386/fpu/e_exp.S: Likewise.
12389 * sysdeps/i386/fpu/e_expf.S: Likewise.
12390 * sysdeps/i386/fpu/e_expl.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12392 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12394 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12395 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12396 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12397 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12399 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12400 is sufficient, at least on modern CPUs.
12402 * ctype/ctype-info.c (__ctype_init): Define.
12403 * include/ctype.h (__ctype_init): Declare.
12404 (__ctype_b_loc): The variable is always initialized.
12405 (__ctype_toupper_loc): Likewise.
12406 (__ctype_tolower_loc): Likewise.
12407 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12408 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12410 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12412 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12414 * configure.in: Also look in $cxxmachine/include for C++ system
12417 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12419 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12420 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12421 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12422 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12423 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12424 (USE_AS_WMEMCMP): New macro.
12426 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12427 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12428 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12429 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12431 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12432 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12433 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12434 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12435 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12436 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12437 (USE_AS_WMEMCMP): New macro.
12438 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12439 * sysdeps/string/test-memcmp.c: Update.
12440 Fix simple_wmemcmp.
12442 * wcsmbs/wmemcmp.c: Update.
12443 (WMEMCMP): New macro.
12446 2011-10-12 Andreas Jaeger <aj@suse.de>
12449 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12451 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12453 * libio/iofwide.c (do_length): Avoid warning.
12455 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12457 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12459 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12461 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12462 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12463 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12464 * sysdeps/i386/i686/fpu/e_log.S: New file.
12465 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12466 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12468 * ctype/ctype.h: Add support for inlined isXXX functions when
12469 compiling C++ code.
12471 2011-10-14 Andreas Schwab <schwab@redhat.com>
12473 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12475 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12477 2011-10-13 Roland McGrath <roland@hack.frob.com>
12480 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12482 2011-10-13 Andreas Schwab <schwab@redhat.com>
12484 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12485 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12488 * sysdeps/x86_64/memrchr.S: Check for zero size.
12490 * string/stratcliff.c: Add memrchr tests.
12492 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12495 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12496 rawmemchr-sse2 rawmemchr-sse2-bsf.
12497 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12498 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12499 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12500 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12501 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12502 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12503 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12504 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12505 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12506 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12507 * string/memrchr.c (MEMRCHR): New macro.
12509 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12511 Add integration with gcc's -ffinite-math-only and optimize wrapper
12513 * Versions.def: Define GLIBC_2.15 version for libm.
12514 * math/Makefile (headers): Add bits/math-finite.h.
12515 * math/bits/math-finite.h: New file.
12516 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12517 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12518 * math/e_acoshl.c: Add __*_finite alias.
12519 * math/e_acosl.c: Likewise.
12520 * math/e_asinl.c: Likewise.
12521 * math/e_atan2l.c: Likewise.
12522 * math/e_atanhl.c: Likewise.
12523 * math/e_coshl.c: Likewise.
12524 * math/e_exp10.c: Likewise.
12525 * math/e_exp10f.c: Likewise.
12526 * math/e_exp10l.c: Likewise.
12527 * math/e_exp2l.c: Likewise.
12528 * math/e_fmodl.c: Likewise.
12529 * math/e_gammal_r.c: Likewise.
12530 * math/e_hypotl.c: Likewise.
12531 * math/e_j0l.c: Likewise.
12532 * math/e_j1l.c: Likewise.
12533 * math/e_jnl.c: Likewise.
12534 * math/e_lgammal_r.c: Likewise.
12535 * math/e_log10l.c: Likewise.
12536 * math/e_log2l.c: Likewise.
12537 * math/e_logl.c: Likewise.
12538 * math/e_powl.c: Likewise.
12539 * math/e_sinhl.c: Likewise.
12540 * math/e_sqrtl.c: Likewise.
12541 * math/e_scalb.c: Completely rewritten and optimized.
12542 * math/e_scalbf.c: Likewise.
12543 * math/e_scalbl.c: Likewise.
12544 * math/w_acos.c: Likewise.
12545 * math/w_acosf.c: Likewise.
12546 * math/w_acosl.c: Likewise.
12547 * math/w_acosh.c: Likewise.
12548 * math/w_acoshf.c: Likewise.
12549 * math/w_acoshl.c: Likewise.
12550 * math/w_asin.c: Likewise.
12551 * math/w_asinf.c: Likewise.
12552 * math/w_asinl.c: Likewise.
12553 * math/w_atan2.c: Likewise.
12554 * math/w_atan2f.c: Likewise.
12555 * math/w_atan2l.c: Likewise.
12556 * math/w_atanh.c: Likewise.
12557 * math/w_atanhf.c: Likewise.
12558 * math/w_atanhl.c: Likewise.
12559 * math/w_exp10.c: Likewise.
12560 * math/w_exp10f.c: Likewise.
12561 * math/w_exp10l.c: Likewise.
12562 * math/w_fmod.c: Likewise.
12563 * math/w_fmodf.c: Likewise.
12564 * math/w_fmodl.c: Likewise.
12565 * math/w_j0.c: Likewise.
12566 * math/w_j0f.c: Likewise.
12567 * math/w_j0l.c: Likewise.
12568 * math/w_j1.c: Likewise.
12569 * math/w_j1f.c: Likewise.
12570 * math/w_j1l.c: Likewise.
12571 * math/w_jn.c: Likewise.
12572 * math/w_jnf.c: Likewise.
12573 * math/w_log.c: Likewise.
12574 * math/w_logf.c: Likewise.
12575 * math/w_logl.c: Likewise.
12576 * math/w_log10.c: Likewise.
12577 * math/w_log10f.c: Likewise.
12578 * math/w_log10l.c: Likewise.
12579 * math/w_log2.c: Likewise.
12580 * math/w_log2f.c: Likewise.
12581 * math/w_log2l.c: Likewise.
12582 * math/w_pow.c: Likewise.
12583 * math/w_powf.c: Likewise.
12584 * math/w_powl.c: Likewise.
12585 * math/w_remainder.c: Likewise.
12586 * math/w_remainderf.c: Likewise.
12587 * math/w_remainderl.c: Likewise.
12588 * math/w_scalb.c: Likewise.
12589 * math/w_scalbf.c: Likewise.
12590 * math/w_scalbl.c: Likewise.
12591 * math/w_sqrt.c: Likewise.
12592 * math/w_sqrtf.c: Likewise.
12593 * math/w_sqrtl.c: Likewise.
12594 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12595 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12597 * math/math_private.h: Declare __kernel_standard_f.
12598 * math/w_cosh.c: Remove cruft and optimize a bit.
12599 * math/w_coshf.c: Likewise.
12600 * math/w_coshl.c: Likewise.
12601 * math/w_exp2.c: Likewise.
12602 * math/w_exp2f.c: Likewise.
12603 * math/w_exp2l.c: Likewise.
12604 * math/w_hypot.c: Likewise.
12605 * math/w_hypotf.c: Likewise.
12606 * math/w_hypotl.c: Likewise.
12607 * math/w_lgamma.c: Likewise.
12608 * math/w_lgamma_r.c: Likewise.
12609 * math/w_lgammaf.c: Likewise.
12610 * math/w_lgammaf_r.c: Likewise.
12611 * math/w_lgammal.c: Likewise.
12612 * math/w_lgammal_r.c: Likewise.
12613 * math/w_sinh.c: Likewise.
12614 * math/w_sinhf.c: Likewise.
12615 * math/w_sinhl.c: Likewise.
12616 * math/w_tgamma.c: Likewise.
12617 * math/w_tgammaf.c: Likewise.
12618 * math/w_tgammal.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12621 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12622 Minor optimizations. Pretty printing. Remove cruft.
12623 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12624 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12625 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12626 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12627 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12628 * sysdeps/i386/fpu/e_asin.S: Likewise.
12629 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12630 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12631 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12632 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12633 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12634 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12635 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12636 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12637 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12638 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12639 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12640 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12641 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12642 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12643 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12644 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12645 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12646 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12647 * sysdeps/i386/fpu/e_log.S: Likewise.
12648 * sysdeps/i386/fpu/e_log10.S: Likewise.
12649 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12650 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12651 * sysdeps/i386/fpu/e_log2.S: Likewise.
12652 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12653 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12654 * sysdeps/i386/fpu/e_logf.S: Likewise.
12655 * sysdeps/i386/fpu/e_logl.S: Likewise.
12656 * sysdeps/i386/fpu/e_pow.S: Likewise.
12657 * sysdeps/i386/fpu/e_powf.S: Likewise.
12658 * sysdeps/i386/fpu/e_powl.S: Likewise.
12659 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12660 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12661 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12662 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12663 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12664 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12665 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12666 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12667 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12668 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12669 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12671 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12672 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12673 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12674 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12675 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12676 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12679 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12689 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12690 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12691 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12692 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12693 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12694 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12695 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12696 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12697 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12698 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12699 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12700 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12701 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12702 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12703 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12704 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12705 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12706 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12707 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12708 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12709 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12710 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12711 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12712 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12713 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12714 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12716 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12717 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12718 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12719 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12720 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12721 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12722 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12723 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12724 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12725 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12748 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12751 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12753 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12754 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12756 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12759 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12760 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12761 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12762 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12763 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12764 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12765 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12766 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12767 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12768 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12769 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12770 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12771 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12772 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12773 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12774 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12775 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12776 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12777 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12778 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12779 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12780 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12781 (__isnanf): Likewise.
12782 (__isinf_ns): Likewise.
12783 (__isinf_nsf): Likewise.
12784 (__finite): Likewise.
12785 (__finitef): Likewise.
12786 (__ieee754_sqrt): Define as macro.
12787 (__ieee754_sqrtf): Define as macro.
12788 (__ieee754_sqrtl): Define as macro.
12789 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12791 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12792 __FINITE_MATH_ONLY__ consistent.
12793 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12795 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12797 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12800 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12802 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12804 * po/ja.po: Update from translation team.
12806 2011-10-08 Roland McGrath <roland@hack.frob.com>
12808 * locale/programs/locarchive.c (prepare_address_space): New function.
12809 (create_archive, enlarge_archive, open_archive): Use it.
12811 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12812 inside [SHARED], where it is used.
12814 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12816 * nss/getent.c (netgroup_keys): Remove unused variable.
12817 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12819 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12821 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12822 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12823 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12824 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12825 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12826 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12827 * math/Makefile (libm-calls): Add s_isinf_ns.
12828 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12829 * math/multc3.c: Likewise.
12830 * math/s_casin.c: Likewise.
12831 * math/s_casinf.c: Likewise.
12832 * math/s_casinl.c: Likewise.
12833 * math/s_ccos.c: Likewise.
12834 * math/s_ccosf.c: Likewise.
12835 * math/s_ccosl.c: Likewise.
12836 * math/s_ctan.c: Likewise.
12837 * math/s_ctanf.c: Likewise.
12838 * math/s_ctanh.c: Likewise.
12839 * math/s_ctanhf.c: Likewise.
12840 * math/s_ctanhl.c: Likewise.
12841 * math/s_ctanl.c: Likewise.
12842 * math/w_fmod.c: Likewise.
12843 * math/w_fmodf.c: Likewise.
12844 * math/w_fmodl.c: Likewise.
12845 * math/w_remainder.c: Likewise.
12846 * math/w_remainderf.c: Likewise.
12847 * math/w_remainderl.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12849 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12850 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12852 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12853 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12854 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12855 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12857 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12859 * stdio-common/printf_fphex.c: Likewise.
12860 * stdio-common/printf_size.c: Likewise.
12862 * math/e_exp10.c: Include math_private.h using <...> not "...".
12863 * math/e_exp10f.c: Likewise.
12864 * math/e_exp10l.c: Likewise.
12865 * math/e_exp2l.c: Likewise.
12866 * math/e_j0l.c: Likewise.
12867 * math/e_j1l.c: Likewise.
12868 * math/e_jnl.c: Likewise.
12869 * math/e_lgammal_r.c: Likewise.
12870 * math/e_rem_pio2l.c: Likewise.
12871 * math/e_scalb.c: Likewise.
12872 * math/e_scalbf.c: Likewise.
12873 * math/e_scalbl.c: Likewise.
12874 * math/k_cosl.c: Likewise.
12875 * math/k_sinl.c: Likewise.
12876 * math/k_tanl.c: Likewise.
12877 * math/s_cacoshf.c: Likewise.
12878 * math/s_catan.c: Likewise.
12879 * math/s_catanf.c: Likewise.
12880 * math/s_catanh.c: Likewise.
12881 * math/s_catanhf.c: Likewise.
12882 * math/s_catanhl.c: Likewise.
12883 * math/s_catanl.c: Likewise.
12884 * math/s_ccosh.c: Likewise.
12885 * math/s_ccoshf.c: Likewise.
12886 * math/s_ccoshl.c: Likewise.
12887 * math/s_cexp.c: Likewise.
12888 * math/s_cexpf.c: Likewise.
12889 * math/s_cexpl.c: Likewise.
12890 * math/s_clog.c: Likewise.
12891 * math/s_clog10.c: Likewise.
12892 * math/s_clog10f.c: Likewise.
12893 * math/s_clog10l.c: Likewise.
12894 * math/s_clogf.c: Likewise.
12895 * math/s_clogl.c: Likewise.
12896 * math/s_csin.c: Likewise.
12897 * math/s_csinf.c: Likewise.
12898 * math/s_csinh.c: Likewise.
12899 * math/s_csinhf.c: Likewise.
12900 * math/s_csinhl.c: Likewise.
12901 * math/s_csinl.c: Likewise.
12902 * math/s_csqrt.c: Likewise.
12903 * math/s_csqrtf.c: Likewise.
12904 * math/s_csqrtl.c: Likewise.
12905 * math/s_ctan.c: Likewise.
12906 * math/s_ctanf.c: Likewise.
12907 * math/s_ctanh.c: Likewise.
12908 * math/s_ctanhf.c: Likewise.
12909 * math/s_ctanhl.c: Likewise.
12910 * math/s_ctanl.c: Likewise.
12911 * math/s_ldexp.c: Likewise.
12912 * math/s_ldexpf.c: Likewise.
12913 * math/s_ldexpl.c: Likewise.
12914 * math/s_significand.c: Likewise.
12915 * math/s_significandf.c: Likewise.
12916 * math/s_significandl.c: Likewise.
12917 * math/w_acos.c: Likewise.
12918 * math/w_acosf.c: Likewise.
12919 * math/w_acosh.c: Likewise.
12920 * math/w_acoshf.c: Likewise.
12921 * math/w_acoshl.c: Likewise.
12922 * math/w_acosl.c: Likewise.
12923 * math/w_asin.c: Likewise.
12924 * math/w_asinf.c: Likewise.
12925 * math/w_asinl.c: Likewise.
12926 * math/w_atan2.c: Likewise.
12927 * math/w_atan2f.c: Likewise.
12928 * math/w_atan2l.c: Likewise.
12929 * math/w_atanh.c: Likewise.
12930 * math/w_atanhf.c: Likewise.
12931 * math/w_atanhl.c: Likewise.
12932 * math/w_cosh.c: Likewise.
12933 * math/w_coshf.c: Likewise.
12934 * math/w_coshl.c: Likewise.
12935 * math/w_dremf.c: Likewise.
12936 * math/w_exp10.c: Likewise.
12937 * math/w_exp10f.c: Likewise.
12938 * math/w_exp10l.c: Likewise.
12939 * math/w_exp2.c: Likewise.
12940 * math/w_exp2f.c: Likewise.
12941 * math/w_fmod.c: Likewise.
12942 * math/w_fmodf.c: Likewise.
12943 * math/w_fmodl.c: Likewise.
12944 * math/w_hypot.c: Likewise.
12945 * math/w_hypotf.c: Likewise.
12946 * math/w_hypotl.c: Likewise.
12947 * math/w_j0.c: Likewise.
12948 * math/w_j0f.c: Likewise.
12949 * math/w_j0l.c: Likewise.
12950 * math/w_j1.c: Likewise.
12951 * math/w_j1f.c: Likewise.
12952 * math/w_j1l.c: Likewise.
12953 * math/w_jn.c: Likewise.
12954 * math/w_jnf.c: Likewise.
12955 * math/w_jnl.c: Likewise.
12956 * math/w_lgamma.c: Likewise.
12957 * math/w_lgamma_r.c: Likewise.
12958 * math/w_lgammaf.c: Likewise.
12959 * math/w_lgammaf_r.c: Likewise.
12960 * math/w_lgammal.c: Likewise.
12961 * math/w_lgammal_r.c: Likewise.
12962 * math/w_log.c: Likewise.
12963 * math/w_log10.c: Likewise.
12964 * math/w_log10f.c: Likewise.
12965 * math/w_log10l.c: Likewise.
12966 * math/w_log2.c: Likewise.
12967 * math/w_log2f.c: Likewise.
12968 * math/w_log2l.c: Likewise.
12969 * math/w_logf.c: Likewise.
12970 * math/w_logl.c: Likewise.
12971 * math/w_pow.c: Likewise.
12972 * math/w_powf.c: Likewise.
12973 * math/w_powl.c: Likewise.
12974 * math/w_remainder.c: Likewise.
12975 * math/w_remainderf.c: Likewise.
12976 * math/w_remainderl.c: Likewise.
12977 * math/w_scalb.c: Likewise.
12978 * math/w_scalbf.c: Likewise.
12979 * math/w_scalbl.c: Likewise.
12980 * math/w_sinh.c: Likewise.
12981 * math/w_sinhf.c: Likewise.
12982 * math/w_sinhl.c: Likewise.
12983 * math/w_sqrt.c: Likewise.
12984 * math/w_sqrtf.c: Likewise.
12985 * math/w_sqrtl.c: Likewise.
12986 * math/w_tgamma.c: Likewise.
12987 * math/w_tgammaf.c: Likewise.
12988 * math/w_tgammal.c: Likewise.
12990 * po/ja.po: Update from translation team.
12992 2011-09-29 Andreas Jaeger <aj@suse.de>
12995 * sunrpc/netname.c (netname2host): Fix logic.
12999 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13001 * math/w_remainder.c (__remainder): Likewise.
13002 * math/w_remainderf.c (__remainderf): Likewise.
13003 * math/libm-test.inc (remainder_test): Add test cases.
13005 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13007 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13010 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13012 * string/test-memcmp.c: Avoid unncessary #defines.
13013 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13015 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13017 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13018 Use new sse2 version for core i3 - i7 as it's faster
13019 than sse42 version.
13020 (bit_Prefer_PMINUB_for_stringop): New.
13021 * sysdeps/x86_64/rawmemchr.S: Update.
13022 Replace with faster SSE2 version.
13023 * sysdeps/x86_64/memrchr.S: New file.
13024 * sysdeps/x86_64/memchr.S: Update.
13025 Replace with faster SSE2 version.
13027 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13029 * elf/dl-load.c (lose): Add cast to avoid warning.
13031 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13033 * po/ca.po: Update from translation team.
13035 * inet/getnetgrent_r.c: Hook up nscd.
13036 * nscd/Makefile (routines): Add nscd_netgroup.
13037 (nscd-modules): Add netgroupcache.
13038 (CFLAGS-netgroupcache.c): Define.
13039 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13040 (cache_search): Add const to second parameter.
13041 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13043 (dbs): Add netgrdb entry.
13044 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13045 (verify_persistent_db): Handle netgrdb.
13046 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13047 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13049 (netgroup_response_header): Define.
13050 (innetgroup_response_header): Define.
13051 (datahead): Add netgroup_response_header and innetgroup_response_header
13053 * nscd/nscd.conf: Add entries for netgroup cache.
13054 * nscd/nscd.h (dbtype): Add netgrdb.
13055 (_PATH_NSCD_NETGROUP_DB): Define.
13056 (netgroup_iov_disabled): Declare.
13057 (xmalloc, xcalloc, xrealloc): Move declarations here.
13058 (cache_search): Adjust prototype.
13059 Add netgroup-related prototypes.
13060 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13061 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13062 (__nscd_innetgr): Declare.
13063 * nscd/selinux.c (perms): Use access_vector_t as element type and
13064 add netgroup-related initializers.
13065 * nscd/netgroupcache.c: New file.
13066 * nscd/nscd_netgroup.c: New file.
13067 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13068 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13069 For four parameters use innetgr.
13070 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13071 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13072 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13073 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13075 * nscd/connections.c (register_traced_file): Don't register file
13076 for disabled databases.
13078 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13080 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13082 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13083 from tree and freeing node.
13085 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13087 * nss/nsswitch.c (__nss_database_lookup): Handle
13088 nss_parse_service_list out of memory case.
13090 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13092 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13093 out of memory case.
13095 2011-10-04 Andreas Schwab <schwab@redhat.com>
13097 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13098 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13100 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13101 elf_machine_rela, elf_machine_lazy_rel.
13102 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13103 (ELF_DYNAMIC_DO_REL): Likewise.
13104 (ELF_DYNAMIC_DO_RELA): Likewise.
13105 (ELF_DYNAMIC_RELOCATE): Likewise.
13106 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13107 to ELF_DYNAMIC_DO_REL.
13108 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13109 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13110 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13112 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13113 skip_ifunc, don't call ifunc function if non-zero.
13114 (elf_machine_rela): Likewise.
13115 (elf_machine_lazy_rel): Likewise.
13116 (elf_machine_lazy_rela): Likewise.
13117 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13118 (elf_machine_lazy_rel): Likewise.
13119 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13121 (elf_machine_lazy_rel): Likewise.
13122 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13124 (elf_machine_lazy_rel): Likewise.
13125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13126 (elf_machine_lazy_rel): Likewise.
13127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13128 (elf_machine_lazy_rel): Likewise.
13129 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13130 (elf_machine_lazy_rel): Likewise.
13131 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13132 (elf_machine_lazy_rel): Likewise.
13133 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13134 (elf_machine_lazy_rel): Likewise.
13135 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13136 (elf_machine_lazy_rel): Likewise.
13138 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13140 * nss/nss_files/files-init.c (_nss_files_init): Use static
13141 initialization for all the *_traced_file variables.
13143 2011-09-28 Andreas Schwab <schwab@redhat.com>
13145 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13147 2011-09-27 Roland McGrath <roland@hack.frob.com>
13150 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13152 2011-09-27 Andreas Schwab <schwab@redhat.com>
13154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13155 Reread the line before reparsing it.
13157 2011-09-26 Andreas Schwab <schwab@redhat.com>
13159 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13161 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13162 Maxim Kuvyrkov <maxim@codesourcery.com>
13163 Joseph Myers <joseph@codesourcery.com>
13165 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13166 if needed for __stack_chk_guard.
13168 2011-09-19 Roland McGrath <roland@hack.frob.com>
13170 * sysdeps/posix/spawni.c (script_execute): Always define it.
13171 It will be optimized away if unused.
13172 (maybe_script_execute): New function.
13173 (__spawni): Call it.
13175 * Makerules: Don't include tls.make.
13176 (config-tls): Always set to thread.
13177 * tls.make.c: File removed.
13179 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13181 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13182 * config.make.in (CPPFLAGS-config): New substituted variable.
13184 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13189 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13190 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13192 2011-09-15 Roland McGrath <roland@hack.frob.com>
13194 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13195 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13197 (CALL_FAIL): Likewise.
13198 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13199 (CALL_FAIL): Macro removed.
13200 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13202 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13204 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13205 for __FINITE_MATH_ONLY__ == 1.
13207 2011-09-15 Andreas Schwab <schwab@redhat.com>
13209 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13210 __ieee754_sqrt instead of sqrt.
13211 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13212 __ieee754_sqrtf instead of sqrtf.
13213 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13214 __floorf instead of floorf.
13215 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13216 __floorf, __truncf instead of floorf, truncf.
13218 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13220 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13222 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13223 __extern_always_inline.
13224 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13227 2011-09-14 Andreas Schwab <schwab@redhat.com>
13229 * elf/rtld.c (dl_main): Also relocate in dependency order when
13230 doing symbol dependency testing.
13232 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13235 Always define `refsym'.
13237 2011-09-13 Andreas Schwab <schwab@redhat.com>
13239 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13240 (__FD_ELT): Renamed from __FDELT.
13241 * misc/bits/select2.h (__FD_ELT): Likewise.
13242 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13243 __FD_MASK instead of __FDELT, __FDMASK.
13244 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13246 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13249 * elf/Makefile (gen-ldd): Fix pattern.
13251 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13252 (init_tls): Likewise.
13254 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13256 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13258 2011-09-12 Andreas Schwab <schwab@redhat.com>
13260 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13261 `struct cmsghdr *' instead of `void *'.
13262 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13265 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13267 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13269 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13270 ldd_rewrite_script.
13272 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13274 * configure.in: Remove --with-tls option.
13275 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13276 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13277 out in case it is missing.
13278 * sysdeps/ia64/elf/configure.in: Likewise.
13279 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13280 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13281 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13282 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13283 * sysdeps/sh/elf/configure.in: Likewise.
13284 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13285 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13286 * sysdeps/x86_64/elf/configure.in: Likewise.
13287 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13288 * sysdeps/mach/hurd/tls.h: Likewise.
13291 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13294 * configure.in: Fix use of AC_INIT.
13296 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13298 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13300 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13302 * malloc/hooks.c: Likewise.
13305 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13306 variables statically.
13307 (narenas): Initialize.
13308 (list_lock): Initialize.
13309 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13310 initializtion of main_arena and list_lock. Small cleanups.
13311 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13312 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13313 Add initializers to main_arena and mp_.
13314 (malloc_state): Remove pagesize member. Change all users to use
13317 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13318 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13319 is always initialized.
13321 * malloc/malloc.c: Removed unused configurations and dead code.
13322 * malloc/arena.c: Likewise.
13323 * malloc/hooks.c: Likewise.
13324 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13326 * include/tls.h: Removed. USE___THREAD must always be defined.
13327 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13328 * elf/dl-libc.c: Likewise.
13329 * elf/dl-tsd.c: Likewise.
13330 * include/errno.h: Likewise.
13331 * include/netdb.h: Likewise.
13332 * include/resolv.h: Likewise.
13333 * inet/herrno-loc.c: Likewise.
13334 * inet/herrno.c: Likewise.
13335 * malloc/arena.c: Likewise.
13336 * malloc/hooks.c: Likewise.
13337 * malloc/malloc.c: Likewise.
13338 * resolv/res-state.c: Likewise.
13339 * resolv/res_libc.c: Likewise.
13340 * sysdeps/i386/dl-machine.h: Likewise.
13341 * sysdeps/ia64/dl-machine.h: Likewise.
13342 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13343 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13344 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13345 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13346 * sysdeps/sh/dl-machine.h: Likewise.
13347 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13348 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13349 * sysdeps/unix/i386/sysdep.S: Likewise.
13350 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13351 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13353 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13354 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13355 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13356 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13357 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13360 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13361 * sysdeps/x86_64/dl-machine.h: Likewise.
13362 * tls.make.c: Likewise.
13364 * configure.in: Remove --with-__thread option. Make tests for
13365 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13366 tls_model attribute fail if no support is available. Remove
13368 * Makeconfig: Adjust for dropped configure option. All features are
13370 * Makerules: Likewise.
13371 * Versions.def: Likewise.
13372 * argp/argp-fmtstream.c: Likewise.
13373 * argp/argp-fmtstream.h: Likewise.
13374 * argp/argp-help.c: Likewise.
13375 * assert/assert.c: Likewise.
13376 * config.h.in: Likewise.
13377 * config.make.in: Likewise.
13378 * configure: Likewise.
13379 * configure.in: Likewise.
13380 * csu/Versions: Likewise.
13381 * csu/init.c: Likewise.
13382 * elf/tst-audit2.c: Likewise.
13383 * elf/tst-tls10.c: Likewise.
13384 * elf/tst-tls10.h: Likewise.
13385 * elf/tst-tls11.c: Likewise.
13386 * elf/tst-tls12.c: Likewise.
13387 * elf/tst-tls14.c: Likewise.
13388 * elf/tst-tlsmod11.c: Likewise.
13389 * elf/tst-tlsmod12.c: Likewise.
13390 * elf/tst-tlsmod13.c: Likewise.
13391 * elf/tst-tlsmod13a.c: Likewise.
13392 * elf/tst-tlsmod14a.c: Likewise.
13393 * elf/tst-tlsmod15b.c: Likewise.
13394 * elf/tst-tlsmod16a.c: Likewise.
13395 * elf/tst-tlsmod16b.c: Likewise.
13396 * elf/tst-tlsmod7.c: Likewise.
13397 * elf/tst-tlsmod8.c: Likewise.
13398 * elf/tst-tlsmod9.c: Likewise.
13399 * gmon/gmon.c: Likewise.
13400 * grp/fgetgrent_r.c: Likewise.
13401 * grp/putgrent.c: Likewise.
13402 * hurd/fopenport.c: Likewise.
13403 * include/libc-symbols.h: Likewise.
13404 * include/tls.h: Likewise.
13405 * intl/gettextP.h: Likewise.
13406 * intl/loadinfo.h: Likewise.
13407 * locale/global-locale.c: Likewise.
13408 * locale/localeinfo.h: Likewise.
13409 * mach/devstream.c: Likewise.
13410 * malloc/arena.c: Likewise.
13411 * malloc/set-freeres.c: Likewise.
13412 * misc/err.c: Likewise.
13413 * misc/getttyent.c: Likewise.
13414 * misc/mntent_r.c: Likewise.
13415 * posix/getopt.c: Likewise.
13416 * posix/wordexp.c: Likewise.
13417 * pwd/fgetpwent_r.c: Likewise.
13418 * resolv/Versions: Likewise.
13419 * resolv/res_hconf.c: Likewise.
13420 * shadow/fgetspent_r.c: Likewise.
13421 * shadow/putspent.c: Likewise.
13422 * stdio-common/printf_fphex.c: Likewise.
13423 * stdio-common/tmpfile.c: Likewise.
13424 * stdlib/abort.c: Likewise.
13425 * stdlib/fmtmsg.c: Likewise.
13426 * sunrpc/auth_unix.c: Likewise.
13427 * sunrpc/clnt_perr.c: Likewise.
13428 * sunrpc/clnt_tcp.c: Likewise.
13429 * sunrpc/clnt_udp.c: Likewise.
13430 * sunrpc/clnt_unix.c: Likewise.
13431 * sunrpc/openchild.c: Likewise.
13432 * sunrpc/svc_simple.c: Likewise.
13433 * sunrpc/svc_tcp.c: Likewise.
13434 * sunrpc/svc_udp.c: Likewise.
13435 * sunrpc/svc_unix.c: Likewise.
13436 * sunrpc/xdr.c: Likewise.
13437 * sunrpc/xdr_array.c: Likewise.
13438 * sunrpc/xdr_rec.c: Likewise.
13439 * sunrpc/xdr_ref.c: Likewise.
13440 * sunrpc/xdr_stdio.c: Likewise.
13442 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13444 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13446 2011-07-03 Andreas Jaeger <aj@suse.de>
13448 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13449 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13450 regenerate with gen-libm-tests.pl.
13452 2010-05-12 Petr Baudis <pasky@suse.cz>
13455 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13456 around j0() zero points by switching to j1().
13457 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13462 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13464 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13466 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13469 Patch in part by Pavel Roskin <proski@gnu.org>.
13472 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13474 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13475 Free memory block if necessary.
13478 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13479 be NULL. Don't lock in this case.
13481 2011-09-09 Roland McGrath <roland@hack.frob.com>
13483 * elf/elf.h (ELFOSABI_GNU): New macro.
13484 (ELFOSABI_LINUX): Define to that.
13486 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13488 * string/strncat.c (strncat): Undef the symbol in case it has been
13489 defined in bits/string.h.
13491 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13493 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13495 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13498 2011-08-17 Andreas Jaeger <aj@suse.de>
13500 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13502 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13503 Ian Lance Taylor <iant@google.com>
13505 * math/libm-test.inc (lround_test): New testcase.
13506 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13508 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13510 * Makefile: Remove support for automatic cvs check-ins.
13511 * Makerules: Likewise.
13512 * config.make.in: Likewise.
13513 * configure.in: Likewise.
13514 * intl/Makefile: Likewise.
13515 * locale/Makefile: Likewise.
13516 * po/Makefile: Likewise.
13517 * posix/Makefile: Likewise.
13518 * sysdeps/gnu/Makefile: Likewise.
13519 * sysdeps/mach/hurd/Makefile: Likewise.
13520 * sysdeps/sparc/sparc32/Makefile: Likewise.
13523 * posix/Makefile (bug-regex32-ENV): Define.
13524 Patch by John Stanley <jpsinthemix@verizon.net>.
13526 * misc/Makefile (headers): Add bits/select2.h.
13527 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13528 * misc/bits/select2.h: New file.
13529 * include/bits/select2.h: New file.
13530 * debug/Makefile (routines): Add fdelt_chk.
13531 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13532 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13534 * debug/fdelt_chk.c: New file.
13536 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13537 * wcsmbs/test-wmemcmp.c: Likewise.
13538 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13539 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13541 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13543 * string/Makefile (strop-tests): Add memcmp.
13544 * string/test-wmemcmp.c: New file.
13545 * string/test-memcmp.c: Add wmemcmp support.
13547 2011-09-08 Roland McGrath <roland@hack.frob.com>
13550 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13553 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13554 garbage value in a __mach_port_mod_refs call in the cases of the
13555 task-self and thread-self ports.
13557 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13559 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13561 2011-09-08 Andreas Schwab <schwab@redhat.com>
13563 * elf/dl-load.c (lose): Check for non-null L.
13565 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13567 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13569 * elf/dl-libc.c (dlerror_run): Pass back error code from
13573 * elf/dl-load.c (lose): Free l_origin if it is valid.
13575 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13577 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13578 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13579 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13580 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13581 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13582 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13584 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13586 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13587 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13588 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13589 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13590 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13591 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13592 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13593 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13594 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13595 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13597 2011-08-15 Alan Modra <amodra@gmail.com>
13600 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13601 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13602 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13603 ppc_mcount to static-only-routines.
13604 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13606 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13607 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13609 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13611 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13612 for finite and infinity parameters.
13614 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13617 and add nop instructions for throughput optimization.
13618 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13620 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13622 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13623 aligned copy for power7 with vector-scalar instructions.
13624 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13626 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13628 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13631 2011-09-07 Andreas Schwab <schwab@redhat.com>
13634 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13637 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13639 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13640 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13641 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13642 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13645 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13647 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13648 Forgot to demangle the pointer.
13650 * sysdeps/i386/sysdep.h: Define atom_text_section.
13651 * sysdeps/x86_64/sysdep.h: Likewise.
13652 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13653 section with atom_text_section.
13654 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13655 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13656 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13658 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13660 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13661 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13662 already be defined. Change to take two parameters and don't assign
13663 result to variable. Adjust all users.
13664 Define INTERNAL_GETTIME if not already defined.
13665 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13668 HAVE_CLOCK_GETTIME_VSYSCALL.
13669 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13671 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13672 gettimeofday vsyscall, just use time.
13674 2011-09-06 Andreas Schwab <schwab@redhat.com>
13676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13679 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13681 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13685 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13686 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13687 syscall if possible.
13689 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13691 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13692 e_ident. Don't pass to find_mapsXX.
13693 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13695 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13698 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13699 * sysdeps/x86_64/multiarch/strchr.S: Update.
13700 Check bit_slow_BSF bit.
13701 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13702 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13703 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13705 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13708 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13710 (tryshell): Define.
13711 (__spawni): Change last parameter to be flag. Test
13712 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13713 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13714 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13715 * posix/spawni.c: Likewise.
13716 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13717 * posix/spawnp.c: Likewise. Change normal version to use
13718 SPAWN_XFLAGS_USE_PATH.
13719 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13720 SPAWN_XFLAGS_TRY_SHELL.
13723 * posix/glob.h: Remove gcc 1.x support.
13726 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13728 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13731 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13733 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13734 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13735 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13736 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13737 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13738 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13740 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13742 * sysdeps/x86_64/wcscmp.S: New file.
13744 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13745 wcscmp-c wcscmp-sse2
13746 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13747 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13748 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13749 * wcsmbs/wcscmp.c: Allow renaming.
13751 2011-09-05 David S. Miller <davem@davemloft.net>
13753 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13754 stack slot, rather than the struct return pointer slot.
13755 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13756 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13758 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13760 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13762 * po/ja.po: Update from translation team.
13765 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13766 kernel in 64-bit binaries.
13768 2011-09-01 David S. Miller <davem@davemloft.net>
13770 * elf/elf.h (HWCAP_SPARC_*): Move to..
13771 * sysdeps/sparc/sysdep.h: this new file and add new values.
13772 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13773 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13774 _DL_HWCAP_COUNT to 24.
13775 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13777 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13778 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13779 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13780 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13781 instead of magic constants.
13782 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13784 2011-08-31 David S. Miller <davem@davemloft.net>
13786 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13788 Reimplement to do errno handling inline.
13789 (SYSCALL_ERROR_HANDLER): New macro.
13790 (__SYSCALL_STRING): Do not do errno handling in asm.
13791 (__CLONE_SYSCALL_STRING): Delete.
13792 (__INTERNAL_SYSCALL_STRING): Delete.
13793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13794 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13795 (PSEUDO): Reimplement to do errno handling inline.
13796 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13797 (SYSCALL_ERROR_HANDLER): New macro.
13798 (__SYSCALL_STRING): Do not do errno handling in asm.
13799 (__CLONE_SYSCALL_STRING): Delete.
13800 (__INTERNAL_SYSCALL_STRING): Delete.
13801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13802 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13804 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13805 (inline_syscall*): Add 'err' argument.
13806 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13807 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13808 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13809 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13811 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13812 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13814 2011-08-30 Andreas Schwab <schwab@redhat.com>
13816 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13818 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13820 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13823 2011-08-24 David S. Miller <davem@davemloft.net>
13825 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13827 2011-08-24 Andreas Schwab <schwab@redhat.com>
13829 * elf/Makefile: Add rules to build and run unload8 test.
13830 * elf/unload8.c: New file.
13831 * elf/unload8mod1.c: New file.
13832 * elf/unload8mod1x.c: New file.
13833 * elf/unload8mod2.c: New file.
13834 * elf/unload8mod3.c: New file.
13836 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13839 2011-08-23 David S. Miller <davem@davemloft.net>
13841 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13842 subtract stack bias.
13843 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13844 %sp not %fp in calculations.
13845 (_JMPBUF_UNWINDS_ADJ): Likewise.
13847 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13848 (aio_suspend): Call it to force an exception region around the
13849 AIO_MISC_WAIT() invocation.
13851 2011-08-23 Andreas Schwab <schwab@redhat.com>
13853 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13856 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13858 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13860 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13861 and <dl-machine.h>.
13862 (Elf64_FuncDesc): Remove.
13864 2011-08-22 David S. Miller <davem@davemloft.net>
13866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13867 sigaltstack check, add missing cfi directives.
13868 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13869 missing cfi directives, and sigaltstack handling.
13871 2011-08-16 Andreas Schwab <schwab@redhat.com>
13874 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13875 object is seen twice.
13876 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13878 * elf/Makefile (distribute): Add tst-initorder2.c.
13879 (tests): Add tst-initorder2.
13880 (modules-names): Add tst-initorder2a tst-initorder2b
13881 tst-initorder2c tst-initorder2d. Add rules to build them.
13882 ($(objpfx)tst-initorder2.out): New rule.
13883 * elf/tst-initorder2.c: New file.
13884 * elf/tst-initorder2.exp: New file.
13886 2011-08-22 Andreas Schwab <schwab@redhat.com>
13888 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13890 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13891 dependencies back to end of function.
13893 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13894 $(elfobjdir)/ld.so.
13896 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13899 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13900 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13901 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13902 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13903 of __vdso_gettimeofday.
13904 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13905 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13907 (_libc_vdso_platform_setup): Remove initialization of
13908 __vdso_gettimeofday and __vdso_time.
13910 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13912 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13913 and fgetc_unlocked.
13914 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13917 * elf/dl-open.c (add_to_global): Report additions to the global scope
13918 for LD_DEBUG=scopes.
13919 (dl_open_worker): Also print scope of newly loaded dependencies.
13920 (_dl_show_scope): Indicate if there is no scope.
13923 * stdio-common/Makefile (tests): Add bug24.
13924 * stdio-common/bug24.c: New file.
13926 2011-08-19 Andreas Jaeger <aj@suse.de>
13929 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13930 non-existant file when using close-on-exec mode.
13932 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13934 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13935 the very first instruction.
13937 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13938 the CFI state in the end.
13939 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13940 inclusion of dl-trampoline.h.
13941 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13943 2011-08-19 Andreas Schwab <schwab@redhat.com>
13945 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13946 expectations for long double.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13949 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13951 2011-08-14 David S. Miller <davem@davemloft.net>
13953 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13954 artificual limit depends upon the system page size.
13956 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13958 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13959 * resolv/Makefile: Define CFLAGS-libresolv.
13961 2011-08-17 Andreas Schwab <schwab@redhat.com>
13963 * nss/makedb.c (compute_tables): Make variables used in nested
13966 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13968 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13969 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13970 if buffer was too small.
13972 * elf/pldd.c (main): Attach to all threads in the process.
13973 Rewrite /proc handling to use *at functions.
13975 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13977 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13978 specifies first scope to show.
13979 (dl_open_worker): Update callers. Move printing scope of new
13980 object to before the relocation.
13981 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13982 * sysdeps/generic/ldsodefs.h: Update declaration.
13984 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13985 string for the scope number.
13987 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13989 * nscd/servicescache.c (cache_addserv): Make sure written is always
13992 2011-08-14 Roland McGrath <roland@hack.frob.com>
13994 * sysdeps/i386/i486/bits/atomic.h
13995 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13996 statement expression, so as to suppress "set but not used" warning.
13997 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13999 * string/strncat.c (STRNCAT): Use prototype definition.
14001 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14002 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14004 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14005 (localedef-modules): Add localedef.
14006 (locale-modules): Add locale.
14008 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14009 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14010 to avoid a warning.
14012 2011-08-14 David S. Miller <davem@davemloft.net>
14014 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14015 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14017 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14019 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14020 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14021 * elf/rtld.c (dl_main): Set l_name of vDSO.
14022 Call _dl_show_scope when DL_DEBUG_SCOPES.
14023 (process_dl_debug): Recognize scopes flag and also set it for all.
14024 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14025 Declare _dl_show_scope.
14027 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14028 (do_dlopen): Pass caller_dlopen to dl_open.
14029 (__libc_dlopen_mode): Initialize caller_dlopen.
14031 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14032 of libc. Make tolower call locale-independent. Optimize a bit by
14033 using isdigit instead of isalnum.
14034 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14036 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14038 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14039 was a dependency or dynamically loaded.
14041 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14043 * intl/l10nflist.c: Allow architecture-specific pop function.
14044 * sysdeps/x86_64/l10nflist.c: New file.
14046 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14049 2011-08-10 Andreas Schwab <schwab@redhat.com>
14051 * include/dirent.h: Add libc_hidden_proto for scandirat and
14052 scandirat64. Don't declare __scandirat64.
14053 * dirent/scandirat.c: Add libc_hidden_def.
14054 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14055 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14057 2011-08-10 David S. Miller <davem@davemloft.net>
14059 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14061 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14062 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14063 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14065 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14067 * Versions.def [libc]: Add GLIBC_2.15.
14068 * dirent/Makefile (routines): Add scandirat and scandirat64.
14069 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14071 * dirent/dirent.h: Declare scandirat and scandirat64.
14072 * dirent/scandirat.c: New file.
14073 * dirent/scandirat64.c: New file.
14074 * sysdeps/wordsize-64/scandirat.c: New file.
14075 * sysdeps/wordsize-64/scandirat64.c: New file.
14076 * dirent/opendir.c: Define opendirat.
14077 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14079 * dirent/scandir64.c: Adjust for scandir.c change.
14080 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14081 __scandirat64, and __scandir_cancel_handler.
14082 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14083 additional parameter and use openat instead of open (outside of ld.so).
14084 Add new __opendir as wrapper around __opendirat.
14085 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14086 here without requiring old scandirat implementation.
14088 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14090 * dirent/scandir.c (cancel_handler): Renamed to
14091 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14092 defined. Adjust users.
14093 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14094 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14096 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14098 * string/test-string.h (IMPL): Use __STRING to expand name and then
14101 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14104 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14106 * string/Makefile: Update.
14107 (strop-tests): Append strncat.
14108 * string/test-wcscmp.c: New file.
14109 New comprehensive test for wcscmp.
14110 * string/test-strcmp.c: Update.
14111 (WIDE): New define.
14113 2011-07-22 Andreas Schwab <schwab@redhat.com>
14115 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14118 2011-07-26 Andreas Schwab <schwab@redhat.com>
14120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14121 encoding to ACE if AI_IDN.
14123 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14126 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14128 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14130 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14131 Fix overflow bug in strncat.
14132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14134 * string/test-strncat.c: Update.
14135 Add new tests for checking overflow bugs.
14137 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14140 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14141 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14142 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14143 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14144 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14145 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14146 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14147 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14150 (USE_AS_STRCAT): Define.
14151 Add strcat and strncat support.
14152 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14154 2011-07-25 Andreas Schwab <schwab@redhat.com>
14156 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14157 __n bigger than INT_MAX+1.
14158 (__strncmp_g): Likewise.
14160 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14162 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14163 * libio/stido.h: Likewise.
14165 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14170 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14171 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14172 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14173 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14174 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14177 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14182 (_dl_x86_64_save_sse): Likewise.
14184 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14188 (_dl_x86_64_save_sse): Likewise.
14190 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14192 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14194 2011-07-21 Andreas Schwab <schwab@redhat.com>
14196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14198 (_dl_x86_64_save_sse): Use correct AVX check.
14200 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14202 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14203 bug in strncpy/strncat.
14204 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14206 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14208 * string/tester.c (test_strcat): Add tests for different alignments
14209 of source and destination.
14210 (test_strncat): Likewise.
14212 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14215 * posix/glob.c (glob): Check passed in values before using them in
14216 expressions to avoid some overflows.
14217 (glob_in_dir): Likewise.
14220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14221 check for AVX enablement so that we don't crash with old kernels and
14223 * elf/tst-audit4.c: Add same checks here.
14224 * elf/tst-audit6.c: Likewise.
14226 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14228 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14230 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14232 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14234 * po/cs.po: Update from translation team.
14235 * po/bg.po: Likewise.
14237 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14239 * misc/sys/cdefs.h: Add support for const attribute.
14240 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14241 to gnu_dev_{major,minor,makedev} functions.
14243 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14245 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14247 2011-07-20 Andreas Schwab <schwab@redhat.com>
14249 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14252 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14254 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14255 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14256 register in order to avoid conflicts with the soft frame pointer
14257 being held in r11 when necessary.
14258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14259 (INTERNAL_VSYSCALL_NCS): Likewise.
14261 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14263 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14264 * elf/dl-fini.c (_dl_fini): Adjust caller.
14265 * elf/dl-close.c (_dl_close_worker): Likewise.
14266 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14268 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14270 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14271 "aux_cache->nlibs < 0".
14273 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14274 in the reload-count case.
14276 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14279 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14280 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14281 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14282 * sysdeps/x86_64/multiarch/strcat.S: New file.
14283 * sysdeps/x86_64/multiarch/strncat.S: New file.
14284 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14285 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14286 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14287 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14289 (USE_AS_STRCAT): Define.
14290 Add strcat and strncat support.
14291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14292 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14293 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14294 * string/strncat.c: Update.
14295 (USE_AS_STRNCAT): Define.
14296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14297 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14299 * sysdeps/x86_64/multiarch/init-arch.h
14300 (bit_Prefer_PMINUB_for_stringop): New.
14301 (index_Prefer_PMINUB_for_stringop): Likewise.
14302 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14303 bit_Prefer_PMINUB_for_stringop.
14305 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14307 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14309 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14310 of casting of buffer.
14311 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14312 buffer32 and buffer64.
14313 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14314 writes instead of casting of buffer.
14315 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14317 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14320 2011-07-19 Andreas Schwab <schwab@redhat.com>
14322 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14324 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14326 * nscd/nscd.c (termination_handler): Don't do anything for a database
14327 if it has not yet been initialized.
14329 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14331 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14333 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14335 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14337 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14339 * po/nl.po: Update from translation team.
14340 * po/sv.po: Likewise.
14342 2011-07-16 Roland McGrath <roland@hack.frob.com>
14344 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14345 now disallowed by GCC.
14347 * configure.in (use-default-link): Default to yes if a test -shared
14348 link meets our qualifications.
14349 * configure: Regenerated.
14351 * config.make.in (output-format): New variable.
14352 * configure.in: Check for ld --print-output-format support.
14353 * configure: Regenerated.
14354 * Makerules ($(common-objpfx)format.lds)
14355 [$(output-format) != unknown]: Just use $(output-format),
14356 instead of the linker-script munging.
14358 2011-07-14 Roland McGrath <roland@hack.frob.com>
14360 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14361 of $(common-objpfx)shlib.lds.
14362 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14364 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14365 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14367 * configure.in (-z relro check): Adjust test code to add a large
14368 writable data section after it.
14369 * configure: Regenerated.
14371 2011-07-11 Roland McGrath <roland@hack.frob.com>
14373 * configure.in (-z relro check): Fix test code to make the variable
14375 * configure: Regenerated.
14377 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14379 * nscd/nscd.h (struct traced_file): Define.
14380 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14381 elements. Add traced_files.
14382 (inotify_fd): Declare.
14383 (register_traced_file): Declare.
14384 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14385 (inotify_fd): Export.
14386 (resolv_conf_descr): Remove.
14387 (nscd_init): Move inotify descriptor creation to main.
14388 Don't register files for notification here.
14389 (register_traced_file): New function.
14390 (invalidate_cache): Don't use reset_res to determine whether to call
14391 res_init, go through the list of registered files.
14392 (main_loop_poll): The inotify descriptors are now stored in the
14393 structures for the traced files.
14394 (main_loop_epoll): Likewise
14395 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14396 to __nss_disable_nscd.
14397 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14398 for a database anymore. Check the records for all the registered
14400 * nss/Makefile (libnss_files-routines): Add files-init.
14401 (libnss_db-routines): Add db-init.
14402 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14403 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14404 * nss/nss_db/db-init.c: New file.
14405 * nss/nss_files/files-init.c: New file.
14406 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14407 __nss_lookup_function.
14408 (__nss_lookup_function): Call nss_load_library.
14409 (nss_load_all_libraries): New function.
14410 (__nss_disable_nscd): Take parameter with callback function for files
14411 to register. Set is_nscd. Load all the DSOs for the NSS modules
14412 used for the cached services.
14413 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14414 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14415 options for features to all the files in nscd.
14417 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14419 2011-07-10 Roland McGrath <roland@hack.frob.com>
14421 * csu/elf-init.c (__libc_csu_init): Comment typo.
14423 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14425 * po/pl.po: Update from translation team.
14426 * po/ja.po: Likewise.
14427 * po/ru.po: Likewise.
14428 * po/ko.po: Likewise.
14429 * po/fr.po: Likewise.
14431 2011-07-09 Roland McGrath <roland@hack.frob.com>
14433 * configure.in (.ctors/.dtors header and trailer check):
14434 Use an empirical test on a built program.
14435 * configure: Regenerated.
14437 * configure.in (-z relro check): Use an empirical test on a built DSO.
14438 Detect, but do not require, on ia64.
14439 * configure: Regenerated.
14441 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14442 Update tests that use readelf to use $READELF instead.
14443 * configure: Regenerated.
14445 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14447 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14448 if the result is not used.
14450 2011-07-05 Andreas Jaeger <aj@suse.de>
14453 * stdlib/tst-strtod.c: Add testcase.
14455 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14457 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14458 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14459 The latter has a higher limit. Take additional parameter to pass to
14461 (__pathconf): Pass file to __statfs_link_max.
14462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14464 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14468 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14471 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14472 (__statfs_filesize_max): Likewise.
14473 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14475 2011-07-05 Andreas Jaeger <aj@suse.de>
14477 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14479 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14481 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14483 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14486 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14488 * Makefile (strop-tests): Add strncat.
14489 * string/test-strncat.c: New file.
14491 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14493 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14495 2011-06-21 Andreas Jaeger <aj@suse.de>
14497 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14498 Copy rule from iconvdata/Makefile.
14500 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14503 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14504 but no long options are defined, just return 'W'.
14506 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14509 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14511 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14513 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14515 (innetgr): Likewise.
14517 2011-07-05 Roland McGrath <roland@hack.frob.com>
14519 * config.make.in (install_root): Default to $(DESTDIR).
14521 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14523 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14525 2011-07-02 Roland McGrath <roland@hack.frob.com>
14527 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14529 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14530 containing directory rather than embedding absolute directory names.
14532 * scripts/check-local-headers.sh: Rewritten using awk.
14533 Match by word, not by line. Print error messages for matches.
14534 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14536 * Makerules [shlib-lds-flags empty]:
14537 ($(common-objpfx)libc_pic.opts): New target.
14538 ($(common-objpfx)libc_pic.os.clean): New target.
14539 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14541 * config.make.in (OBJCOPY): New variable.
14542 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14543 * configure: Regenerated.
14545 * config.make.in (use-default-link): New variable.
14546 * configure.in (use_default_link): Grok --with-default-link to set it.
14547 * configure: Regenerated.
14548 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14549 (shlib-lds, shlib-lds-flags): Define to empty.
14551 * Makerules (shlib-lds): New variable.
14552 (shlib-lds-flags): New variable.
14553 (build-shlib, build-moduile, build-module-asneeded): Use it.
14554 ($(common-objpfx)libc.so): Use $(shlib-lds).
14555 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14556 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14558 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14559 DT_FLAGS/DT_FLAGS_1 with zero flags.
14561 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14562 linker script munging.
14564 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14566 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14568 * crypt/sha512.c (sha512_process_block): Perform total addition using
14569 128-bit if possible.
14570 (__sha512_finish_ctx): Likewise.
14571 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14573 * crypt/sha256.c (SWAP64): Define.
14574 (sha256_process_block): Perform total addition using 64-bit if
14576 (__sha256_finish_ctx): Likewise.
14578 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14580 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14581 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14582 * nscd/hstcache.c (cache_addhst): Likewise.
14583 * nscd/grpcache.c (cache_addgr): Likewise.
14584 * nscd/aicache.c (addhstaiX): Likewise
14585 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14587 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14589 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14590 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14591 * nscd/hstcache.c (cache_addhst): Likewise.
14592 * nscd/grpcache.c (cache_addgr): Likewise.
14593 * nscd/aicache.c (addhstaiX): Likewise
14595 2011-07-01 Andreas Schwab <schwab@redhat.com>
14597 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14598 domain only when needed.
14600 2011-06-30 Andreas Schwab <schwab@redhat.com>
14602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14603 is always restored.
14605 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14607 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14608 are re-adding the entry.
14609 * nscd/servicescache.c (cache_addserv): Likewise.
14611 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14613 * sysdeps/generic/dl-irel.h: fix protection against multiple
14615 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14617 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14620 * malloc/memusage.sh: Fix quoting in message.
14621 * debug/xtrace.sh: Likewise.
14623 * configure.in: Remove support for --experimental-malloc option, make
14625 * config.make.in: Likewise.
14626 * malloc/Makefile: Likewise.
14628 2011-06-27 Andreas Schwab <schwab@redhat.com>
14630 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14631 two-byte characters.
14633 2011-06-27 Roland McGrath <roland@hack.frob.com>
14635 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14636 AC_CACHE_CHECK invocation.
14637 * configure: Regenerated.
14639 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14641 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14644 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14645 bit from old_res_options.
14647 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14649 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14650 value type for setfct.
14652 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14654 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14655 __gettimeofday instead of gettimeofday.
14657 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14659 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14661 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14663 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14665 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14668 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14671 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14672 strcpy-sse2-unaligned strncpy-sse2-unaligned
14673 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14674 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14675 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14676 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14677 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14678 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14679 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14680 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14681 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14682 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14683 (STRCPY): Support SSE2 and SSSE3 versions.
14685 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14688 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14689 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14690 kernels which artificially limit size of requests.
14692 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14695 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14696 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14697 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14698 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14699 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14700 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14701 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14704 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14705 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14706 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14707 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14708 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14710 Enable unaligned load optimization for Intel Core i3, i5 and i7
14712 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14714 (index_Fast_Unaligned_Load): Define.
14715 (HAS_FAST_UNALIGNED_LOAD): Define.
14717 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14719 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14721 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14724 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14725 until it is clear that the information is realy needed.
14726 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14728 2011-06-22 Andreas Schwab <schwab@redhat.com>
14730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14732 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14735 /sys/devices/system/cpu/online if it is usable.
14737 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14738 reading the information from the /proc filesystem to once a second.
14740 2011-06-21 Andreas Jaeger <aj@suse.de>
14742 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14743 NULL after inclusion of kernel headers.
14745 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14747 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14748 calls to internal_setent.
14751 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14752 addresses using gethostbyname4_r ignore IPv4 addresses.
14754 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14755 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14757 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14759 2011-06-20 David S. Miller <davem@davemloft.net>
14761 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14763 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14765 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14766 (elf_irel): Use it.
14767 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14768 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14769 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14770 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14771 * sysdeps/x86_64/dl-irel.h: Likewise.
14773 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14774 * elf/dl-sym.c: Likewise.
14776 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14778 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14779 need to dereference resplen2.
14781 2011-06-14 Andreas Schwab <schwab@redhat.com>
14783 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14785 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14787 * Makeconfig: Define vardbdir and inst_vardbdir.
14788 * nss/Makefile: Add rules to install db-Makefile.
14790 * nss/nss_db/db-XXX.c: Cleanup.
14792 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14793 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14795 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14796 * nss/makedb.c: Implement -g option to specify that value strings
14797 are generated and should not be added to table iterated over for
14799 * nss/nss_db/db-initgroups.c: New file.
14801 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14804 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14805 (internal_getgrouplist): Adjust to name change.
14806 Update use_initgroups_entry if this is not the first call.
14807 * nss/databases.def: Add initgroups entry.
14809 * nss/makedb.c (compute_tables): Check result of multiple hash table
14810 sizes to minimize maximum chain length.
14812 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14814 * Versions.def: Add entry for libnss_db.
14815 * shlib-versions: Likewise.
14816 * nss/Makefile: Add rules to build libnss_db.
14817 * nss/Versions: Add libnss_db information. Organize libnss_files
14819 * nss/db-Makefile: Add gshadow support. Change rules for the new
14820 makedb progra. Some minor improvements to generate smaller files.
14821 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14823 * nss/makedb.c: ...here.
14824 Improve database format to be smaller and require less memory at
14826 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14828 * nss/nss_db/db-netgrp.c: Likewise.
14829 * nss/nss_db/db-open.c: Likewise.
14830 * nss/nss_files/flies-XXX.x: Adjust comments.
14831 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14832 * nss/nss_files/files-grp.c: Likewise.
14833 * nss/nss_files/files-hosts.c: Likewise.
14834 * nss/nss_files/files-network.c: Likewise.
14835 * nss/nss_files/files-proto.c: Likewise.
14836 * nss/nss_files/files-pwd.c: Likewise.
14837 * nss/nss_files/files-rpc.c: Likewise.
14838 * nss/nss_files/files-service.c: Likewise.
14839 * nss/nss_files/files-sgrp.c: Likewise.
14840 * nss/nss_files/files-spwd.c: Likewise.
14841 * nss/nss_db/db-alias.c: Removed.
14842 * nss/nss_db/dummy-db.h: Removed.
14844 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14846 * nss/makedb.c: Rewritten to not use database library.
14847 * nss/Makefile: Update to build new makedb program.
14849 2011-06-14 Andreas Jaeger <aj@suse.de>
14851 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14852 memset declaration.
14854 2011-06-10 Andreas Schwab <schwab@redhat.com>
14856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14859 2011-06-10 Roland McGrath <roland@hack.frob.com>
14861 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14862 * elf/Makefile ($(objpfx)ld.so): Likewise.
14864 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14865 Don't list ld.so twice in dependencies.
14867 * posix/bug-regex31.c: Include <stdlib.h>.
14869 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14871 * nis/nss_compat/compat-spwd.c
14872 (getspent_next_nss_netgr): Remove unused variable.
14873 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14875 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14876 nonmembers" output to use the right array.
14878 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14880 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14882 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14883 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14884 * catgets/gencat.c (read_input_file): Likewise.
14885 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14887 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14888 variable definition inside #if's controlling its use.
14890 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14892 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14894 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14896 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14899 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14901 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14902 * configure: Regenerated.
14904 * Makerules: Revert last change.
14905 * elf/Makefile: Likewise.
14907 2011-06-09 Roland McGrath <roland@hack.frob.com>
14909 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14910 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14911 (reloc-link): Likewise.
14913 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14915 * elf/Makefile: Add rules to build pldd.
14916 * elf/pldd.c: New file.
14917 * elf/pldd-xx.c: New file.
14919 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14921 * version.h: Update for 2.15 development version.
14923 2011-06-07 David S. Miller <davem@davemloft.net>
14925 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14928 elf_machine_lazy_rel): Likewise.
14929 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14930 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14931 elf_machine_lazy_rel): Likewise.
14932 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14933 dl_hwcap via passed in argument.
14934 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14937 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14939 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14941 2011-06-06 Roland McGrath <roland@hack.frob.com>
14944 * manual/fdl-1.1.texi: New file, verbatim from:
14945 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14946 * manual/lgpl-2.1.texi: New file, verbatim from:
14947 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14948 * manual/Makefile (licenses): New variable, list those new file names.
14950 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14952 * manual/fdl.texi: File removed.
14953 * manual/lesser.texi: File removed.
14954 * manual/libc.texinfo (Copying, Documentation License):
14955 Use new @include file names, put @appendix directive before @include.
14957 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14960 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14961 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14962 (mq_open): Add __NTH.
14964 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14967 Assume Intel Core i3/i5/i7 processor if AVX is available.
14969 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14974 2011-05-31 Andreas Schwab <schwab@redhat.com>
14976 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14977 memory. Use alloca_account. Fix memory leak when retrying.
14979 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14981 * version.h (RELEASE): Bump for 2.14 release.
14982 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14984 * config.make.in (RANLIB): Remove entry.
14986 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14988 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14989 (libc.pot): Work around missing support for .ksh extension in xgettext.
14992 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14993 if both request failed.
14994 (send_dg): In case of server errors clear resplen or *resplen2.
14997 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14998 when there are multiple maps.
14999 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15000 (_dl_fini): Remove test here.
15002 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15004 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15007 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15008 bit from old_res_options.
15009 (gaih_inet): Likewise.
15012 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15015 * resolv/res_init.c (res_setoptions): Make the code more compact.
15018 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15022 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15024 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15027 * malloc/malloc.h: Declare malloc hook variables as volatile.
15029 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15033 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15034 raise in the comment.
15035 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15036 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15037 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15039 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15042 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15043 grow the buffers more if it already has to be sufficient.
15044 (build_wcs_upper_buffer): Likewise.
15045 * posix/regexec.c (check_matching): Likewise.
15046 (clean_state_log_if_needed): Likewise.
15047 (extend_buffers): Don't enlarge buffers beyond size of the input
15049 Patches mostly by Emil Wojak <emil@wojak.eu>.
15050 * posix/bug-regex32.c: New file.
15051 * posix/Makefile (tests): Add bug-regex32.
15053 * locale/findlocale.c (_nl_find_locale): Return right away if
15054 _nl_explode_name failed.
15055 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15057 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15059 * debug/xtrace.sh: Unify messages.
15060 * malloc/memusage.sh: Likewise.
15063 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15064 time symbol from vDSO. Substitute with vsyscall if not available.
15065 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15068 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15069 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15070 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15071 Add sendmmsg and internal_sendmmsg.
15072 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15073 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15074 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15076 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15077 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15080 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15083 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15084 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15086 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15090 * iconvdata/Makefile (tests): Add bug-iconv9.
15091 * iconvdata/bug-iconv9.c: New file.
15093 2011-05-27 Andreas Schwab <schwab@redhat.com>
15096 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15098 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15100 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15101 (struct user_regs_struct): Change intcs field back to cs.
15103 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15105 * po/ja.po: Update from translation team.
15107 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15110 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15111 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15113 2011-05-20 Andreas Schwab <schwab@redhat.com>
15115 * stdlib/longlong.h: Update from GCC.
15117 2011-05-23 Andreas Schwab <schwab@redhat.com>
15119 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15121 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15122 Add parameter name.
15123 (__sysconf): Pass it down.
15125 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15128 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15130 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15131 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15132 add in in __libc_use_alloca calls. Adjust callers.
15133 (glob): Use malloc in some situations.
15135 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15136 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15139 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15141 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15142 and CLOCK_BOOTTIME_ALARM.
15145 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15148 * string/_strerror.c (__strerror_r): Print negative errors as signed
15152 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15153 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15154 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15156 * configure.in: Fix typo in redirection and correct removal of test
15157 files in two cases.
15160 * locale/setlocale.c (new_composite_name): Fix test to check for
15161 identical name of all categories.
15164 * libio/filedoalloc.c (local_isatty): New function.
15165 (_IO_file_doallocate): Use local_isatty.
15166 * stdio-common/perror.c (perror): In case a new stream is used
15167 forward the stream error.
15168 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15171 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15176 * include/alloca.h (extend_alloca_account): Define.
15179 * posix/regex.h: Fix comments with documentation of user-accessible
15180 fields after compilation and describe correct free'ing of pattern
15181 after re_compile_pattern.
15182 Patch by Reuben Thomas <rrt@sc3d.org>.
15184 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15186 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15187 and -mno-altivec to prevent the compiler from using Altivec and/or
15188 VSX instructions when the corresponding registers are not available.
15190 2011-05-19 Andreas Schwab <schwab@redhat.com>
15192 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15194 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15196 * libio/freopen.c (freopen): Use __dup2, not dup2.
15197 * libio/freopen64.c (freopen64): Likewise.
15199 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15202 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15203 * math/Makefile (tests): Add test-powl.
15204 (CFLAGS-test-powl.c): Define.
15205 * math/test-powl.c: New file.
15207 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15209 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15211 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15214 * iconvdata/gb18030.c: Update to GB18020-2005.
15216 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15218 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15219 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15220 Patch by Aharon Robbins <arnold@skeeve.com>.
15223 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15227 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15228 through underflows.
15231 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15232 point to strings before performing equality test for error_one_per_line
15236 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15239 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15240 (struct user_fpregs_struct): Avoid __uint*_t types.
15243 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15244 symbol info. Use it instead of calling _dl_addr locally.
15245 (lock_and_info): New function.
15246 (tr_freehook): Call lock_and_info and pass symbol info as additional
15247 parameter to tr_where.
15248 (tr_mallochook): Likewise.
15249 (tr_reallochook): Likewise.
15250 (tr_memalignhook): Likewise.
15252 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15253 used and couldn't be at all thread-safe.
15255 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15257 * libio/freopen.c (freopen): Don't close old file descriptor
15258 before the new one is opened. Instead dup the new file descriptor
15259 to the old one after the new stream is created.
15260 * libio/freopen64.c (freopen64): Likewise.
15261 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15262 * libio/fileops.c (_IO_new_file_close_it): Handle new
15263 _IO_FLAGS2_NOCLOSE flag.
15264 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15265 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15266 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15267 _IO_FLAGS2_NOCLOSE flag.
15268 * include/unistd.h: Add hidden_proto for dup3.
15269 Define __have_dup3.
15270 * io/dup3.c: Define hidden symbol.
15271 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15274 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15275 when an incomplete long option is used.
15276 * posix/tst-getopt_long1.c: New file.
15277 * posix/Makefile (tests): Add tst-getopt_long1.
15280 * scripts/config.guess: Update from autoconf-2.68.
15281 * scripts/config.sub: Likewise.
15284 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15286 (has_cpuclock): ...this. New function.
15287 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15288 macro here based on has_cpuclock code.
15291 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15292 First byte (not low byte) is now always NUL.
15293 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15296 Use non-cancelable interfaces.
15299 * locale/iso-639.def: Add entry for Sorani.
15302 * include/stdlib.h: Move include protection to the right place.
15303 Define abort_msg_s. Declare __abort_msg with it.
15304 * stdlib/abort.c (__abort_msg): Adjust type.
15305 * assert/assert.c (__assert_fail_base): New function. Majority
15306 of code from __assert_fail. Allocate memory for __abort_msg with
15308 (__assert_fail): Now call __assert_fail_base.
15309 * assert/assert-perr.c: Remove bulk of implementation. Use
15310 __assert_fail_base.
15311 * include/assert.hL Declare __assert_fail_base.
15312 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15314 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15316 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15320 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15321 until all modules are registered in the DTV.
15322 * elf/Makefile: Add rules to build and run tst-tls19.
15323 * elf/tst-tls19.c: New file.
15324 * elf/tst-tls19mod1.c: New file.
15325 * elf/tst-tls19mod2.c: New file.
15326 * elf/tst-tls19mod3.c: New file.
15327 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15330 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15334 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15335 two-byte sequence errors.
15336 * iconvdata/Makefile (tests): Add bug-iconv8.
15337 * iconvdata/bug-iconv8.c: New file.
15340 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15343 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15346 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15347 (dummy_getcfa): New function.
15348 (init): Get _Unwind_GetCFA address, use dummy if not found.
15349 (backtrace_helper): In recursion check, also check whether CFA changes.
15350 (__backtrace): Completely initialize arg.
15352 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15353 storing incomplete byte sequence in state object. Avoid testing for
15354 guaranteed too small input if we know there is enough data available.
15356 2011-05-11 Andreas Schwab <schwab@redhat.com>
15358 * Makeconfig (+link-pie): Indent.
15359 * Rules (binaries-pie): Define if $(have-fpie) and
15361 (binaries-shared): Also filter out $(binaries-pie).
15362 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15363 * nscd/Makefile (others-pie): Add nscd.
15364 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15365 ($(objpfx)nscd): Remove command override.
15366 * login/Makefile (others-pie): Add pt_chown.
15367 ($(objpfx)pt_chown): Remove command override.
15368 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15369 remove command overrides.
15371 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15373 * libio/tst_putwc.c: Fix error messages.
15376 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15377 currently writing and seek to current position when not.
15378 * libio/Makefile (tests): Add bug-fclose1.
15379 * libio/bug-fclose1.c: New file.
15381 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15384 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15385 don't set DF_1_NODELETE here.
15386 (do_lookup_x): When entering new entry test for copy relocation
15387 and if necessary set DF_1_NODELETE flag.
15388 * elf/tst-unique4.cc: New file.
15389 * elf/tst-unique4.h: New file.
15390 * elf/tst-unique4lib.cc: New file.
15391 * elf/Makefile: Add rules to build and run tst-unique4.
15392 Patch by Piotr Bury <pbury@goahead.com>.
15394 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15397 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15400 * misc/mntent_r.c (addmntent): Flush the stream after the output
15403 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15404 (is_trusted_path_normalize): Skip initial colon. Append slash
15405 to empty buffer. Duplicate is_trusted_path code but allow
15406 constructed patch to be prefix.
15407 (is_dst): Allow $ORIGIN followed by /.
15408 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15409 Correct testing of result of is_trusted_path_normalize
15410 (decompose_rpath): Fix warning.
15412 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15415 * grp/initgroups.c (internal_getgrouplist): When we found the service
15416 list through the initgroups entry in nsswitch.conf do not always
15417 continue on a successful lookup. Don't always use the
15418 __nss_group_database value if it is set.
15419 * nss/nsswitch.conf (initgroups): Change action for successful db
15420 lookup to continue for compatibility.
15422 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15425 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15427 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15429 * iconvdata/tst-tables.sh: Likewise.
15430 * iconvdata/cp770.c: New file.
15431 * iconvdata/cp771.c: New file.
15432 * iconvdata/cp772.c: New file.
15433 * iconvdata/cp773.c: New file.
15434 * iconvdata/cp774.c: New file.
15435 * iconvdata/testdata/CP770: New file.
15436 * iconvdata/testdata/CP770..UTF8: New file.
15437 * iconvdata/testdata/CP771: New file.
15438 * iconvdata/testdata/CP771..UTF8: New file.
15439 * iconvdata/testdata/CP772: New file.
15440 * iconvdata/testdata/CP772..UTF8: New file.
15441 * iconvdata/testdata/CP773: New file.
15442 * iconvdata/testdata/CP773..UTF8: New file.
15443 * iconvdata/testdata/CP774: New file.
15444 * iconvdata/testdata/CP774..UTF8: New file.
15446 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15448 * iconvdata/gen-8bit-gap.sh: Likewise.
15449 * iconvdata/gen-8bit.sh: Likewise.
15451 * locale/iso-639.def: Add ary entry.
15454 * locale/C-translit.h.in: Add U20A1 transliteration.
15457 * locale/iso-639.def: Add wae entry.
15458 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15461 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15465 * locale/C-translit.h.in: Add entry for U20B9.
15466 Patch by pravin.d.s@gmail.com.
15468 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15471 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15472 ENAMETOOLONG use generic getcwd.
15473 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15474 in rtld. Use *stat64.
15475 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15476 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15477 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15478 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15479 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15480 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15481 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15482 __fstatat64 macros.
15483 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15484 * dirent/rewinddir.c: Add libc_hidden_def.
15485 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15486 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15488 * include/dirent.h (__alloc_dir): Add flags parameter.
15489 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15490 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15492 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15493 from fdopendir if O_CLOEXEC is already set.
15495 2011-03-15 Alan Modra <amodra@gmail.com>
15497 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15498 l_tls_firstbyte_offset non-zero. Save padding offset in
15499 l_tls_firstbyte_offset for later use.
15500 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15501 freeing static tls block.
15503 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15505 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15506 where #ifdef was intended. The intent is to prevent ARG_MAX from
15507 being defined by the kernel headers.
15509 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15512 * resolv/resolv.h: Define RES_NOTLDQUERY.
15513 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15514 no-tld-query and set RES_NOTLDQUERY.
15515 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15516 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15517 modern BIND to search name as TLD unless forbidden.
15519 2011-05-07 Petr Baudis <pasky@suse.cz>
15520 Ulrich Drepper <drepper@gmail.com>
15523 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15524 (is_trusted_path): ...to here.
15525 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15526 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15527 using is_trusted_path_normalize() in setuid scripts.
15529 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15531 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15532 __BEGIN/__END_DECLS.
15534 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15537 NSS_STATUS_NOTFOUND if no record was found.
15539 2011-05-05 Andreas Schwab <schwab@redhat.com>
15541 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15542 (headers-not-in-tirpc): Remove rpc/netdb.h
15543 * resolv/netdb.h: Revert last change.
15545 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15547 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15548 circular dependency between libgcc.a and libc.a.
15550 2011-05-05 Andreas Schwab <schwab@redhat.com>
15552 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15553 * nis/Makefile: Don't install rpcsvc/*.
15554 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15555 instead of <rpc/types.h>.
15556 (MAXHOSTNAMELEN): Define.
15558 2011-05-03 Andreas Schwab <schwab@redhat.com>
15560 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15562 2011-04-28 Maciej Babinski <mbabinski@google.com>
15565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15566 gethostbyname4_r when IPv6 results are possible.
15568 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15571 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15572 _PC_PIPE_BUF handling.
15574 2011-04-30 Bruno Haible <bruno@clisp.org>
15577 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15578 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15580 * inet/getnameinfo.c (getnameinfo): Likewise.
15582 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15584 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15585 to groups setting in database lookup.
15586 * nss/nsswitch.conf: Add initgroups entry.
15588 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15591 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15593 Patch by Eric Blake <eblake@redhat.com>.
15595 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15597 * sunrpc/Makefile (need-export-routines): Add svc_run.
15598 (routines): Remove svc_run.
15599 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15600 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15601 * sunrpc/svc_run.c (svc_run): Likewise.
15602 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15604 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15606 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15607 problem in reallocation in last patch.
15609 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15611 * sunrpc/Makefile: Move inclusion of Rules.
15613 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15615 * nss/nss_files/files-initgroups.c: New file.
15616 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15617 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15618 _nss_files_initgroups_dyn.
15620 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15622 * elf/elf.h (R_ARM_IRELATIVE): Define.
15624 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15626 * po/ru.po: Update from translation team.
15628 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15630 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15633 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15636 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15637 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15638 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15639 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15640 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15642 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15644 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15646 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15648 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15650 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15653 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15655 * stdlib/bug-getcontext.c: New file.
15656 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15658 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15660 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15661 instructions into .machine "z9-109".
15662 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15663 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15665 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15667 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15668 between environment variables and auxiliary vector.
15670 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15672 * Makefile: Add rules to build linkobj/libc.so.
15673 * include/libc-symbols.h: Define libc_hidden_nolink.
15674 * include/rpc/auth.h: Mark functions which are to be hidden.
15675 * include/rpc/auth_des.h: Likewise.
15676 * include/rpc/auth_unix.h: Likewise.
15677 * include/rpc/clnt.h: Likewise.
15678 * include/rpc/des_crypt.h: Likewise.
15679 * include/rpc/key_prot.h: Likewise.
15680 * include/rpc/pmap_clnt.h: Likewise.
15681 * include/rpc/pmap_prot.h: Likewise.
15682 * include/rpc/pmap_rmt.h: Likewise.
15683 * include/rpc/rpc_msg.h: Likewise.
15684 * include/rpc/svc.h: Likewise.
15685 * include/rpc/svc_auth.h: Likewise.
15686 * include/rpc/xdr.h: Likewise.
15687 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15688 * nss/Makefile: Likewise.
15689 * sunrpc/Makefile: Don't install headers. Build library with normal
15690 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15691 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15692 for the compat linking library. Remove use of INTDEF/INTUSE.
15693 * sunrpc/auth_none.c: Likewise.
15694 * sunrpc/auth_unix.c: Likewise.
15695 * sunrpc/authdes_prot.c: Likewise.
15696 * sunrpc/authuxprot.c: Likewise.
15697 * sunrpc/clnt_gen.c: Likewise.
15698 * sunrpc/clnt_perr.c: Likewise.
15699 * sunrpc/clnt_raw.c: Likewise.
15700 * sunrpc/clnt_simp.c: Likewise.
15701 * sunrpc/clnt_tcp.c: Likewise.
15702 * sunrpc/clnt_udp.c: Likewise.
15703 * sunrpc/clnt_unix.c: Likewise.
15704 * sunrpc/des_crypt.c: Likewise.
15705 * sunrpc/des_soft.c: Likewise.
15706 * sunrpc/get_myaddr.c: Likewise.
15707 * sunrpc/key_call.c: Likewise.
15708 * sunrpc/key_prot.c: Likewise.
15709 * sunrpc/netname.c: Likewise.
15710 * sunrpc/pm_getmaps.c: Likewise.
15711 * sunrpc/pm_getport.c: Likewise.
15712 * sunrpc/pmap_clnt.c: Likewise.
15713 * sunrpc/pmap_prot.c: Likewise.
15714 * sunrpc/pmap_prot2.c: Likewise.
15715 * sunrpc/pmap_rmt.c: Likewise.
15716 * sunrpc/publickey.c: Likewise.
15717 * sunrpc/rpc_cmsg.c: Likewise.
15718 * sunrpc/rpc_common.c: Likewise.
15719 * sunrpc/rpc_dtable.c: Likewise.
15720 * sunrpc/rpc_prot.c: Likewise.
15721 * sunrpc/rpc_thread.c: Likewise.
15722 * sunrpc/rtime.c: Likewise.
15723 * sunrpc/svc.c: Likewise.
15724 * sunrpc/svc_auth.c: Likewise.
15725 * sunrpc/svc_authux.c: Likewise.
15726 * sunrpc/svc_raw.c: Likewise.
15727 * sunrpc/svc_run.c: Likewise.
15728 * sunrpc/svc_simple.c: Likewise.
15729 * sunrpc/svc_tcp.c: Likewise.
15730 * sunrpc/svc_udp.c: Likewise.
15731 * sunrpc/svc_unix.c: Likewise.
15732 * sunrpc/svcauth_des.c: Likewise.
15733 * sunrpc/xcrypt.c: Likewise.
15734 * sunrpc/xdr.c: Likewise.
15735 * sunrpc/xdr_array.c: Likewise.
15736 * sunrpc/xdr_float.c: Likewise.
15737 * sunrpc/xdr_intXX_t.c: Likewise.
15738 * sunrpc/xdr_mem.c: Likewise.
15739 * sunrpc/xdr_rec.c: Likewise.
15740 * sunrpc/xdr_ref.c: Likewise.
15741 * sunrpc/xdr_sizeof.c: Likewise.
15742 * sunrpc/xdr_stdio.c: Likewise.
15744 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15747 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15748 * sysdeps/ia64/dl-tls.h: Likewise.
15749 * sysdeps/powerpc/dl-tls.h: Likewise.
15750 * sysdeps/s390/dl-tls.h: Likewise.
15751 * sysdeps/sh/dl-tls.h: Likewise.
15752 * sysdeps/sparc/dl-tls.h: Likewise.
15753 * sysdeps/x86_64/dl-tls.h: Likewise.
15754 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15756 2011-03-14 Andreas Schwab <schwab@redhat.com>
15758 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15759 rpath element also skip the following colon.
15760 (expand_dynamic_string_token): Add is_path parameter and pass
15761 down to DL_DST_REQUIRED and _dl_dst_substitute.
15762 (decompose_rpath): Call expand_dynamic_string_token with
15763 non-zero is_path. Ignore empty rpaths.
15764 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15767 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15772 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15775 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15776 Patch by Filipe David Manana <fdmanana@apache.org>.
15778 2011-04-07 Andreas Schwab <schwab@redhat.com>
15780 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15781 Maintain aligned stack.
15782 (CHECK_RSP): Remove unused macro.
15784 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15786 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15787 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15789 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15791 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15793 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15795 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15798 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15799 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15800 * sysdeps/x86_64/memmove.c: New file.
15801 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15802 (memcpy): Renamed to ...
15803 (__new_memcpy): This.
15804 (memcpy): Provide GLIBC_2_14 memcpy.
15805 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15806 (memcpy): Provide GLIBC_2_2_5 memcpy.
15808 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15811 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15813 2011-03-30 Andreas Schwab <schwab@redhat.com>
15815 * misc/syncfs.c: New file.
15816 * misc/Makefile (routines): Add syncfs.
15817 * posix/unistd.h: Declare syncfs.
15818 * sysdeps/unix/syscalls.list: Add syncfs.
15820 2011-04-01 Andreas Schwab <schwab@redhat.com>
15822 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15824 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15825 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15827 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15829 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15830 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15832 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15834 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15835 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15836 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15838 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15840 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15842 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15843 sync_file_range.c with -fexceptions.
15844 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15845 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15846 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15847 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15848 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15849 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15851 sync_file_range as cancellation point
15852 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15853 now a wrapper around __call_sync_file_range with cancellation handling.
15854 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15855 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15856 function name to __call_sync_file_range.
15857 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15858 Add call_sync_file_range.
15860 2011-04-01 Andreas Schwab <schwab@redhat.com>
15862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15865 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15867 * iconv/iconv.h: Fix typo in comment.
15868 * io/fcntl.h: Likewise.
15869 * libio/stdio.h: Likewise.
15870 * posix/spawn.h: Likewise.
15871 * posix/unistd.h: Likewise.
15872 * stdlib/stdlib.h: Likewise.
15873 * time/time.h: Likewise.
15874 * wcsmbs/wchar.h: Likewise.
15876 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15877 open_by_handle): Add.
15878 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15879 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15880 Augment a few comments.
15881 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15886 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15889 * io/fcntl.h (AT_EMPTY_PATH): Define.
15891 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15893 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15894 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15895 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15897 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15898 * Versions.def: Add GLIBC_2.14.
15899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15902 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15904 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15906 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15908 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15911 * string/test-strncmp.c (do_page_test): New function.
15912 (check2): Likewise.
15913 (test_main): Call check2.
15914 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15916 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15919 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15920 Handle cache information in CPU leaf 4.
15921 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15923 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15926 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15927 character representation.
15928 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15930 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15932 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15933 END(__isnan) to END(__isnanf) to match function entry point/label
15934 EALIGN(__isnanf,...).
15936 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15938 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15940 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15943 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15944 copy from the symbol referenced in the relocation to initialize the
15946 Patch by Piotr Bury <pbury@goahead.com>.
15947 * elf/Makefile: Add rules to build and tst-unique3.
15948 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15949 * elf/tst-unique3.cc: New file.
15950 * elf/tst-unique3.h: New file.
15951 * elf/tst-unique3lib.cc: New file.
15952 * elf/tst-unique3lib2.cc: New file.
15954 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15956 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15958 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15959 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15962 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15964 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15965 to-be-loaded object along a path to loader is ld.so.
15967 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15968 Ulrich Drepper <drepper@gmail.com>
15970 * sysdeps/x86_64/memset.S: After aligning destination, code
15971 branches to different locations depending on the value of
15972 misalignment, when multiarch is enabled. Fix this.
15974 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15976 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15977 Set _x86_64_preferred_memory_instruction for AMD processsors.
15978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15979 Set bit_Prefer_SSE_for_memop for AMD processors.
15981 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15983 * libio/fmemopen.c (fmemopen): Optimize a bit.
15985 2011-03-03 Andreas Schwab <schwab@redhat.com>
15987 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15989 2011-03-03 Roland McGrath <roland@redhat.com>
15991 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15993 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15995 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15996 __bzero_ultra1 instead of __memset_ultra1.
15998 2011-02-23 Andreas Schwab <schwab@redhat.com>
15999 Ulrich Drepper <drepper@gmail.com>
16002 * include/link.h (struct link_map): Add l_orig_initfini.
16003 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16004 returning unsuccessfully.
16005 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16006 close of a file loaded at startup, restore the original l_initfini
16008 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16009 list, store the pointer.
16010 * elf/Makefile ($(objpfx)noload-mem): New rule.
16011 (noload-ENV): Define.
16012 (tests): Add $(objpfx)noload-mem.
16013 * elf/noload.c: Include <memcheck.h>.
16014 (main): Call mtrace. Close all opened handles.
16016 2011-02-17 Andreas Schwab <schwab@redhat.com>
16019 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16020 dependencies are missing.
16022 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16024 Fix __if_freereq crash: Unlike the generic version which uses free,
16026 * sysdeps/mach/hurd/ifreq.h: New file.
16028 2011-01-27 Petr Baudis <pasky@suse.cz>
16029 Ulrich Drepper <drepper@gmail.com>
16032 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16033 to extend_alloca().
16034 * stdio-common/bug23.c: New file.
16035 * stdio-common/Makefile (tests): Add bug23.
16037 2010-09-28 Andreas Schwab <schwab@redhat.com>
16038 Ulrich Drepper <drepper@gmail.com>
16041 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16042 before performing relro protection. At old place add assertion
16043 to make sure nothing changed.
16045 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16046 Glauber de Oliveira Costa <glommer@gmail.com>
16048 * elf/elf.h: Add new ARM TLS relocs.
16050 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16053 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16055 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16057 * sysdeps/wordsize-64/tst-writev.c: New file.
16059 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16061 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16062 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16063 insns in _dl_start to prevent a TOC reference before relocs are
16066 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16069 * Makeconfig: Remove RANLIB definition.
16070 * Makerules: Don't use RANLIB.
16071 * aclocal.m4: Remove ranlib test.
16072 * configure.in: No need to check for ranlib.
16073 * elf/rtld-Rules: Don't use RANLIB.
16075 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16077 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16079 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16080 inclusion protection macro.
16082 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16083 SIGRTMIN and SIGRTMAX and print information in that case only when
16084 SIGRTMIN is defined.
16086 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16088 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16089 arginfo fn returning -1.
16091 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16092 and thousands string is zero terminated.
16094 2011-02-03 Andreas Schwab <schwab@redhat.com>
16096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16097 sysdeps/unix/sysv/linux/bits/socket.h.
16099 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16101 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16102 (__CPU_COUNT): Remove old macros.
16103 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16104 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16105 (__CPU_ALLOC, __CPU_FREE): Add macros.
16106 (__sched_cpualloc, __sched_cpufree): Add declarations.
16108 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16110 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16111 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16112 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16113 (readdhstai): Return value of addhstaiX call.
16114 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16115 (addgrbyX): Return value returned by cache_addgr.
16116 (readdgrbyname): Return value returned by addgrbyX.
16117 (readdgrbygid): Likewise.
16118 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16119 (addpwbyX): Return value returned by cache_addpw.
16120 (readdpwbyname): Return value returned by addhstbyX.
16121 (readdpwbyuid): Likewise.
16122 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16123 (addservbyX): Return value returned by cache_addserv.
16124 (readdservbyname): Return value returned by addservbyX:
16125 (readdservbyport): Likewise.
16126 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16127 (addhstbyX): Return value returned by cache_addhst.
16128 (readdhstbyname): Return value returned by addhstbyX.
16129 (readdhstbyaddr): Likewise.
16130 (readdhstbynamev6): Likewise.
16131 (readdhstbyaddrv6): Likewise.
16132 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16133 (readdinitgroups): Return value returned by addinitgroupsX.
16134 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16135 (prune_cache): Keep track of timeout value of re-added entries.
16136 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16137 * nscd/nscd.h: Adjust prototypes of readd* functions.
16139 2011-02-04 Roland McGrath <roland@redhat.com>
16141 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16142 (nis_stats): Likewise.
16143 * nis/nis_modify.c (nis_modify): Likewise.
16144 * nis/nis_remove.c (nis_remove): Likewise.
16145 * nis/nis_add.c (nis_add): Likewise.
16147 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16149 * posix/fnmatch_loop.c: Add some consts.
16151 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16153 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16156 * config.make.in (config-cflags-novzeroupper): Define.
16157 * configure.in: Substitute libc_cv_cc_novzeroupper.
16158 * elf/Makefile (AVX-CFLAGS): Define.
16159 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16160 (CFLAGS-tst-auditmod4a.c): Likewise.
16161 (CFLAGS-tst-auditmod4b.c): Likewise.
16162 (CFLAGS-tst-auditmod6b.c): Likewise.
16163 (CFLAGS-tst-auditmod6c.c): Likewise.
16164 (CFLAGS-tst-auditmod7b.c): Likewise.
16165 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16167 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16169 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16170 function to the callback.
16171 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16173 2011-02-02 Andreas Schwab <schwab@redhat.com>
16175 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16178 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16181 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16183 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16185 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16188 * elf/Makefile: Add rules to build and run new test.
16189 * elf/tst-initorder.c: New file.
16190 * elf/tst-initorder.exp: New file.
16191 * elf/tst-initordera1.c: New file.
16192 * elf/tst-initordera2.c: New file.
16193 * elf/tst-initordera3.c: New file.
16194 * elf/tst-initordera4.c: New file.
16195 * elf/tst-initorderb1.c: New file.
16196 * elf/tst-initorderb2.c: New file.
16197 * elf/tst-order-a1.c: New file.
16198 * elf/tst-order-a2.c: New file.
16199 * elf/tst-order-a3.c: New file.
16200 * elf/tst-order-a4.c: New file.
16201 * elf/tst-order-b1.c: New file.
16202 * elf/tst-order-b2.c: New file.
16203 * elf/tst-order-main.c: New file.
16204 New test case by George Gensure <werkt0@gmail.com>.
16206 2010-10-01 Andreas Schwab <schwab@redhat.com>
16208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16209 decoding ACE if AI_CANONIDN.
16211 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16213 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16215 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16217 * version.h (RELEASE): Bump for 2.13 release.
16218 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16220 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16222 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16224 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16225 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16226 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16227 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16228 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16229 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16231 * posix/getconf.c: Update copyright year.
16232 * catgets/gencat.c: Likewise.
16233 * csu/version.c: Likewise.
16234 * debug/catchsegv.sh: Likewise.
16235 * debug/xtrace.sh: Likewise.
16236 * elf/ldconfig.c: Likewise.
16237 * elf/ldd.bash.in: Likewise.
16238 * elf/sprof.c (print_version): Likewise.
16239 * iconv/iconv_prog.c: Likewise.
16240 * iconv/iconvconfig.c: Likewise.
16241 * locale/programs/locale.c: Likewise.
16242 * locale/programs/localedef.c: Likewise.
16243 * malloc/memusage.sh: Likewise.
16244 * malloc/mtrace.pl: Likewise.
16245 * nscd/nscd.c (print_version): Likewise.
16246 * nss/getent.c: Likewise.
16248 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16249 PF_CAIF, and PF_ALG.
16250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16252 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16254 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16255 (modules-names): Use them.
16256 (ifunc-test-modules, ifunc-pie-tests): Define.
16257 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16258 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16259 (test-extras): Likewise.
16260 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16261 $(compile-command.c).
16262 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16263 (all-built-dso): Define.
16264 (check-textrel.out, check-execstack.out): Depend on it.
16266 * configure.in: Don't override --enable-multi-arch.
16268 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16271 * nscd/hstcache.c (tryagain): Define.
16272 (cache_addhst): Return tryagain not notfound for temporary errors.
16273 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16276 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16279 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16280 to make the syscall.
16281 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16284 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16285 and fall back to matching as normal character if the string ends before
16286 the matching ']' is found. This is what POSIX requires.
16287 * posix/testfnm.c: Adjust test result.
16288 * posix/globtest.sh: Adjust test result. Add new test.
16289 * posix/tst-fnmatch.input: Likewise.
16290 * posix/tst-fnmatch2.c: Add new test.
16292 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16294 * elf/Makefile (check-execstack): Revert last change. Depend on
16296 (check-execstack.h): New target.
16297 (generated): Add check-execstack.h.
16298 * elf/check-execstack.c: Include "check-execstack.h".
16299 (main): Revert last change.
16300 (handle_file): Return zero if GNU_STACK is absent and
16301 DEFAULT_STACK_PERMS doesn't include PF_X.
16303 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16305 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16306 in child fails because the descriptor is already closed.
16307 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16308 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16309 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16312 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16316 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16317 temporary buffer used to handle multi lookups locally.
16318 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16320 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16322 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16325 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16327 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16328 alignment for SSE2.
16330 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16333 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16334 characters. When rounding increased number of integer digits recompute
16336 * stdio-common/tst-grouping.c: New file.
16337 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16339 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16341 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16342 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16344 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16346 * bits/select.h: Likewise.
16348 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16350 * po/ja.po: Update from translation team.
16352 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16355 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16356 implementation just like for lxstat, fxstatat, et al.
16358 2010-12-27 Jim Meyering <meyering@redhat.com>
16361 * posix/regexec.c (build_trtable): Return failure indication upon
16362 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16364 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16367 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16368 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16369 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16370 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16373 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16376 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16377 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16379 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16381 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16382 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16383 script has SORT_BY_INIT_PRIORITY.
16384 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16385 NO_CTORS_DTORS_SECTIONS is defined.
16386 * elf/soinit.c: Likewise.
16387 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16388 NO_CTORS_DTORS_SECTIONS is defined.
16389 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16390 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16391 * sysdeps/sh/init-first.c: Likewise.
16392 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16394 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16396 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16397 always use the slow path.
16399 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16401 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16402 similar rule which adds the sysdep directories to the header search in
16403 order to pick up the correct platform stackinfo.h.
16404 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16405 perform test if it is, otherwise return successfully without testing.
16406 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16407 DEFAULT_STACK_PERMS define in stackinfo.h.
16408 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16409 defined in stackinfo.h.
16410 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16411 DEFAULT_STACK_PERMS defined in stackinfo.h.
16412 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16413 * sysdeps/ia64/stackinfo.h: Likewise.
16414 * sysdeps/s390/stackinfo.h: Likewise.
16415 * sysdeps/sh/stackinfo.h: Likewise.
16416 * sysdeps/sparc/stackinfo.h: Likewise.
16417 * sysdeps/x86_64/stackinfo.h: Likewise.
16418 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16419 PF_X for powerpc64. Retain PF_X for powerpc32.
16421 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16423 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16425 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16426 GETDENTS_64BIT_ALIGNED.
16428 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16430 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16432 2010-12-10 Andreas Schwab <schwab@redhat.com>
16434 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16437 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16438 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16440 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16441 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16443 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16446 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16449 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16451 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16453 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16455 * po/it.po: Update from translation team.
16457 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16462 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16464 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16466 2010-11-24 Andreas Schwab <schwab@redhat.com>
16468 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16470 (gaih_getanswer_slice): Likewise.
16472 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16476 2010-05-31 Petr Baudis <pasky@suse.cz>
16479 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16480 silently even in the chroot mode.
16482 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16484 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16485 last patch a bit. Pretty printing
16487 2010-05-31 Petr Baudis <pasky@suse.cz>
16490 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16491 initialization of skip_initgroups_dyn.
16493 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16495 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16496 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16498 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16500 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16502 2010-11-11 Andreas Schwab <schwab@redhat.com>
16504 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16505 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16506 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16507 ($(objpfx)tst-fnmatch-mem): New rule.
16508 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16509 * posix/tst-fnmatch.c (main): Call mtrace.
16511 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16514 Support Intel processor model 6 and model 0x2c.
16516 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16518 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16521 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16524 * string/test-strncasecmp.c (check_result): New function.
16525 (do_one_test): Use it.
16526 (check1): New function.
16527 (test_main): Use it.
16528 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16529 Support strcasecmp and strncasecmp.
16531 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16534 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16535 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16537 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16539 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16543 * sysdeps/x86_64/multiarch/bzero.S: New file.
16544 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16545 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16546 * sysdeps/x86_64/multiarch/memset.S: New file.
16547 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16549 Set bit_Prefer_SSE_for_memop for Intel processors.
16550 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16552 (index_Prefer_SSE_for_memop): Define.
16553 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16555 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16557 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16558 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16560 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16563 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16564 (__x86_64_raw_data_cache_size_half): Likewise.
16565 (__x86_64_raw_shared_cache_size): Likewise.
16566 (__x86_64_raw_shared_cache_size_half): Likewise.
16568 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16569 (__x86_64_raw_data_cache_size_half): Likewise.
16570 (__x86_64_raw_shared_cache_size): Likewise.
16571 (__x86_64_raw_shared_cache_size_half): Likewise.
16572 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16573 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16574 and __x86_64_raw_shared_cache_size_half. Round
16575 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16576 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16577 to multiple of 256 bytes.
16579 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16582 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16583 of inacessible symlinks. Verify result of symlink before returning it.
16584 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16585 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16587 2010-10-28 Erich Ritz <erichritz@gmail.com>
16589 * math/math.h (isinf): Fix typo in comment.
16591 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16593 * po/da.po: Update from translation team.
16595 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16597 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16598 is added to the list.
16600 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16601 Ulrich Drepper <drepper@gmail.com>
16603 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16604 the global list here. Move code to...
16605 (_dl_add_to_namespace_list): ...here. New function.
16606 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16607 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16608 * elf/dl-load.c (lose): Don't remove the element from the list.
16609 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16610 (_dl_map_object): Likewise.
16612 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16615 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16616 into all bytes of SSE register.
16617 Patch by Richard Li <richardpku@gmail.com>.
16619 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16622 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16625 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16627 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16628 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16629 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16630 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16635 2010-10-22 Andreas Schwab <schwab@redhat.com>
16637 * include/dlfcn.h (__RTLD_SECURE): Define.
16638 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16639 mode & __RTLD_SECURE instead.
16640 (open_path): Rename preloaded parameter to secure.
16641 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16642 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16643 * elf/dl-deps.c (openaux): Likewise.
16644 * elf/rtld.c (struct map_args): Remove is_preloaded.
16645 (map_doit): Don't use it.
16646 (dl_main): Likewise.
16647 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16648 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16650 2010-09-09 Andreas Schwab <schwab@redhat.com>
16652 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16653 (sysd-rules-targets): Remove duplicates.
16654 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16655 rtld-%.$o dependency.
16657 2010-10-18 Andreas Schwab <schwab@redhat.com>
16659 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16660 _dl_map_object do it.
16662 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16664 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16665 fast fma builtins, define the macros in the C99 standard.
16666 (FP_FAST_FMAF): Likewise.
16667 (FP_FAST_FMAL): Likewise.
16668 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16670 * bits/mathdef.h: Update copyright year.
16671 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16673 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16675 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16676 builtins, define the macros in the C99 standard.
16677 (FP_FAST_FMAF): Likewise.
16678 (FP_FAST_FMAL): Likewise.
16679 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16681 (FP_FAST_FMAF): Likewise.
16683 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16686 * math/libm-test.inc (fma_test): Some new testcases.
16687 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16688 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16689 y and infinite z. Do multiplication by C already in long double.
16690 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16692 y and infinite z. Do bitwise or of inexact bit into u.d.
16693 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16694 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16695 * sysdeps/i386/fpu/s_fma.S: Removed.
16696 * sysdeps/i386/fpu/s_fmal.S: Removed.
16698 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16701 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16703 computation is not scheduled after fetestexcept. Fix value
16704 of minimum denormal long double.
16706 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16709 * math/libm-test.inc (fma_test): Add some more tests.
16710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16713 2010-10-15 Andreas Schwab <schwab@redhat.com>
16715 * scripts/data/localplt-s390-linux-gnu.data: New file.
16716 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16718 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16721 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16722 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16724 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16726 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16728 if one of x and y is very large and the other is subnormal.
16729 * sysdeps/s390/fpu/s_fmaf.c: New file.
16730 * sysdeps/s390/fpu/s_fma.c: New file.
16731 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16732 * sysdeps/powerpc/fpu/s_fma.S: New file.
16733 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16734 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16735 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16737 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16740 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16742 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16743 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16744 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16745 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16746 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16747 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16750 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16753 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16754 * posix/bug-regex31.input: Add test case.
16756 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16758 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16759 * posix/bug-regex31.input: New file.
16762 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16763 (parse_sub_exp): Fix last change, use postorder.
16765 * posix/bug-regex31.c: New file.
16766 * posix/Makefile: Add rules to build and run bug-regex31.
16768 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16771 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16774 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16775 to have entries in sys_siglist.
16778 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16781 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16784 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16785 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16786 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16787 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16788 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16789 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16790 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16791 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16792 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16793 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16794 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16795 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16796 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16797 * math/ftestexcept.c (fetestexcept): Likewise.
16798 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16799 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16800 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16801 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16802 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16803 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16804 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16806 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16809 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16812 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16814 * string/bug-strstr1.c: New file.
16815 * string/Makefile: Add rules to build and run bug-strstr1.
16817 2010-10-05 Eric Blake <eblake@redhat.com>
16820 * string/str-two-way.h (two_way_long_needle): Always clear memory
16821 when skipping input due to the shift table.
16823 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16826 * malloc/mcheck.c: Handle large requests.
16829 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16830 for strncmp and strncasecmp.
16831 * string/stratcliff.c: Add tests for strcmp and strncmp.
16832 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16834 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16836 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16839 2010-09-30 Andreas Jaeger <aj@suse.de>
16841 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16842 (CGROUP_SUPER_MAGIC): Define.
16843 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16844 Handle btrfs and cgroup file systems.
16845 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16848 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16850 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16851 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16853 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16856 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16857 trying to locate the ELF header.
16859 2010-09-27 Andreas Schwab <schwab@redhat.com>
16862 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16863 Mask out sign-bit copies when constructing f_fsid.
16865 2010-09-24 Petr Baudis <pasky@suse.cz>
16867 * debug/stack_chk_fail_local.c: Add missing licence exception.
16868 * debug/warning-nop.c: Likewise.
16870 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16872 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16873 implementing getdents64 using getdents syscall, set d_type if
16874 __ASSUME_GETDENTS32_D_TYPE.
16876 2010-09-16 Andreas Schwab <schwab@redhat.com>
16878 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16879 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16881 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16884 * posix/unistd.h: Undo change of feature selection for ftruncate from
16887 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16889 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16892 2010-09-20 Andreas Schwab <schwab@redhat.com>
16894 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16896 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16898 2010-09-14 Andreas Schwab <schwab@redhat.com>
16900 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16901 variables after CHECK_SP call.
16902 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16904 2010-09-13 Andreas Schwab <schwab@redhat.com>
16905 Ulrich Drepper <drepper@redhat.com>
16907 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16908 re-relocationg ld.so.
16909 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16910 _dl_init_paths call.
16911 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16914 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16916 * resolv/res_init.c (__res_vinit): Count the default server we added.
16918 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16919 Ulrich Drepper <drepper@redhat.com>
16922 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16923 (____longjmp_chk): Use %ebx for saving value across system call.
16926 2010-09-06 Andreas Schwab <schwab@redhat.com>
16928 * manual/Makefile: Don't mix pattern rules with normal rules.
16930 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16932 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16934 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16935 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16936 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16937 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16938 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16941 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16944 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16945 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16947 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16949 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16950 * sysdeps/x86_64/addmul_1.S: Likewise.
16951 * sysdeps/x86_64/lshift.S: Likewise.
16952 * sysdeps/x86_64/mul_1.S: Likewise.
16953 * sysdeps/x86_64/rshift.S: Likewise.
16954 * sysdeps/x86_64/sub_n.S: Likewise.
16955 * sysdeps/x86_64/submul_1.S: Likewise.
16957 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16959 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16960 Define __sched_param instead of SCHED_* and sched_param when
16961 <bits/sched.h> is included with __need_schedparam defined.
16962 * bits/sched.h [__need_schedparam]
16963 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16964 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16965 (__defined_schedparam): Define to 1.
16966 (__sched_param): New structure, identical to sched_param.
16967 (__need_schedparam): Undefine.
16969 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16971 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16972 (epoll_create1): Declare.
16974 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16976 2010-08-31 Andreas Schwab <schwab@redhat.com>
16979 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16980 shifting retval into place.
16982 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16984 * nis/rpcsvc/nis.h: Update copyright notice.
16985 * nis/rpcsvc/nis.x: Likewise.
16986 * nis/rpcsvc/nis_callback.h: Likewise.
16987 * nis/rpcsvc/nis_callback.x: Likewise.
16988 * nis/rpcsvc/nis_object.x: Likewise.
16989 * nis/rpcsvc/nis_tags.h: Likewise.
16990 * nis/rpcsvc/yp.h: Likewise.
16991 * nis/rpcsvc/yp.x: Likewise.
16992 * nis/rpcsvc/ypupd.h: Likewise.
16993 * nis/yp_xdr.c: Likewise.
16994 * nis/ypupdate_xdr.c: Likewise.
16996 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16997 mainly the body of pmap_getport. Add parameters to specify timeouts.
16998 (pmap_getport): Use __libc_rpc_getport.
16999 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17000 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17001 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17003 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17008 2010-08-27 Roland McGrath <roland@redhat.com>
17010 * sysdeps/i386/i686/multiarch/Makefile
17011 (CFLAGS-varshift.c): New variable.
17013 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17015 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17016 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17018 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17020 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17022 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17024 * sysdeps/x86_64/strlen.S: Unroll the loop.
17025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17026 strlen-sse2 strlen-sse2-bsf.
17027 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17028 __strlen_no_bsf if bit_Slow_BSF is set.
17029 (__strlen_sse42): Removed.
17030 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17031 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17033 2010-08-25 Roland McGrath <roland@redhat.com>
17035 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17036 * sysdeps/x86_64/multiarch/varshift.c: New file.
17037 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17038 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17039 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17040 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17042 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17044 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17045 strlen-sse2 strlen-sse2-bsf.
17046 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17047 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17048 (__strlen_sse2): Removed.
17049 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17052 bit_Slow_BSF for Atom.
17053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17054 (index_Slow_BSF): Define.
17055 (HAS_SLOW_BSF): Define.
17057 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17060 * resolv/res_init.c (__res_vinit): When no server address at all
17061 is given default to loopback.
17063 2010-08-24 Roland McGrath <roland@redhat.com>
17065 * configure.in: Remove config-name.h generation.
17066 * configure: Regenerated.
17067 * config-name.in: File removed.
17068 * scripts/config-uname.sh: New file.
17069 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17070 ($(objdir)config-name.h): New target.
17072 * sunrpc/rpc_parse.h: Avoid nested comment.
17074 2010-08-24 Richard Henderson <rth@redhat.com>
17075 Ulrich Drepper <drepper@redhat.com>
17076 H.J. Lu <hongjiu.lu@intel.com>
17078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17080 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17081 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17082 _mm_alignr_epi8 with _mm_loadu_si128.
17083 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17084 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17085 (__m128i_shift_right): Removed.
17086 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17087 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17088 * sysdeps/x86_64/multiarch/varshift.h: New file.
17089 * sysdeps/x86_64/multiarch/varshift.S: New file.
17091 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17093 * configure.in: Move assembler checks to before sysdep dir checking.
17095 2010-08-20 Petr Baudis <pasky@suse.cz>
17097 * LICENSES: Sync the sunrpc license.
17099 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17101 * sunrpc/auth_des.c: Update copyright notice once again.
17102 * sunrpc/auth_none.c: Likewise.
17103 * sunrpc/auth_unix.c: Likewise.
17104 * sunrpc/authdes_prot.c: Likewise.
17105 * sunrpc/authuxprot.c: Likewise.
17106 * sunrpc/bindrsvprt.c: Likewise.
17107 * sunrpc/clnt_gen.c: Likewise.
17108 * sunrpc/clnt_perr.c: Likewise.
17109 * sunrpc/clnt_raw.c: Likewise.
17110 * sunrpc/clnt_simp.c: Likewise.
17111 * sunrpc/clnt_tcp.c: Likewise.
17112 * sunrpc/clnt_udp.c: Likewise.
17113 * sunrpc/clnt_unix.c: Likewise.
17114 * sunrpc/des_crypt.c: Likewise.
17115 * sunrpc/des_soft.c: Likewise.
17116 * sunrpc/get_myaddr.c: Likewise.
17117 * sunrpc/getrpcport.c: Likewise.
17118 * sunrpc/key_call.c: Likewise.
17119 * sunrpc/key_prot.c: Likewise.
17120 * sunrpc/openchild.c: Likewise.
17121 * sunrpc/pm_getmaps.c: Likewise.
17122 * sunrpc/pm_getport.c: Likewise.
17123 * sunrpc/pmap_clnt.c: Likewise.
17124 * sunrpc/pmap_prot.c: Likewise.
17125 * sunrpc/pmap_prot2.c: Likewise.
17126 * sunrpc/pmap_rmt.c: Likewise.
17127 * sunrpc/rpc/auth.h: Likewise.
17128 * sunrpc/rpc/auth_unix.h: Likewise.
17129 * sunrpc/rpc/clnt.h: Likewise.
17130 * sunrpc/rpc/des_crypt.h: Likewise.
17131 * sunrpc/rpc/key_prot.h: Likewise.
17132 * sunrpc/rpc/netdb.h: Likewise.
17133 * sunrpc/rpc/pmap_clnt.h: Likewise.
17134 * sunrpc/rpc/pmap_prot.h: Likewise.
17135 * sunrpc/rpc/pmap_rmt.h: Likewise.
17136 * sunrpc/rpc/rpc.h: Likewise.
17137 * sunrpc/rpc/rpc_des.h: Likewise.
17138 * sunrpc/rpc/rpc_msg.h: Likewise.
17139 * sunrpc/rpc/svc.h: Likewise.
17140 * sunrpc/rpc/svc_auth.h: Likewise.
17141 * sunrpc/rpc/types.h: Likewise.
17142 * sunrpc/rpc/xdr.h: Likewise.
17143 * sunrpc/rpc_clntout.c: Likewise.
17144 * sunrpc/rpc_cmsg.c: Likewise.
17145 * sunrpc/rpc_common.c: Likewise.
17146 * sunrpc/rpc_cout.c: Likewise.
17147 * sunrpc/rpc_dtable.c: Likewise.
17148 * sunrpc/rpc_hout.c: Likewise.
17149 * sunrpc/rpc_main.c: Likewise.
17150 * sunrpc/rpc_parse.c: Likewise.
17151 * sunrpc/rpc_parse.h: Likewise.
17152 * sunrpc/rpc_prot.c: Likewise.
17153 * sunrpc/rpc_sample.c: Likewise.
17154 * sunrpc/rpc_scan.c: Likewise.
17155 * sunrpc/rpc_scan.h: Likewise.
17156 * sunrpc/rpc_svcout.c: Likewise.
17157 * sunrpc/rpc_tblout.c: Likewise.
17158 * sunrpc/rpc_util.c: Likewise.
17159 * sunrpc/rpc_util.h: Likewise.
17160 * sunrpc/rpcinfo.c: Likewise.
17161 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17162 * sunrpc/rpcsvc/key_prot.x: Likewise.
17163 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17164 * sunrpc/rpcsvc/mount.x: Likewise.
17165 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17166 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17167 * sunrpc/rpcsvc/rex.x: Likewise.
17168 * sunrpc/rpcsvc/rstat.x: Likewise.
17169 * sunrpc/rpcsvc/rusers.x: Likewise.
17170 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17171 * sunrpc/rpcsvc/spray.x: Likewise.
17172 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17173 * sunrpc/rtime.c: Likewise.
17174 * sunrpc/svc.c: Likewise.
17175 * sunrpc/svc_auth.c: Likewise.
17176 * sunrpc/svc_authux.c: Likewise.
17177 * sunrpc/svc_raw.c: Likewise.
17178 * sunrpc/svc_run.c: Likewise.
17179 * sunrpc/svc_simple.c: Likewise.
17180 * sunrpc/svc_tcp.c: Likewise.
17181 * sunrpc/svc_udp.c: Likewise.
17182 * sunrpc/svc_unix.c: Likewise.
17183 * sunrpc/svcauth_des.c: Likewise.
17184 * sunrpc/xcrypt.c: Likewise.
17185 * sunrpc/xdr.c: Likewise.
17186 * sunrpc/xdr_array.c: Likewise.
17187 * sunrpc/xdr_float.c: Likewise.
17188 * sunrpc/xdr_mem.c: Likewise.
17189 * sunrpc/xdr_rec.c: Likewise.
17190 * sunrpc/xdr_ref.c: Likewise.
17191 * sunrpc/xdr_sizeof.c: Likewise.
17192 * sunrpc/xdr_stdio.c: Likewise.
17194 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17197 2010-08-19 Andreas Schwab <schwab@redhat.com>
17199 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17201 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17203 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17204 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17205 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17206 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17207 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17208 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17209 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17210 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17211 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17212 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17213 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17214 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17215 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17216 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17218 2010-07-26 Anton Blanchard <anton@samba.org>
17220 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17221 * malloc/arena.c (heap_trim): Likewise.
17223 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17225 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17228 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17230 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17232 * sysdeps/i386/elf/Makefile: New file.
17234 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17236 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17237 from fanotify_init.
17238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17241 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17243 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17245 * sysdeps/multiarch/strcmp.S: Likewise.
17247 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17249 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17250 strncase_l-nonascii.
17251 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17252 Add strncase_l-ssse3.
17253 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17254 * sysdeps/x86_64/strcmp.S: Likewise.
17255 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17256 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17257 * sysdeps/x86_64/strncase.S: New file.
17258 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17259 * sysdeps/x86_64/strncase_l.S: New file.
17260 * string/Makefile (strop-tests): Add strncasecmp.
17261 * string/test-strncasecmp.c: New file.
17263 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17266 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17267 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17269 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17271 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17273 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17275 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17276 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17277 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17279 2010-05-01 Alan Modra <amodra@gmail.com>
17281 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17282 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17283 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17284 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17285 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17286 tidying. Don't tail-call __sigjmp_save for static lib.
17287 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17289 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17290 (CALL_MCOUNT): Add eh info, and nop after bl.
17291 (TAIL_CALL_SYSCALL_ERROR): New macro.
17292 (PSEUDO_RET): Use it.
17293 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17294 Correct save location of integer regs and cr.
17295 (_dl_profile_resolve): Correct cr save location. Delete nops
17296 after bl when SHARED. Reduce cfi size a little by better
17297 placement of cfi directives.
17298 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17299 make a stack frame. Instead use parm save area as a temp.
17300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17301 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17303 Don't make a stack frame for parent, use parm save area.
17304 Increase child stack frame to 112 bytes. Don't save unused reg,
17305 and adjust reg usage. Set up cfi on error recovery and
17306 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17308 (__makecontext): Add dummy nop after jump to exit.
17309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17310 Use correct parm save area and cr save, reduce stack frame.
17311 Correct cfi for possible PSEUDO_RET frame setup.
17312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17313 Branch to local label emitted by PSEUDO_RET rather than
17316 2010-08-12 Andreas Schwab <schwab@redhat.com>
17319 * locale/programs/locale.c (print_assignment): New function.
17320 (show_locale_vars): Use it.
17322 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17324 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17326 (struct statfs64): Likewise.
17327 (_STATFS_F_FLAGS): Define.
17328 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17329 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17330 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17331 (ST_VALID): Define locally.
17332 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17333 __statvfs_getflags, use the provided value.
17334 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17335 __ASSUME_STATFS_F_FLAGS.
17337 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17339 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17340 Add sys/fanotify.h.
17341 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17342 fanotify_mask for GLIBC_2.13.
17343 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17344 fanotify_init and fanotify_mark.
17345 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17346 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17348 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17350 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17351 prlimit64 for GLIBC_2.13.
17352 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17354 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17358 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17360 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17362 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17365 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17366 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17368 * nss/Makefile: Add rules to build and run tst-nss-test1.
17369 * shlib-versions: Add entry for libnss_test1.
17370 * nss/nss_test1.c: New file.
17371 * nss/tst-nss-test1.c: New file.
17373 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17374 (__nss_configure_lookup): Set appropriate entry in
17375 __nss_configure_lookup to true.
17376 * nss/nsswitch.h: Define enum with indeces of databases in
17377 databases and __nss_database_custom arrays. Declare
17378 __nss_database_custom.
17379 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17380 to avoid using nscd when custom rules are installed.
17381 * nss/getXXbyYY_r.c: Likewise.
17382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17384 * nss/nss_files/files-parse.c: Whitespace fixes.
17386 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17389 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17390 * posix/fnmatch_loop.c: Likewise.
17392 2010-07-17 Andi Kleen <ak@linux.intel.com>
17394 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17395 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17396 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17397 * Versions.def [GLIBC_2.13]: Add.
17399 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17402 Also fail if tpwd after pwuid call is NULL.
17404 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17406 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17407 when converting to ms.
17409 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17411 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17412 EOPNOTSUPP errors with ENOTTY.
17413 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17414 EOPNOTSUPP errors with ENOTTY.
17416 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17418 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17419 Add strcasecmp_l-ssse3.
17420 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17422 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17423 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17424 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17426 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17428 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17430 * string/Makefile (strop-tests): Add strcasecmp.
17431 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17432 strcasecmp_l-nonascii.
17433 (gen-as-const-headers): Add locale-defines.sym.
17434 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17435 * sysdeps/x86_64/strcasecmp.S: New file.
17436 * sysdeps/x86_64/strcasecmp_l.S: New file.
17437 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17438 * sysdeps/x86_64/locale-defines.sym: New file.
17439 * string/test-strcasecmp.c: New file.
17441 * string/test-strcasestr.c: Test both ends of the range of characters.
17442 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17444 2010-07-29 Roland McGrath <roland@redhat.com>
17447 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17449 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17451 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17454 2010-07-27 Andreas Schwab <schwab@redhat.com>
17456 * manual/memory.texi (Malloc Tunable Parameters): Document
17459 2010-07-26 Roland McGrath <roland@redhat.com>
17462 * configure.in (-fgnu89-inline check): Set and substitute
17463 gnu89_inline, not libc_cv_gnu89_inline.
17464 * configure: Regenerated.
17465 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17467 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17469 * string/test-strnlen.c: New file.
17470 * string/Makefile (strop-tests): Add strnlen.
17471 * string/tester.c (test_strnlen): Add a few more test cases.
17472 * string/tst-strlen.c: Better error reporting.
17474 * sysdeps/x86_64/strnlen.S: New file.
17476 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17478 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17479 lower-latency instructions.
17481 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17483 * string/test-strcasestr.c: New file.
17484 * string/test-strstr.c: New file.
17485 * string/Makefile (strop-tests): Add strstr and strcasestr.
17486 * string/str-two-way.h: Don't undefine MAX.
17487 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17489 2010-07-21 Andreas Schwab <schwab@redhat.com>
17491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17492 strcasestr-nonascii.
17493 (CFLAGS-strcasestr-nonascii.c): Define.
17494 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17496 Remove unused attribute.
17498 2010-07-20 Roland McGrath <roland@redhat.com>
17500 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17501 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17502 ld.so.cache was broken. With it, there is no way to disable dsocaps
17503 like LD_HWCAP_MASK can disable hwcaps.
17505 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17507 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17509 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17511 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17512 call in strcasestr.
17513 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17514 __strcasestr_sse42_nonascii.
17515 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17516 strcasestr-nonascii.c.
17517 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17519 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17521 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17522 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17523 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17524 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17526 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17528 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17531 2010-07-06 Andreas Schwab <schwab@redhat.com>
17534 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17537 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17539 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17540 _PC_PIPE_BUF using F_GETPIPE_SZ.
17542 2010-07-05 Roland McGrath <roland@redhat.com>
17544 * manual/arith.texi (Rounding Functions): Fix rint description
17545 implicit in round description.
17547 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17549 * elf/Makefile: Fix linking for a few tests to make recent linker
17552 2010-06-30 Andreas Schwab <schwab@redhat.com>
17554 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17555 $(common-objpfx)libc_nonshared.a.
17557 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17559 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17560 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17561 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17562 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17563 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17564 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17565 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17566 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17581 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17582 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17583 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17584 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17585 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17586 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17587 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17588 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17589 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17590 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17591 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17592 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17608 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17610 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17611 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17612 * string/memmove.c (memmove): Renamed to ...
17613 (MEMMOVE): ...this. Default to memmove.
17614 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17615 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17618 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17619 mempcpy-ssse3-back memmove-ssse3-back.
17620 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17623 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17624 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17625 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17626 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17627 * sysdeps/x86_64/multiarch/memmove.c: New file.
17628 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17629 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17630 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17631 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17632 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17633 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17635 (index_Fast_Copy_Backward): Define.
17636 (HAS_ARCH_FEATURE): Define.
17637 (HAS_FAST_REP_STRING): Define.
17638 (HAS_FAST_COPY_BACKWARD): Define.
17640 2010-06-21 Andreas Schwab <schwab@redhat.com>
17642 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17643 Restore proper fallback handling.
17645 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17648 * posix/group_member.c (__group_member): Correct checking loop.
17650 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17651 OOM in getpwuid_r correctly. Return error number when the caller
17652 should return, otherwise -1.
17653 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17654 call returning > 0 value.
17655 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17657 2010-06-07 Andreas Schwab <schwab@redhat.com>
17659 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17660 libc_nonshared.a from targets in modules-names.
17662 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17664 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17667 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17669 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17670 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17674 2010-06-02 Andreas Schwab <schwab@redhat.com>
17676 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17678 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17680 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17682 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17686 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17687 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17689 2010-06-14 Roland McGrath <roland@redhat.com>
17691 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17693 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17695 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17696 __REDIRECT followed by __THROW.
17697 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17698 * posix/getopt.h (getopt): Likewise.
17700 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17702 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17703 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17704 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17706 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17707 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17709 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17711 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17713 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17717 Properly check family and model.
17719 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17721 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17723 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17725 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17727 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17729 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17732 2010-05-19 Andreas Schwab <schwab@redhat.com>
17734 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17737 2010-05-21 Andreas Schwab <schwab@redhat.com>
17739 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17740 and internal_recvmmsg.
17741 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17742 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17743 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17744 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17746 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17747 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17748 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17750 2010-05-20 Andreas Schwab <schwab@redhat.com>
17752 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17754 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17756 POWER7 optimizations.
17757 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17758 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17760 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17762 * version.h: Update for 2.13 development version.
17764 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17766 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17767 exceptions. Return 0.
17769 2010-05-07 Roland McGrath <roland@redhat.com>
17771 * elf/ldconfig.c (main): Add a const.
17773 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17775 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17776 (args_options): Add no-idn option.
17777 (ahosts_keys_int): Add idn_flags to ai_flags.
17778 (parse_option): Handle 'i' option to clear idn_flags.
17780 * malloc/malloc.c (_int_free): Possible race in the most recently
17781 added check. Only act on the data if no current modification
17784 See ChangeLog.17 for earlier changes.