1 2012-08-01 Roland McGrath <roland@hack.frob.com>
3 * libio/iofopen.c: Include <fcntl.h>.
4 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5 (_IO_fopen64, fopen64): Define as aliases.
6 * libio/iofopen64.c: Include <fcntl.h>.
7 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8 Conditionalize body on this.
9 * sysdeps/wordsize-64/iofopen.c: File removed.
10 * sysdeps/wordsize-64/iofopen64.c: File removed.
12 2012-08-01 Marek Polacek <polacek@redhat.com>
14 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15 Use dlfcn directly instead of a variable.
16 (binfmt-subdir): Do not define.
19 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22 Remove all definitions.
23 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26 (miss_F_GETOWN_EX): Remove all definitions.
27 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29 [!__ASSUME_FCNTL64]: Remove conditional code.
30 [__ASSUME_FCNTL64]: Make code unconditional.
31 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35 (lockf64) [__NR_fcntl64]: Make code unconditional.
36 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38 * sysdeps/unix/sysv/linux/kernel-features.h
39 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41 Make code unconditional.
42 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45 [__NR_vfork]: Make code unconditional.
46 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
49 [__NR_vfork]: Make code unconditional.
50 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53 2012-08-01 Roland McGrath <roland@hack.frob.com>
55 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
56 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59 Define mkstemp64 as an alias.
60 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61 Define mkstemps64 as an alias.
62 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63 Define mkostemp64 as an alias.
64 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65 Define mkostemps64 as an alias.
66 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67 Conditionalize body on this.
68 * misc/mkostemp64.c: Likewise.
69 * misc/mkostemps64.c: Likewise.
70 * misc/mkstemps64.c: Likewise.
71 * sysdeps/wordsize-64/mkstemp64.c: File removed.
72 * sysdeps/wordsize-64/mkostemp64.c: File removed.
73 * sysdeps/wordsize-64/mkostemp.c: File removed.
74 * sysdeps/wordsize-64/mkstemp.c: File removed.
75 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
76 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
77 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
81 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
82 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
83 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
84 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
86 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
87 compat_symbol macros from <shlib-compat.h> rather than the underlying
88 default_symbol_version and symbol_version macros, so that DEFAULT
89 lines in shlib-versions are respected.
90 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
92 2012-08-01 Florian Weimer <fweimer@redhat.com>
94 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
95 Declare with warn_unused_result.
96 (setgid, setregid, setegid, setresgid): Likewise.
97 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
99 * WUR-REPORT: Remove set*id functions.
101 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
103 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
105 2012-07-31 Roland McGrath <roland@hack.frob.com>
107 * include/sys/socket.h (__libc_accept, __libc_accept4):
108 Add attribute_hidden.
109 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
111 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
113 * inet/getnetgrent_r.c (setup): Likewise.
115 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
117 2012-07-31 David S. Miller <davem@davemloft.net>
119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
121 2012-07-31 Joseph Myers <joseph@codesourcery.com>
124 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
125 value between 1.0 and 2.0 and smaller part has absolute value less
127 * math/s_clog10.c (__clog10): Likewise.
128 * math/s_clog10f.c (__clog10f): Likewise.
129 * math/s_clog10l.c (__clog10l): Likewise.
130 * math/s_clogf.c (__clogf): Likewise.
131 * math/s_clogl.c (__clogl): Likewise.
132 * math/libm-test.inc (clog_test): Add more tests.
133 (clog10_test): Likewise.
134 * sysdeps/i386/fpu/libm-test-ulps: Update.
135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
137 2012-07-31 Florian Weimer <fweimer@redhat.com>
139 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
140 Exit with zero in case no suitable GID is found, and write a
141 message to standard error.
143 2012-07-30 Roland McGrath <roland@hack.frob.com>
145 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
147 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
148 (MAXPATHLEN): Removed.
149 (NOGROUP, NODEV): New macros.
150 (setbit, clrbit, isset, isclr): New macros.
151 (howmany, roundup, powerof2): New macros.
152 (DEV_BSIZE): New macro.
154 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
155 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
157 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
158 definition on [!__NO_LONG_DOUBLE_MATH].
160 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
161 PTR_MANGLE and PTR_DEMANGLE.
163 * socket/accept4.c (accept4): Rename to __libc_accept4.
164 Define accept4 as a weak alias.
166 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
167 on [_DIRENT_HAVE_D_TYPE].
168 * io/ftw.c (ftw_dir): Likewise.
170 * io/xmknod.c (__xmknod): Don't check PATH for being null.
172 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
174 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
175 Use the BSD numbers rather than the arbitrary ones we had.
176 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
177 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
178 (SIGXCPU, SIGXFSZ): New macros.
181 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
182 initializer on [_LIBC_REENTRANT].
184 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
185 definitions inside [_POSIX_MAPPED_FILES].
187 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
189 * dirent/opendir.c: Include <fcntl.h>.
191 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
192 (__libc_getspecific): Likewise.
193 (__libc_key_create): Likewise.
195 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
196 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
197 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
198 (tmpfile64): Define as alias.
199 * sysdeps/wordsize-64/tmpfile.c: File removed.
200 * sysdeps/wordsize-64/tmpfile64.c: File removed.
201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
204 * stdio-common/vfscanf.c: Include <stdbool.h>.
205 * nss/makedb.c: Likewise.
206 * stdio-common/_i18n_number.h: Likewise.
207 * argp/argp-help.c: Likewise.
208 * posix/wordexp.c: Likewise.
209 * sysdeps/posix/spawni.c: Likewise.
210 * nss/nss_files/files-initgroups.c: Likewise.
211 * stdio-common/reg-modifier.c: Include <stdlib.h>.
212 * nss/nss_files/files-initgroups.c: Likewise.
213 * nss/nss_db/db-netgrp.c: Likewise.
214 * nss/nss_db/db-initgroups.c: Likewise.
215 * io/fchmodat.c: Include <sys/stat.h>.
217 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
218 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
220 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
223 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
224 Add multiple inclusion protection.
226 2012-07-27 David S. Miller <davem@davemloft.net>
228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
230 2012-07-27 Gary Benson <gbenson@redhat.com>
233 * elf/rtld.c: Include <stap-probe.h>.
234 (dl_main): Added static probes "init_start" and "init_complete".
235 * elf/dl-load.c: Include <stap-probe.h>.
236 (lose): Take new parameter "nsid".
237 Added static probe "map_failed".
238 (_dl_map_object_from_fd): Pass namespace id to lose.
239 Added static probe "map_start".
240 (open_verify): Pass namespace id to lose.
241 * elf/dl-open.c: Include <stap-probe.h>.
242 (dl_open_worker) Added static probes "map_complete", "reloc_start"
243 and "reloc_complete".
244 * elf/dl-close.c: Include <stap-probe.h>.
245 (_dl_close_worker): Added static probes "unmap_start" and
247 * elf/rtld-debugger-interface.txt: New file documenting the above.
249 2012-07-26 Roland McGrath <roland@hack.frob.com>
251 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
252 rather than a string variable.
253 * sunrpc/rpc_main.c (h_output): Likewise.
254 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
256 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
258 * inet/check_native.c: New file.
260 2012-07-26 Joseph Myers <joseph@codesourcery.com>
263 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
264 if larger part has absolute value 1.0.
265 * math/s_clog10.c (__clog10): Likewise.
266 * math/s_clog10f.c (__clog10f): Likewise.
267 * math/s_clog10l.c (__clog10l): Likewise.
268 * math/s_clogf.c (__clogf): Likewise.
269 * math/s_clogl.c (__clogl): Likewise.
270 * math/libm-test.inc (clog_test): Add more tests.
271 (clog10_test): Likewise.
272 * sysdeps/i386/fpu/libm-test-ulps: Update.
273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
275 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
278 (La_retval): Likewise.
279 (int_retval): Likewise.
280 Update #error for removed macros to refer only to definitions in
282 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
286 (La_retval): Likewise.
287 (int_retval): Likewise.
288 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
292 (La_retval): Likewise.
293 (int_retval): Likewise.
294 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
298 (La_retval): Likewise.
299 (int_retval): Likewise.
300 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
304 (La_retval): Likewise.
305 (int_retval): Likewise.
306 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
310 (La_retval): Likewise.
311 (int_retval): Likewise.
312 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
316 (La_retval): Likewise.
317 (int_retval): Likewise.
318 * sysdeps/generic/tst-audit.h: Update comment to refer only to
319 macro definitions in tst-audit.h.
320 * sysdeps/i386/tst-audit.h: New file.
321 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
322 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
323 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
324 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
325 * sysdeps/sh/tst-audit.h: Likewise.
326 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
327 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
328 * sysdeps/x86_64/tst-audit.h: Likewise.
330 2012-07-26 Andreas Jaeger <aj@suse.de>
332 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
335 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
336 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
337 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
339 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
340 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
341 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
343 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
346 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
348 (si_call_addr, si_syscall, si_arch): Define new macro.
349 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
351 (si_call_addr, si_syscall, si_arch): Define new marcro.
352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
354 (si_call_addr, si_syscall, si_arch): Define new macro.
355 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
357 (si_call_addr, si_syscall, si_arch): Define new macro.
359 2012-07-25 Joseph Myers <joseph@codesourcery.com>
362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
363 Change to 2.4.21 where previously 2.4.1.
364 * sysdeps/unix/sysv/linux/configure: Regenerated.
365 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
366 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
367 Linux kernel version.
368 (__ASSUME_STD_AUXV): Remove.
369 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
371 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
372 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
373 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
374 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
375 (__ASSUME_NETLINK_SUPPORT): Likewise.
376 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
377 (__no_netlink_support): Remove conditional definition.
378 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
380 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
381 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
382 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
383 (if_nameindex_ioctl): Remove.
384 (if_nameindex_netlink): Do not handle __no_netlink_support.
385 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
387 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
388 Remove conditional code.
389 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
391 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
393 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
394 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
395 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
397 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
398 [!__ASSUME_STD_AUXV]: Remove conditional code.
399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
400 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
401 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
403 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
404 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
406 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
408 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
409 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
411 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
416 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
419 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
421 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
423 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
425 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
428 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
430 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
433 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
435 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
437 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
439 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
442 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
444 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
446 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
448 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
451 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
453 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
454 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
455 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
456 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
457 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
458 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
459 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
460 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
461 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
462 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
463 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
464 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
465 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
466 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
467 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
468 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
469 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
471 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
473 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
474 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
475 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
477 2012-07-25 Florian Weimer <fweimer@redhat.com>
479 * Versions.def: Add GLIBC_2.17.
480 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
481 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
482 Introduce __libc_secure_getenv.
483 * stdlib/Versions (2.17): Add secure_getenv
484 (GLIBC_PRIVATE): Add __libc_secure_getenv.
485 * stdlib/secure-getenv.c: Rename __secure_getenv to
486 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
487 symbol __secure_getenv for GLIBC_2.0.
488 * stdlib/tst-secure-getenv.c: New.
489 * stdlib/Makefile (tests): Add testcase.
490 * manual/startup.texi (Environment Access): Document
492 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
493 __libc_secure_getenv.
494 * inet/ruserpass.c (ruserpass): Likewise.
495 * malloc/mtrace.c (mtrace): Likewise.
496 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
497 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
498 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
499 * sysdeps/posix/tempname.c: Likewise. Evaluate
501 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
502 __secure_getenv to __libc_secure_getenv.
503 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
516 2012-07-25 Joseph Myers <joseph@codesourcery.com>
518 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
519 (struct La_i86_retval): Likewise.
520 (struct La_x86_64_regs): Likewise.
521 (struct La_x86_64_retval): Likewise.
522 (struct La_x32_regs): Likewise.
523 (struct La_x32_retval): Likewise.
524 (struct La_ppc32_regs): Likewise.
525 (struct La_ppc32_retval): Likewise.
526 (struct La_ppc64_regs): Likewise.
527 (struct La_ppc64_retval): Likewise.
528 (struct La_sh_regs): Likewise.
529 (struct La_sh_retval): Likewise.
530 (struct La_s390_32_regs): Likewise.
531 (struct La_s390_32_retval): Likewise.
532 (struct La_s390_64_regs): Likewise.
533 (struct La_s390_64_retval): Likewise.
534 (struct La_sparc32_regs): Likewise.
535 (struct La_sparc32_retval): Likewise.
536 (struct La_sparc64_regs): Likewise.
537 (struct La_sparc64_retval): Likewise.
538 (struct audit_ifaces): Remove architecture-specific pltenter and
540 * sysdeps/i386/ldsodefs.h: New file.
541 * sysdeps/powerpc/ldsodefs.h: Likewise.
542 * sysdeps/s390/ldsodefs.h: Likewise.
543 * sysdeps/sh/ldsodefs.h: Likewise.
544 * sysdeps/sparc/ldsodefs.h: Likewise.
545 * sysdeps/x86_64/ldsodefs.h: Likewise.
547 2012-07-25 Marek Polacek <polacek@redhat.com>
550 * math/libm-test.inc (yn_test): Add another test.
551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
552 to ERANGE when the result is +-Inf.
553 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
554 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
555 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
556 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
558 2012-07-24 Joseph Myers <joseph@codesourcery.com>
560 * conform/data/time.h-data (NULL): Use macro-constant. Require
562 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
564 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
566 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
568 * configure.in <sysdeps resolving>: Correct printing
570 * configure: Regenerate.
572 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
574 * math/w_ilogb.c: Include <limits.h>.
575 * math/w_ilogbl.c: Likewise.
577 2012-07-20 Joseph Myers <joseph@codesourcery.com>
579 * manual/lang.texi (__va_copy): Document primarily as ISO C99
580 va_copy. Document allowing for unavailable va_copy only as
581 pre-C99 compatibility.
582 * manual/string.texi (Copying and Concatenation): Use va_copy
583 instead of __va_copy in concat example.
585 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
587 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
588 (__sendto): Use create_address_port. Initialize APORT and deallocate
591 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
592 with O_NOLINK passed to __file_name_lookup.
594 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
595 with O_NOLINK passed to __file_name_lookup.
597 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
598 negative N or less than NGIDS.
600 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
601 type to string_t. Set ERANGE as errno and return it if NAME is not big
602 enough. Use memcpy instead of strncpy.
604 2012-07-20 Joseph Myers <joseph@codesourcery.com>
606 * elf/Makefile (check-data): Remove.
607 (localplt.data): New vpath directive.
608 ($(objpfx)check-localplt.out): Use localplt.data from vpath
609 instead of $(check-data).
610 * scripts/data/localplt-generic.data: Move to ...
611 * sysdeps/generic/localplt.data: ... here.
612 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
613 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
614 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
617 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
620 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
623 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
626 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
629 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
633 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
635 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
636 PPC32 and PPC64 files.
637 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
638 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
640 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
642 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
643 __makecontext_ret to ...
644 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
645 ... here and call exit if uc_link is NULL. New file.
646 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
648 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
649 __makecontext_ret to ...
650 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
651 ... here and call exit if uc_link is NULL. New file.
652 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
655 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
657 * elf/elf.h (R_390_IRELATIVE): New definition.
658 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
659 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
660 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
661 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
662 (elf_machine_lazy_rel): Likewise.
663 * sysdeps/s390/dl-irel.h: New file.
664 * sysdeps/s390/s390-64/memcpy.S: New asm code.
665 * sysdeps/s390/s390-64/memset.S: New asm code.
666 * sysdeps/s390/s390-64/memcmp.S: New asm code.
667 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
668 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
669 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
670 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
671 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
672 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
673 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
674 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
675 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
676 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
677 * sysdeps/s390/s390-32/memcpy.S: New asm code.
678 * sysdeps/s390/s390-32/memset.S: New asm code.
679 * sysdeps/s390/s390-32/memcmp.S: New asm code.
681 2012-07-17 Marek Polacek <polacek@redhat.com>
684 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
685 * sysdeps/s390/s390-64/configure.in: Likewise.
686 * sysdeps/sparc/configure.in: Likewise.
687 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
688 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
689 * sysdeps/i386/configure.in: Likewise.
690 * sysdeps/x86_64/configure.in: Likewise.
691 * sysdeps/sh/configure.in: Likewise.
692 * sysdeps/s390/s390-32/configure: Regenerated.
693 * sysdeps/s390/s390-64/configure: Likewise.
694 * sysdeps/x86_64/configure: Likewise.
695 * sysdeps/sh/configure: Likewise.
696 * sysdeps/powerpc/powerpc64/configure: Likewise.
697 * sysdeps/powerpc/powerpc32/configure: Likewise.
698 * sysdeps/sparc/configure: Likwise.
699 * sysdeps/i386/configure: Likewise.
701 * elf/dl-open.c: Comment fixes.
703 2012-07-17 Joseph Myers <joseph@codesourcery.com>
705 * Makefile [CXX] (check-data): Remove.
706 [CXX] (c++-types.data): New vpath directive.
707 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
708 vpath. Do not allow for C++ type data being missing.
709 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
710 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
711 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
712 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
713 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
714 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
715 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
718 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
721 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
724 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
727 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
730 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
733 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
736 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
739 * elf/tls-macros.h (TLS_LE): Move architecture-specific
740 definitions to architecture-specific files.
744 * sysdeps/i386/tls-macros.h: New file.
745 * sysdeps/powerpc/tls-macros.h: Likewise.
746 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
747 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
748 * sysdeps/sh/tls-macros.h: Likewise.
749 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
750 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
751 * sysdeps/x86_64/tls-macros.h: Likewise.
753 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
756 zero value for regular exit case.
758 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
759 (__start_context): Preserve zero value for regular exit case.
761 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
762 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
764 * manual/setjmp.texi (setcontext): Clarify normal process
765 termination when uc_link is the null pointer.
766 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
769 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
771 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
772 preprocessor. Test for each exception mask separately.
774 2012-07-16 Andreas Jaeger <aj@suse.de>
776 * po/ru.po: Update from translation team.
778 2012-07-15 Joseph Myers <joseph@codesourcery.com>
780 * conform/data/string.h-data (NULL): Use macro-constant. Require
782 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
783 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
784 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
785 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
788 2012-07-13 Andreas Jaeger <aj@suse.de>
790 * po/fr.po: Update from translation team.
792 2012-07-12 Marek Polacek <polacek@redhat.com>
795 * math/libm-test.inc (yn_test): Add test for BZ #14173.
796 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
799 2012-07-12 Joseph Myers <joseph@codesourcery.com>
802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
803 Change to 2.4.1 where previously 2.4.0.
804 * sysdeps/unix/sysv/linux/configure: Regenerated.
805 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
806 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
808 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
809 (__ASSUME_AT_CLKTCK): Remove.
810 (__ASSUME_AT_PAGESIZE): Likewise.
811 (__ASSUME_AT_XID): Likewise.
812 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
813 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
814 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
816 (HAVE_AUX_PAGESIZE): Likewise.
817 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
818 [__ASSUME_AT_CLKTCK]: Make code unconditional.
819 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
821 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
825 the temporary buffer used to invoke __gethostbyname2_r,
826 __gethostbyaddr_r and gethostbyname4_r to make room for struct
827 host_data / struct gaih_addrtuple.
828 * resolv/nss_dns/dns-host.c (global scope): Move definition of
829 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
830 header file nss/nsswitch.h.
831 * nss/nsswitch.h (global scope): Add definition of implementation
832 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
833 resolv/nss_dns/dns-host.c).
835 2012-07-11 Andreas Jaeger <aj@suse.de>
837 * po/fr.po: Update from translation team.
839 * po/sv.po: Update from translation team
840 * po/fr.po: Another update from translation team.
842 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
844 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
845 for subnormals or multiply small sinh result by itself.
846 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
849 2012-07-11 David S. Miller <davem@davemloft.net>
851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
853 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
856 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
857 (INTERNAL_MARK): Shift it here.
859 2012-07-10 Marek Polacek <polacek@redhat.com>
862 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
863 libc_cv_asm_global_directive with .globl.
864 * configure: Regenerated.
865 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
867 * sysdeps/i386/configure: Regenerated.
868 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
870 * sysdeps/x86_64/configure: Regenerated.
871 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
872 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
873 * elf/tst-unique2mod2.c: Likewise.
874 * elf/tst-unique2mod1.c: Likewise.
875 * elf/tst-unique1mod2.c: Likewise.
876 * elf/tst-unique1mod1.c: Likewise.
877 * sysdeps/s390/s390-32/sysdep.h: Likewise.
878 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
880 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
881 * sysdeps/mach/sysdep.h: Likewise.
882 * sysdeps/i386/sysdep.h: Likewise.
883 * sysdeps/i386/i386-mcount.S: Likewise.
884 * sysdeps/x86_64/_mcount.S: Likewise.
885 * sysdeps/x86_64/sysdep.h: Likewise.
886 * sysdeps/sh/_mcount.S: Likewise.
887 * sysdeps/sh/sysdep.h: Likewise.
888 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
889 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
890 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
892 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
893 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
894 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
895 * locale/localeinfo.h: Likewise.
896 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
897 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
899 2012-07-09 Roland McGrath <roland@hack.frob.com>
902 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
904 * manual/message.texi (The Uniforum approach): Likewise.
905 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
906 (glibc iconv Implementation): Likewise.
908 2012-07-09 Joseph Myers <joseph@codesourcery.com>
911 * math/s_clog.c (__clog): Avoid scaling a value down where that
912 could result in underflow.
913 * math/s_clog10.c (__clog10): Likewise.
914 * math/s_clog10f.c (__clog10f): Likewise.
915 * math/s_clog10l.c (__clog10l): Likewise.
916 * math/s_clogf.c (__clogf): Likewise.
917 * math/s_clogl.c (__clogl): Likewise.
918 * math/libm-test.inc (clog_test): Add more tests.
919 (clog10_test): Likewise.
920 * sysdeps/i386/fpu/libm-test-ulps: Update.
921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
923 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
926 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
927 by 7 not 8 to examine high bit of fractional part.
930 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
931 for call to __mcount_internal.
932 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
933 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
934 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
936 2012-07-06 Joseph Myers <joseph@codesourcery.com>
939 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
940 approximation for values within 0x1p-13f of an odd multiple of
942 * math/libm-test.inc (tan_test): Do not allow spurious underflow
943 exception. Add more tests.
944 * sysdeps/i386/fpu/libm-test-ulps: Update.
947 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
948 inputs and return -1 for them. Do not check for +Inf in case not
950 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
951 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
952 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
953 and return -1 for them. Do not check for +Inf in case not
955 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
958 and return -1 for them. Do not check for +Inf in case not
960 * math/libm-test.inc (expm1_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-06 Mike Frysinger <vapier@gentoo.org>
967 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
969 2012-07-05 Joseph Myers <joseph@codesourcery.com>
973 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
974 could result in spurious underflow. Scale down values above
975 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
976 * math/s_csqrtf.c (__csqrtf): Likewise.
977 * math/s_csqrtl.c (__csqrtl): Likewise.
978 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
980 * sysdeps/i386/fpu/libm-test-ulps: Update.
981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
983 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
985 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
987 * catgets/xopen-msg.awk: New file.
988 * catgets/xopen-msg.sed: Removed.
990 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
992 * intl/po2test.awk: New file.
993 * intl/po2test.sed: Removed.
995 2012-07-04 Joseph Myers <joseph@codesourcery.com>
998 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
999 or multiply small sinh result by itself.
1000 * math/s_ctanf.c (__ctanf): Likewise.
1001 * math/s_ctanh.c (__ctanh): Likewise.
1002 * math/s_ctanhf.c (__ctanhf): Likewise.
1003 * math/s_ctanhl.c (__ctanhl): Likewise.
1004 * math/s_ctanl.c (__ctanl): Likewise.
1005 * math/libm-test.inc (ctan_test_tonearest): New function.
1006 (ctan_test_towardzero): Likewise.
1007 (ctan_test_downward): Likewise.
1008 (ctan_test_upward): Likewise.
1009 (ctanh_test_tonearest): Likewise.
1010 (ctanh_test_towardzero): Likewise.
1011 (ctanh_test_downward): Likewise.
1012 (ctanh_test_upward): Likewise.
1013 (main): Call these new functions.
1014 * sysdeps/i386/fpu/libm-test-ulps: Update.
1015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1017 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1019 * .gitignore: Delete /ports entry.
1021 2012-07-03 Andreas Jaeger <aj@suse.de>
1023 * po/bg.po: Update from translation team.
1024 * po/cs.po: Likewise.
1025 * po/de.po: Likewise.
1026 * po/hr.po: Likewise.
1027 * po/nl.pl: Likewise.
1028 * po/pl.po: Likewise.
1029 * po/vi.po: Likewise.
1031 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1033 * Makeconfig [!+link] (+link-before-libc): New variable.
1034 [!+link] (+link-after-libc): Likewise.
1035 [!+link] (+link-tests): Likewise.
1036 [!+link] (+link): Define in terms of $(+link-before-libc) and
1037 $(+link-after-libc).
1038 [!+link-static] (+link-static-before-libc): New variable.
1039 [!+link-static] (+link-static-after-libc): Likewise.
1040 [!+link-static] (+link-static-tests): Likewise.
1041 [!+link-static] (+link-static): Define in terms of
1042 $(+link-static-before-libc) and $(+link-static-after-libc).
1043 [build-shared] (link-libc-before-gnulib): New variable.
1044 [build-shared] (link-libc-tests): Likewise.
1045 [build-shared] (link-libc): Define in terms of
1046 $(link-libc-before-gnulib).
1047 [!build-shared] (link-libc-tests): New variable.
1048 (link-libc-static-tests): New variable.
1049 [!gnulib] (gnulib-arch): New variable.
1050 [!gnulib] (gnulib-tests): Likewise.
1051 [!gnulib] (static-gnulib-arch): Likewise.
1052 [!gnulib] (static-gnulib-tests): Likewise.
1053 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1054 Define with "=" instead of ":=".
1055 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1056 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1057 * Rules (binaries-all-notests): New variable.
1058 (binaries-all-tests): Likewise.
1059 (binaries-static-notests): Likewise.
1060 (binaries-static-tests): Likewise.
1061 (binaries-all): Define using $(binaries-all-notests) and
1062 $(binaries-all-tests).
1063 (binaries-static): Define using $(binaries-static-notests) and
1064 $(binaries-static-tests).
1065 (binaries-shared-tests): New variable.
1066 (binaries-shared-notests): Likewise.
1067 (binaries-shared): Remove variable.
1068 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1069 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1070 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1071 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1072 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1073 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1074 * elf/Makefile (sln-modules): New variable.
1075 (extra-objs): Add $(sln-modules:=.o).
1076 (ldconfig-modules): Add static-stubs.
1077 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1078 * elf/static-stubs.c: New file.
1081 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1082 by 7 not 8 to examine high bit of fractional part. Use volatile
1083 variables when splitting into final array of floats if
1084 __FLT_EVAL_METHOD__ != 0.
1085 * math/libm-test.inc (cos_test): Add another test.
1086 (sin_test): Likewise.
1087 * sysdeps/i386/fpu/libm-test-ulps: Update.
1090 * math/libm-test.inc (cosh_test): Add more tests.
1092 * version.h (RELEASE): Set to "development".
1093 (VERSION): Set to "2.16.90".
1095 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1097 * NEWS: Update copyright. Remove last-updated date.
1098 Mention math library bug fixes and timezone data changes.
1099 * README: Mention GNU/Hurd, x32, and HPPA support status.
1101 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1103 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1105 2012-06-27 Andreas Jaeger <aj@suse.de>
1107 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1109 2012-06-25 Andreas Jaeger <aj@suse.de>
1111 * sysdeps/s390/fpu/libm-test-ulps: Update.
1113 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1114 Thomas Schwinge <thomas@codesourcery.com>
1116 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1117 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1121 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1123 * sysdeps/mach/start.c: Remove file.
1124 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1125 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1126 * sysdeps/sh/init-first.c: Likewise.
1128 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1129 registers for frame unwinding purposes, add CFI directives.
1130 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1131 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1132 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1135 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1136 __fortify_fail returning.
1137 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1140 sysdeps/sh/____longjmp_chk.S.
1141 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1142 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1143 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1144 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1146 * sysdeps/sh/abort-instr.h: New file.
1147 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1148 process in case exit returns.
1150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1151 initialize the GOT register before use.
1153 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1154 calculation of ARGC > 4.
1156 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1157 meaningful names to some local labels.
1159 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1160 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1162 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1163 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1164 (__arch_compare_and_exchange_val_16_acq): Likewise.
1165 (__arch_compare_and_exchange_val_32_acq): Likewise.
1166 (atomic_exchange_and_add): Fix gUSA sequence.
1167 (atomic_add): Likewise.
1168 (atomic_add_negative): Likewise.
1169 (atomic_add_zero): Likewise.
1170 (atomic_bit_test_set): Likewise.
1172 2012-06-22 Andreas Schwab <schwab@redhat.com>
1175 * include/link.h (struct link_map): Add l_free_initfini.
1176 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1178 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1179 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1180 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1183 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1185 * configure.in: Use AC_LANG_SOURCE.
1186 * configure: Regenerate.
1188 2012-06-22 Roland McGrath <roland@hack.frob.com>
1190 * configure.in (libc_cv_localstatedir): New substituted variable.
1191 * configure: Regenerated.
1192 * config.make.in (localstatedir): New variable, substituted from
1193 libc_cv_localstatedir.
1194 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1195 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1196 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1197 * sysdeps/gnu/configure: Regenerated.
1199 2012-06-21 Jeff Law <law@redhat.com>
1202 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1203 free. Simplify list management for _LIBC case.
1205 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1208 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1209 Clear sign bit of 64-bit integer value before comparing against
1212 * sysdeps/mach/configure: Regenerated.
1214 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1217 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1219 2012-06-21 Jeff Law <law@redhat.com>
1222 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1223 uint16_t for elements in the "seen" array to avoid char overflows.
1224 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1225 * elf/dl-open.c (dl_open_worker): Likewise.
1227 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1229 * scripts/list-sources.sh: Scan PORTS for translations.
1230 * po/libc.pot: Regenerated.
1232 2012-06-21 Andreas Jaeger <aj@suse.de>
1235 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1237 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1238 * bits/byteswap-16.h (__bswap_16): Likewise.
1239 * bits/byteswap.h (__bswap_constant_16): Likewise.
1241 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1244 * sysdeps/i386/fpu_control.h: Removed.
1245 * sysdeps/x86_64/fpu_control.h: Moved to ...
1246 * sysdeps/x86/fpu_control.h: Here.
1248 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1249 (_FPU_SETCW): Likewise.
1251 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1254 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1255 * sysdeps/x86/fpu/bits/mathinline.h: This.
1256 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1260 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1261 functions if __x86_64__ is defined.
1263 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1265 * string/endian.h: Add !__ASSEMBLER__ condition for including
1266 conversion interfaces.
1268 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1272 of ABS(x) in calculating zero to negative powers other than odd
1274 * math/libm-test.inc (pow_test): Add more tests.
1276 2012-06-15 Andreas Jaeger <aj@suse.de>
1278 * manual/contrib.texi (Contributors): Update entry of Liubov
1279 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1282 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1284 * string/string.h: Add __wur to GNU version of strerror_r.
1286 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1289 * string/Makefile (tests): Add tst-strtok_r.
1290 * string/tst-strtok_r.c: New file.
1291 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1292 RAX_LP/RDX_LP on SAVE_PTR.
1294 2012-06-14 Roland McGrath <roland@hack.frob.com>
1296 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1298 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1300 * libm_test.inc (csqrt_test): Allow more spurious underflow
1302 (j0_test): Likewise.
1303 (j1_test): Likewise.
1304 (y0_test): Likewise.
1305 (y1_test): Likewise.
1307 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1309 * po/Makefile (libc.pot): Use UTF-8 charset.
1311 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1314 Suppress sign-conversion warning from FD_SET.
1315 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1316 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1317 not unsigned long int.
1318 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1320 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1324 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1325 __extern_always_inline instead of __extern_inline.
1326 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1327 (__signbit): Likewise.
1328 (__signbitl): Support C++ namespace.
1329 (lrintf): New inline function.
1331 (llrintf): Likewise.
1343 (nearbyint): Likewise.
1344 (nearbyintf): Likewise.
1346 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1348 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1349 non-default versions.
1351 2012-06-11 Roland McGrath <roland@hack.frob.com>
1354 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1356 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1358 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1359 (FE_UPWARD, FE_DOWNWARD): Don't define.
1360 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1361 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1363 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1365 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1366 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1368 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1370 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1371 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1372 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1373 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1375 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1378 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1379 * sysdeps/i386/fpu/Implies: New file.
1380 * sysdeps/x86_64/fpu/Implies: Likewise.
1381 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1382 * sysdeps/x86/fpu/bits/fenv.h: This.
1384 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1387 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1390 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1391 character 0xffff that matches the last element of the
1394 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1396 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1399 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1402 values higher than 25.6283.
1404 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1406 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1407 subnormal exponent extraction and add some __builtin_expect.
1408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1409 Fix for subnormal mantissa calculation.
1411 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1413 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1414 cpu2 is -1 and errno is not ENOSYS.
1416 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1419 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1420 * sysdeps/x86/bits/string.h: This.
1421 * sysdeps/x86_64/bits/string.h: Removed.
1423 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1424 if not compiling for x86-64, but compiling for >= i486.
1426 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1427 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1430 New macro from Linux kernel 3.4.0.
1431 (FP_XSTATE_MAGIC2): Likewise.
1432 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1433 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1434 (struct _fpx_sw_bytes): New struct.
1435 (struct _xsave_hdr): Likewise.
1436 (struct _ymmh_state): Likewise.
1437 (struct _xstate): Likewise.
1439 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1440 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1441 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1442 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1443 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1444 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1446 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1448 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1449 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1450 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1451 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1453 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1456 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1457 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1458 (sysdep_headers): Include sys/platform/ppc.h.
1459 * sysdeps/powerpc/test-gettimebase.c: Test for
1460 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1461 * manual/Makefile (appendices): Include platform.texi.
1462 * manual/contrib.texi (Contributors): Update @node pointers.
1463 * manual/maint.texi (Maintenance): Likewise.
1464 (Platform): New node.
1465 * manual/platform.texi: New file. Document the new features.
1467 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1468 Jakub Jelinek <jakub@redhat.com>
1471 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1472 where __builtin_expect is unavailable.
1474 2012-06-03 David S. Miller <davem@davemloft.net>
1476 * stdlib/longlong.h: Updated from GCC.
1478 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1481 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1482 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1485 (GLIBC_2.16): Likewise.
1487 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1489 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1491 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1494 (default-abi): New variable.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1498 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1500 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1502 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1505 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1506 definition. Document in comment.
1508 2012-06-01 David S. Miller <davem@davemloft.net>
1510 * stdlib/longlong.h: Updated from GCC.
1512 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1515 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1516 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1517 sys/debugreg.h sys/io.h here.
1518 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1519 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1521 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1522 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1523 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1524 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1525 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1526 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1528 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1529 Define only if __x86_64__ is defined.
1531 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1534 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1535 Use int64_t for variable i.
1536 * math/libm-test.inc (fmod_test): Add more tests.
1538 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1539 z computation is not scheduled after fetestexcept.
1540 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1541 Use math_force_eval instead of asm to ensure calculation scheduled
1542 before exception test.
1543 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1544 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1546 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1549 computation is not scheduled after fetestexcept.
1551 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1554 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1555 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1557 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1559 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1560 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1562 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1565 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1567 (__WCHAR_MIN): Support __WORDSIZE == 64.
1568 (__WCHAR_MAX): Likewise.
1570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1571 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1574 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1575 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1578 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1581 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1582 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1585 Defined to 1 if __x86_64__ isn't defined.
1586 (_STAT_VER_LINUX_OLD): New.
1587 (st_atime): Remove duplicate.
1588 (st_mtime): Likewise.
1589 (st_ctime): Likewise.
1591 2012-05-31 David S. Miller <davem@davemloft.net>
1593 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1596 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1598 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1602 * elf/dl-reloc.c: Include <_itoa.h>.
1603 (_dl_reloc_bad_type): Remove use of INTUSE.
1604 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1605 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1606 * stdio-common/psiginfo.c (psiginfo): Likewise.
1607 * stdio-common/psignal.c (psignal): Likewise.
1608 * string/strsignal.c (strsignal): Likewise.
1609 * include/signal.h (_sys_siglist): Declare hidden proto.
1610 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1611 INTVARDEF with libc_hidden_data_def.
1612 * stdio-common/itoa-udigits.c: Likewise.
1613 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1614 (_itoa_lower_digits_internal): Remove declaration.
1615 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1616 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1617 (_sys_sigabbrev_internal): Remove aliases.
1618 (_sys_siglist): Define hidden alias.
1620 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1625 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1628 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1629 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1631 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1632 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1633 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1634 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1635 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1636 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1638 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1639 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1640 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1642 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1651 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1652 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1654 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1655 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1656 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1657 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1658 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1659 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1661 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1662 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1664 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1665 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1667 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1671 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1672 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1674 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1676 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1677 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1678 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1680 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1682 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1684 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1686 * math/math.h (M_El): Use two more decimal places.
1687 (M_LOG2El): Likewise.
1688 (M_LOG10El): Likewise.
1690 (M_LN10l): Likewise.
1692 (M_PI_2l): Likewise.
1693 (M_PI_4l): Likewise.
1694 (M_1_PIl): Likewise.
1695 (M_2_PIl): Likewise.
1696 (M_2_SQRTPIl): Likewise.
1697 (M_SQRT2l): Likewise.
1698 (M_SQRT1_2l): Likewise.
1700 2012-05-31 David S. Miller <davem@davemloft.net>
1702 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1703 values between float registers.
1704 * sysdeps/sparc/sparc64/memset.S: Likewise.
1705 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1707 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1709 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1710 -D_FORTIFY_SOURCE=1.
1711 (CPPFLAGS-tst-longjmp_chk.c): Define.
1712 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1713 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1714 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1715 CFLAGS-tst-wchar-h.c.
1717 2012-05-31 Marek Polacek <polacek@redhat.com>
1720 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1721 __endmntent_internal): Remove declaration.
1722 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1723 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1724 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1726 2012-05-30 David S. Miller <davem@davemloft.net>
1728 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1729 (___Q_simulate_exceptions): Use real FP ops rather than writing
1731 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1734 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1737 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1738 * sysdeps/x86/bits/xtitypes.h: This.
1740 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1741 * sysdeps/x86/bits/wordsize.h: This.
1743 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1744 * sysdeps/x86/bits/huge_vall.h: This.
1746 * sysdeps/i386/bits/select.h: Removed.
1747 * sysdeps/x86_64/bits/select.h: Renamed to ...
1748 * sysdeps/x86/bits/select.h: This.
1750 * sysdeps/i386/bits/setjmp.h: Removed.
1751 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1752 * sysdeps/x86/bits/setjmp.h: This.
1754 * sysdeps/i386/bits/mathdef.h: Removed.
1755 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1756 * sysdeps/x86/bits/mathdef.h: This.
1758 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1761 * include/sys/socket.h (__connect_internal)
1762 (__libc_sa_len_internal): Remove declaration.
1763 (__connect, __libc_sa_len): Declare hidden_proto.
1764 (SA_LEN): Remove use of INTUSE.
1765 * socket/connect.c: Add libc_hidden_def.
1766 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1767 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1768 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1770 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1771 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1772 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1773 of adding _internal alias.
1775 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1778 * sysdeps/i386/bits/link.h: Removed.
1779 * sysdeps/i386/bits/linkmap.h: Likewise.
1780 * sysdeps/x86_64/bits/link.h: Renamed to ...
1781 * sysdeps/x86/bits/link.h: This.
1782 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1783 * sysdeps/x86/bits/linkmap.h: This.
1785 * sysdeps/i386/bits/endian.h: Removed.
1786 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1787 * sysdeps/x86/bits/endian.h: This.
1789 * sysdeps/i386/bits/byteswap.h: Removed.
1790 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1791 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1792 * sysdeps/x86/bits/byteswap.h: This.
1793 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1794 * sysdeps/x86/bits/byteswap-16.h: This.
1795 * sysdeps/i386/Implies: Add x86.
1796 * sysdeps/x86_64/Implies: Likewise.
1798 2012-05-30 David S. Miller <davem@davemloft.net>
1800 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1801 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1802 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1803 (FP_TRAPPING_EXCEPTIONS): Define.
1804 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1805 (FP_TRAPPING_EXCEPTIONS): Define.
1806 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1807 subnormals only when inexact has been signalled or underflow
1808 exceptions are enabled.
1809 (_FP_PACK_CANONICAL): Likewise.
1811 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1815 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1817 2012-05-30 Richard Henderson <rth@twiddle.net>
1819 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1820 with #ifndef NOT_IN_libc.
1822 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1823 marked to avoid plt entry.
1825 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1828 * Makeconfig (default-abi): New macro.
1829 (abi-includes): Likewise.
1830 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1831 $(abi-$(default-abi)-lib-soname) for soname if defined.
1832 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1834 * Makefile (installed-stubs): Likewise.
1835 * include/stubs-biarch.h: Removed.
1836 * scripts/lib-names.awk: Only handle one library at a time.
1837 * scripts/soversions.awk: Remove WORDSIZE support.
1838 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1840 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1842 (syscall-list-default-condition): Likewise.
1843 (syscall-list-default-condition): Likewise.
1844 (syscall-list-includes): Likewise.
1845 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1846 syscall-list-* with abi-*. Handle undefined abi-variants.
1847 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1848 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1849 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1850 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1851 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1852 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1854 (syscall-list-32-options): Likewise.
1855 (syscall-list-32-condition): Likewise.
1856 (syscall-list-64-options): Likewise.
1857 (syscall-list-64-condition): Likewise.
1858 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1860 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1863 (abi-64-ld-soname): New macro.
1864 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1865 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1868 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1869 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1871 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1873 * sysdeps/unix/sysv/linux/kernel-features.h
1874 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1875 * sysdeps/unix/sysv/linux/ftruncate64.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.
1881 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1882 include <kernel-features.h>.
1883 [!__NR_ftruncate64]: Remove conditional code.
1884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1885 [__NR_ftruncate64]: Make code unconditional.
1886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1888 include <kernel-features.h>.
1889 [!__NR_ftruncate64]: Remove conditional code.
1890 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1891 [__NR_ftruncate64]: Make code unconditional.
1892 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1894 include <kernel-features.h>.
1895 [!__NR_ftruncate64]: Remove conditional code.
1896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1897 [__NR_ftruncate64]: Make code unconditional.
1898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1900 * configure.in (libc_cv_fpie): Weaken to a compile test using
1902 * configure: Regenerated.
1904 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1919 2012-05-27 David S. Miller <davem@davemloft.net>
1921 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1923 (__Q_simulate_exceptions): Return void. Change to simulate
1924 exceptions by writing into the %fsr.
1925 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1926 (__Qp_handle_exceptions): Likewise.
1928 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1929 __Qp_handle_exceptions.
1930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1931 __Qp_handle_exceptions.
1932 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1933 as unused and give dummy FP_RND_NEAREST initializer.
1934 (FP_INHIBIT_RESULTS): Define.
1935 (___Q_simulate_exceptions): Update declaration.
1936 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1938 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1939 as unused and give dummy FP_RND_NEAREST initializer.
1940 (__Qp_handle_exceptions): Update declaration.
1941 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1944 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1946 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1947 the temporary FPU control word.
1948 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1949 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1951 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1952 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1953 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1954 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1955 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1956 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1957 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1958 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1960 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1962 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1965 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1967 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1968 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1969 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1970 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1972 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1973 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1976 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1978 * po/h.po: Update from translation team.
1980 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1982 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1984 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1985 handling of denormals.
1986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1987 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1988 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1989 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1995 2012-05-26 Marek Polacek <polacek@redhat.com>
1998 * math/libm-test.inc (fma_test): Don't always expect underflow
2001 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2004 * elf/tst-execstack.c: Include stackinfo.h.
2005 (do_test): Adjust test case to ensure that pthread_getattr_np
2006 behaviour remains the same after marking stack executable.
2008 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2010 * sysdeps/unix/sysv/linux/kernel-features.h
2011 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2012 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2014 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2015 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2016 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2018 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2019 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2021 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2023 * configure.in: Define the default includes to being none.
2024 * configure: Regenerated.
2026 2012-05-25 Roland McGrath <roland@hack.frob.com>
2028 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2029 * sysdeps/x86_64/setjmp.S: Likewise.
2030 * sysdeps/i386/bsd-setjmp.S: Likewise.
2031 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2032 * sysdeps/i386/setjmp.S: Likewise.
2033 * sysdeps/i386/__longjmp.S: Likewise.
2034 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2035 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2037 * include/stap-probe.h: New file.
2038 * configure.in: Handle --enable-systemtap.
2039 * configure: Regenerated.
2040 * config.h.in (USE_STAP_PROBE): New #undef.
2041 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2042 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2043 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2045 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2048 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2049 to 2.4.0 where earlier.
2050 * sysdeps/unix/sysv/linux/configure: Regenerated.
2051 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2052 <kernel-features.h>.
2053 [__ASSUME_32BITUIDS]: Make code unconditional.
2054 [!__ASSUME_32BITUIDS]: Remove conditional code.
2055 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2056 <kernel-features.h>.
2057 [__ASSUME_32BITUIDS]: Make code unconditional.
2058 [!__ASSUME_32BITUIDS]: Remove conditional code.
2059 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2060 [__ASSUME_32BITUIDS]: Make code unconditional.
2061 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2062 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2063 <kernel-features.h>.
2064 [__ASSUME_32BITUIDS]: Make code unconditional.
2065 [!__ASSUME_32BITUIDS]: Remove conditional code.
2066 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2067 <kernel-features.h>.
2068 [__ASSUME_32BITUIDS]: Make code unconditional.
2069 [!__ASSUME_32BITUIDS]: Remove conditional code.
2070 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2071 <kernel-features.h>.
2072 [__ASSUME_32BITUIDS]: Make code unconditional.
2073 [!__ASSUME_32BITUIDS]: Remove conditional code.
2074 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2075 <kernel-features.h>.
2076 [__ASSUME_32BITUIDS]: Make code unconditional.
2077 [!__ASSUME_32BITUIDS]: Remove conditional code.
2078 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2079 <kernel-features.h>.
2080 [__ASSUME_32BITUIDS]: Make code unconditional.
2081 [!__ASSUME_32BITUIDS]: Remove conditional code.
2082 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2083 <kernel-features.h>.
2084 [__ASSUME_32BITUIDS]: Make code unconditional.
2085 [!__ASSUME_32BITUIDS]: Remove conditional code.
2086 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2087 <kernel-features.h>.
2088 [__ASSUME_32BITUIDS]: Make code unconditional.
2089 [!__ASSUME_32BITUIDS]: Remove conditional code.
2090 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2091 <kernel-features.h>.
2092 [__ASSUME_32BITUIDS]: Make code unconditional.
2093 [!__ASSUME_32BITUIDS]: Remove conditional code.
2094 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
2103 <kernel-features.h>.
2104 [__NR_setresgid] (__setresgid): Do not declare.
2105 [__ASSUME_32BITUIDS]: Make code unconditional.
2106 [!__ASSUME_32BITUIDS]: Remove conditional code.
2107 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2108 <kernel-features.h>.
2109 [__NR_setresuid] (__setresuid): Do not declare.
2110 [__ASSUME_32BITUIDS]: Make code unconditional.
2111 [!__ASSUME_32BITUIDS]: Remove conditional code.
2112 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2113 <kernel-features.h>.
2114 [__ASSUME_32BITUIDS]: Make code unconditional.
2115 [!__ASSUME_32BITUIDS]: Remove conditional code.
2116 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2117 <kernel-features.h>.
2118 [__ASSUME_32BITUIDS]: Make code unconditional.
2119 [!__ASSUME_32BITUIDS]: Remove conditional code.
2120 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2121 <kernel-features.h>.
2122 [__ASSUME_32BITUIDS]: Make code unconditional.
2123 [!__ASSUME_32BITUIDS]: Remove conditional code.
2124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2125 <kernel-features.h>.
2126 [__ASSUME_32BITUIDS]: Make code unconditional.
2127 [!__ASSUME_32BITUIDS]: Remove conditional code.
2128 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2129 <kernel-features.h>.
2130 [__ASSUME_32BITUIDS]: Make code unconditional.
2131 [!__ASSUME_32BITUIDS]: Remove conditional code.
2132 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2133 <kernel-features.h>.
2134 [__ASSUME_32BITUIDS]: Make code unconditional.
2135 [!__ASSUME_32BITUIDS]: Remove conditional code.
2136 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2137 <kernel-features.h>.
2138 [__ASSUME_32BITUIDS]: Make code unconditional.
2139 [!__ASSUME_32BITUIDS]: Remove conditional code.
2140 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2141 <kernel-features.h>.
2142 [__ASSUME_32BITUIDS]: Make code unconditional.
2143 [!__ASSUME_32BITUIDS]: Remove conditional code.
2144 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2145 <kernel-features.h>.
2146 [__ASSUME_32BITUIDS]: Make code unconditional.
2147 [!__ASSUME_32BITUIDS]: Remove conditional code.
2148 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2149 <kernel-features.h>.
2150 [__ASSUME_32BITUIDS]: Make code unconditional.
2151 [!__ASSUME_32BITUIDS]: Remove conditional code.
2152 * sysdeps/unix/sysv/linux/kernel-features.h
2153 (__ASSUME_SETRESUID_SYSCALL): Remove.
2154 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2155 (__ASSUME_32BITUIDS): Likewise.
2156 (__ASSUME_LDT_WORKS): Likewise.
2157 (__ASSUME_O_DIRECTORY): Likewise.
2158 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2159 architecture but not kernel version.
2160 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2161 (__ASSUME_MMAP2_SYSCALL): Likewise.
2162 (__ASSUME_STAT64_SYSCALL): Likewise.
2163 (__ASSUME_IPC64): Likewise.
2164 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2165 <kernel-features.h>.
2166 [__ASSUME_32BITUIDS]: Make code unconditional.
2167 [!__ASSUME_32BITUIDS]: Remove conditional code.
2168 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2169 <kernel-features.h>.
2170 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2171 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2172 132096]: Remove conditional code.
2173 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2174 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2175 <kernel-features.h>.
2176 [__ASSUME_32BITUIDS]: Make code unconditional.
2177 [!__ASSUME_32BITUIDS]: Remove conditional code.
2178 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
2183 <kernel-features.h>.
2184 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2186 (__setresgid): Do not declare.
2187 [__ASSUME_32BITUIDS]: Make code unconditional.
2188 [!__ASSUME_32BITUIDS]: Remove conditional code.
2189 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2190 <kernel-features.h>.
2191 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2193 (__setresuid): Do not declare.
2194 [__ASSUME_32BITUIDS]: Make code unconditional.
2195 [!__ASSUME_32BITUIDS]: Remove conditional code.
2196 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2197 <kernel-features.h>.
2198 [__ASSUME_32BITUIDS]: Make code unconditional.
2199 [!__ASSUME_32BITUIDS]: Remove conditional code.
2200 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2201 <kernel-features.h>.
2202 [__ASSUME_32BITUIDS]: Make code unconditional.
2203 [!__ASSUME_32BITUIDS]: Remove conditional code.
2205 2012-05-25 Richard Henderson <rth@twiddle.net>
2207 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2208 dl_hwcap to ifunc resolver.
2209 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2211 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2212 dl_hwcap to ifunc resolver.
2213 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2215 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2218 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2219 for |x| <= 2**-26, not 2**-57.
2220 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2223 2012-05-24 Jeff Law <law@redhat.com>
2225 * stdio-common/Makefile (tests): Add bug25.
2226 * stdio-common/bug25.c: New test.
2228 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2231 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2232 multiple of MALLOC_ALIGNMENT in size.
2233 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2235 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2237 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2239 (FILENAME_MAX): Use macro-int-constant.
2240 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2241 (_IOFBF): Use macro-int-constant.
2244 (SEEK_CUR): Likewise.
2245 (SEEK_END): Likewise.
2246 (SEEK_SET): Likewise.
2247 (TMP_MAX): Likewise.
2248 (EOF): Use macro-int-constant. Require < 0.
2249 (NULL): Use macro-constant. Require == 0.
2250 (stdin): Require type to be FILE *.
2253 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2255 (EXIT_SUCCESS): Likewise.
2256 (NULL): Use macro-constant. Require == 0.
2257 (RAND_MAX): Use macro-int-constant.
2258 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2259 [C99-based standards] (strtof): Require function.
2260 [C99-based standards] (strtold): Likewise.
2261 [C99-based standards] (strtoll): Likewise.
2262 [C99-based standards] (strtoull): Likewise.
2263 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2264 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2265 [ISO || ISO99 || ISO11] (math.h): Likewise.
2266 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2267 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2270 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2273 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2274 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2275 * intl/dgettext.c (DCGETTEXT): Likewise.
2276 * intl/gettext.c (DCGETTEXT): Likewise.
2277 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2278 * posix/regex_internal.h (gettext): Likewise.
2279 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2281 * include/argz.h (__argz_count_internal)
2282 (__argz_stringify_internal): Remove declaration.
2283 (__argz_count, __argz_stringify): Declare hidden proto.
2284 * intl/dcgettext.c: Remove use of INTDEF.
2285 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2286 * string/argz-stringify.c: Likewise.
2287 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2288 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2289 Declare hidden proto.
2290 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2291 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2292 Declare hidden proto.
2293 * include/stdio.h (__asprintf_internal): Don't declare.
2294 (__asprintf): Don't define as macro. Declare hidden proto.
2295 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2296 (__fsetlocking): Declare hidden proto.
2297 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2298 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2300 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2301 (_IO_setlinebuf): Remove use of INTUSE.
2302 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2303 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2304 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2306 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2307 (_IO_do_flush): Remove use of INTUSE.
2308 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2309 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2310 (_IO_adjust_column, _IO_least_wmarker)
2311 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2312 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2313 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2314 (_IO_default_doallocate, _IO_wdefault_doallocate)
2315 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2316 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2317 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2318 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2319 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2320 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2321 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2322 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2323 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2324 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2325 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2326 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2327 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2329 (_IO_flush_all_internal, _IO_adjust_column_internal)
2330 (_IO_default_uflow_internal, _IO_default_finish_internal)
2331 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2332 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2333 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2334 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2335 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2336 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2337 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2338 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2339 (_IO_file_close_internal, _IO_file_close_it_internal)
2340 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2341 (_IO_file_init_internal, _IO_file_attach_internal)
2342 (_IO_file_fopen_internal, _IO_file_read_internal)
2343 (_IO_file_sync_internal, _IO_file_seek_internal)
2344 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2345 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2346 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2347 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2348 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2349 (_IO_list_all_internal, _IO_link_in_internal)
2350 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2351 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2352 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2353 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2354 (_IO_do_write_internal, _IO_padn_internal)
2355 (_IO_getline_info_internal, _IO_getline_internal)
2356 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2357 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2358 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2359 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2360 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2361 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2362 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2363 with libc_hidden_ver, remove use of INTUSE.
2364 * libio/genops.c: Likewise.
2365 * libio/freopen.c: Likewise.
2366 * libio/freopen64.c: Likewise.
2367 * libio/iofclose.c: Likewise.
2368 * libio/iofdopen.c: Likewise.
2369 * libio/iofflush.c: Likewise.
2370 * libio/iofflush_u.c: Likewise.
2371 * libio/iofgets.c: Likewise.
2372 * libio/iofgets_u.c: Likewise.
2373 * libio/iofopen.c: Likewise.
2374 * libio/iofopncook.c: Likewise.
2375 * libio/iofread.c: Likewise.
2376 * libio/iofread_u.c: Likewise.
2377 * libio/ioftell.c: Likewise.
2378 * libio/iofwrite.c: Likewise.
2379 * libio/iogetline.c: Likewise.
2380 * libio/iogets.c: Likewise.
2381 * libio/iogetwline.c: Likewise.
2382 * libio/iopadn.c: Likewise.
2383 * libio/iopopen.c: Likewise.
2384 * libio/ioseekoff.c: Likewise.
2385 * libio/ioseekpos.c: Likewise.
2386 * libio/iosetbuffer.c: Likewise.
2387 * libio/iosetvbuf.c: Likewise.
2388 * libio/ioungetc.c: Likewise.
2389 * libio/ioungetwc.c: Likewise.
2390 * libio/iovdprintf.c: Likewise.
2391 * libio/iovsprintf.c: Likewise.
2392 * libio/iovsscanf.c: Likewise.
2393 * libio/memstream.c: Likewise.
2394 * libio/obprintf.c: Likewise.
2395 * libio/oldfileops.c: Likewise.
2396 * libio/oldiofclose.c: Likewise.
2397 * libio/oldiofdopen.c: Likewise.
2398 * libio/oldiofopen.c: Likewise.
2399 * libio/oldiopopen.c: Likewise.
2400 * libio/oldstdfiles.c: Likewise.
2401 * libio/putc.c: Likewise.
2402 * libio/setbuf.c: Likewise.
2403 * libio/setlinebuf.c: Likewise.
2404 * libio/stdfiles.c: Likewise.
2405 * libio/strops.c: Likewise.
2406 * libio/vasprintf.c: Likewise.
2407 * libio/vscanf.c: Likewise.
2408 * libio/vsnprintf.c: Likewise.
2409 * libio/vswprintf.c: Likewise.
2410 * libio/wfiledoalloc.c: Likewise.
2411 * libio/wfileops.c: Likewise.
2412 * libio/wgenops.c: Likewise.
2413 * libio/wmemstream.c: Likewise.
2414 * libio/wstrops.c: Likewise.
2415 * libio/__fpurge.c: Likewise.
2416 * libio/__fsetlocking.c: Likewise.
2417 * assert/assert.c: Likewise.
2418 * debug/fgets_chk.c: Likewise.
2419 * debug/fgets_u_chk.c: Likewise.
2420 * debug/fread_chk.c: Likewise.
2421 * debug/fread_u_chk.c: Likewise.
2422 * debug/gets_chk.c: Likewise.
2423 * debug/obprintf_chk.c: Likewise.
2424 * debug/vasprintf_chk.c: Likewise.
2425 * debug/vdprintf_chk.c: Likewise.
2426 * debug/vsnprintf_chk.c: Likewise.
2427 * debug/vsprintf_chk.c: Likewise.
2428 * malloc/mtrace.c: Likewise.
2429 * misc/error.c: Likewise.
2430 * misc/syslog.c: Likewise.
2431 * stdio-common/asprintf.c: Likewise.
2432 * stdio-common/fxprintf.c: Likewise.
2433 * stdio-common/getw.c: Likewise.
2434 * stdio-common/isoc99_fscanf.c: Likewise.
2435 * stdio-common/isoc99_scanf.c: Likewise.
2436 * stdio-common/isoc99_vfscanf.c: Likewise.
2437 * stdio-common/isoc99_vscanf.c: Likewise.
2438 * stdio-common/isoc99_vsscanf.c: Likewise.
2439 * stdio-common/printf-prs.c: Likewise.
2440 * stdio-common/printf_fp.c: Likewise.
2441 * stdio-common/printf_fphex.c: Likewise.
2442 * stdio-common/printf_size.c: Likewise.
2443 * stdio-common/putw.c: Likewise.
2444 * stdio-common/scanf.c: Likewise.
2445 * stdio-common/sprintf.c: Likewise.
2446 * stdio-common/tmpfile.c: Likewise.
2447 * stdio-common/vfprintf.c: Likewise.
2448 * stdio-common/vfscanf.c: Likewise.
2449 * stdlib/strfmon_l.c: Likewise.
2450 * sunrpc/openchild.c: Likewise.
2451 * sunrpc/xdr_stdio.c: Likewise.
2452 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2453 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2455 2012-05-24 Roland McGrath <roland@hack.frob.com>
2457 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2459 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2460 in the third column, to generate for the shared library an IFUNC
2461 that uses _dl_vdso_vsym.
2462 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2463 * Makeconfig (object-suffixes-noshared): New variable.
2465 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2466 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2467 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2468 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2471 * include/sys/time.h (__gettimeofday): Remove macro.
2472 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2473 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2475 (__gettimeofday): Add libc_hidden_def.
2476 (gettimeofday): Add libc_hidden_weak.
2477 * sysdeps/mach/gettimeofday.c: Likewise.
2478 * sysdeps/posix/gettimeofday.c: Likewise.
2479 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2480 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2482 (__gettimeofday_internal): Remove strong_alias.
2483 (__gettimeofday): Add libc_hidden_def.
2484 (gettimeofday): Add libc_hidden_weak.
2485 * sysdeps/unix/syscalls.list (gettimeofday):
2486 Remove __gettimeofday_internal alias.
2488 2012-05-24 Daniel Jacobowitz <drow@false.org>
2489 H.J. Lu <hongjiu.lu@intel.com>
2492 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2493 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2494 (largebin_index_32_big): New.
2495 (largebin_index): Use it for 16-byte alignment.
2496 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2497 correction with front_misalign.
2499 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2527 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2528 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2530 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2534 * math/libm-test.inc (exp_test): Add test from bug 14036.
2535 (pow_test): Add test from bug 10846.
2537 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2539 (special_function): Do not include flags in test name.
2540 (parse_args): Likewise.
2541 * sysdeps/i386/fpu/libm-test-ulps: Update.
2542 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2543 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2544 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2547 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2549 * math/libm-test.inc ("Philosophy"): Update comment about
2551 (UNDERFLOW_EXCEPTION): New macro.
2552 (UNDERFLOW_EXCEPTION_OK): Likewise.
2553 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2554 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2555 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2556 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2557 (INVALID_EXCEPTION_OK): Update value.
2558 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2559 (OVERFLOW_EXCEPTION_OK): Likewise.
2560 (IGNORE_ZERO_INF_SIGN): Likewise.
2561 (test_exceptions): Handle underflow exceptions.
2562 (acos_test): Update for underflow exception expectations.
2563 (cexp_test): Likewise.
2564 (clog_test): Likewise.
2565 (clog10_test): Likewise.
2566 (csqrt_test): Likewise.
2567 (ctan_test): Likewise.
2568 (ctanh_test): Likewise.
2569 (exp_test): Likewise.
2570 (exp10_test): Likewise.
2571 (exp2_test): Likewise.
2572 (expm1_test): Likewise.
2573 (fma_test): Likewise.
2574 (j0_test): Likewise.
2575 (jn_test): Likewise.
2576 (nexttoward_test): Likewise.
2577 (pow_test): Likewise.
2578 (scalbn_test): Likewise.
2579 (scalbln_test): Likewise.
2580 (tan_test): Likewise.
2581 (y1_test): Likewise.
2582 * sysdeps/i386/fpu/libm-test-ulps: Update.
2583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2585 2012-05-23 David S. Miller <davem@davemloft.net>
2587 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2588 (__libc_sigaction): Remove unused local variables.
2590 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2592 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2594 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2596 mktime: avoid signed integer overflow
2597 * time/mktime.c (__mktime_internal): Do not mishandle the case
2598 where diff == INT_MIN.
2600 mktime: simplify computation of average
2601 * time/mktime.c (ranged_convert): Use new time_t_avg function
2602 instead of rolling our own (probably-slower) code.
2604 mktime: do not assume signed right shift propagates sign bit
2605 * time/mktime.c (isdst_differ): New static function.
2606 (__mktime_internal): No need to normalize tm_isdst now.
2607 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2610 mktime: merge another wrapv change from gnulib
2611 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2612 from some compilers.
2614 mktime: remove incorrect attempt at unusual arithmetics
2615 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2616 The code didn't really work on such machines anyway.
2617 (TYPE_MINIMUM): Assume two's complement.
2618 (twos_complement_arithmetic): Verify that long_int and time_t
2619 are two's complement (or unsigned, in the latter case).
2621 mktime: check signed shifts on long_int and time_t, too
2622 * time/mktime.c (SHR): Check that shifts work as desired
2623 on the types long_int and time_t too, as SHR is used on
2626 mktime: do not assume 'long' is wide enough
2627 * time/mktime.c (verify): Move decl up.
2628 (long_int): New type.
2629 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2630 to remove assumption in the code that 'long' is wide enough to
2631 store year values. This assumption is not true on x32 and on
2632 some non-glibc platforms.
2634 mktime: merge wrapv change from gnulib
2635 * time/mktime.c (WRAPV): New macro.
2636 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2637 (guess_time_tm, __mktime_internal): Do not assume that signed
2638 integer overflow wraps around; modern compilers generate code
2639 where this assumption is no longer valid.
2641 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2644 Replace "jmp L(pseudo_end)" with "ret".
2645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2648 2012-05-23 Andreas Jaeger <aj@suse.de>
2650 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2651 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2653 2012-05-23 Andreas Jaeger <aj@suse.de>
2654 Maximilian Attems <max@stro.at>
2656 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2659 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2661 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2662 code so that pseudo_end is just ret and the stack pointer is
2663 correct also for static library in error case.
2665 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2667 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2668 move to syscalls.list.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2674 * manual/install.texi (Running make install): Do not mention Linux
2675 kernel version for which pt_chown is not needed.
2676 (Linux): Do not mention problems with nscd with 2.0 kernels.
2677 * INSTALL: Regenerated.
2679 2012-05-23 Andreas Jaeger <aj@suse.de>
2681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2682 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2684 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2685 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2686 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2688 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2692 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2693 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2694 * sysdeps/unix/sysv/linux/bits/in.h
2695 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2697 2012-05-22 Roland McGrath <roland@hack.frob.com>
2699 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2700 (PREPARE_VERSION): Just use assert instead, it will be elided
2701 under [NDEBUG] anyway.
2703 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2705 * sysdeps/unix/sysv/linux/Makefile: Include
2706 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2707 (sysdep_routines): Remove sysctl.
2708 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2709 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2710 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2711 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2712 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2714 2012-05-22 Andreas Jaeger <aj@suse.de>
2716 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2717 that pseudo_end is just ret and the stack pointer is correct also
2718 for static library in error case.
2720 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2723 * nss/nsswitch.c (defconfig_entries): New variable.
2724 (__nss_database_lookup): Don't leak defconfig entries.
2725 (nss_parse_service_list): Don't leak on error paths.
2726 (free_database_entries): New function.
2727 (free_defconfig): New function.
2728 (free_mem): Move common code to free_database_entries.
2730 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2732 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2734 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2736 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2737 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2740 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2741 (INTERNAL_SYSCALL_TYPES): Likewise.
2742 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2743 (LOAD_REGS_TYPES_[1-6]): Likewise.
2744 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2745 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2747 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2749 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2750 copysignl for GLIBC_2_0.
2751 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2752 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2754 logbl for GLIBC_2_0.
2755 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2756 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2758 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2760 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2763 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2766 * time/mktime.c: Update copyright years.
2768 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2770 mktime: merge comment-quoting-style change from gnulib
2771 * time/mktime.c: Quote 'like this' in comments.
2772 The GNU coding standards suggest that we no longer quote `like this',
2773 as "`" and "'" are typically rendered asymmetrically nowadays.
2774 The typical gnulib style is to quote 'like this' when quoting
2775 code, and "like this" when quoting English.
2777 * time/mktime.c (compile-command): Add "-I.".
2779 mktime: merge mktime-internal.h change from gnulib
2780 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2782 mktime: merge time_r change from gnulib
2783 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2785 mktime: merge DEBUG change from gnulib
2786 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2787 case system <time.h> has a #define.
2789 mktime: merge <sys/types.h> change from gnulib
2790 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2791 since <time.t> is now guaranteed to define time_t.
2793 mktime: merge HAVE_CONFIG_H change from gnulib
2794 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2796 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2801 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2803 (struct rusage): Use anonymous union to pad each field to
2806 2012-05-21 David S. Miller <davem@davemloft.net>
2808 * Makefules (o-iterator): Remove .s cases.
2809 (compile-command.s): Delete.
2810 (COMPILE.s): Delete.
2811 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2813 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2815 * configure.in (libc_cv_predef_stack_protector): Only consider
2816 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2817 * configure: Regenerated.
2819 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2822 New macro. Use R*LP on int and pointer.
2823 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2824 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2825 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2826 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2828 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2829 [__WORDSIZE_TIME64_COMPAT32] instead of
2830 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2831 (struct utmp): Likewise.
2832 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2833 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2835 (__WORDSIZE_TIME64_COMPAT32): This.
2836 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2837 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2838 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2839 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2840 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2841 (__WORDSIZE_TIME64_COMPAT32): New macro.
2843 2012-05-21 Andreas Jaeger <aj@suse.de>
2845 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2846 only if [SHARED]. Add prototype for __wcschr_ia32.
2848 2012-05-21 Roland McGrath <roland@hack.frob.com>
2850 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2851 of %rbp unmolested in the jmp_buf while mangling the low bits.
2852 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2853 unmolested high bits of %rbp while demangling the low bits.
2854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2856 2012-05-21 Andreas Jaeger <aj@suse.de>
2858 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2859 * sunrpc/svc_simple.c: Use it for registerrpc.
2860 * sunrpc/xcrypt.c: Use it for passwd2des.
2862 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2864 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2866 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2867 Don't define if [__SYSCALL_WORDSIZE != 32].
2868 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2871 2012-05-21 Bruno Haible <bruno@clisp.org>
2872 Andreas Jaeger <aj@suse.de>
2874 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2875 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2876 inptr and inend for must_buffer_ch.
2877 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2878 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2879 * stdio-common/Makefile (tests): Remove bug15.
2880 (bug15-ENV): Remove macro.
2881 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2884 2012-05-19 Andreas Jaeger <aj@suse.de>
2885 Roland McGrath <roland@hack.frob.com>
2887 * manual/contrib.texi: Completely rewritten. It contains now an
2888 alphabetical list of contributors and their contributions.
2890 2012-05-21 Richard Henderson <rth@twiddle.net>
2892 * misc/getauxval.c (__getauxval): Use unsigned long int.
2893 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2894 (getauxval): Use unsigned long int.
2896 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2898 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2900 2012-05-21 Roland McGrath <roland@hack.frob.com>
2902 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2903 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2904 __alignof__ (long double).
2906 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2910 2012-05-20 Richard Henderson <rth@twiddle.net>
2912 * misc/getauxval.c: New file.
2913 * misc/sys/auxv.h: New file.
2914 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2915 (routines): Add getauxval.
2916 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2917 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2918 * elf/dl-sysdep.c (_dl_auxv): Remove.
2919 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2920 * elf/dl-support.c (_dl_auxv): New variable.
2921 (_dl_aux_init): Initialize it.
2922 * manual/startup.texi (Auxiliary Vector): New node.
2923 * sysdeps/generic/bits/hwcap.h: New file.
2924 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2925 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2926 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2927 * sysdeps/sparc/sysdep.h: ... here. Include it.
2928 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2941 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2945 2012-05-19 David S. Miller <davem@davemloft.net>
2947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2949 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2952 * math/s_ccosh.c: Include <float.h>
2953 (__ccosh): Avoid internal overflow calculating sinh and cosh
2954 values before multiplying by sin and cos values.
2955 * math/s_ccoshf.c: Likewise.
2956 * math/s_ccoshl.c: Likewise.
2957 * math/s_csin.c: Likewise.
2958 * math/s_csinf.c: Likewise.
2959 * math/s_csinl.c: Likewise.
2960 * math/s_csinh.c: Likewise.
2961 * math/s_csinhf.c: Likewise.
2962 * math/s_csinhl.c: Likewise.
2963 * math/libm-test.inc (ccos_test): Add more tests.
2964 (ccosh_test): Likewise.
2965 (csin_test): Likewise.
2966 (csinh_test): Likewise.
2967 * sysdeps/i386/fpu/libm-test-ulps: Update.
2968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2970 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2972 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2973 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2975 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2977 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2979 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2980 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2981 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2982 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2983 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2984 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2985 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2986 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2987 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2988 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2989 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2990 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2991 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2992 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2993 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2994 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2995 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2996 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2997 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2998 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2999 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3000 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3001 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3002 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3003 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3004 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3005 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3006 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3007 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3008 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3009 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3011 2012-05-18 Andreas Jaeger <aj@suse.de>
3013 * csu/.gitignore: Delete.
3015 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3017 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3018 (timex): Use __syscall_slong_t.
3020 2012-05-18 Andreas Jaeger <aj@suse.de>
3021 Carlos O'Donell <carlos_odonell@mentor.com>
3023 * manual/install.texi (Configuring and compiling): Update
3024 description about files modified in the source directory.
3025 * INSTALL: Regenerated.
3027 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3029 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3030 value. Use "or" to set return value to -1.
3031 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3032 negate return value.
3034 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3036 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3037 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3038 failure if the compiler has Graphite support disabled.
3039 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3041 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3042 CFLAGS-memmove.c): Likewise.
3043 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3046 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3048 * sysdeps/x86_64/x32/_itoa.h: New file.
3050 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3051 getdents system call only if kernel and user dirents have the
3052 same d_ino and d_off.
3054 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3055 LLONG_MAX != LONG_MAX.
3056 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3057 (_fitoa_word): Likewise.
3059 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3061 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3062 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3063 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3065 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3066 include <bits/wordsize.h>. Check __x86_64__ instead of
3068 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3069 if __x86_64__ is defined. Use anonymous union on fpstate.
3071 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3074 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3076 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3077 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3078 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3079 Refer to _rtld_local_ro instead of _rtld_global_ro.
3080 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3082 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3084 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3086 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3087 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3088 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3090 * sysdeps/powerpc/powerpc32/dl-machine.c
3091 (__elf_machine_runtime_setup) [PROF]: Don't reference
3094 2012-05-18 Andreas Jaeger <aj@suse.de>
3096 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3097 function only available for GCCs before 3.4 since GCC 3.4
3098 introduced a builtin.
3100 (llrintf): Likewise.
3108 (nearbyint): Likewise.
3109 (nearbyintf): Likewise.
3115 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3117 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3118 on both fields and cast pointer to __syscall_ulong_t.
3120 * bits/types.h (__fsword_t): New type.
3121 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3122 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3124 (__FSWORD_T_TYPE): Likewise.
3125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3126 (__FSWORD_T_TYPE): Likewise.
3127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3128 (__FSWORD_T_TYPE): Likewise.
3129 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3130 (__FSWORD_T_TYPE): Likewise.
3131 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3132 __SWORD_TYPE with __fsword_t.
3133 (statfs64): Likewise.
3135 2012-05-17 David S. Miller <davem@davemloft.net>
3137 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3139 2012-05-17 Andreas Jaeger <aj@suse.de>
3141 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3144 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3146 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3148 2012-05-17 Andreas Jaeger <aj@suse.de>
3150 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3153 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3155 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3157 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3159 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3160 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3162 2012-05-17 Andreas Jaeger <aj@suse.de>
3163 Carlos O'Donell <carlos_odonell@mentor.com>
3166 * sysdeps/x86_64/multiarch/init-arch.h
3167 (bit_YMM_Usable): Rename to...
3168 (bit_AVX_Usable): ... this.
3169 (bit_FMA4_Usable): New macro.
3170 (bit_XMM_state): New macro.
3171 (bit_YMM_state): New macro.
3172 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3173 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3174 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3175 (CPUID_OSXSAVE): New macro.
3176 (CPUID_AVX): New macro.
3177 (CPUID_FMA4): New macro.
3178 (index_YMM_Usable): Rename to...
3179 (index_AVX_Usable): ... this.
3180 (HAS_AVX): Use HAS_ARCH_FEATURE.
3181 (HAS_FMA4): Likewise.
3182 (HAS_YMM_USABLE): Remove.
3183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3184 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3186 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3187 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3188 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3189 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3190 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3192 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3194 * math/libm-test.c: Support platforms without multiple rounding modes.
3195 * math/bug-nextafter.c: Support platforms without FP exceptions.
3196 * math/bug-nexttoward.c: Likewise.
3197 * math/test-fenv.c: Likewise.
3198 * math/test-misc.c: Likewise.
3199 * stdlib/bug-getcontext.c: Likewise.
3201 2012-05-17 Andreas Jaeger <aj@suse.de>
3203 * manual/examples/search.c (critter_cmp): Change signature to
3205 * manual/string.texi (Collation Functions): Likewise.
3207 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3209 * bits/types.h: Fold copyright years.
3210 * bits/typesizes.h: Likewise.
3211 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3215 * time/time.h: Likewise.
3217 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3220 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3221 in instead of returning them. Return void.
3222 (__libc_mallinfo): Accumulate over all arenas.
3223 (__malloc_stats): Adjust for change in int_mallinfo interface.
3225 2012-05-16 Roland McGrath <roland@hack.frob.com>
3228 * configure.in (NM): Add AC_CHECK_TOOL for it.
3229 (libc_extra_cflags): New substituted variable.
3230 Check for -fstack-protector being used implicitly.
3231 * configure: Regenerated.
3232 * config.make.in (config-extra-cflags): New variable,
3233 gets @libc_extra_cflags@.
3234 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3237 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3238 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3239 * configure: Regenerated.
3240 * config.make.in (CPPUNDEFS): New substituted variable.
3241 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3242 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3243 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3245 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3247 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3248 (mq_attr): Use __syscall_slong_t.
3250 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3252 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3253 Check __x86_64__ instead of __WORDSIZE.
3254 (_STAT_VER_LINUX): Likewise.
3255 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3256 __syscall_ulong_t and __syscall_slong_t.
3259 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3263 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3265 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3267 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3269 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3272 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3273 include <bits/wordsize.h>. Check __x86_64__ instead of
3275 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3277 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3280 include <bits/wordsize.h>. Check __x86_64__ instead of
3282 (user_regs_struct): Use "__extension__ unsigned long long"
3283 instead of "unsigned long" if __x86_64__ is defined.
3284 (user): Likewise. Pad after pointer field if __ILP32__ is
3287 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3289 * configure.in (makeinfo): Require version 4.5 or later. Allow
3291 * configure: Regenerated.
3292 * manual/install.texi (texinfo): Increase version requirement to
3294 * INSTALL: Regenerated.
3296 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3298 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3300 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3302 * sysdeps/x86_64/x32/ffs.c: New file.
3304 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3306 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3307 defined. Use __syscall_ulong_t.
3308 (shminfo): Use __syscall_ulong_t.
3309 (shm_info): Likewise.
3311 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3314 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3316 (msgqnum_t): Use __syscall_ulong_t.
3317 (msglen_t): Likewise.
3318 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3321 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3322 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3324 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3326 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3327 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3329 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3332 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3333 include <bits/wordsize.h>. Check __x86_64__ instead of
3336 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3337 "unsigned long long int" if __x86_64__ is defined.
3338 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3340 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3341 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3342 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3344 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3346 (GET_PC): Cast to uintptr_t first.
3347 (GET_FRAME): Likewise.
3348 (GET_STACK): Likewise.
3350 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3351 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3353 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3355 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3356 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3357 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3358 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3360 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3362 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3363 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3364 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3365 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3366 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3367 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3368 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3369 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3370 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3371 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3372 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3373 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3374 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3375 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3376 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3378 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3380 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3382 * Makerules (+depfiles): Also collect depfiles from .oS in
3384 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3385 .oS, $(libnldbl-routines)).
3387 * Makerules (native-compile-mkdep-flags): Define.
3388 * sunrpc/Makefile (extra-objs): Add $(addprefix
3389 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3390 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3391 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3392 calling $(make-target-directory).
3394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3396 * bits/types.h (__snseconds_t): Removed.
3397 * time/time.h (struct timespec): Replace __snseconds_t with
3399 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3400 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3403 (__SNSECONDS_T_TYPE): Likewise.
3404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3405 (__SNSECONDS_T_TYPE): Likewise.
3406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3407 (__SNSECONDS_T_TYPE): Likewise.
3409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3411 * sysdeps/mach/hurd/bits/typesizes.h
3412 (__SYSCALL_SLONG_TYPE): New macro.
3413 (__SYSCALL_ULONG_TYPE): Likewise.
3415 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3417 * bits/types.h (__syscall_slong_t): New type.
3418 (__syscall_ulong_t): Likewise.
3420 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3421 (__SYSCALL_ULONG_TYPE): Likewise.
3422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3423 (__SYSCALL_SLONG_TYPE): Likewise.
3424 (__SYSCALL_ULONG_TYPE): Likewise.
3425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3426 (__SYSCALL_SLONG_TYPE): Likewise.
3427 (__SYSCALL_ULONG_TYPE): Likewise.
3428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3429 (__SYSCALL_SLONG_TYPE): Likewise.
3430 (__SYSCALL_ULONG_TYPE): Likewise.
3432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3434 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3435 Add sigaltstack-offsets.sym.
3436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3437 <sigaltstack-offsets.h>.
3438 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3439 longjmp_msg pointer.
3440 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3441 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3443 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3445 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3447 * elf/stackguard-macros.h: Remove file.
3448 * sysdeps/generic/stackguard-macros.h: New file.
3449 * sysdeps/i386/stackguard-macros.h: Likewise.
3450 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3451 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3452 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3453 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3454 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3455 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3456 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3457 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3458 <elf/stackguard-macros.h>.
3461 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3462 __aligned__ in attribute.
3463 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3464 (gregset_t): Likewise.
3466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3468 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3469 * sysdeps/x86_64/64/Implies-after: Here. New file.
3470 * sysdeps/x86_64/x32/Implies-after: New file.
3472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3474 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3475 and access return value for _dl_profile_fixup. Use R10_LP to
3478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3480 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3484 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3485 * sysdeps/x86_64/x32/sysdep.h: New file.
3487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3489 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3490 * sysdeps/x86_64/setjmp.S: Likewise.
3492 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3494 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3495 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3496 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3497 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3498 remove unused global constant.
3500 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3502 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3503 include of <not-cancel.h>.
3505 2012-05-15 Roland McGrath <roland@hack.frob.com>
3507 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3509 2012-05-15 Jeff Law <law@redhat.com>
3510 Andreas Jaeger <aj@suse.de>
3513 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3515 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3516 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3517 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3518 code changing __hst_map_handle.map.
3520 2012-05-15 Roland McGrath <roland@hack.frob.com>
3522 * configure.in (sysnames): Look for Implies-before and Implies-after
3524 * configure: Regenerated.
3526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3528 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3529 8-byte data alignment with LP_SIZE alignment.
3531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3538 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3542 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3543 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3544 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3546 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3550 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3551 (stackinfo_sub_sp): Likewise.
3553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3560 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3570 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3574 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3575 into R11_LP and load __x86_64_shared_cache_size_half into
3578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3583 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3592 powerpc32/power7/fpu/s_logb.c via #include.
3593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3594 powerpc32/power7/fpu/s_logbf.c via #include.
3595 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3596 powerpc32/power7/fpu/s_logbl.c via #include.
3598 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3600 * README.libm: Remove file.
3602 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3604 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3605 count for x32. Use R*_LP and omit operand-size suffix.
3607 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3609 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3610 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3611 * sysdeps/x86_64/x32/shlib-versions: New file.
3613 2012-05-14 Roland McGrath <roland@hack.frob.com>
3615 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3616 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3617 Use _dl_fatal_printf instead.
3619 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3621 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3622 set if not set by the user. Do not allow for being unset.
3623 * sysdeps/unix/sysv/linux/configure: Regenerated.
3625 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3627 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3628 the `q' suffix from lea and replace .quad with ASM_ADDR.
3630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3633 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3635 (PTR_DEMANGLE): Likewise.
3637 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3639 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3641 (ASM_ADDR): Likewise.
3659 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3661 * sysdeps/x86_64/x32/dl-machine.h: New file.
3663 2012-05-14 Andreas Jaeger <aj@suse.de>
3665 * manual/Makefile (subdir): Remove export of subdir.
3666 (all): Remove target.
3667 (.PHONY): Remove all from list.
3668 (mkinstalldirs): Remove.
3669 (.PHONY): Remove installdirs from list.
3670 ($(inst_infodir)/libc.info): Use make-target-directory.
3671 (installdirs): Remove.
3673 (glibc-targets): Remove.
3676 ($(objpfx)stubs ../po/manual.pot): Remove.
3677 ($(objpfx)stamp%): Remove.
3678 (make-target-directory): Remove.
3679 (subdir_install): Remove.
3687 * manual/.gitignore: Remove, it's not needed anymore.
3688 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3690 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3692 (texis): Renamed to $(objpfx)texis.
3693 (texis-path): New, contains path to generated files.
3694 (chapters.%): Use texis-path for complete path, add extra argument
3696 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3697 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3698 (summary,texi, stamp-summary): Use complete path of
3699 files. Generate files in build dir.
3700 (dir-add.texi): Build in build dir.
3701 (libm-err.texi,stamp-libm-err): Likewise.
3702 (version.texi, stamp-version): Likewise.
3703 (.%c.texi): Likewise.
3704 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3705 (mostlyclean): Remove target.
3706 (realclean): Remove target.
3707 (generated): Add new variable with contents from mostlyclean and
3708 realclean, remove entries duplicated in common-mostlyclean, add
3709 stamp-libm-err and stamp-version.
3710 (generated-dirs): Add libc directory.
3711 ($(inst_infodir)/libc.info): Install files from build dir.
3713 * manual/install.texi (Configuring and compiling): Adjust since
3714 the info files are not part of the tar ball anymore.
3716 2012-05-14 Andreas Jaeger <aj@suse.de>
3718 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3721 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3725 to 2.2.0 where earlier.
3726 * sysdeps/unix/sysv/linux/configure: Regenerated.
3727 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3728 Remove conditional code.
3729 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3730 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3731 Remove conditional code.
3732 [!__NR_lchown]: Likewise.
3733 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3734 [__NR_lchown]: Likewise.
3735 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3736 comment referencing __ASSUME_LCHOWN_SYSCALL.
3737 * sysdeps/unix/sysv/linux/i386/sigaction.c
3738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3740 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3741 Remove conditional code.
3742 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3743 (__protocol_available): Remove #if 0 code.
3744 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3746 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3747 * sysdeps/unix/sysv/linux/kernel-features.h
3748 (__ASSUME_GETCWD_SYSCALL): Don't define.
3749 (__ASSUME_REALTIME_SIGNALS): Likewise.
3750 (__ASSUME_PREAD_SYSCALL): Likewise.
3751 (__ASSUME_PWRITE_SYSCALL): Likewise.
3752 (__ASSUME_POLL_SYSCALL): Likewise.
3753 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3754 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3756 (__ASSUME_SIOCGIFNAME): Don't define.
3757 (__ASSUME_MSG_NOSIGNAL): Likewise.
3758 (__ASSUME_SENDFILE): Define unconditionally.
3759 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3760 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3762 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3763 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3764 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3765 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3766 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3767 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3768 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3770 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3776 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3793 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3794 Remove conditional code.
3795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3796 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3797 Remove conditional code.
3798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3799 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3800 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3801 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3802 Remove conditional code.
3803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3804 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3805 Remove conditional code.
3806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3807 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3808 Remove conditional code.
3809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3810 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3811 Remove conditional code.
3812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3813 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3814 Remove conditional code.
3815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3816 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3819 * sysdeps/unix/sysv/linux/sigaction.c
3820 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3821 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3822 * sysdeps/unix/sysv/linux/sigpending.c
3823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3825 * sysdeps/unix/sysv/linux/sigprocmask.c
3826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3828 * sysdeps/unix/sysv/linux/sigsuspend.c
3829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3831 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3832 (__libc_missing_rt_sigs): Remove.
3833 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3834 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3835 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3836 Remove conditional code.
3837 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3838 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3840 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3841 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3842 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3843 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3845 2012-05-14 Andreas Jaeger <aj@suse.de>
3847 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3848 it's not used in glibc.
3849 (__coshm1): Likewise.
3850 (__acosh1p): Likewise.
3853 * manual/string.texi (Copying and Concatenation): Add missing
3854 variable in concat example.
3855 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3857 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3861 __builtin_clzl with __builtin_clzll.
3863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3866 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3869 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3871 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3872 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3873 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3874 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3876 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3878 * NEWS: Update ia64 info.
3880 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3882 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3885 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3887 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3888 * sysdeps/unix/syscalls.list (dup3): Likewise.
3889 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3890 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3892 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3894 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3895 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3897 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3899 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3901 (TLS_IE): Use mov/add instead of movq/addq to load thread
3903 (TLS_GD_PREFIX): New.
3906 2012-05-11 David S. Miller <davem@davemloft.net>
3908 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3909 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3910 (_FPU_SETCW): Likewise.
3912 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3914 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3917 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3920 * iconvdata/gb18030.c: Update tables.
3921 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3922 characters specially.
3923 (BODY for TO_LOOP): Add encoding of missing ranges.
3925 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3928 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3929 * sysdeps/mach/hurd/dup3.c: Likewise.
3930 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3931 * sysdeps/powerpc/memmove.c:: Likewise.
3933 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3936 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3938 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3940 * elf/elf.h (R_X86_64_RELATIVE64): New.
3941 (R_X86_64_NUM): Updated.
3942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3943 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3944 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3945 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3946 tst-quad1pie tst-quad2pie
3947 (modules-names): Add tst-quadmod1 tst-quadmod2.
3948 ($(objpfx)tst-quad1): New dependency.
3949 ($(objpfx)tst-quad2): Likewise.
3950 ($(objpfx)tst-quad1pie): Likewise.
3951 ($(objpfx)tst-quad2pie): Likewise.
3952 * sysdeps/x86_64/tst-quad1.c: New file.
3953 * sysdeps/x86_64/tst-quad1pie.c: New file.
3954 * sysdeps/x86_64/tst-quad2.c: Likewise.
3955 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3956 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3957 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3958 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3959 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3963 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3964 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3965 * streams/stropts.h (t_scalar_t): Define type.
3967 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3968 (_PATH_PRESERVE): Set to "/var/lib".
3969 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3971 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3974 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3975 if __dir_mkfile succeeded.
3977 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3978 checking for _hurd_dtablesize. Unlock it right after having
3979 finished _hurd_dtable allocation.
3981 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3983 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3984 * sysdeps/mach/hurd/configure: Regenerated.
3985 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3986 special-casing to...
3987 * sysdeps/gnu/configure.in: ... this new file.
3988 * sysdeps/unix/sysv/linux/configure: Regenerated.
3989 * sysdeps/gnu/configure: New generated file.
3991 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3992 for Linux: use nsec instead of usec, as well as:
3993 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3994 members of type struct timespec.
3995 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3997 (struct stat64): Likewise.
3998 (_STATBUF_ST_NSEC): New macro.
3999 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4001 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4002 __strtoul_internal rather than strtoul.
4004 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4006 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4009 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4011 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4012 which preserves existing values.
4013 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4015 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4017 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4018 TIMEOUT values. Return EINVAL for NFDS values either negative or
4019 greater than FD_SETSIZE.
4021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4023 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4024 allocated, call __vm_protect to finish enabling the existing space, and
4025 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4026 allocate the remainder.
4028 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4030 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4031 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4033 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4035 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4036 sysdeps/mach/hurd/readlink.c.
4038 * posix/tst-sysconf.c (posix_options): Only use
4039 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4040 _POSIX_SYNCHRONIZED_IO when they are defined
4041 * sysdeps/mach/hurd/bits/posix_opt.h:
4042 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4043 (_XOPEN_REALTIME): Undefine macro.
4044 (_XOPEN_REALTIME_THREADS): Undefine macro.
4045 (_XOPEN_SHM): Undefine macro.
4046 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4048 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4050 (_POSIX_ASYNC_IO): Undefine macro.
4051 (_POSIX_PRIORITIZED_IO): Undefine macro.
4052 (_POSIX_SPIN_LOCKS): Define macro to -1.
4054 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4055 SA_NODEFER, SA_RESETHAND.
4056 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4057 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4062 * elf/Makefile (pldd-modules): Define unconditionally.
4064 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4066 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4070 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4071 Return ENOENT when name is empty.
4072 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4076 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4078 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4082 Fix mlock in all cases except non-readable pages.
4083 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4084 instead of VM_PROT_ALL as parameter to __vm_wire function.
4086 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4087 (__mkdir): When path is `/', just fail with EEXIST.
4088 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4092 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4093 <sys/uio.h> (for writev).
4094 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4095 and <sys/param.h> (for MIN).
4097 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4099 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4100 REQUESTED_TIME. Properly set the remaining time and return EINTR
4103 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4105 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4106 Depend on against $(link-rpcuserlibs).
4108 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4110 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4111 (__libc_stack_end): Do not use attribute_relro.
4112 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4113 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4114 to libthread-provided value.
4115 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4118 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4121 * bits/libc-lock.h (__libc_once_get): New macro.
4122 * sysdeps/mach/bits/libc-lock.h: Likewise.
4123 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4125 instead of using implementation details.
4127 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4128 * libio/freopen.c: Likewise.
4129 * libio/freopen64.c: Likewise.
4130 * misc/syslog.c: Likewise.
4131 * nscd/connections.c: Likewise.
4132 * nscd/netgroupcache.c: Likewise.
4133 * sysdeps/posix/getcwd.c: Likewise.
4135 2012-05-10 Roland McGrath <roland@hack.frob.com>
4137 * math/w_ilogbf.c: Add #include <limits.h>.
4139 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4141 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4142 path instead of returning without unlocking.
4144 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4145 immediate-write ioctls.
4146 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4148 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4150 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4151 __builtin_frame_address instead of making assumptions about the
4152 location of the return address relative to DATA. Force early load of
4154 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4155 __builtin_frame_address.
4158 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4159 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4160 implement dup3 and do some further code clean-ups.
4161 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4162 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4164 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4166 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4168 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4169 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4170 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4171 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4172 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4175 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4176 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4177 when handler == SIG_ERR, not when handler != SIG_ERR.
4179 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4181 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4182 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4185 accept4 for GNU Hurd.
4186 * include/sys/socket.h (__libc_accept4): New prototype.
4187 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4188 to implement __libc_accept4.
4189 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4191 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4193 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4194 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4195 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4198 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4200 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4202 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4204 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4205 assertion on O_CLOEXEC flag.
4206 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4207 * hurd/intern-fd.c: Likewise.
4208 * hurd/port2fd.c: Likewise.
4210 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4213 * bits/in.h (IPV6_PKTINFO): Define new macro.
4214 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4216 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4221 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4222 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4223 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4224 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4226 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4227 * math/libm-test.inc (logb_test) : Additional logb tests.
4229 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4230 Andreas Jaeger <aj@suse.de>
4232 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4233 * configure: Regenerated.
4234 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4235 * config.make.in (link-obsolete-rpc): New substituted variable.
4236 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4237 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4238 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4239 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4240 so that libc.a contains the symbols.
4241 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4242 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4243 * sunrpc/auth_none.c: Likewise.
4244 * sunrpc/auth_unix.c: Likewise.
4245 * sunrpc/authdes_prot.c: Likewise.
4246 * sunrpc/authuxprot.c: Likewise.
4247 * sunrpc/clnt_gen.c: Likewise.
4248 * sunrpc/clnt_perr.c: Likewise.
4249 * sunrpc/clnt_raw.c: Likewise.
4250 * sunrpc/clnt_simp.c: Likewise.
4251 * sunrpc/clnt_tcp.c: Likewise.
4252 * sunrpc/clnt_udp.c: Likewise.
4253 * sunrpc/clnt_unix.c: Likewise.
4254 * sunrpc/des_crypt.c: Likewise.
4255 * sunrpc/des_soft.c: Likewise.
4256 * sunrpc/get_myaddr.c: Likewise.
4257 * sunrpc/key_call.c: Likewise.
4258 * sunrpc/key_prot.c: Likewise.
4259 * sunrpc/netname.c: Likewise.
4260 * sunrpc/pm_getmaps.c: Likewise.
4261 * sunrpc/pm_getport.c: Likewise.
4262 * sunrpc/pmap_clnt.c: Likewise.
4263 * sunrpc/pmap_prot.c: Likewise.
4264 * sunrpc/pmap_prot2.c: Likewise.
4265 * sunrpc/pmap_rmt.c: Likewise.
4266 * sunrpc/publickey.c: Likewise.
4267 * sunrpc/rpc_cmsg.c: Likewise.
4268 * sunrpc/rpc_common.c: Likewise.
4269 * sunrpc/rpc_dtable.c: Likewise.
4270 * sunrpc/rpc_prot.c: Likewise.
4271 * sunrpc/rpc_thread.c: Likewise.
4272 * sunrpc/rtime.c: Likewise.
4273 * sunrpc/svc.c: Likewise.
4274 * sunrpc/svc_auth.c: Likewise.
4275 * sunrpc/svc_raw.c: Likewise.
4276 * sunrpc/svc_run.c: Likewise.
4277 * sunrpc/svc_tcp.c: Likewise.
4278 * sunrpc/svc_udp.c: Likewise.
4279 * sunrpc/svc_unix.c: Likewise.
4280 * sunrpc/svcauth_des.c: Likewise.
4281 * sunrpc/xcrypt.c: Likewise.
4282 * sunrpc/xdr.c: Likewise.
4283 * sunrpc/xdr_array.c: Likewise.
4284 * sunrpc/xdr_float.c: Likewise.
4285 * sunrpc/xdr_intXX_t.c: Likewise.
4286 * sunrpc/xdr_mem.c: Likewise.
4287 * sunrpc/xdr_rec.c: Likewise.
4288 * sunrpc/xdr_ref.c: Likewise.
4289 * sunrpc/xdr_sizeof.c: Likewise.
4290 * sunrpc/xdr_stdio.c: Likewise.
4292 2012-05-10 Roland McGrath <roland@hack.frob.com>
4294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4295 change. Update copyright years.
4297 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4299 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4301 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4302 Joseph Myers <joseph@codesourcery.com>
4303 Paul Pluzhnikov <ppluzhnikov@google.com>
4306 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4308 [cross-compiling] (extra-libs): Likewise.
4309 [cross-compiling] (extra-libs-others): Likewise.
4310 [cross-compiling] (librpcsvc-routines): Likewise.
4311 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4312 [cross-compiling] (omit-deps): Likewise.
4313 (sunrpc-CPPFLAGS): New variable.
4314 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4315 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4316 (cross-rpcgen-objs): New variable.
4317 (extra-objs): Append $(cross-rpcgen-objs).
4318 ($(cross-rpcgen-objs)): New rule.
4319 ($(objpfx)cross-rpcgen): Likewise.
4320 (rpcgen-cmd): Define to use $(built-program-file). Expand
4322 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4323 ($(objpfx)x%.stmp): Likewise.
4324 * sunrpc/proto.h [IS_IN_build] (_): Define.
4325 [IS_IN_build] (_libc_intl_domainname): Likewise.
4327 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4330 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4331 and R_X86_64_TPOFF64.
4333 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4335 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4336 sysdeps/unix/sysv/syscalls.list.
4339 * sysdeps/unix/sysv/syscalls.list: Remove file.
4341 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4344 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4345 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4346 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4347 (__LC_IDENTIFICATION): Make these macros useful in #if
4348 expressions, as required by C99.
4350 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4352 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4353 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4356 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4358 * stdlib/longlong.h: Updated from GCC.
4360 2012-05-09 Andreas Jaeger <aj@suse.de>
4362 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4363 default is first entry.
4364 (run_mode): Set type.
4365 (main): Remove informal message about syslog.
4366 (options): Fix typo.
4369 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4372 (llrintf): Likewise.
4376 (nearbyint): Likewise.
4377 (nearbyintf): Likewise.
4379 2012-05-09 Andreas Jaeger <aj@suse.de>
4380 Pedro Alves <palves@redhat.com>
4382 * nscd/nscd.c (run_mode): Use enum.
4383 (main): Cleanup coding style issue.
4385 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4386 Andreas Jaeger <aj@suse.de>
4388 * nscd/nscd.c (go_background): Replaced with...
4389 (run_mode): ... this.
4390 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4391 (options): Add -F --foreground.
4392 (main): Implement it.
4393 (parse_opt): Parse it.
4395 2012-05-09 Andreas Jaeger <aj@suse.de>
4398 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4399 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4400 -Wconversion warning.
4401 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4404 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4406 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4408 (LC_ALL): Use macro-int-constant.
4409 (LC_COLLATE): Likewise.
4410 (LC_CTYPE): Likewise.
4411 (LC_MESSAGES): Likewise.
4412 (LC_MONETARY): Likewise.
4413 (LC_NUMERIC): Likewise.
4414 (LC_TIME): Likewise.
4415 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4416 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4418 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4420 [C99-based standards] (float_t): Expect type.
4421 [C99-based standards] (double_t): Expect type.
4422 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4424 [C99-based standards] (HUGE_VALL): Likewise.
4425 [C99-based standards] (INFINITY): Likewise.
4426 [C99-based standards] (NAN): Likewise.
4427 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4428 [C99-based standards] (FP_NAN): Likewise.
4429 [C99-based standards] (FP_NORMAL): Likewise.
4430 [C99-based standards] (FP_SUBNORMAL): Likewise.
4431 [C99-based standards] (FP_ZERO): Likewise.
4432 [C99-based standards] (FP_FAST_FMA): Use
4433 optional-macro-int-constant. Specify type. Require == 1.
4434 [C99-based standards] (FP_FAST_FMAF): Likewise.
4435 [C99-based standards] (FP_FAST_FMAL): Likewise.
4436 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4437 [C99-based standards] (FP_ILOGBNAN): Likewise.
4438 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4440 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4441 [C99-based standards] (math_errhandling): Specify type.
4442 [ISO99 || ISO11] (signgam): Do not allow.
4443 [non-C99-based standards] (copysignf): Do not allow.
4444 [non-C99-based standards] (exp2f): Likewise.
4445 [non-C99-based standards] (log2f): Likewise.
4446 [non-C99-based standards] (modff): Allow.
4447 [non-C99-based standards] (erff): Do not allow.
4448 [non-C99-based standards] (erfcf): Likewise.
4449 [non-C99-based standards] (gammaf): Likewise.
4450 [non-C99-based standards] (hypotf): Likewise.
4451 [non-C99-based standards] (j0f): Likewise.
4452 [non-C99-based standards] (j1f): Likewise.
4453 [non-C99-based standards] (jnf): Likewise.
4454 [non-C99-based standards] (lgammaf): Likewise.
4455 [non-C99-based standards] (tgammaf): Likewise.
4456 [non-C99-based standards] (y0f): Likewise.
4457 [non-C99-based standards] (y1f): Likewise.
4458 [non-C99-based standards] (ynf): Likewise.
4459 [non-C99-based standards] (isnanf): Likewise.
4460 [non-C99-based standards] (acoshf): Likewise.
4461 [non-C99-based standards] (asinhf): Likewise.
4462 [non-C99-based standards] (atanhf): Likewise.
4463 [non-C99-based standards] (cbrtf): Likewise.
4464 [non-C99-based standards] (expm1f): Likewise.
4465 [non-C99-based standards] (ilogbf): Likewise.
4466 [non-C99-based standards] (log1pf): Likewise.
4467 [non-C99-based standards] (logbf): Likewise.
4468 [non-C99-based standards] (nextafterf): Likewise.
4469 [non-C99-based standards] (remainderf): Likewise.
4470 [non-C99-based standards] (rintf): Likewise.
4471 [non-C99-based standards] (scalbf): Likewise.
4472 [non-C99-based standards] (copysignl): Likewise.
4473 [non-C99-based standards] (exp2l): Likewise.
4474 [non-C99-based standards] (log2l): Likewise.
4475 [non-C99-based standards] (modfl): Allow.
4476 [non-C99-based standards] (erfl): Do not allow.
4477 [non-C99-based standards] (erfcl): Likewise.
4478 [non-C99-based standards] (gammal): Likewise.
4479 [non-C99-based standards] (hypotl): Likewise.
4480 [non-C99-based standards] (j0l): Likewise.
4481 [non-C99-based standards] (j1l): Likewise.
4482 [non-C99-based standards] (jnl): Likewise.
4483 [non-C99-based standards] (lgammal): Likewise.
4484 [non-C99-based standards] (tgammal): Likewise.
4485 [non-C99-based standards] (y0l): Likewise.
4486 [non-C99-based standards] (y1l): Likewise.
4487 [non-C99-based standards] (ynl): Likewise.
4488 [non-C99-based standards] (isnanl): Likewise.
4489 [non-C99-based standards] (acoshl): Likewise.
4490 [non-C99-based standards] (asinhl): Likewise.
4491 [non-C99-based standards] (atanhl): Likewise.
4492 [non-C99-based standards] (cbrtl): Likewise.
4493 [non-C99-based standards] (expm1l): Likewise.
4494 [non-C99-based standards] (ilogbl): Likewise.
4495 [non-C99-based standards] (log1pl): Likewise.
4496 [non-C99-based standards] (logbl): Likewise.
4497 [non-C99-based standards] (nextafterl): Likewise.
4498 [non-C99-based standards] (remainderl): Likewise.
4499 [non-C99-based standards] (rintl): Likewise.
4500 [non-C99-based standards] (scalbl): Likewise.
4501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4502 [non-C99-based standards] (FP_*): Do not allow.
4503 [C99-based standards] (FP_*): Change to
4504 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4505 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4507 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4508 (SIG_ERR): Likewise.
4509 [X/Open-based standards] (SIG_HOLD): Likewise.
4510 (SIG_IGN): Likewise.
4511 (SIGABRT): Use macro-int-constant. Specify type. Require
4516 (SIGSEGV): Likewise.
4518 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4519 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4520 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4521 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4522 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4523 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4524 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4525 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4526 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4527 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4528 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4529 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4530 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4531 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4532 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4533 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4534 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4535 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4536 [X/Open-based standards] (SIGTRAP): Likewise.
4537 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4538 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4539 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4540 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4541 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4544 2012-05-08 Ian Wienand <ianw@vmware.com>
4547 * time/tzset.c (__tzset_parse_tz): Update default rules for
4548 daylight time changes in the Energy Policy Act of 2005.
4550 2012-05-09 Andreas Jaeger <aj@suse.de>
4553 * elf/ldconfig.c (parse_conf): Change string to make clear that
4554 ldconfig only issued a warning if ld.so.conf does not exist.
4556 2012-05-08 David S. Miller <davem@davemloft.net>
4558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4559 movxtod instead of popping the value on the stack.
4561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4563 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4565 * config.h.in: Add HAVE_ARM_PCS_VFP.
4567 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4570 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4571 checking but the checks are disabled for any reason.
4573 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4575 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4576 and ELF64_R_TYPE with ELFW(R_TYPE).
4578 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4580 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4583 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4584 (settimeofday): Likewise.
4586 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4588 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4589 a struct th_u2 inside the union, and move tu_block/tu_code into
4590 a new th_u3 union of tu_block/tu_code inside of that. Move
4591 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4592 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4593 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4594 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4595 (th_stuff): Change to th_u1.tu_stuff.
4597 (th_msg): Change to th_u1.th_u2.tu_data.
4599 2012-05-07 David S. Miller <davem@davemloft.net>
4601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4604 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4605 (SETUP_PIC_REG): Use it.
4606 (SETUP_PIC_REG_LEAF): Use it.
4608 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4612 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4614 (EXPL_FINITE): Likewise.
4616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4617 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4619 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4621 (EXPL_FINITE): Likewise.
4623 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4624 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4626 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4627 test of -max_value argument for long double.
4628 * sysdeps/i386/fpu/libm-test-ulps: Update.
4629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4631 2012-05-06 David S. Miller <davem@davemloft.net>
4633 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4634 quad soft-float symbols whose references which are compiler
4636 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4638 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4644 (EXPL_FINITE): Likewise.
4648 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4649 Adjust comments for base varying.
4650 (__expl_finite): Change alias to EXPL_FINITE.
4651 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4653 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4654 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4656 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4657 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4659 (EXPL_FINITE): Likewise.
4663 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4664 Adjust comments for base varying.
4665 (__expl_finite): Change alias to EXPL_FINITE.
4666 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4671 * math/libm-test.inc (check_float_internal): Correct ulp
4672 calculation for subnormal expected results.
4674 2012-05-06 Andreas Jaeger <aj@suse.de>
4676 * Makeconfig (+math-flags): New, set to -frounding-math.
4677 (+cflags): Add +math-flags so that all of glibc gets compiled with
4680 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4682 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4684 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4690 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4691 (__ieee754_expl): Allow for and saturate large arguments.
4692 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4693 (u_threshold): Likewise.
4694 (__exp): Call __ieee754_exp before checking for overflow and
4696 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4697 (u_threshold): Likewise.
4698 (__expf): Call __ieee754_expf before checking for overflow and
4700 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4701 (u_threshold): Likewise.
4702 (__expl): Call __ieee754_expl before checking for overflow and
4704 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4705 (__ieee754_expl): Allow for and saturate large arguments.
4706 * math/libm-test.inc (exp_test): Add another test. Do not allow
4707 missing overflow exception on overflow.
4708 (expm1_test): Do not allow missing overflow exception on overflow.
4710 * sysdeps/i386/fpu/e_expl.c: Move to ...
4711 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4712 rather than using inline asm.
4713 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4714 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4715 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4717 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4724 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4726 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4727 sysdeps/unix/common/syscalls.list.
4730 (ftruncate): Likewise.
4731 (getrusage): Likewise.
4732 (gettimeofday): Likewise.
4733 (setpgid): Likewise.
4734 (setregid): Likewise.
4735 (setreuid): Likewise.
4736 (sigaction): Likewise.
4737 (truncate): Likewise.
4738 (vhangup): Likewise.
4739 * sysdeps/unix/common/syscalls.list: Remove file.
4740 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4741 * sysdeps/unix/sysv/linux/Implies: Likewise.
4743 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4745 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4747 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4751 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4754 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4757 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4760 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4763 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4766 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4769 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4773 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4777 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4780 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4784 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4788 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4790 * sysdeps/unix/common/bits/dirent.h: Remove file.
4791 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4793 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4794 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4795 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4796 * sysdeps/unix/bsd/isatty.c: Likewise.
4797 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4798 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4799 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4801 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4805 long double comparison inaccuracies.
4806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4809 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4811 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4814 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4817 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4818 nonzero digits before rounding a hex value.
4819 * stdlib/tst-strtod.c (tests): Add another test.
4821 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4823 * sysdeps/s390/fpu/libm-test-ulps: Update.
4825 2012-05-03 Andreas Jaeger <aj@suse.de>
4827 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4828 does not get optimized out.
4829 (malloc_opt_barrier): New.
4831 2012-05-03 Andreas Jaeger <aj@suse.de>
4832 Roland McGrath <roland@hack.frob.com>
4834 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4835 intermediate file deletion.
4836 (generated): Add .symlist files.
4838 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4841 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4842 Redirect under this condition.
4843 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4844 [__USE_GNU] (__dprintf_chk): Not under this condition.
4845 [__USE_GNU] (__vdprintf_chk): Likewise.
4846 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4847 under this condition.
4848 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4849 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4850 [__USE_XOPEN2K8] (vdprintf): Likewise.
4851 [__USE_GNU] (__dprintf_chk): Not under this condition.
4852 [__USE_GNU] (__vdprintf_chk): Likewise.
4853 [__USE_GNU] (dprintf): Likewise.
4854 [__USE_GNU] (vdprintf): Likewise.
4856 2012-05-03 Roland McGrath <roland@hack.frob.com>
4858 * elf/Makefile (common-generated): Set this instead of generated for
4859 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4860 $(all-built-dso)-derived lists.
4862 2012-05-03 Andreas Jaeger <aj@suse.de>
4864 * sysdeps/i386/fpu/libm-test-ulps: Update.
4868 * scripts/gen-FAQ.pl: Likewise.
4869 * manual/install.texi (Installation): Point to online location of
4871 * Makefile (files-for-dist): Remove FAQ.
4874 2012-05-02 Allan McRae <allan@archlinux.org>
4876 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4877 (LDFLAGS-reldepmod5.so): Likewise.
4878 (LDFLAGS-reldep6mod1.so): Likewise.
4879 (LDFLAGS-reldep6mod4.so): Likewise.
4880 (LDFLAGS-reldep8mod3.so): Likewise.
4881 (LDFLAGS-unload4mod1.so): Likewise.
4882 (LDFLAGS-unload4mod2.so): Likewise.
4883 (LDFLAGS-tst-initorder): Likewise.
4884 (LDFLAGS-tst-initordera2.so): Likewise.
4885 (LDFLAGS-tst-initordera3.so): Likewise.
4886 (LDFLAGS-tst-initordera4.so): Likewise.
4887 (LDFLAGS-tst-initorderb2.so): Likewise.
4888 (LDFLAGS-noload): Likewise.
4889 (LDFLAGS-next): Likewise.
4890 (LDFLAGS-order2mod1.so): Likewise.
4891 (LDFLAGS-order2mod2.so): Likewise.
4892 (LDFLAGS-tst-initorder2): Likewise.
4893 (LDFLAGS-tst-initorder2a.so): Likewise.
4894 (LDFLAGS-tst-initorder2b.so): Likewise.
4895 (LDFLAGS-tst-initorder2c.so): Likewise.
4896 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4898 2012-05-02 David S. Miller <davem@davemloft.net>
4900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4902 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4905 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4907 2012-05-02 Andreas Jaeger <aj@suse.de>
4909 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4910 since we manipulate rounding mode.
4911 (CPPFLAGS-test-idouble.c): Likewise.
4912 (CPPFLAGS-test-ifloat.c): Likewise.
4913 (CFLAGS-test-ldouble.c): Likewise.
4914 (CFLAGS-test-double.c): Likewise.
4915 (CFLAGS-test-float.c): Likewise.
4916 (CFLAGS-test-misc.c): Likewise.
4917 (CFLAGS-test-test-fenv.c): Likewise.
4919 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4923 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4924 comparisons to determine direction to adjust input.
4926 2012-05-01 Roland McGrath <roland@hack.frob.com>
4928 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4929 output to the target.
4931 * scripts/localplt.awk: New file.
4932 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4933 (check-localplt-CFLAGS): Variable removed.
4934 ($(all-built-dso:=.jmprel)): New static pattern rule.
4935 (generated): Add those targets.
4936 (localplt-built-dso): New variable.
4937 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4939 * elf/check-localplt.c: File removed.
4941 * scripts/check-execstack.awk: New file.
4942 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4943 (check-execstack-CFLAGS): Variable removed.
4944 ($(objpfx)check-execstack.h): Target removed.
4945 ($(objpfx)execstack-default): New target.
4946 (generated): Add that instead of check-execstack.h.
4947 ($(all-built-dso:=.phdr)): New static pattern rule.
4948 (generated): Add those targets.
4949 * elf/check-execstack.c: File removed.
4951 * scripts/check-textrel.awk: New file.
4952 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4953 (check-textrel-CFLAGS): Variable removed.
4954 (all-built-dso): Use := to define.o
4955 ($(all-built-dso:=.dyn)): New static pattern rule.
4956 (generated): Add those targets.
4957 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4958 * config.make.in (READELF): New substituted variable.
4959 * elf/check-textrel.c: File removed.
4961 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4963 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4965 * conform/data/ctype.h-data [C99-based standards] (isblank):
4967 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4968 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4970 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4971 Specify type. Require positive value.
4974 [ISO || POSIX] (EILSEQ): Do not expect.
4975 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4976 Specify type. Require positive value.
4977 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4978 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4979 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4980 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4981 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4982 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4983 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4984 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4985 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4986 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4987 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4988 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4989 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4990 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4991 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4992 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4993 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4994 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4995 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4996 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4997 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4998 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4999 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5000 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5001 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5002 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5003 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5004 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5005 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5006 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5007 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5008 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5009 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5010 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5011 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5012 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5013 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5014 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5015 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5016 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5019 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5020 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5021 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5022 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5023 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5025 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5026 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5027 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5028 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5029 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5030 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5032 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5033 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5034 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5035 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5036 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5037 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5038 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5040 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5041 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5042 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5043 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5044 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5047 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5048 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5049 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5051 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5052 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5053 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5055 (FLT_ROUNDS): Expect as macro, not constant.
5056 (FLT_MANT_DIG): Use macro-int-constant.
5057 (DBL_MANT_DIG): Likewise.
5058 (LDBL_MANT_DIG): Likewise.
5059 (FLT_DIG): Likewise.
5060 (DBL_DIG): Likewise.
5061 (LDBL_DIG): Likewise.
5062 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5063 (DBL_MIN_EXP): Likewise.
5064 (LDBL_MIN_EXP): Likewise.
5065 (FLT_MAX_EXP): Use macro-int-constant.
5066 (DBL_MAX_EXP): Likewise.
5067 (LDBL_MAX_EXP): Likewise.
5068 (FLT_MAX_10_EXP): Likewise.
5069 (DBL_MAX_10_EXP): Likewise.
5070 (LDBL_MAX_10_EXP): Likewise.
5071 (FLT_MAX): Use macro-constant.
5072 (DBL_MAX): Likewise.
5073 (LDBL_MAX): Likewise.
5074 (FLT_EPSILON): Use macro-constant. Give upper bound.
5075 (DBL_EPSILON): Likewise.
5076 (LDBL_EPSILON): Likewise.
5077 (FLT_MIN): Likewise.
5078 (DBL_MIN): Likewise.
5079 (LDBL_MIN): Likewise.
5080 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5081 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5082 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5083 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5084 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5085 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5086 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5087 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5088 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5089 [ISO11] (FLT_TRUE_MIN): Likewise.
5090 [ISO11] (LDBL_TRUE_MIN): Likewise.
5091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5092 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5093 (SCHAR_MIN): Use macro-int-constant. Specify type.
5094 (SCHAR_MAX): Likewise.
5095 (UCHAR_MAX): Likewise.
5096 (CHAR_MIN): Likewise.
5097 (CHAR_MAX): Likewise.
5098 (MB_LEN_MAX): Use macro-int-constant.
5099 (SHRT_MIN): Use macro-int-constant. Specify type.
5100 (SHRT_MAX): Likewise.
5101 (USHRT_MAX): Likewise.
5102 (INT_MAX): Likewise.
5103 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5105 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5107 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5109 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5110 bound negative. Suffix upper bound with "L".
5111 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5113 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5115 [C99-based standards] (LLONG_MAX): Likewise.
5116 [C99-based standards] (ULLONG_MAX): Likewise.
5117 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5119 [ISO11] (max_align_t): Require type.
5120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5122 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5123 from $CFLAGS, without defining away __attribute__ calls.
5124 (checknamespace): Use $CFLAGS_namespace.
5126 * conform/conformtest.pl (@keywords): Only include C99 keywords
5127 for standards based on C99 or C11.
5129 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5131 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5134 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5135 usability of symbols in #if.
5137 * conform/conformtest.pl: If macro or constant types start
5138 "promoted:", expect the symbol to be of the following type
5139 promoted by the integer promotions.
5141 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5142 in one place. Also handle "macro-constant".
5144 * conform/conformtest.pl: Only accept expected macro values with
5145 "==". Parse all "macro" lines in one place.
5146 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5148 * conform/conformtest.pl: Handle braced types on "constant" lines
5149 instead of handling "typed-constant".
5150 * conform/data/signal.h-data: Use "constant" instead of
5153 * conform/conformtest.pl: Handle "optional-" at start of lines in
5154 one place rather than duplicating several cases. Handle each
5155 format of "macro" line with initial "optional-".
5157 * conform/conformtest.pl: Only accept expected constant or
5158 optional-constant values with "==". Parse all "constant" lines in
5159 one place. Parse all "optional-constant" lines in one place.
5160 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5161 * conform/data/fmtmsg.h-data: Likewise.
5162 * conform/data/netinet/in.h-data: Likewise.
5163 * conform/data/tar.h-data: Likewise.
5164 * conform/data/limits.h-data: Use "==" form on "constant" and
5165 "optional-constant" lines.
5167 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5168 Use -std=c99 for XOPEN2K.
5169 (@knownproblems): Remove.
5170 (newtoken): Don't check %isknown.
5172 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5173 Do not expect macro.
5174 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5186 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5187 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5188 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5189 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5190 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5191 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5192 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5193 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5194 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5197 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5198 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5204 [XPG3] (acosh): Likewise.
5205 [XPG3] (asinh): Likewise.
5206 [XPG3] (atanh): Likewise.
5207 [XPG3] (cbrt): Likewise.
5208 [XPG3] (expm1): Likewise.
5209 [XPG3] (ilogb): Likewise.
5210 [XPG3] (log1p): Likewise.
5211 [XPG3] (logb): Likewise.
5212 [XPG3] (nextafter): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5215 [XPG3] (remainder): Likewise.
5216 [XPG3] (rint): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5220 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5221 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5222 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5223 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5224 [UNIX98 || XOPEN2K] (scalb): Expect.
5225 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5226 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5227 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5228 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5229 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5230 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5231 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5232 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5233 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5234 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5235 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5236 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5237 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5238 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5239 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5240 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5241 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5242 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5243 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5244 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5245 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5246 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5247 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5248 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5249 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5250 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5251 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5252 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5253 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5254 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5262 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5263 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5265 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5266 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5267 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5268 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5269 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5270 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5271 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5272 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5273 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5274 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5275 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5276 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5277 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5278 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5279 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5280 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5281 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5285 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5286 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5287 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5288 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5289 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5290 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5291 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5292 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5293 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5294 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5295 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5296 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5297 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5298 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5299 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5300 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5301 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5302 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5303 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5304 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5305 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5306 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5307 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5308 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5309 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5310 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5311 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5312 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5313 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5314 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5315 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5316 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5317 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5318 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5319 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5320 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5321 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5322 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5323 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5324 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5325 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5326 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5327 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5328 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5329 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5330 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5331 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5332 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5333 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5334 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5335 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5336 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5337 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5338 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5339 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5340 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5341 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5342 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5343 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5344 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5345 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5346 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5347 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5348 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5349 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5350 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5351 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5352 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5353 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5354 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5355 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5356 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5357 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5358 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5359 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5360 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5361 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5363 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5364 _XOPEN_SOURCE_EXTENDED for XPG4.
5366 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5368 * Makeconfig (localtime): Remove variable.
5369 (inst_localtime-file): Likewise.
5371 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5392 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5396 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5397 comparisons to determine direction to adjust input.
5398 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5399 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5400 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5402 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5404 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5406 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5407 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5409 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5411 * math/libm-test.inc (nexttoward_test): Add more tests.
5413 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5416 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5417 in version GLIBC_2.1, not GLIBC_2.0.
5418 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5421 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5424 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5426 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5427 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5428 * math/libm-test.inc (acos_test): Add more tests.
5429 (asin_test): Likewise.
5430 * sysdeps/i386/fpu/libm-test-ulps: Update.
5431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5434 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5436 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5437 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5438 * math/libm-test.inc (acos_test_tonearest): New function.
5439 (acos_test_towardzero): Likewise.
5440 (acos_test_downward): Likewise.
5441 (acos_test_upward): Likewise.
5442 (asin_test_tonearest): Likewise.
5443 (asin_test_towardzero): Likewise.
5444 (asin_test_downward): Likewise.
5445 (asin_test_upward): Likewise.
5446 (main): Call the new functions.
5447 * sysdeps/i386/fpu/libm-test-ulps: Update.
5448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5452 * math/e_exp10.c: Include <float.h>.
5453 (__ieee754_exp10): Handle underflow here rather than multiplying
5454 large negative argument by M_LN10.
5455 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5457 * math/e_exp10l.c: Include <float.h>.
5458 (__ieee754_exp10l): Handle underflow here rather than multiplying
5459 large negative argument by M_LN10l.
5460 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5461 spurious overflow exception on underflow.
5463 2012-04-29 Marek Polacek <polacek@redhat.com>
5465 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5466 (__fortify_function): New macro.
5467 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5468 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5469 __extern_always_inline.
5470 * libio/bits/stdio2.h: Likewise.
5471 * libio/bits/stdio.h: Likewise.
5472 * string/string.h: Likewise.
5473 * string/bits/string3.h: Likewise.
5474 * include/stdio.h: Likewise.
5475 * stdlib/bits/stdlib.h: Likewise.
5476 * stdlib/stdlib.h: Likewise.
5477 * rt/bits/mqueue2.h: Likewise.
5478 * rt/mqueue.h: Likewise.
5479 * posix/bits/unistd.h: Likewise.
5480 * posix/unistd.h: Likewise.
5481 * io/bits/poll2.h: Likewise.
5482 * io/bits/fcntl2.h: Likewise.
5483 * io/fcntl.h: Likewise.
5484 * io/sys/poll.h: Likewise.
5485 * misc/bits/syslog.h: Likewise.
5486 * misc/bits/syslog-ldbl.h: Likewise.
5487 * misc/sys/syslog.h: Likewise.
5488 * socket/bits/socket2.h: Likewise.
5489 * socket/sys/socket.h: Likewise.
5490 * debug/tst-chk1.c: Likewise.
5491 * wcsmbs/bits/wchar2.h: Likewise.
5492 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5493 * wcsmbs/wchar.h: Likewise.
5495 2012-04-29 Andreas Jaeger <aj@suse.de>
5497 * Makerules (tests): Remove enable-check-abi protection.
5498 (check-abi-warn): Remove.
5499 (check-abi-%): Remove check-abi-warn usage.
5501 * configure.in: Remove check-abi configure option.
5502 * configure: Regenerated.
5503 * config.make.in (enable-check-abi): Remove.
5505 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5508 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5509 double functions to double *_finite functions.
5512 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5513 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5515 * stdio-common/Makefile (tests): Add tst-sprintf3.
5516 * stdio-common/tst-sprintf3.c: New file.
5518 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5519 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5521 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5523 * conform/conformtest.pl: Remove duplicate typed-constant
5526 2012-04-28 David S. Miller <davem@davemloft.net>
5528 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5529 (check-abi-%): Remove AWK script prerequisite and explicit
5531 (check-abi): Rewrite to just diff the symlist with the abilist.
5532 (config-tls, config-abi-config): Delete, no longer used.
5533 (update-abi-%): Remove AWK script and explicit abilist directory.
5534 (update-abi): Rewrite to simply compare and conditionally copy the
5535 symlist and the sysdep abilist file. Remove update-abi-config
5537 * abilist/ld.abilist: Remove.
5538 * abilist/libBrokenLocale.abilist: Remove.
5539 * abilist/libanl.abilist: Remove.
5540 * abilist/libcrypt.abilist: Remove.
5541 * abilist/libdl.abilist: Remove.
5542 * abilist/librt.abilist: Remove.
5543 * abilist/libthread_db.abilist: Remove.
5544 * abilist/libutil.abilist: Remove.
5545 * scripts/extract-abilist.awk: Remove.
5546 * scripts/merge-abilist.awk: Remove.
5547 * sysdeps/generic/libcidn.abilist: New file.
5548 * sysdeps/generic/libnss_compat.abilist: New file.
5549 * sysdeps/generic/libnss_db.abilist: New file.
5550 * sysdeps/generic/libnss_dns.abilist: New file.
5551 * sysdeps/generic/libnss_files.abilist: New file.
5552 * sysdeps/generic/libnss_hesiod.abilist: New file.
5553 * sysdeps/generic/libnss_nis.abilist: New file.
5554 * sysdeps/generic/libnss_nisplus.abilist: New file.
5555 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5556 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5557 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5560 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5561 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5562 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5563 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5564 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5565 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5566 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5567 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5569 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5570 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5571 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5572 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5574 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5575 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5576 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5577 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5578 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5579 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5581 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5582 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5583 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5585 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5688 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5689 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5690 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5693 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5694 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5695 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5696 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5697 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5698 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5699 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5700 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5701 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5753 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5755 * conform/conformtest.pl: Fix typo in handling typed-constant from
5758 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5760 * README: Cut down references to pre-2.6 Linux kernels and
5761 Linuxthreads. Update lists of configurations in libc and ports
5762 and sort alphabetically. Say "or newer" with Linux kernel version
5765 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5767 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5770 * math/libm-test.inc (logb_test_downward): New test to expose
5771 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5774 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5777 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5779 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5780 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5782 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5784 * sysdeps/unix/i386/brk.S: Remove file.
5785 * sysdeps/unix/i386/dl-brk.S: Likewise.
5786 * sysdeps/unix/i386/pipe.S: Likewise.
5787 * sysdeps/unix/i386/sigreturn.S: Likewise.
5788 * sysdeps/unix/i386/syscall.S: Likewise.
5789 * sysdeps/unix/i386/vfork.S: Likewise.
5790 * sysdeps/unix/i386/wait.S: Likewise.
5792 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5793 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5795 * configure.in (arm*-none*): Do not allow without
5796 --enable-hacker-mode.
5797 (netbsd*): Remove case setting base_os.
5798 (386bsd*): Likewise.
5799 (freebsd*): Likewise.
5803 (ultrix*): Likewise.
5804 (newsos*): Likewise.
5814 (solaris[2-9]*): Likewise.
5816 * configure: Regenerated.
5818 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5822 overflow or cancellation in calculating denominator.
5823 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5825 down expression to avoid unexpected rounding in newer GCCs.
5826 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5828 2012-04-26 David S. Miller <davem@davemloft.net>
5830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5831 long-double compat symbols.
5832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5846 2012-04-25 David S. Miller <davem@davemloft.net>
5848 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5849 HWCAP_* values only after the memory barriers have been defined.
5850 (atomic_full_barrier): Define.
5851 (atomic_read_barrier): Define.
5852 (atomic_write_barrier): Define.
5854 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5856 * shlib-versions: Add libgcc_s version information.
5857 * sysdeps/generic/libgcc_s.h: Remove.
5858 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5860 * sysdeps/gnu/unwind-resume.c: Likewise.
5861 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5863 2012-04-25 David S. Miller <davem@davemloft.net>
5865 * sysdeps/unix/sparc/brk.S: Delete.
5866 * sysdeps/unix/sparc/dl-brk.S: Delete.
5867 * sysdeps/unix/sparc/pipe.S: Delete.
5868 * sysdeps/unix/sparc/sysdep.S: Delete.
5869 * sysdeps/unix/sparc/sysdep.h: Delete.
5870 * sysdeps/unix/sparc/vfork.S: Delete.
5871 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5872 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5873 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5874 ret_ERRVAL, r0, r1, MOVE): Define.
5875 (JUMPTARGET): Remove.
5876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5877 sysdeps/unix/sparc/sysdep.h
5878 (ENTRY, END): Remove.
5879 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5881 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5883 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5884 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5887 * timezone/README: Update upstream location and email address for
5889 * timezone/zdump.c: Update from tzcode 2012b.
5890 * timezone/zic.c: Likewise.
5892 * configure.in (libc_cv_as_needed): Remove test.
5893 * configure: Regenerated.
5894 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5895 conditional definition.
5896 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5897 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5898 * config.make.in (have-as-needed): Remove variable.
5900 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5901 Paul Pluzhnikov <ppluzhnikov@google.com>
5903 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5906 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5908 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5909 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5910 * sysdeps/sh/strlen.S: Likewise.
5912 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5914 * sysdeps/unix/fork.S: Remove file.
5915 * sysdeps/unix/i386/fork.S: Likewise.
5916 * sysdeps/unix/sparc/fork.S: Likewise.
5918 * sysdeps/unix/system.c: Remove file.
5919 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5921 * sysdeps/unix/getegid.S: Remove file.
5922 * sysdeps/unix/geteuid.S: Likewise.
5924 2012-04-24 Roland McGrath <roland@hack.frob.com>
5926 * scripts/check-localplt.awk: New file.
5927 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5929 * scripts/data/localplt-generic.data: Add a comment.
5931 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5932 NODE when __dir_mkfile failed.
5933 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5934 Reported by Ludovic Courtès <ludo@gnu.org>.
5936 2012-04-24 Andreas Jaeger <aj@suse.de>
5938 * Makerules (common-clean): Also remove gen-as-const-headers
5941 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5943 * Makerules (native-compile): Do not change working directory for
5944 build. Use $(OUTPUT_OPTION) in command.
5945 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5947 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5950 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5951 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5952 * math/libm-test.inc (floor_test): Add more tests.
5953 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5955 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5957 * sysdeps/unix/getdents.c: Remove file.
5958 * sysdeps/unix/sysv/getdents.c: Likewise.
5959 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5961 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5962 sysdeps/unix/mman/syscalls.list.
5964 (mprotect): Likewise.
5967 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5968 * sysdeps/unix/mman/syscalls.list: Remove.
5969 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5971 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5972 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5973 * configure: Regenerated.
5974 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5976 * config.make.in (libgcc_s_suffix): Remove variable.
5978 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5980 * sysdeps/unix/sysv/gethostname.c: Move to ...
5981 * sysdeps/posix/gethostname.c: ... here.
5983 * sysdeps/unix/execve.S: Remove file.
5985 * sysdeps/unix/_exit.S: Remove file.
5987 2012-04-23 Andreas Jaeger <aj@suse.de>
5990 * manual/Makefile: Remove make dist support, there's no
5991 need for a stand-alone documentation tar ball.
5992 (TEXI2DVI): Define always, it's not in Makeconfig.
5996 (glibc-doc-$(edition).tar): Removed
6000 (ETAGS): Remove, it's in Makeconfig.
6001 (move-if-change): Remove, it's in Makeconfig.
6003 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6006 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6007 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6008 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6009 (strtod_l, strtof_l, strtold_l): Remove __wur.
6010 It is not necessarily an error to ignore strtol's return value.
6011 One can reliably look at the stored endptr to decide whether
6012 the number had valid syntax.
6014 2012-04-21 Andreas Jaeger <aj@suse.de>
6017 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6019 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6021 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6022 * sysdeps/unix/sysv/Versions: Remove file.
6024 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6029 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6032 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6033 version from __vm86.
6035 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6037 * sysdeps/unix/common/lxstat.c: Remove file.
6038 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6040 * sysdeps/unix/sysv/Makefile: Remove file.
6042 * sysdeps/unix/sysv/direct.h: Remove file.
6044 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6045 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6046 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6047 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6048 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6049 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6050 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6052 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6054 * sysdeps/unix/xmknod.c: Remove file.
6055 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6057 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6059 * sysdeps/unix/sysv/i386/time.S: Remove file.
6061 * sysdeps/unix/fxstat.c: Remove file.
6062 * sysdeps/unix/xstat.c: Likewise.
6063 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6065 * sysdeps/unix/sysv/sigaction.c: Remove file.
6067 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6068 (sysdep_headers): Remove variable.
6069 [termio.h not in sysdep_headers] (generated): Likewise.
6070 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6071 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6072 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6073 * sysdeps/unix/sysv/tcflow.c: Likewise.
6074 * sysdeps/unix/sysv/tcflush.c: Likewise.
6075 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6076 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6077 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6078 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6079 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6081 * sysdeps/unix/siglist.c: Remove file.
6083 * sysdeps/unix/getppid.S: Remove file.
6085 * sysdeps/unix/mkdir.c: Remove file.
6086 * sysdeps/unix/rmdir.c: Likewise.
6088 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6090 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6092 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6093 errlist-compat value.
6095 2012-04-18 David S. Miller <davem@davemloft.net>
6097 * sysdeps/generic/memcopy.h (reg_char): Delete.
6098 * debug/strcat_chk.c: Use char, not reg_char.
6099 * debug/strcpy_chk.c: Likewise.
6100 * debug/strncat_chk.c: Likewise.
6101 * debug/strncpy_chk.c: Likewise.
6102 * string/memchr.c: Likewise.
6103 * string/memrchr.c: Likewise.
6104 * string/rawmemchr.c: Likewise.
6105 * string/strcat.c: Likewise.
6106 * string/strchr.c: Likewise.
6107 * string/strchrnul.c: Likewise.
6108 * string/strcmp.c: Likewise.
6109 * string/strcpy.c: Likewise.
6110 * string/strncat.c: Likewise.
6111 * string/strncmp.c: Likewise.
6112 * string/strncpy.c: Likewise.
6114 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6116 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6117 __builtin_memcopy is called when src and dest ranges are known to not
6120 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6122 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6123 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6124 fwd_align_merge macro call.
6125 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6126 bwd_align_merge macro call.
6127 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6129 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6132 bwd_align_merge macros.
6133 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6134 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6135 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6137 2012-04-18 David S. Miller <davem@davemloft.net>
6139 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6141 2012-04-18 Andreas Jaeger <aj@suse.de>
6144 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6145 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6146 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6148 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6149 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6150 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6152 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6153 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6154 Adjust for changed ldbl-128 files.
6156 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6157 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6158 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6160 2012-04-17 David S. Miller <davem@davemloft.net>
6162 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6164 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6166 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6167 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6168 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6169 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6170 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6171 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6173 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6176 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6177 * math/libm-test.inc: Add ilogb errno and exception tests.
6178 * math/w_ilogb.c: New file: ilogb wrapper.
6179 * math/w_ilogbf.c: New file: ilogbf wrapper.
6180 * math/w_ilogbl.c: New file: ilogbl wrapper.
6181 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6182 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6183 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6184 exception being thrown with 0.0 as argument.
6185 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6186 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6187 exception being thrown with 0.0 as argument.
6188 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6189 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6190 exception being thrown with 0.0 as argument.
6191 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6192 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6193 exception being thrown with 0.0 as argument.
6194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6195 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6196 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6197 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6198 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6199 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6200 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6201 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6202 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6204 2012-04-17 Petr Baudis <pasky@ucw.cz>
6206 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6209 2012-04-16 Marek Polacek <polacek@redhat.com>
6211 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6213 2012-04-16 Marek Polacek <polacek@redhat.com>
6215 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6216 operands of fdivp instruction.
6218 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6220 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6221 * elf/tst-auditmod3b.c: Likewise.
6222 * elf/tst-auditmod4b.c: Likewise.
6223 * elf/tst-auditmod5b.c: Likewise.
6224 * elf/tst-auditmod6b.c: Likewise.
6225 * elf/tst-auditmod6c.c: Likewise.
6226 * elf/tst-auditmod7b.c: Likewise.
6227 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6228 * sysdeps/x86_64/preconfigure.in: Likewise.
6229 * sysdeps/x86_64/preconfigure: Regenerated.
6231 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6233 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6236 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6239 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6241 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6244 * locale/iso-639.def: Fix gl language name. Spotted by
6247 2012-04-12 Roland McGrath <roland@hack.frob.com>
6250 * libio/libio.h (__io_write_fn): Update comment.
6252 2012-04-12 Petr Baudis <pasky@ucw.cz>
6255 * stdio.texi (Hook Functions): The user provided writer function
6256 is not allowed to return -1.
6258 2012-04-11 David S. Miller <davem@davemloft.net>
6260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6262 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6264 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6265 Add a leading slash to rtkaio.
6267 2012-04-11 Jim Meyering <meyering@redhat.com>
6270 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6271 It is not necessarily an error to ignore fwrite's return
6272 value. One can reliably use ferror to test for errors after
6275 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6277 * bits/types.h (__snseconds_t): New type.
6278 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6280 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6282 (__SNSECONDS_T_TYPE): Likewise.
6283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6284 (__SNSECONDS_T_TYPE): Likewise.
6285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6286 (__SNSECONDS_T_TYPE): Likewise.
6288 2012-04-10 Andreas Jaeger <aj@suse.de>
6291 * manual/time.texi (Processor Time): Return type of times is
6292 elapsed real time since an arbitrary point in the past.
6293 (CPU Time): Move CLK_TCK from here...
6294 (Processor Time): ...to here. Correct description.
6295 * manual/conf.texi (Constants for Sysconf): Correct description of
6298 2012-04-10 David S. Miller <davem@davemloft.net>
6301 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6302 where the is a gap between DT_REL(A) and DT_JMPREL.
6304 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6306 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6307 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6308 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6310 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6312 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6313 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6314 (dl_main): Handle --inhibit-cache.
6315 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6317 * elf/dl-load.c (_dl_map_object): Use it.
6318 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6320 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6323 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6324 (__ieee754_powl): Saturate large exponents rather than testing for
6325 overflow of y*log2(x).
6326 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6327 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6331 * math/s_ctan.c: Include <float.h>.
6332 (__ctan): Avoid internal overflow or cancellation in calculating
6334 * math/s_ctanf.c: Likewise.
6335 * math/s_ctanl.c: Likewise.
6336 * math/s_ctanh.c: Likewise.
6337 * math/s_ctanhf.c: Likewise.
6338 * math/s_ctanhl.c: Likewise.
6339 * math/libm-test.inc (ctan_test): Add more tests.
6340 (ctanh_test): Likewise.
6341 * sysdeps/i386/fpu/libm-test-ulps: Update.
6342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6344 2012-04-09 Andreas Jaeger <aj@suse.de>
6347 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6348 is an optional BSD extension.
6351 * manual/stdio.texi (Opening Streams): Document additional fopen
6354 2012-04-09 Roland McGrath <roland@hack.frob.com>
6356 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6357 %eax without telling the compiler.
6359 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6362 * manual/install.texi: Use sourceware.org.
6364 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6367 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6368 (__ieee754_pow): Generate overflow and underflow using huge*huge
6369 and tiny*tiny rather than just returning constant infinity or zero
6370 for large exponents.
6371 * math/libm-test.inc (pow_test): Require overflow exceptions for
6372 applicable cases of large exponents.
6375 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6376 (__ieee754_pow): Use iterative multiplication algorithm only for
6377 integer exponents with absolute value below 1024. Check for odd
6378 integer exponents when using algorithm for real exponents.
6379 * math/libm-test.inc (pow_test): Add more tests.
6380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6382 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6385 * math/libm-test.inc (exp_test): Do not allow overflow exception
6388 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6391 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6392 instead of __kernel_standard_f.
6394 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6396 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6397 * sysdeps/x86_64/memset_chk.S: Likewise.
6399 2012-04-08 Andreas Jaeger <aj@suse.de>
6402 * manual/startup.texi (Environment Access): Describe return value
6403 for putenv and setenv.
6406 * manual/filesys.texi (Directory Entries): Add description for
6410 * manual/filesys.texi (Directory Entries): Clarify that it's file
6411 system not operating system in the description of DT_UNKNOWN.
6414 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6416 2012-04-08 Stephen Compall <s11@member.fsf.org>
6419 * manual/llio.texi (Opening and Closing Files): Add cross
6420 reference to explain mode argument.
6422 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6424 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6425 * sysdeps/x86_64/memset_chk.S: Likewise.
6427 2012-04-07 David S. Miller <davem@davemloft.net>
6429 * elf/elf.h (R_SPARC_WDISP10): Define.
6430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6432 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6433 R_SPARC_SIZE64 and R_SPARC_H34.
6435 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6438 conditions and remove no longer applicable assertion.
6440 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6442 * bits/byteswap.h: Include <features.h>.
6443 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6444 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6446 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6448 * bits/byteswap.h (__bswap_16): Removed.
6449 Include <bits/byteswap-16.h> to get __bswap_16.
6450 * sysdeps/i386/bits/byteswap.h: Likewise.
6451 * sysdeps/s390/bits/byteswap.h: Likewise.
6452 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6453 * bits/byteswap-16.h: New file.
6454 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6455 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6456 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6457 * string/Makefile (headers): Add bits/byteswap-16.h.
6459 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6462 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6464 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6465 * nss/tst-nss-static.c: New.
6467 2012-04-06 Robert Millan <rmh@gnu.org>
6470 * manual/llio.texi (File Position Primitive): lseek
6471 refers to WHENCE when it really means OFFSET.
6473 2012-04-06 Andreas Jaeger <aj@suse.de>
6475 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6476 strncmp declarations.
6478 * abilist/libc.abilist: Add __poll and __ppoll.
6480 2012-04-05 David S. Miller <davem@davemloft.net>
6482 * scripts/check-local-headers.sh: Accept a host triplet in the
6483 path matched by the exclude regexp.
6485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6487 * sysdeps/powerpc/powerpc32/dl-machine.h
6488 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6489 * sysdeps/s390/s390-32/dl-machine.h
6490 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6491 * sysdeps/sparc/sparc32/dl-machine.h
6492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6493 * sysdeps/sparc/sparc64/dl-machine.h
6494 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6496 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6498 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6499 undefined symbol errors.
6501 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6504 2012-04-05 Michael Matz <matz@suse.de>
6507 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6509 2012-04-05 Andreas Jaeger <aj@suse.de>
6512 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6515 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6517 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6518 which ROUND is no valid rounding mode.
6520 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6522 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6524 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6526 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6528 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6529 an exception using FPU order intentionally.
6531 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6533 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6534 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6535 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6536 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6538 2012-04-05 Simon Josefsson <simon@josefsson.org>
6541 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6542 EINVAL when BUFLEN is too smal.
6544 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6547 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6548 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6550 2012-04-03 Andreas Jaeger <aj@suse.de>
6553 * manual/setjmp.texi (System V contexts): Fix sentence.
6556 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6557 New macro for this case.
6558 [!__GNUC__] (__bswap_64): New inline function for this case.
6559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6560 * bits/byteswap.h: Likewise.
6561 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6562 ull, guard with __GLIBC_HAVE_LONG_LONG.
6564 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6565 __GLIBC_HAVE_LONG_LONG.
6567 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6568 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6570 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6573 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6574 inptr and inend, rather than using last_ch.
6576 2012-04-02 David S. Miller <davem@davemloft.net>
6578 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6579 * stdio-common/printf-parse.h (read_int): Change return type to
6580 'int', return -1 on INT_MAX overflow.
6581 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6582 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6583 overflows INT_MAX. Check for overflow of in-format-string precision
6584 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6585 SIZE_MAX not INT_MAX for integer overflow test.
6586 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6587 skip the construct in the format string but do not record anything.
6588 * stdio-common/bug22.c: Adjust to test both width/prevision
6589 INT_MAX overflow as well as total length INT_MAX overflow. Check
6590 explicitly for proper errno values.
6592 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6594 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6596 * string/test-strcmp.c [! WIDE]: Likewise.
6597 * time/tst-mktime2.c: Likewise for INT_MAX.
6598 * string/test-string.h: #include <sys/param.h> for MIN.
6600 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6601 * sysdeps/i386/init-first.c (init): Likewise.
6602 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6603 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6604 * sysdeps/sh/init-first.c (init): Likewise.
6606 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6608 * po/ru.po: Update from translation team.
6609 * po/vi.po: Likewise.
6611 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6613 * resolv/nss_dns/dns-host.c: Merge copyright years.
6615 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6618 Optimize memcpy with prefetch if
6619 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6620 src, dst pointers have unequal 16 byte alignments.
6622 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6625 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6626 from a CNAME entry and return the minimum ttl for the query.
6627 (gaih_getanswer_slice): Likewise.
6629 2012-03-30 Jeff Law <law@redhat.com>
6631 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6633 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6634 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6636 * resolv/nss_dns/dns-host.c: Update copyright year.
6638 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6640 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6641 requests to save a system call. Fix check that all bytes are sent.
6643 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6644 comments for sendmmsg.
6646 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6649 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6650 with only 1 character between 0x0041 and 0x01b0.
6651 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6652 * wcsmbs/tst-mbsnrtowcs.c: New file.
6654 2012-03-29 David S. Miller <davem@davemloft.net>
6656 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6657 small copies by hand.
6659 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6662 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6663 _nss_compat_initgroups_dyn): Fall back to malloc/free
6664 for large group memberships.
6666 2012-03-28 David S. Miller <davem@davemloft.net>
6668 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6669 that branches into memcpy.
6670 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6673 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6676 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6678 * sysdeps/sparc/mempcpy.S: New file.
6680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6681 the IFUNC routine in the libc case.
6682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6684 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6685 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6686 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6687 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6688 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6689 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6690 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6691 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6693 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6694 loop to 256 bytes instead of 64 bytes and fix test signedness.
6696 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6697 * sysdeps/sparc/sparc32/Makefile: rather than here...
6698 * sysdeps/sparc/sparc64/Makefile: and here.
6700 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6702 * malloc/mallocbug.c: Avoid warnings about unused variables.
6704 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6707 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6708 in the right place. Discard and retry query if response is
6709 larger than input buffer size.
6711 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6716 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6717 x for large integer exponent.
6718 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6719 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6720 sign of result as needed afterwards.
6721 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6722 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6723 result for underflowing pow the same as for overflow.
6724 (__kernel_standard_l): Handle powl overflow and underflow here
6725 rather than calling __kernel_standard.
6726 * math/libm-test.inc (pow_test): Add more tests.
6741 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6742 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6743 (__kernel_standard_l): New function.
6744 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6746 * math/w_acosl.c (__acosl): Likewise.
6747 * math/w_asinl.c (__asinl): Likewise.
6748 * math/w_atan2l.c (__atan2l): Likewise.
6749 * math/w_atanhl.c (__atanhl): Likewise.
6750 * math/w_coshl.c (__coshl): Likewise.
6751 * math/w_exp10l.c (__exp10l): Likewise.
6752 * math/w_exp2l.c (__exp2l): Likewise.
6753 * math/w_fmodl.c (__fmodl): Likewise.
6754 * math/w_hypotl.c (__hypotl): Likewise.
6755 * math/w_j0l.c (__j0l, __y0l): Likewise.
6756 * math/w_j1l.c (__j1l, __y1l): Likewise.
6757 * math/w_jnl.c (__jnl, __ynl): Likewise.
6758 * math/w_lgammal.c (__lgammal): Likewise.
6759 * math/w_log10l.c (__log10l): Likewise.
6760 * math/w_log2l.c (__log2l): Likewise.
6761 * math/w_logl.c (__logl): Likewise.
6762 * math/w_powl.c (__powl): Likewise.
6763 * math/w_remainderl.c (__remainderl): Likewise.
6764 * math/w_scalbl.c (sysv_scalbl): Likewise.
6765 * math/w_sinhl.c (__sinhl): Likewise.
6766 * math/w_sqrtl.c (__sqrtl): Likewise.
6767 * math/w_tgammal.c (__tgammal): Likewise.
6768 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6769 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6770 * math/libm-test.inc (acos_test): Add more tests.
6771 (acosh_test): Likewise.
6772 (asin_test): Likewise.
6773 (atanh_test): Likewise.
6774 (exp_test): Likewise.
6775 (exp10_test): Likewise.
6776 (exp2_test): Likewise.
6777 (expm1_test): Likewise.
6778 (lgamma_test): Likewise.
6779 (log_test): Likewise.
6780 (log10_test): Likewise.
6781 (log1p_test): Likewise.
6782 (log2_test): Likewise.
6783 (pow_test): Do not allow some spurious overflow exceptions.
6784 (sqrt_test): Add more tests.
6785 (tgamma_test): Likewise.
6786 (y0_test): Likewise.
6787 (y1_test): Likewise.
6788 (yn_test): Likewise.
6790 2012-03-27 Anton Blanchard <anton@samba.org>
6792 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6795 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6798 2012-03-27 David S. Miller <davem@davemloft.net>
6800 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6802 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6805 2012-03-27 Andreas Jaeger <aj@suse.de>
6807 * sysdeps/x86_64/elf/configure.in: Moved to ...
6808 * sysdeps/x86_64/configure.in: ... here.
6809 * sysdeps/x86_64/elf/start.S: Moved to ...
6810 * sysdeps/x86_64/start.S: ... here.
6811 * sysdeps/x86_64/elf/configure: Delete.
6813 * sysdeps/x86_64/configure.in: Merge contents from
6814 sysdeps/i386/configure.in (without i686 check).
6816 * sysdeps/i386/elf/Versions: Merge into ...
6817 * sysdeps/i386/Versions: ... this.
6818 * sysdeps/i386/elf/Versions: Delete file.
6819 * sysdeps/i386/elf/start.S: Moved to ...
6820 * sysdeps/i386/start.S: ...here.
6821 * sysdeps/i386/elf/configure.in: Merge into...
6822 * sysdeps/i386/configure.in: ...here.
6823 * sysdeps/i386/elf/configure.in: Delete file.
6824 * sysdeps/i386/elf/configure: Delete file.
6826 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6827 * debug/backtracesyms.c: ... here.
6828 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6829 * debug/backtracesymsfd.c: ... here.
6830 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6831 * sysdeps/generic/ifunc-sel.h: ... here.
6833 * sysdeps/unix/i386/start.c: Delete file.
6834 * sysdeps/unix/sparc/start.c: Delete file.
6835 * sysdeps/unix/start.c: Delete file.
6837 * sysdeps/sh/elf/configure.in: Moved to ...
6838 * sysdeps/sh/configure.in: ... here.
6839 * sysdeps/sh/elf/start.S: Moved to ...
6840 * sysdeps/sh/start.S: ... here.
6841 * sysdeps/sh/elf/configure: Delete file.
6843 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6844 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6845 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6846 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6847 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6848 * sysdeps/powerpc/powerpc64/start.S: here.
6849 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6850 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6851 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6852 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6853 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6855 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6856 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6857 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6858 * sysdeps/powerpc/powerpc32/start.S: ... here.
6859 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6860 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6861 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6863 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6864 * sysdeps/powerpc/ifunc-sel.h: ... here.
6865 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6866 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6868 * sysdeps/sparc/elf/configure.in: Moved to ...
6869 * sysdeps/sparc/configure.in: ... here.
6870 * sysdeps/sparc/elf/configure: Delete file.
6871 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6872 * sysdeps/sparc/sparc32/start.S: ... here.
6873 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6874 * sysdeps/sparc/sparc64/start.S: ... here.
6875 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6876 * sysdeps/sparc/sparc32/Makefile: ... this.
6877 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6878 * sysdeps/sparc/sparc64/Makefile: ... this.
6880 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6881 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6882 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6883 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6884 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6885 * sysdeps/s390/s390-32/setjmp.S: ... here.
6886 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6887 * sysdeps/s390/s390-32/configure.in: ... here.
6888 * sysdeps/s390/s390-32/elf/configure: Delete file.
6889 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6890 * sysdeps/s390/s390-32/start.S: ... here.
6892 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6893 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6894 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6895 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6896 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6897 * sysdeps/s390/s390-64/setjmp.S: ... here.
6898 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6899 * sysdeps/s390/s390-64/configure.in: ... here
6900 * sysdeps/s390/s390-64/elf/configure: Delete file.
6901 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6902 * sysdeps/s390/s390-64/start.S: ... here.
6903 * sysdeps/s390/s390-64/elf/configure: Delete.
6905 * configure.in: Remove support for elf directories in sysdeps.
6907 * configure: Regenerated.
6908 * sysdeps/i386/configure: Regenerated.
6909 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6910 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6911 * sysdeps/s390/s390-32/configure: Regenerated.
6912 * sysdeps/s390/s390-64/configure: Regenerated.
6913 * sysdeps/sh/configure: Regenerated.
6914 * sysdeps/sparc/configure: Regenerated.
6915 * sysdeps/x86_64/configure: Regenerated.
6917 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6921 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6922 denormal result into account.
6924 2012-03-25 Roland McGrath <roland@hack.frob.com>
6926 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6927 Reported by Allan McRae <allan@archlinux.org>.
6929 2012-03-23 Jeff Law <law@redhat.com>
6931 * nss/getnssent.c (__nss_getent): Fix typo.
6933 2012-03-23 David S. Miller <davem@davemloft.net>
6935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6937 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6939 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6940 to pad to uint64_t for each field.
6941 (dl_tls_index): Replace unsigned long with uint64_t.
6943 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6944 Paul Pluzhnikov <ppluzhnikov@google.com>
6947 * grp/Makefile (otherlibs): Don't set it.
6948 * inet/Makefile (otherlibs): Likewise.
6949 * login/Makefile (otherlibs): Likewise.
6950 * nscd/Makefile (otherlibs): Likewise.
6951 * posix/Makefile (otherlibs): Likewise.
6952 * pwd/Makefile (otherlibs): Likewise.
6953 * rt/Makefile (otherlibs): Likewise.
6954 * sunrpc/Makefile (otherlibs): Likewise.
6955 * nss/Makefile (otherlibs): Likewise.
6956 Add libnss_files to routines and static-only-routines.
6957 ($(objpfx)getent): Remove rule.
6958 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6959 static-only-routines.
6961 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6964 * math/s_cexp.c: Include <float.h>.
6965 (__cexp): Handle exp result overflowing not necessarily
6966 overflowing both real and imaginary parts of result.
6967 * math/s_cexpf.c: Likewise.
6968 * math/s_cexpl.c: Likewise.
6969 * math/libm-test.inc (cexp_test): Add more tests.
6970 * sysdeps/i386/fpu/libm-test-ulps: Update.
6971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6973 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6975 * include/link.h (ELFW): New macro.
6976 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6977 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6979 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6981 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6984 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6986 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6988 (struct La_x32_retval): Likewise.
6990 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6992 * sysdeps/x86_64/preconfigure.in: New file.
6993 * sysdeps/x86_64/preconfigure: New generated file.
6995 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6998 * math/e_exp2l.c: Include <float.h>.
6999 (__ieee754_exp2l): Handle overflow and underflow cases
7000 separately. Only pass fractional part of argument to
7002 * math/libm-test.inc (exp2_test): Add more tests.
7004 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7005 negating x to take absolute value.
7006 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7008 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7009 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7011 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7012 computing low part if x was negated.
7013 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7015 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7017 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7019 (pltexit): Cast int_retval to ptrdiff_t.
7020 * elf/tst-auditmod3b.c: Likewise.
7021 * elf/tst-auditmod4b.c: Likewise.
7022 * elf/tst-auditmod5b.c: Likewise.
7023 * elf/tst-auditmod6b.c: Likewise.
7024 * elf/tst-auditmod6c.c: Likewise.
7025 * elf/tst-auditmod7b.c: Likewise.
7027 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7028 and x32_gnu_pltexit.
7030 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7032 (La_x32_regs): New macro.
7033 (La_x32_retval): Likewise.
7034 (la_x32_gnu_pltenter): New function prototype.
7035 (la_x32_gnu_pltexit): Likewise.
7037 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7044 * configure.in (libc_cv_cc_nofma): Check for option to disable
7045 generation of FMA instructions.
7046 * configure: Regenerate.
7047 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7048 * sysdeps/ieee754/dbl-64/Makefile: New file.
7049 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7050 Remove brandred-fma4.
7051 (CFLAGS-brandred-fma4.c): Remove.
7052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7053 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7055 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7058 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7060 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7061 LLONG_MAX != LONG_MAX.
7062 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7063 (_fitoa_word): Likewise.
7064 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7065 LLONG_MAX != LONG_MAX.
7066 * stdio-common/_itowa.h: Include <_itoa.h>.
7067 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7068 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7069 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7070 only if not defined.
7071 (_ITOA_WORD_TYPE): Likewise.
7072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7073 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7075 2012-03-21 David S. Miller <davem@davemloft.net>
7077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7079 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7081 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7082 of x86_64 when setting libc_cv_slibdir, libdir and
7084 * sysdeps/unix/sysv/linux/configure: Regenerated.
7086 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7088 * manual/lang.texi (Old Varargs): Remove section.
7089 (How Variadic): Update menu.
7090 (va_start): Do not mention varargs.h.
7092 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7093 Joseph Myers <joseph@codesourcery.com>
7095 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7097 * configure: Regenerated.
7099 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7101 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7102 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7105 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7108 * Makefile (files-for-dist): Remove NOTES.
7109 (NOTES): Remove rule.
7110 * README: Don't refer to NOTES.
7111 * manual/creature.texi: Don't include macros.texi.
7112 * manual/intro.texi (creature.texi): Remove comment referring to
7115 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7116 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7117 * configure: Regenerated.
7118 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7120 (libc_cv_as_i686): Likewise.
7121 (libc_cv_cc_avx): Likewise.
7122 (libc_cv_cc_sse2avx): Likewise.
7123 (libc_cv_cc_fma4): Likewise.
7124 (libc_cv_cc_novzeroupper): Likewise.
7125 * sysdeps/i386/configure: Regenerated.
7128 * sysdeps/i386/fpu/s_cexp.S: Remove.
7129 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7130 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7131 * math/libm-test.inc (cexp_test): Add more tests.
7132 * sysdeps/i386/fpu/libm-test-ulps: Update.
7133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7135 2012-03-21 Allan McRae <allan@archlinux.org>
7137 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7139 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7142 * math/w_exp2.c: Do not include <float.h>.
7143 (o_threshold, u_threshold): Remove.
7144 (__exp2): Calculate result before checking finiteness and calling
7146 * math/w_exp2f.c: Likewise.
7147 * math/w_exp2l.c: Likewise.
7148 * math/libm-test.inc (exp2_test): Require overflow exception for
7152 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7153 range of signed 64-bit integers before using fistpll. Remove
7154 checks for whether integers fit in mantissa bits.
7155 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7156 the range of signed 32-bit integers before using fistpl. Remove
7157 checks for whether integers fit in mantissa bits.
7158 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7159 (__ieee754_powl): Test for y outside the range of signed 64-bit
7160 integers before using fistpll. Reduce 64-bit values to 63-bit
7162 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7163 divide-by-zero is raised for zero to large negative powers.
7164 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7165 (__ieee754_powl): Test for y outside the range of signed 64-bit
7166 integers before using fistpll. Reduce 64-bit values to 63-bit
7168 * math/libm-test.inc (pow_test): Add more tests.
7170 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7172 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7173 <stdio-common/_itoa.h>.
7174 * debug/segfault.c: Likewise.
7175 * elf/dl-cache.c: Likewise.
7176 * elf/dl-minimal.c: Likewise.
7177 * elf/dl-misc.c: Likewise.
7178 * elf/dl-sysdep.c: Likewise.
7179 * elf/dl-version.c: Likewise.
7180 * elf/rtld.c: Likewise.
7181 * hurd/hurdsock.c: Likewise.
7182 * hurd/lookup-retry.c: Likewise.
7183 * malloc/malloc.c: Likewise.
7184 * malloc/mtrace.c: Likewise.
7185 * nscd/nscd_getgr_r.c: Likewise.
7186 * nscd/nscd_getpw_r.c: Likewise.
7187 * nscd/nscd_getserv_r.c: Likewise.
7188 * posix/getopt_init.c: Likewise.
7189 * posix/wordexp.c: Likewise.
7190 * stdio-common/_itoa.c: Likewise.
7191 * stdio-common/printf_fphex.c: Likewise.
7192 * stdio-common/vfprintf.c: Likewise.
7193 * string/_strerror.c: Likewise.
7194 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7195 * sysdeps/i386/i686/hp-timing.h: Likewise.
7196 * sysdeps/mach/_strerror.c: Likewise.
7197 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7198 * sysdeps/mach/hurd/sethostid.c: Likewise.
7199 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7200 * sysdeps/mach/xpg-strerror.c: Likewise.
7201 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7202 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7203 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7204 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7205 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7206 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7207 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7208 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7209 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7210 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7211 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7212 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7213 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7214 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7215 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7216 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7217 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7218 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7219 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7220 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7221 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7223 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7225 * stdio-common/_itoa.h: Moved to ...
7226 * sysdeps/generic/_itoa.h: Here.
7228 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7230 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7231 instead of "_itoa.h" and "_itowa.h".
7232 * stdio-common/vfprintf.: Likewise.
7234 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7236 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7238 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7239 (__signbit): Likwise.
7243 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7245 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7248 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7250 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7251 OVERFLOW_EXCEPTION_OK.
7252 * math/libm-test.inc ("Philosophy"): Update comment about
7254 (OVERFLOW_EXCEPTION): Define.
7255 (OVERFLOW_EXCEPTION_OK): Likewise.
7256 (INVALID_EXCEPTION_OK): Renumber.
7257 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7258 (IGNORE_ZERO_INF_SIGN): Likewise.
7259 (test_exceptions): Handle FE_OVERFLOW.
7260 (exp10_test): Expect overflow exceptions.
7261 (exp2_test): Likewise.
7262 (expm1_test): Likewise.
7263 (nextafter_test): Likewise.
7264 (pow_test): Likewise.
7265 (scalbn_test): Likewise.
7266 (scalbln_test): Likewise.
7268 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7270 * sysdeps/x86_64/bits/atomic.h
7271 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7273 (atomic_exchange_acq): Likewise.
7274 (__arch_exchange_and_add_body): Likewise.
7275 (__arch_add_body): Likewise.
7276 (atomic_add_negative): Likewise.
7277 (atomic_add_zero): Likewise.
7279 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7281 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7282 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7284 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7286 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7287 Check __x86_64__ instead of __WORDSIZE.
7289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7291 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7293 2012-03-19 David S. Miller <davem@davemloft.net>
7295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7297 * sysdeps/sparc/fpu/fenv_private.h: New file.
7298 * sysdeps/sparc/fpu/math_private.h: Use it.
7299 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7301 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7302 (libc_feholdexcept_setroundl): Remove.
7303 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7305 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7306 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7308 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7310 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7311 int64_t instead of long int.
7312 (INSERT_WORDS64): Likwise.
7314 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7316 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7317 _Unwind_GetCFA return to _Unwind_Ptr first.
7319 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7322 * math/s_clog.c: Include <float.h>.
7323 (__clog): Scale large or subnormal inputs.
7324 * math/s_clogf.c: Likewise.
7325 * math/s_clogl.c: Likewise.
7326 * math/s_clog10.c: Include <float.h>.
7327 (M_LOG10_2): Define.
7328 (__clog10): Scale large or subnormal inputs.
7329 * math/s_clog10f.c: Likewise.
7330 * math/s_clog10l.c: Likewise.
7331 * math/libm-test.inc (clog_test): Add more tests.
7332 (clog10_test): Likewise.
7333 * sysdeps/i386/fpu/libm-test-ulps: Update.
7334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7337 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7339 * math/libm-test.inc (atan2_test): Add another test.
7341 * Makerules (common-objdir-compile): Remove.
7342 * sysdeps/unix/Makefile (config-generated): Do not add
7343 $(unix-generated) to variable.
7344 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7345 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7347 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7349 [generic bits/local_lim.h] (before-compile): Do not append to
7351 [generic bits/local_lim.h] (common-generated): Likewise.
7352 [generic sys/param.h] (before-compile): Do not append to variable.
7353 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7354 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7355 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7356 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7358 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7359 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7360 [generic sys/param.h] ($(addprefix
7361 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7362 [generic sys/param.h] (common-generated): Do not append to
7364 [generic sys/param.h] (sysdep_headers): Likewise.
7365 [generic bits/errno.h] (before-compile): Do not append to
7367 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7369 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7370 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7371 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7372 [generic bits/errno.h] (common-generated): Do not append to
7374 [generic bits/ioctls.h] (before-compile): Do not append to
7376 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7378 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7379 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7380 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7382 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7383 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7384 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7385 [generic bits/ioctls.h] (common-generated): Do not append to
7387 [generic sys/syscall.h] (syscall.h): Remove variable.
7388 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7390 [generic sys/syscall.h] (before-compile): Do not append to
7392 [generic sys/syscall.h] (common-generated): Likewise.
7393 * sysdeps/unix/errnos-tmpl.c: Remove file.
7394 * sysdeps/unix/errnos.awk: Likewise.
7395 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7396 * sysdeps/unix/ioctls.awk: Likewise.
7397 * sysdeps/unix/mk-local_lim.c: Likewise.
7398 * sysdeps/unix/snarf-ioctls: Likewise.
7400 2012-03-19 Richard Henderson <rth@twiddle.net>
7402 * sysdeps/i386/fpu/fenv_private.h: New file.
7403 * sysdeps/i386/fpu/math_private.h: Use it.
7404 (math_opt_barrier, math_force_eval): Remove.
7405 (libc_feholdexcept_setround_53bit): Remove.
7406 (libc_feupdateenv_53bit): Remove.
7407 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7408 (math_opt_barrier, math_force_eval): Remove.
7409 (libc_feholdexcept): Remove.
7410 (libc_feholdexcept_setround): Remove.
7411 (libc_fetestexcept, libc_fesetenv): Remove.
7412 (libc_feupdateenv_test): Remove.
7413 (libc_feupdateenv, libc_feholdsetround): Remove.
7414 (libc_feresetround): Remove.
7416 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7417 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7419 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7420 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7421 (libc_feupdateenv_testl): New.
7422 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7423 (libc_feupdateenv_testf): New.
7424 (libc_feupdateenv): Use libc_feupdateenv_test.
7425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7428 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7429 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7430 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7431 (libc_feresetround_noex): New.
7432 (libc_feresetround_noexf): New.
7433 (libc_feresetround_noexl): New.
7434 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7435 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7436 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7437 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7442 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7443 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7444 SET_RESTORE_ROUND_NOEX.
7445 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7446 SET_RESTORE_ROUND_NOEXF.
7447 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7448 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7449 (libc_feholdsetroundf): New.
7450 (libc_feresetround, libc_feresetroundf): New.
7452 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7453 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7454 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7456 * sysdeps/generic/math_private.h: Include <fenv.h>.
7457 (default_libc_feholdexcept): New.
7458 (default_libc_feholdexcept_setround): New.
7459 (default_libc_fesetenv, default_libc_feupdateenv): New.
7460 (libc_feholdexcept): Only define if undefined.
7461 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7462 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7463 (libc_feholdexcept_setroundl): Likewise.
7464 (libc_feholdexcept_setround_53bit): Likewise.
7465 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7466 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7467 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7468 (libc_feupdateenv_53bit): Likewise.
7469 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7470 (libc_feholdexcept): Convert from macro to inline function.
7471 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7472 (libc_fesetenv, libc_feupdateenv): Likewise.
7474 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7475 not previously defined.
7476 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7477 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7478 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7479 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7480 * sysdeps/ieee754/flt-32/math_private.h: New file.
7481 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7482 math_private.h below SET_FLOAT_WORD.
7483 (__isnan, __isinf_ns, __finite): Remove.
7484 (__isnanf, __isinf_nsf, __finitef): Remove.
7486 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7490 2012-03-17 David S. Miller <davem@davemloft.net>
7493 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7496 2012-03-16 David S. Miller <davem@davemloft.net>
7498 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7502 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7504 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7505 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7506 sysdep_routines when subdir is sysvipc.
7507 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7510 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7512 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7514 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7517 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7519 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7520 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7521 (__lround): Renamed to ...
7522 (__llround): This. Replace long int with long long int.
7523 Define lround functions as aliases of llround functions.
7524 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7528 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7529 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7530 adresses to uintptr_t. Replace "long int" and "unsigned long
7531 int" with "greg_t" on va_arg.
7533 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7535 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7536 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7538 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7539 Move e_machine check before EI_CLASS check. Handle x32
7540 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7541 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7542 SKIP_EM_IA_64 and include
7543 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7545 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7546 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7547 (add_system_dir): New macro.
7549 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7550 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7552 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7563 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7565 * math/w_j0f.c (j0f): Likewise.
7567 * math/w_j0l.c (__j0l): Likewise.
7569 * math/w_j1.c (j1): Likewise.
7571 * math/w_j1f.c (j1f): Likewise.
7573 * math/w_j1l.c (__j1l): Likewise.
7575 * math/w_jn.c (jn): Likewise.
7577 * math/w_jnf.c (jnf): Likewise.
7579 * math/w_jnl.c (__jnl): Likewise.
7581 * math/libm-test.inc (j0_test): Add more tests.
7582 (j1_test): Likewise.
7583 (jn_test): Likewise. Add trailing semicolon to existing test.
7584 (y0_test): Likewise.
7585 (y1_test): Likewise.
7586 * sysdeps/i386/fpu/libm-test-ulps: Update.
7587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7591 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7592 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7593 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7594 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7595 (__tanl): Set errno for infinite argument.
7596 * sysdeps/i386/fpu/mptan.c: Remove.
7597 * sysdeps/i386/fpu/s_tan.S: Likewise.
7598 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7599 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7600 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7601 * math/libm-test.inc (tan_test): Add more tests and enable more
7602 tests for double and long double.
7603 * sysdeps/i386/fpu/libm-test-ulps: Update.
7604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7606 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7608 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7609 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7611 2012-03-16 Roland McGrath <roland@hack.frob.com>
7613 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7614 * configure.in: Use it for both main tree and add-ons.
7615 * configure: Regenerated.
7617 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7619 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7621 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7623 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7627 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7628 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7633 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7636 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7637 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7638 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7639 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7640 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7641 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7642 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7643 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7644 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7645 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7646 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7647 * math/libm-test.inc (cos_test): Add more tests and enable more
7648 tests for long double.
7649 (sin_test): Likewise.
7650 (sincos_test): Likewise.
7651 * sysdeps/i386/fpu/libm-test-ulps: Update.
7652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7654 2012-03-16 David S. Miller <davem@davemloft.net>
7656 * sysdeps/sparc/fpu/math_private.h: New file.
7658 2012-03-15 David S. Miller <davem@davemloft.net>
7660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7674 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7675 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7677 * sysdeps/sparc/sparc-ifunc.h: New file.
7678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7723 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7725 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7729 2012-03-15 Andreas Jaeger <aj@suse.de>
7732 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7733 ieee754/flt-32 implementation for sin, cos and sincos.
7734 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7735 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7736 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7737 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7738 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7739 ieee754/flt-32 implementation for tan.
7741 * math/libm-test.inc (cos_test): Enable some large input tests for
7743 (sin_test): Likewise.
7744 (sincos_test): Likewise.
7745 (tan_test): Add tests for large input.
7747 * sysdeps/i386/fpu/libm-test-ulps: Update.
7749 2012-03-15 Andreas Jaeger <aj@suse.de>
7752 * math/libm-test.inc (cos_test): Add more test cases.
7753 (sin_test): Likewise.
7754 (sincos_test): Likewise.
7756 2012-03-15 Andreas Jaeger <aj@suse.de>
7759 * math/libm-test.inc (cos_test): Add a test case for large input
7761 (sin_test): Likewise.
7762 (sincos_test): Likewise.
7764 2012-03-15 Andreas Jaeger <aj@suse.de>,
7765 Joseph Myers <joseph@codesourcery.com>
7768 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7769 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7770 * sysdeps/i386/fpu/branred.c: Likewise.
7771 * sysdeps/i386/fpu/dosincos.c: Likewise.
7772 * sysdeps/i386/fpu/mpa.c: Likewise.
7773 * sysdeps/i386/fpu/s_cos.S: Likewise.
7774 * sysdeps/i386/fpu/s_sin.S: Likewise.
7775 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7776 * sysdeps/i386/fpu/sincos32.c: Likewise.
7778 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7780 (libc_feupdateenv_53bit): Define.
7781 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7783 (libc_feupdateenv_53bit): Define.
7785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7786 53 bit (without extend i386 double precision).
7788 * math/libm-test.inc (sincos_test): Add tests for large input.
7792 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7794 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7798 2012-03-15 David S. Miller <davem@davemloft.net>
7800 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7801 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7802 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7803 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7827 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7828 fmin/fmax sysdep routines.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7831 2012-03-14 David S. Miller <davem@davemloft.net>
7833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7905 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7910 * sysdeps/sparc/configure.in: New file.
7911 * sysdeps/sparc/configure: Generate.
7912 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7913 * configure: Regenerate.
7914 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7915 * config.make.in (have-as-vis3): New.
7916 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7917 available use -Av9d instead of -Av9a.
7918 * sysdeps/sparc/sparc64/Makefile: Likewise.
7919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7934 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7935 fzeros/fnegs to load 0x80000000 into a float register instead of
7937 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7939 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7943 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7944 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7945 ($(inst_includedir)/bits/syscall.h): Remove rule.
7946 ($(objpfx)bits/syscall.d): Include instead of
7947 $(objpfx)syscall-list.d.
7948 (generated): Change syscall-list.h and syscall-list.d to
7949 bits/syscall.h and bits/syscall.d.
7951 2012-03-14 Roland McGrath <roland@hack.frob.com>
7954 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7956 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7959 * math/s_csqrt.c: Include <float.h>.
7960 (__csqrt): Scale large or subnormal inputs.
7961 * math/s_csqrtf.c: Likewise.
7962 * math/s_csqrtl.c: Likewise.
7963 * math/libm-test.inc (csqrt_test): Add more tests.
7964 * sysdeps/i386/fpu/libm-test-ulps: Update.
7965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7968 * math/libm-test.inc (hypot_test): Add more tests.
7970 2012-03-13 David S. Miller <davem@davemloft.net>
7973 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7974 double-precision for the calculation instead of scaling.
7976 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7979 manipulate bits before adding and subtracting TWO52[sx].
7980 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7981 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7983 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7985 2012-03-13 David S. Miller <davem@davemloft.net>
7987 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7988 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7990 rtld-global-offsets.h
7991 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7993 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7996 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7998 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7999 'err' in the ifdef scope in which it is actually used.
8001 * nss/nss_db/db-init.c: Include string.h
8003 2012-03-12 David S. Miller <davem@davemloft.net>
8005 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8006 masking out of the most significant byte of random value used.
8007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8008 Fix coding style in previous change.
8010 * sysdeps/unix/sysv/linux/kernel-features.h
8011 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8012 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8014 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8017 2012-03-11 David S. Miller <davem@davemloft.net>
8019 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8020 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8022 for 'resultvar' otherwise things get truncated on 64-bit.
8024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8025 Fix masking out of the most significant byte of random value used.
8027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8029 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8033 2012-03-09 David S. Miller <davem@davemloft.net>
8035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8036 variables with appropriate CPP guards.
8037 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8038 frame pointer, not the stack pointer. Correct layout comments. Fix test
8039 on resulting framesize and the management of the outregs buffer for pltexit.
8040 Preserve floating point return values across _dl_call_pltexit call.
8041 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8042 framesize and the management of the outregs buffer for pltexit.
8043 Preserve floating point return values across _dl_call_pltexit
8045 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8046 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8047 (print_exit): Fix format string for return register value.
8049 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8051 * sunrpc/Makefile (others): Add rpcgen.
8052 ($(objpfx)rpcgen): Remove special build rule and dependency on
8054 * sunrpc/rpcgen.c: New file.
8056 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8059 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8060 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8061 * sysdeps/i386/crti.S: Likewise.
8062 * sysdeps/i386/crtn.S: Likewise.
8063 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8064 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8065 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8066 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8067 * sysdeps/sh/crti.S: Likewise.
8068 * sysdeps/sh/crtn.S: Likewise.
8069 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8072 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8074 * locale/programs/locfile-kw.gperf: Likewise.
8075 * locale/programs/charmap-kw.h: Regenerated.
8076 * locale/programs/locfile-kw.h: Likewise.
8079 * intl/plural.y: Replace FSF snail mail address with URL.
8080 * intl/plural.c: Regenerated.
8082 2012-03-09 Richard Henderson <rth@twiddle.net>
8084 * include/math_private.h: Remove file.
8085 * math/math_private.h: Move file ...
8086 * sysdeps/generic/math_private.h: ... here.
8088 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8089 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8090 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8092 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8093 and <math_private.h>.
8094 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8095 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8096 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8097 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8098 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8108 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8118 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8119 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8177 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8178 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8182 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8183 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8184 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8185 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8186 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8187 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8188 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8189 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8190 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8191 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8192 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8193 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8194 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8195 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8196 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8197 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8199 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8200 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8201 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8202 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8203 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8204 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8205 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8206 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8207 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8208 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8209 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8210 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8211 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8212 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8213 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8214 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8215 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8217 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8218 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8219 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8220 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8221 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8222 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8223 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8224 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8225 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8226 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8227 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8228 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8229 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8230 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8231 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8232 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8233 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8235 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8236 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8237 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8238 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8239 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8240 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8241 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8242 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8243 * sysdeps/ieee754/k_standard.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8363 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8364 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8366 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8377 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8392 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8393 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8394 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8404 * sysdeps/ieee754/s_lib_version.c: Likewise.
8405 * sysdeps/ieee754/s_matherr.c: Likewise.
8406 * sysdeps/ieee754/s_signgam.c: Likewise.
8407 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8408 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8409 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8410 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8411 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8412 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8413 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8414 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8415 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8416 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8417 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8418 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8419 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8420 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8421 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8422 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8424 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8425 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8426 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8429 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8431 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8432 * sunrpc/rpc_main.c: Likewise.
8433 * sunrpc/rpc_svcout.c: Likewise.
8435 2012-03-09 David S. Miller <davem@davemloft.net>
8437 * include/math_private.h: New file.
8439 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8441 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8442 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8443 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8444 from <bits/socket_type.h>.
8445 (enum __socket_type): Don't define here.
8446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8451 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8454 * Makerules ($(inst_includedir)/%.h): New rule.
8455 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8456 (install-others): Remove variable setting.
8457 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8459 2012-03-08 Richard Henderson <rth@twiddle.net>
8461 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8462 from macro to inline function; merge with the
8463 !__LIBC_INTERNAL_MATH_INLINES version.
8464 (__ieee754_sqrtf): Likewise.
8466 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8468 (__rintf, __floor, __floorf): Likewise.
8470 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8471 macro to inline function.
8472 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8475 not <math/math_private.h>.
8477 2012-03-08 David S. Miller <davem@davemloft.net>
8479 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8481 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8483 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8485 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8487 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8488 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8490 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8492 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8493 be defined individually, they must be defined as a block. Define
8494 S for printing a string instead of hidint the different by using a
8495 macro for adding the 'l'.
8496 * stdio-common/tst-fphex-wide.c: Adjust.
8498 2012-03-07 Marek Polacek <polacek@redhat.com>
8500 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8502 2012-03-08 Marek Polacek <polacek@redhat.com>
8505 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8506 * stdio-common/tst-fphex.c: Define a few macros to make the
8507 test reusable. Use them.
8508 * stdio-common/tst-fphex-wide.c: New file.
8510 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8513 * manual/macros.texi (gnusystems): New macro.
8514 (nongnusystems): Likewise.
8515 (gnulinuxhurdsystems): Likewise.
8516 (gnuhurdsystems): Likewise..
8517 (gnulinuxsystems): Likewise.
8518 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8519 variants of the GNU system, not "GNU system".
8520 * manual/conf.texi: Likewise.
8521 * manual/errno.texi: Likewise. Update example of errno macro
8523 * manual/filesys.texi: Likewise.
8524 (getumask): Document as specific to GNU/Hurd.
8525 * manual/install.texi: Likewise. Reword some references to
8527 * manual/intro.texi: Likewise.
8528 * manual/io.texi: Likewise.
8529 (File Name Portability): Detail which constraints are inapplicable
8530 to all GNU systems and which are only inapplicable to GNU/Hurd.
8531 * manual/job.texi: Likewise.
8532 * manual/llio.texi: Likewise.
8533 (O_NOCTTY): Document as present on GNU/Linux.
8534 * manual/maint.texi: Likewise.
8535 * manual/memory.texi: Likewise.
8536 * manual/pattern.texi: Likewise.
8537 * manual/pipe.texi: Likewise.
8538 * manual/process.texi: Likewise.
8539 * manual/resource.texi: Likewise.
8540 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8542 * manual/setjmp.texi: Likewise.
8543 * manual/signal.texi: Likewise.
8544 * manual/startup.texi: Likewise.
8545 * manual/stdio.texi: Likewise.
8546 * manual/terminal.texi: Likewise.
8547 (ONLCR): Document as POSIX.
8548 (OXTABS): Document availability on GNU/Linux as XTABS.
8549 (ONOEOT): Document availability separately from other bits.
8550 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8551 * manual/time.texi: Likewise.
8552 * manual/users.texi: Likewise.
8553 * INSTALL: Regenerated.
8554 * sysdeps/gnu/errlist.c: Regenerated.
8556 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8557 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8558 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8560 * configure: Regenerated.
8562 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8564 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8565 default includes instead of AC_HEADER_CHECK.
8566 * sysdeps/i386/configure: Regenerated.
8569 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8570 * math/s_cacoshf.c (__cacoshf): Likewise.
8571 * math/s_cacoshl.c (__cacoshl): Likewise.
8572 * math/s_casinh.c (__casinh): Set signs of result from argument.
8573 * math/s_casinhf.c (__casinhf): Likewise.
8574 * math/s_casinhl.c (__casinhl): Likewise.
8575 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8576 (casinh_test): Add more tests.
8577 * sysdeps/i386/fpu/libm-test-ulps: Update.
8578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8580 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8582 * po/zh_TW.po: Update from translation team.
8584 * login/Makefile (distribute): Remove variable.
8585 * catgets/Makefile: Likewise.
8586 * mach/Makefile: Likewise.
8587 * malloc/Makefile: Likewise.
8588 * misc/Makefile: Likewise.
8589 * iconv/Makefile: Likewise.
8590 * nscd/Makefile: Likewise.
8591 * hurd/Makefile: Likewise.
8592 * manual/Makefile: Likewise.
8593 * locale/Makefile: Likewise.
8594 * intl/Makefile: Likewise.
8595 * conform/Makefile: Likewise.
8596 * nss/Makefile: Likewise.
8597 * time/Makefile: Likewise.
8598 * soft-fp/Makefile: Likewise.
8599 * dirent/Makefile: Likewise.
8600 * gmon/Makefile: Likewise.
8601 * po/Makefile: Likewise.
8602 * rt/Makefile: Likewise.
8603 * socket/Makefile: Likewise.
8604 * math/Makefile: Likewise.
8605 * signal/Makefile: Likewise.
8606 * debug/Makefile: Likewise.
8607 * elf/Makefile: Likewise.
8608 * timezone/Makefile: Likewise.
8609 * stdlib/Makefile: Likewise.
8610 * iconvdata/Makefile: Likewise.
8611 * sunrpc/Makefile: Likewise.
8612 * io/Makefile: Likewise.
8613 * argp/Makefile: Likewise.
8614 * inet/Makefile: Likewise.
8615 * hesiod/Makefile: Likewise.
8616 * grp/Makefile: Likewise.
8617 * csu/Makefile: Likewise.
8618 * wctype/Makefile: Likewise.
8619 * crypt/Makefile: Likewise.
8620 * libio/Makefile: Likewise.
8621 * string/Makefile: Likewise.
8622 * nis/Makefile: Likewise.
8623 * resolv/Makefile: Likewise.
8624 * stdio-common/Makefile: Likewise.
8625 * wcsmbs/Makefile: Likewise.
8626 * dlfcn/Makefile: Likewise.
8627 * posix/Makefile: Likewise.
8630 * timezone/Makefile: Don't install timezone files, just the programs
8633 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8635 * nss/databases.def: Add missing gshadow entry.
8637 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8639 2012-03-06 Marek Polacek <polacek@redhat.com>
8642 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8643 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8644 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8645 * stdio-common/tst-long-dbl-fphex.c: New file.
8647 2012-03-06 David S. Miller <davem@davemloft.net>
8649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8650 (set_obp_int): New function.
8651 (get_obp_int): New function.
8652 (__get_clockfreq_via_dev_openprom): Likewise.
8653 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8654 Avoid unused variable warnings on 'val' and use builtin_expect.
8655 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8657 (INLINE_CLONE_SYSCALL): Likewise.
8659 2012-03-05 David S. Miller <davem@davemloft.net>
8661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8663 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8667 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8669 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8671 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8674 Replace gettimeofday with __vdso_gettimeofday.
8676 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8677 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8678 __vdso_clock_gettime and __vdso_getcpu.
8680 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8681 time with __vdso_time.
8683 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8685 * manual/lang.texi (size_t): Note types to which size_t may be
8686 equivalent with the GNU C Library, but do not describe when
8687 differences between them are significant.
8689 2012-03-05 Andreas Jaeger <aj@suse.de>
8691 * sysdeps/i386/fpu/libm-test-ulps: Update.
8693 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8696 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8697 (__ieee754_pow): Save and restore rounding mode and use
8698 round-to-nearest for main computations.
8699 * math/libm-test.inc (pow_test_tonearest): New function.
8700 (pow_test_towardzero): Likewise.
8701 (pow_test_downward): Likewise.
8702 (pow_test_upward): Likewise.
8703 (main): Call the new functions.
8704 * sysdeps/i386/fpu/libm-test-ulps: Update.
8705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8708 * math/libm-test.inc (cosh_test_tonearest): New function.
8709 (cosh_test_towardzero): Likewise.
8710 (cosh_test_downward): Likewise.
8711 (cosh_test_upward): Likewise.
8712 (sinh_test_tonearest): Likewise.
8713 (sinh_test_towardzero): Likewise.
8714 (sinh_test_downward): Likewise.
8715 (sinh_test_upward): Likewise.
8716 (main): Call the new functions.
8717 * sysdeps/i386/fpu/libm-test-ulps: Update.
8718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8720 2012-03-05 Tom de Vries <tom@codesourcery.com>
8722 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8723 default stack guard is set in last bytes.
8724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8726 2012-03-05 Kees Cook <keescook@chromium.org>
8728 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8731 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8732 possibly allocate from heap instead of stack.
8733 * stdio-common/bug-vfprintf-nargs.c: New file.
8734 * stdio-common/Makefile (tests): Add nargs overflow test.
8736 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8740 2012-03-03 Marek Polacek <polacek@redhat.com>
8742 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8743 * math/math_private.h: Likewise.
8744 * stdlib/tst-strtod.c: Likewise.
8745 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8746 * sysdeps/x86_64/bits/atomic.h: Likewise.
8748 2012-03-02 David S. Miller <davem@davemloft.net>
8750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8754 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8755 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8756 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8757 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8759 2012-03-02 Roland McGrath <roland@hack.frob.com>
8762 * manual/examples/README: New file, says the example source files
8763 can be used under GPL>=2.
8764 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8765 line containing just "*/".
8766 * manual/examples/add.c: Add copyright header (GPL>=2).
8767 * manual/examples/argp-ex1.c: Likewise.
8768 * manual/examples/argp-ex2.c: Likewise.
8769 * manual/examples/argp-ex3.c: Likewise.
8770 * manual/examples/argp-ex4.c: Likewise.
8771 * manual/examples/atexit.c: Likewise.
8772 * manual/examples/db.c: Likewise.
8773 * manual/examples/dir.c: Likewise.
8774 * manual/examples/dir2.c: Likewise.
8775 * manual/examples/execinfo.c: Likewise.
8776 * manual/examples/filecli.c: Likewise.
8777 * manual/examples/filesrv.c: Likewise.
8778 * manual/examples/fmtmsgexpl.c: Likewise.
8779 * manual/examples/genpass.c: Likewise.
8780 * manual/examples/inetcli.c: Likewise.
8781 * manual/examples/inetsrv.c: Likewise.
8782 * manual/examples/isockad.c: Likewise.
8783 * manual/examples/longopt.c: Likewise.
8784 * manual/examples/memopen.c: Likewise.
8785 * manual/examples/memstrm.c: Likewise.
8786 * manual/examples/mkfsock.c: Likewise.
8787 * manual/examples/mkisock.c: Likewise.
8788 * manual/examples/mygetpass.c: Likewise.
8789 * manual/examples/pipe.c: Likewise.
8790 * manual/examples/popen.c: Likewise.
8791 * manual/examples/rprintf.c: Likewise.
8792 * manual/examples/search.c: Likewise.
8793 * manual/examples/select.c: Likewise.
8794 * manual/examples/setjmp.c: Likewise.
8795 * manual/examples/sigh1.c: Likewise.
8796 * manual/examples/sigusr.c: Likewise.
8797 * manual/examples/stpcpy.c: Likewise.
8798 * manual/examples/strdupa.c: Likewise.
8799 * manual/examples/strftim.c: Likewise.
8800 * manual/examples/strncat.c: Likewise.
8801 * manual/examples/subopt.c: Likewise.
8802 * manual/examples/swapcontext.c: Likewise.
8803 * manual/examples/termios.c: Likewise.
8804 * manual/examples/testopt.c: Likewise.
8805 * manual/examples/testpass.c: Likewise.
8806 * manual/examples/timeval_subtract.c: Likewise.
8809 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8811 * manual/timeval_subtract.c.texi: ... here, new file.
8813 2012-03-02 David S. Miller <davem@davemloft.net>
8815 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8817 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8820 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8821 (__sin): Save and restore rounding mode and use round-to-nearest
8822 for all computations.
8823 (__cos): Save and restore rounding mode and use round-to-nearest
8824 for all computations.
8825 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8827 (tan): Save and restore rounding mode and use round-to-nearest for
8829 * math/libm-test.inc (cos_test_tonearest): New function.
8830 (cos_test_towardzero): Likewise.
8831 (cos_test_downward): Likewise.
8832 (cos_test_upward): Likewise.
8833 (sin_test_tonearest): Likewise.
8834 (sin_test_towardzero): Likewise.
8835 (sin_test_downward): Likewise.
8836 (sin_test_upward): Likewise.
8837 (tan_test_tonearest): Likewise.
8838 (tan_test_towardzero): Likewise.
8839 (tan_test_downward): Likewise.
8840 (tan_test_upward): Likewise.
8841 (main): Call the new functions.
8842 * sysdeps/i386/fpu/libm-test-ulps: Update.
8843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8847 small n, then large n, before computing and testing k+n.
8848 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8853 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8854 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8858 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8859 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8860 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8861 * math/libm-test.inc (scalbn_test): Add more tests.
8862 (scalbln_test): Likewise.
8864 * manual/filesys.texi (mode_t): Describe constraints on size and
8865 signedness, not exact equivalence to a particular type.
8867 (ino64_t): Likewise.
8869 (nlink_t): Likewise.
8870 (blkcnt_t): Likewise.
8871 (blkcnt64_t): Likewise.
8872 * manual/llio.texi (off_t): Likewise.
8875 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8876 (__ieee754_exp): Save and restore rounding mode and use
8877 round-to-nearest for all computations.
8878 * math/libm-test.inc (exp_test_tonearest): New function.
8879 (exp_test_towardzero): Likewise.
8880 (exp_test_downward): Likewise.
8881 (exp_test_upward): Likewise.
8882 (main): Call the new functions.
8883 * sysdeps/i386/fpu/libm-test-ulps: Update.
8884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8886 2012-03-01 Chris Demetriou <cgd@google.com>
8888 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8889 have predictable order.
8891 2012-03-01 David S. Miller <davem@davemloft.net>
8893 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8895 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8896 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8897 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8898 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8900 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8901 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8902 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8904 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8905 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8906 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8907 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8908 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8912 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8913 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8916 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8917 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8918 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8919 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8920 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8924 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8925 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8926 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8927 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8929 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8930 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8932 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8933 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8934 * sysdeps/sparc/elf/configure: Regenerated.
8936 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8938 * configure.in (AS, LD): Require binutils 2.20 or later.
8939 * configure: Regenerated.
8940 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8941 as required minimum version.
8942 * INSTALL: Regenerated.
8946 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8947 before squaring exponent.
8948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8949 bottom long double and 27 bits of top long double before squaring
8951 * math/libm-test.inc (erfc_test): Add more tests.
8952 * sysdeps/i386/fpu/libm-test-ulps: Update.
8953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8956 2012-03-01 Kai Tietz <ktietz@redhat.com>
8958 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8959 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8960 containing bit-fields.
8961 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8962 * soft-fp/single.h (_FP_UNION_S): Likewise.
8963 * soft-fp/double.h (_FP_UNION_D): Likewise.
8965 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8968 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8969 not include ../strcmp.S.
8970 [USE_AS_STRNCASECMP_L]: Likewise.
8971 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8972 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8973 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8974 (__strncasecmp_l_ia32): Define as alias to
8975 __strncasecmp_l_nonascii.
8978 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8979 * sysdeps/i386/fpu/libm-test-ulps: Update.
8980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8982 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8985 2012-02-29 Jeff Law <law@redhat.com>
8987 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8990 2012-02-29 Marek Polacek <polacek@redhat.com>
8993 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8994 * elf/Makefile: Add rules to run tst-unused-dep.out.
8996 2012-02-28 David S. Miller <davem@davemloft.net>
8998 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8999 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9002 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9003 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9005 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9007 * math/libm-test.inc (llround_test): Move one test from
9008 lround_test. Use TEST_f_L in moved test.
9009 (lround_test): Move misplaced test to llround_test. Add testcase
9012 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9014 * sysdeps/x86_64/fpu/e_expf.S: New file.
9015 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9017 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9020 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9021 of remain_len that may cause incomplete multi-byte character and
9023 * posix/bug-regex33.c: New file.
9024 * posix/Makefile (tests): Add bug-regex33.
9026 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9028 * manual/macros.texi: New file.
9029 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9030 * manual/libc.texinfo: Include macros.texi.
9031 * manual/creatute.texi: Likewise.
9032 * manual/install.texi: Likewise.
9033 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9034 @glibcadj{} in references to the GNU C Library.
9035 * manual/charset.texi: Likewise.
9036 * manual/conf.texi: Likewise.
9037 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9038 when not using those macros.
9039 * manual/creature.texi: Likewise.
9040 * manual/crypt.texi: Likewise.
9041 * manual/errno.texi: Likewise.
9042 * manual/filesys.texi: Likewise.
9043 * manual/header.texi: Likewise.
9044 * manual/install.texi: Likewise.
9045 * manual/intro.texi: Likewise.
9046 * manual/io.texi: Likewise.
9047 * manual/job.texi: Likewise.
9048 * manual/lang.texi: Likewise.
9049 * manual/libc.texiinfo: Likewise.
9050 * manual/llio.texi: Likewise.
9051 * manual/locale.texi: Likewise.
9052 * manual/maint.texi: Likewise.
9053 * manual/math.texi: Likewise.
9054 * manual/memory.texi: Likewise.
9055 * manual/message.texi: Likewise.
9056 * manual/nss.texi: Likewise.
9057 * manual/pattern.texi: Likewise.
9058 * manual/process.texi: Likewise.
9059 * manual/resource.texi: Likewise.
9060 * manual/search.texi: Likewise.
9061 * manual/setjmp.texi: Likewise.
9062 * manual/signal.texi: Likewise.
9063 * manual/socket.texi: Likewise.
9064 * manual/startup.texi: Likewise.
9065 * manual/stdio.texi: Likewise.
9066 * manual/string.texi: Likewise.
9067 * manual/sysinfo.texi: Likewise.
9068 * manual/syslog.texi: Likewise.
9069 * manual/terminal.texi: Likewise.
9070 * manual/time.texi: Likewise.
9071 * manual/users.texi: Likewise.
9072 * INSTALL: Regenerated.
9073 * NOTES: Regenerated.
9074 * sysdeps/gnu/errlist.c: Regenerated.
9076 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9078 * include/dirent.h: Include <dirstream.h> before
9081 2012-02-28 David S. Miller <davem@davemloft.net>
9083 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9084 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9085 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9086 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9088 2012-02-27 David S. Miller <davem@davemloft.net>
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9092 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9093 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9096 frame pointer instead of stack pointer relative arg slot.
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9098 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9099 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9101 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9104 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9106 2012-02-27 David S. Miller <davem@davemloft.net>
9108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9112 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9113 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9114 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9115 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9117 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9119 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9120 later. Allow versions 5-9.
9121 * configure: Regenerated.
9122 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9123 required minimum version and 4.6 as recommended version. Do not
9124 mention bugs in GCC 2.7 and 2.8.
9125 * INSTALL: Regenerated.
9127 2012-02-27 David S. Miller <davem@davemloft.net>
9129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9135 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9139 manipulate bits before adding and subtracting TWO112[sx].
9140 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9142 2012-02-27 Roland McGrath <roland@hack.frob.com>
9145 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9146 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9147 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9148 being in POSIX, because they are in 1003.1-2008.
9150 * rt/tst-aio.c: Include <fcntl.h>.
9151 * rt/tst-aio7.c: Likewise.
9152 * rt/tst-aio64.c: Likewise.
9154 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9156 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9158 * manual/install.texi (--with-headers): Describe headers as
9159 interface headers, not private headers.
9160 (Specific advice for GNU/Linux systems): Describe use of headers
9161 from "make headers_install", not private headers from older
9163 * INSTALL: Regenerated.
9164 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9166 * sysdeps/unix/sysv/linux/configure: Regenerated.
9168 * manual/llio.texi (fclean): Remove documentation.
9170 * manual/Makefile (libc-texi-generated): New variable. Include
9172 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9173 $(libc-texi-generated), not duplicated list of files.
9174 (version.texi, stamp-version): New rules.
9175 (realclean): Remove $(libc-texi-generated), not individual files
9176 from that list. Do not remove dir-add.texinfo.
9177 * manual/libc.texinfo: Comment out uses of edition numbers and
9178 references to printed manual. Remove last-updated dates.
9179 (EDITION): Comment out.
9181 (VERSION, UPDATED): Remove.
9182 (version.texi): Include.
9184 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9186 * sysdeps/posix/spawni.c: Include <signal.h>.
9187 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9188 * sysdeps/pthread/aio_fsync.c: Likewise.
9190 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9192 * conform/Makefile (tests): Run only when not cross-compiling and
9193 when fast-check is not defined.
9195 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9196 * conform/data/limits.h-data: Fixes for POSIX2008.
9197 * conform/run-conformtest.sh: Run all tests.
9198 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9200 * include/bits/dlfcn.h: Likewise.
9201 * include/langinfo.h: Likewise.
9202 * include/monetary.h: Likewise.
9203 * include/sys/poll.h: Likewise.
9205 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9207 * posix/spawn.h: Define __need_sigset_t.
9208 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9209 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9210 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9211 to get sigevent_t only.
9212 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9215 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9216 process_vm_writev only for __USE_GNU.
9217 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9219 * conform/Makefile: For now ignore errors from run-conformtest.
9220 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9221 POSIX to avoid namespace pollution. Don't prepend headers.
9222 * conform/data/aio.h-data: Fixes for POSIX testing.
9223 * conform/data/fcntl.h-data: Likewise.
9224 * conform/data/glob.h-data: Likewise.
9225 * conform/data/grp.h-data: Likewise.
9226 * conform/data/pthread.h-data: Likewise.
9227 * conform/data/pwd.h-data: Likewise.
9228 * conform/data/signal.h-data: Likewise.
9229 * conform/data/spawn.h-data: Likewise.
9230 * conform/data/stdio.h-data: Likewise.
9231 * conform/data/stdlib.h-data: Likewise.
9232 * conform/data/stropts.h-data: Likewise.
9233 * conform/data/sys/mman.h-data: Likewise.
9234 * conform/data/sys/stat.h-data: Likewise.
9235 * conform/data/sys/types.h-data: Likewise.
9236 * conform/data/sys/wait.h-data: Likewise.
9237 * conform/data/time.h-data: Likewise.
9238 * conform/data/unistd.h-data: Likewise.
9239 * conform/data/utime.h-data: Likewise.
9241 * io/sys/stat.h: fchmod was always in POSIX.
9242 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9243 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9244 * rt/aio.h: Define __need_timespec before including <time.h>.
9245 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9246 struct. Add forward declaration of pthread_attr_t and use it in
9248 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9250 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9251 always remove CLK_TCK definition.
9253 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9255 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9257 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9259 * conform/run-conformtest.sh: New file.
9260 * conform/Makefile: Run run-conformtest for tests.
9261 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9264 * conform/data/uchar.h-data: New file.
9265 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9266 * conform/data/arpa/inet.h-data: Likewise.
9267 * conform/data/assert.h-data: Likewise.
9268 * conform/data/complex.h-data: Likewise.
9269 * conform/data/cpio.h-data: Likewise.
9270 * conform/data/ctype.h-data: Likewise.
9271 * conform/data/dirent.h-data: Likewise.
9272 * conform/data/dlfcn.h-data: Likewise.
9273 * conform/data/errno.h-data: Likewise.
9274 * conform/data/fcntl.h-data: Likewise.
9275 * conform/data/float.h-data: Likewise.
9276 * conform/data/fmtmsg.h-data: Likewise.
9277 * conform/data/fnmatch.h-data: Likewise.
9278 * conform/data/ftw.h-data: Likewise.
9279 * conform/data/glob.h-data: Likewise.
9280 * conform/data/grp.h-data: Likewise.
9281 * conform/data/iconv.h-data: Likewise.
9282 * conform/data/inttypes.h-data: Likewise.
9283 * conform/data/langinfo.h-data: Likewise.
9284 * conform/data/libgen.h-data: Likewise.
9285 * conform/data/limits.h-data: Likewise.
9286 * conform/data/locale.h-data: Likewise.
9287 * conform/data/math.h-data: Likewise.
9288 * conform/data/monetary.h-data: Likewise.
9289 * conform/data/mqueue.h-data: Likewise.
9290 * conform/data/ndbm.h-data: Likewise.
9291 * conform/data/net/if.h-data: Likewise.
9292 * conform/data/netdb.h-data: Likewise.
9293 * conform/data/netinet/in.h-data: Likewise.
9294 * conform/data/nl_types.h-data: Likewise.
9295 * conform/data/poll.h-data: Likewise.
9296 * conform/data/pthread.h-data: Likewise.
9297 * conform/data/pwd.h-data: Likewise.
9298 * conform/data/regex.h-data: Likewise.
9299 * conform/data/sched.h-data: Likewise.
9300 * conform/data/search.h-data: Likewise.
9301 * conform/data/semaphore.h-data: Likewise.
9302 * conform/data/setjmp.h-data: Likewise.
9303 * conform/data/signal.h-data: Likewise.
9304 * conform/data/spawn.h-data: Likewise.
9305 * conform/data/stdarg.h-data: Likewise.
9306 * conform/data/stdio.h-data: Likewise.
9307 * conform/data/stdlib.h-data: Likewise.
9308 * conform/data/string.h-data: Likewise.
9309 * conform/data/strings.h-data: Likewise.
9310 * conform/data/stropts.h-data: Likewise.
9311 * conform/data/sys/ipc.h-data: Likewise.
9312 * conform/data/sys/mman.h-data: Likewise.
9313 * conform/data/sys/msg.h-data: Likewise.
9314 * conform/data/sys/resource.h-data: Likewise.
9315 * conform/data/sys/select.h-data: Likewise.
9316 * conform/data/sys/sem.h-data: Likewise.
9317 * conform/data/sys/shm.h-data: Likewise.
9318 * conform/data/sys/socket.h-data: Likewise.
9319 * conform/data/sys/stat.h-data: Likewise.
9320 * conform/data/sys/statvfs.h-data: Likewise.
9321 * conform/data/sys/time.h-data: Likewise.
9322 * conform/data/sys/timeb.h-data: Likewise.
9323 * conform/data/sys/times.h-data: Likewise.
9324 * conform/data/sys/types.h-data: Likewise.
9325 * conform/data/sys/uio.h-data: Likewise.
9326 * conform/data/sys/un.h-data: Likewise.
9327 * conform/data/sys/utsname.h-data: Likewise.
9328 * conform/data/sys/wait.h-data: Likewise.
9329 * conform/data/syslog.h-data: Likewise.
9330 * conform/data/tar.h-data: Likewise.
9331 * conform/data/termios.h-data: Likewise.
9332 * conform/data/utime.h-data: Likewise.
9333 * conform/data/utmpx.h-data: Likewise.
9334 * conform/data/varargs.h-data: Likewise.
9335 * conform/data/wchar.h-data: Likewise.
9336 * conform/data/wctype.h-data: Likewise.
9337 * conform/data/wordexp.h-data: Likewise.
9339 * include/stropts.h: New file.
9340 * include/uchar.h: New file.
9341 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9342 * include/assert.h: Likewise.
9343 * include/ctype.h: Likewise.
9344 * include/dirent.h: Likewise.
9345 * include/dlfcn.h: Likewise.
9346 * include/fcntl.h: Likewise.
9347 * include/fnmatch.h: Likewise.
9348 * include/glob.h: Likewise.
9349 * include/grp.h: Likewise.
9350 * include/libio.h: Likewise.
9351 * include/locale.h: Likewise.
9352 * include/math.h: Likewise.
9353 * include/net/if.h: Likewise.
9354 * include/netdb.h: Likewise.
9355 * include/netinet/in.h: Likewise.
9356 * include/pthread.h: Likewise.
9357 * include/pwd.h: Likewise.
9358 * include/regex.h: Likewise.
9359 * include/sched.h: Likewise.
9360 * include/search.h: Likewise.
9361 * include/setjmp.h: Likewise.
9362 * include/signal.h: Likewise.
9363 * include/stdio.h: Likewise.
9364 * include/stdlib.h: Likewise.
9365 * include/string.h: Likewise.
9366 * include/sys/cdefs.h: Likewise.
9367 * include/sys/mman.h: Likewise.
9368 * include/sys/msg.h: Likewise.
9369 * include/sys/resource.h: Likewise.
9370 * include/sys/select.h: Likewise.
9371 * include/sys/socket.h: Likewise.
9372 * include/sys/stat.h: Likewise.
9373 * include/sys/statvfs.h: Likewise.
9374 * include/sys/time.h: Likewise.
9375 * include/sys/times.h: Likewise.
9376 * include/sys/uio.h: Likewise.
9377 * include/sys/utsname.h: Likewise.
9378 * include/sys/wait.h: Likewise.
9379 * include/termios.h: Likewise.
9380 * include/time.h: Likewise.
9381 * include/ulimit.h: Likewise.
9382 * include/unistd.h: Likewise.
9383 * include/utime.h: Likewise.
9384 * include/wchar.h: Likewise.
9385 * include/wctype.h: Likewise.
9386 * include/wordexp.h: Likewise.
9388 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9390 * time/time.h: TIME_UTC must be a macro.
9391 Make timespec_get available for ISO C11 only as well.
9393 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9395 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9396 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9398 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9400 * configure.in: Use -o not -a in test for unsupported multi-arch.
9402 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9404 * manual/texinfo.tex: Update to version 2012-01-19.16.
9406 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9408 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9410 2012-02-24 Roland McGrath <roland@hack.frob.com>
9413 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9414 * manual/fdl-1.3.texi: New file.
9415 * manual/fdl-1.1.texi: File removed.
9418 * manual/libc.texinfo (FDL_VERSION): New @set.
9419 Use it for mention of FDL in cover text.
9420 (Documentation License): Use it in @include file name.
9422 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9423 Roland McGrath <roland@hack.frob.com>
9426 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9427 not LONG_LONG_MAX and LONG_LONG_MIN.
9428 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9429 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9431 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9433 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9437 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9438 manipulate bits before adding and subtracting TWO23[sx].
9439 * math/libm-test.inc (nearbyint_test): Add more tests.
9441 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9444 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9445 bits before adding and subtracting TWO23[sx].
9446 * math/libm-test.inc (rint_test): Add more tests.
9447 (rint_test_tonearest): Likewise.
9448 (rint_test_towardzero): Likewise.
9449 (rint_test_downward): Likewise.
9450 (rint_test_upward: Likewise.
9452 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9455 * include/stdc-predef.h: New file. Extracted from features.h.
9456 * include/features.h: Include stdc-predef.h.
9457 * Makefile (headers): Add stdc-predef.h.
9458 * CONFORMANCE (Compiler limitations): Update.
9460 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9462 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9464 2012-02-21 David S. Miller <davem@davemloft.net>
9466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9467 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9469 2012-02-20 David S. Miller <davem@davemloft.net>
9471 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9472 using a normal save/restore sequence, rather than allocating a
9473 dummy stack frame just to store a frame pointer and restore.
9474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9476 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9478 * manual/install.texi: Fix stray word in line-wrapped comment.
9480 2012-02-20 David S. Miller <davem@davemloft.net>
9482 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9483 both binutils and gcc support GOTDATA.
9485 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9486 "rd %pc" in the PIC register setup sequences.
9488 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9489 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9490 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9491 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9492 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9493 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9497 (SYSCALL_ERROR_HANDLER): Likewise.
9498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9499 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9501 (SYSCALL_ERROR_HANDLER): Likewise.
9503 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9504 (HAVE_GCC_GOTDATA): New.
9505 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9506 relocation support in both binutils and gcc.
9507 * sysdeps/sparc/elf/configure: Regenerate.
9509 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9510 * sysdeps/sparc/sparc32/elf/configure: Delete.
9511 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9512 * sysdeps/sparc/sparc64/elf/configure: Delete.
9513 * sysdeps/sparc/elf/configure.in: New file.
9514 * sysdeps/sparc/elf/configure: Generate.
9516 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9517 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9518 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9519 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9520 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9522 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9524 * manual/install.texi: Do not mention specific glibc version
9526 * manual/libc.texinfo (VERSION, UPDATED): Update.
9527 (@copying): Use @copyright{} and range of years.
9529 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9532 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9533 [crti.S not in sysdirs] (generated): Do not append.
9534 [crti.S not in sysdirs] (omit-deps): Likewise.
9535 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9536 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9537 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9538 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9539 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9541 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9542 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9543 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9544 * csu/defs.awk: Remove file.
9545 * sysdeps/generic/initfini.c: Likewise.
9546 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9548 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9551 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9553 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9554 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9555 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9556 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9557 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9558 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9560 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9561 (__EPOLL_PACKED): Define to empty if not defined by
9563 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9567 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9569 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9570 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9571 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9572 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9574 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9578 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9580 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9582 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9583 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9587 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9590 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9592 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9594 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9595 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9597 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9599 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9602 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9604 * math/w_acos.c: Use non-signaling floating-point comparisons.
9605 * math/w_acosf.c: Likewise.
9606 * math/w_acosh.c: Likewise.
9607 * math/w_acoshf.c: Likewise.
9608 * math/w_acoshl.c: Likewise.
9609 * math/w_acosl.c: Likewise.
9610 * math/w_asin.c: Likewise.
9611 * math/w_asinf.c: Likewise.
9612 * math/w_asinl.c: Likewise.
9613 * math/w_atanh.c: Likewise.
9614 * math/w_atanhf.c: Likewise.
9615 * math/w_atanhl.c: Likewise.
9616 * math/w_exp2.c: Likewise.
9617 * math/w_exp2f.c: Likewise.
9618 * math/w_exp2l.c: Likewise.
9619 * math/w_j0.c: Likewise.
9620 * math/w_j0f.c: Likewise.
9621 * math/w_j0l.c: Likewise.
9622 * math/w_j1.c: Likewise.
9623 * math/w_j1f.c: Likewise.
9624 * math/w_j1l.c: Likewise.
9625 * math/w_jn.c: Likewise.
9626 * math/w_jnf.c: Likewise.
9627 * math/w_log.c: Likewise.
9628 * math/w_log10.c: Likewise.
9629 * math/w_log10f.c: Likewise.
9630 * math/w_log10l.c: Likewise.
9631 * math/w_log2.c: Likewise.
9632 * math/w_log2f.c: Likewise.
9633 * math/w_log2l.c: Likewise.
9634 * math/w_logf.c: Likewise.
9635 * math/w_logl.c: Likewise.
9636 * math/w_sqrt.c: Likewise.
9637 * math/w_sqrtf.c: Likewise.
9638 * math/w_sqrtl.c: Likewise.
9639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9640 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9641 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9642 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9643 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9645 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9648 * manual/string.texi (strnlen): Use correct parameter name in
9649 equivalent expression.
9651 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9654 * manual/users.texi (seteuid): Consistently use neweuid for
9657 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9660 * manual/nss.texi (Services in the NSS configuration): Correct
9661 list of services in example configuration file.
9663 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9666 * manual/arith.texi: Remove statements about negative zero
9667 behaving identically to zero.
9669 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9672 * manual/install.texi: Do not document upgrading from libc5.
9674 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9677 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9679 2012-02-18 David S. Miller <davem@davemloft.net>
9681 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9682 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9683 %o7 across the call.
9684 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9689 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9690 * sysdeps/sparc/crtn.S: Likewise.
9692 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9694 * aout/Makefile: Remove.
9696 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9699 * manual/examples/argp-ex1.c (main): Format definition in GNU
9701 * manual/examples/argp-ex2.c (main): Likewise.
9702 * manual/examples/argp-ex3.c (main): Likewise.
9703 * manual/examples/argp-ex4.c (main): Likewise.
9704 * manual/examples/longopt.c (main): Use new-style prototype
9706 * manual/examples/strncat.c (main): Specify return type and use
9707 (void) for arguments.
9708 * manual/examples/subopt.c (main): Use char **argv argument.
9710 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9713 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9716 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9719 * manual/string.texi (strchr): Change when strchrnul is
9722 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9725 * manual/locale.texi (setlocale): Document LOCPATH.
9727 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9730 * manual/process.texi (execle): Move @dots{} before last argument.
9732 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9735 * manual/charset.texi (Generic Charset Conversion): Fix typo
9736 (LC_TYPE -> LC_CTYPE).
9738 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9741 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9742 (scalbnf): Likewise.
9743 (scalbnl): Likewise.
9744 (scalbln): Likewise.
9745 (scalblnf): Likewise.
9746 (scalblnl): Likewise.
9747 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9751 * manual/filesys.texi (telldir): Use braces around return type.
9752 * manual/llio.texi (mmap): Add space after comma.
9754 * manual/math.texi (jn): Use @var{} on parameter names.
9760 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9762 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9764 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9765 (sched_get_priority_max): Likewise.
9766 * manual/signal.texi (sigvec): Add space after comma.
9767 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9769 (if_indextoname): Likewise.
9770 (if_freenameindex): Likewise.
9771 (sendto): Use ',' instead of '.' in prototype.
9772 * manual/startup.texi (syscall): Use @dots{} instead of literal
9774 * manual/stdio.texi (__fpending): Separate initial words of
9775 paragraph from @deftypefun line.
9776 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9778 (vsyslog): Use @var{} on parameter names.
9779 * manual/terminal.texi (stty): Use @var{} on parameter names.
9780 * manual/users.texi (getutmp): Use @var{} on parameter names.
9781 (getutmpx): Likewise.
9783 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9786 * manual/stdio.texi (fopen): Fix typos in description of
9789 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9792 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9793 get clock_id definition.
9795 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9798 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9799 (madvise): Cast every argument to void on its own.
9801 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9804 * manual/startup.texi (Exit Status): Fix typo.
9806 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9809 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9810 * manual/examples/argp-ex2.c: Likewise.
9811 * manual/examples/argp-ex3.c: Likewise.
9813 2012-02-16 Richard Henderson <rth@redhat.com>
9815 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9816 * sysdeps/s390/s390-32/initfini.c: Remove.
9817 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9818 * sysdeps/s390/s390-64/initfini.c: Remove.
9820 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9822 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9823 compiler output for sysdeps/generic/initfini.c.
9824 * sysdeps/sh/elf/initfini.c: Remove file.
9826 2012-02-16 David S. Miller <davem@davemloft.net>
9829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9831 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9832 * sysdeps/sparc/crti.S: New file.
9833 * sysdeps/sparc/crtn.S: New file.
9834 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9835 * sysdeps/sparc/sparc64/Makefile: Likewise.
9837 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9840 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9842 2012-02-15 Roland McGrath <roland@hack.frob.com>
9845 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9847 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9848 (write, read, close): Likewise.
9849 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9851 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9853 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9854 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9855 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9856 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9858 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9862 2012-02-14 Marek Polacek <polacek@redhat.com>
9864 * sysdeps/x86_64/crti.S: New file.
9865 * sysdeps/x86_64/crtn.S: New file.
9866 * sysdeps/x86_64/elf/initfini.c: Remove file.
9868 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9870 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9871 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9872 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9873 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9875 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9879 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9881 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9882 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9883 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9884 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9886 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9890 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9892 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9893 __feraiseexcept instead of feraiseexcept.
9895 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9896 nanosleep invocations.
9897 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9898 strings, and add error checking for a nanosleep invocations.
9900 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9902 Replace FSF snail mail address with URLs, as per GNU coding standards.
9903 Most of the snail mail addresses were wrong anyway, and omitting
9904 them makes the source code easier to maintain. Almost all of the
9905 changes are to license notices and to locale LC_IDENTIFICATION
9906 addresses, except for this one:
9907 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9908 not its snail mail address.
9910 2012-02-09 Richard Henderson <rth@twiddle.net>
9912 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9913 of kernel-features.h.
9915 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9917 2012-02-08 Marek Polacek <polacek@redhat.com>
9919 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9920 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9921 * sysdeps/gnu/_G_config.h: Likewise.
9922 * sysdeps/generic/_G_config.h: Likewise.
9924 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9926 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9930 * sysdeps/powerpc/powerpc32/crti.S: New file.
9931 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9932 * sysdeps/powerpc/powerpc64/crti.S: New file.
9933 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9935 * Makeconfig (have-initfini): Don't set.
9936 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9937 * configure.in (nopic_initfini): Don't substitute.
9938 * config.h.in (HAVE_INITFINI): Don't #undef.
9939 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9940 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9942 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9944 Support crti.S and crtn.S provided directly by architectures.
9945 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9946 [crti.S in sysdirs] (omit-deps): Likewise.
9947 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9948 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9949 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9950 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9951 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9952 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9953 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9954 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9955 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9956 compiler output for sysdeps/generic/initfini.c.
9957 * sysdeps/i386/elf/Makefile: Remove file.
9958 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9960 2012-02-07 Marek Polacek <polacek@redhat.com>
9962 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9963 * sysdeps/gnu/_G_config.h: Likewise.
9964 * sysdeps/mach/hurd/_G_config.h: Likewise.
9966 2012-02-07 Marek Polacek <polacek@redhat.com>
9968 * math/Makefile (tests): Add tst-CMPLX2.
9969 * math/tst-CMPLX2.c: New file.
9971 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9973 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9975 * math/libm-test.inc (jn_test): Add missing L suffix.
9977 2012-02-06 Marek Polacek <polacek@redhat.com>
9979 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9980 * sysdeps/i386/fpu/e_powf.S: Likewise.
9981 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9982 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9983 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9984 * sysdeps/i386/fpu/e_pow.S: Likewise.
9985 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9986 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9987 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9988 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9989 * sysdeps/i386/fpu/e_log2.S: Likewise.
9990 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9991 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9992 * sysdeps/i386/fpu/e_powl.S: Likewise.
9993 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9994 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9995 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9996 * sysdeps/i386/fpu/e_logl.S: Likewise.
9997 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9998 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9999 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10000 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10001 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10002 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10003 * sysdeps/i386/fpu/e_log.S: Likewise.
10004 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10005 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10006 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10007 * sysdeps/i386/fpu/e_logf.S: Likewise.
10008 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10009 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10010 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10011 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10012 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10013 * sysdeps/i386/fpu/e_log10.S: Likewise.
10014 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10015 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10016 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10017 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10018 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10019 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10020 * sysdeps/i386/asm-syntax.h: Likewise.
10021 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10022 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10023 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10024 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10025 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10026 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10027 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10028 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10029 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10030 * sysdeps/powerpc/sysdep.h: Likewise.
10031 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10032 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10034 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10037 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10039 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10041 * sysdeps/i386/sysdep.h: Include <features.h>.
10042 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10045 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10047 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10049 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10052 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10054 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10055 (SETUP_PIC_REG): Use GET_PC_THUNK.
10056 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10059 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10061 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10062 for non-PIC compilation.
10063 (SETUP_PIC_REG): Add .p2align directive.
10064 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10065 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10066 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10067 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10069 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10070 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10072 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10073 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10074 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10075 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10076 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10077 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10078 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10081 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10082 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10083 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10084 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10085 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10086 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10087 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10088 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10090 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10092 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10093 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10094 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10096 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10097 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10098 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10099 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10100 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10101 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10102 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10103 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10104 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10106 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10108 * math/tst-CMPLX.c: Include <stdio.h>.
10110 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10112 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10114 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10115 * sysdeps/sparc/bits/mathdef.h: Likewise.
10117 2012-01-31 Marek Polacek <polacek@redhat.com>
10119 * libio/libio.h: Don't define _PARAMS.
10120 * locale/programs/config.h: Don't define PARAMS.
10121 * stdlib/strtol_l.c: Likewise.
10122 (__strtol_l): Remove PARAMS from the prototype.
10124 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10126 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10127 names. Just use the correct names. Remove unnecessary wrapper
10129 * malloc/arena.c: Likewise.
10130 * malloc/hooks.c: Likewise.
10132 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10133 ARENA_TEST says not to. Simplify test for creation of a new arena.
10134 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10136 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10138 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10140 (update_get_addr): New function.
10141 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10142 GET_ADDR_MODULE parameter.
10144 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10146 * crypt/cert.c: Remove __STDC__ conditionals.
10147 * crypt/crypt-entry.c: Likewise.
10148 * crypt/crypt_util.c: Likewise.
10149 * libio/filedoalloc.c: Likewise.
10150 * libio/fileops.c: Likewise.
10151 * libio/genops.c: Likewise.
10152 * libio/iofclose.c: Likewise.
10153 * libio/iofdopen.c: Likewise.
10154 * libio/iofopen.c: Likewise.
10155 * libio/iofopen64.c: Likewise.
10156 * libio/iogetdelim.c: Likewise.
10157 * libio/iopopen.c: Likewise.
10158 * libio/obprintf.c: Likewise.
10159 * libio/oldfileops.c: Likewise.
10160 * libio/oldiofclose.c: Likewise.
10161 * libio/oldiofdopen.c: Likewise.
10162 * libio/oldiofopen.c: Likewise.
10163 * libio/oldiopopen.c: Likewise.
10164 * libio/wfiledoalloc.c: Likewise.
10165 * libio/wgenops.c: Likewise.
10166 * locale/programs/xmalloc.c: Likewise.
10167 * misc/syslog.c: Likewise.
10168 * stdio-common/xbug.c: Likewise.
10169 * string/memchr.c: Likewise.
10170 * string/memcmp.c: Likewise.
10171 * string/memrchr.c: Likewise.
10172 * string/rawmemchr.c: Likewise.
10173 * sysdeps/posix/getcwd.c: Likewise.
10174 * time/strftime_l.c: Likewise.
10176 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10178 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10179 * config.make.in (config-cflags-sse2avx): Define.
10180 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10183 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10185 * scripts/config.guess: Update from upstream config git repository.
10186 * scripts/config.sub: Likewise.
10188 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10190 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10192 (R_TILEPRO_*, R_TILEGX_*): New macros.
10194 * scripts/firstversions.awk: Fix bug in version range handling.
10196 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10198 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10200 * include/sys/epoll.h: New file.
10201 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10204 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10206 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10207 Avoid unnecessary __WORDSIZE == 64 test.
10208 (fmaxf): Use VEX format if possible.
10213 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10214 * math/math_private.h: Remove libc_fegetround* and
10216 * sysdeps/i386/configure.in: Check for -msse2avx.
10217 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10218 also if SSE2AVX is defined.
10219 Remove libc_fegetround* and libc_fesetround*.
10220 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10221 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10224 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10225 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10226 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10227 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10228 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10230 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10232 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10236 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10238 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10241 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10243 * Makeconfig (libm): Define.
10244 * elf/Makefile: Add rules to build and run tst-relsort1.
10245 * elf/tst-relsort1.c: New file.
10246 * elf/tst-relsort1mod1.c: New file.
10247 * elf/tst-relsort1mod2.c: New file.
10249 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10251 * math/s_ldexp.c: Remove __STDC__ conditionals.
10252 * math/s_ldexpf.c: Likewise.
10253 * math/s_ldexpl.c: Likewise.
10254 * math/s_nextafter.c: Likewise.
10255 * math/s_nexttowardf.c: Likewise.
10256 * math/s_significand.c: Likewise.
10257 * math/s_significandf.c: Likewise.
10258 * math/s_significandl.c: Likewise.
10259 * math/w_jnl.c: Likewise.
10260 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10261 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10262 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10263 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10264 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10266 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10267 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10268 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10269 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10270 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10271 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10274 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10275 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10277 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10279 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10280 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10281 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10282 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10283 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10284 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10285 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10286 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10287 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10288 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10289 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10290 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10291 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10292 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10293 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10294 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10295 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10296 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10297 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10298 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10299 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10300 * sysdeps/ieee754/k_standard.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10333 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10337 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10340 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10350 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10351 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10356 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10362 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10363 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10365 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10366 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10367 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10368 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10369 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10370 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10371 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10373 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10374 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10375 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10376 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10378 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10380 * sysdeps/ieee754/s_matherr.c: Likewise.
10381 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10382 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10386 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10388 * crypt/md5.h: Remove __STDC__ conditionals.
10389 * libio/libioP.h: Likewise.
10390 * locale/programs/config.h: Likewise.
10391 * sysdeps/generic/sysdep.h: Likewise.
10392 * sysdeps/i386/asm-syntax.h: Likewise.
10393 * sysdeps/s390/asm-syntax.h: Likewise.
10394 * sysdeps/unix/sysdep.h: Likewise.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10398 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10400 * libio/libio.h: Remove __STDC__ conditionals.
10401 * malloc/obstack.h: Likewise.
10402 * math/complex.h: Likewise.
10403 * math/math.h: Likewise.
10404 * sysdeps/generic/_G_config.h: Likewise.
10405 * sysdeps/gnu/_G_config.h: Likewise.
10406 * sysdeps/mach/hurd/_G_config.h: Likewise.
10407 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10408 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10409 * sysdeps/sparc/bits/mathdef.h: Likewise.
10411 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10414 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10415 Clean up HAS_* macros.
10416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10417 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10419 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10427 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10429 * elf/tst-unique3.cc (gets): Remove declaration.
10430 * elf/tst-unique3lib.cc (gets): Likewise.
10431 * elf/tst-unique3lib2.cc (gets): Likewise.
10432 * elf/tst-unique4.cc (gets): Likewise.
10434 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10436 * include/stdio.h: Add C++ protection. Add gets declarations and
10438 * debug/tst-chk1.c: Don't declare gets here.
10439 * stdio-common/tst-gets.c: Likewise.
10441 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10443 * posix/glob: Remove directory.
10445 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10447 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10449 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10451 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10452 of the non-standard EPFNOSUPPORT.
10454 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10456 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10457 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10458 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10460 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10462 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10464 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10466 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10468 * nscd/grpcache.c (cache_addgr): Likewise.
10469 * nscd/hstcache.c (cache_addhst): Likewise.
10470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10471 * nscd/pwdcache.c (cache_addpw): Likewise.
10472 * nscd/servicescache.c (cache_addserv): Likewise.
10474 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10476 * malloc/malloc.c: Various cleanups.
10477 * malloc/hooks.c: Likewise.
10479 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10480 * stdlib/bug-fmtmsg1.c: New file.
10482 * stdlib/fmtmsg.c (init): Add missing unlock.
10483 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10485 2012-01-12 Marek Polacek <polacek@redhat.com>
10487 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10490 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10492 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10493 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10494 macro to ensure uniqueness of label name.
10495 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10496 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10498 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10500 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10502 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10503 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10504 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10507 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10509 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10511 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10512 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10515 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10517 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10518 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10522 * math/bits/math-finite.h: Add ldexp support.
10524 2012-01-10 Marek Polacek <polacek@redhat.com>
10526 * locale/programs/localedef.h (show_archive_content): Add noreturn
10529 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10531 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10533 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10535 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10537 * io/Makefile (headers): Add bits/poll2.h.
10539 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10542 typo #include statement.
10544 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10546 * include/sys/cdefs.h: Define __attribute_alloc_size.
10547 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10548 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10549 * elf/pldd.c: Likewise.
10550 * iconv/iconv_charmap.c: Likewise.
10551 * iconv/iconvconfig.c: Likewise.
10552 * iconv/strtab.c: Likewise.
10553 * locale/programs/locale.c: Likewise.
10554 * locale/programs/localedef.h: Likewise.
10555 * locale/programs/simple-hash.c: Likewise.
10556 * nscd/nscd.h: Likewise.
10557 * nss/makedb.c: Likewise.
10558 * sysdeps/generic/ldconfig.h: Likewise.
10559 * locale/programs/localedef.c: Remove xmalloc prototype.
10560 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10562 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10567 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10569 * math/Makefile (tests): Add tst-CMPLX.
10570 * math/tst-CMPLX.c: New file.
10572 * math/complex.h (CMPLXL): Fix typo.
10574 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10575 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10577 * debug/tst-chk1.c: Add poll and ppoll tests.
10578 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10579 * include/sys/poll.h: Add hidden proto for ppoll.
10580 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10581 * sysdeps/mach/hurd/ppoll.c: Likewise.
10582 * io/ppoll.c: Likewise.
10583 * debug/poll_chk.c: New file.
10584 * debug/ppoll_chk.c: New file.
10585 * include/bits/poll2.h: New file.
10586 * io/bits/poll2.h: New file.
10589 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10591 * configure.in: static is always set to yes. Remove.
10592 * config.make.in: Don't set build-static.
10593 * Makeconfig: Remove use of build-static.
10594 * dlfcn/Makefile: Likewise.
10595 * elf/Makefile: Likewise.
10596 * math/Makefile: Likewise.
10597 * misc/Makefile: Likewise.
10598 * nptl/Makefile: Likewise.
10599 * sysdeps/mach/hurd/Makefile: Likewise.
10601 * configure.in: PWD_P is not used anymore.
10602 * config.make.in: Remove PWD_P entry.
10604 * configure.in: Remove last remnants of RANLIB.
10605 No need to check for signed size_t anymore.
10606 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10608 Remove __builtin_expect test because we require at least gcc 3.4.
10609 * aclocal.m4: Likewise.
10611 * wcsmbs/mbrtoc16.c: Implement using towc function.
10612 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10613 * wcsmbs/wcsmbsload.c: Likewise.
10614 * iconv/gconv_simple.c: Likewise.
10615 * iconv/gconv_int.h: Likewise.
10616 * iconv/gconv_builtin.h: Likewise.
10617 * iconv/iconv_prog.c: Remove CHAR16 handling.
10619 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10621 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10623 * configure.in: Remove --with-elf and --enable-bounded options.
10624 Dont set base_machine for ia64. More non-ELF conditions removed.
10625 Remove testing and setting of leading underscore information.
10626 * config.make.in (build-bounded): Set to no.
10627 * config.h.in: Remove NO_UNDERSCORES entry.
10628 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10630 * csu/start.c: Remove !NO_UNDERSCORE code.
10631 * locale/localeinfo.h: Likewise.
10632 * sysdeps/generic/machine-gmon.h: Likewise.
10633 * sysdeps/generic/sysdep.h: Likewise.
10634 * sysdeps/i386/sysdep.h: Likewise.
10635 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10636 * sysdeps/mach/sysdep.h: Likewise.
10637 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10639 * sysdeps/sh/sysdep.h: Likewise.
10640 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10641 * sysdeps/unix/i386/sysdep.S: Likewise.
10642 * sysdeps/unix/sparc/start.c: Likewise.
10643 * sysdeps/unix/sparc/sysdep.S: Likewise.
10644 * sysdeps/unix/sparc/sysdep.h: Likewise.
10645 * sysdeps/unix/start.c: Likewise.
10646 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10647 * sysdeps/x86_64/sysdep.h: Likewise.
10649 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10652 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10654 * argp/argp-fmtstream.h: Use const instead __const.
10655 * argp/argp.h: Likewise.
10656 * assert/assert.h: Likewise.
10657 * bits/fenv.h: Likewise.
10658 * bits/sched.h: Likewise.
10659 * bits/sigset.h: Likewise.
10660 * bits/sigthread.h: Likewise.
10661 * catgets/nl_types.h: Likewise.
10662 * conform/data/pthread.h-data: Likewise.
10663 * crypt/crypt-private.h: Likewise.
10664 * crypt/crypt.h: Likewise.
10665 * crypt/crypt_util.c: Likewise.
10666 * ctype/ctype.h: Likewise.
10667 * debug/execinfo.h: Likewise.
10668 * debug/mbsnrtowcs_chk.c: Likewise.
10669 * debug/mbsrtowcs_chk.c: Likewise.
10670 * debug/wcsnrtombs_chk.c: Likewise.
10671 * debug/wcsrtombs_chk.c: Likewise.
10672 * debug/wcstombs_chk.c: Likewise.
10673 * dirent/dirent.h: Likewise.
10674 * dlfcn/dlfcn.h: Likewise.
10675 * elf/neededtest4.c: Likewise.
10676 * grp/grp.h: Likewise.
10677 * gshadow/gshadow.h: Likewise.
10678 * iconv/gconv.h: Likewise.
10679 * iconv/gconv_int.h: Likewise.
10680 * iconv/gconv_simple.c: Likewise.
10681 * iconv/iconv.h: Likewise.
10682 * iconv/loop.c: Likewise.
10683 * iconv/skeleton.c: Likewise.
10684 * include/aio.h: Likewise.
10685 * include/aliases.h: Likewise.
10686 * include/argz.h: Likewise.
10687 * include/arpa/inet.h: Likewise.
10688 * include/assert.h: Likewise.
10689 * include/dirent.h: Likewise.
10690 * include/dlfcn.h: Likewise.
10691 * include/execinfo.h: Likewise.
10692 * include/fcntl.h: Likewise.
10693 * include/fenv.h: Likewise.
10694 * include/glob.h: Likewise.
10695 * include/grp.h: Likewise.
10696 * include/libintl.h: Likewise.
10697 * include/mntent.h: Likewise.
10698 * include/netdb.h: Likewise.
10699 * include/pwd.h: Likewise.
10700 * include/rpc/netdb.h: Likewise.
10701 * include/sched.h: Likewise.
10702 * include/search.h: Likewise.
10703 * include/shadow.h: Likewise.
10704 * include/signal.h: Likewise.
10705 * include/stdio.h: Likewise.
10706 * include/stdlib.h: Likewise.
10707 * include/string.h: Likewise.
10708 * include/sys/socket.h: Likewise.
10709 * include/sys/stat.h: Likewise.
10710 * include/sys/statfs.h: Likewise.
10711 * include/sys/statvfs.h: Likewise.
10712 * include/sys/syslog.h: Likewise.
10713 * include/sys/time.h: Likewise.
10714 * include/sys/uio.h: Likewise.
10715 * include/time.h: Likewise.
10716 * include/unistd.h: Likewise.
10717 * include/utmp.h: Likewise.
10718 * include/wchar.h: Likewise.
10719 * include/wctype.h: Likewise.
10720 * inet/aliases.h: Likewise.
10721 * inet/arpa/inet.h: Likewise.
10722 * inet/netinet/ether.h: Likewise.
10723 * inet/netinet/in.h: Likewise.
10724 * intl/libintl.h: Likewise.
10725 * io/bits/fcntl2.h: Likewise.
10726 * io/fcntl.h: Likewise.
10727 * io/ftw.h: Likewise.
10728 * io/sys/poll.h: Likewise.
10729 * io/sys/stat.h: Likewise.
10730 * io/sys/statfs.h: Likewise.
10731 * io/sys/statvfs.h: Likewise.
10732 * io/utime.h: Likewise.
10733 * libio/bits/stdio.h: Likewise.
10734 * libio/bits/stdio2.h: Likewise.
10735 * libio/libio.h: Likewise.
10736 * libio/libioP.h: Likewise.
10737 * libio/stdio.h: Likewise.
10738 * locale/lc-ctype.c: Likewise.
10739 * locale/locale.h: Likewise.
10740 * login/utmp.h: Likewise.
10741 * malloc/arena.c: Likewise.
10742 * malloc/malloc.c: Likewise.
10743 * malloc/malloc.h: Likewise.
10744 * malloc/mcheck.c: Likewise.
10745 * malloc/mtrace.c: Likewise.
10746 * math/bits/mathcalls.h: Likewise.
10747 * math/fenv.h: Likewise.
10748 * math/math_private.h: Likewise.
10749 * misc/bits/error.h: Likewise.
10750 * misc/bits/syslog.h: Likewise.
10751 * misc/err.h: Likewise.
10752 * misc/error.h: Likewise.
10753 * misc/fstab.h: Likewise.
10754 * misc/mntent.h: Likewise.
10755 * misc/regexp.h: Likewise.
10756 * misc/search.h: Likewise.
10757 * misc/sgtty.h: Likewise.
10758 * misc/sys/mman.h: Likewise.
10759 * misc/sys/syslog.h: Likewise.
10760 * misc/sys/uio.h: Likewise.
10761 * misc/sys/xattr.h: Likewise.
10762 * misc/ttyent.h: Likewise.
10763 * nis/rpcsvc/ypclnt.h: Likewise.
10764 * nss/nss.h: Likewise.
10765 * posix/bits/unistd.h: Likewise.
10766 * posix/fnmatch.h: Likewise.
10767 * posix/glob.h: Likewise.
10768 * posix/sched.h: Likewise.
10769 * posix/spawn.h: Likewise.
10770 * posix/sys/wait.h: Likewise.
10771 * posix/unistd.h: Likewise.
10772 * posix/wordexp.h: Likewise.
10773 * pwd/pwd.h: Likewise.
10774 * resolv/netdb.h: Likewise.
10775 * resource/sys/resource.h: Likewise.
10776 * rt/aio.h: Likewise.
10777 * rt/bits/mqueue2.h: Likewise.
10778 * rt/mqueue.h: Likewise.
10779 * shadow/shadow.h: Likewise.
10780 * signal/signal.h: Likewise.
10781 * socket/send.c: Likewise.
10782 * socket/sendto.c: Likewise.
10783 * socket/sys/socket.h: Likewise.
10784 * stdio-common/printf.h: Likewise.
10785 * stdlib/bits/stdlib.h: Likewise.
10786 * stdlib/fmtmsg.h: Likewise.
10787 * stdlib/monetary.h: Likewise.
10788 * stdlib/stdlib.h: Likewise.
10789 * stdlib/ucontext.h: Likewise.
10790 * streams/stropts.h: Likewise.
10791 * string/argz.h: Likewise.
10792 * string/bits/string2.h: Likewise.
10793 * string/string.h: Likewise.
10794 * string/strings.h: Likewise.
10795 * sunrpc/rpc/auth.h: Likewise.
10796 * sunrpc/rpc/auth_des.h: Likewise.
10797 * sunrpc/rpc/clnt.h: Likewise.
10798 * sunrpc/rpc/netdb.h: Likewise.
10799 * sunrpc/rpc/pmap_clnt.h: Likewise.
10800 * sunrpc/rpc/xdr.h: Likewise.
10801 * sysdeps/generic/inttypes.h: Likewise.
10802 * sysdeps/generic/net/if.h: Likewise.
10803 * sysdeps/generic/sys/swap.h: Likewise.
10804 * sysdeps/gnu/net/if.h: Likewise.
10805 * sysdeps/gnu/utmpx.h: Likewise.
10806 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10807 * sysdeps/i386/i486/bits/string.h: Likewise.
10808 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10809 * sysdeps/s390/bits/string.h: Likewise.
10810 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10811 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10812 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10813 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10814 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10815 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10816 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10817 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10818 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10819 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10820 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10821 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10822 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10823 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10824 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10825 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10826 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10828 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10829 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10830 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10831 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10832 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10833 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10834 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10835 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10836 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10837 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10838 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10839 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10840 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10841 * sysvipc/sys/ipc.h: Likewise.
10842 * sysvipc/sys/msg.h: Likewise.
10843 * sysvipc/sys/sem.h: Likewise.
10844 * sysvipc/sys/shm.h: Likewise.
10845 * termios/termios.h: Likewise.
10846 * time/sys/time.h: Likewise.
10847 * time/time.h: Likewise.
10848 * wcsmbs/bits/wchar2.h: Likewise.
10849 * wcsmbs/uchar.h: Likewise.
10850 * wcsmbs/wchar.h: Likewise.
10851 * wctype/wctype.h: Likewise.
10854 * Makeconfig: Remove all but ELF support including AIX support.
10855 * Makerules: Likewise.
10856 * config.h.in: Likewise.
10857 * config.make.in: Likewise.
10858 * configure: Likewise.
10859 * configure.in: Likewise.
10860 * csu/Makefile: Likewise.
10861 * csu/version.c: Likewise.
10862 * debug/Makefile: Likewise.
10863 * dlfcn/Makefile: Likewise.
10864 * elf/Makefile: Likewise.
10865 * extra-lib.mk: Likewise.
10866 * iconv/Makefile: Likewise.
10867 * include/libc-symbols.h: Likewise.
10868 * include/shlib-compat.h: Likewise.
10869 * resolv/Makefile: Likewise.
10870 * resolv/res_libc.c: Likewise.
10871 * rt/Makefile: Likewise.
10872 * sysdeps/i386/asm-syntax.h: Likewise.
10873 * sysdeps/i386/sysdep.h: Likewise.
10874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10875 * sysdeps/mach/sysdep.h: Likewise.
10876 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10877 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10878 * sysdeps/s390/asm-syntax.h: Likewise.
10879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10881 * sysdeps/sh/sysdep.h: Likewise.
10882 * sysdeps/unix/sparc/sysdep.h: Likewise.
10883 * sysdeps/wordsize-32/divdi3.c: Likewise.
10884 * sysdeps/x86_64/sysdep.h: Likewise.
10886 * argp/Versions: Remove _argp_unlock_xxx.
10889 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10890 * abilist/libBrokenLocale.abilist: Likewise.
10891 * abilist/libanl.abilist: Likewise.
10892 * abilist/libc.abilist: Likewise.
10893 * abilist/libcrypt.abilist: Likewise.
10894 * abilist/libdl.abilist: Likewise.
10895 * abilist/libm.abilist: Likewise.
10896 * abilist/libnsl.abilist: Likewise.
10897 * abilist/libpthread.abilist: Likewise.
10898 * abilist/libresolv.abilist: Likewise.
10899 * abilist/librt.abilist: Likewise.
10900 * abilist/libthread_db.abilist: Likewise.
10901 * abilist/libutil.abilist: Likewise.
10902 * abilist/libnss_db.abilist: New file.
10904 * scripts/abilist.awk: Add support for indirect functions.
10906 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10908 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10910 * shlib-versions: Remove entries for ports architectures.
10912 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10914 * elf/stackguard-macros.h: Remove support for IA-64.
10915 * elf/tst-auditmod1.c: Likewise.
10916 * sysdeps/generic/ldsodefs.h: Likewise.
10918 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10919 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10923 * configure.in: Remove --enable-omitfp support.
10925 * config.make.in: Likewise.
10926 * Makeconfig: Likewise.
10927 * manual/install.texi: Likewise.
10929 In case anyone cares, the IA-64 architecture could move to ports.
10930 * sysdeps/ia64/*: Removed.
10931 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10932 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10935 * configure.in: Remove entries for unsupported architectures.
10938 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10939 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10941 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10942 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10943 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10944 fall back to using wcrtomb.
10945 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10946 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10948 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10949 * wcsmbs/tst-c16c32-1.c: New file.
10951 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10954 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10956 * elf/tst-unique3.cc: Add explicit declaration of gets.
10957 * elf/tst-unique3lib.cc: Likewise.
10958 * elf/tst-unique3lib2.cc: Likewise.
10959 * elf/tst-unique4.cc: Likewise.
10961 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10963 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10966 * assert/assert.h (static_assert): Don't define for C++.
10967 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10968 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10970 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10972 * iconv/loop.c (single loop): Fix assertion in storing of
10975 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10977 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10979 * posix/getconf.c: Update copyright year.
10980 * nss/getent.c: Likewise.
10981 * nss/makedb.c: Likewise.
10982 * iconv/iconvconfig.c: Likewise.
10983 * iconv/iconv_prog.c: Likewise.
10984 * elf/ldconfig.c: Likewise.
10985 * elf/pldd.c: Likewise.
10986 * elf/sotruss.ksh: Likewise.
10987 * catgets/gencat.c: Likewise.
10988 * csu/version.c: Likewise.
10989 * elf/ldd.bash.in: Likewise.
10990 * elf/sprof.c (print_version): Likewise.
10991 * locale/programs/locale.c: Likewise.
10992 * locale/programs/localedef.c: Likewise.
10993 * login/programs/pt_chown.c: Likewise.
10994 * nscd/nscd.c (print_version): Likewise.
10995 * debug/xtrace.sh: Likewise.
10996 * malloc/memusage.sh: Likewise.
10997 * malloc/mtrace.pl: Likewise.
10998 * debug/catchsegv.sh: Likewise.
11000 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11002 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11005 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11008 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11009 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11011 * iconv/gconv_int.h: Likewise.
11012 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11013 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11014 from libc for GLIBC_2.16.
11015 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11016 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11017 * wcsmbs/uchar.h: Really define mbstate_t.
11018 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11019 * wcsmbs/c16rtomb.c: New file.
11020 * wcsmbs/mbrtoc16.c: New file.
11021 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11022 for C/POSIX locale.
11023 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11024 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11026 * wcsmbs/wchar.h: Add missing __restrict.
11028 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11031 * time/Makefile (routines): Add timespec_get.
11032 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11033 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11034 timespec for ISO C11.
11035 * time/timespec_get.c: New file.
11036 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11037 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11040 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11041 * stdlib/stdlib.h: Declare aligned_alloc.
11042 * Versions.def: Add GLIBC_2.16 for libc.
11043 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11046 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11049 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11053 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11056 * assert/assert.h (static_assert): Define.
11058 * version.h: Update for 2.16 development version.
11061 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11064 * version.h (RELEASE): Bump for 2.15 release.
11065 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11067 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11068 Patch by Marek Polacek <mpolacek@redhat.com>.
11070 * bits/byteswap.h: Protect long long constants with __extension__.
11071 * sysdeps/i386/bits/byteswap.h: Likewise.
11072 * sysdeps/ia64/bits/byteswap.h: Likewise.
11073 * sysdeps/s390/bits/byteswap.h: Likewise.
11074 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11076 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11079 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11080 destination buffer.
11081 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11083 2011-12-23 Marek Polacek <polacek@redhat.com>
11085 * elf/dl-addr.c (determine_info): Add inline keyword.
11086 * elf/tst-auditmod4b.c (check_avx): Likewise.
11087 * elf/tst-auditmod6b.c (check_avx): Likewise.
11088 * elf/tst-auditmod6c.c (check_avx): Likewise.
11089 * elf/tst-auditmod7b.c (check_avx): Likewise.
11091 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11093 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11096 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11099 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11100 processing for last bytes.
11102 2011-08-06 Bruno Haible <bruno@clisp.org>
11105 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11106 U+0385, not to U+1FEE.
11109 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11110 entry for U+00A5 U+0301.
11112 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11115 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11116 buffer for the output is too small.
11118 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11122 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11123 SSE flags if possible.
11125 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11128 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11129 processing for last bytes.
11131 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11133 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11134 (syscall-list-default-options, syscall-list-default-condition)
11135 (syscall-list-includes): Define.
11136 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11137 list of ABIs and options and #if conditions for each ABI. Do not
11138 handle common syscalls between ABIs specially.
11139 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11141 (syscall-list-variants, syscall-list-32bit-options)
11142 (syscall-list-32bit-condition, syscall-list-64bit-options)
11143 (syscall-list-64bit-condition): Define.
11144 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11145 (syscall-list-variants, syscall-list-32bit-options)
11146 (syscall-list-32bit-condition, syscall-list-64bit-options)
11147 (syscall-list-64bit-condition): Define.
11148 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11150 (syscall-list-variants, syscall-list-32bit-options)
11151 (syscall-list-32bit-condition, syscall-list-64bit-options)
11152 (syscall-list-64bit-condition): Define.
11153 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11155 (syscall-list-variants, syscall-list-32bit-options)
11156 (syscall-list-32bit-condition, syscall-list-64bit-options)
11157 (syscall-list-64bit-condition): Define.
11159 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11161 * locale/iso-639.def: Add brx entry.
11164 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11165 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11167 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11168 __feraiseexcept_renamed.
11170 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11173 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11174 EPOLLET with unsigned values.
11175 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11176 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11178 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11179 to large cancellation.
11180 * math/s_cacoshf.c: Likewise.
11181 * math/s_cacoshl.c: Likewise.
11183 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11187 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11188 * math/s_cacoshf.c: Likewise.
11189 * math/s_cacoshl.c: Likewise.
11191 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11194 * iconv/gconv.h: Define __GCONV_SWAP.
11195 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11196 * iconvdata/utf-16.c: Likewise.
11197 * iconvdata/utf-32.c: Likewise.
11199 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11202 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11203 numerator after shifting it by one limb.
11205 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11208 under [__USE_EXTERN_INLINES].
11210 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11213 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11215 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11217 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11218 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11220 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11221 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11222 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11223 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11224 for strncasecmp/strncasecmp_l compilation.
11225 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11226 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11228 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11231 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11234 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11237 * time/tzfile.c (__tzfile_read): Check values from file header.
11239 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11241 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11242 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11243 * powerpc/powerpc32/dl-start.S: Likewise.
11244 * powerpc/powerpc32/elf/start.S: Likewise.
11245 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11246 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11247 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11248 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11249 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11250 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11251 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11252 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11253 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11254 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11255 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11256 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11257 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11258 * powerpc/powerpc32/memset.S: Likewise.
11259 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11260 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11261 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11262 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11263 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11264 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11265 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11266 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11267 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11268 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11269 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11270 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11271 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11273 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11275 * math/libm-test.inc: Added more nearbyint tests.
11276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11277 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11279 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11281 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11283 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11286 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11288 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11289 Add wcscpy-ssse3 wcscpy-c.
11290 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11291 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11292 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11293 * sysdeps/x86_64/wcschr.S: New file.
11294 * sysdeps/x86_64/wcsrchr.S: New file.
11295 * string/test-strcmp.c: Remove checking of wcscmp function for
11297 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11298 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11299 wcsrchr-sse2 wcsrchr-c.
11300 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11301 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11302 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11303 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11304 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11305 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11306 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11307 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11308 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11309 * wcsmbc/wcschr.c (WCSCHR): New macro.
11311 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11313 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11314 * wcsmbs/test-wcsrchr.c: New file.
11315 * string/test-strrchr.c: Add wcsrchr support.
11317 * wcsmbs/test-wcscpy.c: New file.
11318 * string/test-strcpy.c: Add wcscpy support.
11321 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11323 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11326 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11329 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11331 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11333 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11334 Minor optimizations.
11336 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11337 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11338 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11340 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11342 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11343 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11344 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11345 for gcc to avoid warnings.
11346 * inet/Makefile (tests): Add tst-checks.
11347 * inet/tst-checks.c: New file.
11349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11352 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11355 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11356 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11358 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11360 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11362 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11365 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11367 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11369 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11370 conditional on GCC version.
11371 (__arch_compare_and_exchange_val_8_acq)
11372 (__arch_compare_and_exchange_val_16_acq)
11373 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11374 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11375 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11377 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11379 * sysdeps/sh/backtrace.c: New file.
11381 2011-12-02 Andreas Schwab <schwab@redhat.com>
11383 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11386 2011-12-01 Andreas Schwab <schwab@redhat.com>
11388 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11389 falling back to utime.
11391 2011-11-30 Andreas Schwab <schwab@redhat.com>
11393 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11394 expectations for float.
11396 2011-11-29 Andreas Schwab <schwab@redhat.com>
11398 * locale/weight.h (findidx): Add parameter len.
11399 * locale/weightwc.h (findidx): Likewise.
11400 * posix/fnmatch_loop.c (FCT): Adjust caller.
11401 * posix/regcomp.c (build_equiv_class): Likewise.
11402 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11403 * posix/regexec.c (check_node_accept_bytes): Likewise.
11404 * string/strcoll_l.c (STRCOLL): Likewise.
11405 * string/strxfrm_l.c (STRXFRM): Likewise.
11407 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11409 * Makefile.in: Remove CVSOPT handling.
11410 * configure.in: Remove use of AC_REVISION.
11411 * iconvdata/Makefile (distribute): No need to filter out CVS.
11412 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11415 2011-11-16 Andreas Schwab <schwab@redhat.com>
11417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11418 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11419 [USE_AS_STRNCASECMP_L]: Likewise.
11420 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11421 NO_TLS_DIRECT_SEG_REFS.
11422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11423 Fix argument offsets for non-PIC.
11424 [USE_AS_STRNCASECMP_L]: Likewise.
11425 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11426 NO_TLS_DIRECT_SEG_REFS.
11428 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11430 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11432 * locale/loadlocale.c (_nl_load_locale): Likewise.
11434 2011-11-15 Andreas Schwab <schwab@redhat.com>
11436 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11437 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11438 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11439 (SYSCALL_GETTIME): Set errno on error.
11441 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11442 count references to noai6ai_cached.
11444 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11446 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11448 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11449 FD_CLOEXEC for /proc/self/maps.
11451 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11452 FD_CLOEXEC for /proc/meminfo.
11454 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11457 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11458 FD_CLOEXEC for given file.
11460 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11462 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11463 FD_CLOEXEC for /etc/hosts.
11464 (_gethtent): Likewise.
11466 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11468 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11469 cancellation and set FD_CLOEXEC for /etc/netgroup.
11471 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11472 reading /etc/publickey.
11474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11475 allow cancellation when reading /etc/group.
11477 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11479 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11481 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11482 when using data file.
11484 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11486 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11487 (write_nis_obj): Use "c" and "e" in fopen.
11489 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11491 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11493 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11495 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11497 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11500 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11502 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11504 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11506 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11507 file parsing and set FD_CLOEXEC.
11509 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11511 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11513 2011-11-14 Andreas Schwab <schwab@redhat.com>
11515 * malloc/arena.c (arena_get2): Don't call reused_arena when
11516 _int_new_arena failed.
11518 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11520 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11521 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11524 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11525 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11526 to compile strcasecmp and strncasecmp.
11527 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11528 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11532 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11534 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11535 locale-defines.sym to gen-as-const-headers.
11536 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11537 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11539 to compile strcasecmp and strncasecmp.
11540 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11541 strcasecmp_l and strncasecmp_l.
11542 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11543 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11544 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11545 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11546 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11547 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11548 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11549 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11550 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11551 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11552 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11554 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11556 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11557 result of SYSDEP_GETTIME_CPU to retval.
11558 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11559 parameter list to macro. Remove trailing semicolon. Adjust users.
11561 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11564 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11566 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11568 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11569 from unused variable.
11571 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11573 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11576 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11579 * sunrpc/rpc_prot.c (rejected): Fix case value.
11581 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11582 unsigned long long int to avoid warnings in shift.
11584 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11586 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11589 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11590 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11591 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11593 * nis/nis_table.c (nis_list): Use variable of correct type for
11594 result of __follow_path call.
11596 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11598 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11599 of math functions ceil, trunc, floor, round, and sqrt, when
11600 avaliable on the platform.
11601 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11603 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11604 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11605 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11607 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11609 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11610 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11612 2011-11-11 Roland McGrath <roland@hack.frob.com>
11614 * include/unistd.h: Fix __readlink return type.
11615 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11617 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11619 * stdlib/ucontext.h: Undo last change for makecontext.
11621 2011-11-11 Andreas Schwab <schwab@redhat.com>
11623 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11625 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11626 * setjmp/setjmp.h: Mark functions as non-leaf.
11627 * setjmp/bits/setjmp2.h: Likewise.
11628 * stdlib/ucontext.h: Likewise.
11630 2011-11-10 Andreas Schwab <schwab@redhat.com>
11632 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11633 (reused_arena): Don't check arena limit.
11634 (arena_get2): Atomically check arena limit.
11636 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11638 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11639 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11641 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11644 2011-11-07 Andreas Schwab <schwab@redhat.com>
11646 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11647 handler when locking.
11649 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11650 Fix size of allocated buffer.
11652 2011-11-04 Andreas Schwab <schwab@redhat.com>
11655 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11656 declarations for long double functions.
11657 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11659 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11661 2011-11-03 Andreas Schwab <schwab@redhat.com>
11663 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11666 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11669 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11671 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11673 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11675 * include/alloca.h (stackinfo_alloca_round): Define.
11676 (extend_alloca): Use it.
11677 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11678 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11681 * scripts/check-local-headers.sh: Ignore libaudit.h.
11683 * nscd/Makefile (extra-objs): Make recursively expanded.
11685 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11687 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11688 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11690 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11691 * posix/tst-rfc3484-2.c: Likewise.
11692 * posix/tst-rfc3484-3.c: Likewise.
11694 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11696 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11698 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11699 process_vm_writev from libc using GLIBC_2.15 version.
11701 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11703 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11705 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11708 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11711 * nss/getent.c (initgroups_keys): Show error message in case no group
11714 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11715 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11716 __bump_nl_timestamp.
11717 * nscd/connections (nscd_init): When host database is served open
11718 netlink socket and request notification about configuration changes.
11719 (main_loop_poll): Track netlink file descriptor and bump timestamp
11720 in case data becomes available.
11721 (main_loop_epoll): Likewise.
11722 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11723 (database_pers_head): Add extra_data fileds.
11724 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11725 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11726 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11728 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11729 in6ai data, call __free_in6ai.
11730 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11731 Add -DHAVE_NETLINK.
11732 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11733 interface information. Reuse previous data if netlink timestamp
11735 (__bump_nl_timestamp): New function.
11736 (__free_in6ai): New function.
11738 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11740 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11741 close_not_cancel_no_status here.
11742 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11744 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11747 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11750 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11751 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11752 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11754 2011-07-03 Andreas Jaeger <aj@suse.de>
11757 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11758 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11759 * math/libm-test.inc (sin_test): Add test case.
11761 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11764 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11765 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11767 * elf/chroot_canon.c (chroot_canon): Cleanups.
11769 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11772 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11773 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11775 * string/test-strchr.c: Make usable for strchrnul testing.
11776 * string/test-strchrnul.c: New file.
11777 * string/Makefile (strop-tests): Add strchrnul.
11779 * po/it.po: Update from translation team.
11780 * po/es.po: Likewise.
11782 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11784 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11785 the three constants needed as parameters. Drop the others.
11786 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11787 __m128i_strloadu_tolower.
11788 Create and initialize variable zero and use it in all the places
11789 where _mm_setzero_si128 was used.
11791 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11792 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11793 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11794 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11796 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11797 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11798 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11799 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11800 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11801 __mpranred, __mptan.
11802 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11803 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11804 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11805 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11806 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11807 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11809 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11810 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11812 2011-10-28 Andreas Schwab <schwab@redhat.com>
11814 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11815 redefine if SHARED.
11816 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11819 wide char related routines to wcsmbs subdir.
11821 2011-10-27 Andreas Schwab <schwab@redhat.com>
11824 * misc/sys/cdefs.h (__THROWNL): Define.
11825 * posix/unistd.h: Use __THREADNL instead of __THREAD
11826 for memory synchronization functions.
11828 2011-10-26 Roland McGrath <roland@hack.frob.com>
11831 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11833 * manual/stdio.texi (Obstack Streams): Node removed.
11835 2011-10-26 Andreas Schwab <schwab@redhat.com>
11837 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11838 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11839 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11841 * math/math_private.h (math_force_eval): Allow non-addressable
11843 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11845 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11847 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11848 file is not needed.
11850 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11851 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11852 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11853 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11854 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11855 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11856 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11857 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11859 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11860 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11861 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11862 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11863 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11864 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11865 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11866 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11867 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11868 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11869 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11870 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11871 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11872 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11873 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11874 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11875 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11876 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11877 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11879 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11880 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11882 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11883 place. Use VEX encoding when compiling for AVX.
11885 2011-10-25 Andreas Schwab <schwab@redhat.com>
11887 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11888 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11890 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11892 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11894 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11895 useless if() expression.
11896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11897 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11898 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11901 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11902 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11903 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11904 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11905 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11906 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11907 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11908 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11909 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11910 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11911 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11912 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11913 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11916 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11918 2011-10-25 Andreas Schwab <schwab@redhat.com>
11920 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11922 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11924 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11926 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11927 .text section. Avoid duplicate constants.
11928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11936 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11937 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11938 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11939 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11940 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11941 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11942 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11943 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11944 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11945 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11946 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11948 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11949 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11950 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11951 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11952 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11953 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11954 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11955 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11957 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11958 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11959 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11960 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11961 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11962 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11963 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11964 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11965 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11966 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11967 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11970 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11971 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11972 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11974 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11976 * sysdeps/x86_64/dla.h: Move to ...
11977 * sysdeps/x86_64/fpu/dla.h: ...here.
11978 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11979 situations. Use __builtin_fma only for gcc 4.6 and up.
11981 * config.make.in: Add have-mfma4 entry.
11982 * configure.in: Substitute libc_cv_cc_fma4.
11983 * math/Makefile (dbl-only-routines): Add sincostab.
11984 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11985 Use __sincostab not sincos.
11986 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11993 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11994 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11995 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11996 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11998 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11999 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12001 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12002 define aliases when function name is a macro.
12003 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12004 sysdeps/ieee754/dbl-64/sincos.tbl.
12005 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12006 fma4-enabled routines.
12007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12008 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12009 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12010 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12011 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12012 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12014 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12016 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12017 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12018 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12019 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12020 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12021 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12022 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12023 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12024 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12025 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12026 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12027 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12028 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12033 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12034 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12035 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12036 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12038 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12049 2011-10-24 Andreas Schwab <schwab@redhat.com>
12051 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12053 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12055 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12057 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12059 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12061 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12062 Remove unused variable magic_bits.
12063 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12065 * string/strnlen.c: Define and use STRNLEN macro.
12066 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12067 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12069 * wcsmbs/wcslen.c: Define and use WCSLEN.
12070 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12071 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12072 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12073 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12074 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12075 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12076 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12078 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12081 strnlen-sse2-no-bsf.
12082 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12083 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12084 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12085 Add strnlen support.
12086 (USE_AS_STRNLEN): New macro.
12087 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12088 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12089 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12090 * sysdeps/x86_64/wcslen.S: New file.
12092 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12095 XMM-moves are used for copying on small sizes.
12097 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12099 * wcsmbs/Makefile (strop-tests): Add wcschr.
12100 * wcsmbs/test-wcschr.c: New file.
12101 * string/test-strchr.c: Update.
12102 Add wcschr support.
12105 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12107 * wcsmbs/Makefile (strop-tests): Add wcslen.
12108 * wcsmbs/test-wcslen.c: New file.
12109 * string/test-strlen.c: Update.
12110 Add wcslen support.
12113 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12115 * po/it.po: Update from translation team.
12117 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12119 * sysdeps/x86_64/wcscmp.S: Update.
12120 Fix wrong comparison semantics.
12121 wcscmp shall use signed comparison not unsigned.
12122 Don't use substraction to avoid overflow bug.
12123 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12124 * wcsmbc/wcscmp.c: Likewise.
12125 * string/test-strcmp.c: Likewise.
12126 Add new tests to check cases with negative values.
12128 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12130 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12131 * sysdeps/x86_64/dla.h: ...here. New file.
12132 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12142 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12145 __ynl_finite aliases.
12147 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12151 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12153 [DLA_FMA] (EMULV): Use DLA_FMA.
12154 [DLA_FMA] (MUL12): Use EMULV.
12155 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12156 that are not needed.
12157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12161 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12165 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12167 * math/s_nan.c: Undef __nan.
12168 * math/s_nanf.c: Undef __nanf.
12169 * math/s_nanl.c: Undef __nanl.
12170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12173 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12175 * math/s_catan.c: Add branch predictions.
12176 * math/s_catanf.c: Likewise.
12177 * math/s_catanh.c: Likewise.
12178 * math/s_catanhf.c: Likewise.
12179 * math/s_catanhl.c: Likewise.
12180 * math/s_catanl.c: Likewise.
12181 * math/s_cexp.c: Likewise.
12182 * math/s_cexpf.c: Likewise.
12183 * math/s_cexpl.c: Likewise.
12184 * math/s_clog.c: Likewise.
12185 * math/s_clog10.c: Likewise.
12186 * math/s_clog10f.c: Likewise.
12187 * math/s_clog10l.c: Likewise.
12188 * math/s_clogf.c: Likewise.
12189 * math/s_clogl.c: Likewise.
12190 * math/s_csqrt.c: Likewise.
12191 * math/s_csqrtf.c: Likewise.
12192 * math/s_csqrtl.c: Likewise.
12193 * math/s_ctanf.c: Likewise.
12194 * math/s_ctanh.c: Likewise.
12195 * math/s_ctanhf.c: Likewise.
12196 * math/s_ctanhl.c: Likewise.
12197 * math/s_ctanl.c: Likewise.
12199 * math/math_private.h: Define __nan, __nanf, __nanl.
12200 * math/s_cacosh.c: Include <math_private.h>.
12201 * math/s_cacoshl.c: Likewise.
12202 * math/s_casinh.c: Likewise.
12203 * math/s_casinhf.c: Likewise.
12204 * math/s_casinhl.c: Likewise.
12205 * math/s_ccos.c: Rely entire on ccosh.
12206 * math/s_ccosf.c: Rely entire on ccoshf.
12207 * math/s_ccosl.c: Rely entirely on ccoshl.
12208 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12209 Remove tests for FE_INVALID.
12210 * math/s_ccoshf.c: Likewise.
12211 * math/s_ccoshl.c: Likewise.
12212 * math/s_csin.c: Likewise.
12213 * math/s_csinf.c: Likewise.
12214 * math/s_csinh.c Likewise.
12215 * math/s_csinhf.c: Likewise.
12216 * math/s_csinhl.c: Likewise.
12217 * math/s_csinl.c: Likewise.
12218 * math/s_ctan.c: Likewise.
12219 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12220 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12221 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12223 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12226 compilation problems.
12228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12231 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12233 * sysdeps/i386/configure.in: Test for -mfma4 option.
12234 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12235 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12236 COMMON_CPUID_INDEX_80000001.
12237 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12238 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12239 use it if FMA3 is not supported.
12240 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12242 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12243 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12245 2011-10-20 Andreas Schwab <schwab@redhat.com>
12248 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12249 it would create a cycle with a link time dependency.
12251 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12253 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12255 * string/Makefile (strop-tests): Add rawmemchr.
12256 * string/test-rawmemchr.c: New file.
12258 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12259 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12260 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12261 when compiling str{,n}casecmp and when AVX is available. Hook up
12262 new optimized code in initializers.
12264 2011-10-19 Andreas Schwab <schwab@redhat.com>
12266 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12267 __feraiseexcept instead of feraiseexcept.
12269 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12271 * math/math_private.h: Define defaults for libc_fetestexcept and
12273 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12274 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12275 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12276 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12277 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12278 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12279 libc_fetestexcept and libc_feupdateenv.
12281 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12282 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12283 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12284 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12285 libc_feholdexcept_setround.
12287 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12288 Add s_nearbyint-c and s_nearbyintf-c.
12289 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12290 nearbyintf inlines.
12291 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12292 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12293 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12294 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12296 * math/math_private.h: Define defaults for libc_fegetround,
12297 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12298 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12299 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12300 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12301 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12302 standard functions.
12303 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12304 Remove comments and hacks for old compiler versions.
12305 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12306 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12307 libc_feholdexceptl.
12309 2011-10-18 Andreas Schwab <schwab@redhat.com>
12311 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12312 (__feraiseexcept_renamed): Add __NTH.
12313 (feraiseexcept): Add __NTH. Rename local variables to fix
12314 namespace violations.
12316 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12318 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12320 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12322 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12323 recently added interfaces.
12324 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12326 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12327 about macro parameter expansion.
12329 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12330 __NO_MATH_INLINES is defined. Cleanups.
12332 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12333 and __floorf is target has SSE4.1.
12334 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12335 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12336 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12337 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12339 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12341 (floorf): Likewise.
12343 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12345 2011-10-17 Andreas Schwab <schwab@redhat.com>
12347 * misc/sys/cdefs.h: Fix last change.
12349 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12352 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12354 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12356 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12357 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12358 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12359 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12360 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12361 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12362 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12363 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12364 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12365 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12366 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12367 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12368 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12369 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12370 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12371 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12372 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12373 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12374 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12375 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12376 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12377 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12379 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12380 ceil, ceilf, floor, floorf.
12382 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12383 Perform IRELATIVE relocations last.
12385 * elf/do-rel.h: Add another parameter nrelative, replacing the
12386 local variable with the same name. Change name of the function
12387 to end in Rel or Rela (uppercase).
12388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12389 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12390 elf_dynamic_do_##reloc function.
12392 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12394 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12395 is sufficient, at least on modern CPUs.
12397 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12399 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12402 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12404 * math/bits/math-finite.h: Add entries for exp.
12405 * math/e_expl.c: Add __*_finite alias.
12406 * sysdeps/i386/fpu/e_exp.S: Likewise.
12407 * sysdeps/i386/fpu/e_expf.S: Likewise.
12408 * sysdeps/i386/fpu/e_expl.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12410 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12411 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12414 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12415 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12417 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12418 is sufficient, at least on modern CPUs.
12420 * ctype/ctype-info.c (__ctype_init): Define.
12421 * include/ctype.h (__ctype_init): Declare.
12422 (__ctype_b_loc): The variable is always initialized.
12423 (__ctype_toupper_loc): Likewise.
12424 (__ctype_tolower_loc): Likewise.
12425 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12426 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12428 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12430 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12432 * configure.in: Also look in $cxxmachine/include for C++ system
12435 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12437 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12438 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12439 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12440 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12441 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12442 (USE_AS_WMEMCMP): New macro.
12444 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12445 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12446 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12447 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12449 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12450 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12451 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12452 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12453 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12454 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12455 (USE_AS_WMEMCMP): New macro.
12456 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12457 * sysdeps/string/test-memcmp.c: Update.
12458 Fix simple_wmemcmp.
12460 * wcsmbs/wmemcmp.c: Update.
12461 (WMEMCMP): New macro.
12464 2011-10-12 Andreas Jaeger <aj@suse.de>
12467 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12469 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12471 * libio/iofwide.c (do_length): Avoid warning.
12473 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12475 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12477 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12479 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12480 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12481 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12482 * sysdeps/i386/i686/fpu/e_log.S: New file.
12483 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12484 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12486 * ctype/ctype.h: Add support for inlined isXXX functions when
12487 compiling C++ code.
12489 2011-10-14 Andreas Schwab <schwab@redhat.com>
12491 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12495 2011-10-13 Roland McGrath <roland@hack.frob.com>
12498 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12500 2011-10-13 Andreas Schwab <schwab@redhat.com>
12502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12503 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12506 * sysdeps/x86_64/memrchr.S: Check for zero size.
12508 * string/stratcliff.c: Add memrchr tests.
12510 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12513 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12514 rawmemchr-sse2 rawmemchr-sse2-bsf.
12515 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12516 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12517 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12518 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12519 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12520 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12521 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12522 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12523 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12524 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12525 * string/memrchr.c (MEMRCHR): New macro.
12527 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12529 Add integration with gcc's -ffinite-math-only and optimize wrapper
12531 * Versions.def: Define GLIBC_2.15 version for libm.
12532 * math/Makefile (headers): Add bits/math-finite.h.
12533 * math/bits/math-finite.h: New file.
12534 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12535 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12536 * math/e_acoshl.c: Add __*_finite alias.
12537 * math/e_acosl.c: Likewise.
12538 * math/e_asinl.c: Likewise.
12539 * math/e_atan2l.c: Likewise.
12540 * math/e_atanhl.c: Likewise.
12541 * math/e_coshl.c: Likewise.
12542 * math/e_exp10.c: Likewise.
12543 * math/e_exp10f.c: Likewise.
12544 * math/e_exp10l.c: Likewise.
12545 * math/e_exp2l.c: Likewise.
12546 * math/e_fmodl.c: Likewise.
12547 * math/e_gammal_r.c: Likewise.
12548 * math/e_hypotl.c: Likewise.
12549 * math/e_j0l.c: Likewise.
12550 * math/e_j1l.c: Likewise.
12551 * math/e_jnl.c: Likewise.
12552 * math/e_lgammal_r.c: Likewise.
12553 * math/e_log10l.c: Likewise.
12554 * math/e_log2l.c: Likewise.
12555 * math/e_logl.c: Likewise.
12556 * math/e_powl.c: Likewise.
12557 * math/e_sinhl.c: Likewise.
12558 * math/e_sqrtl.c: Likewise.
12559 * math/e_scalb.c: Completely rewritten and optimized.
12560 * math/e_scalbf.c: Likewise.
12561 * math/e_scalbl.c: Likewise.
12562 * math/w_acos.c: Likewise.
12563 * math/w_acosf.c: Likewise.
12564 * math/w_acosl.c: Likewise.
12565 * math/w_acosh.c: Likewise.
12566 * math/w_acoshf.c: Likewise.
12567 * math/w_acoshl.c: Likewise.
12568 * math/w_asin.c: Likewise.
12569 * math/w_asinf.c: Likewise.
12570 * math/w_asinl.c: Likewise.
12571 * math/w_atan2.c: Likewise.
12572 * math/w_atan2f.c: Likewise.
12573 * math/w_atan2l.c: Likewise.
12574 * math/w_atanh.c: Likewise.
12575 * math/w_atanhf.c: Likewise.
12576 * math/w_atanhl.c: Likewise.
12577 * math/w_exp10.c: Likewise.
12578 * math/w_exp10f.c: Likewise.
12579 * math/w_exp10l.c: Likewise.
12580 * math/w_fmod.c: Likewise.
12581 * math/w_fmodf.c: Likewise.
12582 * math/w_fmodl.c: Likewise.
12583 * math/w_j0.c: Likewise.
12584 * math/w_j0f.c: Likewise.
12585 * math/w_j0l.c: Likewise.
12586 * math/w_j1.c: Likewise.
12587 * math/w_j1f.c: Likewise.
12588 * math/w_j1l.c: Likewise.
12589 * math/w_jn.c: Likewise.
12590 * math/w_jnf.c: Likewise.
12591 * math/w_log.c: Likewise.
12592 * math/w_logf.c: Likewise.
12593 * math/w_logl.c: Likewise.
12594 * math/w_log10.c: Likewise.
12595 * math/w_log10f.c: Likewise.
12596 * math/w_log10l.c: Likewise.
12597 * math/w_log2.c: Likewise.
12598 * math/w_log2f.c: Likewise.
12599 * math/w_log2l.c: Likewise.
12600 * math/w_pow.c: Likewise.
12601 * math/w_powf.c: Likewise.
12602 * math/w_powl.c: Likewise.
12603 * math/w_remainder.c: Likewise.
12604 * math/w_remainderf.c: Likewise.
12605 * math/w_remainderl.c: Likewise.
12606 * math/w_scalb.c: Likewise.
12607 * math/w_scalbf.c: Likewise.
12608 * math/w_scalbl.c: Likewise.
12609 * math/w_sqrt.c: Likewise.
12610 * math/w_sqrtf.c: Likewise.
12611 * math/w_sqrtl.c: Likewise.
12612 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12613 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12615 * math/math_private.h: Declare __kernel_standard_f.
12616 * math/w_cosh.c: Remove cruft and optimize a bit.
12617 * math/w_coshf.c: Likewise.
12618 * math/w_coshl.c: Likewise.
12619 * math/w_exp2.c: Likewise.
12620 * math/w_exp2f.c: Likewise.
12621 * math/w_exp2l.c: Likewise.
12622 * math/w_hypot.c: Likewise.
12623 * math/w_hypotf.c: Likewise.
12624 * math/w_hypotl.c: Likewise.
12625 * math/w_lgamma.c: Likewise.
12626 * math/w_lgamma_r.c: Likewise.
12627 * math/w_lgammaf.c: Likewise.
12628 * math/w_lgammaf_r.c: Likewise.
12629 * math/w_lgammal.c: Likewise.
12630 * math/w_lgammal_r.c: Likewise.
12631 * math/w_sinh.c: Likewise.
12632 * math/w_sinhf.c: Likewise.
12633 * math/w_sinhl.c: Likewise.
12634 * math/w_tgamma.c: Likewise.
12635 * math/w_tgammaf.c: Likewise.
12636 * math/w_tgammal.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12639 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12640 Minor optimizations. Pretty printing. Remove cruft.
12641 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12642 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12643 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12644 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12645 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12646 * sysdeps/i386/fpu/e_asin.S: Likewise.
12647 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12648 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12649 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12650 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12652 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12653 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12654 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12655 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12656 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12657 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12658 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12659 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12660 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12661 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12662 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12663 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12664 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12665 * sysdeps/i386/fpu/e_log.S: Likewise.
12666 * sysdeps/i386/fpu/e_log10.S: Likewise.
12667 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12668 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12669 * sysdeps/i386/fpu/e_log2.S: Likewise.
12670 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12671 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12672 * sysdeps/i386/fpu/e_logf.S: Likewise.
12673 * sysdeps/i386/fpu/e_logl.S: Likewise.
12674 * sysdeps/i386/fpu/e_pow.S: Likewise.
12675 * sysdeps/i386/fpu/e_powf.S: Likewise.
12676 * sysdeps/i386/fpu/e_powl.S: Likewise.
12677 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12678 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12679 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12680 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12682 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12683 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12684 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12685 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12692 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12693 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12695 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12696 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12699 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12700 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12702 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12703 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12704 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12706 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12707 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12708 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12709 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12710 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12711 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12712 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12713 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12714 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12715 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12716 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12717 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12718 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12719 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12720 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12721 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12722 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12723 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12724 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12725 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12726 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12727 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12758 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12766 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12769 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12771 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12772 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12774 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12776 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12777 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12778 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12779 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12780 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12781 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12782 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12783 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12784 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12785 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12786 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12787 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12788 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12789 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12790 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12791 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12792 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12793 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12794 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12795 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12796 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12797 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12798 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12799 (__isnanf): Likewise.
12800 (__isinf_ns): Likewise.
12801 (__isinf_nsf): Likewise.
12802 (__finite): Likewise.
12803 (__finitef): Likewise.
12804 (__ieee754_sqrt): Define as macro.
12805 (__ieee754_sqrtf): Define as macro.
12806 (__ieee754_sqrtl): Define as macro.
12807 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12809 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12810 __FINITE_MATH_ONLY__ consistent.
12811 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12813 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12815 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12818 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12820 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12822 * po/ja.po: Update from translation team.
12824 2011-10-08 Roland McGrath <roland@hack.frob.com>
12826 * locale/programs/locarchive.c (prepare_address_space): New function.
12827 (create_archive, enlarge_archive, open_archive): Use it.
12829 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12830 inside [SHARED], where it is used.
12832 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12834 * nss/getent.c (netgroup_keys): Remove unused variable.
12835 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12837 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12839 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12840 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12843 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12844 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12845 * math/Makefile (libm-calls): Add s_isinf_ns.
12846 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12847 * math/multc3.c: Likewise.
12848 * math/s_casin.c: Likewise.
12849 * math/s_casinf.c: Likewise.
12850 * math/s_casinl.c: Likewise.
12851 * math/s_ccos.c: Likewise.
12852 * math/s_ccosf.c: Likewise.
12853 * math/s_ccosl.c: Likewise.
12854 * math/s_ctan.c: Likewise.
12855 * math/s_ctanf.c: Likewise.
12856 * math/s_ctanh.c: Likewise.
12857 * math/s_ctanhf.c: Likewise.
12858 * math/s_ctanhl.c: Likewise.
12859 * math/s_ctanl.c: Likewise.
12860 * math/w_fmod.c: Likewise.
12861 * math/w_fmodf.c: Likewise.
12862 * math/w_fmodl.c: Likewise.
12863 * math/w_remainder.c: Likewise.
12864 * math/w_remainderf.c: Likewise.
12865 * math/w_remainderl.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12867 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12870 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12871 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12872 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12873 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12875 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12877 * stdio-common/printf_fphex.c: Likewise.
12878 * stdio-common/printf_size.c: Likewise.
12880 * math/e_exp10.c: Include math_private.h using <...> not "...".
12881 * math/e_exp10f.c: Likewise.
12882 * math/e_exp10l.c: Likewise.
12883 * math/e_exp2l.c: Likewise.
12884 * math/e_j0l.c: Likewise.
12885 * math/e_j1l.c: Likewise.
12886 * math/e_jnl.c: Likewise.
12887 * math/e_lgammal_r.c: Likewise.
12888 * math/e_rem_pio2l.c: Likewise.
12889 * math/e_scalb.c: Likewise.
12890 * math/e_scalbf.c: Likewise.
12891 * math/e_scalbl.c: Likewise.
12892 * math/k_cosl.c: Likewise.
12893 * math/k_sinl.c: Likewise.
12894 * math/k_tanl.c: Likewise.
12895 * math/s_cacoshf.c: Likewise.
12896 * math/s_catan.c: Likewise.
12897 * math/s_catanf.c: Likewise.
12898 * math/s_catanh.c: Likewise.
12899 * math/s_catanhf.c: Likewise.
12900 * math/s_catanhl.c: Likewise.
12901 * math/s_catanl.c: Likewise.
12902 * math/s_ccosh.c: Likewise.
12903 * math/s_ccoshf.c: Likewise.
12904 * math/s_ccoshl.c: Likewise.
12905 * math/s_cexp.c: Likewise.
12906 * math/s_cexpf.c: Likewise.
12907 * math/s_cexpl.c: Likewise.
12908 * math/s_clog.c: Likewise.
12909 * math/s_clog10.c: Likewise.
12910 * math/s_clog10f.c: Likewise.
12911 * math/s_clog10l.c: Likewise.
12912 * math/s_clogf.c: Likewise.
12913 * math/s_clogl.c: Likewise.
12914 * math/s_csin.c: Likewise.
12915 * math/s_csinf.c: Likewise.
12916 * math/s_csinh.c: Likewise.
12917 * math/s_csinhf.c: Likewise.
12918 * math/s_csinhl.c: Likewise.
12919 * math/s_csinl.c: Likewise.
12920 * math/s_csqrt.c: Likewise.
12921 * math/s_csqrtf.c: Likewise.
12922 * math/s_csqrtl.c: Likewise.
12923 * math/s_ctan.c: Likewise.
12924 * math/s_ctanf.c: Likewise.
12925 * math/s_ctanh.c: Likewise.
12926 * math/s_ctanhf.c: Likewise.
12927 * math/s_ctanhl.c: Likewise.
12928 * math/s_ctanl.c: Likewise.
12929 * math/s_ldexp.c: Likewise.
12930 * math/s_ldexpf.c: Likewise.
12931 * math/s_ldexpl.c: Likewise.
12932 * math/s_significand.c: Likewise.
12933 * math/s_significandf.c: Likewise.
12934 * math/s_significandl.c: Likewise.
12935 * math/w_acos.c: Likewise.
12936 * math/w_acosf.c: Likewise.
12937 * math/w_acosh.c: Likewise.
12938 * math/w_acoshf.c: Likewise.
12939 * math/w_acoshl.c: Likewise.
12940 * math/w_acosl.c: Likewise.
12941 * math/w_asin.c: Likewise.
12942 * math/w_asinf.c: Likewise.
12943 * math/w_asinl.c: Likewise.
12944 * math/w_atan2.c: Likewise.
12945 * math/w_atan2f.c: Likewise.
12946 * math/w_atan2l.c: Likewise.
12947 * math/w_atanh.c: Likewise.
12948 * math/w_atanhf.c: Likewise.
12949 * math/w_atanhl.c: Likewise.
12950 * math/w_cosh.c: Likewise.
12951 * math/w_coshf.c: Likewise.
12952 * math/w_coshl.c: Likewise.
12953 * math/w_dremf.c: Likewise.
12954 * math/w_exp10.c: Likewise.
12955 * math/w_exp10f.c: Likewise.
12956 * math/w_exp10l.c: Likewise.
12957 * math/w_exp2.c: Likewise.
12958 * math/w_exp2f.c: Likewise.
12959 * math/w_fmod.c: Likewise.
12960 * math/w_fmodf.c: Likewise.
12961 * math/w_fmodl.c: Likewise.
12962 * math/w_hypot.c: Likewise.
12963 * math/w_hypotf.c: Likewise.
12964 * math/w_hypotl.c: Likewise.
12965 * math/w_j0.c: Likewise.
12966 * math/w_j0f.c: Likewise.
12967 * math/w_j0l.c: Likewise.
12968 * math/w_j1.c: Likewise.
12969 * math/w_j1f.c: Likewise.
12970 * math/w_j1l.c: Likewise.
12971 * math/w_jn.c: Likewise.
12972 * math/w_jnf.c: Likewise.
12973 * math/w_jnl.c: Likewise.
12974 * math/w_lgamma.c: Likewise.
12975 * math/w_lgamma_r.c: Likewise.
12976 * math/w_lgammaf.c: Likewise.
12977 * math/w_lgammaf_r.c: Likewise.
12978 * math/w_lgammal.c: Likewise.
12979 * math/w_lgammal_r.c: Likewise.
12980 * math/w_log.c: Likewise.
12981 * math/w_log10.c: Likewise.
12982 * math/w_log10f.c: Likewise.
12983 * math/w_log10l.c: Likewise.
12984 * math/w_log2.c: Likewise.
12985 * math/w_log2f.c: Likewise.
12986 * math/w_log2l.c: Likewise.
12987 * math/w_logf.c: Likewise.
12988 * math/w_logl.c: Likewise.
12989 * math/w_pow.c: Likewise.
12990 * math/w_powf.c: Likewise.
12991 * math/w_powl.c: Likewise.
12992 * math/w_remainder.c: Likewise.
12993 * math/w_remainderf.c: Likewise.
12994 * math/w_remainderl.c: Likewise.
12995 * math/w_scalb.c: Likewise.
12996 * math/w_scalbf.c: Likewise.
12997 * math/w_scalbl.c: Likewise.
12998 * math/w_sinh.c: Likewise.
12999 * math/w_sinhf.c: Likewise.
13000 * math/w_sinhl.c: Likewise.
13001 * math/w_sqrt.c: Likewise.
13002 * math/w_sqrtf.c: Likewise.
13003 * math/w_sqrtl.c: Likewise.
13004 * math/w_tgamma.c: Likewise.
13005 * math/w_tgammaf.c: Likewise.
13006 * math/w_tgammal.c: Likewise.
13008 * po/ja.po: Update from translation team.
13010 2011-09-29 Andreas Jaeger <aj@suse.de>
13013 * sunrpc/netname.c (netname2host): Fix logic.
13017 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13019 * math/w_remainder.c (__remainder): Likewise.
13020 * math/w_remainderf.c (__remainderf): Likewise.
13021 * math/libm-test.inc (remainder_test): Add test cases.
13023 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13025 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13028 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13030 * string/test-memcmp.c: Avoid unncessary #defines.
13031 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13033 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13035 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13036 Use new sse2 version for core i3 - i7 as it's faster
13037 than sse42 version.
13038 (bit_Prefer_PMINUB_for_stringop): New.
13039 * sysdeps/x86_64/rawmemchr.S: Update.
13040 Replace with faster SSE2 version.
13041 * sysdeps/x86_64/memrchr.S: New file.
13042 * sysdeps/x86_64/memchr.S: Update.
13043 Replace with faster SSE2 version.
13045 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13047 * elf/dl-load.c (lose): Add cast to avoid warning.
13049 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13051 * po/ca.po: Update from translation team.
13053 * inet/getnetgrent_r.c: Hook up nscd.
13054 * nscd/Makefile (routines): Add nscd_netgroup.
13055 (nscd-modules): Add netgroupcache.
13056 (CFLAGS-netgroupcache.c): Define.
13057 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13058 (cache_search): Add const to second parameter.
13059 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13061 (dbs): Add netgrdb entry.
13062 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13063 (verify_persistent_db): Handle netgrdb.
13064 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13065 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13067 (netgroup_response_header): Define.
13068 (innetgroup_response_header): Define.
13069 (datahead): Add netgroup_response_header and innetgroup_response_header
13071 * nscd/nscd.conf: Add entries for netgroup cache.
13072 * nscd/nscd.h (dbtype): Add netgrdb.
13073 (_PATH_NSCD_NETGROUP_DB): Define.
13074 (netgroup_iov_disabled): Declare.
13075 (xmalloc, xcalloc, xrealloc): Move declarations here.
13076 (cache_search): Adjust prototype.
13077 Add netgroup-related prototypes.
13078 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13079 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13080 (__nscd_innetgr): Declare.
13081 * nscd/selinux.c (perms): Use access_vector_t as element type and
13082 add netgroup-related initializers.
13083 * nscd/netgroupcache.c: New file.
13084 * nscd/nscd_netgroup.c: New file.
13085 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13086 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13087 For four parameters use innetgr.
13088 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13089 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13090 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13091 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13093 * nscd/connections.c (register_traced_file): Don't register file
13094 for disabled databases.
13096 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13098 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13100 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13101 from tree and freeing node.
13103 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13105 * nss/nsswitch.c (__nss_database_lookup): Handle
13106 nss_parse_service_list out of memory case.
13108 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13110 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13111 out of memory case.
13113 2011-10-04 Andreas Schwab <schwab@redhat.com>
13115 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13116 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13118 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13119 elf_machine_rela, elf_machine_lazy_rel.
13120 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13121 (ELF_DYNAMIC_DO_REL): Likewise.
13122 (ELF_DYNAMIC_DO_RELA): Likewise.
13123 (ELF_DYNAMIC_RELOCATE): Likewise.
13124 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13125 to ELF_DYNAMIC_DO_REL.
13126 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13127 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13128 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13130 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13131 skip_ifunc, don't call ifunc function if non-zero.
13132 (elf_machine_rela): Likewise.
13133 (elf_machine_lazy_rel): Likewise.
13134 (elf_machine_lazy_rela): Likewise.
13135 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13136 (elf_machine_lazy_rel): Likewise.
13137 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13139 (elf_machine_lazy_rel): Likewise.
13140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13142 (elf_machine_lazy_rel): Likewise.
13143 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13144 (elf_machine_lazy_rel): Likewise.
13145 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13146 (elf_machine_lazy_rel): Likewise.
13147 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13148 (elf_machine_lazy_rel): Likewise.
13149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13150 (elf_machine_lazy_rel): Likewise.
13151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13152 (elf_machine_lazy_rel): Likewise.
13153 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13154 (elf_machine_lazy_rel): Likewise.
13156 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13158 * nss/nss_files/files-init.c (_nss_files_init): Use static
13159 initialization for all the *_traced_file variables.
13161 2011-09-28 Andreas Schwab <schwab@redhat.com>
13163 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13165 2011-09-27 Roland McGrath <roland@hack.frob.com>
13168 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13170 2011-09-27 Andreas Schwab <schwab@redhat.com>
13172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13173 Reread the line before reparsing it.
13175 2011-09-26 Andreas Schwab <schwab@redhat.com>
13177 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13179 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13180 Maxim Kuvyrkov <maxim@codesourcery.com>
13181 Joseph Myers <joseph@codesourcery.com>
13183 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13184 if needed for __stack_chk_guard.
13186 2011-09-19 Roland McGrath <roland@hack.frob.com>
13188 * sysdeps/posix/spawni.c (script_execute): Always define it.
13189 It will be optimized away if unused.
13190 (maybe_script_execute): New function.
13191 (__spawni): Call it.
13193 * Makerules: Don't include tls.make.
13194 (config-tls): Always set to thread.
13195 * tls.make.c: File removed.
13197 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13199 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13200 * config.make.in (CPPFLAGS-config): New substituted variable.
13202 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13207 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13208 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13210 2011-09-15 Roland McGrath <roland@hack.frob.com>
13212 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13213 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13215 (CALL_FAIL): Likewise.
13216 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13217 (CALL_FAIL): Macro removed.
13218 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13220 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13222 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13223 for __FINITE_MATH_ONLY__ == 1.
13225 2011-09-15 Andreas Schwab <schwab@redhat.com>
13227 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13228 __ieee754_sqrt instead of sqrt.
13229 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13230 __ieee754_sqrtf instead of sqrtf.
13231 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13232 __floorf instead of floorf.
13233 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13234 __floorf, __truncf instead of floorf, truncf.
13236 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13238 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13240 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13241 __extern_always_inline.
13242 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13245 2011-09-14 Andreas Schwab <schwab@redhat.com>
13247 * elf/rtld.c (dl_main): Also relocate in dependency order when
13248 doing symbol dependency testing.
13250 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13253 Always define `refsym'.
13255 2011-09-13 Andreas Schwab <schwab@redhat.com>
13257 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13258 (__FD_ELT): Renamed from __FDELT.
13259 * misc/bits/select2.h (__FD_ELT): Likewise.
13260 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13261 __FD_MASK instead of __FDELT, __FDMASK.
13262 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13264 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13267 * elf/Makefile (gen-ldd): Fix pattern.
13269 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13270 (init_tls): Likewise.
13272 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13274 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13276 2011-09-12 Andreas Schwab <schwab@redhat.com>
13278 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13279 `struct cmsghdr *' instead of `void *'.
13280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13283 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13285 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13287 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13288 ldd_rewrite_script.
13290 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13292 * configure.in: Remove --with-tls option.
13293 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13294 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13295 out in case it is missing.
13296 * sysdeps/ia64/elf/configure.in: Likewise.
13297 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13298 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13299 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13300 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13301 * sysdeps/sh/elf/configure.in: Likewise.
13302 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13303 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13304 * sysdeps/x86_64/elf/configure.in: Likewise.
13305 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13306 * sysdeps/mach/hurd/tls.h: Likewise.
13309 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13312 * configure.in: Fix use of AC_INIT.
13314 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13316 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13318 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13320 * malloc/hooks.c: Likewise.
13323 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13324 variables statically.
13325 (narenas): Initialize.
13326 (list_lock): Initialize.
13327 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13328 initializtion of main_arena and list_lock. Small cleanups.
13329 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13330 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13331 Add initializers to main_arena and mp_.
13332 (malloc_state): Remove pagesize member. Change all users to use
13335 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13336 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13337 is always initialized.
13339 * malloc/malloc.c: Removed unused configurations and dead code.
13340 * malloc/arena.c: Likewise.
13341 * malloc/hooks.c: Likewise.
13342 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13344 * include/tls.h: Removed. USE___THREAD must always be defined.
13345 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13346 * elf/dl-libc.c: Likewise.
13347 * elf/dl-tsd.c: Likewise.
13348 * include/errno.h: Likewise.
13349 * include/netdb.h: Likewise.
13350 * include/resolv.h: Likewise.
13351 * inet/herrno-loc.c: Likewise.
13352 * inet/herrno.c: Likewise.
13353 * malloc/arena.c: Likewise.
13354 * malloc/hooks.c: Likewise.
13355 * malloc/malloc.c: Likewise.
13356 * resolv/res-state.c: Likewise.
13357 * resolv/res_libc.c: Likewise.
13358 * sysdeps/i386/dl-machine.h: Likewise.
13359 * sysdeps/ia64/dl-machine.h: Likewise.
13360 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13361 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13362 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13363 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13364 * sysdeps/sh/dl-machine.h: Likewise.
13365 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13367 * sysdeps/unix/i386/sysdep.S: Likewise.
13368 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13369 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13374 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13378 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13379 * sysdeps/x86_64/dl-machine.h: Likewise.
13380 * tls.make.c: Likewise.
13382 * configure.in: Remove --with-__thread option. Make tests for
13383 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13384 tls_model attribute fail if no support is available. Remove
13386 * Makeconfig: Adjust for dropped configure option. All features are
13388 * Makerules: Likewise.
13389 * Versions.def: Likewise.
13390 * argp/argp-fmtstream.c: Likewise.
13391 * argp/argp-fmtstream.h: Likewise.
13392 * argp/argp-help.c: Likewise.
13393 * assert/assert.c: Likewise.
13394 * config.h.in: Likewise.
13395 * config.make.in: Likewise.
13396 * configure: Likewise.
13397 * configure.in: Likewise.
13398 * csu/Versions: Likewise.
13399 * csu/init.c: Likewise.
13400 * elf/tst-audit2.c: Likewise.
13401 * elf/tst-tls10.c: Likewise.
13402 * elf/tst-tls10.h: Likewise.
13403 * elf/tst-tls11.c: Likewise.
13404 * elf/tst-tls12.c: Likewise.
13405 * elf/tst-tls14.c: Likewise.
13406 * elf/tst-tlsmod11.c: Likewise.
13407 * elf/tst-tlsmod12.c: Likewise.
13408 * elf/tst-tlsmod13.c: Likewise.
13409 * elf/tst-tlsmod13a.c: Likewise.
13410 * elf/tst-tlsmod14a.c: Likewise.
13411 * elf/tst-tlsmod15b.c: Likewise.
13412 * elf/tst-tlsmod16a.c: Likewise.
13413 * elf/tst-tlsmod16b.c: Likewise.
13414 * elf/tst-tlsmod7.c: Likewise.
13415 * elf/tst-tlsmod8.c: Likewise.
13416 * elf/tst-tlsmod9.c: Likewise.
13417 * gmon/gmon.c: Likewise.
13418 * grp/fgetgrent_r.c: Likewise.
13419 * grp/putgrent.c: Likewise.
13420 * hurd/fopenport.c: Likewise.
13421 * include/libc-symbols.h: Likewise.
13422 * include/tls.h: Likewise.
13423 * intl/gettextP.h: Likewise.
13424 * intl/loadinfo.h: Likewise.
13425 * locale/global-locale.c: Likewise.
13426 * locale/localeinfo.h: Likewise.
13427 * mach/devstream.c: Likewise.
13428 * malloc/arena.c: Likewise.
13429 * malloc/set-freeres.c: Likewise.
13430 * misc/err.c: Likewise.
13431 * misc/getttyent.c: Likewise.
13432 * misc/mntent_r.c: Likewise.
13433 * posix/getopt.c: Likewise.
13434 * posix/wordexp.c: Likewise.
13435 * pwd/fgetpwent_r.c: Likewise.
13436 * resolv/Versions: Likewise.
13437 * resolv/res_hconf.c: Likewise.
13438 * shadow/fgetspent_r.c: Likewise.
13439 * shadow/putspent.c: Likewise.
13440 * stdio-common/printf_fphex.c: Likewise.
13441 * stdio-common/tmpfile.c: Likewise.
13442 * stdlib/abort.c: Likewise.
13443 * stdlib/fmtmsg.c: Likewise.
13444 * sunrpc/auth_unix.c: Likewise.
13445 * sunrpc/clnt_perr.c: Likewise.
13446 * sunrpc/clnt_tcp.c: Likewise.
13447 * sunrpc/clnt_udp.c: Likewise.
13448 * sunrpc/clnt_unix.c: Likewise.
13449 * sunrpc/openchild.c: Likewise.
13450 * sunrpc/svc_simple.c: Likewise.
13451 * sunrpc/svc_tcp.c: Likewise.
13452 * sunrpc/svc_udp.c: Likewise.
13453 * sunrpc/svc_unix.c: Likewise.
13454 * sunrpc/xdr.c: Likewise.
13455 * sunrpc/xdr_array.c: Likewise.
13456 * sunrpc/xdr_rec.c: Likewise.
13457 * sunrpc/xdr_ref.c: Likewise.
13458 * sunrpc/xdr_stdio.c: Likewise.
13460 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13462 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13464 2011-07-03 Andreas Jaeger <aj@suse.de>
13466 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13467 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13468 regenerate with gen-libm-tests.pl.
13470 2010-05-12 Petr Baudis <pasky@suse.cz>
13473 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13474 around j0() zero points by switching to j1().
13475 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13480 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13484 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13487 Patch in part by Pavel Roskin <proski@gnu.org>.
13490 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13492 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13493 Free memory block if necessary.
13496 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13497 be NULL. Don't lock in this case.
13499 2011-09-09 Roland McGrath <roland@hack.frob.com>
13501 * elf/elf.h (ELFOSABI_GNU): New macro.
13502 (ELFOSABI_LINUX): Define to that.
13504 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13506 * string/strncat.c (strncat): Undef the symbol in case it has been
13507 defined in bits/string.h.
13509 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13511 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13513 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13516 2011-08-17 Andreas Jaeger <aj@suse.de>
13518 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13520 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13521 Ian Lance Taylor <iant@google.com>
13523 * math/libm-test.inc (lround_test): New testcase.
13524 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13526 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13528 * Makefile: Remove support for automatic cvs check-ins.
13529 * Makerules: Likewise.
13530 * config.make.in: Likewise.
13531 * configure.in: Likewise.
13532 * intl/Makefile: Likewise.
13533 * locale/Makefile: Likewise.
13534 * po/Makefile: Likewise.
13535 * posix/Makefile: Likewise.
13536 * sysdeps/gnu/Makefile: Likewise.
13537 * sysdeps/mach/hurd/Makefile: Likewise.
13538 * sysdeps/sparc/sparc32/Makefile: Likewise.
13541 * posix/Makefile (bug-regex32-ENV): Define.
13542 Patch by John Stanley <jpsinthemix@verizon.net>.
13544 * misc/Makefile (headers): Add bits/select2.h.
13545 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13546 * misc/bits/select2.h: New file.
13547 * include/bits/select2.h: New file.
13548 * debug/Makefile (routines): Add fdelt_chk.
13549 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13550 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13552 * debug/fdelt_chk.c: New file.
13554 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13555 * wcsmbs/test-wmemcmp.c: Likewise.
13556 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13557 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13559 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13561 * string/Makefile (strop-tests): Add memcmp.
13562 * string/test-wmemcmp.c: New file.
13563 * string/test-memcmp.c: Add wmemcmp support.
13565 2011-09-08 Roland McGrath <roland@hack.frob.com>
13568 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13571 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13572 garbage value in a __mach_port_mod_refs call in the cases of the
13573 task-self and thread-self ports.
13575 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13577 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13579 2011-09-08 Andreas Schwab <schwab@redhat.com>
13581 * elf/dl-load.c (lose): Check for non-null L.
13583 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13585 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13587 * elf/dl-libc.c (dlerror_run): Pass back error code from
13591 * elf/dl-load.c (lose): Free l_origin if it is valid.
13593 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13595 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13596 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13597 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13598 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13599 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13600 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13602 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13604 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13605 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13606 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13607 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13608 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13609 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13610 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13611 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13612 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13613 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13615 2011-08-15 Alan Modra <amodra@gmail.com>
13618 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13619 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13620 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13621 ppc_mcount to static-only-routines.
13622 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13624 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13625 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13627 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13629 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13630 for finite and infinity parameters.
13632 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13634 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13635 and add nop instructions for throughput optimization.
13636 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13638 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13640 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13641 aligned copy for power7 with vector-scalar instructions.
13642 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13644 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13649 2011-09-07 Andreas Schwab <schwab@redhat.com>
13652 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13655 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13657 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13658 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13659 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13660 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13663 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13665 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13666 Forgot to demangle the pointer.
13668 * sysdeps/i386/sysdep.h: Define atom_text_section.
13669 * sysdeps/x86_64/sysdep.h: Likewise.
13670 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13671 section with atom_text_section.
13672 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13674 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13675 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13676 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13678 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13680 already be defined. Change to take two parameters and don't assign
13681 result to variable. Adjust all users.
13682 Define INTERNAL_GETTIME if not already defined.
13683 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13686 HAVE_CLOCK_GETTIME_VSYSCALL.
13687 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13690 gettimeofday vsyscall, just use time.
13692 2011-09-06 Andreas Schwab <schwab@redhat.com>
13694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13697 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13699 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13703 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13704 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13705 syscall if possible.
13707 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13709 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13710 e_ident. Don't pass to find_mapsXX.
13711 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13713 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13716 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13717 * sysdeps/x86_64/multiarch/strchr.S: Update.
13718 Check bit_slow_BSF bit.
13719 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13720 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13721 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13723 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13726 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13728 (tryshell): Define.
13729 (__spawni): Change last parameter to be flag. Test
13730 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13731 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13732 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13733 * posix/spawni.c: Likewise.
13734 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13735 * posix/spawnp.c: Likewise. Change normal version to use
13736 SPAWN_XFLAGS_USE_PATH.
13737 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13738 SPAWN_XFLAGS_TRY_SHELL.
13741 * posix/glob.h: Remove gcc 1.x support.
13744 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13746 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13749 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13751 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13752 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13753 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13754 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13755 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13756 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13758 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13760 * sysdeps/x86_64/wcscmp.S: New file.
13762 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13763 wcscmp-c wcscmp-sse2
13764 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13765 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13766 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13767 * wcsmbs/wcscmp.c: Allow renaming.
13769 2011-09-05 David S. Miller <davem@davemloft.net>
13771 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13772 stack slot, rather than the struct return pointer slot.
13773 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13774 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13776 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13778 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13780 * po/ja.po: Update from translation team.
13783 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13784 kernel in 64-bit binaries.
13786 2011-09-01 David S. Miller <davem@davemloft.net>
13788 * elf/elf.h (HWCAP_SPARC_*): Move to..
13789 * sysdeps/sparc/sysdep.h: this new file and add new values.
13790 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13791 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13792 _DL_HWCAP_COUNT to 24.
13793 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13795 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13796 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13797 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13799 instead of magic constants.
13800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13802 2011-08-31 David S. Miller <davem@davemloft.net>
13804 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13806 Reimplement to do errno handling inline.
13807 (SYSCALL_ERROR_HANDLER): New macro.
13808 (__SYSCALL_STRING): Do not do errno handling in asm.
13809 (__CLONE_SYSCALL_STRING): Delete.
13810 (__INTERNAL_SYSCALL_STRING): Delete.
13811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13812 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13813 (PSEUDO): Reimplement to do errno handling inline.
13814 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13815 (SYSCALL_ERROR_HANDLER): New macro.
13816 (__SYSCALL_STRING): Do not do errno handling in asm.
13817 (__CLONE_SYSCALL_STRING): Delete.
13818 (__INTERNAL_SYSCALL_STRING): Delete.
13819 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13820 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13822 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13823 (inline_syscall*): Add 'err' argument.
13824 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13825 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13826 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13827 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13829 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13830 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13832 2011-08-30 Andreas Schwab <schwab@redhat.com>
13834 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13836 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13838 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13841 2011-08-24 David S. Miller <davem@davemloft.net>
13843 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13845 2011-08-24 Andreas Schwab <schwab@redhat.com>
13847 * elf/Makefile: Add rules to build and run unload8 test.
13848 * elf/unload8.c: New file.
13849 * elf/unload8mod1.c: New file.
13850 * elf/unload8mod1x.c: New file.
13851 * elf/unload8mod2.c: New file.
13852 * elf/unload8mod3.c: New file.
13854 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13857 2011-08-23 David S. Miller <davem@davemloft.net>
13859 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13860 subtract stack bias.
13861 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13862 %sp not %fp in calculations.
13863 (_JMPBUF_UNWINDS_ADJ): Likewise.
13865 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13866 (aio_suspend): Call it to force an exception region around the
13867 AIO_MISC_WAIT() invocation.
13869 2011-08-23 Andreas Schwab <schwab@redhat.com>
13871 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13874 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13876 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13878 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13879 and <dl-machine.h>.
13880 (Elf64_FuncDesc): Remove.
13882 2011-08-22 David S. Miller <davem@davemloft.net>
13884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13885 sigaltstack check, add missing cfi directives.
13886 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13887 missing cfi directives, and sigaltstack handling.
13889 2011-08-16 Andreas Schwab <schwab@redhat.com>
13892 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13893 object is seen twice.
13894 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13896 * elf/Makefile (distribute): Add tst-initorder2.c.
13897 (tests): Add tst-initorder2.
13898 (modules-names): Add tst-initorder2a tst-initorder2b
13899 tst-initorder2c tst-initorder2d. Add rules to build them.
13900 ($(objpfx)tst-initorder2.out): New rule.
13901 * elf/tst-initorder2.c: New file.
13902 * elf/tst-initorder2.exp: New file.
13904 2011-08-22 Andreas Schwab <schwab@redhat.com>
13906 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13908 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13909 dependencies back to end of function.
13911 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13912 $(elfobjdir)/ld.so.
13914 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13917 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13919 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13920 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13921 of __vdso_gettimeofday.
13922 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13923 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13925 (_libc_vdso_platform_setup): Remove initialization of
13926 __vdso_gettimeofday and __vdso_time.
13928 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13930 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13931 and fgetc_unlocked.
13932 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13935 * elf/dl-open.c (add_to_global): Report additions to the global scope
13936 for LD_DEBUG=scopes.
13937 (dl_open_worker): Also print scope of newly loaded dependencies.
13938 (_dl_show_scope): Indicate if there is no scope.
13941 * stdio-common/Makefile (tests): Add bug24.
13942 * stdio-common/bug24.c: New file.
13944 2011-08-19 Andreas Jaeger <aj@suse.de>
13947 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13948 non-existant file when using close-on-exec mode.
13950 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13953 the very first instruction.
13955 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13956 the CFI state in the end.
13957 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13958 inclusion of dl-trampoline.h.
13959 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13961 2011-08-19 Andreas Schwab <schwab@redhat.com>
13963 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13964 expectations for long double.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13967 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13969 2011-08-14 David S. Miller <davem@davemloft.net>
13971 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13972 artificual limit depends upon the system page size.
13974 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13976 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13977 * resolv/Makefile: Define CFLAGS-libresolv.
13979 2011-08-17 Andreas Schwab <schwab@redhat.com>
13981 * nss/makedb.c (compute_tables): Make variables used in nested
13984 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13986 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13987 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13988 if buffer was too small.
13990 * elf/pldd.c (main): Attach to all threads in the process.
13991 Rewrite /proc handling to use *at functions.
13993 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13995 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13996 specifies first scope to show.
13997 (dl_open_worker): Update callers. Move printing scope of new
13998 object to before the relocation.
13999 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14000 * sysdeps/generic/ldsodefs.h: Update declaration.
14002 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14003 string for the scope number.
14005 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14007 * nscd/servicescache.c (cache_addserv): Make sure written is always
14010 2011-08-14 Roland McGrath <roland@hack.frob.com>
14012 * sysdeps/i386/i486/bits/atomic.h
14013 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14014 statement expression, so as to suppress "set but not used" warning.
14015 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14017 * string/strncat.c (STRNCAT): Use prototype definition.
14019 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14020 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14022 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14023 (localedef-modules): Add localedef.
14024 (locale-modules): Add locale.
14026 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14027 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14028 to avoid a warning.
14030 2011-08-14 David S. Miller <davem@davemloft.net>
14032 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14033 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14035 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14037 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14038 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14039 * elf/rtld.c (dl_main): Set l_name of vDSO.
14040 Call _dl_show_scope when DL_DEBUG_SCOPES.
14041 (process_dl_debug): Recognize scopes flag and also set it for all.
14042 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14043 Declare _dl_show_scope.
14045 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14046 (do_dlopen): Pass caller_dlopen to dl_open.
14047 (__libc_dlopen_mode): Initialize caller_dlopen.
14049 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14050 of libc. Make tolower call locale-independent. Optimize a bit by
14051 using isdigit instead of isalnum.
14052 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14054 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14056 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14057 was a dependency or dynamically loaded.
14059 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14061 * intl/l10nflist.c: Allow architecture-specific pop function.
14062 * sysdeps/x86_64/l10nflist.c: New file.
14064 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14067 2011-08-10 Andreas Schwab <schwab@redhat.com>
14069 * include/dirent.h: Add libc_hidden_proto for scandirat and
14070 scandirat64. Don't declare __scandirat64.
14071 * dirent/scandirat.c: Add libc_hidden_def.
14072 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14073 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14075 2011-08-10 David S. Miller <davem@davemloft.net>
14077 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14079 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14081 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14083 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14085 * Versions.def [libc]: Add GLIBC_2.15.
14086 * dirent/Makefile (routines): Add scandirat and scandirat64.
14087 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14089 * dirent/dirent.h: Declare scandirat and scandirat64.
14090 * dirent/scandirat.c: New file.
14091 * dirent/scandirat64.c: New file.
14092 * sysdeps/wordsize-64/scandirat.c: New file.
14093 * sysdeps/wordsize-64/scandirat64.c: New file.
14094 * dirent/opendir.c: Define opendirat.
14095 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14097 * dirent/scandir64.c: Adjust for scandir.c change.
14098 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14099 __scandirat64, and __scandir_cancel_handler.
14100 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14101 additional parameter and use openat instead of open (outside of ld.so).
14102 Add new __opendir as wrapper around __opendirat.
14103 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14104 here without requiring old scandirat implementation.
14106 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14108 * dirent/scandir.c (cancel_handler): Renamed to
14109 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14110 defined. Adjust users.
14111 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14114 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14116 * string/test-string.h (IMPL): Use __STRING to expand name and then
14119 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14122 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14124 * string/Makefile: Update.
14125 (strop-tests): Append strncat.
14126 * string/test-wcscmp.c: New file.
14127 New comprehensive test for wcscmp.
14128 * string/test-strcmp.c: Update.
14129 (WIDE): New define.
14131 2011-07-22 Andreas Schwab <schwab@redhat.com>
14133 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14136 2011-07-26 Andreas Schwab <schwab@redhat.com>
14138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14139 encoding to ACE if AI_IDN.
14141 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14143 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14144 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14146 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14148 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14149 Fix overflow bug in strncat.
14150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14152 * string/test-strncat.c: Update.
14153 Add new tests for checking overflow bugs.
14155 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14158 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14159 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14160 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14162 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14163 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14164 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14165 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14168 (USE_AS_STRCAT): Define.
14169 Add strcat and strncat support.
14170 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14172 2011-07-25 Andreas Schwab <schwab@redhat.com>
14174 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14175 __n bigger than INT_MAX+1.
14176 (__strncmp_g): Likewise.
14178 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14180 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14181 * libio/stido.h: Likewise.
14183 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14188 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14189 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14191 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14195 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14200 (_dl_x86_64_save_sse): Likewise.
14202 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14206 (_dl_x86_64_save_sse): Likewise.
14208 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14210 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14212 2011-07-21 Andreas Schwab <schwab@redhat.com>
14214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14216 (_dl_x86_64_save_sse): Use correct AVX check.
14218 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14220 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14221 bug in strncpy/strncat.
14222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14224 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14226 * string/tester.c (test_strcat): Add tests for different alignments
14227 of source and destination.
14228 (test_strncat): Likewise.
14230 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14233 * posix/glob.c (glob): Check passed in values before using them in
14234 expressions to avoid some overflows.
14235 (glob_in_dir): Likewise.
14238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14239 check for AVX enablement so that we don't crash with old kernels and
14241 * elf/tst-audit4.c: Add same checks here.
14242 * elf/tst-audit6.c: Likewise.
14244 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14246 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14248 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14250 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14252 * po/cs.po: Update from translation team.
14253 * po/bg.po: Likewise.
14255 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14257 * misc/sys/cdefs.h: Add support for const attribute.
14258 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14259 to gnu_dev_{major,minor,makedev} functions.
14261 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14263 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14265 2011-07-20 Andreas Schwab <schwab@redhat.com>
14267 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14270 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14273 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14274 register in order to avoid conflicts with the soft frame pointer
14275 being held in r11 when necessary.
14276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14277 (INTERNAL_VSYSCALL_NCS): Likewise.
14279 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14281 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14282 * elf/dl-fini.c (_dl_fini): Adjust caller.
14283 * elf/dl-close.c (_dl_close_worker): Likewise.
14284 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14286 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14288 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14289 "aux_cache->nlibs < 0".
14291 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14292 in the reload-count case.
14294 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14297 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14298 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14299 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14300 * sysdeps/x86_64/multiarch/strcat.S: New file.
14301 * sysdeps/x86_64/multiarch/strncat.S: New file.
14302 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14303 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14304 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14305 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14307 (USE_AS_STRCAT): Define.
14308 Add strcat and strncat support.
14309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14311 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14312 * string/strncat.c: Update.
14313 (USE_AS_STRNCAT): Define.
14314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14315 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14317 * sysdeps/x86_64/multiarch/init-arch.h
14318 (bit_Prefer_PMINUB_for_stringop): New.
14319 (index_Prefer_PMINUB_for_stringop): Likewise.
14320 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14321 bit_Prefer_PMINUB_for_stringop.
14323 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14325 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14327 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14328 of casting of buffer.
14329 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14330 buffer32 and buffer64.
14331 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14332 writes instead of casting of buffer.
14333 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14335 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14338 2011-07-19 Andreas Schwab <schwab@redhat.com>
14340 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14342 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14344 * nscd/nscd.c (termination_handler): Don't do anything for a database
14345 if it has not yet been initialized.
14347 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14349 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14351 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14353 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14355 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14357 * po/nl.po: Update from translation team.
14358 * po/sv.po: Likewise.
14360 2011-07-16 Roland McGrath <roland@hack.frob.com>
14362 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14363 now disallowed by GCC.
14365 * configure.in (use-default-link): Default to yes if a test -shared
14366 link meets our qualifications.
14367 * configure: Regenerated.
14369 * config.make.in (output-format): New variable.
14370 * configure.in: Check for ld --print-output-format support.
14371 * configure: Regenerated.
14372 * Makerules ($(common-objpfx)format.lds)
14373 [$(output-format) != unknown]: Just use $(output-format),
14374 instead of the linker-script munging.
14376 2011-07-14 Roland McGrath <roland@hack.frob.com>
14378 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14379 of $(common-objpfx)shlib.lds.
14380 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14382 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14383 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14385 * configure.in (-z relro check): Adjust test code to add a large
14386 writable data section after it.
14387 * configure: Regenerated.
14389 2011-07-11 Roland McGrath <roland@hack.frob.com>
14391 * configure.in (-z relro check): Fix test code to make the variable
14393 * configure: Regenerated.
14395 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14397 * nscd/nscd.h (struct traced_file): Define.
14398 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14399 elements. Add traced_files.
14400 (inotify_fd): Declare.
14401 (register_traced_file): Declare.
14402 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14403 (inotify_fd): Export.
14404 (resolv_conf_descr): Remove.
14405 (nscd_init): Move inotify descriptor creation to main.
14406 Don't register files for notification here.
14407 (register_traced_file): New function.
14408 (invalidate_cache): Don't use reset_res to determine whether to call
14409 res_init, go through the list of registered files.
14410 (main_loop_poll): The inotify descriptors are now stored in the
14411 structures for the traced files.
14412 (main_loop_epoll): Likewise
14413 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14414 to __nss_disable_nscd.
14415 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14416 for a database anymore. Check the records for all the registered
14418 * nss/Makefile (libnss_files-routines): Add files-init.
14419 (libnss_db-routines): Add db-init.
14420 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14421 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14422 * nss/nss_db/db-init.c: New file.
14423 * nss/nss_files/files-init.c: New file.
14424 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14425 __nss_lookup_function.
14426 (__nss_lookup_function): Call nss_load_library.
14427 (nss_load_all_libraries): New function.
14428 (__nss_disable_nscd): Take parameter with callback function for files
14429 to register. Set is_nscd. Load all the DSOs for the NSS modules
14430 used for the cached services.
14431 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14432 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14433 options for features to all the files in nscd.
14435 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14437 2011-07-10 Roland McGrath <roland@hack.frob.com>
14439 * csu/elf-init.c (__libc_csu_init): Comment typo.
14441 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14443 * po/pl.po: Update from translation team.
14444 * po/ja.po: Likewise.
14445 * po/ru.po: Likewise.
14446 * po/ko.po: Likewise.
14447 * po/fr.po: Likewise.
14449 2011-07-09 Roland McGrath <roland@hack.frob.com>
14451 * configure.in (.ctors/.dtors header and trailer check):
14452 Use an empirical test on a built program.
14453 * configure: Regenerated.
14455 * configure.in (-z relro check): Use an empirical test on a built DSO.
14456 Detect, but do not require, on ia64.
14457 * configure: Regenerated.
14459 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14460 Update tests that use readelf to use $READELF instead.
14461 * configure: Regenerated.
14463 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14465 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14466 if the result is not used.
14468 2011-07-05 Andreas Jaeger <aj@suse.de>
14471 * stdlib/tst-strtod.c: Add testcase.
14473 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14475 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14476 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14477 The latter has a higher limit. Take additional parameter to pass to
14479 (__pathconf): Pass file to __statfs_link_max.
14480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14482 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14486 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14487 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14490 (__statfs_filesize_max): Likewise.
14491 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14493 2011-07-05 Andreas Jaeger <aj@suse.de>
14495 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14497 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14499 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14501 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14504 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14506 * Makefile (strop-tests): Add strncat.
14507 * string/test-strncat.c: New file.
14509 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14511 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14513 2011-06-21 Andreas Jaeger <aj@suse.de>
14515 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14516 Copy rule from iconvdata/Makefile.
14518 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14521 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14522 but no long options are defined, just return 'W'.
14524 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14527 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14529 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14531 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14533 (innetgr): Likewise.
14535 2011-07-05 Roland McGrath <roland@hack.frob.com>
14537 * config.make.in (install_root): Default to $(DESTDIR).
14539 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14541 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14543 2011-07-02 Roland McGrath <roland@hack.frob.com>
14545 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14547 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14548 containing directory rather than embedding absolute directory names.
14550 * scripts/check-local-headers.sh: Rewritten using awk.
14551 Match by word, not by line. Print error messages for matches.
14552 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14554 * Makerules [shlib-lds-flags empty]:
14555 ($(common-objpfx)libc_pic.opts): New target.
14556 ($(common-objpfx)libc_pic.os.clean): New target.
14557 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14559 * config.make.in (OBJCOPY): New variable.
14560 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14561 * configure: Regenerated.
14563 * config.make.in (use-default-link): New variable.
14564 * configure.in (use_default_link): Grok --with-default-link to set it.
14565 * configure: Regenerated.
14566 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14567 (shlib-lds, shlib-lds-flags): Define to empty.
14569 * Makerules (shlib-lds): New variable.
14570 (shlib-lds-flags): New variable.
14571 (build-shlib, build-moduile, build-module-asneeded): Use it.
14572 ($(common-objpfx)libc.so): Use $(shlib-lds).
14573 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14574 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14576 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14577 DT_FLAGS/DT_FLAGS_1 with zero flags.
14579 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14580 linker script munging.
14582 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14584 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14586 * crypt/sha512.c (sha512_process_block): Perform total addition using
14587 128-bit if possible.
14588 (__sha512_finish_ctx): Likewise.
14589 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14591 * crypt/sha256.c (SWAP64): Define.
14592 (sha256_process_block): Perform total addition using 64-bit if
14594 (__sha256_finish_ctx): Likewise.
14596 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14598 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14600 * nscd/hstcache.c (cache_addhst): Likewise.
14601 * nscd/grpcache.c (cache_addgr): Likewise.
14602 * nscd/aicache.c (addhstaiX): Likewise
14603 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14605 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14607 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14609 * nscd/hstcache.c (cache_addhst): Likewise.
14610 * nscd/grpcache.c (cache_addgr): Likewise.
14611 * nscd/aicache.c (addhstaiX): Likewise
14613 2011-07-01 Andreas Schwab <schwab@redhat.com>
14615 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14616 domain only when needed.
14618 2011-06-30 Andreas Schwab <schwab@redhat.com>
14620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14621 is always restored.
14623 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14625 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14626 are re-adding the entry.
14627 * nscd/servicescache.c (cache_addserv): Likewise.
14629 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14631 * sysdeps/generic/dl-irel.h: fix protection against multiple
14633 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14635 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14638 * malloc/memusage.sh: Fix quoting in message.
14639 * debug/xtrace.sh: Likewise.
14641 * configure.in: Remove support for --experimental-malloc option, make
14643 * config.make.in: Likewise.
14644 * malloc/Makefile: Likewise.
14646 2011-06-27 Andreas Schwab <schwab@redhat.com>
14648 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14649 two-byte characters.
14651 2011-06-27 Roland McGrath <roland@hack.frob.com>
14653 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14654 AC_CACHE_CHECK invocation.
14655 * configure: Regenerated.
14657 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14659 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14662 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14663 bit from old_res_options.
14665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14667 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14668 value type for setfct.
14670 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14673 __gettimeofday instead of gettimeofday.
14675 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14677 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14679 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14681 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14686 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14689 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14690 strcpy-sse2-unaligned strncpy-sse2-unaligned
14691 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14692 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14693 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14694 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14695 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14698 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14699 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14700 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14701 (STRCPY): Support SSE2 and SSSE3 versions.
14703 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14706 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14707 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14708 kernels which artificially limit size of requests.
14710 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14713 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14714 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14715 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14716 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14717 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14718 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14719 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14720 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14722 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14723 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14724 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14725 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14726 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14728 Enable unaligned load optimization for Intel Core i3, i5 and i7
14730 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14732 (index_Fast_Unaligned_Load): Define.
14733 (HAS_FAST_UNALIGNED_LOAD): Define.
14735 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14737 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14739 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14742 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14743 until it is clear that the information is realy needed.
14744 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14746 2011-06-22 Andreas Schwab <schwab@redhat.com>
14748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14750 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14753 /sys/devices/system/cpu/online if it is usable.
14755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14756 reading the information from the /proc filesystem to once a second.
14758 2011-06-21 Andreas Jaeger <aj@suse.de>
14760 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14761 NULL after inclusion of kernel headers.
14763 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14765 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14766 calls to internal_setent.
14769 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14770 addresses using gethostbyname4_r ignore IPv4 addresses.
14772 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14773 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14775 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14777 2011-06-20 David S. Miller <davem@davemloft.net>
14779 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14781 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14783 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14784 (elf_irel): Use it.
14785 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14786 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14787 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14788 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14789 * sysdeps/x86_64/dl-irel.h: Likewise.
14791 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14792 * elf/dl-sym.c: Likewise.
14794 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14796 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14797 need to dereference resplen2.
14799 2011-06-14 Andreas Schwab <schwab@redhat.com>
14801 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14803 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14805 * Makeconfig: Define vardbdir and inst_vardbdir.
14806 * nss/Makefile: Add rules to install db-Makefile.
14808 * nss/nss_db/db-XXX.c: Cleanup.
14810 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14811 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14813 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14814 * nss/makedb.c: Implement -g option to specify that value strings
14815 are generated and should not be added to table iterated over for
14817 * nss/nss_db/db-initgroups.c: New file.
14819 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14822 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14823 (internal_getgrouplist): Adjust to name change.
14824 Update use_initgroups_entry if this is not the first call.
14825 * nss/databases.def: Add initgroups entry.
14827 * nss/makedb.c (compute_tables): Check result of multiple hash table
14828 sizes to minimize maximum chain length.
14830 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14832 * Versions.def: Add entry for libnss_db.
14833 * shlib-versions: Likewise.
14834 * nss/Makefile: Add rules to build libnss_db.
14835 * nss/Versions: Add libnss_db information. Organize libnss_files
14837 * nss/db-Makefile: Add gshadow support. Change rules for the new
14838 makedb progra. Some minor improvements to generate smaller files.
14839 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14841 * nss/makedb.c: ...here.
14842 Improve database format to be smaller and require less memory at
14844 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14846 * nss/nss_db/db-netgrp.c: Likewise.
14847 * nss/nss_db/db-open.c: Likewise.
14848 * nss/nss_files/flies-XXX.x: Adjust comments.
14849 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14850 * nss/nss_files/files-grp.c: Likewise.
14851 * nss/nss_files/files-hosts.c: Likewise.
14852 * nss/nss_files/files-network.c: Likewise.
14853 * nss/nss_files/files-proto.c: Likewise.
14854 * nss/nss_files/files-pwd.c: Likewise.
14855 * nss/nss_files/files-rpc.c: Likewise.
14856 * nss/nss_files/files-service.c: Likewise.
14857 * nss/nss_files/files-sgrp.c: Likewise.
14858 * nss/nss_files/files-spwd.c: Likewise.
14859 * nss/nss_db/db-alias.c: Removed.
14860 * nss/nss_db/dummy-db.h: Removed.
14862 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14864 * nss/makedb.c: Rewritten to not use database library.
14865 * nss/Makefile: Update to build new makedb program.
14867 2011-06-14 Andreas Jaeger <aj@suse.de>
14869 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14870 memset declaration.
14872 2011-06-10 Andreas Schwab <schwab@redhat.com>
14874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14877 2011-06-10 Roland McGrath <roland@hack.frob.com>
14879 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14880 * elf/Makefile ($(objpfx)ld.so): Likewise.
14882 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14883 Don't list ld.so twice in dependencies.
14885 * posix/bug-regex31.c: Include <stdlib.h>.
14887 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14889 * nis/nss_compat/compat-spwd.c
14890 (getspent_next_nss_netgr): Remove unused variable.
14891 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14893 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14894 nonmembers" output to use the right array.
14896 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14898 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14900 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14901 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14902 * catgets/gencat.c (read_input_file): Likewise.
14903 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14905 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14906 variable definition inside #if's controlling its use.
14908 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14910 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14912 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14914 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14917 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14919 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14920 * configure: Regenerated.
14922 * Makerules: Revert last change.
14923 * elf/Makefile: Likewise.
14925 2011-06-09 Roland McGrath <roland@hack.frob.com>
14927 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14928 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14929 (reloc-link): Likewise.
14931 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14933 * elf/Makefile: Add rules to build pldd.
14934 * elf/pldd.c: New file.
14935 * elf/pldd-xx.c: New file.
14937 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14939 * version.h: Update for 2.15 development version.
14941 2011-06-07 David S. Miller <davem@davemloft.net>
14943 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14946 elf_machine_lazy_rel): Likewise.
14947 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14949 elf_machine_lazy_rel): Likewise.
14950 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14951 dl_hwcap via passed in argument.
14952 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14955 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14957 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14959 2011-06-06 Roland McGrath <roland@hack.frob.com>
14962 * manual/fdl-1.1.texi: New file, verbatim from:
14963 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14964 * manual/lgpl-2.1.texi: New file, verbatim from:
14965 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14966 * manual/Makefile (licenses): New variable, list those new file names.
14968 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14970 * manual/fdl.texi: File removed.
14971 * manual/lesser.texi: File removed.
14972 * manual/libc.texinfo (Copying, Documentation License):
14973 Use new @include file names, put @appendix directive before @include.
14975 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14978 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14979 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14980 (mq_open): Add __NTH.
14982 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14985 Assume Intel Core i3/i5/i7 processor if AVX is available.
14987 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14992 2011-05-31 Andreas Schwab <schwab@redhat.com>
14994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14995 memory. Use alloca_account. Fix memory leak when retrying.
14997 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14999 * version.h (RELEASE): Bump for 2.14 release.
15000 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15002 * config.make.in (RANLIB): Remove entry.
15004 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15006 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15007 (libc.pot): Work around missing support for .ksh extension in xgettext.
15010 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15011 if both request failed.
15012 (send_dg): In case of server errors clear resplen or *resplen2.
15015 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15016 when there are multiple maps.
15017 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15018 (_dl_fini): Remove test here.
15020 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15022 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15025 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15026 bit from old_res_options.
15027 (gaih_inet): Likewise.
15030 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15033 * resolv/res_init.c (res_setoptions): Make the code more compact.
15036 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15040 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15042 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15045 * malloc/malloc.h: Declare malloc hook variables as volatile.
15047 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15051 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15052 raise in the comment.
15053 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15054 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15055 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15057 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15060 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15061 grow the buffers more if it already has to be sufficient.
15062 (build_wcs_upper_buffer): Likewise.
15063 * posix/regexec.c (check_matching): Likewise.
15064 (clean_state_log_if_needed): Likewise.
15065 (extend_buffers): Don't enlarge buffers beyond size of the input
15067 Patches mostly by Emil Wojak <emil@wojak.eu>.
15068 * posix/bug-regex32.c: New file.
15069 * posix/Makefile (tests): Add bug-regex32.
15071 * locale/findlocale.c (_nl_find_locale): Return right away if
15072 _nl_explode_name failed.
15073 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15075 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15077 * debug/xtrace.sh: Unify messages.
15078 * malloc/memusage.sh: Likewise.
15081 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15082 time symbol from vDSO. Substitute with vsyscall if not available.
15083 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15086 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15087 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15088 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15089 Add sendmmsg and internal_sendmmsg.
15090 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15091 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15092 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15094 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15095 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15098 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15102 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15108 * iconvdata/Makefile (tests): Add bug-iconv9.
15109 * iconvdata/bug-iconv9.c: New file.
15111 2011-05-27 Andreas Schwab <schwab@redhat.com>
15114 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15116 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15119 (struct user_regs_struct): Change intcs field back to cs.
15121 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15123 * po/ja.po: Update from translation team.
15125 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15128 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15129 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15131 2011-05-20 Andreas Schwab <schwab@redhat.com>
15133 * stdlib/longlong.h: Update from GCC.
15135 2011-05-23 Andreas Schwab <schwab@redhat.com>
15137 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15139 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15140 Add parameter name.
15141 (__sysconf): Pass it down.
15143 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15146 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15149 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15150 add in in __libc_use_alloca calls. Adjust callers.
15151 (glob): Use malloc in some situations.
15153 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15154 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15157 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15159 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15160 and CLOCK_BOOTTIME_ALARM.
15163 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15166 * string/_strerror.c (__strerror_r): Print negative errors as signed
15170 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15171 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15172 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15174 * configure.in: Fix typo in redirection and correct removal of test
15175 files in two cases.
15178 * locale/setlocale.c (new_composite_name): Fix test to check for
15179 identical name of all categories.
15182 * libio/filedoalloc.c (local_isatty): New function.
15183 (_IO_file_doallocate): Use local_isatty.
15184 * stdio-common/perror.c (perror): In case a new stream is used
15185 forward the stream error.
15186 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15189 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15194 * include/alloca.h (extend_alloca_account): Define.
15197 * posix/regex.h: Fix comments with documentation of user-accessible
15198 fields after compilation and describe correct free'ing of pattern
15199 after re_compile_pattern.
15200 Patch by Reuben Thomas <rrt@sc3d.org>.
15202 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15204 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15205 and -mno-altivec to prevent the compiler from using Altivec and/or
15206 VSX instructions when the corresponding registers are not available.
15208 2011-05-19 Andreas Schwab <schwab@redhat.com>
15210 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15212 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15214 * libio/freopen.c (freopen): Use __dup2, not dup2.
15215 * libio/freopen64.c (freopen64): Likewise.
15217 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15220 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15221 * math/Makefile (tests): Add test-powl.
15222 (CFLAGS-test-powl.c): Define.
15223 * math/test-powl.c: New file.
15225 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15227 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15229 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15232 * iconvdata/gb18030.c: Update to GB18020-2005.
15234 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15236 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15237 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15238 Patch by Aharon Robbins <arnold@skeeve.com>.
15241 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15245 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15246 through underflows.
15249 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15250 point to strings before performing equality test for error_one_per_line
15254 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15257 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15258 (struct user_fpregs_struct): Avoid __uint*_t types.
15261 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15262 symbol info. Use it instead of calling _dl_addr locally.
15263 (lock_and_info): New function.
15264 (tr_freehook): Call lock_and_info and pass symbol info as additional
15265 parameter to tr_where.
15266 (tr_mallochook): Likewise.
15267 (tr_reallochook): Likewise.
15268 (tr_memalignhook): Likewise.
15270 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15271 used and couldn't be at all thread-safe.
15273 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15275 * libio/freopen.c (freopen): Don't close old file descriptor
15276 before the new one is opened. Instead dup the new file descriptor
15277 to the old one after the new stream is created.
15278 * libio/freopen64.c (freopen64): Likewise.
15279 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15280 * libio/fileops.c (_IO_new_file_close_it): Handle new
15281 _IO_FLAGS2_NOCLOSE flag.
15282 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15283 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15284 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15285 _IO_FLAGS2_NOCLOSE flag.
15286 * include/unistd.h: Add hidden_proto for dup3.
15287 Define __have_dup3.
15288 * io/dup3.c: Define hidden symbol.
15289 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15292 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15293 when an incomplete long option is used.
15294 * posix/tst-getopt_long1.c: New file.
15295 * posix/Makefile (tests): Add tst-getopt_long1.
15298 * scripts/config.guess: Update from autoconf-2.68.
15299 * scripts/config.sub: Likewise.
15302 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15304 (has_cpuclock): ...this. New function.
15305 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15306 macro here based on has_cpuclock code.
15309 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15310 First byte (not low byte) is now always NUL.
15311 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15314 Use non-cancelable interfaces.
15317 * locale/iso-639.def: Add entry for Sorani.
15320 * include/stdlib.h: Move include protection to the right place.
15321 Define abort_msg_s. Declare __abort_msg with it.
15322 * stdlib/abort.c (__abort_msg): Adjust type.
15323 * assert/assert.c (__assert_fail_base): New function. Majority
15324 of code from __assert_fail. Allocate memory for __abort_msg with
15326 (__assert_fail): Now call __assert_fail_base.
15327 * assert/assert-perr.c: Remove bulk of implementation. Use
15328 __assert_fail_base.
15329 * include/assert.hL Declare __assert_fail_base.
15330 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15332 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15334 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15338 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15339 until all modules are registered in the DTV.
15340 * elf/Makefile: Add rules to build and run tst-tls19.
15341 * elf/tst-tls19.c: New file.
15342 * elf/tst-tls19mod1.c: New file.
15343 * elf/tst-tls19mod2.c: New file.
15344 * elf/tst-tls19mod3.c: New file.
15345 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15348 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15352 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15353 two-byte sequence errors.
15354 * iconvdata/Makefile (tests): Add bug-iconv8.
15355 * iconvdata/bug-iconv8.c: New file.
15358 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15361 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15364 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15365 (dummy_getcfa): New function.
15366 (init): Get _Unwind_GetCFA address, use dummy if not found.
15367 (backtrace_helper): In recursion check, also check whether CFA changes.
15368 (__backtrace): Completely initialize arg.
15370 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15371 storing incomplete byte sequence in state object. Avoid testing for
15372 guaranteed too small input if we know there is enough data available.
15374 2011-05-11 Andreas Schwab <schwab@redhat.com>
15376 * Makeconfig (+link-pie): Indent.
15377 * Rules (binaries-pie): Define if $(have-fpie) and
15379 (binaries-shared): Also filter out $(binaries-pie).
15380 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15381 * nscd/Makefile (others-pie): Add nscd.
15382 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15383 ($(objpfx)nscd): Remove command override.
15384 * login/Makefile (others-pie): Add pt_chown.
15385 ($(objpfx)pt_chown): Remove command override.
15386 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15387 remove command overrides.
15389 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15391 * libio/tst_putwc.c: Fix error messages.
15394 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15395 currently writing and seek to current position when not.
15396 * libio/Makefile (tests): Add bug-fclose1.
15397 * libio/bug-fclose1.c: New file.
15399 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15402 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15403 don't set DF_1_NODELETE here.
15404 (do_lookup_x): When entering new entry test for copy relocation
15405 and if necessary set DF_1_NODELETE flag.
15406 * elf/tst-unique4.cc: New file.
15407 * elf/tst-unique4.h: New file.
15408 * elf/tst-unique4lib.cc: New file.
15409 * elf/Makefile: Add rules to build and run tst-unique4.
15410 Patch by Piotr Bury <pbury@goahead.com>.
15412 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15415 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15418 * misc/mntent_r.c (addmntent): Flush the stream after the output
15421 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15422 (is_trusted_path_normalize): Skip initial colon. Append slash
15423 to empty buffer. Duplicate is_trusted_path code but allow
15424 constructed patch to be prefix.
15425 (is_dst): Allow $ORIGIN followed by /.
15426 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15427 Correct testing of result of is_trusted_path_normalize
15428 (decompose_rpath): Fix warning.
15430 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15433 * grp/initgroups.c (internal_getgrouplist): When we found the service
15434 list through the initgroups entry in nsswitch.conf do not always
15435 continue on a successful lookup. Don't always use the
15436 __nss_group_database value if it is set.
15437 * nss/nsswitch.conf (initgroups): Change action for successful db
15438 lookup to continue for compatibility.
15440 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15443 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15445 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15447 * iconvdata/tst-tables.sh: Likewise.
15448 * iconvdata/cp770.c: New file.
15449 * iconvdata/cp771.c: New file.
15450 * iconvdata/cp772.c: New file.
15451 * iconvdata/cp773.c: New file.
15452 * iconvdata/cp774.c: New file.
15453 * iconvdata/testdata/CP770: New file.
15454 * iconvdata/testdata/CP770..UTF8: New file.
15455 * iconvdata/testdata/CP771: New file.
15456 * iconvdata/testdata/CP771..UTF8: New file.
15457 * iconvdata/testdata/CP772: New file.
15458 * iconvdata/testdata/CP772..UTF8: New file.
15459 * iconvdata/testdata/CP773: New file.
15460 * iconvdata/testdata/CP773..UTF8: New file.
15461 * iconvdata/testdata/CP774: New file.
15462 * iconvdata/testdata/CP774..UTF8: New file.
15464 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15466 * iconvdata/gen-8bit-gap.sh: Likewise.
15467 * iconvdata/gen-8bit.sh: Likewise.
15469 * locale/iso-639.def: Add ary entry.
15472 * locale/C-translit.h.in: Add U20A1 transliteration.
15475 * locale/iso-639.def: Add wae entry.
15476 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15479 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15483 * locale/C-translit.h.in: Add entry for U20B9.
15484 Patch by pravin.d.s@gmail.com.
15486 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15489 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15490 ENAMETOOLONG use generic getcwd.
15491 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15492 in rtld. Use *stat64.
15493 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15494 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15495 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15496 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15497 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15498 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15499 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15500 __fstatat64 macros.
15501 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15502 * dirent/rewinddir.c: Add libc_hidden_def.
15503 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15504 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15506 * include/dirent.h (__alloc_dir): Add flags parameter.
15507 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15508 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15510 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15511 from fdopendir if O_CLOEXEC is already set.
15513 2011-03-15 Alan Modra <amodra@gmail.com>
15515 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15516 l_tls_firstbyte_offset non-zero. Save padding offset in
15517 l_tls_firstbyte_offset for later use.
15518 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15519 freeing static tls block.
15521 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15523 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15524 where #ifdef was intended. The intent is to prevent ARG_MAX from
15525 being defined by the kernel headers.
15527 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15530 * resolv/resolv.h: Define RES_NOTLDQUERY.
15531 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15532 no-tld-query and set RES_NOTLDQUERY.
15533 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15534 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15535 modern BIND to search name as TLD unless forbidden.
15537 2011-05-07 Petr Baudis <pasky@suse.cz>
15538 Ulrich Drepper <drepper@gmail.com>
15541 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15542 (is_trusted_path): ...to here.
15543 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15544 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15545 using is_trusted_path_normalize() in setuid scripts.
15547 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15549 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15550 __BEGIN/__END_DECLS.
15552 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15555 NSS_STATUS_NOTFOUND if no record was found.
15557 2011-05-05 Andreas Schwab <schwab@redhat.com>
15559 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15560 (headers-not-in-tirpc): Remove rpc/netdb.h
15561 * resolv/netdb.h: Revert last change.
15563 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15565 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15566 circular dependency between libgcc.a and libc.a.
15568 2011-05-05 Andreas Schwab <schwab@redhat.com>
15570 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15571 * nis/Makefile: Don't install rpcsvc/*.
15572 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15573 instead of <rpc/types.h>.
15574 (MAXHOSTNAMELEN): Define.
15576 2011-05-03 Andreas Schwab <schwab@redhat.com>
15578 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15580 2011-04-28 Maciej Babinski <mbabinski@google.com>
15583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15584 gethostbyname4_r when IPv6 results are possible.
15586 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15589 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15590 _PC_PIPE_BUF handling.
15592 2011-04-30 Bruno Haible <bruno@clisp.org>
15595 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15596 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15598 * inet/getnameinfo.c (getnameinfo): Likewise.
15600 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15602 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15603 to groups setting in database lookup.
15604 * nss/nsswitch.conf: Add initgroups entry.
15606 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15609 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15611 Patch by Eric Blake <eblake@redhat.com>.
15613 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15615 * sunrpc/Makefile (need-export-routines): Add svc_run.
15616 (routines): Remove svc_run.
15617 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15618 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15619 * sunrpc/svc_run.c (svc_run): Likewise.
15620 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15622 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15625 problem in reallocation in last patch.
15627 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15629 * sunrpc/Makefile: Move inclusion of Rules.
15631 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15633 * nss/nss_files/files-initgroups.c: New file.
15634 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15635 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15636 _nss_files_initgroups_dyn.
15638 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15640 * elf/elf.h (R_ARM_IRELATIVE): Define.
15642 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15644 * po/ru.po: Update from translation team.
15646 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15648 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15651 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15654 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15655 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15656 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15660 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15662 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15664 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15668 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15671 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15673 * stdlib/bug-getcontext.c: New file.
15674 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15676 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15678 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15679 instructions into .machine "z9-109".
15680 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15681 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15683 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15685 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15686 between environment variables and auxiliary vector.
15688 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15690 * Makefile: Add rules to build linkobj/libc.so.
15691 * include/libc-symbols.h: Define libc_hidden_nolink.
15692 * include/rpc/auth.h: Mark functions which are to be hidden.
15693 * include/rpc/auth_des.h: Likewise.
15694 * include/rpc/auth_unix.h: Likewise.
15695 * include/rpc/clnt.h: Likewise.
15696 * include/rpc/des_crypt.h: Likewise.
15697 * include/rpc/key_prot.h: Likewise.
15698 * include/rpc/pmap_clnt.h: Likewise.
15699 * include/rpc/pmap_prot.h: Likewise.
15700 * include/rpc/pmap_rmt.h: Likewise.
15701 * include/rpc/rpc_msg.h: Likewise.
15702 * include/rpc/svc.h: Likewise.
15703 * include/rpc/svc_auth.h: Likewise.
15704 * include/rpc/xdr.h: Likewise.
15705 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15706 * nss/Makefile: Likewise.
15707 * sunrpc/Makefile: Don't install headers. Build library with normal
15708 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15709 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15710 for the compat linking library. Remove use of INTDEF/INTUSE.
15711 * sunrpc/auth_none.c: Likewise.
15712 * sunrpc/auth_unix.c: Likewise.
15713 * sunrpc/authdes_prot.c: Likewise.
15714 * sunrpc/authuxprot.c: Likewise.
15715 * sunrpc/clnt_gen.c: Likewise.
15716 * sunrpc/clnt_perr.c: Likewise.
15717 * sunrpc/clnt_raw.c: Likewise.
15718 * sunrpc/clnt_simp.c: Likewise.
15719 * sunrpc/clnt_tcp.c: Likewise.
15720 * sunrpc/clnt_udp.c: Likewise.
15721 * sunrpc/clnt_unix.c: Likewise.
15722 * sunrpc/des_crypt.c: Likewise.
15723 * sunrpc/des_soft.c: Likewise.
15724 * sunrpc/get_myaddr.c: Likewise.
15725 * sunrpc/key_call.c: Likewise.
15726 * sunrpc/key_prot.c: Likewise.
15727 * sunrpc/netname.c: Likewise.
15728 * sunrpc/pm_getmaps.c: Likewise.
15729 * sunrpc/pm_getport.c: Likewise.
15730 * sunrpc/pmap_clnt.c: Likewise.
15731 * sunrpc/pmap_prot.c: Likewise.
15732 * sunrpc/pmap_prot2.c: Likewise.
15733 * sunrpc/pmap_rmt.c: Likewise.
15734 * sunrpc/publickey.c: Likewise.
15735 * sunrpc/rpc_cmsg.c: Likewise.
15736 * sunrpc/rpc_common.c: Likewise.
15737 * sunrpc/rpc_dtable.c: Likewise.
15738 * sunrpc/rpc_prot.c: Likewise.
15739 * sunrpc/rpc_thread.c: Likewise.
15740 * sunrpc/rtime.c: Likewise.
15741 * sunrpc/svc.c: Likewise.
15742 * sunrpc/svc_auth.c: Likewise.
15743 * sunrpc/svc_authux.c: Likewise.
15744 * sunrpc/svc_raw.c: Likewise.
15745 * sunrpc/svc_run.c: Likewise.
15746 * sunrpc/svc_simple.c: Likewise.
15747 * sunrpc/svc_tcp.c: Likewise.
15748 * sunrpc/svc_udp.c: Likewise.
15749 * sunrpc/svc_unix.c: Likewise.
15750 * sunrpc/svcauth_des.c: Likewise.
15751 * sunrpc/xcrypt.c: Likewise.
15752 * sunrpc/xdr.c: Likewise.
15753 * sunrpc/xdr_array.c: Likewise.
15754 * sunrpc/xdr_float.c: Likewise.
15755 * sunrpc/xdr_intXX_t.c: Likewise.
15756 * sunrpc/xdr_mem.c: Likewise.
15757 * sunrpc/xdr_rec.c: Likewise.
15758 * sunrpc/xdr_ref.c: Likewise.
15759 * sunrpc/xdr_sizeof.c: Likewise.
15760 * sunrpc/xdr_stdio.c: Likewise.
15762 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15765 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15766 * sysdeps/ia64/dl-tls.h: Likewise.
15767 * sysdeps/powerpc/dl-tls.h: Likewise.
15768 * sysdeps/s390/dl-tls.h: Likewise.
15769 * sysdeps/sh/dl-tls.h: Likewise.
15770 * sysdeps/sparc/dl-tls.h: Likewise.
15771 * sysdeps/x86_64/dl-tls.h: Likewise.
15772 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15774 2011-03-14 Andreas Schwab <schwab@redhat.com>
15776 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15777 rpath element also skip the following colon.
15778 (expand_dynamic_string_token): Add is_path parameter and pass
15779 down to DL_DST_REQUIRED and _dl_dst_substitute.
15780 (decompose_rpath): Call expand_dynamic_string_token with
15781 non-zero is_path. Ignore empty rpaths.
15782 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15785 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15790 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15793 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15794 Patch by Filipe David Manana <fdmanana@apache.org>.
15796 2011-04-07 Andreas Schwab <schwab@redhat.com>
15798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15799 Maintain aligned stack.
15800 (CHECK_RSP): Remove unused macro.
15802 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15804 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15805 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15807 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15809 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15811 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15813 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15816 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15817 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15818 * sysdeps/x86_64/memmove.c: New file.
15819 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15820 (memcpy): Renamed to ...
15821 (__new_memcpy): This.
15822 (memcpy): Provide GLIBC_2_14 memcpy.
15823 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15824 (memcpy): Provide GLIBC_2_2_5 memcpy.
15826 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15829 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15831 2011-03-30 Andreas Schwab <schwab@redhat.com>
15833 * misc/syncfs.c: New file.
15834 * misc/Makefile (routines): Add syncfs.
15835 * posix/unistd.h: Declare syncfs.
15836 * sysdeps/unix/syscalls.list: Add syncfs.
15838 2011-04-01 Andreas Schwab <schwab@redhat.com>
15840 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15842 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15843 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15845 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15847 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15850 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15854 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15860 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15861 sync_file_range.c with -fexceptions.
15862 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15863 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15864 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15865 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15866 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15867 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15869 sync_file_range as cancellation point
15870 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15871 now a wrapper around __call_sync_file_range with cancellation handling.
15872 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15873 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15874 function name to __call_sync_file_range.
15875 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15876 Add call_sync_file_range.
15878 2011-04-01 Andreas Schwab <schwab@redhat.com>
15880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15883 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15885 * iconv/iconv.h: Fix typo in comment.
15886 * io/fcntl.h: Likewise.
15887 * libio/stdio.h: Likewise.
15888 * posix/spawn.h: Likewise.
15889 * posix/unistd.h: Likewise.
15890 * stdlib/stdlib.h: Likewise.
15891 * time/time.h: Likewise.
15892 * wcsmbs/wchar.h: Likewise.
15894 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15895 open_by_handle): Add.
15896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15897 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15898 Augment a few comments.
15899 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15904 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15907 * io/fcntl.h (AT_EMPTY_PATH): Define.
15909 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15911 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15912 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15913 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15915 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15916 * Versions.def: Add GLIBC_2.14.
15917 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15920 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15922 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15924 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15926 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15929 * string/test-strncmp.c (do_page_test): New function.
15930 (check2): Likewise.
15931 (test_main): Call check2.
15932 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15934 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15937 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15938 Handle cache information in CPU leaf 4.
15939 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15941 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15944 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15945 character representation.
15946 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15948 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15950 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15951 END(__isnan) to END(__isnanf) to match function entry point/label
15952 EALIGN(__isnanf,...).
15954 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15956 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15958 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15961 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15962 copy from the symbol referenced in the relocation to initialize the
15964 Patch by Piotr Bury <pbury@goahead.com>.
15965 * elf/Makefile: Add rules to build and tst-unique3.
15966 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15967 * elf/tst-unique3.cc: New file.
15968 * elf/tst-unique3.h: New file.
15969 * elf/tst-unique3lib.cc: New file.
15970 * elf/tst-unique3lib2.cc: New file.
15972 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15974 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15976 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15977 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15980 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15982 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15983 to-be-loaded object along a path to loader is ld.so.
15985 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15986 Ulrich Drepper <drepper@gmail.com>
15988 * sysdeps/x86_64/memset.S: After aligning destination, code
15989 branches to different locations depending on the value of
15990 misalignment, when multiarch is enabled. Fix this.
15992 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15994 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15995 Set _x86_64_preferred_memory_instruction for AMD processsors.
15996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15997 Set bit_Prefer_SSE_for_memop for AMD processors.
15999 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16001 * libio/fmemopen.c (fmemopen): Optimize a bit.
16003 2011-03-03 Andreas Schwab <schwab@redhat.com>
16005 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16007 2011-03-03 Roland McGrath <roland@redhat.com>
16009 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16011 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16013 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16014 __bzero_ultra1 instead of __memset_ultra1.
16016 2011-02-23 Andreas Schwab <schwab@redhat.com>
16017 Ulrich Drepper <drepper@gmail.com>
16020 * include/link.h (struct link_map): Add l_orig_initfini.
16021 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16022 returning unsuccessfully.
16023 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16024 close of a file loaded at startup, restore the original l_initfini
16026 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16027 list, store the pointer.
16028 * elf/Makefile ($(objpfx)noload-mem): New rule.
16029 (noload-ENV): Define.
16030 (tests): Add $(objpfx)noload-mem.
16031 * elf/noload.c: Include <memcheck.h>.
16032 (main): Call mtrace. Close all opened handles.
16034 2011-02-17 Andreas Schwab <schwab@redhat.com>
16037 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16038 dependencies are missing.
16040 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16042 Fix __if_freereq crash: Unlike the generic version which uses free,
16044 * sysdeps/mach/hurd/ifreq.h: New file.
16046 2011-01-27 Petr Baudis <pasky@suse.cz>
16047 Ulrich Drepper <drepper@gmail.com>
16050 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16051 to extend_alloca().
16052 * stdio-common/bug23.c: New file.
16053 * stdio-common/Makefile (tests): Add bug23.
16055 2010-09-28 Andreas Schwab <schwab@redhat.com>
16056 Ulrich Drepper <drepper@gmail.com>
16059 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16060 before performing relro protection. At old place add assertion
16061 to make sure nothing changed.
16063 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16064 Glauber de Oliveira Costa <glommer@gmail.com>
16066 * elf/elf.h: Add new ARM TLS relocs.
16068 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16071 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16073 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16075 * sysdeps/wordsize-64/tst-writev.c: New file.
16077 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16079 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16080 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16081 insns in _dl_start to prevent a TOC reference before relocs are
16084 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16087 * Makeconfig: Remove RANLIB definition.
16088 * Makerules: Don't use RANLIB.
16089 * aclocal.m4: Remove ranlib test.
16090 * configure.in: No need to check for ranlib.
16091 * elf/rtld-Rules: Don't use RANLIB.
16093 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16095 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16097 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16098 inclusion protection macro.
16100 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16101 SIGRTMIN and SIGRTMAX and print information in that case only when
16102 SIGRTMIN is defined.
16104 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16106 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16107 arginfo fn returning -1.
16109 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16110 and thousands string is zero terminated.
16112 2011-02-03 Andreas Schwab <schwab@redhat.com>
16114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16115 sysdeps/unix/sysv/linux/bits/socket.h.
16117 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16119 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16120 (__CPU_COUNT): Remove old macros.
16121 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16122 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16123 (__CPU_ALLOC, __CPU_FREE): Add macros.
16124 (__sched_cpualloc, __sched_cpufree): Add declarations.
16126 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16128 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16129 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16130 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16131 (readdhstai): Return value of addhstaiX call.
16132 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16133 (addgrbyX): Return value returned by cache_addgr.
16134 (readdgrbyname): Return value returned by addgrbyX.
16135 (readdgrbygid): Likewise.
16136 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16137 (addpwbyX): Return value returned by cache_addpw.
16138 (readdpwbyname): Return value returned by addhstbyX.
16139 (readdpwbyuid): Likewise.
16140 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16141 (addservbyX): Return value returned by cache_addserv.
16142 (readdservbyname): Return value returned by addservbyX:
16143 (readdservbyport): Likewise.
16144 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16145 (addhstbyX): Return value returned by cache_addhst.
16146 (readdhstbyname): Return value returned by addhstbyX.
16147 (readdhstbyaddr): Likewise.
16148 (readdhstbynamev6): Likewise.
16149 (readdhstbyaddrv6): Likewise.
16150 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16151 (readdinitgroups): Return value returned by addinitgroupsX.
16152 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16153 (prune_cache): Keep track of timeout value of re-added entries.
16154 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16155 * nscd/nscd.h: Adjust prototypes of readd* functions.
16157 2011-02-04 Roland McGrath <roland@redhat.com>
16159 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16160 (nis_stats): Likewise.
16161 * nis/nis_modify.c (nis_modify): Likewise.
16162 * nis/nis_remove.c (nis_remove): Likewise.
16163 * nis/nis_add.c (nis_add): Likewise.
16165 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16167 * posix/fnmatch_loop.c: Add some consts.
16169 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16171 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16174 * config.make.in (config-cflags-novzeroupper): Define.
16175 * configure.in: Substitute libc_cv_cc_novzeroupper.
16176 * elf/Makefile (AVX-CFLAGS): Define.
16177 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16178 (CFLAGS-tst-auditmod4a.c): Likewise.
16179 (CFLAGS-tst-auditmod4b.c): Likewise.
16180 (CFLAGS-tst-auditmod6b.c): Likewise.
16181 (CFLAGS-tst-auditmod6c.c): Likewise.
16182 (CFLAGS-tst-auditmod7b.c): Likewise.
16183 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16185 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16187 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16188 function to the callback.
16189 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16191 2011-02-02 Andreas Schwab <schwab@redhat.com>
16193 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16196 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16199 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16201 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16203 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16206 * elf/Makefile: Add rules to build and run new test.
16207 * elf/tst-initorder.c: New file.
16208 * elf/tst-initorder.exp: New file.
16209 * elf/tst-initordera1.c: New file.
16210 * elf/tst-initordera2.c: New file.
16211 * elf/tst-initordera3.c: New file.
16212 * elf/tst-initordera4.c: New file.
16213 * elf/tst-initorderb1.c: New file.
16214 * elf/tst-initorderb2.c: New file.
16215 * elf/tst-order-a1.c: New file.
16216 * elf/tst-order-a2.c: New file.
16217 * elf/tst-order-a3.c: New file.
16218 * elf/tst-order-a4.c: New file.
16219 * elf/tst-order-b1.c: New file.
16220 * elf/tst-order-b2.c: New file.
16221 * elf/tst-order-main.c: New file.
16222 New test case by George Gensure <werkt0@gmail.com>.
16224 2010-10-01 Andreas Schwab <schwab@redhat.com>
16226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16227 decoding ACE if AI_CANONIDN.
16229 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16231 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16233 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16235 * version.h (RELEASE): Bump for 2.13 release.
16236 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16238 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16240 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16242 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16243 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16244 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16246 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16249 * posix/getconf.c: Update copyright year.
16250 * catgets/gencat.c: Likewise.
16251 * csu/version.c: Likewise.
16252 * debug/catchsegv.sh: Likewise.
16253 * debug/xtrace.sh: Likewise.
16254 * elf/ldconfig.c: Likewise.
16255 * elf/ldd.bash.in: Likewise.
16256 * elf/sprof.c (print_version): Likewise.
16257 * iconv/iconv_prog.c: Likewise.
16258 * iconv/iconvconfig.c: Likewise.
16259 * locale/programs/locale.c: Likewise.
16260 * locale/programs/localedef.c: Likewise.
16261 * malloc/memusage.sh: Likewise.
16262 * malloc/mtrace.pl: Likewise.
16263 * nscd/nscd.c (print_version): Likewise.
16264 * nss/getent.c: Likewise.
16266 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16267 PF_CAIF, and PF_ALG.
16268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16270 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16272 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16273 (modules-names): Use them.
16274 (ifunc-test-modules, ifunc-pie-tests): Define.
16275 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16276 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16277 (test-extras): Likewise.
16278 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16279 $(compile-command.c).
16280 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16281 (all-built-dso): Define.
16282 (check-textrel.out, check-execstack.out): Depend on it.
16284 * configure.in: Don't override --enable-multi-arch.
16286 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16289 * nscd/hstcache.c (tryagain): Define.
16290 (cache_addhst): Return tryagain not notfound for temporary errors.
16291 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16294 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16297 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16298 to make the syscall.
16299 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16302 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16303 and fall back to matching as normal character if the string ends before
16304 the matching ']' is found. This is what POSIX requires.
16305 * posix/testfnm.c: Adjust test result.
16306 * posix/globtest.sh: Adjust test result. Add new test.
16307 * posix/tst-fnmatch.input: Likewise.
16308 * posix/tst-fnmatch2.c: Add new test.
16310 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16312 * elf/Makefile (check-execstack): Revert last change. Depend on
16314 (check-execstack.h): New target.
16315 (generated): Add check-execstack.h.
16316 * elf/check-execstack.c: Include "check-execstack.h".
16317 (main): Revert last change.
16318 (handle_file): Return zero if GNU_STACK is absent and
16319 DEFAULT_STACK_PERMS doesn't include PF_X.
16321 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16323 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16324 in child fails because the descriptor is already closed.
16325 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16326 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16327 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16330 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16334 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16335 temporary buffer used to handle multi lookups locally.
16336 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16338 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16340 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16343 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16345 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16346 alignment for SSE2.
16348 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16351 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16352 characters. When rounding increased number of integer digits recompute
16354 * stdio-common/tst-grouping.c: New file.
16355 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16357 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16359 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16360 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16362 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16364 * bits/select.h: Likewise.
16366 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16368 * po/ja.po: Update from translation team.
16370 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16373 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16374 implementation just like for lxstat, fxstatat, et al.
16376 2010-12-27 Jim Meyering <meyering@redhat.com>
16379 * posix/regexec.c (build_trtable): Return failure indication upon
16380 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16382 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16385 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16386 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16387 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16388 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16391 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16394 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16395 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16397 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16399 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16400 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16401 script has SORT_BY_INIT_PRIORITY.
16402 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16403 NO_CTORS_DTORS_SECTIONS is defined.
16404 * elf/soinit.c: Likewise.
16405 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16406 NO_CTORS_DTORS_SECTIONS is defined.
16407 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16408 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16409 * sysdeps/sh/init-first.c: Likewise.
16410 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16412 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16414 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16415 always use the slow path.
16417 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16419 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16420 similar rule which adds the sysdep directories to the header search in
16421 order to pick up the correct platform stackinfo.h.
16422 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16423 perform test if it is, otherwise return successfully without testing.
16424 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16425 DEFAULT_STACK_PERMS define in stackinfo.h.
16426 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16427 defined in stackinfo.h.
16428 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16429 DEFAULT_STACK_PERMS defined in stackinfo.h.
16430 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16431 * sysdeps/ia64/stackinfo.h: Likewise.
16432 * sysdeps/s390/stackinfo.h: Likewise.
16433 * sysdeps/sh/stackinfo.h: Likewise.
16434 * sysdeps/sparc/stackinfo.h: Likewise.
16435 * sysdeps/x86_64/stackinfo.h: Likewise.
16436 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16437 PF_X for powerpc64. Retain PF_X for powerpc32.
16439 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16441 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16443 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16444 GETDENTS_64BIT_ALIGNED.
16446 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16448 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16450 2010-12-10 Andreas Schwab <schwab@redhat.com>
16452 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16455 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16456 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16458 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16459 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16461 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16464 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16467 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16469 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16471 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16473 * po/it.po: Update from translation team.
16475 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16480 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16482 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16484 2010-11-24 Andreas Schwab <schwab@redhat.com>
16486 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16488 (gaih_getanswer_slice): Likewise.
16490 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16494 2010-05-31 Petr Baudis <pasky@suse.cz>
16497 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16498 silently even in the chroot mode.
16500 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16502 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16503 last patch a bit. Pretty printing
16505 2010-05-31 Petr Baudis <pasky@suse.cz>
16508 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16509 initialization of skip_initgroups_dyn.
16511 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16514 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16516 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16518 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16520 2010-11-11 Andreas Schwab <schwab@redhat.com>
16522 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16523 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16524 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16525 ($(objpfx)tst-fnmatch-mem): New rule.
16526 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16527 * posix/tst-fnmatch.c (main): Call mtrace.
16529 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16532 Support Intel processor model 6 and model 0x2c.
16534 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16536 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16539 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16542 * string/test-strncasecmp.c (check_result): New function.
16543 (do_one_test): Use it.
16544 (check1): New function.
16545 (test_main): Use it.
16546 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16547 Support strcasecmp and strncasecmp.
16549 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16552 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16553 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16555 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16557 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16561 * sysdeps/x86_64/multiarch/bzero.S: New file.
16562 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16563 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16564 * sysdeps/x86_64/multiarch/memset.S: New file.
16565 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16567 Set bit_Prefer_SSE_for_memop for Intel processors.
16568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16570 (index_Prefer_SSE_for_memop): Define.
16571 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16573 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16575 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16576 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16578 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16581 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16582 (__x86_64_raw_data_cache_size_half): Likewise.
16583 (__x86_64_raw_shared_cache_size): Likewise.
16584 (__x86_64_raw_shared_cache_size_half): Likewise.
16586 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16587 (__x86_64_raw_data_cache_size_half): Likewise.
16588 (__x86_64_raw_shared_cache_size): Likewise.
16589 (__x86_64_raw_shared_cache_size_half): Likewise.
16590 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16591 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16592 and __x86_64_raw_shared_cache_size_half. Round
16593 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16594 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16595 to multiple of 256 bytes.
16597 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16600 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16601 of inacessible symlinks. Verify result of symlink before returning it.
16602 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16603 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16605 2010-10-28 Erich Ritz <erichritz@gmail.com>
16607 * math/math.h (isinf): Fix typo in comment.
16609 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16611 * po/da.po: Update from translation team.
16613 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16615 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16616 is added to the list.
16618 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16619 Ulrich Drepper <drepper@gmail.com>
16621 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16622 the global list here. Move code to...
16623 (_dl_add_to_namespace_list): ...here. New function.
16624 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16625 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16626 * elf/dl-load.c (lose): Don't remove the element from the list.
16627 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16628 (_dl_map_object): Likewise.
16630 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16633 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16634 into all bytes of SSE register.
16635 Patch by Richard Li <richardpku@gmail.com>.
16637 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16640 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16643 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16645 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16646 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16647 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16648 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16653 2010-10-22 Andreas Schwab <schwab@redhat.com>
16655 * include/dlfcn.h (__RTLD_SECURE): Define.
16656 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16657 mode & __RTLD_SECURE instead.
16658 (open_path): Rename preloaded parameter to secure.
16659 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16660 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16661 * elf/dl-deps.c (openaux): Likewise.
16662 * elf/rtld.c (struct map_args): Remove is_preloaded.
16663 (map_doit): Don't use it.
16664 (dl_main): Likewise.
16665 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16666 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16668 2010-09-09 Andreas Schwab <schwab@redhat.com>
16670 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16671 (sysd-rules-targets): Remove duplicates.
16672 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16673 rtld-%.$o dependency.
16675 2010-10-18 Andreas Schwab <schwab@redhat.com>
16677 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16678 _dl_map_object do it.
16680 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16682 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16683 fast fma builtins, define the macros in the C99 standard.
16684 (FP_FAST_FMAF): Likewise.
16685 (FP_FAST_FMAL): Likewise.
16686 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16688 * bits/mathdef.h: Update copyright year.
16689 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16691 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16693 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16694 builtins, define the macros in the C99 standard.
16695 (FP_FAST_FMAF): Likewise.
16696 (FP_FAST_FMAL): Likewise.
16697 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16699 (FP_FAST_FMAF): Likewise.
16701 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16704 * math/libm-test.inc (fma_test): Some new testcases.
16705 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16706 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16707 y and infinite z. Do multiplication by C already in long double.
16708 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16710 y and infinite z. Do bitwise or of inexact bit into u.d.
16711 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16712 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16713 * sysdeps/i386/fpu/s_fma.S: Removed.
16714 * sysdeps/i386/fpu/s_fmal.S: Removed.
16716 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16719 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16721 computation is not scheduled after fetestexcept. Fix value
16722 of minimum denormal long double.
16724 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16727 * math/libm-test.inc (fma_test): Add some more tests.
16728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16731 2010-10-15 Andreas Schwab <schwab@redhat.com>
16733 * scripts/data/localplt-s390-linux-gnu.data: New file.
16734 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16736 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16739 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16740 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16742 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16744 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16746 if one of x and y is very large and the other is subnormal.
16747 * sysdeps/s390/fpu/s_fmaf.c: New file.
16748 * sysdeps/s390/fpu/s_fma.c: New file.
16749 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16750 * sysdeps/powerpc/fpu/s_fma.S: New file.
16751 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16752 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16753 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16755 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16758 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16760 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16761 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16762 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16763 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16764 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16765 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16768 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16771 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16772 * posix/bug-regex31.input: Add test case.
16774 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16776 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16777 * posix/bug-regex31.input: New file.
16780 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16781 (parse_sub_exp): Fix last change, use postorder.
16783 * posix/bug-regex31.c: New file.
16784 * posix/Makefile: Add rules to build and run bug-regex31.
16786 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16789 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16792 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16793 to have entries in sys_siglist.
16796 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16799 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16802 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16803 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16804 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16805 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16806 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16807 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16808 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16809 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16810 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16811 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16812 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16813 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16814 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16815 * math/ftestexcept.c (fetestexcept): Likewise.
16816 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16817 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16818 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16819 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16820 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16821 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16822 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16824 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16827 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16830 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16832 * string/bug-strstr1.c: New file.
16833 * string/Makefile: Add rules to build and run bug-strstr1.
16835 2010-10-05 Eric Blake <eblake@redhat.com>
16838 * string/str-two-way.h (two_way_long_needle): Always clear memory
16839 when skipping input due to the shift table.
16841 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16844 * malloc/mcheck.c: Handle large requests.
16847 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16848 for strncmp and strncasecmp.
16849 * string/stratcliff.c: Add tests for strcmp and strncmp.
16850 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16852 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16854 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16857 2010-09-30 Andreas Jaeger <aj@suse.de>
16859 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16860 (CGROUP_SUPER_MAGIC): Define.
16861 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16862 Handle btrfs and cgroup file systems.
16863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16866 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16868 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16869 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16871 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16874 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16875 trying to locate the ELF header.
16877 2010-09-27 Andreas Schwab <schwab@redhat.com>
16880 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16881 Mask out sign-bit copies when constructing f_fsid.
16883 2010-09-24 Petr Baudis <pasky@suse.cz>
16885 * debug/stack_chk_fail_local.c: Add missing licence exception.
16886 * debug/warning-nop.c: Likewise.
16888 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16890 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16891 implementing getdents64 using getdents syscall, set d_type if
16892 __ASSUME_GETDENTS32_D_TYPE.
16894 2010-09-16 Andreas Schwab <schwab@redhat.com>
16896 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16897 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16899 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16902 * posix/unistd.h: Undo change of feature selection for ftruncate from
16905 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16907 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16910 2010-09-20 Andreas Schwab <schwab@redhat.com>
16912 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16914 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16916 2010-09-14 Andreas Schwab <schwab@redhat.com>
16918 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16919 variables after CHECK_SP call.
16920 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16922 2010-09-13 Andreas Schwab <schwab@redhat.com>
16923 Ulrich Drepper <drepper@redhat.com>
16925 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16926 re-relocationg ld.so.
16927 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16928 _dl_init_paths call.
16929 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16932 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16934 * resolv/res_init.c (__res_vinit): Count the default server we added.
16936 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16937 Ulrich Drepper <drepper@redhat.com>
16940 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16941 (____longjmp_chk): Use %ebx for saving value across system call.
16944 2010-09-06 Andreas Schwab <schwab@redhat.com>
16946 * manual/Makefile: Don't mix pattern rules with normal rules.
16948 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16950 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16952 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16953 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16954 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16955 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16959 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16962 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16963 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16965 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16967 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16968 * sysdeps/x86_64/addmul_1.S: Likewise.
16969 * sysdeps/x86_64/lshift.S: Likewise.
16970 * sysdeps/x86_64/mul_1.S: Likewise.
16971 * sysdeps/x86_64/rshift.S: Likewise.
16972 * sysdeps/x86_64/sub_n.S: Likewise.
16973 * sysdeps/x86_64/submul_1.S: Likewise.
16975 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16977 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16978 Define __sched_param instead of SCHED_* and sched_param when
16979 <bits/sched.h> is included with __need_schedparam defined.
16980 * bits/sched.h [__need_schedparam]
16981 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16982 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16983 (__defined_schedparam): Define to 1.
16984 (__sched_param): New structure, identical to sched_param.
16985 (__need_schedparam): Undefine.
16987 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16989 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16990 (epoll_create1): Declare.
16992 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16994 2010-08-31 Andreas Schwab <schwab@redhat.com>
16997 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16998 shifting retval into place.
17000 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17002 * nis/rpcsvc/nis.h: Update copyright notice.
17003 * nis/rpcsvc/nis.x: Likewise.
17004 * nis/rpcsvc/nis_callback.h: Likewise.
17005 * nis/rpcsvc/nis_callback.x: Likewise.
17006 * nis/rpcsvc/nis_object.x: Likewise.
17007 * nis/rpcsvc/nis_tags.h: Likewise.
17008 * nis/rpcsvc/yp.h: Likewise.
17009 * nis/rpcsvc/yp.x: Likewise.
17010 * nis/rpcsvc/ypupd.h: Likewise.
17011 * nis/yp_xdr.c: Likewise.
17012 * nis/ypupdate_xdr.c: Likewise.
17014 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17015 mainly the body of pmap_getport. Add parameters to specify timeouts.
17016 (pmap_getport): Use __libc_rpc_getport.
17017 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17018 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17019 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17021 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17026 2010-08-27 Roland McGrath <roland@redhat.com>
17028 * sysdeps/i386/i686/multiarch/Makefile
17029 (CFLAGS-varshift.c): New variable.
17031 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17033 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17034 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17038 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17040 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17042 * sysdeps/x86_64/strlen.S: Unroll the loop.
17043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17044 strlen-sse2 strlen-sse2-bsf.
17045 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17046 __strlen_no_bsf if bit_Slow_BSF is set.
17047 (__strlen_sse42): Removed.
17048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17049 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17051 2010-08-25 Roland McGrath <roland@redhat.com>
17053 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17054 * sysdeps/x86_64/multiarch/varshift.c: New file.
17055 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17056 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17057 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17058 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17060 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17063 strlen-sse2 strlen-sse2-bsf.
17064 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17065 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17066 (__strlen_sse2): Removed.
17067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17070 bit_Slow_BSF for Atom.
17071 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17072 (index_Slow_BSF): Define.
17073 (HAS_SLOW_BSF): Define.
17075 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17078 * resolv/res_init.c (__res_vinit): When no server address at all
17079 is given default to loopback.
17081 2010-08-24 Roland McGrath <roland@redhat.com>
17083 * configure.in: Remove config-name.h generation.
17084 * configure: Regenerated.
17085 * config-name.in: File removed.
17086 * scripts/config-uname.sh: New file.
17087 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17088 ($(objdir)config-name.h): New target.
17090 * sunrpc/rpc_parse.h: Avoid nested comment.
17092 2010-08-24 Richard Henderson <rth@redhat.com>
17093 Ulrich Drepper <drepper@redhat.com>
17094 H.J. Lu <hongjiu.lu@intel.com>
17096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17098 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17099 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17100 _mm_alignr_epi8 with _mm_loadu_si128.
17101 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17102 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17103 (__m128i_shift_right): Removed.
17104 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17105 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17106 * sysdeps/x86_64/multiarch/varshift.h: New file.
17107 * sysdeps/x86_64/multiarch/varshift.S: New file.
17109 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17111 * configure.in: Move assembler checks to before sysdep dir checking.
17113 2010-08-20 Petr Baudis <pasky@suse.cz>
17115 * LICENSES: Sync the sunrpc license.
17117 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17119 * sunrpc/auth_des.c: Update copyright notice once again.
17120 * sunrpc/auth_none.c: Likewise.
17121 * sunrpc/auth_unix.c: Likewise.
17122 * sunrpc/authdes_prot.c: Likewise.
17123 * sunrpc/authuxprot.c: Likewise.
17124 * sunrpc/bindrsvprt.c: Likewise.
17125 * sunrpc/clnt_gen.c: Likewise.
17126 * sunrpc/clnt_perr.c: Likewise.
17127 * sunrpc/clnt_raw.c: Likewise.
17128 * sunrpc/clnt_simp.c: Likewise.
17129 * sunrpc/clnt_tcp.c: Likewise.
17130 * sunrpc/clnt_udp.c: Likewise.
17131 * sunrpc/clnt_unix.c: Likewise.
17132 * sunrpc/des_crypt.c: Likewise.
17133 * sunrpc/des_soft.c: Likewise.
17134 * sunrpc/get_myaddr.c: Likewise.
17135 * sunrpc/getrpcport.c: Likewise.
17136 * sunrpc/key_call.c: Likewise.
17137 * sunrpc/key_prot.c: Likewise.
17138 * sunrpc/openchild.c: Likewise.
17139 * sunrpc/pm_getmaps.c: Likewise.
17140 * sunrpc/pm_getport.c: Likewise.
17141 * sunrpc/pmap_clnt.c: Likewise.
17142 * sunrpc/pmap_prot.c: Likewise.
17143 * sunrpc/pmap_prot2.c: Likewise.
17144 * sunrpc/pmap_rmt.c: Likewise.
17145 * sunrpc/rpc/auth.h: Likewise.
17146 * sunrpc/rpc/auth_unix.h: Likewise.
17147 * sunrpc/rpc/clnt.h: Likewise.
17148 * sunrpc/rpc/des_crypt.h: Likewise.
17149 * sunrpc/rpc/key_prot.h: Likewise.
17150 * sunrpc/rpc/netdb.h: Likewise.
17151 * sunrpc/rpc/pmap_clnt.h: Likewise.
17152 * sunrpc/rpc/pmap_prot.h: Likewise.
17153 * sunrpc/rpc/pmap_rmt.h: Likewise.
17154 * sunrpc/rpc/rpc.h: Likewise.
17155 * sunrpc/rpc/rpc_des.h: Likewise.
17156 * sunrpc/rpc/rpc_msg.h: Likewise.
17157 * sunrpc/rpc/svc.h: Likewise.
17158 * sunrpc/rpc/svc_auth.h: Likewise.
17159 * sunrpc/rpc/types.h: Likewise.
17160 * sunrpc/rpc/xdr.h: Likewise.
17161 * sunrpc/rpc_clntout.c: Likewise.
17162 * sunrpc/rpc_cmsg.c: Likewise.
17163 * sunrpc/rpc_common.c: Likewise.
17164 * sunrpc/rpc_cout.c: Likewise.
17165 * sunrpc/rpc_dtable.c: Likewise.
17166 * sunrpc/rpc_hout.c: Likewise.
17167 * sunrpc/rpc_main.c: Likewise.
17168 * sunrpc/rpc_parse.c: Likewise.
17169 * sunrpc/rpc_parse.h: Likewise.
17170 * sunrpc/rpc_prot.c: Likewise.
17171 * sunrpc/rpc_sample.c: Likewise.
17172 * sunrpc/rpc_scan.c: Likewise.
17173 * sunrpc/rpc_scan.h: Likewise.
17174 * sunrpc/rpc_svcout.c: Likewise.
17175 * sunrpc/rpc_tblout.c: Likewise.
17176 * sunrpc/rpc_util.c: Likewise.
17177 * sunrpc/rpc_util.h: Likewise.
17178 * sunrpc/rpcinfo.c: Likewise.
17179 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17180 * sunrpc/rpcsvc/key_prot.x: Likewise.
17181 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17182 * sunrpc/rpcsvc/mount.x: Likewise.
17183 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17184 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17185 * sunrpc/rpcsvc/rex.x: Likewise.
17186 * sunrpc/rpcsvc/rstat.x: Likewise.
17187 * sunrpc/rpcsvc/rusers.x: Likewise.
17188 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17189 * sunrpc/rpcsvc/spray.x: Likewise.
17190 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17191 * sunrpc/rtime.c: Likewise.
17192 * sunrpc/svc.c: Likewise.
17193 * sunrpc/svc_auth.c: Likewise.
17194 * sunrpc/svc_authux.c: Likewise.
17195 * sunrpc/svc_raw.c: Likewise.
17196 * sunrpc/svc_run.c: Likewise.
17197 * sunrpc/svc_simple.c: Likewise.
17198 * sunrpc/svc_tcp.c: Likewise.
17199 * sunrpc/svc_udp.c: Likewise.
17200 * sunrpc/svc_unix.c: Likewise.
17201 * sunrpc/svcauth_des.c: Likewise.
17202 * sunrpc/xcrypt.c: Likewise.
17203 * sunrpc/xdr.c: Likewise.
17204 * sunrpc/xdr_array.c: Likewise.
17205 * sunrpc/xdr_float.c: Likewise.
17206 * sunrpc/xdr_mem.c: Likewise.
17207 * sunrpc/xdr_rec.c: Likewise.
17208 * sunrpc/xdr_ref.c: Likewise.
17209 * sunrpc/xdr_sizeof.c: Likewise.
17210 * sunrpc/xdr_stdio.c: Likewise.
17212 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17215 2010-08-19 Andreas Schwab <schwab@redhat.com>
17217 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17219 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17221 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17222 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17223 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17224 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17225 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17226 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17227 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17228 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17229 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17230 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17231 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17232 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17233 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17234 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17236 2010-07-26 Anton Blanchard <anton@samba.org>
17238 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17239 * malloc/arena.c (heap_trim): Likewise.
17241 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17243 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17246 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17248 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17250 * sysdeps/i386/elf/Makefile: New file.
17252 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17254 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17255 from fanotify_init.
17256 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17259 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17261 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17263 * sysdeps/multiarch/strcmp.S: Likewise.
17265 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17267 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17268 strncase_l-nonascii.
17269 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17270 Add strncase_l-ssse3.
17271 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17272 * sysdeps/x86_64/strcmp.S: Likewise.
17273 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17274 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17275 * sysdeps/x86_64/strncase.S: New file.
17276 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17277 * sysdeps/x86_64/strncase_l.S: New file.
17278 * string/Makefile (strop-tests): Add strncasecmp.
17279 * string/test-strncasecmp.c: New file.
17281 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17284 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17285 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17287 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17289 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17291 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17293 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17294 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17295 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17297 2010-05-01 Alan Modra <amodra@gmail.com>
17299 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17300 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17301 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17302 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17303 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17304 tidying. Don't tail-call __sigjmp_save for static lib.
17305 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17307 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17308 (CALL_MCOUNT): Add eh info, and nop after bl.
17309 (TAIL_CALL_SYSCALL_ERROR): New macro.
17310 (PSEUDO_RET): Use it.
17311 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17312 Correct save location of integer regs and cr.
17313 (_dl_profile_resolve): Correct cr save location. Delete nops
17314 after bl when SHARED. Reduce cfi size a little by better
17315 placement of cfi directives.
17316 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17317 make a stack frame. Instead use parm save area as a temp.
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17319 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17321 Don't make a stack frame for parent, use parm save area.
17322 Increase child stack frame to 112 bytes. Don't save unused reg,
17323 and adjust reg usage. Set up cfi on error recovery and
17324 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17326 (__makecontext): Add dummy nop after jump to exit.
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17328 Use correct parm save area and cr save, reduce stack frame.
17329 Correct cfi for possible PSEUDO_RET frame setup.
17330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17331 Branch to local label emitted by PSEUDO_RET rather than
17334 2010-08-12 Andreas Schwab <schwab@redhat.com>
17337 * locale/programs/locale.c (print_assignment): New function.
17338 (show_locale_vars): Use it.
17340 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17342 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17344 (struct statfs64): Likewise.
17345 (_STATFS_F_FLAGS): Define.
17346 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17348 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17349 (ST_VALID): Define locally.
17350 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17351 __statvfs_getflags, use the provided value.
17352 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17353 __ASSUME_STATFS_F_FLAGS.
17355 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17357 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17358 Add sys/fanotify.h.
17359 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17360 fanotify_mask for GLIBC_2.13.
17361 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17362 fanotify_init and fanotify_mark.
17363 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17364 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17368 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17369 prlimit64 for GLIBC_2.13.
17370 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17375 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17376 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17377 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17380 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17383 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17384 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17386 * nss/Makefile: Add rules to build and run tst-nss-test1.
17387 * shlib-versions: Add entry for libnss_test1.
17388 * nss/nss_test1.c: New file.
17389 * nss/tst-nss-test1.c: New file.
17391 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17392 (__nss_configure_lookup): Set appropriate entry in
17393 __nss_configure_lookup to true.
17394 * nss/nsswitch.h: Define enum with indeces of databases in
17395 databases and __nss_database_custom arrays. Declare
17396 __nss_database_custom.
17397 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17398 to avoid using nscd when custom rules are installed.
17399 * nss/getXXbyYY_r.c: Likewise.
17400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17402 * nss/nss_files/files-parse.c: Whitespace fixes.
17404 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17407 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17408 * posix/fnmatch_loop.c: Likewise.
17410 2010-07-17 Andi Kleen <ak@linux.intel.com>
17412 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17413 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17414 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17415 * Versions.def [GLIBC_2.13]: Add.
17417 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17419 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17420 Also fail if tpwd after pwuid call is NULL.
17422 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17424 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17425 when converting to ms.
17427 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17429 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17430 EOPNOTSUPP errors with ENOTTY.
17431 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17432 EOPNOTSUPP errors with ENOTTY.
17434 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17436 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17437 Add strcasecmp_l-ssse3.
17438 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17440 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17441 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17442 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17444 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17446 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17448 * string/Makefile (strop-tests): Add strcasecmp.
17449 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17450 strcasecmp_l-nonascii.
17451 (gen-as-const-headers): Add locale-defines.sym.
17452 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17453 * sysdeps/x86_64/strcasecmp.S: New file.
17454 * sysdeps/x86_64/strcasecmp_l.S: New file.
17455 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17456 * sysdeps/x86_64/locale-defines.sym: New file.
17457 * string/test-strcasecmp.c: New file.
17459 * string/test-strcasestr.c: Test both ends of the range of characters.
17460 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17462 2010-07-29 Roland McGrath <roland@redhat.com>
17465 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17467 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17469 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17472 2010-07-27 Andreas Schwab <schwab@redhat.com>
17474 * manual/memory.texi (Malloc Tunable Parameters): Document
17477 2010-07-26 Roland McGrath <roland@redhat.com>
17480 * configure.in (-fgnu89-inline check): Set and substitute
17481 gnu89_inline, not libc_cv_gnu89_inline.
17482 * configure: Regenerated.
17483 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17485 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17487 * string/test-strnlen.c: New file.
17488 * string/Makefile (strop-tests): Add strnlen.
17489 * string/tester.c (test_strnlen): Add a few more test cases.
17490 * string/tst-strlen.c: Better error reporting.
17492 * sysdeps/x86_64/strnlen.S: New file.
17494 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17497 lower-latency instructions.
17499 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17501 * string/test-strcasestr.c: New file.
17502 * string/test-strstr.c: New file.
17503 * string/Makefile (strop-tests): Add strstr and strcasestr.
17504 * string/str-two-way.h: Don't undefine MAX.
17505 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17507 2010-07-21 Andreas Schwab <schwab@redhat.com>
17509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17510 strcasestr-nonascii.
17511 (CFLAGS-strcasestr-nonascii.c): Define.
17512 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17513 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17514 Remove unused attribute.
17516 2010-07-20 Roland McGrath <roland@redhat.com>
17518 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17519 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17520 ld.so.cache was broken. With it, there is no way to disable dsocaps
17521 like LD_HWCAP_MASK can disable hwcaps.
17523 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17525 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17527 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17529 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17530 call in strcasestr.
17531 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17532 __strcasestr_sse42_nonascii.
17533 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17534 strcasestr-nonascii.c.
17535 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17537 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17539 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17540 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17541 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17542 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17544 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17546 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17549 2010-07-06 Andreas Schwab <schwab@redhat.com>
17552 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17555 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17557 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17558 _PC_PIPE_BUF using F_GETPIPE_SZ.
17560 2010-07-05 Roland McGrath <roland@redhat.com>
17562 * manual/arith.texi (Rounding Functions): Fix rint description
17563 implicit in round description.
17565 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17567 * elf/Makefile: Fix linking for a few tests to make recent linker
17570 2010-06-30 Andreas Schwab <schwab@redhat.com>
17572 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17573 $(common-objpfx)libc_nonshared.a.
17575 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17577 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17578 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17579 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17580 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17581 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17582 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17583 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17584 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17599 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17600 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17601 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17602 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17603 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17604 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17605 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17606 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17607 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17608 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17609 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17610 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17626 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17628 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17629 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17630 * string/memmove.c (memmove): Renamed to ...
17631 (MEMMOVE): ...this. Default to memmove.
17632 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17633 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17636 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17637 mempcpy-ssse3-back memmove-ssse3-back.
17638 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17639 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17640 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17641 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17642 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17643 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17644 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17645 * sysdeps/x86_64/multiarch/memmove.c: New file.
17646 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17647 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17648 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17649 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17650 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17653 (index_Fast_Copy_Backward): Define.
17654 (HAS_ARCH_FEATURE): Define.
17655 (HAS_FAST_REP_STRING): Define.
17656 (HAS_FAST_COPY_BACKWARD): Define.
17658 2010-06-21 Andreas Schwab <schwab@redhat.com>
17660 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17661 Restore proper fallback handling.
17663 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17666 * posix/group_member.c (__group_member): Correct checking loop.
17668 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17669 OOM in getpwuid_r correctly. Return error number when the caller
17670 should return, otherwise -1.
17671 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17672 call returning > 0 value.
17673 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17675 2010-06-07 Andreas Schwab <schwab@redhat.com>
17677 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17678 libc_nonshared.a from targets in modules-names.
17680 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17682 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17685 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17688 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17689 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17690 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17692 2010-06-02 Andreas Schwab <schwab@redhat.com>
17694 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17696 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17698 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17705 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17707 2010-06-14 Roland McGrath <roland@redhat.com>
17709 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17711 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17713 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17714 __REDIRECT followed by __THROW.
17715 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17716 * posix/getopt.h (getopt): Likewise.
17718 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17720 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17721 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17722 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17724 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17725 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17727 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17729 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17731 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17735 Properly check family and model.
17737 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17739 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17741 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17743 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17745 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17747 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17750 2010-05-19 Andreas Schwab <schwab@redhat.com>
17752 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17755 2010-05-21 Andreas Schwab <schwab@redhat.com>
17757 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17758 and internal_recvmmsg.
17759 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17760 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17761 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17762 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17764 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17765 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17766 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17768 2010-05-20 Andreas Schwab <schwab@redhat.com>
17770 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17772 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17774 POWER7 optimizations.
17775 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17776 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17778 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17780 * version.h: Update for 2.13 development version.
17782 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17784 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17785 exceptions. Return 0.
17787 2010-05-07 Roland McGrath <roland@redhat.com>
17789 * elf/ldconfig.c (main): Add a const.
17791 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17793 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17794 (args_options): Add no-idn option.
17795 (ahosts_keys_int): Add idn_flags to ai_flags.
17796 (parse_option): Handle 'i' option to clear idn_flags.
17798 * malloc/malloc.c (_int_free): Possible race in the most recently
17799 added check. Only act on the data if no current modification
17802 See ChangeLog.17 for earlier changes.