1 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5 2012-07-31 Roland McGrath <roland@hack.frob.com>
7 * include/sys/socket.h (__libc_accept, __libc_accept4):
9 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13 * inet/getnetgrent_r.c (setup): Likewise.
15 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17 2012-07-31 David S. Miller <davem@davemloft.net>
19 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21 2012-07-31 Joseph Myers <joseph@codesourcery.com>
24 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25 value between 1.0 and 2.0 and smaller part has absolute value less
27 * math/s_clog10.c (__clog10): Likewise.
28 * math/s_clog10f.c (__clog10f): Likewise.
29 * math/s_clog10l.c (__clog10l): Likewise.
30 * math/s_clogf.c (__clogf): Likewise.
31 * math/s_clogl.c (__clogl): Likewise.
32 * math/libm-test.inc (clog_test): Add more tests.
33 (clog10_test): Likewise.
34 * sysdeps/i386/fpu/libm-test-ulps: Update.
35 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37 2012-07-31 Florian Weimer <fweimer@redhat.com>
39 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40 Exit with zero in case no suitable GID is found, and write a
41 message to standard error.
43 2012-07-30 Roland McGrath <roland@hack.frob.com>
45 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
48 (MAXPATHLEN): Removed.
49 (NOGROUP, NODEV): New macros.
50 (setbit, clrbit, isset, isclr): New macros.
51 (howmany, roundup, powerof2): New macros.
52 (DEV_BSIZE): New macro.
54 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58 definition on [!__NO_LONG_DOUBLE_MATH].
60 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61 PTR_MANGLE and PTR_DEMANGLE.
63 * socket/accept4.c (accept4): Rename to __libc_accept4.
64 Define accept4 as a weak alias.
66 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67 on [_DIRENT_HAVE_D_TYPE].
68 * io/ftw.c (ftw_dir): Likewise.
70 * io/xmknod.c (__xmknod): Don't check PATH for being null.
72 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
74 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75 Use the BSD numbers rather than the arbitrary ones we had.
76 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78 (SIGXCPU, SIGXFSZ): New macros.
81 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
82 initializer on [_LIBC_REENTRANT].
84 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
85 definitions inside [_POSIX_MAPPED_FILES].
87 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
89 * dirent/opendir.c: Include <fcntl.h>.
91 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
92 (__libc_getspecific): Likewise.
93 (__libc_key_create): Likewise.
95 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
96 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
97 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
98 (tmpfile64): Define as alias.
99 * sysdeps/wordsize-64/tmpfile.c: File removed.
100 * sysdeps/wordsize-64/tmpfile64.c: File removed.
101 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
102 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
104 * stdio-common/vfscanf.c: Include <stdbool.h>.
105 * nss/makedb.c: Likewise.
106 * stdio-common/_i18n_number.h: Likewise.
107 * argp/argp-help.c: Likewise.
108 * posix/wordexp.c: Likewise.
109 * sysdeps/posix/spawni.c: Likewise.
110 * nss/nss_files/files-initgroups.c: Likewise.
111 * stdio-common/reg-modifier.c: Include <stdlib.h>.
112 * nss/nss_files/files-initgroups.c: Likewise.
113 * nss/nss_db/db-netgrp.c: Likewise.
114 * nss/nss_db/db-initgroups.c: Likewise.
115 * io/fchmodat.c: Include <sys/stat.h>.
117 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
118 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
120 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
123 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
124 Add multiple inclusion protection.
126 2012-07-27 David S. Miller <davem@davemloft.net>
128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
130 2012-07-27 Gary Benson <gbenson@redhat.com>
133 * elf/rtld.c: Include <stap-probe.h>.
134 (dl_main): Added static probes "init_start" and "init_complete".
135 * elf/dl-load.c: Include <stap-probe.h>.
136 (lose): Take new parameter "nsid".
137 Added static probe "map_failed".
138 (_dl_map_object_from_fd): Pass namespace id to lose.
139 Added static probe "map_start".
140 (open_verify): Pass namespace id to lose.
141 * elf/dl-open.c: Include <stap-probe.h>.
142 (dl_open_worker) Added static probes "map_complete", "reloc_start"
143 and "reloc_complete".
144 * elf/dl-close.c: Include <stap-probe.h>.
145 (_dl_close_worker): Added static probes "unmap_start" and
147 * elf/rtld-debugger-interface.txt: New file documenting the above.
149 2012-07-26 Roland McGrath <roland@hack.frob.com>
151 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
152 rather than a string variable.
153 * sunrpc/rpc_main.c (h_output): Likewise.
154 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
156 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
158 * inet/check_native.c: New file.
160 2012-07-26 Joseph Myers <joseph@codesourcery.com>
163 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
164 if larger part has absolute value 1.0.
165 * math/s_clog10.c (__clog10): Likewise.
166 * math/s_clog10f.c (__clog10f): Likewise.
167 * math/s_clog10l.c (__clog10l): Likewise.
168 * math/s_clogf.c (__clogf): Likewise.
169 * math/s_clogl.c (__clogl): Likewise.
170 * math/libm-test.inc (clog_test): Add more tests.
171 (clog10_test): Likewise.
172 * sysdeps/i386/fpu/libm-test-ulps: Update.
173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
175 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
178 (La_retval): Likewise.
179 (int_retval): Likewise.
180 Update #error for removed macros to refer only to definitions in
182 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
186 (La_retval): Likewise.
187 (int_retval): Likewise.
188 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
192 (La_retval): Likewise.
193 (int_retval): Likewise.
194 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
198 (La_retval): Likewise.
199 (int_retval): Likewise.
200 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
204 (La_retval): Likewise.
205 (int_retval): Likewise.
206 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
210 (La_retval): Likewise.
211 (int_retval): Likewise.
212 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
216 (La_retval): Likewise.
217 (int_retval): Likewise.
218 * sysdeps/generic/tst-audit.h: Update comment to refer only to
219 macro definitions in tst-audit.h.
220 * sysdeps/i386/tst-audit.h: New file.
221 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
222 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
223 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
224 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
225 * sysdeps/sh/tst-audit.h: Likewise.
226 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
227 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
228 * sysdeps/x86_64/tst-audit.h: Likewise.
230 2012-07-26 Andreas Jaeger <aj@suse.de>
232 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
235 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
236 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
237 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
239 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
240 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
241 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
243 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
246 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
248 (si_call_addr, si_syscall, si_arch): Define new macro.
249 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
251 (si_call_addr, si_syscall, si_arch): Define new marcro.
252 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
254 (si_call_addr, si_syscall, si_arch): Define new macro.
255 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
257 (si_call_addr, si_syscall, si_arch): Define new macro.
259 2012-07-25 Joseph Myers <joseph@codesourcery.com>
262 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
263 Change to 2.4.21 where previously 2.4.1.
264 * sysdeps/unix/sysv/linux/configure: Regenerated.
265 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
266 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
267 Linux kernel version.
268 (__ASSUME_STD_AUXV): Remove.
269 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
271 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
272 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
273 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
274 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
275 (__ASSUME_NETLINK_SUPPORT): Likewise.
276 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
277 (__no_netlink_support): Remove conditional definition.
278 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
280 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
281 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
282 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
283 (if_nameindex_ioctl): Remove.
284 (if_nameindex_netlink): Do not handle __no_netlink_support.
285 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
287 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
288 Remove conditional code.
289 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
291 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
293 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
294 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
295 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
297 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
298 [!__ASSUME_STD_AUXV]: Remove conditional code.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
300 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
301 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
303 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
304 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
306 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
308 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
309 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
311 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
313 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
316 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
319 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
321 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
323 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
325 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
328 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
330 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
333 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
335 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
337 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
339 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
342 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
344 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
346 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
348 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
351 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
353 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
354 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
355 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
356 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
357 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
358 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
359 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
360 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
361 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
362 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
363 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
364 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
365 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
366 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
367 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
368 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
369 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
370 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
371 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
373 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
374 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
375 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
377 2012-07-25 Florian Weimer <fweimer@redhat.com>
379 * Versions.def: Add GLIBC_2.17.
380 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
381 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
382 Introduce __libc_secure_getenv.
383 * stdlib/Versions (2.17): Add secure_getenv
384 (GLIBC_PRIVATE): Add __libc_secure_getenv.
385 * stdlib/secure-getenv.c: Rename __secure_getenv to
386 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
387 symbol __secure_getenv for GLIBC_2.0.
388 * stdlib/tst-secure-getenv.c: New.
389 * stdlib/Makefile (tests): Add testcase.
390 * manual/startup.texi (Environment Access): Document
392 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
393 __libc_secure_getenv.
394 * inet/ruserpass.c (ruserpass): Likewise.
395 * malloc/mtrace.c (mtrace): Likewise.
396 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
397 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
398 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
399 * sysdeps/posix/tempname.c: Likewise. Evaluate
401 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
402 __secure_getenv to __libc_secure_getenv.
403 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
410 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
416 2012-07-25 Joseph Myers <joseph@codesourcery.com>
418 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
419 (struct La_i86_retval): Likewise.
420 (struct La_x86_64_regs): Likewise.
421 (struct La_x86_64_retval): Likewise.
422 (struct La_x32_regs): Likewise.
423 (struct La_x32_retval): Likewise.
424 (struct La_ppc32_regs): Likewise.
425 (struct La_ppc32_retval): Likewise.
426 (struct La_ppc64_regs): Likewise.
427 (struct La_ppc64_retval): Likewise.
428 (struct La_sh_regs): Likewise.
429 (struct La_sh_retval): Likewise.
430 (struct La_s390_32_regs): Likewise.
431 (struct La_s390_32_retval): Likewise.
432 (struct La_s390_64_regs): Likewise.
433 (struct La_s390_64_retval): Likewise.
434 (struct La_sparc32_regs): Likewise.
435 (struct La_sparc32_retval): Likewise.
436 (struct La_sparc64_regs): Likewise.
437 (struct La_sparc64_retval): Likewise.
438 (struct audit_ifaces): Remove architecture-specific pltenter and
440 * sysdeps/i386/ldsodefs.h: New file.
441 * sysdeps/powerpc/ldsodefs.h: Likewise.
442 * sysdeps/s390/ldsodefs.h: Likewise.
443 * sysdeps/sh/ldsodefs.h: Likewise.
444 * sysdeps/sparc/ldsodefs.h: Likewise.
445 * sysdeps/x86_64/ldsodefs.h: Likewise.
447 2012-07-25 Marek Polacek <polacek@redhat.com>
450 * math/libm-test.inc (yn_test): Add another test.
451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
452 to ERANGE when the result is +-Inf.
453 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
454 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
455 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
456 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
458 2012-07-24 Joseph Myers <joseph@codesourcery.com>
460 * conform/data/time.h-data (NULL): Use macro-constant. Require
462 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
464 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
466 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
468 * configure.in <sysdeps resolving>: Correct printing
470 * configure: Regenerate.
472 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
474 * math/w_ilogb.c: Include <limits.h>.
475 * math/w_ilogbl.c: Likewise.
477 2012-07-20 Joseph Myers <joseph@codesourcery.com>
479 * manual/lang.texi (__va_copy): Document primarily as ISO C99
480 va_copy. Document allowing for unavailable va_copy only as
481 pre-C99 compatibility.
482 * manual/string.texi (Copying and Concatenation): Use va_copy
483 instead of __va_copy in concat example.
485 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
487 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
488 (__sendto): Use create_address_port. Initialize APORT and deallocate
491 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
492 with O_NOLINK passed to __file_name_lookup.
494 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
495 with O_NOLINK passed to __file_name_lookup.
497 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
498 negative N or less than NGIDS.
500 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
501 type to string_t. Set ERANGE as errno and return it if NAME is not big
502 enough. Use memcpy instead of strncpy.
504 2012-07-20 Joseph Myers <joseph@codesourcery.com>
506 * elf/Makefile (check-data): Remove.
507 (localplt.data): New vpath directive.
508 ($(objpfx)check-localplt.out): Use localplt.data from vpath
509 instead of $(check-data).
510 * scripts/data/localplt-generic.data: Move to ...
511 * sysdeps/generic/localplt.data: ... here.
512 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
513 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
514 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
517 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
520 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
523 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
526 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
529 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
533 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
536 PPC32 and PPC64 files.
537 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
538 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
540 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
542 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
543 __makecontext_ret to ...
544 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
545 ... here and call exit if uc_link is NULL. New file.
546 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
548 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
549 __makecontext_ret to ...
550 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
551 ... here and call exit if uc_link is NULL. New file.
552 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
555 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
557 * elf/elf.h (R_390_IRELATIVE): New definition.
558 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
559 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
560 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
562 (elf_machine_lazy_rel): Likewise.
563 * sysdeps/s390/dl-irel.h: New file.
564 * sysdeps/s390/s390-64/memcpy.S: New asm code.
565 * sysdeps/s390/s390-64/memset.S: New asm code.
566 * sysdeps/s390/s390-64/memcmp.S: New asm code.
567 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
568 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
569 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
570 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
571 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
573 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
574 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
575 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
576 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
577 * sysdeps/s390/s390-32/memcpy.S: New asm code.
578 * sysdeps/s390/s390-32/memset.S: New asm code.
579 * sysdeps/s390/s390-32/memcmp.S: New asm code.
581 2012-07-17 Marek Polacek <polacek@redhat.com>
584 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
585 * sysdeps/s390/s390-64/configure.in: Likewise.
586 * sysdeps/sparc/configure.in: Likewise.
587 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
588 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
589 * sysdeps/i386/configure.in: Likewise.
590 * sysdeps/x86_64/configure.in: Likewise.
591 * sysdeps/sh/configure.in: Likewise.
592 * sysdeps/s390/s390-32/configure: Regenerated.
593 * sysdeps/s390/s390-64/configure: Likewise.
594 * sysdeps/x86_64/configure: Likewise.
595 * sysdeps/sh/configure: Likewise.
596 * sysdeps/powerpc/powerpc64/configure: Likewise.
597 * sysdeps/powerpc/powerpc32/configure: Likewise.
598 * sysdeps/sparc/configure: Likwise.
599 * sysdeps/i386/configure: Likewise.
601 * elf/dl-open.c: Comment fixes.
603 2012-07-17 Joseph Myers <joseph@codesourcery.com>
605 * Makefile [CXX] (check-data): Remove.
606 [CXX] (c++-types.data): New vpath directive.
607 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
608 vpath. Do not allow for C++ type data being missing.
609 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
610 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
611 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
612 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
613 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
614 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
615 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
618 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
621 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
624 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
627 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
630 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
633 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
636 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
639 * elf/tls-macros.h (TLS_LE): Move architecture-specific
640 definitions to architecture-specific files.
644 * sysdeps/i386/tls-macros.h: New file.
645 * sysdeps/powerpc/tls-macros.h: Likewise.
646 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
647 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
648 * sysdeps/sh/tls-macros.h: Likewise.
649 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
650 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
651 * sysdeps/x86_64/tls-macros.h: Likewise.
653 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
655 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
656 zero value for regular exit case.
658 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
659 (__start_context): Preserve zero value for regular exit case.
661 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
662 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
664 * manual/setjmp.texi (setcontext): Clarify normal process
665 termination when uc_link is the null pointer.
666 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
669 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
671 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
672 preprocessor. Test for each exception mask separately.
674 2012-07-16 Andreas Jaeger <aj@suse.de>
676 * po/ru.po: Update from translation team.
678 2012-07-15 Joseph Myers <joseph@codesourcery.com>
680 * conform/data/string.h-data (NULL): Use macro-constant. Require
682 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
683 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
684 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
685 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
688 2012-07-13 Andreas Jaeger <aj@suse.de>
690 * po/fr.po: Update from translation team.
692 2012-07-12 Marek Polacek <polacek@redhat.com>
695 * math/libm-test.inc (yn_test): Add test for BZ #14173.
696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
699 2012-07-12 Joseph Myers <joseph@codesourcery.com>
702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
703 Change to 2.4.1 where previously 2.4.0.
704 * sysdeps/unix/sysv/linux/configure: Regenerated.
705 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
706 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
708 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
709 (__ASSUME_AT_CLKTCK): Remove.
710 (__ASSUME_AT_PAGESIZE): Likewise.
711 (__ASSUME_AT_XID): Likewise.
712 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
713 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
714 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
716 (HAVE_AUX_PAGESIZE): Likewise.
717 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
718 [__ASSUME_AT_CLKTCK]: Make code unconditional.
719 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
721 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
725 the temporary buffer used to invoke __gethostbyname2_r,
726 __gethostbyaddr_r and gethostbyname4_r to make room for struct
727 host_data / struct gaih_addrtuple.
728 * resolv/nss_dns/dns-host.c (global scope): Move definition of
729 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
730 header file nss/nsswitch.h.
731 * nss/nsswitch.h (global scope): Add definition of implementation
732 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
733 resolv/nss_dns/dns-host.c).
735 2012-07-11 Andreas Jaeger <aj@suse.de>
737 * po/fr.po: Update from translation team.
739 * po/sv.po: Update from translation team
740 * po/fr.po: Another update from translation team.
742 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
744 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
745 for subnormals or multiply small sinh result by itself.
746 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
749 2012-07-11 David S. Miller <davem@davemloft.net>
751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
753 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
756 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
757 (INTERNAL_MARK): Shift it here.
759 2012-07-10 Marek Polacek <polacek@redhat.com>
762 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
763 libc_cv_asm_global_directive with .globl.
764 * configure: Regenerated.
765 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
767 * sysdeps/i386/configure: Regenerated.
768 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
770 * sysdeps/x86_64/configure: Regenerated.
771 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
772 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
773 * elf/tst-unique2mod2.c: Likewise.
774 * elf/tst-unique2mod1.c: Likewise.
775 * elf/tst-unique1mod2.c: Likewise.
776 * elf/tst-unique1mod1.c: Likewise.
777 * sysdeps/s390/s390-32/sysdep.h: Likewise.
778 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
779 * sysdeps/s390/s390-64/sysdep.h: Likewise.
780 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
781 * sysdeps/mach/sysdep.h: Likewise.
782 * sysdeps/i386/sysdep.h: Likewise.
783 * sysdeps/i386/i386-mcount.S: Likewise.
784 * sysdeps/x86_64/_mcount.S: Likewise.
785 * sysdeps/x86_64/sysdep.h: Likewise.
786 * sysdeps/sh/_mcount.S: Likewise.
787 * sysdeps/sh/sysdep.h: Likewise.
788 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
789 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
790 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
791 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
792 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
793 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
794 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
795 * locale/localeinfo.h: Likewise.
796 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
797 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
799 2012-07-09 Roland McGrath <roland@hack.frob.com>
802 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
804 * manual/message.texi (The Uniforum approach): Likewise.
805 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
806 (glibc iconv Implementation): Likewise.
808 2012-07-09 Joseph Myers <joseph@codesourcery.com>
811 * math/s_clog.c (__clog): Avoid scaling a value down where that
812 could result in underflow.
813 * math/s_clog10.c (__clog10): Likewise.
814 * math/s_clog10f.c (__clog10f): Likewise.
815 * math/s_clog10l.c (__clog10l): Likewise.
816 * math/s_clogf.c (__clogf): Likewise.
817 * math/s_clogl.c (__clogl): Likewise.
818 * math/libm-test.inc (clog_test): Add more tests.
819 (clog10_test): Likewise.
820 * sysdeps/i386/fpu/libm-test-ulps: Update.
821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
823 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
826 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
827 by 7 not 8 to examine high bit of fractional part.
830 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
831 for call to __mcount_internal.
832 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
833 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
834 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
836 2012-07-06 Joseph Myers <joseph@codesourcery.com>
839 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
840 approximation for values within 0x1p-13f of an odd multiple of
842 * math/libm-test.inc (tan_test): Do not allow spurious underflow
843 exception. Add more tests.
844 * sysdeps/i386/fpu/libm-test-ulps: Update.
847 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
848 inputs and return -1 for them. Do not check for +Inf in case not
850 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
851 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
852 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
853 and return -1 for them. Do not check for +Inf in case not
855 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
857 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
858 and return -1 for them. Do not check for +Inf in case not
860 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
862 * sysdeps/i386/fpu/libm-test-ulps: Update.
863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
865 2012-07-06 Mike Frysinger <vapier@gentoo.org>
867 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
869 2012-07-05 Joseph Myers <joseph@codesourcery.com>
873 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
874 could result in spurious underflow. Scale down values above
875 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
876 * math/s_csqrtf.c (__csqrtf): Likewise.
877 * math/s_csqrtl.c (__csqrtl): Likewise.
878 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
880 * sysdeps/i386/fpu/libm-test-ulps: Update.
881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
883 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
885 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
887 * catgets/xopen-msg.awk: New file.
888 * catgets/xopen-msg.sed: Removed.
890 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
892 * intl/po2test.awk: New file.
893 * intl/po2test.sed: Removed.
895 2012-07-04 Joseph Myers <joseph@codesourcery.com>
898 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
899 or multiply small sinh result by itself.
900 * math/s_ctanf.c (__ctanf): Likewise.
901 * math/s_ctanh.c (__ctanh): Likewise.
902 * math/s_ctanhf.c (__ctanhf): Likewise.
903 * math/s_ctanhl.c (__ctanhl): Likewise.
904 * math/s_ctanl.c (__ctanl): Likewise.
905 * math/libm-test.inc (ctan_test_tonearest): New function.
906 (ctan_test_towardzero): Likewise.
907 (ctan_test_downward): Likewise.
908 (ctan_test_upward): Likewise.
909 (ctanh_test_tonearest): Likewise.
910 (ctanh_test_towardzero): Likewise.
911 (ctanh_test_downward): Likewise.
912 (ctanh_test_upward): Likewise.
913 (main): Call these new functions.
914 * sysdeps/i386/fpu/libm-test-ulps: Update.
915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
917 2012-07-03 Mike Frysinger <vapier@gentoo.org>
919 * .gitignore: Delete /ports entry.
921 2012-07-03 Andreas Jaeger <aj@suse.de>
923 * po/bg.po: Update from translation team.
924 * po/cs.po: Likewise.
925 * po/de.po: Likewise.
926 * po/hr.po: Likewise.
927 * po/nl.pl: Likewise.
928 * po/pl.po: Likewise.
929 * po/vi.po: Likewise.
931 2012-07-03 Joseph Myers <joseph@codesourcery.com>
933 * Makeconfig [!+link] (+link-before-libc): New variable.
934 [!+link] (+link-after-libc): Likewise.
935 [!+link] (+link-tests): Likewise.
936 [!+link] (+link): Define in terms of $(+link-before-libc) and
938 [!+link-static] (+link-static-before-libc): New variable.
939 [!+link-static] (+link-static-after-libc): Likewise.
940 [!+link-static] (+link-static-tests): Likewise.
941 [!+link-static] (+link-static): Define in terms of
942 $(+link-static-before-libc) and $(+link-static-after-libc).
943 [build-shared] (link-libc-before-gnulib): New variable.
944 [build-shared] (link-libc-tests): Likewise.
945 [build-shared] (link-libc): Define in terms of
946 $(link-libc-before-gnulib).
947 [!build-shared] (link-libc-tests): New variable.
948 (link-libc-static-tests): New variable.
949 [!gnulib] (gnulib-arch): New variable.
950 [!gnulib] (gnulib-tests): Likewise.
951 [!gnulib] (static-gnulib-arch): Likewise.
952 [!gnulib] (static-gnulib-tests): Likewise.
953 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
954 Define with "=" instead of ":=".
955 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
956 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
957 * Rules (binaries-all-notests): New variable.
958 (binaries-all-tests): Likewise.
959 (binaries-static-notests): Likewise.
960 (binaries-static-tests): Likewise.
961 (binaries-all): Define using $(binaries-all-notests) and
962 $(binaries-all-tests).
963 (binaries-static): Define using $(binaries-static-notests) and
964 $(binaries-static-tests).
965 (binaries-shared-tests): New variable.
966 (binaries-shared-notests): Likewise.
967 (binaries-shared): Remove variable.
968 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
969 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
970 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
971 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
972 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
973 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
974 * elf/Makefile (sln-modules): New variable.
975 (extra-objs): Add $(sln-modules:=.o).
976 (ldconfig-modules): Add static-stubs.
977 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
978 * elf/static-stubs.c: New file.
981 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
982 by 7 not 8 to examine high bit of fractional part. Use volatile
983 variables when splitting into final array of floats if
984 __FLT_EVAL_METHOD__ != 0.
985 * math/libm-test.inc (cos_test): Add another test.
986 (sin_test): Likewise.
987 * sysdeps/i386/fpu/libm-test-ulps: Update.
990 * math/libm-test.inc (cosh_test): Add more tests.
992 * version.h (RELEASE): Set to "development".
993 (VERSION): Set to "2.16.90".
995 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
997 * NEWS: Update copyright. Remove last-updated date.
998 Mention math library bug fixes and timezone data changes.
999 * README: Mention GNU/Hurd, x32, and HPPA support status.
1001 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1003 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1005 2012-06-27 Andreas Jaeger <aj@suse.de>
1007 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1009 2012-06-25 Andreas Jaeger <aj@suse.de>
1011 * sysdeps/s390/fpu/libm-test-ulps: Update.
1013 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1014 Thomas Schwinge <thomas@codesourcery.com>
1016 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1017 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1021 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1023 * sysdeps/mach/start.c: Remove file.
1024 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1025 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1026 * sysdeps/sh/init-first.c: Likewise.
1028 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1029 registers for frame unwinding purposes, add CFI directives.
1030 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1032 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1035 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1036 __fortify_fail returning.
1037 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1039 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1040 sysdeps/sh/____longjmp_chk.S.
1041 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1042 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1043 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1044 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1046 * sysdeps/sh/abort-instr.h: New file.
1047 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1048 process in case exit returns.
1050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1051 initialize the GOT register before use.
1053 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1054 calculation of ARGC > 4.
1056 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1057 meaningful names to some local labels.
1059 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1060 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1062 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1063 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1064 (__arch_compare_and_exchange_val_16_acq): Likewise.
1065 (__arch_compare_and_exchange_val_32_acq): Likewise.
1066 (atomic_exchange_and_add): Fix gUSA sequence.
1067 (atomic_add): Likewise.
1068 (atomic_add_negative): Likewise.
1069 (atomic_add_zero): Likewise.
1070 (atomic_bit_test_set): Likewise.
1072 2012-06-22 Andreas Schwab <schwab@redhat.com>
1075 * include/link.h (struct link_map): Add l_free_initfini.
1076 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1078 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1079 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1080 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1083 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1085 * configure.in: Use AC_LANG_SOURCE.
1086 * configure: Regenerate.
1088 2012-06-22 Roland McGrath <roland@hack.frob.com>
1090 * configure.in (libc_cv_localstatedir): New substituted variable.
1091 * configure: Regenerated.
1092 * config.make.in (localstatedir): New variable, substituted from
1093 libc_cv_localstatedir.
1094 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1095 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1096 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1097 * sysdeps/gnu/configure: Regenerated.
1099 2012-06-21 Jeff Law <law@redhat.com>
1102 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1103 free. Simplify list management for _LIBC case.
1105 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1108 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1109 Clear sign bit of 64-bit integer value before comparing against
1112 * sysdeps/mach/configure: Regenerated.
1114 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1117 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1119 2012-06-21 Jeff Law <law@redhat.com>
1122 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1123 uint16_t for elements in the "seen" array to avoid char overflows.
1124 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1125 * elf/dl-open.c (dl_open_worker): Likewise.
1127 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1129 * scripts/list-sources.sh: Scan PORTS for translations.
1130 * po/libc.pot: Regenerated.
1132 2012-06-21 Andreas Jaeger <aj@suse.de>
1135 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1137 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1138 * bits/byteswap-16.h (__bswap_16): Likewise.
1139 * bits/byteswap.h (__bswap_constant_16): Likewise.
1141 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1144 * sysdeps/i386/fpu_control.h: Removed.
1145 * sysdeps/x86_64/fpu_control.h: Moved to ...
1146 * sysdeps/x86/fpu_control.h: Here.
1148 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1149 (_FPU_SETCW): Likewise.
1151 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1154 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1155 * sysdeps/x86/fpu/bits/mathinline.h: This.
1156 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1160 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1161 functions if __x86_64__ is defined.
1163 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1165 * string/endian.h: Add !__ASSEMBLER__ condition for including
1166 conversion interfaces.
1168 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1172 of ABS(x) in calculating zero to negative powers other than odd
1174 * math/libm-test.inc (pow_test): Add more tests.
1176 2012-06-15 Andreas Jaeger <aj@suse.de>
1178 * manual/contrib.texi (Contributors): Update entry of Liubov
1179 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1182 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1184 * string/string.h: Add __wur to GNU version of strerror_r.
1186 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1189 * string/Makefile (tests): Add tst-strtok_r.
1190 * string/tst-strtok_r.c: New file.
1191 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1192 RAX_LP/RDX_LP on SAVE_PTR.
1194 2012-06-14 Roland McGrath <roland@hack.frob.com>
1196 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1198 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1200 * libm_test.inc (csqrt_test): Allow more spurious underflow
1202 (j0_test): Likewise.
1203 (j1_test): Likewise.
1204 (y0_test): Likewise.
1205 (y1_test): Likewise.
1207 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1209 * po/Makefile (libc.pot): Use UTF-8 charset.
1211 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1214 Suppress sign-conversion warning from FD_SET.
1215 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1216 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1217 not unsigned long int.
1218 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1220 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1224 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1225 __extern_always_inline instead of __extern_inline.
1226 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1227 (__signbit): Likewise.
1228 (__signbitl): Support C++ namespace.
1229 (lrintf): New inline function.
1231 (llrintf): Likewise.
1243 (nearbyint): Likewise.
1244 (nearbyintf): Likewise.
1246 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1248 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1249 non-default versions.
1251 2012-06-11 Roland McGrath <roland@hack.frob.com>
1254 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1256 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1258 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1259 (FE_UPWARD, FE_DOWNWARD): Don't define.
1260 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1261 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1263 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1265 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1266 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1268 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1270 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1271 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1272 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1273 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1275 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1278 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1279 * sysdeps/i386/fpu/Implies: New file.
1280 * sysdeps/x86_64/fpu/Implies: Likewise.
1281 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1282 * sysdeps/x86/fpu/bits/fenv.h: This.
1284 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1287 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1290 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1291 character 0xffff that matches the last element of the
1294 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1296 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1299 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1302 values higher than 25.6283.
1304 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1307 subnormal exponent extraction and add some __builtin_expect.
1308 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1309 Fix for subnormal mantissa calculation.
1311 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1313 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1314 cpu2 is -1 and errno is not ENOSYS.
1316 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1319 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1320 * sysdeps/x86/bits/string.h: This.
1321 * sysdeps/x86_64/bits/string.h: Removed.
1323 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1324 if not compiling for x86-64, but compiling for >= i486.
1326 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1327 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1329 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1330 New macro from Linux kernel 3.4.0.
1331 (FP_XSTATE_MAGIC2): Likewise.
1332 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1333 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1334 (struct _fpx_sw_bytes): New struct.
1335 (struct _xsave_hdr): Likewise.
1336 (struct _ymmh_state): Likewise.
1337 (struct _xstate): Likewise.
1339 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1340 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1341 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1342 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1343 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1344 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1346 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1347 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1348 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1349 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1350 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1351 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1353 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1356 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1357 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1358 (sysdep_headers): Include sys/platform/ppc.h.
1359 * sysdeps/powerpc/test-gettimebase.c: Test for
1360 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1361 * manual/Makefile (appendices): Include platform.texi.
1362 * manual/contrib.texi (Contributors): Update @node pointers.
1363 * manual/maint.texi (Maintenance): Likewise.
1364 (Platform): New node.
1365 * manual/platform.texi: New file. Document the new features.
1367 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1368 Jakub Jelinek <jakub@redhat.com>
1371 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1372 where __builtin_expect is unavailable.
1374 2012-06-03 David S. Miller <davem@davemloft.net>
1376 * stdlib/longlong.h: Updated from GCC.
1378 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1381 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1382 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1385 (GLIBC_2.16): Likewise.
1387 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1389 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1391 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1394 (default-abi): New variable.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1396 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1398 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1400 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1402 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1405 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1406 definition. Document in comment.
1408 2012-06-01 David S. Miller <davem@davemloft.net>
1410 * stdlib/longlong.h: Updated from GCC.
1412 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1415 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1416 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1417 sys/debugreg.h sys/io.h here.
1418 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1419 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1421 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1422 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1423 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1424 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1425 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1426 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1428 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1429 Define only if __x86_64__ is defined.
1431 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1434 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1435 Use int64_t for variable i.
1436 * math/libm-test.inc (fmod_test): Add more tests.
1438 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1439 z computation is not scheduled after fetestexcept.
1440 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1441 Use math_force_eval instead of asm to ensure calculation scheduled
1442 before exception test.
1443 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1444 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1446 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1448 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1449 computation is not scheduled after fetestexcept.
1451 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1454 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1455 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1457 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1459 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1460 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1462 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1465 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1467 (__WCHAR_MIN): Support __WORDSIZE == 64.
1468 (__WCHAR_MAX): Likewise.
1470 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1471 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1474 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1475 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1478 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1479 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1481 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1482 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1484 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1485 Defined to 1 if __x86_64__ isn't defined.
1486 (_STAT_VER_LINUX_OLD): New.
1487 (st_atime): Remove duplicate.
1488 (st_mtime): Likewise.
1489 (st_ctime): Likewise.
1491 2012-05-31 David S. Miller <davem@davemloft.net>
1493 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1496 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1498 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1502 * elf/dl-reloc.c: Include <_itoa.h>.
1503 (_dl_reloc_bad_type): Remove use of INTUSE.
1504 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1505 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1506 * stdio-common/psiginfo.c (psiginfo): Likewise.
1507 * stdio-common/psignal.c (psignal): Likewise.
1508 * string/strsignal.c (strsignal): Likewise.
1509 * include/signal.h (_sys_siglist): Declare hidden proto.
1510 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1511 INTVARDEF with libc_hidden_data_def.
1512 * stdio-common/itoa-udigits.c: Likewise.
1513 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1514 (_itoa_lower_digits_internal): Remove declaration.
1515 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1516 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1517 (_sys_sigabbrev_internal): Remove aliases.
1518 (_sys_siglist): Define hidden alias.
1520 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1525 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1528 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1529 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1531 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1532 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1533 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1534 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1536 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1538 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1539 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1540 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1542 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1550 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1551 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1552 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1554 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1555 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1556 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1557 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1558 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1559 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1561 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1562 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1564 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1565 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1568 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1569 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1571 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1572 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1574 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1576 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1577 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1578 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1580 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1582 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1584 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1586 * math/math.h (M_El): Use two more decimal places.
1587 (M_LOG2El): Likewise.
1588 (M_LOG10El): Likewise.
1590 (M_LN10l): Likewise.
1592 (M_PI_2l): Likewise.
1593 (M_PI_4l): Likewise.
1594 (M_1_PIl): Likewise.
1595 (M_2_PIl): Likewise.
1596 (M_2_SQRTPIl): Likewise.
1597 (M_SQRT2l): Likewise.
1598 (M_SQRT1_2l): Likewise.
1600 2012-05-31 David S. Miller <davem@davemloft.net>
1602 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1603 values between float registers.
1604 * sysdeps/sparc/sparc64/memset.S: Likewise.
1605 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1607 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1609 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1610 -D_FORTIFY_SOURCE=1.
1611 (CPPFLAGS-tst-longjmp_chk.c): Define.
1612 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1613 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1614 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1615 CFLAGS-tst-wchar-h.c.
1617 2012-05-31 Marek Polacek <polacek@redhat.com>
1620 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1621 __endmntent_internal): Remove declaration.
1622 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1623 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1624 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1626 2012-05-30 David S. Miller <davem@davemloft.net>
1628 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1629 (___Q_simulate_exceptions): Use real FP ops rather than writing
1631 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1634 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1637 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1638 * sysdeps/x86/bits/xtitypes.h: This.
1640 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1641 * sysdeps/x86/bits/wordsize.h: This.
1643 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1644 * sysdeps/x86/bits/huge_vall.h: This.
1646 * sysdeps/i386/bits/select.h: Removed.
1647 * sysdeps/x86_64/bits/select.h: Renamed to ...
1648 * sysdeps/x86/bits/select.h: This.
1650 * sysdeps/i386/bits/setjmp.h: Removed.
1651 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1652 * sysdeps/x86/bits/setjmp.h: This.
1654 * sysdeps/i386/bits/mathdef.h: Removed.
1655 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1656 * sysdeps/x86/bits/mathdef.h: This.
1658 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1661 * include/sys/socket.h (__connect_internal)
1662 (__libc_sa_len_internal): Remove declaration.
1663 (__connect, __libc_sa_len): Declare hidden_proto.
1664 (SA_LEN): Remove use of INTUSE.
1665 * socket/connect.c: Add libc_hidden_def.
1666 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1667 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1668 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1670 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1671 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1672 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1673 of adding _internal alias.
1675 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1678 * sysdeps/i386/bits/link.h: Removed.
1679 * sysdeps/i386/bits/linkmap.h: Likewise.
1680 * sysdeps/x86_64/bits/link.h: Renamed to ...
1681 * sysdeps/x86/bits/link.h: This.
1682 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1683 * sysdeps/x86/bits/linkmap.h: This.
1685 * sysdeps/i386/bits/endian.h: Removed.
1686 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1687 * sysdeps/x86/bits/endian.h: This.
1689 * sysdeps/i386/bits/byteswap.h: Removed.
1690 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1691 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1692 * sysdeps/x86/bits/byteswap.h: This.
1693 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1694 * sysdeps/x86/bits/byteswap-16.h: This.
1695 * sysdeps/i386/Implies: Add x86.
1696 * sysdeps/x86_64/Implies: Likewise.
1698 2012-05-30 David S. Miller <davem@davemloft.net>
1700 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1701 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1702 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1703 (FP_TRAPPING_EXCEPTIONS): Define.
1704 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1705 (FP_TRAPPING_EXCEPTIONS): Define.
1706 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1707 subnormals only when inexact has been signalled or underflow
1708 exceptions are enabled.
1709 (_FP_PACK_CANONICAL): Likewise.
1711 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1714 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1715 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1717 2012-05-30 Richard Henderson <rth@twiddle.net>
1719 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1720 with #ifndef NOT_IN_libc.
1722 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1723 marked to avoid plt entry.
1725 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1728 * Makeconfig (default-abi): New macro.
1729 (abi-includes): Likewise.
1730 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1731 $(abi-$(default-abi)-lib-soname) for soname if defined.
1732 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1734 * Makefile (installed-stubs): Likewise.
1735 * include/stubs-biarch.h: Removed.
1736 * scripts/lib-names.awk: Only handle one library at a time.
1737 * scripts/soversions.awk: Remove WORDSIZE support.
1738 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1740 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1742 (syscall-list-default-condition): Likewise.
1743 (syscall-list-default-condition): Likewise.
1744 (syscall-list-includes): Likewise.
1745 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1746 syscall-list-* with abi-*. Handle undefined abi-variants.
1747 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1748 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1749 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1750 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1751 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1752 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1754 (syscall-list-32-options): Likewise.
1755 (syscall-list-32-condition): Likewise.
1756 (syscall-list-64-options): Likewise.
1757 (syscall-list-64-condition): Likewise.
1758 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1760 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1763 (abi-64-ld-soname): New macro.
1764 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1765 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1768 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1769 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1771 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1773 * sysdeps/unix/sysv/linux/kernel-features.h
1774 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1775 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1776 include <kernel-features.h>.
1777 [!__NR_ftruncate64]: Remove conditional code.
1778 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1779 [__NR_ftruncate64]: Make code unconditional.
1780 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1781 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1782 include <kernel-features.h>.
1783 [!__NR_ftruncate64]: Remove conditional code.
1784 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1785 [__NR_ftruncate64]: Make code unconditional.
1786 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1788 include <kernel-features.h>.
1789 [!__NR_ftruncate64]: Remove conditional code.
1790 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1791 [__NR_ftruncate64]: Make code unconditional.
1792 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1794 include <kernel-features.h>.
1795 [!__NR_ftruncate64]: Remove conditional code.
1796 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1797 [__NR_ftruncate64]: Make code unconditional.
1798 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1800 * configure.in (libc_cv_fpie): Weaken to a compile test using
1802 * configure: Regenerated.
1804 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1819 2012-05-27 David S. Miller <davem@davemloft.net>
1821 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1823 (__Q_simulate_exceptions): Return void. Change to simulate
1824 exceptions by writing into the %fsr.
1825 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1826 (__Qp_handle_exceptions): Likewise.
1828 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1829 __Qp_handle_exceptions.
1830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1831 __Qp_handle_exceptions.
1832 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1833 as unused and give dummy FP_RND_NEAREST initializer.
1834 (FP_INHIBIT_RESULTS): Define.
1835 (___Q_simulate_exceptions): Update declaration.
1836 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1838 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1839 as unused and give dummy FP_RND_NEAREST initializer.
1840 (__Qp_handle_exceptions): Update declaration.
1841 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1844 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1846 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1847 the temporary FPU control word.
1848 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1849 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1850 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1851 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1852 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1853 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1854 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1855 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1856 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1857 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1858 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1860 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1862 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1865 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1867 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1868 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1869 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1870 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1872 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1873 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1876 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1878 * po/h.po: Update from translation team.
1880 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1882 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1884 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1885 handling of denormals.
1886 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1887 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1888 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1889 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1890 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1891 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1895 2012-05-26 Marek Polacek <polacek@redhat.com>
1898 * math/libm-test.inc (fma_test): Don't always expect underflow
1901 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1904 * elf/tst-execstack.c: Include stackinfo.h.
1905 (do_test): Adjust test case to ensure that pthread_getattr_np
1906 behaviour remains the same after marking stack executable.
1908 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1910 * sysdeps/unix/sysv/linux/kernel-features.h
1911 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1912 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1914 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1915 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1916 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1918 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1919 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1921 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1923 * configure.in: Define the default includes to being none.
1924 * configure: Regenerated.
1926 2012-05-25 Roland McGrath <roland@hack.frob.com>
1928 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1929 * sysdeps/x86_64/setjmp.S: Likewise.
1930 * sysdeps/i386/bsd-setjmp.S: Likewise.
1931 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1932 * sysdeps/i386/setjmp.S: Likewise.
1933 * sysdeps/i386/__longjmp.S: Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1935 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1937 * include/stap-probe.h: New file.
1938 * configure.in: Handle --enable-systemtap.
1939 * configure: Regenerated.
1940 * config.h.in (USE_STAP_PROBE): New #undef.
1941 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1942 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1943 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1945 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1948 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1949 to 2.4.0 where earlier.
1950 * sysdeps/unix/sysv/linux/configure: Regenerated.
1951 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1952 <kernel-features.h>.
1953 [__ASSUME_32BITUIDS]: Make code unconditional.
1954 [!__ASSUME_32BITUIDS]: Remove conditional code.
1955 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1956 <kernel-features.h>.
1957 [__ASSUME_32BITUIDS]: Make code unconditional.
1958 [!__ASSUME_32BITUIDS]: Remove conditional code.
1959 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1960 [__ASSUME_32BITUIDS]: Make code unconditional.
1961 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1962 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1963 <kernel-features.h>.
1964 [__ASSUME_32BITUIDS]: Make code unconditional.
1965 [!__ASSUME_32BITUIDS]: Remove conditional code.
1966 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1967 <kernel-features.h>.
1968 [__ASSUME_32BITUIDS]: Make code unconditional.
1969 [!__ASSUME_32BITUIDS]: Remove conditional code.
1970 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1971 <kernel-features.h>.
1972 [__ASSUME_32BITUIDS]: Make code unconditional.
1973 [!__ASSUME_32BITUIDS]: Remove conditional code.
1974 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1975 <kernel-features.h>.
1976 [__ASSUME_32BITUIDS]: Make code unconditional.
1977 [!__ASSUME_32BITUIDS]: Remove conditional code.
1978 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1979 <kernel-features.h>.
1980 [__ASSUME_32BITUIDS]: Make code unconditional.
1981 [!__ASSUME_32BITUIDS]: Remove conditional code.
1982 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1983 <kernel-features.h>.
1984 [__ASSUME_32BITUIDS]: Make code unconditional.
1985 [!__ASSUME_32BITUIDS]: Remove conditional code.
1986 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1987 <kernel-features.h>.
1988 [__ASSUME_32BITUIDS]: Make code unconditional.
1989 [!__ASSUME_32BITUIDS]: Remove conditional code.
1990 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1991 <kernel-features.h>.
1992 [__ASSUME_32BITUIDS]: Make code unconditional.
1993 [!__ASSUME_32BITUIDS]: Remove conditional code.
1994 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1995 <kernel-features.h>.
1996 [__ASSUME_32BITUIDS]: Make code unconditional.
1997 [!__ASSUME_32BITUIDS]: Remove conditional code.
1998 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1999 <kernel-features.h>.
2000 [__ASSUME_32BITUIDS]: Make code unconditional.
2001 [!__ASSUME_32BITUIDS]: Remove conditional code.
2002 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2003 <kernel-features.h>.
2004 [__NR_setresgid] (__setresgid): Do not declare.
2005 [__ASSUME_32BITUIDS]: Make code unconditional.
2006 [!__ASSUME_32BITUIDS]: Remove conditional code.
2007 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2008 <kernel-features.h>.
2009 [__NR_setresuid] (__setresuid): Do not declare.
2010 [__ASSUME_32BITUIDS]: Make code unconditional.
2011 [!__ASSUME_32BITUIDS]: Remove conditional code.
2012 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2013 <kernel-features.h>.
2014 [__ASSUME_32BITUIDS]: Make code unconditional.
2015 [!__ASSUME_32BITUIDS]: Remove conditional code.
2016 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2017 <kernel-features.h>.
2018 [__ASSUME_32BITUIDS]: Make code unconditional.
2019 [!__ASSUME_32BITUIDS]: Remove conditional code.
2020 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2021 <kernel-features.h>.
2022 [__ASSUME_32BITUIDS]: Make code unconditional.
2023 [!__ASSUME_32BITUIDS]: Remove conditional code.
2024 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2025 <kernel-features.h>.
2026 [__ASSUME_32BITUIDS]: Make code unconditional.
2027 [!__ASSUME_32BITUIDS]: Remove conditional code.
2028 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2029 <kernel-features.h>.
2030 [__ASSUME_32BITUIDS]: Make code unconditional.
2031 [!__ASSUME_32BITUIDS]: Remove conditional code.
2032 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2033 <kernel-features.h>.
2034 [__ASSUME_32BITUIDS]: Make code unconditional.
2035 [!__ASSUME_32BITUIDS]: Remove conditional code.
2036 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2037 <kernel-features.h>.
2038 [__ASSUME_32BITUIDS]: Make code unconditional.
2039 [!__ASSUME_32BITUIDS]: Remove conditional code.
2040 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2041 <kernel-features.h>.
2042 [__ASSUME_32BITUIDS]: Make code unconditional.
2043 [!__ASSUME_32BITUIDS]: Remove conditional code.
2044 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2045 <kernel-features.h>.
2046 [__ASSUME_32BITUIDS]: Make code unconditional.
2047 [!__ASSUME_32BITUIDS]: Remove conditional code.
2048 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2049 <kernel-features.h>.
2050 [__ASSUME_32BITUIDS]: Make code unconditional.
2051 [!__ASSUME_32BITUIDS]: Remove conditional code.
2052 * sysdeps/unix/sysv/linux/kernel-features.h
2053 (__ASSUME_SETRESUID_SYSCALL): Remove.
2054 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2055 (__ASSUME_32BITUIDS): Likewise.
2056 (__ASSUME_LDT_WORKS): Likewise.
2057 (__ASSUME_O_DIRECTORY): Likewise.
2058 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2059 architecture but not kernel version.
2060 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2061 (__ASSUME_MMAP2_SYSCALL): Likewise.
2062 (__ASSUME_STAT64_SYSCALL): Likewise.
2063 (__ASSUME_IPC64): Likewise.
2064 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2065 <kernel-features.h>.
2066 [__ASSUME_32BITUIDS]: Make code unconditional.
2067 [!__ASSUME_32BITUIDS]: Remove conditional code.
2068 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2069 <kernel-features.h>.
2070 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2071 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2072 132096]: Remove conditional code.
2073 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2074 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
2083 <kernel-features.h>.
2084 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2086 (__setresgid): Do not declare.
2087 [__ASSUME_32BITUIDS]: Make code unconditional.
2088 [!__ASSUME_32BITUIDS]: Remove conditional code.
2089 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2090 <kernel-features.h>.
2091 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2093 (__setresuid): Do not declare.
2094 [__ASSUME_32BITUIDS]: Make code unconditional.
2095 [!__ASSUME_32BITUIDS]: Remove conditional code.
2096 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2097 <kernel-features.h>.
2098 [__ASSUME_32BITUIDS]: Make code unconditional.
2099 [!__ASSUME_32BITUIDS]: Remove conditional code.
2100 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2101 <kernel-features.h>.
2102 [__ASSUME_32BITUIDS]: Make code unconditional.
2103 [!__ASSUME_32BITUIDS]: Remove conditional code.
2105 2012-05-25 Richard Henderson <rth@twiddle.net>
2107 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2108 dl_hwcap to ifunc resolver.
2109 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2111 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2112 dl_hwcap to ifunc resolver.
2113 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2115 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2118 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2119 for |x| <= 2**-26, not 2**-57.
2120 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2123 2012-05-24 Jeff Law <law@redhat.com>
2125 * stdio-common/Makefile (tests): Add bug25.
2126 * stdio-common/bug25.c: New test.
2128 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2131 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2132 multiple of MALLOC_ALIGNMENT in size.
2133 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2135 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2137 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2139 (FILENAME_MAX): Use macro-int-constant.
2140 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2141 (_IOFBF): Use macro-int-constant.
2144 (SEEK_CUR): Likewise.
2145 (SEEK_END): Likewise.
2146 (SEEK_SET): Likewise.
2147 (TMP_MAX): Likewise.
2148 (EOF): Use macro-int-constant. Require < 0.
2149 (NULL): Use macro-constant. Require == 0.
2150 (stdin): Require type to be FILE *.
2153 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2155 (EXIT_SUCCESS): Likewise.
2156 (NULL): Use macro-constant. Require == 0.
2157 (RAND_MAX): Use macro-int-constant.
2158 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2159 [C99-based standards] (strtof): Require function.
2160 [C99-based standards] (strtold): Likewise.
2161 [C99-based standards] (strtoll): Likewise.
2162 [C99-based standards] (strtoull): Likewise.
2163 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2164 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2165 [ISO || ISO99 || ISO11] (math.h): Likewise.
2166 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2167 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2168 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2170 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2173 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2174 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2175 * intl/dgettext.c (DCGETTEXT): Likewise.
2176 * intl/gettext.c (DCGETTEXT): Likewise.
2177 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2178 * posix/regex_internal.h (gettext): Likewise.
2179 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2181 * include/argz.h (__argz_count_internal)
2182 (__argz_stringify_internal): Remove declaration.
2183 (__argz_count, __argz_stringify): Declare hidden proto.
2184 * intl/dcgettext.c: Remove use of INTDEF.
2185 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2186 * string/argz-stringify.c: Likewise.
2187 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2188 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2189 Declare hidden proto.
2190 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2191 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2192 Declare hidden proto.
2193 * include/stdio.h (__asprintf_internal): Don't declare.
2194 (__asprintf): Don't define as macro. Declare hidden proto.
2195 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2196 (__fsetlocking): Declare hidden proto.
2197 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2198 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2200 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2201 (_IO_setlinebuf): Remove use of INTUSE.
2202 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2203 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2204 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2206 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2207 (_IO_do_flush): Remove use of INTUSE.
2208 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2209 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2210 (_IO_adjust_column, _IO_least_wmarker)
2211 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2212 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2213 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2214 (_IO_default_doallocate, _IO_wdefault_doallocate)
2215 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2216 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2217 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2218 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2219 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2220 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2221 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2222 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2223 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2224 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2225 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2226 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2227 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2229 (_IO_flush_all_internal, _IO_adjust_column_internal)
2230 (_IO_default_uflow_internal, _IO_default_finish_internal)
2231 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2232 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2233 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2234 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2235 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2236 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2237 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2238 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2239 (_IO_file_close_internal, _IO_file_close_it_internal)
2240 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2241 (_IO_file_init_internal, _IO_file_attach_internal)
2242 (_IO_file_fopen_internal, _IO_file_read_internal)
2243 (_IO_file_sync_internal, _IO_file_seek_internal)
2244 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2245 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2246 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2247 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2248 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2249 (_IO_list_all_internal, _IO_link_in_internal)
2250 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2251 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2252 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2253 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2254 (_IO_do_write_internal, _IO_padn_internal)
2255 (_IO_getline_info_internal, _IO_getline_internal)
2256 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2257 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2258 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2259 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2260 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2261 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2262 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2263 with libc_hidden_ver, remove use of INTUSE.
2264 * libio/genops.c: Likewise.
2265 * libio/freopen.c: Likewise.
2266 * libio/freopen64.c: Likewise.
2267 * libio/iofclose.c: Likewise.
2268 * libio/iofdopen.c: Likewise.
2269 * libio/iofflush.c: Likewise.
2270 * libio/iofflush_u.c: Likewise.
2271 * libio/iofgets.c: Likewise.
2272 * libio/iofgets_u.c: Likewise.
2273 * libio/iofopen.c: Likewise.
2274 * libio/iofopncook.c: Likewise.
2275 * libio/iofread.c: Likewise.
2276 * libio/iofread_u.c: Likewise.
2277 * libio/ioftell.c: Likewise.
2278 * libio/iofwrite.c: Likewise.
2279 * libio/iogetline.c: Likewise.
2280 * libio/iogets.c: Likewise.
2281 * libio/iogetwline.c: Likewise.
2282 * libio/iopadn.c: Likewise.
2283 * libio/iopopen.c: Likewise.
2284 * libio/ioseekoff.c: Likewise.
2285 * libio/ioseekpos.c: Likewise.
2286 * libio/iosetbuffer.c: Likewise.
2287 * libio/iosetvbuf.c: Likewise.
2288 * libio/ioungetc.c: Likewise.
2289 * libio/ioungetwc.c: Likewise.
2290 * libio/iovdprintf.c: Likewise.
2291 * libio/iovsprintf.c: Likewise.
2292 * libio/iovsscanf.c: Likewise.
2293 * libio/memstream.c: Likewise.
2294 * libio/obprintf.c: Likewise.
2295 * libio/oldfileops.c: Likewise.
2296 * libio/oldiofclose.c: Likewise.
2297 * libio/oldiofdopen.c: Likewise.
2298 * libio/oldiofopen.c: Likewise.
2299 * libio/oldiopopen.c: Likewise.
2300 * libio/oldstdfiles.c: Likewise.
2301 * libio/putc.c: Likewise.
2302 * libio/setbuf.c: Likewise.
2303 * libio/setlinebuf.c: Likewise.
2304 * libio/stdfiles.c: Likewise.
2305 * libio/strops.c: Likewise.
2306 * libio/vasprintf.c: Likewise.
2307 * libio/vscanf.c: Likewise.
2308 * libio/vsnprintf.c: Likewise.
2309 * libio/vswprintf.c: Likewise.
2310 * libio/wfiledoalloc.c: Likewise.
2311 * libio/wfileops.c: Likewise.
2312 * libio/wgenops.c: Likewise.
2313 * libio/wmemstream.c: Likewise.
2314 * libio/wstrops.c: Likewise.
2315 * libio/__fpurge.c: Likewise.
2316 * libio/__fsetlocking.c: Likewise.
2317 * assert/assert.c: Likewise.
2318 * debug/fgets_chk.c: Likewise.
2319 * debug/fgets_u_chk.c: Likewise.
2320 * debug/fread_chk.c: Likewise.
2321 * debug/fread_u_chk.c: Likewise.
2322 * debug/gets_chk.c: Likewise.
2323 * debug/obprintf_chk.c: Likewise.
2324 * debug/vasprintf_chk.c: Likewise.
2325 * debug/vdprintf_chk.c: Likewise.
2326 * debug/vsnprintf_chk.c: Likewise.
2327 * debug/vsprintf_chk.c: Likewise.
2328 * malloc/mtrace.c: Likewise.
2329 * misc/error.c: Likewise.
2330 * misc/syslog.c: Likewise.
2331 * stdio-common/asprintf.c: Likewise.
2332 * stdio-common/fxprintf.c: Likewise.
2333 * stdio-common/getw.c: Likewise.
2334 * stdio-common/isoc99_fscanf.c: Likewise.
2335 * stdio-common/isoc99_scanf.c: Likewise.
2336 * stdio-common/isoc99_vfscanf.c: Likewise.
2337 * stdio-common/isoc99_vscanf.c: Likewise.
2338 * stdio-common/isoc99_vsscanf.c: Likewise.
2339 * stdio-common/printf-prs.c: Likewise.
2340 * stdio-common/printf_fp.c: Likewise.
2341 * stdio-common/printf_fphex.c: Likewise.
2342 * stdio-common/printf_size.c: Likewise.
2343 * stdio-common/putw.c: Likewise.
2344 * stdio-common/scanf.c: Likewise.
2345 * stdio-common/sprintf.c: Likewise.
2346 * stdio-common/tmpfile.c: Likewise.
2347 * stdio-common/vfprintf.c: Likewise.
2348 * stdio-common/vfscanf.c: Likewise.
2349 * stdlib/strfmon_l.c: Likewise.
2350 * sunrpc/openchild.c: Likewise.
2351 * sunrpc/xdr_stdio.c: Likewise.
2352 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2353 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2355 2012-05-24 Roland McGrath <roland@hack.frob.com>
2357 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2359 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2360 in the third column, to generate for the shared library an IFUNC
2361 that uses _dl_vdso_vsym.
2362 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2363 * Makeconfig (object-suffixes-noshared): New variable.
2365 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2366 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2367 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2368 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2371 * include/sys/time.h (__gettimeofday): Remove macro.
2372 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2373 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2375 (__gettimeofday): Add libc_hidden_def.
2376 (gettimeofday): Add libc_hidden_weak.
2377 * sysdeps/mach/gettimeofday.c: Likewise.
2378 * sysdeps/posix/gettimeofday.c: Likewise.
2379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2380 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2381 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2382 (__gettimeofday_internal): Remove strong_alias.
2383 (__gettimeofday): Add libc_hidden_def.
2384 (gettimeofday): Add libc_hidden_weak.
2385 * sysdeps/unix/syscalls.list (gettimeofday):
2386 Remove __gettimeofday_internal alias.
2388 2012-05-24 Daniel Jacobowitz <drow@false.org>
2389 H.J. Lu <hongjiu.lu@intel.com>
2392 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2393 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2394 (largebin_index_32_big): New.
2395 (largebin_index): Use it for 16-byte alignment.
2396 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2397 correction with front_misalign.
2399 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2427 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2428 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2430 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2434 * math/libm-test.inc (exp_test): Add test from bug 14036.
2435 (pow_test): Add test from bug 10846.
2437 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2439 (special_function): Do not include flags in test name.
2440 (parse_args): Likewise.
2441 * sysdeps/i386/fpu/libm-test-ulps: Update.
2442 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2443 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2444 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2447 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2449 * math/libm-test.inc ("Philosophy"): Update comment about
2451 (UNDERFLOW_EXCEPTION): New macro.
2452 (UNDERFLOW_EXCEPTION_OK): Likewise.
2453 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2454 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2455 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2456 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2457 (INVALID_EXCEPTION_OK): Update value.
2458 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2459 (OVERFLOW_EXCEPTION_OK): Likewise.
2460 (IGNORE_ZERO_INF_SIGN): Likewise.
2461 (test_exceptions): Handle underflow exceptions.
2462 (acos_test): Update for underflow exception expectations.
2463 (cexp_test): Likewise.
2464 (clog_test): Likewise.
2465 (clog10_test): Likewise.
2466 (csqrt_test): Likewise.
2467 (ctan_test): Likewise.
2468 (ctanh_test): Likewise.
2469 (exp_test): Likewise.
2470 (exp10_test): Likewise.
2471 (exp2_test): Likewise.
2472 (expm1_test): Likewise.
2473 (fma_test): Likewise.
2474 (j0_test): Likewise.
2475 (jn_test): Likewise.
2476 (nexttoward_test): Likewise.
2477 (pow_test): Likewise.
2478 (scalbn_test): Likewise.
2479 (scalbln_test): Likewise.
2480 (tan_test): Likewise.
2481 (y1_test): Likewise.
2482 * sysdeps/i386/fpu/libm-test-ulps: Update.
2483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2485 2012-05-23 David S. Miller <davem@davemloft.net>
2487 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2488 (__libc_sigaction): Remove unused local variables.
2490 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2492 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2494 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2496 mktime: avoid signed integer overflow
2497 * time/mktime.c (__mktime_internal): Do not mishandle the case
2498 where diff == INT_MIN.
2500 mktime: simplify computation of average
2501 * time/mktime.c (ranged_convert): Use new time_t_avg function
2502 instead of rolling our own (probably-slower) code.
2504 mktime: do not assume signed right shift propagates sign bit
2505 * time/mktime.c (isdst_differ): New static function.
2506 (__mktime_internal): No need to normalize tm_isdst now.
2507 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2510 mktime: merge another wrapv change from gnulib
2511 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2512 from some compilers.
2514 mktime: remove incorrect attempt at unusual arithmetics
2515 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2516 The code didn't really work on such machines anyway.
2517 (TYPE_MINIMUM): Assume two's complement.
2518 (twos_complement_arithmetic): Verify that long_int and time_t
2519 are two's complement (or unsigned, in the latter case).
2521 mktime: check signed shifts on long_int and time_t, too
2522 * time/mktime.c (SHR): Check that shifts work as desired
2523 on the types long_int and time_t too, as SHR is used on
2526 mktime: do not assume 'long' is wide enough
2527 * time/mktime.c (verify): Move decl up.
2528 (long_int): New type.
2529 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2530 to remove assumption in the code that 'long' is wide enough to
2531 store year values. This assumption is not true on x32 and on
2532 some non-glibc platforms.
2534 mktime: merge wrapv change from gnulib
2535 * time/mktime.c (WRAPV): New macro.
2536 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2537 (guess_time_tm, __mktime_internal): Do not assume that signed
2538 integer overflow wraps around; modern compilers generate code
2539 where this assumption is no longer valid.
2541 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2543 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2544 Replace "jmp L(pseudo_end)" with "ret".
2545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2548 2012-05-23 Andreas Jaeger <aj@suse.de>
2550 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2551 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2553 2012-05-23 Andreas Jaeger <aj@suse.de>
2554 Maximilian Attems <max@stro.at>
2556 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2559 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2561 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2562 code so that pseudo_end is just ret and the stack pointer is
2563 correct also for static library in error case.
2565 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2567 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2568 move to syscalls.list.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2574 * manual/install.texi (Running make install): Do not mention Linux
2575 kernel version for which pt_chown is not needed.
2576 (Linux): Do not mention problems with nscd with 2.0 kernels.
2577 * INSTALL: Regenerated.
2579 2012-05-23 Andreas Jaeger <aj@suse.de>
2581 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2582 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2584 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2585 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2586 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2587 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2588 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2589 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2591 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2594 * sysdeps/unix/sysv/linux/bits/in.h
2595 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2597 2012-05-22 Roland McGrath <roland@hack.frob.com>
2599 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2600 (PREPARE_VERSION): Just use assert instead, it will be elided
2601 under [NDEBUG] anyway.
2603 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2605 * sysdeps/unix/sysv/linux/Makefile: Include
2606 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2607 (sysdep_routines): Remove sysctl.
2608 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2609 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2610 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2611 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2612 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2614 2012-05-22 Andreas Jaeger <aj@suse.de>
2616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2617 that pseudo_end is just ret and the stack pointer is correct also
2618 for static library in error case.
2620 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2623 * nss/nsswitch.c (defconfig_entries): New variable.
2624 (__nss_database_lookup): Don't leak defconfig entries.
2625 (nss_parse_service_list): Don't leak on error paths.
2626 (free_database_entries): New function.
2627 (free_defconfig): New function.
2628 (free_mem): Move common code to free_database_entries.
2630 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2632 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2634 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2636 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2637 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2640 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2641 (INTERNAL_SYSCALL_TYPES): Likewise.
2642 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2643 (LOAD_REGS_TYPES_[1-6]): Likewise.
2644 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2645 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2647 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2649 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2650 copysignl for GLIBC_2_0.
2651 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2652 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2654 logbl for GLIBC_2_0.
2655 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2656 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2658 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2660 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2661 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2663 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2666 * time/mktime.c: Update copyright years.
2668 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2670 mktime: merge comment-quoting-style change from gnulib
2671 * time/mktime.c: Quote 'like this' in comments.
2672 The GNU coding standards suggest that we no longer quote `like this',
2673 as "`" and "'" are typically rendered asymmetrically nowadays.
2674 The typical gnulib style is to quote 'like this' when quoting
2675 code, and "like this" when quoting English.
2677 * time/mktime.c (compile-command): Add "-I.".
2679 mktime: merge mktime-internal.h change from gnulib
2680 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2682 mktime: merge time_r change from gnulib
2683 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2685 mktime: merge DEBUG change from gnulib
2686 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2687 case system <time.h> has a #define.
2689 mktime: merge <sys/types.h> change from gnulib
2690 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2691 since <time.t> is now guaranteed to define time_t.
2693 mktime: merge HAVE_CONFIG_H change from gnulib
2694 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2696 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2701 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2703 (struct rusage): Use anonymous union to pad each field to
2706 2012-05-21 David S. Miller <davem@davemloft.net>
2708 * Makefules (o-iterator): Remove .s cases.
2709 (compile-command.s): Delete.
2710 (COMPILE.s): Delete.
2711 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2713 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2715 * configure.in (libc_cv_predef_stack_protector): Only consider
2716 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2717 * configure: Regenerated.
2719 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2722 New macro. Use R*LP on int and pointer.
2723 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2724 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2725 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2726 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2728 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2729 [__WORDSIZE_TIME64_COMPAT32] instead of
2730 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2731 (struct utmp): Likewise.
2732 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2733 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2735 (__WORDSIZE_TIME64_COMPAT32): This.
2736 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2737 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2738 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2739 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2740 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2741 (__WORDSIZE_TIME64_COMPAT32): New macro.
2743 2012-05-21 Andreas Jaeger <aj@suse.de>
2745 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2746 only if [SHARED]. Add prototype for __wcschr_ia32.
2748 2012-05-21 Roland McGrath <roland@hack.frob.com>
2750 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2751 of %rbp unmolested in the jmp_buf while mangling the low bits.
2752 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2753 unmolested high bits of %rbp while demangling the low bits.
2754 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2756 2012-05-21 Andreas Jaeger <aj@suse.de>
2758 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2759 * sunrpc/svc_simple.c: Use it for registerrpc.
2760 * sunrpc/xcrypt.c: Use it for passwd2des.
2762 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2764 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2766 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2767 Don't define if [__SYSCALL_WORDSIZE != 32].
2768 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2771 2012-05-21 Bruno Haible <bruno@clisp.org>
2772 Andreas Jaeger <aj@suse.de>
2774 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2775 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2776 inptr and inend for must_buffer_ch.
2777 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2778 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2779 * stdio-common/Makefile (tests): Remove bug15.
2780 (bug15-ENV): Remove macro.
2781 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2784 2012-05-19 Andreas Jaeger <aj@suse.de>
2785 Roland McGrath <roland@hack.frob.com>
2787 * manual/contrib.texi: Completely rewritten. It contains now an
2788 alphabetical list of contributors and their contributions.
2790 2012-05-21 Richard Henderson <rth@twiddle.net>
2792 * misc/getauxval.c (__getauxval): Use unsigned long int.
2793 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2794 (getauxval): Use unsigned long int.
2796 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2798 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2800 2012-05-21 Roland McGrath <roland@hack.frob.com>
2802 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2803 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2804 __alignof__ (long double).
2806 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2810 2012-05-20 Richard Henderson <rth@twiddle.net>
2812 * misc/getauxval.c: New file.
2813 * misc/sys/auxv.h: New file.
2814 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2815 (routines): Add getauxval.
2816 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2817 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2818 * elf/dl-sysdep.c (_dl_auxv): Remove.
2819 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2820 * elf/dl-support.c (_dl_auxv): New variable.
2821 (_dl_aux_init): Initialize it.
2822 * manual/startup.texi (Auxiliary Vector): New node.
2823 * sysdeps/generic/bits/hwcap.h: New file.
2824 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2825 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2826 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2827 * sysdeps/sparc/sysdep.h: ... here. Include it.
2828 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2829 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2841 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2845 2012-05-19 David S. Miller <davem@davemloft.net>
2847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2849 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2852 * math/s_ccosh.c: Include <float.h>
2853 (__ccosh): Avoid internal overflow calculating sinh and cosh
2854 values before multiplying by sin and cos values.
2855 * math/s_ccoshf.c: Likewise.
2856 * math/s_ccoshl.c: Likewise.
2857 * math/s_csin.c: Likewise.
2858 * math/s_csinf.c: Likewise.
2859 * math/s_csinl.c: Likewise.
2860 * math/s_csinh.c: Likewise.
2861 * math/s_csinhf.c: Likewise.
2862 * math/s_csinhl.c: Likewise.
2863 * math/libm-test.inc (ccos_test): Add more tests.
2864 (ccosh_test): Likewise.
2865 (csin_test): Likewise.
2866 (csinh_test): Likewise.
2867 * sysdeps/i386/fpu/libm-test-ulps: Update.
2868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2870 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2872 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2873 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2875 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2877 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2879 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2880 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2881 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2882 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2883 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2884 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2885 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2886 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2887 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2888 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2889 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2890 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2891 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2892 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2893 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2894 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2895 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2896 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2897 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2898 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2899 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2900 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2901 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2902 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2903 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2904 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2905 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2906 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2907 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2908 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2909 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2911 2012-05-18 Andreas Jaeger <aj@suse.de>
2913 * csu/.gitignore: Delete.
2915 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2917 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2918 (timex): Use __syscall_slong_t.
2920 2012-05-18 Andreas Jaeger <aj@suse.de>
2921 Carlos O'Donell <carlos_odonell@mentor.com>
2923 * manual/install.texi (Configuring and compiling): Update
2924 description about files modified in the source directory.
2925 * INSTALL: Regenerated.
2927 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2929 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2930 value. Use "or" to set return value to -1.
2931 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2932 negate return value.
2934 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2936 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2937 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2938 failure if the compiler has Graphite support disabled.
2939 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2941 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2942 CFLAGS-memmove.c): Likewise.
2943 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2946 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2948 * sysdeps/x86_64/x32/_itoa.h: New file.
2950 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2951 getdents system call only if kernel and user dirents have the
2952 same d_ino and d_off.
2954 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2955 LLONG_MAX != LONG_MAX.
2956 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2957 (_fitoa_word): Likewise.
2959 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2961 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2962 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2963 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2965 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2966 include <bits/wordsize.h>. Check __x86_64__ instead of
2968 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2969 if __x86_64__ is defined. Use anonymous union on fpstate.
2971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2974 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2976 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2977 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2978 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2979 Refer to _rtld_local_ro instead of _rtld_global_ro.
2980 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2982 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2984 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2986 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2987 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2988 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2990 * sysdeps/powerpc/powerpc32/dl-machine.c
2991 (__elf_machine_runtime_setup) [PROF]: Don't reference
2994 2012-05-18 Andreas Jaeger <aj@suse.de>
2996 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2997 function only available for GCCs before 3.4 since GCC 3.4
2998 introduced a builtin.
3000 (llrintf): Likewise.
3008 (nearbyint): Likewise.
3009 (nearbyintf): Likewise.
3015 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3017 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3018 on both fields and cast pointer to __syscall_ulong_t.
3020 * bits/types.h (__fsword_t): New type.
3021 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3022 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3024 (__FSWORD_T_TYPE): Likewise.
3025 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3026 (__FSWORD_T_TYPE): Likewise.
3027 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3028 (__FSWORD_T_TYPE): Likewise.
3029 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3030 (__FSWORD_T_TYPE): Likewise.
3031 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3032 __SWORD_TYPE with __fsword_t.
3033 (statfs64): Likewise.
3035 2012-05-17 David S. Miller <davem@davemloft.net>
3037 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3039 2012-05-17 Andreas Jaeger <aj@suse.de>
3041 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3044 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3046 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3048 2012-05-17 Andreas Jaeger <aj@suse.de>
3050 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3053 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3055 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3057 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3059 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3060 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3062 2012-05-17 Andreas Jaeger <aj@suse.de>
3063 Carlos O'Donell <carlos_odonell@mentor.com>
3066 * sysdeps/x86_64/multiarch/init-arch.h
3067 (bit_YMM_Usable): Rename to...
3068 (bit_AVX_Usable): ... this.
3069 (bit_FMA4_Usable): New macro.
3070 (bit_XMM_state): New macro.
3071 (bit_YMM_state): New macro.
3072 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3073 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3074 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3075 (CPUID_OSXSAVE): New macro.
3076 (CPUID_AVX): New macro.
3077 (CPUID_FMA4): New macro.
3078 (index_YMM_Usable): Rename to...
3079 (index_AVX_Usable): ... this.
3080 (HAS_AVX): Use HAS_ARCH_FEATURE.
3081 (HAS_FMA4): Likewise.
3082 (HAS_YMM_USABLE): Remove.
3083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3084 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3086 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3087 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3088 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3089 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3090 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3092 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3094 * math/libm-test.c: Support platforms without multiple rounding modes.
3095 * math/bug-nextafter.c: Support platforms without FP exceptions.
3096 * math/bug-nexttoward.c: Likewise.
3097 * math/test-fenv.c: Likewise.
3098 * math/test-misc.c: Likewise.
3099 * stdlib/bug-getcontext.c: Likewise.
3101 2012-05-17 Andreas Jaeger <aj@suse.de>
3103 * manual/examples/search.c (critter_cmp): Change signature to
3105 * manual/string.texi (Collation Functions): Likewise.
3107 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3109 * bits/types.h: Fold copyright years.
3110 * bits/typesizes.h: Likewise.
3111 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3114 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3115 * time/time.h: Likewise.
3117 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3120 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3121 in instead of returning them. Return void.
3122 (__libc_mallinfo): Accumulate over all arenas.
3123 (__malloc_stats): Adjust for change in int_mallinfo interface.
3125 2012-05-16 Roland McGrath <roland@hack.frob.com>
3128 * configure.in (NM): Add AC_CHECK_TOOL for it.
3129 (libc_extra_cflags): New substituted variable.
3130 Check for -fstack-protector being used implicitly.
3131 * configure: Regenerated.
3132 * config.make.in (config-extra-cflags): New variable,
3133 gets @libc_extra_cflags@.
3134 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3137 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3138 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3139 * configure: Regenerated.
3140 * config.make.in (CPPUNDEFS): New substituted variable.
3141 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3142 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3143 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3145 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3147 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3148 (mq_attr): Use __syscall_slong_t.
3150 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3152 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3153 Check __x86_64__ instead of __WORDSIZE.
3154 (_STAT_VER_LINUX): Likewise.
3155 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3156 __syscall_ulong_t and __syscall_slong_t.
3159 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3163 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3165 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3167 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3169 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3172 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3173 include <bits/wordsize.h>. Check __x86_64__ instead of
3175 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3177 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3179 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3180 include <bits/wordsize.h>. Check __x86_64__ instead of
3182 (user_regs_struct): Use "__extension__ unsigned long long"
3183 instead of "unsigned long" if __x86_64__ is defined.
3184 (user): Likewise. Pad after pointer field if __ILP32__ is
3187 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3189 * configure.in (makeinfo): Require version 4.5 or later. Allow
3191 * configure: Regenerated.
3192 * manual/install.texi (texinfo): Increase version requirement to
3194 * INSTALL: Regenerated.
3196 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3198 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3200 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3202 * sysdeps/x86_64/x32/ffs.c: New file.
3204 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3206 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3207 defined. Use __syscall_ulong_t.
3208 (shminfo): Use __syscall_ulong_t.
3209 (shm_info): Likewise.
3211 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3214 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3216 (msgqnum_t): Use __syscall_ulong_t.
3217 (msglen_t): Likewise.
3218 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3221 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3222 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3224 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3226 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3227 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3229 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3232 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3233 include <bits/wordsize.h>. Check __x86_64__ instead of
3236 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3237 "unsigned long long int" if __x86_64__ is defined.
3238 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3240 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3241 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3242 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3244 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3246 (GET_PC): Cast to uintptr_t first.
3247 (GET_FRAME): Likewise.
3248 (GET_STACK): Likewise.
3250 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3251 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3252 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3253 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3254 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3255 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3256 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3257 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3258 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3259 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3260 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3261 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3262 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3263 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3264 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3265 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3266 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3267 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3268 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3269 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3270 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3271 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3272 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3273 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3274 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3275 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3276 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3277 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3278 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3280 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3282 * Makerules (+depfiles): Also collect depfiles from .oS in
3284 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3285 .oS, $(libnldbl-routines)).
3287 * Makerules (native-compile-mkdep-flags): Define.
3288 * sunrpc/Makefile (extra-objs): Add $(addprefix
3289 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3290 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3291 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3292 calling $(make-target-directory).
3294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3296 * bits/types.h (__snseconds_t): Removed.
3297 * time/time.h (struct timespec): Replace __snseconds_t with
3299 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3300 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3303 (__SNSECONDS_T_TYPE): Likewise.
3304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3305 (__SNSECONDS_T_TYPE): Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3307 (__SNSECONDS_T_TYPE): Likewise.
3309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3311 * sysdeps/mach/hurd/bits/typesizes.h
3312 (__SYSCALL_SLONG_TYPE): New macro.
3313 (__SYSCALL_ULONG_TYPE): Likewise.
3315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3317 * bits/types.h (__syscall_slong_t): New type.
3318 (__syscall_ulong_t): Likewise.
3320 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3321 (__SYSCALL_ULONG_TYPE): Likewise.
3322 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3323 (__SYSCALL_SLONG_TYPE): Likewise.
3324 (__SYSCALL_ULONG_TYPE): Likewise.
3325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3326 (__SYSCALL_SLONG_TYPE): Likewise.
3327 (__SYSCALL_ULONG_TYPE): Likewise.
3328 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3329 (__SYSCALL_SLONG_TYPE): Likewise.
3330 (__SYSCALL_ULONG_TYPE): Likewise.
3332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3334 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3335 Add sigaltstack-offsets.sym.
3336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3337 <sigaltstack-offsets.h>.
3338 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3339 longjmp_msg pointer.
3340 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3341 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3343 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3345 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3347 * elf/stackguard-macros.h: Remove file.
3348 * sysdeps/generic/stackguard-macros.h: New file.
3349 * sysdeps/i386/stackguard-macros.h: Likewise.
3350 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3351 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3352 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3353 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3354 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3355 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3356 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3357 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3358 <elf/stackguard-macros.h>.
3361 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3362 __aligned__ in attribute.
3363 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3364 (gregset_t): Likewise.
3366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3368 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3369 * sysdeps/x86_64/64/Implies-after: Here. New file.
3370 * sysdeps/x86_64/x32/Implies-after: New file.
3372 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3374 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3375 and access return value for _dl_profile_fixup. Use R10_LP to
3378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3380 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3384 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3385 * sysdeps/x86_64/x32/sysdep.h: New file.
3387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3389 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3390 * sysdeps/x86_64/setjmp.S: Likewise.
3392 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3394 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3395 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3396 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3397 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3398 remove unused global constant.
3400 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3402 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3403 include of <not-cancel.h>.
3405 2012-05-15 Roland McGrath <roland@hack.frob.com>
3407 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3409 2012-05-15 Jeff Law <law@redhat.com>
3410 Andreas Jaeger <aj@suse.de>
3413 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3415 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3416 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3417 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3418 code changing __hst_map_handle.map.
3420 2012-05-15 Roland McGrath <roland@hack.frob.com>
3422 * configure.in (sysnames): Look for Implies-before and Implies-after
3424 * configure: Regenerated.
3426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3428 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3429 8-byte data alignment with LP_SIZE alignment.
3431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3433 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3438 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3442 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3443 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3444 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3446 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3450 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3451 (stackinfo_sub_sp): Likewise.
3453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3460 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3465 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3470 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3474 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3475 into R11_LP and load __x86_64_shared_cache_size_half into
3478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3480 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3483 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3491 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3492 powerpc32/power7/fpu/s_logb.c via #include.
3493 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3494 powerpc32/power7/fpu/s_logbf.c via #include.
3495 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3496 powerpc32/power7/fpu/s_logbl.c via #include.
3498 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3500 * README.libm: Remove file.
3502 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3504 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3505 count for x32. Use R*_LP and omit operand-size suffix.
3507 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3509 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3510 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3511 * sysdeps/x86_64/x32/shlib-versions: New file.
3513 2012-05-14 Roland McGrath <roland@hack.frob.com>
3515 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3516 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3517 Use _dl_fatal_printf instead.
3519 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3521 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3522 set if not set by the user. Do not allow for being unset.
3523 * sysdeps/unix/sysv/linux/configure: Regenerated.
3525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3527 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3528 the `q' suffix from lea and replace .quad with ASM_ADDR.
3530 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3533 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3535 (PTR_DEMANGLE): Likewise.
3537 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3539 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3541 (ASM_ADDR): Likewise.
3559 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3561 * sysdeps/x86_64/x32/dl-machine.h: New file.
3563 2012-05-14 Andreas Jaeger <aj@suse.de>
3565 * manual/Makefile (subdir): Remove export of subdir.
3566 (all): Remove target.
3567 (.PHONY): Remove all from list.
3568 (mkinstalldirs): Remove.
3569 (.PHONY): Remove installdirs from list.
3570 ($(inst_infodir)/libc.info): Use make-target-directory.
3571 (installdirs): Remove.
3573 (glibc-targets): Remove.
3576 ($(objpfx)stubs ../po/manual.pot): Remove.
3577 ($(objpfx)stamp%): Remove.
3578 (make-target-directory): Remove.
3579 (subdir_install): Remove.
3587 * manual/.gitignore: Remove, it's not needed anymore.
3588 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3590 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3592 (texis): Renamed to $(objpfx)texis.
3593 (texis-path): New, contains path to generated files.
3594 (chapters.%): Use texis-path for complete path, add extra argument
3596 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3597 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3598 (summary,texi, stamp-summary): Use complete path of
3599 files. Generate files in build dir.
3600 (dir-add.texi): Build in build dir.
3601 (libm-err.texi,stamp-libm-err): Likewise.
3602 (version.texi, stamp-version): Likewise.
3603 (.%c.texi): Likewise.
3604 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3605 (mostlyclean): Remove target.
3606 (realclean): Remove target.
3607 (generated): Add new variable with contents from mostlyclean and
3608 realclean, remove entries duplicated in common-mostlyclean, add
3609 stamp-libm-err and stamp-version.
3610 (generated-dirs): Add libc directory.
3611 ($(inst_infodir)/libc.info): Install files from build dir.
3613 * manual/install.texi (Configuring and compiling): Adjust since
3614 the info files are not part of the tar ball anymore.
3616 2012-05-14 Andreas Jaeger <aj@suse.de>
3618 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3621 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3625 to 2.2.0 where earlier.
3626 * sysdeps/unix/sysv/linux/configure: Regenerated.
3627 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3628 Remove conditional code.
3629 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3630 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3631 Remove conditional code.
3632 [!__NR_lchown]: Likewise.
3633 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3634 [__NR_lchown]: Likewise.
3635 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3636 comment referencing __ASSUME_LCHOWN_SYSCALL.
3637 * sysdeps/unix/sysv/linux/i386/sigaction.c
3638 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3639 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3640 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3641 Remove conditional code.
3642 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3643 (__protocol_available): Remove #if 0 code.
3644 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3646 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3647 * sysdeps/unix/sysv/linux/kernel-features.h
3648 (__ASSUME_GETCWD_SYSCALL): Don't define.
3649 (__ASSUME_REALTIME_SIGNALS): Likewise.
3650 (__ASSUME_PREAD_SYSCALL): Likewise.
3651 (__ASSUME_PWRITE_SYSCALL): Likewise.
3652 (__ASSUME_POLL_SYSCALL): Likewise.
3653 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3654 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3656 (__ASSUME_SIOCGIFNAME): Don't define.
3657 (__ASSUME_MSG_NOSIGNAL): Likewise.
3658 (__ASSUME_SENDFILE): Define unconditionally.
3659 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3660 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3662 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3663 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3664 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3665 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3666 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3667 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3668 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3670 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3676 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3682 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3693 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3694 Remove conditional code.
3695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3696 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3697 Remove conditional code.
3698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3699 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3700 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3701 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3702 Remove conditional code.
3703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3704 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3705 Remove conditional code.
3706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3707 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3708 Remove conditional code.
3709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3710 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3711 Remove conditional code.
3712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3713 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3714 Remove conditional code.
3715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3716 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3717 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3719 * sysdeps/unix/sysv/linux/sigaction.c
3720 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3721 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3722 * sysdeps/unix/sysv/linux/sigpending.c
3723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3725 * sysdeps/unix/sysv/linux/sigprocmask.c
3726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3728 * sysdeps/unix/sysv/linux/sigsuspend.c
3729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3731 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3732 (__libc_missing_rt_sigs): Remove.
3733 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3734 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3735 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3736 Remove conditional code.
3737 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3738 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3740 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3741 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3742 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3743 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3745 2012-05-14 Andreas Jaeger <aj@suse.de>
3747 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3748 it's not used in glibc.
3749 (__coshm1): Likewise.
3750 (__acosh1p): Likewise.
3753 * manual/string.texi (Copying and Concatenation): Add missing
3754 variable in concat example.
3755 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3757 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3761 __builtin_clzl with __builtin_clzll.
3763 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3766 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3769 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3771 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3772 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3773 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3774 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3776 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3778 * NEWS: Update ia64 info.
3780 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3782 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3785 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3787 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3788 * sysdeps/unix/syscalls.list (dup3): Likewise.
3789 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3790 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3792 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3794 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3795 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3797 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3799 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3801 (TLS_IE): Use mov/add instead of movq/addq to load thread
3803 (TLS_GD_PREFIX): New.
3806 2012-05-11 David S. Miller <davem@davemloft.net>
3808 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3809 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3810 (_FPU_SETCW): Likewise.
3812 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3814 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3817 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3820 * iconvdata/gb18030.c: Update tables.
3821 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3822 characters specially.
3823 (BODY for TO_LOOP): Add encoding of missing ranges.
3825 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3828 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3829 * sysdeps/mach/hurd/dup3.c: Likewise.
3830 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3831 * sysdeps/powerpc/memmove.c:: Likewise.
3833 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3836 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3838 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3840 * elf/elf.h (R_X86_64_RELATIVE64): New.
3841 (R_X86_64_NUM): Updated.
3842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3843 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3844 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3845 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3846 tst-quad1pie tst-quad2pie
3847 (modules-names): Add tst-quadmod1 tst-quadmod2.
3848 ($(objpfx)tst-quad1): New dependency.
3849 ($(objpfx)tst-quad2): Likewise.
3850 ($(objpfx)tst-quad1pie): Likewise.
3851 ($(objpfx)tst-quad2pie): Likewise.
3852 * sysdeps/x86_64/tst-quad1.c: New file.
3853 * sysdeps/x86_64/tst-quad1pie.c: New file.
3854 * sysdeps/x86_64/tst-quad2.c: Likewise.
3855 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3856 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3857 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3858 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3859 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3861 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3863 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3864 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3865 * streams/stropts.h (t_scalar_t): Define type.
3867 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3868 (_PATH_PRESERVE): Set to "/var/lib".
3869 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3871 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3874 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3875 if __dir_mkfile succeeded.
3877 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3878 checking for _hurd_dtablesize. Unlock it right after having
3879 finished _hurd_dtable allocation.
3881 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3883 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3884 * sysdeps/mach/hurd/configure: Regenerated.
3885 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3886 special-casing to...
3887 * sysdeps/gnu/configure.in: ... this new file.
3888 * sysdeps/unix/sysv/linux/configure: Regenerated.
3889 * sysdeps/gnu/configure: New generated file.
3891 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3892 for Linux: use nsec instead of usec, as well as:
3893 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3894 members of type struct timespec.
3895 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3897 (struct stat64): Likewise.
3898 (_STATBUF_ST_NSEC): New macro.
3899 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3901 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3902 __strtoul_internal rather than strtoul.
3904 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3906 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3911 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3912 which preserves existing values.
3913 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3915 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3917 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3918 TIMEOUT values. Return EINVAL for NFDS values either negative or
3919 greater than FD_SETSIZE.
3921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3923 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3924 allocated, call __vm_protect to finish enabling the existing space, and
3925 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3926 allocate the remainder.
3928 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3930 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3931 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3933 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3935 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3936 sysdeps/mach/hurd/readlink.c.
3938 * posix/tst-sysconf.c (posix_options): Only use
3939 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3940 _POSIX_SYNCHRONIZED_IO when they are defined
3941 * sysdeps/mach/hurd/bits/posix_opt.h:
3942 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3943 (_XOPEN_REALTIME): Undefine macro.
3944 (_XOPEN_REALTIME_THREADS): Undefine macro.
3945 (_XOPEN_SHM): Undefine macro.
3946 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3948 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3950 (_POSIX_ASYNC_IO): Undefine macro.
3951 (_POSIX_PRIORITIZED_IO): Undefine macro.
3952 (_POSIX_SPIN_LOCKS): Define macro to -1.
3954 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3955 SA_NODEFER, SA_RESETHAND.
3956 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3957 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3960 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3962 * elf/Makefile (pldd-modules): Define unconditionally.
3964 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3966 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3970 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3971 Return ENOENT when name is empty.
3972 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3976 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3978 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3982 Fix mlock in all cases except non-readable pages.
3983 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3984 instead of VM_PROT_ALL as parameter to __vm_wire function.
3986 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3987 (__mkdir): When path is `/', just fail with EEXIST.
3988 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3992 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3993 <sys/uio.h> (for writev).
3994 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3995 and <sys/param.h> (for MIN).
3997 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3999 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4000 REQUESTED_TIME. Properly set the remaining time and return EINTR
4003 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4005 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4006 Depend on against $(link-rpcuserlibs).
4008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4010 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4011 (__libc_stack_end): Do not use attribute_relro.
4012 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4013 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4014 to libthread-provided value.
4015 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4018 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4021 * bits/libc-lock.h (__libc_once_get): New macro.
4022 * sysdeps/mach/bits/libc-lock.h: Likewise.
4023 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4024 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4025 instead of using implementation details.
4027 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4028 * libio/freopen.c: Likewise.
4029 * libio/freopen64.c: Likewise.
4030 * misc/syslog.c: Likewise.
4031 * nscd/connections.c: Likewise.
4032 * nscd/netgroupcache.c: Likewise.
4033 * sysdeps/posix/getcwd.c: Likewise.
4035 2012-05-10 Roland McGrath <roland@hack.frob.com>
4037 * math/w_ilogbf.c: Add #include <limits.h>.
4039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4041 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4042 path instead of returning without unlocking.
4044 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4045 immediate-write ioctls.
4046 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4048 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4050 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4051 __builtin_frame_address instead of making assumptions about the
4052 location of the return address relative to DATA. Force early load of
4054 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4055 __builtin_frame_address.
4058 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4059 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4060 implement dup3 and do some further code clean-ups.
4061 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4062 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4064 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4066 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4068 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4069 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4070 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4071 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4072 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4075 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4076 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4077 when handler == SIG_ERR, not when handler != SIG_ERR.
4079 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4081 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4082 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4085 accept4 for GNU Hurd.
4086 * include/sys/socket.h (__libc_accept4): New prototype.
4087 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4088 to implement __libc_accept4.
4089 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4091 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4093 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4094 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4095 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4100 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4104 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4105 assertion on O_CLOEXEC flag.
4106 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4107 * hurd/intern-fd.c: Likewise.
4108 * hurd/port2fd.c: Likewise.
4110 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4113 * bits/in.h (IPV6_PKTINFO): Define new macro.
4114 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4116 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4121 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4123 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4124 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4126 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4127 * math/libm-test.inc (logb_test) : Additional logb tests.
4129 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4130 Andreas Jaeger <aj@suse.de>
4132 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4133 * configure: Regenerated.
4134 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4135 * config.make.in (link-obsolete-rpc): New substituted variable.
4136 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4137 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4138 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4139 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4140 so that libc.a contains the symbols.
4141 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4142 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4143 * sunrpc/auth_none.c: Likewise.
4144 * sunrpc/auth_unix.c: Likewise.
4145 * sunrpc/authdes_prot.c: Likewise.
4146 * sunrpc/authuxprot.c: Likewise.
4147 * sunrpc/clnt_gen.c: Likewise.
4148 * sunrpc/clnt_perr.c: Likewise.
4149 * sunrpc/clnt_raw.c: Likewise.
4150 * sunrpc/clnt_simp.c: Likewise.
4151 * sunrpc/clnt_tcp.c: Likewise.
4152 * sunrpc/clnt_udp.c: Likewise.
4153 * sunrpc/clnt_unix.c: Likewise.
4154 * sunrpc/des_crypt.c: Likewise.
4155 * sunrpc/des_soft.c: Likewise.
4156 * sunrpc/get_myaddr.c: Likewise.
4157 * sunrpc/key_call.c: Likewise.
4158 * sunrpc/key_prot.c: Likewise.
4159 * sunrpc/netname.c: Likewise.
4160 * sunrpc/pm_getmaps.c: Likewise.
4161 * sunrpc/pm_getport.c: Likewise.
4162 * sunrpc/pmap_clnt.c: Likewise.
4163 * sunrpc/pmap_prot.c: Likewise.
4164 * sunrpc/pmap_prot2.c: Likewise.
4165 * sunrpc/pmap_rmt.c: Likewise.
4166 * sunrpc/publickey.c: Likewise.
4167 * sunrpc/rpc_cmsg.c: Likewise.
4168 * sunrpc/rpc_common.c: Likewise.
4169 * sunrpc/rpc_dtable.c: Likewise.
4170 * sunrpc/rpc_prot.c: Likewise.
4171 * sunrpc/rpc_thread.c: Likewise.
4172 * sunrpc/rtime.c: Likewise.
4173 * sunrpc/svc.c: Likewise.
4174 * sunrpc/svc_auth.c: Likewise.
4175 * sunrpc/svc_raw.c: Likewise.
4176 * sunrpc/svc_run.c: Likewise.
4177 * sunrpc/svc_tcp.c: Likewise.
4178 * sunrpc/svc_udp.c: Likewise.
4179 * sunrpc/svc_unix.c: Likewise.
4180 * sunrpc/svcauth_des.c: Likewise.
4181 * sunrpc/xcrypt.c: Likewise.
4182 * sunrpc/xdr.c: Likewise.
4183 * sunrpc/xdr_array.c: Likewise.
4184 * sunrpc/xdr_float.c: Likewise.
4185 * sunrpc/xdr_intXX_t.c: Likewise.
4186 * sunrpc/xdr_mem.c: Likewise.
4187 * sunrpc/xdr_rec.c: Likewise.
4188 * sunrpc/xdr_ref.c: Likewise.
4189 * sunrpc/xdr_sizeof.c: Likewise.
4190 * sunrpc/xdr_stdio.c: Likewise.
4192 2012-05-10 Roland McGrath <roland@hack.frob.com>
4194 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4195 change. Update copyright years.
4197 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4199 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4201 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4202 Joseph Myers <joseph@codesourcery.com>
4203 Paul Pluzhnikov <ppluzhnikov@google.com>
4206 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4208 [cross-compiling] (extra-libs): Likewise.
4209 [cross-compiling] (extra-libs-others): Likewise.
4210 [cross-compiling] (librpcsvc-routines): Likewise.
4211 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4212 [cross-compiling] (omit-deps): Likewise.
4213 (sunrpc-CPPFLAGS): New variable.
4214 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4215 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4216 (cross-rpcgen-objs): New variable.
4217 (extra-objs): Append $(cross-rpcgen-objs).
4218 ($(cross-rpcgen-objs)): New rule.
4219 ($(objpfx)cross-rpcgen): Likewise.
4220 (rpcgen-cmd): Define to use $(built-program-file). Expand
4222 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4223 ($(objpfx)x%.stmp): Likewise.
4224 * sunrpc/proto.h [IS_IN_build] (_): Define.
4225 [IS_IN_build] (_libc_intl_domainname): Likewise.
4227 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4230 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4231 and R_X86_64_TPOFF64.
4233 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4235 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4236 sysdeps/unix/sysv/syscalls.list.
4239 * sysdeps/unix/sysv/syscalls.list: Remove file.
4241 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4244 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4245 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4246 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4247 (__LC_IDENTIFICATION): Make these macros useful in #if
4248 expressions, as required by C99.
4250 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4252 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4253 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4256 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4258 * stdlib/longlong.h: Updated from GCC.
4260 2012-05-09 Andreas Jaeger <aj@suse.de>
4262 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4263 default is first entry.
4264 (run_mode): Set type.
4265 (main): Remove informal message about syslog.
4266 (options): Fix typo.
4269 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4272 (llrintf): Likewise.
4276 (nearbyint): Likewise.
4277 (nearbyintf): Likewise.
4279 2012-05-09 Andreas Jaeger <aj@suse.de>
4280 Pedro Alves <palves@redhat.com>
4282 * nscd/nscd.c (run_mode): Use enum.
4283 (main): Cleanup coding style issue.
4285 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4286 Andreas Jaeger <aj@suse.de>
4288 * nscd/nscd.c (go_background): Replaced with...
4289 (run_mode): ... this.
4290 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4291 (options): Add -F --foreground.
4292 (main): Implement it.
4293 (parse_opt): Parse it.
4295 2012-05-09 Andreas Jaeger <aj@suse.de>
4298 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4299 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4300 -Wconversion warning.
4301 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4304 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4306 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4308 (LC_ALL): Use macro-int-constant.
4309 (LC_COLLATE): Likewise.
4310 (LC_CTYPE): Likewise.
4311 (LC_MESSAGES): Likewise.
4312 (LC_MONETARY): Likewise.
4313 (LC_NUMERIC): Likewise.
4314 (LC_TIME): Likewise.
4315 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4316 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4317 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4318 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4320 [C99-based standards] (float_t): Expect type.
4321 [C99-based standards] (double_t): Expect type.
4322 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4324 [C99-based standards] (HUGE_VALL): Likewise.
4325 [C99-based standards] (INFINITY): Likewise.
4326 [C99-based standards] (NAN): Likewise.
4327 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4328 [C99-based standards] (FP_NAN): Likewise.
4329 [C99-based standards] (FP_NORMAL): Likewise.
4330 [C99-based standards] (FP_SUBNORMAL): Likewise.
4331 [C99-based standards] (FP_ZERO): Likewise.
4332 [C99-based standards] (FP_FAST_FMA): Use
4333 optional-macro-int-constant. Specify type. Require == 1.
4334 [C99-based standards] (FP_FAST_FMAF): Likewise.
4335 [C99-based standards] (FP_FAST_FMAL): Likewise.
4336 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4337 [C99-based standards] (FP_ILOGBNAN): Likewise.
4338 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4340 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4341 [C99-based standards] (math_errhandling): Specify type.
4342 [ISO99 || ISO11] (signgam): Do not allow.
4343 [non-C99-based standards] (copysignf): Do not allow.
4344 [non-C99-based standards] (exp2f): Likewise.
4345 [non-C99-based standards] (log2f): Likewise.
4346 [non-C99-based standards] (modff): Allow.
4347 [non-C99-based standards] (erff): Do not allow.
4348 [non-C99-based standards] (erfcf): Likewise.
4349 [non-C99-based standards] (gammaf): Likewise.
4350 [non-C99-based standards] (hypotf): Likewise.
4351 [non-C99-based standards] (j0f): Likewise.
4352 [non-C99-based standards] (j1f): Likewise.
4353 [non-C99-based standards] (jnf): Likewise.
4354 [non-C99-based standards] (lgammaf): Likewise.
4355 [non-C99-based standards] (tgammaf): Likewise.
4356 [non-C99-based standards] (y0f): Likewise.
4357 [non-C99-based standards] (y1f): Likewise.
4358 [non-C99-based standards] (ynf): Likewise.
4359 [non-C99-based standards] (isnanf): Likewise.
4360 [non-C99-based standards] (acoshf): Likewise.
4361 [non-C99-based standards] (asinhf): Likewise.
4362 [non-C99-based standards] (atanhf): Likewise.
4363 [non-C99-based standards] (cbrtf): Likewise.
4364 [non-C99-based standards] (expm1f): Likewise.
4365 [non-C99-based standards] (ilogbf): Likewise.
4366 [non-C99-based standards] (log1pf): Likewise.
4367 [non-C99-based standards] (logbf): Likewise.
4368 [non-C99-based standards] (nextafterf): Likewise.
4369 [non-C99-based standards] (remainderf): Likewise.
4370 [non-C99-based standards] (rintf): Likewise.
4371 [non-C99-based standards] (scalbf): Likewise.
4372 [non-C99-based standards] (copysignl): Likewise.
4373 [non-C99-based standards] (exp2l): Likewise.
4374 [non-C99-based standards] (log2l): Likewise.
4375 [non-C99-based standards] (modfl): Allow.
4376 [non-C99-based standards] (erfl): Do not allow.
4377 [non-C99-based standards] (erfcl): Likewise.
4378 [non-C99-based standards] (gammal): Likewise.
4379 [non-C99-based standards] (hypotl): Likewise.
4380 [non-C99-based standards] (j0l): Likewise.
4381 [non-C99-based standards] (j1l): Likewise.
4382 [non-C99-based standards] (jnl): Likewise.
4383 [non-C99-based standards] (lgammal): Likewise.
4384 [non-C99-based standards] (tgammal): Likewise.
4385 [non-C99-based standards] (y0l): Likewise.
4386 [non-C99-based standards] (y1l): Likewise.
4387 [non-C99-based standards] (ynl): Likewise.
4388 [non-C99-based standards] (isnanl): Likewise.
4389 [non-C99-based standards] (acoshl): Likewise.
4390 [non-C99-based standards] (asinhl): Likewise.
4391 [non-C99-based standards] (atanhl): Likewise.
4392 [non-C99-based standards] (cbrtl): Likewise.
4393 [non-C99-based standards] (expm1l): Likewise.
4394 [non-C99-based standards] (ilogbl): Likewise.
4395 [non-C99-based standards] (log1pl): Likewise.
4396 [non-C99-based standards] (logbl): Likewise.
4397 [non-C99-based standards] (nextafterl): Likewise.
4398 [non-C99-based standards] (remainderl): Likewise.
4399 [non-C99-based standards] (rintl): Likewise.
4400 [non-C99-based standards] (scalbl): Likewise.
4401 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4402 [non-C99-based standards] (FP_*): Do not allow.
4403 [C99-based standards] (FP_*): Change to
4404 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4405 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4407 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4408 (SIG_ERR): Likewise.
4409 [X/Open-based standards] (SIG_HOLD): Likewise.
4410 (SIG_IGN): Likewise.
4411 (SIGABRT): Use macro-int-constant. Specify type. Require
4416 (SIGSEGV): Likewise.
4418 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4419 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4420 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4421 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4422 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4423 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4424 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4425 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4426 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4427 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4428 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4429 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4430 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4431 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4432 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4433 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4434 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4435 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4436 [X/Open-based standards] (SIGTRAP): Likewise.
4437 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4438 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4439 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4440 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4441 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4444 2012-05-08 Ian Wienand <ianw@vmware.com>
4447 * time/tzset.c (__tzset_parse_tz): Update default rules for
4448 daylight time changes in the Energy Policy Act of 2005.
4450 2012-05-09 Andreas Jaeger <aj@suse.de>
4453 * elf/ldconfig.c (parse_conf): Change string to make clear that
4454 ldconfig only issued a warning if ld.so.conf does not exist.
4456 2012-05-08 David S. Miller <davem@davemloft.net>
4458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4459 movxtod instead of popping the value on the stack.
4461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4463 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4465 * config.h.in: Add HAVE_ARM_PCS_VFP.
4467 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4470 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4471 checking but the checks are disabled for any reason.
4473 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4475 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4476 and ELF64_R_TYPE with ELFW(R_TYPE).
4478 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4480 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4483 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4484 (settimeofday): Likewise.
4486 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4488 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4489 a struct th_u2 inside the union, and move tu_block/tu_code into
4490 a new th_u3 union of tu_block/tu_code inside of that. Move
4491 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4492 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4493 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4494 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4495 (th_stuff): Change to th_u1.tu_stuff.
4497 (th_msg): Change to th_u1.th_u2.tu_data.
4499 2012-05-07 David S. Miller <davem@davemloft.net>
4501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4504 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4505 (SETUP_PIC_REG): Use it.
4506 (SETUP_PIC_REG_LEAF): Use it.
4508 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4512 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4514 (EXPL_FINITE): Likewise.
4516 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4517 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4519 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4521 (EXPL_FINITE): Likewise.
4523 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4524 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4526 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4527 test of -max_value argument for long double.
4528 * sysdeps/i386/fpu/libm-test-ulps: Update.
4529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4531 2012-05-06 David S. Miller <davem@davemloft.net>
4533 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4534 quad soft-float symbols whose references which are compiler
4536 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4538 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4542 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4544 (EXPL_FINITE): Likewise.
4548 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4549 Adjust comments for base varying.
4550 (__expl_finite): Change alias to EXPL_FINITE.
4551 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4553 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4554 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4555 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4556 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4557 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4559 (EXPL_FINITE): Likewise.
4563 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4564 Adjust comments for base varying.
4565 (__expl_finite): Change alias to EXPL_FINITE.
4566 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4571 * math/libm-test.inc (check_float_internal): Correct ulp
4572 calculation for subnormal expected results.
4574 2012-05-06 Andreas Jaeger <aj@suse.de>
4576 * Makeconfig (+math-flags): New, set to -frounding-math.
4577 (+cflags): Add +math-flags so that all of glibc gets compiled with
4580 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4582 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4584 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4590 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4591 (__ieee754_expl): Allow for and saturate large arguments.
4592 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4593 (u_threshold): Likewise.
4594 (__exp): Call __ieee754_exp before checking for overflow and
4596 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4597 (u_threshold): Likewise.
4598 (__expf): Call __ieee754_expf before checking for overflow and
4600 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4601 (u_threshold): Likewise.
4602 (__expl): Call __ieee754_expl before checking for overflow and
4604 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4605 (__ieee754_expl): Allow for and saturate large arguments.
4606 * math/libm-test.inc (exp_test): Add another test. Do not allow
4607 missing overflow exception on overflow.
4608 (expm1_test): Do not allow missing overflow exception on overflow.
4610 * sysdeps/i386/fpu/e_expl.c: Move to ...
4611 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4612 rather than using inline asm.
4613 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4614 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4615 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4617 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4624 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4626 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4627 sysdeps/unix/common/syscalls.list.
4630 (ftruncate): Likewise.
4631 (getrusage): Likewise.
4632 (gettimeofday): Likewise.
4633 (setpgid): Likewise.
4634 (setregid): Likewise.
4635 (setreuid): Likewise.
4636 (sigaction): Likewise.
4637 (truncate): Likewise.
4638 (vhangup): Likewise.
4639 * sysdeps/unix/common/syscalls.list: Remove file.
4640 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4641 * sysdeps/unix/sysv/linux/Implies: Likewise.
4643 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4645 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4647 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4651 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4654 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4657 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4660 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4663 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4666 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4669 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4673 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4677 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4680 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4684 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4688 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4690 * sysdeps/unix/common/bits/dirent.h: Remove file.
4691 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4693 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4694 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4695 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4696 * sysdeps/unix/bsd/isatty.c: Likewise.
4697 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4698 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4699 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4701 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4704 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4705 long double comparison inaccuracies.
4706 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4709 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4711 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4712 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4714 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4717 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4718 nonzero digits before rounding a hex value.
4719 * stdlib/tst-strtod.c (tests): Add another test.
4721 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4723 * sysdeps/s390/fpu/libm-test-ulps: Update.
4725 2012-05-03 Andreas Jaeger <aj@suse.de>
4727 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4728 does not get optimized out.
4729 (malloc_opt_barrier): New.
4731 2012-05-03 Andreas Jaeger <aj@suse.de>
4732 Roland McGrath <roland@hack.frob.com>
4734 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4735 intermediate file deletion.
4736 (generated): Add .symlist files.
4738 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4741 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4742 Redirect under this condition.
4743 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4744 [__USE_GNU] (__dprintf_chk): Not under this condition.
4745 [__USE_GNU] (__vdprintf_chk): Likewise.
4746 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4747 under this condition.
4748 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4749 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4750 [__USE_XOPEN2K8] (vdprintf): Likewise.
4751 [__USE_GNU] (__dprintf_chk): Not under this condition.
4752 [__USE_GNU] (__vdprintf_chk): Likewise.
4753 [__USE_GNU] (dprintf): Likewise.
4754 [__USE_GNU] (vdprintf): Likewise.
4756 2012-05-03 Roland McGrath <roland@hack.frob.com>
4758 * elf/Makefile (common-generated): Set this instead of generated for
4759 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4760 $(all-built-dso)-derived lists.
4762 2012-05-03 Andreas Jaeger <aj@suse.de>
4764 * sysdeps/i386/fpu/libm-test-ulps: Update.
4768 * scripts/gen-FAQ.pl: Likewise.
4769 * manual/install.texi (Installation): Point to online location of
4771 * Makefile (files-for-dist): Remove FAQ.
4774 2012-05-02 Allan McRae <allan@archlinux.org>
4776 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4777 (LDFLAGS-reldepmod5.so): Likewise.
4778 (LDFLAGS-reldep6mod1.so): Likewise.
4779 (LDFLAGS-reldep6mod4.so): Likewise.
4780 (LDFLAGS-reldep8mod3.so): Likewise.
4781 (LDFLAGS-unload4mod1.so): Likewise.
4782 (LDFLAGS-unload4mod2.so): Likewise.
4783 (LDFLAGS-tst-initorder): Likewise.
4784 (LDFLAGS-tst-initordera2.so): Likewise.
4785 (LDFLAGS-tst-initordera3.so): Likewise.
4786 (LDFLAGS-tst-initordera4.so): Likewise.
4787 (LDFLAGS-tst-initorderb2.so): Likewise.
4788 (LDFLAGS-noload): Likewise.
4789 (LDFLAGS-next): Likewise.
4790 (LDFLAGS-order2mod1.so): Likewise.
4791 (LDFLAGS-order2mod2.so): Likewise.
4792 (LDFLAGS-tst-initorder2): Likewise.
4793 (LDFLAGS-tst-initorder2a.so): Likewise.
4794 (LDFLAGS-tst-initorder2b.so): Likewise.
4795 (LDFLAGS-tst-initorder2c.so): Likewise.
4796 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4798 2012-05-02 David S. Miller <davem@davemloft.net>
4800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4802 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4805 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4807 2012-05-02 Andreas Jaeger <aj@suse.de>
4809 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4810 since we manipulate rounding mode.
4811 (CPPFLAGS-test-idouble.c): Likewise.
4812 (CPPFLAGS-test-ifloat.c): Likewise.
4813 (CFLAGS-test-ldouble.c): Likewise.
4814 (CFLAGS-test-double.c): Likewise.
4815 (CFLAGS-test-float.c): Likewise.
4816 (CFLAGS-test-misc.c): Likewise.
4817 (CFLAGS-test-test-fenv.c): Likewise.
4819 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4823 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4824 comparisons to determine direction to adjust input.
4826 2012-05-01 Roland McGrath <roland@hack.frob.com>
4828 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4829 output to the target.
4831 * scripts/localplt.awk: New file.
4832 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4833 (check-localplt-CFLAGS): Variable removed.
4834 ($(all-built-dso:=.jmprel)): New static pattern rule.
4835 (generated): Add those targets.
4836 (localplt-built-dso): New variable.
4837 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4839 * elf/check-localplt.c: File removed.
4841 * scripts/check-execstack.awk: New file.
4842 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4843 (check-execstack-CFLAGS): Variable removed.
4844 ($(objpfx)check-execstack.h): Target removed.
4845 ($(objpfx)execstack-default): New target.
4846 (generated): Add that instead of check-execstack.h.
4847 ($(all-built-dso:=.phdr)): New static pattern rule.
4848 (generated): Add those targets.
4849 * elf/check-execstack.c: File removed.
4851 * scripts/check-textrel.awk: New file.
4852 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4853 (check-textrel-CFLAGS): Variable removed.
4854 (all-built-dso): Use := to define.o
4855 ($(all-built-dso:=.dyn)): New static pattern rule.
4856 (generated): Add those targets.
4857 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4858 * config.make.in (READELF): New substituted variable.
4859 * elf/check-textrel.c: File removed.
4861 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4863 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4865 * conform/data/ctype.h-data [C99-based standards] (isblank):
4867 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4868 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4870 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4871 Specify type. Require positive value.
4874 [ISO || POSIX] (EILSEQ): Do not expect.
4875 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4876 Specify type. Require positive value.
4877 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4878 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4879 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4880 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4881 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4882 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4883 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4884 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4885 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4886 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4887 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4888 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4889 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4890 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4891 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4892 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4893 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4894 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4895 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4896 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4897 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4898 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4899 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4900 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4901 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4902 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4903 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4904 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4905 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4906 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4907 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4908 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4909 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4910 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4911 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4912 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4913 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4914 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4915 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4916 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4917 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4918 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4919 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4920 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4921 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4922 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4923 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4924 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4925 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4926 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4927 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4928 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4929 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4930 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4931 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4932 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4933 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4934 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4936 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4937 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4938 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4939 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4940 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4941 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4942 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4943 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4944 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4945 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4946 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4947 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4948 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4949 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4950 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4951 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4952 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4953 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4955 (FLT_ROUNDS): Expect as macro, not constant.
4956 (FLT_MANT_DIG): Use macro-int-constant.
4957 (DBL_MANT_DIG): Likewise.
4958 (LDBL_MANT_DIG): Likewise.
4959 (FLT_DIG): Likewise.
4960 (DBL_DIG): Likewise.
4961 (LDBL_DIG): Likewise.
4962 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4963 (DBL_MIN_EXP): Likewise.
4964 (LDBL_MIN_EXP): Likewise.
4965 (FLT_MAX_EXP): Use macro-int-constant.
4966 (DBL_MAX_EXP): Likewise.
4967 (LDBL_MAX_EXP): Likewise.
4968 (FLT_MAX_10_EXP): Likewise.
4969 (DBL_MAX_10_EXP): Likewise.
4970 (LDBL_MAX_10_EXP): Likewise.
4971 (FLT_MAX): Use macro-constant.
4972 (DBL_MAX): Likewise.
4973 (LDBL_MAX): Likewise.
4974 (FLT_EPSILON): Use macro-constant. Give upper bound.
4975 (DBL_EPSILON): Likewise.
4976 (LDBL_EPSILON): Likewise.
4977 (FLT_MIN): Likewise.
4978 (DBL_MIN): Likewise.
4979 (LDBL_MIN): Likewise.
4980 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4981 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4982 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4983 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4984 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4985 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4986 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4987 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4988 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4989 [ISO11] (FLT_TRUE_MIN): Likewise.
4990 [ISO11] (LDBL_TRUE_MIN): Likewise.
4991 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4992 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4993 (SCHAR_MIN): Use macro-int-constant. Specify type.
4994 (SCHAR_MAX): Likewise.
4995 (UCHAR_MAX): Likewise.
4996 (CHAR_MIN): Likewise.
4997 (CHAR_MAX): Likewise.
4998 (MB_LEN_MAX): Use macro-int-constant.
4999 (SHRT_MIN): Use macro-int-constant. Specify type.
5000 (SHRT_MAX): Likewise.
5001 (USHRT_MAX): Likewise.
5002 (INT_MAX): Likewise.
5003 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5005 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5007 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5009 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5010 bound negative. Suffix upper bound with "L".
5011 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5013 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5015 [C99-based standards] (LLONG_MAX): Likewise.
5016 [C99-based standards] (ULLONG_MAX): Likewise.
5017 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5019 [ISO11] (max_align_t): Require type.
5020 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5022 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5023 from $CFLAGS, without defining away __attribute__ calls.
5024 (checknamespace): Use $CFLAGS_namespace.
5026 * conform/conformtest.pl (@keywords): Only include C99 keywords
5027 for standards based on C99 or C11.
5029 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5031 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5034 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5035 usability of symbols in #if.
5037 * conform/conformtest.pl: If macro or constant types start
5038 "promoted:", expect the symbol to be of the following type
5039 promoted by the integer promotions.
5041 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5042 in one place. Also handle "macro-constant".
5044 * conform/conformtest.pl: Only accept expected macro values with
5045 "==". Parse all "macro" lines in one place.
5046 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5048 * conform/conformtest.pl: Handle braced types on "constant" lines
5049 instead of handling "typed-constant".
5050 * conform/data/signal.h-data: Use "constant" instead of
5053 * conform/conformtest.pl: Handle "optional-" at start of lines in
5054 one place rather than duplicating several cases. Handle each
5055 format of "macro" line with initial "optional-".
5057 * conform/conformtest.pl: Only accept expected constant or
5058 optional-constant values with "==". Parse all "constant" lines in
5059 one place. Parse all "optional-constant" lines in one place.
5060 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5061 * conform/data/fmtmsg.h-data: Likewise.
5062 * conform/data/netinet/in.h-data: Likewise.
5063 * conform/data/tar.h-data: Likewise.
5064 * conform/data/limits.h-data: Use "==" form on "constant" and
5065 "optional-constant" lines.
5067 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5068 Use -std=c99 for XOPEN2K.
5069 (@knownproblems): Remove.
5070 (newtoken): Don't check %isknown.
5072 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5073 Do not expect macro.
5074 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5075 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5076 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5077 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5078 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5079 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5080 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5081 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5082 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5083 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5084 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5085 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5086 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5087 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5088 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5089 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5090 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5091 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5092 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5093 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5094 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5095 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5096 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5097 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5098 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5099 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5100 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5101 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5102 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5103 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5104 [XPG3] (acosh): Likewise.
5105 [XPG3] (asinh): Likewise.
5106 [XPG3] (atanh): Likewise.
5107 [XPG3] (cbrt): Likewise.
5108 [XPG3] (expm1): Likewise.
5109 [XPG3] (ilogb): Likewise.
5110 [XPG3] (log1p): Likewise.
5111 [XPG3] (logb): Likewise.
5112 [XPG3] (nextafter): Likewise.
5113 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5114 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5115 [XPG3] (remainder): Likewise.
5116 [XPG3] (rint): Likewise.
5117 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5118 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5119 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5120 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5121 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5122 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5123 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5124 [UNIX98 || XOPEN2K] (scalb): Expect.
5125 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5126 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5127 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5128 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5129 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5130 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5131 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5132 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5133 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5134 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5135 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5136 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5137 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5138 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5139 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5140 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5141 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5142 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5143 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5144 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5145 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5146 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5147 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5148 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5149 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5150 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5151 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5152 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5153 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5154 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5155 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5156 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5157 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5158 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5159 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5160 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5161 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5162 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5163 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5164 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5165 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5166 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5167 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5168 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5169 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5170 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5171 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5172 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5173 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5174 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5186 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5187 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5188 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5189 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5190 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5191 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5192 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5193 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5194 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5197 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5198 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5204 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5205 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5206 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5207 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5208 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5209 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5210 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5211 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5212 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5215 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5216 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5220 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5221 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5222 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5223 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5224 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5225 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5226 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5227 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5228 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5229 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5230 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5231 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5232 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5233 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5234 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5235 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5236 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5237 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5238 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5239 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5240 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5241 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5242 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5243 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5244 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5245 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5246 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5247 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5248 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5249 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5250 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5251 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5252 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5253 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5254 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5263 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5264 _XOPEN_SOURCE_EXTENDED for XPG4.
5266 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5268 * Makeconfig (localtime): Remove variable.
5269 (inst_localtime-file): Likewise.
5271 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5292 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5296 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5297 comparisons to determine direction to adjust input.
5298 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5299 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5302 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5304 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5306 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5307 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5309 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5311 * math/libm-test.inc (nexttoward_test): Add more tests.
5313 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5317 in version GLIBC_2.1, not GLIBC_2.0.
5318 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5321 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5324 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5326 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5327 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5328 * math/libm-test.inc (acos_test): Add more tests.
5329 (asin_test): Likewise.
5330 * sysdeps/i386/fpu/libm-test-ulps: Update.
5331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5334 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5336 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5337 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5338 * math/libm-test.inc (acos_test_tonearest): New function.
5339 (acos_test_towardzero): Likewise.
5340 (acos_test_downward): Likewise.
5341 (acos_test_upward): Likewise.
5342 (asin_test_tonearest): Likewise.
5343 (asin_test_towardzero): Likewise.
5344 (asin_test_downward): Likewise.
5345 (asin_test_upward): Likewise.
5346 (main): Call the new functions.
5347 * sysdeps/i386/fpu/libm-test-ulps: Update.
5348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5352 * math/e_exp10.c: Include <float.h>.
5353 (__ieee754_exp10): Handle underflow here rather than multiplying
5354 large negative argument by M_LN10.
5355 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5357 * math/e_exp10l.c: Include <float.h>.
5358 (__ieee754_exp10l): Handle underflow here rather than multiplying
5359 large negative argument by M_LN10l.
5360 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5361 spurious overflow exception on underflow.
5363 2012-04-29 Marek Polacek <polacek@redhat.com>
5365 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5366 (__fortify_function): New macro.
5367 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5368 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5369 __extern_always_inline.
5370 * libio/bits/stdio2.h: Likewise.
5371 * libio/bits/stdio.h: Likewise.
5372 * string/string.h: Likewise.
5373 * string/bits/string3.h: Likewise.
5374 * include/stdio.h: Likewise.
5375 * stdlib/bits/stdlib.h: Likewise.
5376 * stdlib/stdlib.h: Likewise.
5377 * rt/bits/mqueue2.h: Likewise.
5378 * rt/mqueue.h: Likewise.
5379 * posix/bits/unistd.h: Likewise.
5380 * posix/unistd.h: Likewise.
5381 * io/bits/poll2.h: Likewise.
5382 * io/bits/fcntl2.h: Likewise.
5383 * io/fcntl.h: Likewise.
5384 * io/sys/poll.h: Likewise.
5385 * misc/bits/syslog.h: Likewise.
5386 * misc/bits/syslog-ldbl.h: Likewise.
5387 * misc/sys/syslog.h: Likewise.
5388 * socket/bits/socket2.h: Likewise.
5389 * socket/sys/socket.h: Likewise.
5390 * debug/tst-chk1.c: Likewise.
5391 * wcsmbs/bits/wchar2.h: Likewise.
5392 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5393 * wcsmbs/wchar.h: Likewise.
5395 2012-04-29 Andreas Jaeger <aj@suse.de>
5397 * Makerules (tests): Remove enable-check-abi protection.
5398 (check-abi-warn): Remove.
5399 (check-abi-%): Remove check-abi-warn usage.
5401 * configure.in: Remove check-abi configure option.
5402 * configure: Regenerated.
5403 * config.make.in (enable-check-abi): Remove.
5405 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5408 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5409 double functions to double *_finite functions.
5412 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5413 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5415 * stdio-common/Makefile (tests): Add tst-sprintf3.
5416 * stdio-common/tst-sprintf3.c: New file.
5418 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5419 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5421 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5423 * conform/conformtest.pl: Remove duplicate typed-constant
5426 2012-04-28 David S. Miller <davem@davemloft.net>
5428 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5429 (check-abi-%): Remove AWK script prerequisite and explicit
5431 (check-abi): Rewrite to just diff the symlist with the abilist.
5432 (config-tls, config-abi-config): Delete, no longer used.
5433 (update-abi-%): Remove AWK script and explicit abilist directory.
5434 (update-abi): Rewrite to simply compare and conditionally copy the
5435 symlist and the sysdep abilist file. Remove update-abi-config
5437 * abilist/ld.abilist: Remove.
5438 * abilist/libBrokenLocale.abilist: Remove.
5439 * abilist/libanl.abilist: Remove.
5440 * abilist/libcrypt.abilist: Remove.
5441 * abilist/libdl.abilist: Remove.
5442 * abilist/librt.abilist: Remove.
5443 * abilist/libthread_db.abilist: Remove.
5444 * abilist/libutil.abilist: Remove.
5445 * scripts/extract-abilist.awk: Remove.
5446 * scripts/merge-abilist.awk: Remove.
5447 * sysdeps/generic/libcidn.abilist: New file.
5448 * sysdeps/generic/libnss_compat.abilist: New file.
5449 * sysdeps/generic/libnss_db.abilist: New file.
5450 * sysdeps/generic/libnss_dns.abilist: New file.
5451 * sysdeps/generic/libnss_files.abilist: New file.
5452 * sysdeps/generic/libnss_hesiod.abilist: New file.
5453 * sysdeps/generic/libnss_nis.abilist: New file.
5454 * sysdeps/generic/libnss_nisplus.abilist: New file.
5455 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5456 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5457 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5459 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5460 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5461 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5462 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5463 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5464 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5465 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5466 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5467 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5469 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5470 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5471 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5472 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5474 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5475 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5476 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5477 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5478 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5479 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5481 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5482 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5483 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5485 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5588 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5589 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5590 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5592 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5593 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5594 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5595 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5596 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5597 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5598 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5599 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5600 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5601 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5653 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5655 * conform/conformtest.pl: Fix typo in handling typed-constant from
5658 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5660 * README: Cut down references to pre-2.6 Linux kernels and
5661 Linuxthreads. Update lists of configurations in libc and ports
5662 and sort alphabetically. Say "or newer" with Linux kernel version
5665 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5667 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5670 * math/libm-test.inc (logb_test_downward): New test to expose
5671 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5674 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5677 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5679 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5680 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5682 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5684 * sysdeps/unix/i386/brk.S: Remove file.
5685 * sysdeps/unix/i386/dl-brk.S: Likewise.
5686 * sysdeps/unix/i386/pipe.S: Likewise.
5687 * sysdeps/unix/i386/sigreturn.S: Likewise.
5688 * sysdeps/unix/i386/syscall.S: Likewise.
5689 * sysdeps/unix/i386/vfork.S: Likewise.
5690 * sysdeps/unix/i386/wait.S: Likewise.
5692 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5693 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5695 * configure.in (arm*-none*): Do not allow without
5696 --enable-hacker-mode.
5697 (netbsd*): Remove case setting base_os.
5698 (386bsd*): Likewise.
5699 (freebsd*): Likewise.
5703 (ultrix*): Likewise.
5704 (newsos*): Likewise.
5714 (solaris[2-9]*): Likewise.
5716 * configure: Regenerated.
5718 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5721 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5722 overflow or cancellation in calculating denominator.
5723 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5725 down expression to avoid unexpected rounding in newer GCCs.
5726 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5728 2012-04-26 David S. Miller <davem@davemloft.net>
5730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5731 long-double compat symbols.
5732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5746 2012-04-25 David S. Miller <davem@davemloft.net>
5748 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5749 HWCAP_* values only after the memory barriers have been defined.
5750 (atomic_full_barrier): Define.
5751 (atomic_read_barrier): Define.
5752 (atomic_write_barrier): Define.
5754 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5756 * shlib-versions: Add libgcc_s version information.
5757 * sysdeps/generic/libgcc_s.h: Remove.
5758 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5760 * sysdeps/gnu/unwind-resume.c: Likewise.
5761 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5763 2012-04-25 David S. Miller <davem@davemloft.net>
5765 * sysdeps/unix/sparc/brk.S: Delete.
5766 * sysdeps/unix/sparc/dl-brk.S: Delete.
5767 * sysdeps/unix/sparc/pipe.S: Delete.
5768 * sysdeps/unix/sparc/sysdep.S: Delete.
5769 * sysdeps/unix/sparc/sysdep.h: Delete.
5770 * sysdeps/unix/sparc/vfork.S: Delete.
5771 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5772 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5773 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5774 ret_ERRVAL, r0, r1, MOVE): Define.
5775 (JUMPTARGET): Remove.
5776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5777 sysdeps/unix/sparc/sysdep.h
5778 (ENTRY, END): Remove.
5779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5781 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5783 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5784 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5787 * timezone/README: Update upstream location and email address for
5789 * timezone/zdump.c: Update from tzcode 2012b.
5790 * timezone/zic.c: Likewise.
5792 * configure.in (libc_cv_as_needed): Remove test.
5793 * configure: Regenerated.
5794 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5795 conditional definition.
5796 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5797 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5798 * config.make.in (have-as-needed): Remove variable.
5800 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5801 Paul Pluzhnikov <ppluzhnikov@google.com>
5803 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5806 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5808 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5809 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5810 * sysdeps/sh/strlen.S: Likewise.
5812 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5814 * sysdeps/unix/fork.S: Remove file.
5815 * sysdeps/unix/i386/fork.S: Likewise.
5816 * sysdeps/unix/sparc/fork.S: Likewise.
5818 * sysdeps/unix/system.c: Remove file.
5819 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5821 * sysdeps/unix/getegid.S: Remove file.
5822 * sysdeps/unix/geteuid.S: Likewise.
5824 2012-04-24 Roland McGrath <roland@hack.frob.com>
5826 * scripts/check-localplt.awk: New file.
5827 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5829 * scripts/data/localplt-generic.data: Add a comment.
5831 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5832 NODE when __dir_mkfile failed.
5833 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5834 Reported by Ludovic Courtès <ludo@gnu.org>.
5836 2012-04-24 Andreas Jaeger <aj@suse.de>
5838 * Makerules (common-clean): Also remove gen-as-const-headers
5841 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5843 * Makerules (native-compile): Do not change working directory for
5844 build. Use $(OUTPUT_OPTION) in command.
5845 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5847 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5850 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5851 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5852 * math/libm-test.inc (floor_test): Add more tests.
5853 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5855 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5857 * sysdeps/unix/getdents.c: Remove file.
5858 * sysdeps/unix/sysv/getdents.c: Likewise.
5859 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5861 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5862 sysdeps/unix/mman/syscalls.list.
5864 (mprotect): Likewise.
5867 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5868 * sysdeps/unix/mman/syscalls.list: Remove.
5869 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5871 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5872 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5873 * configure: Regenerated.
5874 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5876 * config.make.in (libgcc_s_suffix): Remove variable.
5878 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5880 * sysdeps/unix/sysv/gethostname.c: Move to ...
5881 * sysdeps/posix/gethostname.c: ... here.
5883 * sysdeps/unix/execve.S: Remove file.
5885 * sysdeps/unix/_exit.S: Remove file.
5887 2012-04-23 Andreas Jaeger <aj@suse.de>
5890 * manual/Makefile: Remove make dist support, there's no
5891 need for a stand-alone documentation tar ball.
5892 (TEXI2DVI): Define always, it's not in Makeconfig.
5896 (glibc-doc-$(edition).tar): Removed
5900 (ETAGS): Remove, it's in Makeconfig.
5901 (move-if-change): Remove, it's in Makeconfig.
5903 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5906 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5907 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5908 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5909 (strtod_l, strtof_l, strtold_l): Remove __wur.
5910 It is not necessarily an error to ignore strtol's return value.
5911 One can reliably look at the stored endptr to decide whether
5912 the number had valid syntax.
5914 2012-04-21 Andreas Jaeger <aj@suse.de>
5917 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5919 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5921 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5922 * sysdeps/unix/sysv/Versions: Remove file.
5924 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5929 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5933 version from __vm86.
5935 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5937 * sysdeps/unix/common/lxstat.c: Remove file.
5938 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5940 * sysdeps/unix/sysv/Makefile: Remove file.
5942 * sysdeps/unix/sysv/direct.h: Remove file.
5944 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5945 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5946 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5947 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5948 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5949 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5950 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5952 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5954 * sysdeps/unix/xmknod.c: Remove file.
5955 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5957 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5959 * sysdeps/unix/sysv/i386/time.S: Remove file.
5961 * sysdeps/unix/fxstat.c: Remove file.
5962 * sysdeps/unix/xstat.c: Likewise.
5963 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5965 * sysdeps/unix/sysv/sigaction.c: Remove file.
5967 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5968 (sysdep_headers): Remove variable.
5969 [termio.h not in sysdep_headers] (generated): Likewise.
5970 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5971 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5972 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5973 * sysdeps/unix/sysv/tcflow.c: Likewise.
5974 * sysdeps/unix/sysv/tcflush.c: Likewise.
5975 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5976 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5977 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5978 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5979 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5981 * sysdeps/unix/siglist.c: Remove file.
5983 * sysdeps/unix/getppid.S: Remove file.
5985 * sysdeps/unix/mkdir.c: Remove file.
5986 * sysdeps/unix/rmdir.c: Likewise.
5988 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5990 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5992 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5993 errlist-compat value.
5995 2012-04-18 David S. Miller <davem@davemloft.net>
5997 * sysdeps/generic/memcopy.h (reg_char): Delete.
5998 * debug/strcat_chk.c: Use char, not reg_char.
5999 * debug/strcpy_chk.c: Likewise.
6000 * debug/strncat_chk.c: Likewise.
6001 * debug/strncpy_chk.c: Likewise.
6002 * string/memchr.c: Likewise.
6003 * string/memrchr.c: Likewise.
6004 * string/rawmemchr.c: Likewise.
6005 * string/strcat.c: Likewise.
6006 * string/strchr.c: Likewise.
6007 * string/strchrnul.c: Likewise.
6008 * string/strcmp.c: Likewise.
6009 * string/strcpy.c: Likewise.
6010 * string/strncat.c: Likewise.
6011 * string/strncmp.c: Likewise.
6012 * string/strncpy.c: Likewise.
6014 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6016 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6017 __builtin_memcopy is called when src and dest ranges are known to not
6020 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6022 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6023 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6024 fwd_align_merge macro call.
6025 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6026 bwd_align_merge macro call.
6027 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6029 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6031 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6032 bwd_align_merge macros.
6033 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6034 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6035 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6037 2012-04-18 David S. Miller <davem@davemloft.net>
6039 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6041 2012-04-18 Andreas Jaeger <aj@suse.de>
6044 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6045 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6046 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6048 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6049 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6050 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6052 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6053 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6054 Adjust for changed ldbl-128 files.
6056 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6057 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6058 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6060 2012-04-17 David S. Miller <davem@davemloft.net>
6062 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6064 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6066 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6067 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6068 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6069 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6070 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6071 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6073 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6076 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6077 * math/libm-test.inc: Add ilogb errno and exception tests.
6078 * math/w_ilogb.c: New file: ilogb wrapper.
6079 * math/w_ilogbf.c: New file: ilogbf wrapper.
6080 * math/w_ilogbl.c: New file: ilogbl wrapper.
6081 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6082 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6083 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6084 exception being thrown with 0.0 as argument.
6085 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6086 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6087 exception being thrown with 0.0 as argument.
6088 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6089 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6090 exception being thrown with 0.0 as argument.
6091 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6092 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6093 exception being thrown with 0.0 as argument.
6094 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6095 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6096 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6097 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6098 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6099 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6100 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6101 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6102 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6104 2012-04-17 Petr Baudis <pasky@ucw.cz>
6106 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6109 2012-04-16 Marek Polacek <polacek@redhat.com>
6111 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6113 2012-04-16 Marek Polacek <polacek@redhat.com>
6115 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6116 operands of fdivp instruction.
6118 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6120 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6121 * elf/tst-auditmod3b.c: Likewise.
6122 * elf/tst-auditmod4b.c: Likewise.
6123 * elf/tst-auditmod5b.c: Likewise.
6124 * elf/tst-auditmod6b.c: Likewise.
6125 * elf/tst-auditmod6c.c: Likewise.
6126 * elf/tst-auditmod7b.c: Likewise.
6127 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6128 * sysdeps/x86_64/preconfigure.in: Likewise.
6129 * sysdeps/x86_64/preconfigure: Regenerated.
6131 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6133 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6136 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6138 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6139 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6141 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6144 * locale/iso-639.def: Fix gl language name. Spotted by
6147 2012-04-12 Roland McGrath <roland@hack.frob.com>
6150 * libio/libio.h (__io_write_fn): Update comment.
6152 2012-04-12 Petr Baudis <pasky@ucw.cz>
6155 * stdio.texi (Hook Functions): The user provided writer function
6156 is not allowed to return -1.
6158 2012-04-11 David S. Miller <davem@davemloft.net>
6160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6162 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6164 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6165 Add a leading slash to rtkaio.
6167 2012-04-11 Jim Meyering <meyering@redhat.com>
6170 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6171 It is not necessarily an error to ignore fwrite's return
6172 value. One can reliably use ferror to test for errors after
6175 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6177 * bits/types.h (__snseconds_t): New type.
6178 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6180 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6181 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6182 (__SNSECONDS_T_TYPE): Likewise.
6183 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6184 (__SNSECONDS_T_TYPE): Likewise.
6185 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6186 (__SNSECONDS_T_TYPE): Likewise.
6188 2012-04-10 Andreas Jaeger <aj@suse.de>
6191 * manual/time.texi (Processor Time): Return type of times is
6192 elapsed real time since an arbitrary point in the past.
6193 (CPU Time): Move CLK_TCK from here...
6194 (Processor Time): ...to here. Correct description.
6195 * manual/conf.texi (Constants for Sysconf): Correct description of
6198 2012-04-10 David S. Miller <davem@davemloft.net>
6201 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6202 where the is a gap between DT_REL(A) and DT_JMPREL.
6204 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6206 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6207 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6208 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6210 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6212 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6213 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6214 (dl_main): Handle --inhibit-cache.
6215 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6217 * elf/dl-load.c (_dl_map_object): Use it.
6218 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6220 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6223 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6224 (__ieee754_powl): Saturate large exponents rather than testing for
6225 overflow of y*log2(x).
6226 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6227 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6231 * math/s_ctan.c: Include <float.h>.
6232 (__ctan): Avoid internal overflow or cancellation in calculating
6234 * math/s_ctanf.c: Likewise.
6235 * math/s_ctanl.c: Likewise.
6236 * math/s_ctanh.c: Likewise.
6237 * math/s_ctanhf.c: Likewise.
6238 * math/s_ctanhl.c: Likewise.
6239 * math/libm-test.inc (ctan_test): Add more tests.
6240 (ctanh_test): Likewise.
6241 * sysdeps/i386/fpu/libm-test-ulps: Update.
6242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6244 2012-04-09 Andreas Jaeger <aj@suse.de>
6247 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6248 is an optional BSD extension.
6251 * manual/stdio.texi (Opening Streams): Document additional fopen
6254 2012-04-09 Roland McGrath <roland@hack.frob.com>
6256 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6257 %eax without telling the compiler.
6259 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6262 * manual/install.texi: Use sourceware.org.
6264 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6267 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6268 (__ieee754_pow): Generate overflow and underflow using huge*huge
6269 and tiny*tiny rather than just returning constant infinity or zero
6270 for large exponents.
6271 * math/libm-test.inc (pow_test): Require overflow exceptions for
6272 applicable cases of large exponents.
6275 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6276 (__ieee754_pow): Use iterative multiplication algorithm only for
6277 integer exponents with absolute value below 1024. Check for odd
6278 integer exponents when using algorithm for real exponents.
6279 * math/libm-test.inc (pow_test): Add more tests.
6280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6282 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6285 * math/libm-test.inc (exp_test): Do not allow overflow exception
6288 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6291 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6292 instead of __kernel_standard_f.
6294 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6296 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6297 * sysdeps/x86_64/memset_chk.S: Likewise.
6299 2012-04-08 Andreas Jaeger <aj@suse.de>
6302 * manual/startup.texi (Environment Access): Describe return value
6303 for putenv and setenv.
6306 * manual/filesys.texi (Directory Entries): Add description for
6310 * manual/filesys.texi (Directory Entries): Clarify that it's file
6311 system not operating system in the description of DT_UNKNOWN.
6314 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6316 2012-04-08 Stephen Compall <s11@member.fsf.org>
6319 * manual/llio.texi (Opening and Closing Files): Add cross
6320 reference to explain mode argument.
6322 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6324 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6325 * sysdeps/x86_64/memset_chk.S: Likewise.
6327 2012-04-07 David S. Miller <davem@davemloft.net>
6329 * elf/elf.h (R_SPARC_WDISP10): Define.
6330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6332 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6333 R_SPARC_SIZE64 and R_SPARC_H34.
6335 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6337 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6338 conditions and remove no longer applicable assertion.
6340 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6342 * bits/byteswap.h: Include <features.h>.
6343 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6344 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6346 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6348 * bits/byteswap.h (__bswap_16): Removed.
6349 Include <bits/byteswap-16.h> to get __bswap_16.
6350 * sysdeps/i386/bits/byteswap.h: Likewise.
6351 * sysdeps/s390/bits/byteswap.h: Likewise.
6352 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6353 * bits/byteswap-16.h: New file.
6354 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6355 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6356 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6357 * string/Makefile (headers): Add bits/byteswap-16.h.
6359 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6362 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6364 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6365 * nss/tst-nss-static.c: New.
6367 2012-04-06 Robert Millan <rmh@gnu.org>
6370 * manual/llio.texi (File Position Primitive): lseek
6371 refers to WHENCE when it really means OFFSET.
6373 2012-04-06 Andreas Jaeger <aj@suse.de>
6375 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6376 strncmp declarations.
6378 * abilist/libc.abilist: Add __poll and __ppoll.
6380 2012-04-05 David S. Miller <davem@davemloft.net>
6382 * scripts/check-local-headers.sh: Accept a host triplet in the
6383 path matched by the exclude regexp.
6385 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6387 * sysdeps/powerpc/powerpc32/dl-machine.h
6388 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6389 * sysdeps/s390/s390-32/dl-machine.h
6390 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6391 * sysdeps/sparc/sparc32/dl-machine.h
6392 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6393 * sysdeps/sparc/sparc64/dl-machine.h
6394 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6396 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6398 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6399 undefined symbol errors.
6401 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6404 2012-04-05 Michael Matz <matz@suse.de>
6407 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6409 2012-04-05 Andreas Jaeger <aj@suse.de>
6412 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6415 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6417 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6418 which ROUND is no valid rounding mode.
6420 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6422 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6424 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6426 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6428 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6429 an exception using FPU order intentionally.
6431 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6433 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6434 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6435 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6436 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6438 2012-04-05 Simon Josefsson <simon@josefsson.org>
6441 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6442 EINVAL when BUFLEN is too smal.
6444 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6447 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6448 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6450 2012-04-03 Andreas Jaeger <aj@suse.de>
6453 * manual/setjmp.texi (System V contexts): Fix sentence.
6456 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6457 New macro for this case.
6458 [!__GNUC__] (__bswap_64): New inline function for this case.
6459 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6460 * bits/byteswap.h: Likewise.
6461 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6462 ull, guard with __GLIBC_HAVE_LONG_LONG.
6464 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6465 __GLIBC_HAVE_LONG_LONG.
6467 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6468 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6470 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6473 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6474 inptr and inend, rather than using last_ch.
6476 2012-04-02 David S. Miller <davem@davemloft.net>
6478 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6479 * stdio-common/printf-parse.h (read_int): Change return type to
6480 'int', return -1 on INT_MAX overflow.
6481 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6482 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6483 overflows INT_MAX. Check for overflow of in-format-string precision
6484 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6485 SIZE_MAX not INT_MAX for integer overflow test.
6486 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6487 skip the construct in the format string but do not record anything.
6488 * stdio-common/bug22.c: Adjust to test both width/prevision
6489 INT_MAX overflow as well as total length INT_MAX overflow. Check
6490 explicitly for proper errno values.
6492 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6494 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6496 * string/test-strcmp.c [! WIDE]: Likewise.
6497 * time/tst-mktime2.c: Likewise for INT_MAX.
6498 * string/test-string.h: #include <sys/param.h> for MIN.
6500 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6501 * sysdeps/i386/init-first.c (init): Likewise.
6502 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6503 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6504 * sysdeps/sh/init-first.c (init): Likewise.
6506 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6508 * po/ru.po: Update from translation team.
6509 * po/vi.po: Likewise.
6511 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6513 * resolv/nss_dns/dns-host.c: Merge copyright years.
6515 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6517 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6518 Optimize memcpy with prefetch if
6519 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6520 src, dst pointers have unequal 16 byte alignments.
6522 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6525 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6526 from a CNAME entry and return the minimum ttl for the query.
6527 (gaih_getanswer_slice): Likewise.
6529 2012-03-30 Jeff Law <law@redhat.com>
6531 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6533 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6534 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6536 * resolv/nss_dns/dns-host.c: Update copyright year.
6538 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6540 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6541 requests to save a system call. Fix check that all bytes are sent.
6543 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6544 comments for sendmmsg.
6546 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6549 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6550 with only 1 character between 0x0041 and 0x01b0.
6551 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6552 * wcsmbs/tst-mbsnrtowcs.c: New file.
6554 2012-03-29 David S. Miller <davem@davemloft.net>
6556 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6557 small copies by hand.
6559 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6562 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6563 _nss_compat_initgroups_dyn): Fall back to malloc/free
6564 for large group memberships.
6566 2012-03-28 David S. Miller <davem@davemloft.net>
6568 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6569 that branches into memcpy.
6570 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6571 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6572 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6573 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6576 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6578 * sysdeps/sparc/mempcpy.S: New file.
6580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6581 the IFUNC routine in the libc case.
6582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6584 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6585 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6586 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6587 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6588 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6589 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6590 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6591 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6593 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6594 loop to 256 bytes instead of 64 bytes and fix test signedness.
6596 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6597 * sysdeps/sparc/sparc32/Makefile: rather than here...
6598 * sysdeps/sparc/sparc64/Makefile: and here.
6600 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6602 * malloc/mallocbug.c: Avoid warnings about unused variables.
6604 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6607 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6608 in the right place. Discard and retry query if response is
6609 larger than input buffer size.
6611 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6616 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6617 x for large integer exponent.
6618 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6619 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6620 sign of result as needed afterwards.
6621 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6622 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6623 result for underflowing pow the same as for overflow.
6624 (__kernel_standard_l): Handle powl overflow and underflow here
6625 rather than calling __kernel_standard.
6626 * math/libm-test.inc (pow_test): Add more tests.
6641 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6642 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6643 (__kernel_standard_l): New function.
6644 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6646 * math/w_acosl.c (__acosl): Likewise.
6647 * math/w_asinl.c (__asinl): Likewise.
6648 * math/w_atan2l.c (__atan2l): Likewise.
6649 * math/w_atanhl.c (__atanhl): Likewise.
6650 * math/w_coshl.c (__coshl): Likewise.
6651 * math/w_exp10l.c (__exp10l): Likewise.
6652 * math/w_exp2l.c (__exp2l): Likewise.
6653 * math/w_fmodl.c (__fmodl): Likewise.
6654 * math/w_hypotl.c (__hypotl): Likewise.
6655 * math/w_j0l.c (__j0l, __y0l): Likewise.
6656 * math/w_j1l.c (__j1l, __y1l): Likewise.
6657 * math/w_jnl.c (__jnl, __ynl): Likewise.
6658 * math/w_lgammal.c (__lgammal): Likewise.
6659 * math/w_log10l.c (__log10l): Likewise.
6660 * math/w_log2l.c (__log2l): Likewise.
6661 * math/w_logl.c (__logl): Likewise.
6662 * math/w_powl.c (__powl): Likewise.
6663 * math/w_remainderl.c (__remainderl): Likewise.
6664 * math/w_scalbl.c (sysv_scalbl): Likewise.
6665 * math/w_sinhl.c (__sinhl): Likewise.
6666 * math/w_sqrtl.c (__sqrtl): Likewise.
6667 * math/w_tgammal.c (__tgammal): Likewise.
6668 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6669 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6670 * math/libm-test.inc (acos_test): Add more tests.
6671 (acosh_test): Likewise.
6672 (asin_test): Likewise.
6673 (atanh_test): Likewise.
6674 (exp_test): Likewise.
6675 (exp10_test): Likewise.
6676 (exp2_test): Likewise.
6677 (expm1_test): Likewise.
6678 (lgamma_test): Likewise.
6679 (log_test): Likewise.
6680 (log10_test): Likewise.
6681 (log1p_test): Likewise.
6682 (log2_test): Likewise.
6683 (pow_test): Do not allow some spurious overflow exceptions.
6684 (sqrt_test): Add more tests.
6685 (tgamma_test): Likewise.
6686 (y0_test): Likewise.
6687 (y1_test): Likewise.
6688 (yn_test): Likewise.
6690 2012-03-27 Anton Blanchard <anton@samba.org>
6692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6694 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6695 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6698 2012-03-27 David S. Miller <davem@davemloft.net>
6700 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6702 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6705 2012-03-27 Andreas Jaeger <aj@suse.de>
6707 * sysdeps/x86_64/elf/configure.in: Moved to ...
6708 * sysdeps/x86_64/configure.in: ... here.
6709 * sysdeps/x86_64/elf/start.S: Moved to ...
6710 * sysdeps/x86_64/start.S: ... here.
6711 * sysdeps/x86_64/elf/configure: Delete.
6713 * sysdeps/x86_64/configure.in: Merge contents from
6714 sysdeps/i386/configure.in (without i686 check).
6716 * sysdeps/i386/elf/Versions: Merge into ...
6717 * sysdeps/i386/Versions: ... this.
6718 * sysdeps/i386/elf/Versions: Delete file.
6719 * sysdeps/i386/elf/start.S: Moved to ...
6720 * sysdeps/i386/start.S: ...here.
6721 * sysdeps/i386/elf/configure.in: Merge into...
6722 * sysdeps/i386/configure.in: ...here.
6723 * sysdeps/i386/elf/configure.in: Delete file.
6724 * sysdeps/i386/elf/configure: Delete file.
6726 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6727 * debug/backtracesyms.c: ... here.
6728 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6729 * debug/backtracesymsfd.c: ... here.
6730 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6731 * sysdeps/generic/ifunc-sel.h: ... here.
6733 * sysdeps/unix/i386/start.c: Delete file.
6734 * sysdeps/unix/sparc/start.c: Delete file.
6735 * sysdeps/unix/start.c: Delete file.
6737 * sysdeps/sh/elf/configure.in: Moved to ...
6738 * sysdeps/sh/configure.in: ... here.
6739 * sysdeps/sh/elf/start.S: Moved to ...
6740 * sysdeps/sh/start.S: ... here.
6741 * sysdeps/sh/elf/configure: Delete file.
6743 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6744 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6745 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6746 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6747 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6748 * sysdeps/powerpc/powerpc64/start.S: here.
6749 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6750 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6751 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6752 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6753 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6755 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6756 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6757 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6758 * sysdeps/powerpc/powerpc32/start.S: ... here.
6759 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6760 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6761 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6763 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6764 * sysdeps/powerpc/ifunc-sel.h: ... here.
6765 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6766 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6768 * sysdeps/sparc/elf/configure.in: Moved to ...
6769 * sysdeps/sparc/configure.in: ... here.
6770 * sysdeps/sparc/elf/configure: Delete file.
6771 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6772 * sysdeps/sparc/sparc32/start.S: ... here.
6773 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6774 * sysdeps/sparc/sparc64/start.S: ... here.
6775 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6776 * sysdeps/sparc/sparc32/Makefile: ... this.
6777 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6778 * sysdeps/sparc/sparc64/Makefile: ... this.
6780 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6781 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6782 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6783 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6784 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6785 * sysdeps/s390/s390-32/setjmp.S: ... here.
6786 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6787 * sysdeps/s390/s390-32/configure.in: ... here.
6788 * sysdeps/s390/s390-32/elf/configure: Delete file.
6789 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6790 * sysdeps/s390/s390-32/start.S: ... here.
6792 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6793 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6794 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6795 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6796 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6797 * sysdeps/s390/s390-64/setjmp.S: ... here.
6798 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6799 * sysdeps/s390/s390-64/configure.in: ... here
6800 * sysdeps/s390/s390-64/elf/configure: Delete file.
6801 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6802 * sysdeps/s390/s390-64/start.S: ... here.
6803 * sysdeps/s390/s390-64/elf/configure: Delete.
6805 * configure.in: Remove support for elf directories in sysdeps.
6807 * configure: Regenerated.
6808 * sysdeps/i386/configure: Regenerated.
6809 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6810 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6811 * sysdeps/s390/s390-32/configure: Regenerated.
6812 * sysdeps/s390/s390-64/configure: Regenerated.
6813 * sysdeps/sh/configure: Regenerated.
6814 * sysdeps/sparc/configure: Regenerated.
6815 * sysdeps/x86_64/configure: Regenerated.
6817 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6822 denormal result into account.
6824 2012-03-25 Roland McGrath <roland@hack.frob.com>
6826 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6827 Reported by Allan McRae <allan@archlinux.org>.
6829 2012-03-23 Jeff Law <law@redhat.com>
6831 * nss/getnssent.c (__nss_getent): Fix typo.
6833 2012-03-23 David S. Miller <davem@davemloft.net>
6835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6837 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6839 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6840 to pad to uint64_t for each field.
6841 (dl_tls_index): Replace unsigned long with uint64_t.
6843 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6844 Paul Pluzhnikov <ppluzhnikov@google.com>
6847 * grp/Makefile (otherlibs): Don't set it.
6848 * inet/Makefile (otherlibs): Likewise.
6849 * login/Makefile (otherlibs): Likewise.
6850 * nscd/Makefile (otherlibs): Likewise.
6851 * posix/Makefile (otherlibs): Likewise.
6852 * pwd/Makefile (otherlibs): Likewise.
6853 * rt/Makefile (otherlibs): Likewise.
6854 * sunrpc/Makefile (otherlibs): Likewise.
6855 * nss/Makefile (otherlibs): Likewise.
6856 Add libnss_files to routines and static-only-routines.
6857 ($(objpfx)getent): Remove rule.
6858 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6859 static-only-routines.
6861 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6864 * math/s_cexp.c: Include <float.h>.
6865 (__cexp): Handle exp result overflowing not necessarily
6866 overflowing both real and imaginary parts of result.
6867 * math/s_cexpf.c: Likewise.
6868 * math/s_cexpl.c: Likewise.
6869 * math/libm-test.inc (cexp_test): Add more tests.
6870 * sysdeps/i386/fpu/libm-test-ulps: Update.
6871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6873 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6875 * include/link.h (ELFW): New macro.
6876 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6877 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6879 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6881 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6884 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6886 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6888 (struct La_x32_retval): Likewise.
6890 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6892 * sysdeps/x86_64/preconfigure.in: New file.
6893 * sysdeps/x86_64/preconfigure: New generated file.
6895 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6898 * math/e_exp2l.c: Include <float.h>.
6899 (__ieee754_exp2l): Handle overflow and underflow cases
6900 separately. Only pass fractional part of argument to
6902 * math/libm-test.inc (exp2_test): Add more tests.
6904 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6905 negating x to take absolute value.
6906 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6908 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6911 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6912 computing low part if x was negated.
6913 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6915 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6917 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6919 (pltexit): Cast int_retval to ptrdiff_t.
6920 * elf/tst-auditmod3b.c: Likewise.
6921 * elf/tst-auditmod4b.c: Likewise.
6922 * elf/tst-auditmod5b.c: Likewise.
6923 * elf/tst-auditmod6b.c: Likewise.
6924 * elf/tst-auditmod6c.c: Likewise.
6925 * elf/tst-auditmod7b.c: Likewise.
6927 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6928 and x32_gnu_pltexit.
6930 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6932 (La_x32_regs): New macro.
6933 (La_x32_retval): Likewise.
6934 (la_x32_gnu_pltenter): New function prototype.
6935 (la_x32_gnu_pltexit): Likewise.
6937 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6944 * configure.in (libc_cv_cc_nofma): Check for option to disable
6945 generation of FMA instructions.
6946 * configure: Regenerate.
6947 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6948 * sysdeps/ieee754/dbl-64/Makefile: New file.
6949 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6950 Remove brandred-fma4.
6951 (CFLAGS-brandred-fma4.c): Remove.
6952 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6953 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6955 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6958 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6960 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6961 LLONG_MAX != LONG_MAX.
6962 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6963 (_fitoa_word): Likewise.
6964 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6965 LLONG_MAX != LONG_MAX.
6966 * stdio-common/_itowa.h: Include <_itoa.h>.
6967 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6968 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6969 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6970 only if not defined.
6971 (_ITOA_WORD_TYPE): Likewise.
6972 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6973 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6975 2012-03-21 David S. Miller <davem@davemloft.net>
6977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6979 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6981 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6982 of x86_64 when setting libc_cv_slibdir, libdir and
6984 * sysdeps/unix/sysv/linux/configure: Regenerated.
6986 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6988 * manual/lang.texi (Old Varargs): Remove section.
6989 (How Variadic): Update menu.
6990 (va_start): Do not mention varargs.h.
6992 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6993 Joseph Myers <joseph@codesourcery.com>
6995 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6997 * configure: Regenerated.
6999 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7001 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7002 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7005 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7008 * Makefile (files-for-dist): Remove NOTES.
7009 (NOTES): Remove rule.
7010 * README: Don't refer to NOTES.
7011 * manual/creature.texi: Don't include macros.texi.
7012 * manual/intro.texi (creature.texi): Remove comment referring to
7015 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7016 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7017 * configure: Regenerated.
7018 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7020 (libc_cv_as_i686): Likewise.
7021 (libc_cv_cc_avx): Likewise.
7022 (libc_cv_cc_sse2avx): Likewise.
7023 (libc_cv_cc_fma4): Likewise.
7024 (libc_cv_cc_novzeroupper): Likewise.
7025 * sysdeps/i386/configure: Regenerated.
7028 * sysdeps/i386/fpu/s_cexp.S: Remove.
7029 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7030 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7031 * math/libm-test.inc (cexp_test): Add more tests.
7032 * sysdeps/i386/fpu/libm-test-ulps: Update.
7033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7035 2012-03-21 Allan McRae <allan@archlinux.org>
7037 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7039 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7042 * math/w_exp2.c: Do not include <float.h>.
7043 (o_threshold, u_threshold): Remove.
7044 (__exp2): Calculate result before checking finiteness and calling
7046 * math/w_exp2f.c: Likewise.
7047 * math/w_exp2l.c: Likewise.
7048 * math/libm-test.inc (exp2_test): Require overflow exception for
7052 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7053 range of signed 64-bit integers before using fistpll. Remove
7054 checks for whether integers fit in mantissa bits.
7055 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7056 the range of signed 32-bit integers before using fistpl. Remove
7057 checks for whether integers fit in mantissa bits.
7058 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7059 (__ieee754_powl): Test for y outside the range of signed 64-bit
7060 integers before using fistpll. Reduce 64-bit values to 63-bit
7062 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7063 divide-by-zero is raised for zero to large negative powers.
7064 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7065 (__ieee754_powl): Test for y outside the range of signed 64-bit
7066 integers before using fistpll. Reduce 64-bit values to 63-bit
7068 * math/libm-test.inc (pow_test): Add more tests.
7070 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7072 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7073 <stdio-common/_itoa.h>.
7074 * debug/segfault.c: Likewise.
7075 * elf/dl-cache.c: Likewise.
7076 * elf/dl-minimal.c: Likewise.
7077 * elf/dl-misc.c: Likewise.
7078 * elf/dl-sysdep.c: Likewise.
7079 * elf/dl-version.c: Likewise.
7080 * elf/rtld.c: Likewise.
7081 * hurd/hurdsock.c: Likewise.
7082 * hurd/lookup-retry.c: Likewise.
7083 * malloc/malloc.c: Likewise.
7084 * malloc/mtrace.c: Likewise.
7085 * nscd/nscd_getgr_r.c: Likewise.
7086 * nscd/nscd_getpw_r.c: Likewise.
7087 * nscd/nscd_getserv_r.c: Likewise.
7088 * posix/getopt_init.c: Likewise.
7089 * posix/wordexp.c: Likewise.
7090 * stdio-common/_itoa.c: Likewise.
7091 * stdio-common/printf_fphex.c: Likewise.
7092 * stdio-common/vfprintf.c: Likewise.
7093 * string/_strerror.c: Likewise.
7094 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7095 * sysdeps/i386/i686/hp-timing.h: Likewise.
7096 * sysdeps/mach/_strerror.c: Likewise.
7097 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7098 * sysdeps/mach/hurd/sethostid.c: Likewise.
7099 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7100 * sysdeps/mach/xpg-strerror.c: Likewise.
7101 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7103 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7104 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7105 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7106 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7107 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7108 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7109 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7110 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7111 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7112 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7113 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7114 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7115 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7116 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7117 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7118 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7119 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7120 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7121 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7123 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7125 * stdio-common/_itoa.h: Moved to ...
7126 * sysdeps/generic/_itoa.h: Here.
7128 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7130 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7131 instead of "_itoa.h" and "_itowa.h".
7132 * stdio-common/vfprintf.: Likewise.
7134 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7136 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7138 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7139 (__signbit): Likwise.
7143 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7145 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7148 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7150 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7151 OVERFLOW_EXCEPTION_OK.
7152 * math/libm-test.inc ("Philosophy"): Update comment about
7154 (OVERFLOW_EXCEPTION): Define.
7155 (OVERFLOW_EXCEPTION_OK): Likewise.
7156 (INVALID_EXCEPTION_OK): Renumber.
7157 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7158 (IGNORE_ZERO_INF_SIGN): Likewise.
7159 (test_exceptions): Handle FE_OVERFLOW.
7160 (exp10_test): Expect overflow exceptions.
7161 (exp2_test): Likewise.
7162 (expm1_test): Likewise.
7163 (nextafter_test): Likewise.
7164 (pow_test): Likewise.
7165 (scalbn_test): Likewise.
7166 (scalbln_test): Likewise.
7168 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7170 * sysdeps/x86_64/bits/atomic.h
7171 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7173 (atomic_exchange_acq): Likewise.
7174 (__arch_exchange_and_add_body): Likewise.
7175 (__arch_add_body): Likewise.
7176 (atomic_add_negative): Likewise.
7177 (atomic_add_zero): Likewise.
7179 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7181 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7182 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7184 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7186 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7187 Check __x86_64__ instead of __WORDSIZE.
7189 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7191 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7193 2012-03-19 David S. Miller <davem@davemloft.net>
7195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7197 * sysdeps/sparc/fpu/fenv_private.h: New file.
7198 * sysdeps/sparc/fpu/math_private.h: Use it.
7199 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7201 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7202 (libc_feholdexcept_setroundl): Remove.
7203 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7205 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7206 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7208 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7210 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7211 int64_t instead of long int.
7212 (INSERT_WORDS64): Likwise.
7214 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7216 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7217 _Unwind_GetCFA return to _Unwind_Ptr first.
7219 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7222 * math/s_clog.c: Include <float.h>.
7223 (__clog): Scale large or subnormal inputs.
7224 * math/s_clogf.c: Likewise.
7225 * math/s_clogl.c: Likewise.
7226 * math/s_clog10.c: Include <float.h>.
7227 (M_LOG10_2): Define.
7228 (__clog10): Scale large or subnormal inputs.
7229 * math/s_clog10f.c: Likewise.
7230 * math/s_clog10l.c: Likewise.
7231 * math/libm-test.inc (clog_test): Add more tests.
7232 (clog10_test): Likewise.
7233 * sysdeps/i386/fpu/libm-test-ulps: Update.
7234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7237 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7239 * math/libm-test.inc (atan2_test): Add another test.
7241 * Makerules (common-objdir-compile): Remove.
7242 * sysdeps/unix/Makefile (config-generated): Do not add
7243 $(unix-generated) to variable.
7244 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7245 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7247 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7249 [generic bits/local_lim.h] (before-compile): Do not append to
7251 [generic bits/local_lim.h] (common-generated): Likewise.
7252 [generic sys/param.h] (before-compile): Do not append to variable.
7253 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7254 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7255 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7256 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7258 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7259 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7260 [generic sys/param.h] ($(addprefix
7261 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7262 [generic sys/param.h] (common-generated): Do not append to
7264 [generic sys/param.h] (sysdep_headers): Likewise.
7265 [generic bits/errno.h] (before-compile): Do not append to
7267 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7269 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7270 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7271 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7272 [generic bits/errno.h] (common-generated): Do not append to
7274 [generic bits/ioctls.h] (before-compile): Do not append to
7276 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7278 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7279 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7280 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7282 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7283 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7284 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7285 [generic bits/ioctls.h] (common-generated): Do not append to
7287 [generic sys/syscall.h] (syscall.h): Remove variable.
7288 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7290 [generic sys/syscall.h] (before-compile): Do not append to
7292 [generic sys/syscall.h] (common-generated): Likewise.
7293 * sysdeps/unix/errnos-tmpl.c: Remove file.
7294 * sysdeps/unix/errnos.awk: Likewise.
7295 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7296 * sysdeps/unix/ioctls.awk: Likewise.
7297 * sysdeps/unix/mk-local_lim.c: Likewise.
7298 * sysdeps/unix/snarf-ioctls: Likewise.
7300 2012-03-19 Richard Henderson <rth@twiddle.net>
7302 * sysdeps/i386/fpu/fenv_private.h: New file.
7303 * sysdeps/i386/fpu/math_private.h: Use it.
7304 (math_opt_barrier, math_force_eval): Remove.
7305 (libc_feholdexcept_setround_53bit): Remove.
7306 (libc_feupdateenv_53bit): Remove.
7307 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7308 (math_opt_barrier, math_force_eval): Remove.
7309 (libc_feholdexcept): Remove.
7310 (libc_feholdexcept_setround): Remove.
7311 (libc_fetestexcept, libc_fesetenv): Remove.
7312 (libc_feupdateenv_test): Remove.
7313 (libc_feupdateenv, libc_feholdsetround): Remove.
7314 (libc_feresetround): Remove.
7316 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7317 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7319 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7320 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7321 (libc_feupdateenv_testl): New.
7322 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7323 (libc_feupdateenv_testf): New.
7324 (libc_feupdateenv): Use libc_feupdateenv_test.
7325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7326 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7328 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7329 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7330 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7331 (libc_feresetround_noex): New.
7332 (libc_feresetround_noexf): New.
7333 (libc_feresetround_noexl): New.
7334 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7335 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7336 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7337 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7342 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7343 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7344 SET_RESTORE_ROUND_NOEX.
7345 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7346 SET_RESTORE_ROUND_NOEXF.
7347 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7348 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7349 (libc_feholdsetroundf): New.
7350 (libc_feresetround, libc_feresetroundf): New.
7352 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7353 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7354 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7356 * sysdeps/generic/math_private.h: Include <fenv.h>.
7357 (default_libc_feholdexcept): New.
7358 (default_libc_feholdexcept_setround): New.
7359 (default_libc_fesetenv, default_libc_feupdateenv): New.
7360 (libc_feholdexcept): Only define if undefined.
7361 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7362 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7363 (libc_feholdexcept_setroundl): Likewise.
7364 (libc_feholdexcept_setround_53bit): Likewise.
7365 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7366 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7367 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7368 (libc_feupdateenv_53bit): Likewise.
7369 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7370 (libc_feholdexcept): Convert from macro to inline function.
7371 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7372 (libc_fesetenv, libc_feupdateenv): Likewise.
7374 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7375 not previously defined.
7376 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7377 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7378 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7379 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7380 * sysdeps/ieee754/flt-32/math_private.h: New file.
7381 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7382 math_private.h below SET_FLOAT_WORD.
7383 (__isnan, __isinf_ns, __finite): Remove.
7384 (__isnanf, __isinf_nsf, __finitef): Remove.
7386 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7390 2012-03-17 David S. Miller <davem@davemloft.net>
7393 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7396 2012-03-16 David S. Miller <davem@davemloft.net>
7398 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7402 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7404 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7405 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7406 sysdep_routines when subdir is sysvipc.
7407 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7410 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7412 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7414 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7417 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7419 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7420 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7421 (__lround): Renamed to ...
7422 (__llround): This. Replace long int with long long int.
7423 Define lround functions as aliases of llround functions.
7424 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7426 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7428 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7429 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7430 adresses to uintptr_t. Replace "long int" and "unsigned long
7431 int" with "greg_t" on va_arg.
7433 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7435 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7436 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7438 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7439 Move e_machine check before EI_CLASS check. Handle x32
7440 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7441 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7442 SKIP_EM_IA_64 and include
7443 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7445 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7446 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7447 (add_system_dir): New macro.
7449 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7450 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7452 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7463 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7465 * math/w_j0f.c (j0f): Likewise.
7467 * math/w_j0l.c (__j0l): Likewise.
7469 * math/w_j1.c (j1): Likewise.
7471 * math/w_j1f.c (j1f): Likewise.
7473 * math/w_j1l.c (__j1l): Likewise.
7475 * math/w_jn.c (jn): Likewise.
7477 * math/w_jnf.c (jnf): Likewise.
7479 * math/w_jnl.c (__jnl): Likewise.
7481 * math/libm-test.inc (j0_test): Add more tests.
7482 (j1_test): Likewise.
7483 (jn_test): Likewise. Add trailing semicolon to existing test.
7484 (y0_test): Likewise.
7485 (y1_test): Likewise.
7486 * sysdeps/i386/fpu/libm-test-ulps: Update.
7487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7491 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7492 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7493 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7494 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7495 (__tanl): Set errno for infinite argument.
7496 * sysdeps/i386/fpu/mptan.c: Remove.
7497 * sysdeps/i386/fpu/s_tan.S: Likewise.
7498 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7499 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7500 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7501 * math/libm-test.inc (tan_test): Add more tests and enable more
7502 tests for double and long double.
7503 * sysdeps/i386/fpu/libm-test-ulps: Update.
7504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7506 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7508 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7509 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7511 2012-03-16 Roland McGrath <roland@hack.frob.com>
7513 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7514 * configure.in: Use it for both main tree and add-ons.
7515 * configure: Regenerated.
7517 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7519 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7521 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7523 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7527 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7528 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7533 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7536 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7537 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7538 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7539 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7540 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7541 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7542 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7543 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7544 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7545 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7546 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7547 * math/libm-test.inc (cos_test): Add more tests and enable more
7548 tests for long double.
7549 (sin_test): Likewise.
7550 (sincos_test): Likewise.
7551 * sysdeps/i386/fpu/libm-test-ulps: Update.
7552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7554 2012-03-16 David S. Miller <davem@davemloft.net>
7556 * sysdeps/sparc/fpu/math_private.h: New file.
7558 2012-03-15 David S. Miller <davem@davemloft.net>
7560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7574 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7575 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7577 * sysdeps/sparc/sparc-ifunc.h: New file.
7578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7605 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7618 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7623 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7625 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7629 2012-03-15 Andreas Jaeger <aj@suse.de>
7632 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7633 ieee754/flt-32 implementation for sin, cos and sincos.
7634 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7635 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7636 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7637 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7638 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7639 ieee754/flt-32 implementation for tan.
7641 * math/libm-test.inc (cos_test): Enable some large input tests for
7643 (sin_test): Likewise.
7644 (sincos_test): Likewise.
7645 (tan_test): Add tests for large input.
7647 * sysdeps/i386/fpu/libm-test-ulps: Update.
7649 2012-03-15 Andreas Jaeger <aj@suse.de>
7652 * math/libm-test.inc (cos_test): Add more test cases.
7653 (sin_test): Likewise.
7654 (sincos_test): Likewise.
7656 2012-03-15 Andreas Jaeger <aj@suse.de>
7659 * math/libm-test.inc (cos_test): Add a test case for large input
7661 (sin_test): Likewise.
7662 (sincos_test): Likewise.
7664 2012-03-15 Andreas Jaeger <aj@suse.de>,
7665 Joseph Myers <joseph@codesourcery.com>
7668 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7669 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7670 * sysdeps/i386/fpu/branred.c: Likewise.
7671 * sysdeps/i386/fpu/dosincos.c: Likewise.
7672 * sysdeps/i386/fpu/mpa.c: Likewise.
7673 * sysdeps/i386/fpu/s_cos.S: Likewise.
7674 * sysdeps/i386/fpu/s_sin.S: Likewise.
7675 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7676 * sysdeps/i386/fpu/sincos32.c: Likewise.
7678 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7680 (libc_feupdateenv_53bit): Define.
7681 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7683 (libc_feupdateenv_53bit): Define.
7685 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7686 53 bit (without extend i386 double precision).
7688 * math/libm-test.inc (sincos_test): Add tests for large input.
7692 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7694 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7698 2012-03-15 David S. Miller <davem@davemloft.net>
7700 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7701 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7702 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7703 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7728 fmin/fmax sysdep routines.
7729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7731 2012-03-14 David S. Miller <davem@davemloft.net>
7733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7737 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7738 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7739 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7741 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7743 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7754 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7755 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7758 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7759 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7760 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7810 * sysdeps/sparc/configure.in: New file.
7811 * sysdeps/sparc/configure: Generate.
7812 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7813 * configure: Regenerate.
7814 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7815 * config.make.in (have-as-vis3): New.
7816 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7817 available use -Av9d instead of -Av9a.
7818 * sysdeps/sparc/sparc64/Makefile: Likewise.
7819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7828 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7829 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7830 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7831 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7834 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7835 fzeros/fnegs to load 0x80000000 into a float register instead of
7837 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7839 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7843 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7844 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7845 ($(inst_includedir)/bits/syscall.h): Remove rule.
7846 ($(objpfx)bits/syscall.d): Include instead of
7847 $(objpfx)syscall-list.d.
7848 (generated): Change syscall-list.h and syscall-list.d to
7849 bits/syscall.h and bits/syscall.d.
7851 2012-03-14 Roland McGrath <roland@hack.frob.com>
7854 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7856 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7859 * math/s_csqrt.c: Include <float.h>.
7860 (__csqrt): Scale large or subnormal inputs.
7861 * math/s_csqrtf.c: Likewise.
7862 * math/s_csqrtl.c: Likewise.
7863 * math/libm-test.inc (csqrt_test): Add more tests.
7864 * sysdeps/i386/fpu/libm-test-ulps: Update.
7865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7868 * math/libm-test.inc (hypot_test): Add more tests.
7870 2012-03-13 David S. Miller <davem@davemloft.net>
7873 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7874 double-precision for the calculation instead of scaling.
7876 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7878 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7879 manipulate bits before adding and subtracting TWO52[sx].
7880 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7881 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7883 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7885 2012-03-13 David S. Miller <davem@davemloft.net>
7887 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7888 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7889 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7890 rtld-global-offsets.h
7891 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7893 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7896 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7898 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7899 'err' in the ifdef scope in which it is actually used.
7901 * nss/nss_db/db-init.c: Include string.h
7903 2012-03-12 David S. Miller <davem@davemloft.net>
7905 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7906 masking out of the most significant byte of random value used.
7907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7908 Fix coding style in previous change.
7910 * sysdeps/unix/sysv/linux/kernel-features.h
7911 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7912 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7914 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7917 2012-03-11 David S. Miller <davem@davemloft.net>
7919 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7920 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7921 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7922 for 'resultvar' otherwise things get truncated on 64-bit.
7924 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7925 Fix masking out of the most significant byte of random value used.
7927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7929 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7933 2012-03-09 David S. Miller <davem@davemloft.net>
7935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7936 variables with appropriate CPP guards.
7937 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7938 frame pointer, not the stack pointer. Correct layout comments. Fix test
7939 on resulting framesize and the management of the outregs buffer for pltexit.
7940 Preserve floating point return values across _dl_call_pltexit call.
7941 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7942 framesize and the management of the outregs buffer for pltexit.
7943 Preserve floating point return values across _dl_call_pltexit
7945 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7946 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7947 (print_exit): Fix format string for return register value.
7949 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7951 * sunrpc/Makefile (others): Add rpcgen.
7952 ($(objpfx)rpcgen): Remove special build rule and dependency on
7954 * sunrpc/rpcgen.c: New file.
7956 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7959 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7960 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7961 * sysdeps/i386/crti.S: Likewise.
7962 * sysdeps/i386/crtn.S: Likewise.
7963 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7964 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7965 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7966 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7967 * sysdeps/sh/crti.S: Likewise.
7968 * sysdeps/sh/crtn.S: Likewise.
7969 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7972 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7974 * locale/programs/locfile-kw.gperf: Likewise.
7975 * locale/programs/charmap-kw.h: Regenerated.
7976 * locale/programs/locfile-kw.h: Likewise.
7979 * intl/plural.y: Replace FSF snail mail address with URL.
7980 * intl/plural.c: Regenerated.
7982 2012-03-09 Richard Henderson <rth@twiddle.net>
7984 * include/math_private.h: Remove file.
7985 * math/math_private.h: Move file ...
7986 * sysdeps/generic/math_private.h: ... here.
7988 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7989 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7990 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7992 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7993 and <math_private.h>.
7994 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7995 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7996 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7997 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7998 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7999 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8000 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8001 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8003 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8006 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8008 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8014 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8027 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8028 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8030 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8031 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8032 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8036 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8042 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8068 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8073 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8074 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8082 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8083 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8084 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8085 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8086 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8087 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8088 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8089 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8091 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8092 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8093 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8094 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8095 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8096 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8097 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8098 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8099 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8100 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8101 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8102 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8103 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8104 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8105 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8106 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8107 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8108 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8109 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8110 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8111 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8112 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8113 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8114 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8115 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8116 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8117 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8118 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8119 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8120 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8121 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8122 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8123 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8124 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8125 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8126 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8127 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8128 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8129 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8130 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8131 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8132 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8133 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8134 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8135 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8136 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8137 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8138 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8139 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8140 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8141 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8142 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8143 * sysdeps/ieee754/k_standard.c: Likewise.
8144 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8145 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8146 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8148 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8149 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8150 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8151 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8152 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8153 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8154 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8155 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8156 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8157 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8158 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8159 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8160 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8161 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8162 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8163 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8164 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8165 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8166 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8167 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8168 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8169 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8171 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8172 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8173 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8175 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8176 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8177 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8178 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8179 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8180 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8181 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8182 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8216 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8217 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8218 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8219 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8220 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8221 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8222 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8223 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8224 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8225 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8231 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8235 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8236 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8237 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8238 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8239 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8240 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8241 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8242 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8243 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8257 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8259 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8260 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8263 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8264 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8266 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8270 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8271 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8272 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8275 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8276 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8277 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8287 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8289 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8292 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8293 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8294 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8304 * sysdeps/ieee754/s_lib_version.c: Likewise.
8305 * sysdeps/ieee754/s_matherr.c: Likewise.
8306 * sysdeps/ieee754/s_signgam.c: Likewise.
8307 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8308 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8309 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8310 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8311 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8312 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8313 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8314 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8315 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8316 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8317 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8318 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8319 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8320 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8321 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8322 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8323 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8324 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8325 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8327 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8329 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8331 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8332 * sunrpc/rpc_main.c: Likewise.
8333 * sunrpc/rpc_svcout.c: Likewise.
8335 2012-03-09 David S. Miller <davem@davemloft.net>
8337 * include/math_private.h: New file.
8339 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8341 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8342 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8343 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8344 from <bits/socket_type.h>.
8345 (enum __socket_type): Don't define here.
8346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8351 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8354 * Makerules ($(inst_includedir)/%.h): New rule.
8355 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8356 (install-others): Remove variable setting.
8357 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8359 2012-03-08 Richard Henderson <rth@twiddle.net>
8361 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8362 from macro to inline function; merge with the
8363 !__LIBC_INTERNAL_MATH_INLINES version.
8364 (__ieee754_sqrtf): Likewise.
8366 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8368 (__rintf, __floor, __floorf): Likewise.
8370 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8371 macro to inline function.
8372 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8374 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8375 not <math/math_private.h>.
8377 2012-03-08 David S. Miller <davem@davemloft.net>
8379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8381 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8383 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8385 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8387 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8388 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8390 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8392 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8393 be defined individually, they must be defined as a block. Define
8394 S for printing a string instead of hidint the different by using a
8395 macro for adding the 'l'.
8396 * stdio-common/tst-fphex-wide.c: Adjust.
8398 2012-03-07 Marek Polacek <polacek@redhat.com>
8400 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8402 2012-03-08 Marek Polacek <polacek@redhat.com>
8405 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8406 * stdio-common/tst-fphex.c: Define a few macros to make the
8407 test reusable. Use them.
8408 * stdio-common/tst-fphex-wide.c: New file.
8410 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8413 * manual/macros.texi (gnusystems): New macro.
8414 (nongnusystems): Likewise.
8415 (gnulinuxhurdsystems): Likewise.
8416 (gnuhurdsystems): Likewise..
8417 (gnulinuxsystems): Likewise.
8418 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8419 variants of the GNU system, not "GNU system".
8420 * manual/conf.texi: Likewise.
8421 * manual/errno.texi: Likewise. Update example of errno macro
8423 * manual/filesys.texi: Likewise.
8424 (getumask): Document as specific to GNU/Hurd.
8425 * manual/install.texi: Likewise. Reword some references to
8427 * manual/intro.texi: Likewise.
8428 * manual/io.texi: Likewise.
8429 (File Name Portability): Detail which constraints are inapplicable
8430 to all GNU systems and which are only inapplicable to GNU/Hurd.
8431 * manual/job.texi: Likewise.
8432 * manual/llio.texi: Likewise.
8433 (O_NOCTTY): Document as present on GNU/Linux.
8434 * manual/maint.texi: Likewise.
8435 * manual/memory.texi: Likewise.
8436 * manual/pattern.texi: Likewise.
8437 * manual/pipe.texi: Likewise.
8438 * manual/process.texi: Likewise.
8439 * manual/resource.texi: Likewise.
8440 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8442 * manual/setjmp.texi: Likewise.
8443 * manual/signal.texi: Likewise.
8444 * manual/startup.texi: Likewise.
8445 * manual/stdio.texi: Likewise.
8446 * manual/terminal.texi: Likewise.
8447 (ONLCR): Document as POSIX.
8448 (OXTABS): Document availability on GNU/Linux as XTABS.
8449 (ONOEOT): Document availability separately from other bits.
8450 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8451 * manual/time.texi: Likewise.
8452 * manual/users.texi: Likewise.
8453 * INSTALL: Regenerated.
8454 * sysdeps/gnu/errlist.c: Regenerated.
8456 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8457 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8458 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8460 * configure: Regenerated.
8462 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8464 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8465 default includes instead of AC_HEADER_CHECK.
8466 * sysdeps/i386/configure: Regenerated.
8469 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8470 * math/s_cacoshf.c (__cacoshf): Likewise.
8471 * math/s_cacoshl.c (__cacoshl): Likewise.
8472 * math/s_casinh.c (__casinh): Set signs of result from argument.
8473 * math/s_casinhf.c (__casinhf): Likewise.
8474 * math/s_casinhl.c (__casinhl): Likewise.
8475 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8476 (casinh_test): Add more tests.
8477 * sysdeps/i386/fpu/libm-test-ulps: Update.
8478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8480 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8482 * po/zh_TW.po: Update from translation team.
8484 * login/Makefile (distribute): Remove variable.
8485 * catgets/Makefile: Likewise.
8486 * mach/Makefile: Likewise.
8487 * malloc/Makefile: Likewise.
8488 * misc/Makefile: Likewise.
8489 * iconv/Makefile: Likewise.
8490 * nscd/Makefile: Likewise.
8491 * hurd/Makefile: Likewise.
8492 * manual/Makefile: Likewise.
8493 * locale/Makefile: Likewise.
8494 * intl/Makefile: Likewise.
8495 * conform/Makefile: Likewise.
8496 * nss/Makefile: Likewise.
8497 * time/Makefile: Likewise.
8498 * soft-fp/Makefile: Likewise.
8499 * dirent/Makefile: Likewise.
8500 * gmon/Makefile: Likewise.
8501 * po/Makefile: Likewise.
8502 * rt/Makefile: Likewise.
8503 * socket/Makefile: Likewise.
8504 * math/Makefile: Likewise.
8505 * signal/Makefile: Likewise.
8506 * debug/Makefile: Likewise.
8507 * elf/Makefile: Likewise.
8508 * timezone/Makefile: Likewise.
8509 * stdlib/Makefile: Likewise.
8510 * iconvdata/Makefile: Likewise.
8511 * sunrpc/Makefile: Likewise.
8512 * io/Makefile: Likewise.
8513 * argp/Makefile: Likewise.
8514 * inet/Makefile: Likewise.
8515 * hesiod/Makefile: Likewise.
8516 * grp/Makefile: Likewise.
8517 * csu/Makefile: Likewise.
8518 * wctype/Makefile: Likewise.
8519 * crypt/Makefile: Likewise.
8520 * libio/Makefile: Likewise.
8521 * string/Makefile: Likewise.
8522 * nis/Makefile: Likewise.
8523 * resolv/Makefile: Likewise.
8524 * stdio-common/Makefile: Likewise.
8525 * wcsmbs/Makefile: Likewise.
8526 * dlfcn/Makefile: Likewise.
8527 * posix/Makefile: Likewise.
8530 * timezone/Makefile: Don't install timezone files, just the programs
8533 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8535 * nss/databases.def: Add missing gshadow entry.
8537 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8539 2012-03-06 Marek Polacek <polacek@redhat.com>
8542 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8543 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8544 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8545 * stdio-common/tst-long-dbl-fphex.c: New file.
8547 2012-03-06 David S. Miller <davem@davemloft.net>
8549 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8550 (set_obp_int): New function.
8551 (get_obp_int): New function.
8552 (__get_clockfreq_via_dev_openprom): Likewise.
8553 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8554 Avoid unused variable warnings on 'val' and use builtin_expect.
8555 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8557 (INLINE_CLONE_SYSCALL): Likewise.
8559 2012-03-05 David S. Miller <davem@davemloft.net>
8561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8563 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8567 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8569 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8571 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8574 Replace gettimeofday with __vdso_gettimeofday.
8576 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8577 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8578 __vdso_clock_gettime and __vdso_getcpu.
8580 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8581 time with __vdso_time.
8583 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8585 * manual/lang.texi (size_t): Note types to which size_t may be
8586 equivalent with the GNU C Library, but do not describe when
8587 differences between them are significant.
8589 2012-03-05 Andreas Jaeger <aj@suse.de>
8591 * sysdeps/i386/fpu/libm-test-ulps: Update.
8593 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8596 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8597 (__ieee754_pow): Save and restore rounding mode and use
8598 round-to-nearest for main computations.
8599 * math/libm-test.inc (pow_test_tonearest): New function.
8600 (pow_test_towardzero): Likewise.
8601 (pow_test_downward): Likewise.
8602 (pow_test_upward): Likewise.
8603 (main): Call the new functions.
8604 * sysdeps/i386/fpu/libm-test-ulps: Update.
8605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8608 * math/libm-test.inc (cosh_test_tonearest): New function.
8609 (cosh_test_towardzero): Likewise.
8610 (cosh_test_downward): Likewise.
8611 (cosh_test_upward): Likewise.
8612 (sinh_test_tonearest): Likewise.
8613 (sinh_test_towardzero): Likewise.
8614 (sinh_test_downward): Likewise.
8615 (sinh_test_upward): Likewise.
8616 (main): Call the new functions.
8617 * sysdeps/i386/fpu/libm-test-ulps: Update.
8618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8620 2012-03-05 Tom de Vries <tom@codesourcery.com>
8622 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8623 default stack guard is set in last bytes.
8624 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8626 2012-03-05 Kees Cook <keescook@chromium.org>
8628 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8631 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8632 possibly allocate from heap instead of stack.
8633 * stdio-common/bug-vfprintf-nargs.c: New file.
8634 * stdio-common/Makefile (tests): Add nargs overflow test.
8636 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8640 2012-03-03 Marek Polacek <polacek@redhat.com>
8642 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8643 * math/math_private.h: Likewise.
8644 * stdlib/tst-strtod.c: Likewise.
8645 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8646 * sysdeps/x86_64/bits/atomic.h: Likewise.
8648 2012-03-02 David S. Miller <davem@davemloft.net>
8650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8654 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8655 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8656 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8657 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8659 2012-03-02 Roland McGrath <roland@hack.frob.com>
8662 * manual/examples/README: New file, says the example source files
8663 can be used under GPL>=2.
8664 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8665 line containing just "*/".
8666 * manual/examples/add.c: Add copyright header (GPL>=2).
8667 * manual/examples/argp-ex1.c: Likewise.
8668 * manual/examples/argp-ex2.c: Likewise.
8669 * manual/examples/argp-ex3.c: Likewise.
8670 * manual/examples/argp-ex4.c: Likewise.
8671 * manual/examples/atexit.c: Likewise.
8672 * manual/examples/db.c: Likewise.
8673 * manual/examples/dir.c: Likewise.
8674 * manual/examples/dir2.c: Likewise.
8675 * manual/examples/execinfo.c: Likewise.
8676 * manual/examples/filecli.c: Likewise.
8677 * manual/examples/filesrv.c: Likewise.
8678 * manual/examples/fmtmsgexpl.c: Likewise.
8679 * manual/examples/genpass.c: Likewise.
8680 * manual/examples/inetcli.c: Likewise.
8681 * manual/examples/inetsrv.c: Likewise.
8682 * manual/examples/isockad.c: Likewise.
8683 * manual/examples/longopt.c: Likewise.
8684 * manual/examples/memopen.c: Likewise.
8685 * manual/examples/memstrm.c: Likewise.
8686 * manual/examples/mkfsock.c: Likewise.
8687 * manual/examples/mkisock.c: Likewise.
8688 * manual/examples/mygetpass.c: Likewise.
8689 * manual/examples/pipe.c: Likewise.
8690 * manual/examples/popen.c: Likewise.
8691 * manual/examples/rprintf.c: Likewise.
8692 * manual/examples/search.c: Likewise.
8693 * manual/examples/select.c: Likewise.
8694 * manual/examples/setjmp.c: Likewise.
8695 * manual/examples/sigh1.c: Likewise.
8696 * manual/examples/sigusr.c: Likewise.
8697 * manual/examples/stpcpy.c: Likewise.
8698 * manual/examples/strdupa.c: Likewise.
8699 * manual/examples/strftim.c: Likewise.
8700 * manual/examples/strncat.c: Likewise.
8701 * manual/examples/subopt.c: Likewise.
8702 * manual/examples/swapcontext.c: Likewise.
8703 * manual/examples/termios.c: Likewise.
8704 * manual/examples/testopt.c: Likewise.
8705 * manual/examples/testpass.c: Likewise.
8706 * manual/examples/timeval_subtract.c: Likewise.
8709 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8711 * manual/timeval_subtract.c.texi: ... here, new file.
8713 2012-03-02 David S. Miller <davem@davemloft.net>
8715 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8717 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8720 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8721 (__sin): Save and restore rounding mode and use round-to-nearest
8722 for all computations.
8723 (__cos): Save and restore rounding mode and use round-to-nearest
8724 for all computations.
8725 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8727 (tan): Save and restore rounding mode and use round-to-nearest for
8729 * math/libm-test.inc (cos_test_tonearest): New function.
8730 (cos_test_towardzero): Likewise.
8731 (cos_test_downward): Likewise.
8732 (cos_test_upward): Likewise.
8733 (sin_test_tonearest): Likewise.
8734 (sin_test_towardzero): Likewise.
8735 (sin_test_downward): Likewise.
8736 (sin_test_upward): Likewise.
8737 (tan_test_tonearest): Likewise.
8738 (tan_test_towardzero): Likewise.
8739 (tan_test_downward): Likewise.
8740 (tan_test_upward): Likewise.
8741 (main): Call the new functions.
8742 * sysdeps/i386/fpu/libm-test-ulps: Update.
8743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8747 small n, then large n, before computing and testing k+n.
8748 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8751 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8753 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8754 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8755 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8756 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8759 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8760 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8761 * math/libm-test.inc (scalbn_test): Add more tests.
8762 (scalbln_test): Likewise.
8764 * manual/filesys.texi (mode_t): Describe constraints on size and
8765 signedness, not exact equivalence to a particular type.
8767 (ino64_t): Likewise.
8769 (nlink_t): Likewise.
8770 (blkcnt_t): Likewise.
8771 (blkcnt64_t): Likewise.
8772 * manual/llio.texi (off_t): Likewise.
8775 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8776 (__ieee754_exp): Save and restore rounding mode and use
8777 round-to-nearest for all computations.
8778 * math/libm-test.inc (exp_test_tonearest): New function.
8779 (exp_test_towardzero): Likewise.
8780 (exp_test_downward): Likewise.
8781 (exp_test_upward): Likewise.
8782 (main): Call the new functions.
8783 * sysdeps/i386/fpu/libm-test-ulps: Update.
8784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8786 2012-03-01 Chris Demetriou <cgd@google.com>
8788 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8789 have predictable order.
8791 2012-03-01 David S. Miller <davem@davemloft.net>
8793 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8795 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8796 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8797 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8798 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8800 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8801 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8802 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8804 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8805 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8806 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8807 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8808 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8813 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8814 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8816 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8817 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8818 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8819 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8820 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8821 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8822 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8823 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8824 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8825 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8826 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8827 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8829 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8830 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8832 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8833 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8834 * sysdeps/sparc/elf/configure: Regenerated.
8836 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8838 * configure.in (AS, LD): Require binutils 2.20 or later.
8839 * configure: Regenerated.
8840 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8841 as required minimum version.
8842 * INSTALL: Regenerated.
8846 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8847 before squaring exponent.
8848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8849 bottom long double and 27 bits of top long double before squaring
8851 * math/libm-test.inc (erfc_test): Add more tests.
8852 * sysdeps/i386/fpu/libm-test-ulps: Update.
8853 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8856 2012-03-01 Kai Tietz <ktietz@redhat.com>
8858 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8859 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8860 containing bit-fields.
8861 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8862 * soft-fp/single.h (_FP_UNION_S): Likewise.
8863 * soft-fp/double.h (_FP_UNION_D): Likewise.
8865 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8868 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8869 not include ../strcmp.S.
8870 [USE_AS_STRNCASECMP_L]: Likewise.
8871 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8872 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8873 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8874 (__strncasecmp_l_ia32): Define as alias to
8875 __strncasecmp_l_nonascii.
8878 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8879 * sysdeps/i386/fpu/libm-test-ulps: Update.
8880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8882 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8885 2012-02-29 Jeff Law <law@redhat.com>
8887 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8890 2012-02-29 Marek Polacek <polacek@redhat.com>
8893 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8894 * elf/Makefile: Add rules to run tst-unused-dep.out.
8896 2012-02-28 David S. Miller <davem@davemloft.net>
8898 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8899 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8901 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8902 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8903 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8905 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8907 * math/libm-test.inc (llround_test): Move one test from
8908 lround_test. Use TEST_f_L in moved test.
8909 (lround_test): Move misplaced test to llround_test. Add testcase
8912 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8914 * sysdeps/x86_64/fpu/e_expf.S: New file.
8915 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8917 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8920 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8921 of remain_len that may cause incomplete multi-byte character and
8923 * posix/bug-regex33.c: New file.
8924 * posix/Makefile (tests): Add bug-regex33.
8926 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8928 * manual/macros.texi: New file.
8929 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8930 * manual/libc.texinfo: Include macros.texi.
8931 * manual/creatute.texi: Likewise.
8932 * manual/install.texi: Likewise.
8933 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8934 @glibcadj{} in references to the GNU C Library.
8935 * manual/charset.texi: Likewise.
8936 * manual/conf.texi: Likewise.
8937 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8938 when not using those macros.
8939 * manual/creature.texi: Likewise.
8940 * manual/crypt.texi: Likewise.
8941 * manual/errno.texi: Likewise.
8942 * manual/filesys.texi: Likewise.
8943 * manual/header.texi: Likewise.
8944 * manual/install.texi: Likewise.
8945 * manual/intro.texi: Likewise.
8946 * manual/io.texi: Likewise.
8947 * manual/job.texi: Likewise.
8948 * manual/lang.texi: Likewise.
8949 * manual/libc.texiinfo: Likewise.
8950 * manual/llio.texi: Likewise.
8951 * manual/locale.texi: Likewise.
8952 * manual/maint.texi: Likewise.
8953 * manual/math.texi: Likewise.
8954 * manual/memory.texi: Likewise.
8955 * manual/message.texi: Likewise.
8956 * manual/nss.texi: Likewise.
8957 * manual/pattern.texi: Likewise.
8958 * manual/process.texi: Likewise.
8959 * manual/resource.texi: Likewise.
8960 * manual/search.texi: Likewise.
8961 * manual/setjmp.texi: Likewise.
8962 * manual/signal.texi: Likewise.
8963 * manual/socket.texi: Likewise.
8964 * manual/startup.texi: Likewise.
8965 * manual/stdio.texi: Likewise.
8966 * manual/string.texi: Likewise.
8967 * manual/sysinfo.texi: Likewise.
8968 * manual/syslog.texi: Likewise.
8969 * manual/terminal.texi: Likewise.
8970 * manual/time.texi: Likewise.
8971 * manual/users.texi: Likewise.
8972 * INSTALL: Regenerated.
8973 * NOTES: Regenerated.
8974 * sysdeps/gnu/errlist.c: Regenerated.
8976 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8978 * include/dirent.h: Include <dirstream.h> before
8981 2012-02-28 David S. Miller <davem@davemloft.net>
8983 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8984 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8985 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8986 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8988 2012-02-27 David S. Miller <davem@davemloft.net>
8990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8992 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8993 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8996 frame pointer instead of stack pointer relative arg slot.
8997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8998 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8999 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9001 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9004 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9006 2012-02-27 David S. Miller <davem@davemloft.net>
9008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9012 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9013 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9014 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9015 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9017 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9019 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9020 later. Allow versions 5-9.
9021 * configure: Regenerated.
9022 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9023 required minimum version and 4.6 as recommended version. Do not
9024 mention bugs in GCC 2.7 and 2.8.
9025 * INSTALL: Regenerated.
9027 2012-02-27 David S. Miller <davem@davemloft.net>
9029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9033 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9034 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9035 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9036 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9038 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9039 manipulate bits before adding and subtracting TWO112[sx].
9040 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9042 2012-02-27 Roland McGrath <roland@hack.frob.com>
9045 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9046 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9047 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9048 being in POSIX, because they are in 1003.1-2008.
9050 * rt/tst-aio.c: Include <fcntl.h>.
9051 * rt/tst-aio7.c: Likewise.
9052 * rt/tst-aio64.c: Likewise.
9054 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9056 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9058 * manual/install.texi (--with-headers): Describe headers as
9059 interface headers, not private headers.
9060 (Specific advice for GNU/Linux systems): Describe use of headers
9061 from "make headers_install", not private headers from older
9063 * INSTALL: Regenerated.
9064 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9066 * sysdeps/unix/sysv/linux/configure: Regenerated.
9068 * manual/llio.texi (fclean): Remove documentation.
9070 * manual/Makefile (libc-texi-generated): New variable. Include
9072 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9073 $(libc-texi-generated), not duplicated list of files.
9074 (version.texi, stamp-version): New rules.
9075 (realclean): Remove $(libc-texi-generated), not individual files
9076 from that list. Do not remove dir-add.texinfo.
9077 * manual/libc.texinfo: Comment out uses of edition numbers and
9078 references to printed manual. Remove last-updated dates.
9079 (EDITION): Comment out.
9081 (VERSION, UPDATED): Remove.
9082 (version.texi): Include.
9084 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9086 * sysdeps/posix/spawni.c: Include <signal.h>.
9087 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9088 * sysdeps/pthread/aio_fsync.c: Likewise.
9090 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9092 * conform/Makefile (tests): Run only when not cross-compiling and
9093 when fast-check is not defined.
9095 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9096 * conform/data/limits.h-data: Fixes for POSIX2008.
9097 * conform/run-conformtest.sh: Run all tests.
9098 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9100 * include/bits/dlfcn.h: Likewise.
9101 * include/langinfo.h: Likewise.
9102 * include/monetary.h: Likewise.
9103 * include/sys/poll.h: Likewise.
9105 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9107 * posix/spawn.h: Define __need_sigset_t.
9108 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9109 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9110 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9111 to get sigevent_t only.
9112 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9115 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9116 process_vm_writev only for __USE_GNU.
9117 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9119 * conform/Makefile: For now ignore errors from run-conformtest.
9120 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9121 POSIX to avoid namespace pollution. Don't prepend headers.
9122 * conform/data/aio.h-data: Fixes for POSIX testing.
9123 * conform/data/fcntl.h-data: Likewise.
9124 * conform/data/glob.h-data: Likewise.
9125 * conform/data/grp.h-data: Likewise.
9126 * conform/data/pthread.h-data: Likewise.
9127 * conform/data/pwd.h-data: Likewise.
9128 * conform/data/signal.h-data: Likewise.
9129 * conform/data/spawn.h-data: Likewise.
9130 * conform/data/stdio.h-data: Likewise.
9131 * conform/data/stdlib.h-data: Likewise.
9132 * conform/data/stropts.h-data: Likewise.
9133 * conform/data/sys/mman.h-data: Likewise.
9134 * conform/data/sys/stat.h-data: Likewise.
9135 * conform/data/sys/types.h-data: Likewise.
9136 * conform/data/sys/wait.h-data: Likewise.
9137 * conform/data/time.h-data: Likewise.
9138 * conform/data/unistd.h-data: Likewise.
9139 * conform/data/utime.h-data: Likewise.
9141 * io/sys/stat.h: fchmod was always in POSIX.
9142 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9143 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9144 * rt/aio.h: Define __need_timespec before including <time.h>.
9145 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9146 struct. Add forward declaration of pthread_attr_t and use it in
9148 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9149 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9150 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9151 always remove CLK_TCK definition.
9153 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9155 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9157 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9159 * conform/run-conformtest.sh: New file.
9160 * conform/Makefile: Run run-conformtest for tests.
9161 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9164 * conform/data/uchar.h-data: New file.
9165 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9166 * conform/data/arpa/inet.h-data: Likewise.
9167 * conform/data/assert.h-data: Likewise.
9168 * conform/data/complex.h-data: Likewise.
9169 * conform/data/cpio.h-data: Likewise.
9170 * conform/data/ctype.h-data: Likewise.
9171 * conform/data/dirent.h-data: Likewise.
9172 * conform/data/dlfcn.h-data: Likewise.
9173 * conform/data/errno.h-data: Likewise.
9174 * conform/data/fcntl.h-data: Likewise.
9175 * conform/data/float.h-data: Likewise.
9176 * conform/data/fmtmsg.h-data: Likewise.
9177 * conform/data/fnmatch.h-data: Likewise.
9178 * conform/data/ftw.h-data: Likewise.
9179 * conform/data/glob.h-data: Likewise.
9180 * conform/data/grp.h-data: Likewise.
9181 * conform/data/iconv.h-data: Likewise.
9182 * conform/data/inttypes.h-data: Likewise.
9183 * conform/data/langinfo.h-data: Likewise.
9184 * conform/data/libgen.h-data: Likewise.
9185 * conform/data/limits.h-data: Likewise.
9186 * conform/data/locale.h-data: Likewise.
9187 * conform/data/math.h-data: Likewise.
9188 * conform/data/monetary.h-data: Likewise.
9189 * conform/data/mqueue.h-data: Likewise.
9190 * conform/data/ndbm.h-data: Likewise.
9191 * conform/data/net/if.h-data: Likewise.
9192 * conform/data/netdb.h-data: Likewise.
9193 * conform/data/netinet/in.h-data: Likewise.
9194 * conform/data/nl_types.h-data: Likewise.
9195 * conform/data/poll.h-data: Likewise.
9196 * conform/data/pthread.h-data: Likewise.
9197 * conform/data/pwd.h-data: Likewise.
9198 * conform/data/regex.h-data: Likewise.
9199 * conform/data/sched.h-data: Likewise.
9200 * conform/data/search.h-data: Likewise.
9201 * conform/data/semaphore.h-data: Likewise.
9202 * conform/data/setjmp.h-data: Likewise.
9203 * conform/data/signal.h-data: Likewise.
9204 * conform/data/spawn.h-data: Likewise.
9205 * conform/data/stdarg.h-data: Likewise.
9206 * conform/data/stdio.h-data: Likewise.
9207 * conform/data/stdlib.h-data: Likewise.
9208 * conform/data/string.h-data: Likewise.
9209 * conform/data/strings.h-data: Likewise.
9210 * conform/data/stropts.h-data: Likewise.
9211 * conform/data/sys/ipc.h-data: Likewise.
9212 * conform/data/sys/mman.h-data: Likewise.
9213 * conform/data/sys/msg.h-data: Likewise.
9214 * conform/data/sys/resource.h-data: Likewise.
9215 * conform/data/sys/select.h-data: Likewise.
9216 * conform/data/sys/sem.h-data: Likewise.
9217 * conform/data/sys/shm.h-data: Likewise.
9218 * conform/data/sys/socket.h-data: Likewise.
9219 * conform/data/sys/stat.h-data: Likewise.
9220 * conform/data/sys/statvfs.h-data: Likewise.
9221 * conform/data/sys/time.h-data: Likewise.
9222 * conform/data/sys/timeb.h-data: Likewise.
9223 * conform/data/sys/times.h-data: Likewise.
9224 * conform/data/sys/types.h-data: Likewise.
9225 * conform/data/sys/uio.h-data: Likewise.
9226 * conform/data/sys/un.h-data: Likewise.
9227 * conform/data/sys/utsname.h-data: Likewise.
9228 * conform/data/sys/wait.h-data: Likewise.
9229 * conform/data/syslog.h-data: Likewise.
9230 * conform/data/tar.h-data: Likewise.
9231 * conform/data/termios.h-data: Likewise.
9232 * conform/data/utime.h-data: Likewise.
9233 * conform/data/utmpx.h-data: Likewise.
9234 * conform/data/varargs.h-data: Likewise.
9235 * conform/data/wchar.h-data: Likewise.
9236 * conform/data/wctype.h-data: Likewise.
9237 * conform/data/wordexp.h-data: Likewise.
9239 * include/stropts.h: New file.
9240 * include/uchar.h: New file.
9241 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9242 * include/assert.h: Likewise.
9243 * include/ctype.h: Likewise.
9244 * include/dirent.h: Likewise.
9245 * include/dlfcn.h: Likewise.
9246 * include/fcntl.h: Likewise.
9247 * include/fnmatch.h: Likewise.
9248 * include/glob.h: Likewise.
9249 * include/grp.h: Likewise.
9250 * include/libio.h: Likewise.
9251 * include/locale.h: Likewise.
9252 * include/math.h: Likewise.
9253 * include/net/if.h: Likewise.
9254 * include/netdb.h: Likewise.
9255 * include/netinet/in.h: Likewise.
9256 * include/pthread.h: Likewise.
9257 * include/pwd.h: Likewise.
9258 * include/regex.h: Likewise.
9259 * include/sched.h: Likewise.
9260 * include/search.h: Likewise.
9261 * include/setjmp.h: Likewise.
9262 * include/signal.h: Likewise.
9263 * include/stdio.h: Likewise.
9264 * include/stdlib.h: Likewise.
9265 * include/string.h: Likewise.
9266 * include/sys/cdefs.h: Likewise.
9267 * include/sys/mman.h: Likewise.
9268 * include/sys/msg.h: Likewise.
9269 * include/sys/resource.h: Likewise.
9270 * include/sys/select.h: Likewise.
9271 * include/sys/socket.h: Likewise.
9272 * include/sys/stat.h: Likewise.
9273 * include/sys/statvfs.h: Likewise.
9274 * include/sys/time.h: Likewise.
9275 * include/sys/times.h: Likewise.
9276 * include/sys/uio.h: Likewise.
9277 * include/sys/utsname.h: Likewise.
9278 * include/sys/wait.h: Likewise.
9279 * include/termios.h: Likewise.
9280 * include/time.h: Likewise.
9281 * include/ulimit.h: Likewise.
9282 * include/unistd.h: Likewise.
9283 * include/utime.h: Likewise.
9284 * include/wchar.h: Likewise.
9285 * include/wctype.h: Likewise.
9286 * include/wordexp.h: Likewise.
9288 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9290 * time/time.h: TIME_UTC must be a macro.
9291 Make timespec_get available for ISO C11 only as well.
9293 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9295 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9296 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9298 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9300 * configure.in: Use -o not -a in test for unsupported multi-arch.
9302 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9304 * manual/texinfo.tex: Update to version 2012-01-19.16.
9306 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9308 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9310 2012-02-24 Roland McGrath <roland@hack.frob.com>
9313 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9314 * manual/fdl-1.3.texi: New file.
9315 * manual/fdl-1.1.texi: File removed.
9318 * manual/libc.texinfo (FDL_VERSION): New @set.
9319 Use it for mention of FDL in cover text.
9320 (Documentation License): Use it in @include file name.
9322 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9323 Roland McGrath <roland@hack.frob.com>
9326 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9327 not LONG_LONG_MAX and LONG_LONG_MIN.
9328 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9329 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9331 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9333 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9337 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9338 manipulate bits before adding and subtracting TWO23[sx].
9339 * math/libm-test.inc (nearbyint_test): Add more tests.
9341 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9344 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9345 bits before adding and subtracting TWO23[sx].
9346 * math/libm-test.inc (rint_test): Add more tests.
9347 (rint_test_tonearest): Likewise.
9348 (rint_test_towardzero): Likewise.
9349 (rint_test_downward): Likewise.
9350 (rint_test_upward: Likewise.
9352 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9355 * include/stdc-predef.h: New file. Extracted from features.h.
9356 * include/features.h: Include stdc-predef.h.
9357 * Makefile (headers): Add stdc-predef.h.
9358 * CONFORMANCE (Compiler limitations): Update.
9360 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9362 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9364 2012-02-21 David S. Miller <davem@davemloft.net>
9366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9367 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9369 2012-02-20 David S. Miller <davem@davemloft.net>
9371 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9372 using a normal save/restore sequence, rather than allocating a
9373 dummy stack frame just to store a frame pointer and restore.
9374 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9376 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9378 * manual/install.texi: Fix stray word in line-wrapped comment.
9380 2012-02-20 David S. Miller <davem@davemloft.net>
9382 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9383 both binutils and gcc support GOTDATA.
9385 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9386 "rd %pc" in the PIC register setup sequences.
9388 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9389 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9390 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9391 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9392 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9397 (SYSCALL_ERROR_HANDLER): Likewise.
9398 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9399 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9401 (SYSCALL_ERROR_HANDLER): Likewise.
9403 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9404 (HAVE_GCC_GOTDATA): New.
9405 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9406 relocation support in both binutils and gcc.
9407 * sysdeps/sparc/elf/configure: Regenerate.
9409 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9410 * sysdeps/sparc/sparc32/elf/configure: Delete.
9411 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9412 * sysdeps/sparc/sparc64/elf/configure: Delete.
9413 * sysdeps/sparc/elf/configure.in: New file.
9414 * sysdeps/sparc/elf/configure: Generate.
9416 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9417 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9418 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9419 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9420 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9422 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9424 * manual/install.texi: Do not mention specific glibc version
9426 * manual/libc.texinfo (VERSION, UPDATED): Update.
9427 (@copying): Use @copyright{} and range of years.
9429 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9432 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9433 [crti.S not in sysdirs] (generated): Do not append.
9434 [crti.S not in sysdirs] (omit-deps): Likewise.
9435 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9436 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9437 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9438 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9439 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9441 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9442 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9443 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9444 * csu/defs.awk: Remove file.
9445 * sysdeps/generic/initfini.c: Likewise.
9446 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9448 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9451 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9453 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9454 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9455 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9456 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9457 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9458 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9460 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9461 (__EPOLL_PACKED): Define to empty if not defined by
9463 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9467 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9469 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9470 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9471 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9472 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9474 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9478 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9480 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9482 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9483 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9484 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9487 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9489 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9490 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9492 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9494 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9495 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9497 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9499 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9502 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9504 * math/w_acos.c: Use non-signaling floating-point comparisons.
9505 * math/w_acosf.c: Likewise.
9506 * math/w_acosh.c: Likewise.
9507 * math/w_acoshf.c: Likewise.
9508 * math/w_acoshl.c: Likewise.
9509 * math/w_acosl.c: Likewise.
9510 * math/w_asin.c: Likewise.
9511 * math/w_asinf.c: Likewise.
9512 * math/w_asinl.c: Likewise.
9513 * math/w_atanh.c: Likewise.
9514 * math/w_atanhf.c: Likewise.
9515 * math/w_atanhl.c: Likewise.
9516 * math/w_exp2.c: Likewise.
9517 * math/w_exp2f.c: Likewise.
9518 * math/w_exp2l.c: Likewise.
9519 * math/w_j0.c: Likewise.
9520 * math/w_j0f.c: Likewise.
9521 * math/w_j0l.c: Likewise.
9522 * math/w_j1.c: Likewise.
9523 * math/w_j1f.c: Likewise.
9524 * math/w_j1l.c: Likewise.
9525 * math/w_jn.c: Likewise.
9526 * math/w_jnf.c: Likewise.
9527 * math/w_log.c: Likewise.
9528 * math/w_log10.c: Likewise.
9529 * math/w_log10f.c: Likewise.
9530 * math/w_log10l.c: Likewise.
9531 * math/w_log2.c: Likewise.
9532 * math/w_log2f.c: Likewise.
9533 * math/w_log2l.c: Likewise.
9534 * math/w_logf.c: Likewise.
9535 * math/w_logl.c: Likewise.
9536 * math/w_sqrt.c: Likewise.
9537 * math/w_sqrtf.c: Likewise.
9538 * math/w_sqrtl.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9541 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9542 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9545 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9548 * manual/string.texi (strnlen): Use correct parameter name in
9549 equivalent expression.
9551 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9554 * manual/users.texi (seteuid): Consistently use neweuid for
9557 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9560 * manual/nss.texi (Services in the NSS configuration): Correct
9561 list of services in example configuration file.
9563 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9566 * manual/arith.texi: Remove statements about negative zero
9567 behaving identically to zero.
9569 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9572 * manual/install.texi: Do not document upgrading from libc5.
9574 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9577 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9579 2012-02-18 David S. Miller <davem@davemloft.net>
9581 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9582 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9583 %o7 across the call.
9584 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9588 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9589 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9590 * sysdeps/sparc/crtn.S: Likewise.
9592 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9594 * aout/Makefile: Remove.
9596 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9599 * manual/examples/argp-ex1.c (main): Format definition in GNU
9601 * manual/examples/argp-ex2.c (main): Likewise.
9602 * manual/examples/argp-ex3.c (main): Likewise.
9603 * manual/examples/argp-ex4.c (main): Likewise.
9604 * manual/examples/longopt.c (main): Use new-style prototype
9606 * manual/examples/strncat.c (main): Specify return type and use
9607 (void) for arguments.
9608 * manual/examples/subopt.c (main): Use char **argv argument.
9610 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9613 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9616 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9619 * manual/string.texi (strchr): Change when strchrnul is
9622 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9625 * manual/locale.texi (setlocale): Document LOCPATH.
9627 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9630 * manual/process.texi (execle): Move @dots{} before last argument.
9632 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9635 * manual/charset.texi (Generic Charset Conversion): Fix typo
9636 (LC_TYPE -> LC_CTYPE).
9638 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9641 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9642 (scalbnf): Likewise.
9643 (scalbnl): Likewise.
9644 (scalbln): Likewise.
9645 (scalblnf): Likewise.
9646 (scalblnl): Likewise.
9647 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9651 * manual/filesys.texi (telldir): Use braces around return type.
9652 * manual/llio.texi (mmap): Add space after comma.
9654 * manual/math.texi (jn): Use @var{} on parameter names.
9660 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9662 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9664 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9665 (sched_get_priority_max): Likewise.
9666 * manual/signal.texi (sigvec): Add space after comma.
9667 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9669 (if_indextoname): Likewise.
9670 (if_freenameindex): Likewise.
9671 (sendto): Use ',' instead of '.' in prototype.
9672 * manual/startup.texi (syscall): Use @dots{} instead of literal
9674 * manual/stdio.texi (__fpending): Separate initial words of
9675 paragraph from @deftypefun line.
9676 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9678 (vsyslog): Use @var{} on parameter names.
9679 * manual/terminal.texi (stty): Use @var{} on parameter names.
9680 * manual/users.texi (getutmp): Use @var{} on parameter names.
9681 (getutmpx): Likewise.
9683 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9686 * manual/stdio.texi (fopen): Fix typos in description of
9689 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9692 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9693 get clock_id definition.
9695 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9698 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9699 (madvise): Cast every argument to void on its own.
9701 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9704 * manual/startup.texi (Exit Status): Fix typo.
9706 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9709 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9710 * manual/examples/argp-ex2.c: Likewise.
9711 * manual/examples/argp-ex3.c: Likewise.
9713 2012-02-16 Richard Henderson <rth@redhat.com>
9715 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9716 * sysdeps/s390/s390-32/initfini.c: Remove.
9717 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9718 * sysdeps/s390/s390-64/initfini.c: Remove.
9720 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9722 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9723 compiler output for sysdeps/generic/initfini.c.
9724 * sysdeps/sh/elf/initfini.c: Remove file.
9726 2012-02-16 David S. Miller <davem@davemloft.net>
9729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9731 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9732 * sysdeps/sparc/crti.S: New file.
9733 * sysdeps/sparc/crtn.S: New file.
9734 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9735 * sysdeps/sparc/sparc64/Makefile: Likewise.
9737 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9740 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9742 2012-02-15 Roland McGrath <roland@hack.frob.com>
9745 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9747 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9748 (write, read, close): Likewise.
9749 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9751 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9753 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9754 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9755 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9756 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9758 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9762 2012-02-14 Marek Polacek <polacek@redhat.com>
9764 * sysdeps/x86_64/crti.S: New file.
9765 * sysdeps/x86_64/crtn.S: New file.
9766 * sysdeps/x86_64/elf/initfini.c: Remove file.
9768 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9770 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9771 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9772 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9773 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9775 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9779 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9781 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9782 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9783 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9784 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9786 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9790 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9792 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9793 __feraiseexcept instead of feraiseexcept.
9795 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9796 nanosleep invocations.
9797 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9798 strings, and add error checking for a nanosleep invocations.
9800 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9802 Replace FSF snail mail address with URLs, as per GNU coding standards.
9803 Most of the snail mail addresses were wrong anyway, and omitting
9804 them makes the source code easier to maintain. Almost all of the
9805 changes are to license notices and to locale LC_IDENTIFICATION
9806 addresses, except for this one:
9807 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9808 not its snail mail address.
9810 2012-02-09 Richard Henderson <rth@twiddle.net>
9812 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9813 of kernel-features.h.
9815 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9817 2012-02-08 Marek Polacek <polacek@redhat.com>
9819 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9820 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9821 * sysdeps/gnu/_G_config.h: Likewise.
9822 * sysdeps/generic/_G_config.h: Likewise.
9824 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9826 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9830 * sysdeps/powerpc/powerpc32/crti.S: New file.
9831 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9832 * sysdeps/powerpc/powerpc64/crti.S: New file.
9833 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9835 * Makeconfig (have-initfini): Don't set.
9836 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9837 * configure.in (nopic_initfini): Don't substitute.
9838 * config.h.in (HAVE_INITFINI): Don't #undef.
9839 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9840 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9842 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9844 Support crti.S and crtn.S provided directly by architectures.
9845 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9846 [crti.S in sysdirs] (omit-deps): Likewise.
9847 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9848 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9849 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9850 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9851 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9852 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9853 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9854 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9855 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9856 compiler output for sysdeps/generic/initfini.c.
9857 * sysdeps/i386/elf/Makefile: Remove file.
9858 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9860 2012-02-07 Marek Polacek <polacek@redhat.com>
9862 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9863 * sysdeps/gnu/_G_config.h: Likewise.
9864 * sysdeps/mach/hurd/_G_config.h: Likewise.
9866 2012-02-07 Marek Polacek <polacek@redhat.com>
9868 * math/Makefile (tests): Add tst-CMPLX2.
9869 * math/tst-CMPLX2.c: New file.
9871 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9873 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9875 * math/libm-test.inc (jn_test): Add missing L suffix.
9877 2012-02-06 Marek Polacek <polacek@redhat.com>
9879 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9880 * sysdeps/i386/fpu/e_powf.S: Likewise.
9881 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9882 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9883 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9884 * sysdeps/i386/fpu/e_pow.S: Likewise.
9885 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9886 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9887 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9888 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9889 * sysdeps/i386/fpu/e_log2.S: Likewise.
9890 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9891 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9892 * sysdeps/i386/fpu/e_powl.S: Likewise.
9893 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9894 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9895 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9896 * sysdeps/i386/fpu/e_logl.S: Likewise.
9897 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9898 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9899 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9900 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9901 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9902 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9903 * sysdeps/i386/fpu/e_log.S: Likewise.
9904 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9905 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9906 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9907 * sysdeps/i386/fpu/e_logf.S: Likewise.
9908 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9909 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9910 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9911 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9912 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9913 * sysdeps/i386/fpu/e_log10.S: Likewise.
9914 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9915 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9916 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9917 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9918 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9919 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9920 * sysdeps/i386/asm-syntax.h: Likewise.
9921 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9922 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9923 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9924 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9925 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9926 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9927 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9928 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9929 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9930 * sysdeps/powerpc/sysdep.h: Likewise.
9931 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9932 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9934 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9937 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9939 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9941 * sysdeps/i386/sysdep.h: Include <features.h>.
9942 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9945 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9947 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9949 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9952 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9954 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9955 (SETUP_PIC_REG): Use GET_PC_THUNK.
9956 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9959 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9961 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9962 for non-PIC compilation.
9963 (SETUP_PIC_REG): Add .p2align directive.
9964 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9965 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9966 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9967 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9968 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9969 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9970 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9971 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9972 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9973 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9974 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9975 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9976 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9977 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9978 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9979 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9980 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9981 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9982 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9983 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9984 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9985 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9986 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9987 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9988 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9990 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9992 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9993 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9994 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9995 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9996 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9997 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9998 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9999 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10000 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10001 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10002 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10003 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10004 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10006 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10008 * math/tst-CMPLX.c: Include <stdio.h>.
10010 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10012 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10014 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10015 * sysdeps/sparc/bits/mathdef.h: Likewise.
10017 2012-01-31 Marek Polacek <polacek@redhat.com>
10019 * libio/libio.h: Don't define _PARAMS.
10020 * locale/programs/config.h: Don't define PARAMS.
10021 * stdlib/strtol_l.c: Likewise.
10022 (__strtol_l): Remove PARAMS from the prototype.
10024 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10026 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10027 names. Just use the correct names. Remove unnecessary wrapper
10029 * malloc/arena.c: Likewise.
10030 * malloc/hooks.c: Likewise.
10032 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10033 ARENA_TEST says not to. Simplify test for creation of a new arena.
10034 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10036 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10038 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10040 (update_get_addr): New function.
10041 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10042 GET_ADDR_MODULE parameter.
10044 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10046 * crypt/cert.c: Remove __STDC__ conditionals.
10047 * crypt/crypt-entry.c: Likewise.
10048 * crypt/crypt_util.c: Likewise.
10049 * libio/filedoalloc.c: Likewise.
10050 * libio/fileops.c: Likewise.
10051 * libio/genops.c: Likewise.
10052 * libio/iofclose.c: Likewise.
10053 * libio/iofdopen.c: Likewise.
10054 * libio/iofopen.c: Likewise.
10055 * libio/iofopen64.c: Likewise.
10056 * libio/iogetdelim.c: Likewise.
10057 * libio/iopopen.c: Likewise.
10058 * libio/obprintf.c: Likewise.
10059 * libio/oldfileops.c: Likewise.
10060 * libio/oldiofclose.c: Likewise.
10061 * libio/oldiofdopen.c: Likewise.
10062 * libio/oldiofopen.c: Likewise.
10063 * libio/oldiopopen.c: Likewise.
10064 * libio/wfiledoalloc.c: Likewise.
10065 * libio/wgenops.c: Likewise.
10066 * locale/programs/xmalloc.c: Likewise.
10067 * misc/syslog.c: Likewise.
10068 * stdio-common/xbug.c: Likewise.
10069 * string/memchr.c: Likewise.
10070 * string/memcmp.c: Likewise.
10071 * string/memrchr.c: Likewise.
10072 * string/rawmemchr.c: Likewise.
10073 * sysdeps/posix/getcwd.c: Likewise.
10074 * time/strftime_l.c: Likewise.
10076 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10078 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10079 * config.make.in (config-cflags-sse2avx): Define.
10080 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10083 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10085 * scripts/config.guess: Update from upstream config git repository.
10086 * scripts/config.sub: Likewise.
10088 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10090 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10092 (R_TILEPRO_*, R_TILEGX_*): New macros.
10094 * scripts/firstversions.awk: Fix bug in version range handling.
10096 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10098 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10100 * include/sys/epoll.h: New file.
10101 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10104 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10106 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10107 Avoid unnecessary __WORDSIZE == 64 test.
10108 (fmaxf): Use VEX format if possible.
10113 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10114 * math/math_private.h: Remove libc_fegetround* and
10116 * sysdeps/i386/configure.in: Check for -msse2avx.
10117 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10118 also if SSE2AVX is defined.
10119 Remove libc_fegetround* and libc_fesetround*.
10120 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10121 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10122 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10124 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10125 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10126 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10127 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10128 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10130 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10132 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10134 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10136 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10138 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10141 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10143 * Makeconfig (libm): Define.
10144 * elf/Makefile: Add rules to build and run tst-relsort1.
10145 * elf/tst-relsort1.c: New file.
10146 * elf/tst-relsort1mod1.c: New file.
10147 * elf/tst-relsort1mod2.c: New file.
10149 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10151 * math/s_ldexp.c: Remove __STDC__ conditionals.
10152 * math/s_ldexpf.c: Likewise.
10153 * math/s_ldexpl.c: Likewise.
10154 * math/s_nextafter.c: Likewise.
10155 * math/s_nexttowardf.c: Likewise.
10156 * math/s_significand.c: Likewise.
10157 * math/s_significandf.c: Likewise.
10158 * math/s_significandl.c: Likewise.
10159 * math/w_jnl.c: Likewise.
10160 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10161 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10162 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10163 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10164 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10179 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10180 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10181 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10182 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10183 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10184 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10185 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10186 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10187 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10188 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10189 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10190 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10191 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10192 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10193 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10194 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10195 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10196 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10197 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10198 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10199 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10200 * sysdeps/ieee754/k_standard.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10262 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10267 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10272 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10273 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10275 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10276 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10280 * sysdeps/ieee754/s_matherr.c: Likewise.
10281 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10282 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10283 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10286 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10288 * crypt/md5.h: Remove __STDC__ conditionals.
10289 * libio/libioP.h: Likewise.
10290 * locale/programs/config.h: Likewise.
10291 * sysdeps/generic/sysdep.h: Likewise.
10292 * sysdeps/i386/asm-syntax.h: Likewise.
10293 * sysdeps/s390/asm-syntax.h: Likewise.
10294 * sysdeps/unix/sysdep.h: Likewise.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10298 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10300 * libio/libio.h: Remove __STDC__ conditionals.
10301 * malloc/obstack.h: Likewise.
10302 * math/complex.h: Likewise.
10303 * math/math.h: Likewise.
10304 * sysdeps/generic/_G_config.h: Likewise.
10305 * sysdeps/gnu/_G_config.h: Likewise.
10306 * sysdeps/mach/hurd/_G_config.h: Likewise.
10307 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10308 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10309 * sysdeps/sparc/bits/mathdef.h: Likewise.
10311 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10314 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10315 Clean up HAS_* macros.
10316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10317 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10319 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10321 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10322 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10323 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10324 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10325 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10327 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10329 * elf/tst-unique3.cc (gets): Remove declaration.
10330 * elf/tst-unique3lib.cc (gets): Likewise.
10331 * elf/tst-unique3lib2.cc (gets): Likewise.
10332 * elf/tst-unique4.cc (gets): Likewise.
10334 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10336 * include/stdio.h: Add C++ protection. Add gets declarations and
10338 * debug/tst-chk1.c: Don't declare gets here.
10339 * stdio-common/tst-gets.c: Likewise.
10341 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10343 * posix/glob: Remove directory.
10345 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10347 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10349 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10351 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10352 of the non-standard EPFNOSUPPORT.
10354 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10356 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10357 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10358 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10360 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10362 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10364 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10366 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10368 * nscd/grpcache.c (cache_addgr): Likewise.
10369 * nscd/hstcache.c (cache_addhst): Likewise.
10370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10371 * nscd/pwdcache.c (cache_addpw): Likewise.
10372 * nscd/servicescache.c (cache_addserv): Likewise.
10374 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10376 * malloc/malloc.c: Various cleanups.
10377 * malloc/hooks.c: Likewise.
10379 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10380 * stdlib/bug-fmtmsg1.c: New file.
10382 * stdlib/fmtmsg.c (init): Add missing unlock.
10383 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10385 2012-01-12 Marek Polacek <polacek@redhat.com>
10387 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10390 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10392 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10393 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10394 macro to ensure uniqueness of label name.
10395 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10396 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10398 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10400 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10402 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10403 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10404 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10407 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10409 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10411 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10412 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10413 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10415 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10417 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10418 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10419 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10422 * math/bits/math-finite.h: Add ldexp support.
10424 2012-01-10 Marek Polacek <polacek@redhat.com>
10426 * locale/programs/localedef.h (show_archive_content): Add noreturn
10429 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10431 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10433 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10435 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10437 * io/Makefile (headers): Add bits/poll2.h.
10439 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10442 typo #include statement.
10444 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10446 * include/sys/cdefs.h: Define __attribute_alloc_size.
10447 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10448 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10449 * elf/pldd.c: Likewise.
10450 * iconv/iconv_charmap.c: Likewise.
10451 * iconv/iconvconfig.c: Likewise.
10452 * iconv/strtab.c: Likewise.
10453 * locale/programs/locale.c: Likewise.
10454 * locale/programs/localedef.h: Likewise.
10455 * locale/programs/simple-hash.c: Likewise.
10456 * nscd/nscd.h: Likewise.
10457 * nss/makedb.c: Likewise.
10458 * sysdeps/generic/ldconfig.h: Likewise.
10459 * locale/programs/localedef.c: Remove xmalloc prototype.
10460 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10462 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10464 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10467 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10469 * math/Makefile (tests): Add tst-CMPLX.
10470 * math/tst-CMPLX.c: New file.
10472 * math/complex.h (CMPLXL): Fix typo.
10474 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10475 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10477 * debug/tst-chk1.c: Add poll and ppoll tests.
10478 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10479 * include/sys/poll.h: Add hidden proto for ppoll.
10480 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10481 * sysdeps/mach/hurd/ppoll.c: Likewise.
10482 * io/ppoll.c: Likewise.
10483 * debug/poll_chk.c: New file.
10484 * debug/ppoll_chk.c: New file.
10485 * include/bits/poll2.h: New file.
10486 * io/bits/poll2.h: New file.
10489 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10491 * configure.in: static is always set to yes. Remove.
10492 * config.make.in: Don't set build-static.
10493 * Makeconfig: Remove use of build-static.
10494 * dlfcn/Makefile: Likewise.
10495 * elf/Makefile: Likewise.
10496 * math/Makefile: Likewise.
10497 * misc/Makefile: Likewise.
10498 * nptl/Makefile: Likewise.
10499 * sysdeps/mach/hurd/Makefile: Likewise.
10501 * configure.in: PWD_P is not used anymore.
10502 * config.make.in: Remove PWD_P entry.
10504 * configure.in: Remove last remnants of RANLIB.
10505 No need to check for signed size_t anymore.
10506 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10508 Remove __builtin_expect test because we require at least gcc 3.4.
10509 * aclocal.m4: Likewise.
10511 * wcsmbs/mbrtoc16.c: Implement using towc function.
10512 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10513 * wcsmbs/wcsmbsload.c: Likewise.
10514 * iconv/gconv_simple.c: Likewise.
10515 * iconv/gconv_int.h: Likewise.
10516 * iconv/gconv_builtin.h: Likewise.
10517 * iconv/iconv_prog.c: Remove CHAR16 handling.
10519 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10521 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10523 * configure.in: Remove --with-elf and --enable-bounded options.
10524 Dont set base_machine for ia64. More non-ELF conditions removed.
10525 Remove testing and setting of leading underscore information.
10526 * config.make.in (build-bounded): Set to no.
10527 * config.h.in: Remove NO_UNDERSCORES entry.
10528 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10530 * csu/start.c: Remove !NO_UNDERSCORE code.
10531 * locale/localeinfo.h: Likewise.
10532 * sysdeps/generic/machine-gmon.h: Likewise.
10533 * sysdeps/generic/sysdep.h: Likewise.
10534 * sysdeps/i386/sysdep.h: Likewise.
10535 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10536 * sysdeps/mach/sysdep.h: Likewise.
10537 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10538 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10539 * sysdeps/sh/sysdep.h: Likewise.
10540 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10541 * sysdeps/unix/i386/sysdep.S: Likewise.
10542 * sysdeps/unix/sparc/start.c: Likewise.
10543 * sysdeps/unix/sparc/sysdep.S: Likewise.
10544 * sysdeps/unix/sparc/sysdep.h: Likewise.
10545 * sysdeps/unix/start.c: Likewise.
10546 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10547 * sysdeps/x86_64/sysdep.h: Likewise.
10549 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10552 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10554 * argp/argp-fmtstream.h: Use const instead __const.
10555 * argp/argp.h: Likewise.
10556 * assert/assert.h: Likewise.
10557 * bits/fenv.h: Likewise.
10558 * bits/sched.h: Likewise.
10559 * bits/sigset.h: Likewise.
10560 * bits/sigthread.h: Likewise.
10561 * catgets/nl_types.h: Likewise.
10562 * conform/data/pthread.h-data: Likewise.
10563 * crypt/crypt-private.h: Likewise.
10564 * crypt/crypt.h: Likewise.
10565 * crypt/crypt_util.c: Likewise.
10566 * ctype/ctype.h: Likewise.
10567 * debug/execinfo.h: Likewise.
10568 * debug/mbsnrtowcs_chk.c: Likewise.
10569 * debug/mbsrtowcs_chk.c: Likewise.
10570 * debug/wcsnrtombs_chk.c: Likewise.
10571 * debug/wcsrtombs_chk.c: Likewise.
10572 * debug/wcstombs_chk.c: Likewise.
10573 * dirent/dirent.h: Likewise.
10574 * dlfcn/dlfcn.h: Likewise.
10575 * elf/neededtest4.c: Likewise.
10576 * grp/grp.h: Likewise.
10577 * gshadow/gshadow.h: Likewise.
10578 * iconv/gconv.h: Likewise.
10579 * iconv/gconv_int.h: Likewise.
10580 * iconv/gconv_simple.c: Likewise.
10581 * iconv/iconv.h: Likewise.
10582 * iconv/loop.c: Likewise.
10583 * iconv/skeleton.c: Likewise.
10584 * include/aio.h: Likewise.
10585 * include/aliases.h: Likewise.
10586 * include/argz.h: Likewise.
10587 * include/arpa/inet.h: Likewise.
10588 * include/assert.h: Likewise.
10589 * include/dirent.h: Likewise.
10590 * include/dlfcn.h: Likewise.
10591 * include/execinfo.h: Likewise.
10592 * include/fcntl.h: Likewise.
10593 * include/fenv.h: Likewise.
10594 * include/glob.h: Likewise.
10595 * include/grp.h: Likewise.
10596 * include/libintl.h: Likewise.
10597 * include/mntent.h: Likewise.
10598 * include/netdb.h: Likewise.
10599 * include/pwd.h: Likewise.
10600 * include/rpc/netdb.h: Likewise.
10601 * include/sched.h: Likewise.
10602 * include/search.h: Likewise.
10603 * include/shadow.h: Likewise.
10604 * include/signal.h: Likewise.
10605 * include/stdio.h: Likewise.
10606 * include/stdlib.h: Likewise.
10607 * include/string.h: Likewise.
10608 * include/sys/socket.h: Likewise.
10609 * include/sys/stat.h: Likewise.
10610 * include/sys/statfs.h: Likewise.
10611 * include/sys/statvfs.h: Likewise.
10612 * include/sys/syslog.h: Likewise.
10613 * include/sys/time.h: Likewise.
10614 * include/sys/uio.h: Likewise.
10615 * include/time.h: Likewise.
10616 * include/unistd.h: Likewise.
10617 * include/utmp.h: Likewise.
10618 * include/wchar.h: Likewise.
10619 * include/wctype.h: Likewise.
10620 * inet/aliases.h: Likewise.
10621 * inet/arpa/inet.h: Likewise.
10622 * inet/netinet/ether.h: Likewise.
10623 * inet/netinet/in.h: Likewise.
10624 * intl/libintl.h: Likewise.
10625 * io/bits/fcntl2.h: Likewise.
10626 * io/fcntl.h: Likewise.
10627 * io/ftw.h: Likewise.
10628 * io/sys/poll.h: Likewise.
10629 * io/sys/stat.h: Likewise.
10630 * io/sys/statfs.h: Likewise.
10631 * io/sys/statvfs.h: Likewise.
10632 * io/utime.h: Likewise.
10633 * libio/bits/stdio.h: Likewise.
10634 * libio/bits/stdio2.h: Likewise.
10635 * libio/libio.h: Likewise.
10636 * libio/libioP.h: Likewise.
10637 * libio/stdio.h: Likewise.
10638 * locale/lc-ctype.c: Likewise.
10639 * locale/locale.h: Likewise.
10640 * login/utmp.h: Likewise.
10641 * malloc/arena.c: Likewise.
10642 * malloc/malloc.c: Likewise.
10643 * malloc/malloc.h: Likewise.
10644 * malloc/mcheck.c: Likewise.
10645 * malloc/mtrace.c: Likewise.
10646 * math/bits/mathcalls.h: Likewise.
10647 * math/fenv.h: Likewise.
10648 * math/math_private.h: Likewise.
10649 * misc/bits/error.h: Likewise.
10650 * misc/bits/syslog.h: Likewise.
10651 * misc/err.h: Likewise.
10652 * misc/error.h: Likewise.
10653 * misc/fstab.h: Likewise.
10654 * misc/mntent.h: Likewise.
10655 * misc/regexp.h: Likewise.
10656 * misc/search.h: Likewise.
10657 * misc/sgtty.h: Likewise.
10658 * misc/sys/mman.h: Likewise.
10659 * misc/sys/syslog.h: Likewise.
10660 * misc/sys/uio.h: Likewise.
10661 * misc/sys/xattr.h: Likewise.
10662 * misc/ttyent.h: Likewise.
10663 * nis/rpcsvc/ypclnt.h: Likewise.
10664 * nss/nss.h: Likewise.
10665 * posix/bits/unistd.h: Likewise.
10666 * posix/fnmatch.h: Likewise.
10667 * posix/glob.h: Likewise.
10668 * posix/sched.h: Likewise.
10669 * posix/spawn.h: Likewise.
10670 * posix/sys/wait.h: Likewise.
10671 * posix/unistd.h: Likewise.
10672 * posix/wordexp.h: Likewise.
10673 * pwd/pwd.h: Likewise.
10674 * resolv/netdb.h: Likewise.
10675 * resource/sys/resource.h: Likewise.
10676 * rt/aio.h: Likewise.
10677 * rt/bits/mqueue2.h: Likewise.
10678 * rt/mqueue.h: Likewise.
10679 * shadow/shadow.h: Likewise.
10680 * signal/signal.h: Likewise.
10681 * socket/send.c: Likewise.
10682 * socket/sendto.c: Likewise.
10683 * socket/sys/socket.h: Likewise.
10684 * stdio-common/printf.h: Likewise.
10685 * stdlib/bits/stdlib.h: Likewise.
10686 * stdlib/fmtmsg.h: Likewise.
10687 * stdlib/monetary.h: Likewise.
10688 * stdlib/stdlib.h: Likewise.
10689 * stdlib/ucontext.h: Likewise.
10690 * streams/stropts.h: Likewise.
10691 * string/argz.h: Likewise.
10692 * string/bits/string2.h: Likewise.
10693 * string/string.h: Likewise.
10694 * string/strings.h: Likewise.
10695 * sunrpc/rpc/auth.h: Likewise.
10696 * sunrpc/rpc/auth_des.h: Likewise.
10697 * sunrpc/rpc/clnt.h: Likewise.
10698 * sunrpc/rpc/netdb.h: Likewise.
10699 * sunrpc/rpc/pmap_clnt.h: Likewise.
10700 * sunrpc/rpc/xdr.h: Likewise.
10701 * sysdeps/generic/inttypes.h: Likewise.
10702 * sysdeps/generic/net/if.h: Likewise.
10703 * sysdeps/generic/sys/swap.h: Likewise.
10704 * sysdeps/gnu/net/if.h: Likewise.
10705 * sysdeps/gnu/utmpx.h: Likewise.
10706 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10707 * sysdeps/i386/i486/bits/string.h: Likewise.
10708 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10709 * sysdeps/s390/bits/string.h: Likewise.
10710 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10711 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10712 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10713 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10714 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10715 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10716 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10717 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10718 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10719 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10720 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10721 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10722 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10723 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10724 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10725 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10726 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10728 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10729 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10730 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10731 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10732 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10733 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10734 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10735 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10736 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10738 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10739 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10740 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10741 * sysvipc/sys/ipc.h: Likewise.
10742 * sysvipc/sys/msg.h: Likewise.
10743 * sysvipc/sys/sem.h: Likewise.
10744 * sysvipc/sys/shm.h: Likewise.
10745 * termios/termios.h: Likewise.
10746 * time/sys/time.h: Likewise.
10747 * time/time.h: Likewise.
10748 * wcsmbs/bits/wchar2.h: Likewise.
10749 * wcsmbs/uchar.h: Likewise.
10750 * wcsmbs/wchar.h: Likewise.
10751 * wctype/wctype.h: Likewise.
10754 * Makeconfig: Remove all but ELF support including AIX support.
10755 * Makerules: Likewise.
10756 * config.h.in: Likewise.
10757 * config.make.in: Likewise.
10758 * configure: Likewise.
10759 * configure.in: Likewise.
10760 * csu/Makefile: Likewise.
10761 * csu/version.c: Likewise.
10762 * debug/Makefile: Likewise.
10763 * dlfcn/Makefile: Likewise.
10764 * elf/Makefile: Likewise.
10765 * extra-lib.mk: Likewise.
10766 * iconv/Makefile: Likewise.
10767 * include/libc-symbols.h: Likewise.
10768 * include/shlib-compat.h: Likewise.
10769 * resolv/Makefile: Likewise.
10770 * resolv/res_libc.c: Likewise.
10771 * rt/Makefile: Likewise.
10772 * sysdeps/i386/asm-syntax.h: Likewise.
10773 * sysdeps/i386/sysdep.h: Likewise.
10774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10775 * sysdeps/mach/sysdep.h: Likewise.
10776 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10777 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10778 * sysdeps/s390/asm-syntax.h: Likewise.
10779 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10780 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10781 * sysdeps/sh/sysdep.h: Likewise.
10782 * sysdeps/unix/sparc/sysdep.h: Likewise.
10783 * sysdeps/wordsize-32/divdi3.c: Likewise.
10784 * sysdeps/x86_64/sysdep.h: Likewise.
10786 * argp/Versions: Remove _argp_unlock_xxx.
10789 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10790 * abilist/libBrokenLocale.abilist: Likewise.
10791 * abilist/libanl.abilist: Likewise.
10792 * abilist/libc.abilist: Likewise.
10793 * abilist/libcrypt.abilist: Likewise.
10794 * abilist/libdl.abilist: Likewise.
10795 * abilist/libm.abilist: Likewise.
10796 * abilist/libnsl.abilist: Likewise.
10797 * abilist/libpthread.abilist: Likewise.
10798 * abilist/libresolv.abilist: Likewise.
10799 * abilist/librt.abilist: Likewise.
10800 * abilist/libthread_db.abilist: Likewise.
10801 * abilist/libutil.abilist: Likewise.
10802 * abilist/libnss_db.abilist: New file.
10804 * scripts/abilist.awk: Add support for indirect functions.
10806 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10808 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10810 * shlib-versions: Remove entries for ports architectures.
10812 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10814 * elf/stackguard-macros.h: Remove support for IA-64.
10815 * elf/tst-auditmod1.c: Likewise.
10816 * sysdeps/generic/ldsodefs.h: Likewise.
10818 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10819 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10823 * configure.in: Remove --enable-omitfp support.
10825 * config.make.in: Likewise.
10826 * Makeconfig: Likewise.
10827 * manual/install.texi: Likewise.
10829 In case anyone cares, the IA-64 architecture could move to ports.
10830 * sysdeps/ia64/*: Removed.
10831 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10832 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10835 * configure.in: Remove entries for unsupported architectures.
10838 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10839 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10841 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10842 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10843 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10844 fall back to using wcrtomb.
10845 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10846 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10848 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10849 * wcsmbs/tst-c16c32-1.c: New file.
10851 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10854 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10856 * elf/tst-unique3.cc: Add explicit declaration of gets.
10857 * elf/tst-unique3lib.cc: Likewise.
10858 * elf/tst-unique3lib2.cc: Likewise.
10859 * elf/tst-unique4.cc: Likewise.
10861 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10863 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10866 * assert/assert.h (static_assert): Don't define for C++.
10867 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10868 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10870 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10872 * iconv/loop.c (single loop): Fix assertion in storing of
10875 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10877 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10879 * posix/getconf.c: Update copyright year.
10880 * nss/getent.c: Likewise.
10881 * nss/makedb.c: Likewise.
10882 * iconv/iconvconfig.c: Likewise.
10883 * iconv/iconv_prog.c: Likewise.
10884 * elf/ldconfig.c: Likewise.
10885 * elf/pldd.c: Likewise.
10886 * elf/sotruss.ksh: Likewise.
10887 * catgets/gencat.c: Likewise.
10888 * csu/version.c: Likewise.
10889 * elf/ldd.bash.in: Likewise.
10890 * elf/sprof.c (print_version): Likewise.
10891 * locale/programs/locale.c: Likewise.
10892 * locale/programs/localedef.c: Likewise.
10893 * login/programs/pt_chown.c: Likewise.
10894 * nscd/nscd.c (print_version): Likewise.
10895 * debug/xtrace.sh: Likewise.
10896 * malloc/memusage.sh: Likewise.
10897 * malloc/mtrace.pl: Likewise.
10898 * debug/catchsegv.sh: Likewise.
10900 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10902 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10905 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10908 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10909 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10911 * iconv/gconv_int.h: Likewise.
10912 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10913 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10914 from libc for GLIBC_2.16.
10915 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10916 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10917 * wcsmbs/uchar.h: Really define mbstate_t.
10918 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10919 * wcsmbs/c16rtomb.c: New file.
10920 * wcsmbs/mbrtoc16.c: New file.
10921 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10922 for C/POSIX locale.
10923 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10924 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10926 * wcsmbs/wchar.h: Add missing __restrict.
10928 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10931 * time/Makefile (routines): Add timespec_get.
10932 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10933 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10934 timespec for ISO C11.
10935 * time/timespec_get.c: New file.
10936 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10937 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10940 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10941 * stdlib/stdlib.h: Declare aligned_alloc.
10942 * Versions.def: Add GLIBC_2.16 for libc.
10943 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10946 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10949 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10953 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10956 * assert/assert.h (static_assert): Define.
10958 * version.h: Update for 2.16 development version.
10961 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10964 * version.h (RELEASE): Bump for 2.15 release.
10965 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10967 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10968 Patch by Marek Polacek <mpolacek@redhat.com>.
10970 * bits/byteswap.h: Protect long long constants with __extension__.
10971 * sysdeps/i386/bits/byteswap.h: Likewise.
10972 * sysdeps/ia64/bits/byteswap.h: Likewise.
10973 * sysdeps/s390/bits/byteswap.h: Likewise.
10974 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10976 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10979 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10980 destination buffer.
10981 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10983 2011-12-23 Marek Polacek <polacek@redhat.com>
10985 * elf/dl-addr.c (determine_info): Add inline keyword.
10986 * elf/tst-auditmod4b.c (check_avx): Likewise.
10987 * elf/tst-auditmod6b.c (check_avx): Likewise.
10988 * elf/tst-auditmod6c.c (check_avx): Likewise.
10989 * elf/tst-auditmod7b.c (check_avx): Likewise.
10991 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10993 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10996 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10999 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11000 processing for last bytes.
11002 2011-08-06 Bruno Haible <bruno@clisp.org>
11005 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11006 U+0385, not to U+1FEE.
11009 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11010 entry for U+00A5 U+0301.
11012 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11015 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11016 buffer for the output is too small.
11018 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11022 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11023 SSE flags if possible.
11025 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11028 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11029 processing for last bytes.
11031 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11033 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11034 (syscall-list-default-options, syscall-list-default-condition)
11035 (syscall-list-includes): Define.
11036 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11037 list of ABIs and options and #if conditions for each ABI. Do not
11038 handle common syscalls between ABIs specially.
11039 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11041 (syscall-list-variants, syscall-list-32bit-options)
11042 (syscall-list-32bit-condition, syscall-list-64bit-options)
11043 (syscall-list-64bit-condition): Define.
11044 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11045 (syscall-list-variants, syscall-list-32bit-options)
11046 (syscall-list-32bit-condition, syscall-list-64bit-options)
11047 (syscall-list-64bit-condition): Define.
11048 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11050 (syscall-list-variants, syscall-list-32bit-options)
11051 (syscall-list-32bit-condition, syscall-list-64bit-options)
11052 (syscall-list-64bit-condition): Define.
11053 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11055 (syscall-list-variants, syscall-list-32bit-options)
11056 (syscall-list-32bit-condition, syscall-list-64bit-options)
11057 (syscall-list-64bit-condition): Define.
11059 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11061 * locale/iso-639.def: Add brx entry.
11064 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11065 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11067 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11068 __feraiseexcept_renamed.
11070 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11073 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11074 EPOLLET with unsigned values.
11075 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11076 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11078 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11079 to large cancellation.
11080 * math/s_cacoshf.c: Likewise.
11081 * math/s_cacoshl.c: Likewise.
11083 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11087 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11088 * math/s_cacoshf.c: Likewise.
11089 * math/s_cacoshl.c: Likewise.
11091 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11094 * iconv/gconv.h: Define __GCONV_SWAP.
11095 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11096 * iconvdata/utf-16.c: Likewise.
11097 * iconvdata/utf-32.c: Likewise.
11099 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11102 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11103 numerator after shifting it by one limb.
11105 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11107 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11108 under [__USE_EXTERN_INLINES].
11110 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11113 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11115 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11117 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11118 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11120 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11121 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11122 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11123 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11124 for strncasecmp/strncasecmp_l compilation.
11125 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11126 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11128 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11131 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11134 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11137 * time/tzfile.c (__tzfile_read): Check values from file header.
11139 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11141 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11142 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11143 * powerpc/powerpc32/dl-start.S: Likewise.
11144 * powerpc/powerpc32/elf/start.S: Likewise.
11145 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11146 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11147 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11148 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11149 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11150 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11151 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11152 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11153 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11154 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11155 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11156 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11157 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11158 * powerpc/powerpc32/memset.S: Likewise.
11159 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11160 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11161 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11162 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11163 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11164 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11165 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11166 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11167 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11168 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11169 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11170 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11171 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11173 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11175 * math/libm-test.inc: Added more nearbyint tests.
11176 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11177 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11178 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11179 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11181 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11183 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11186 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11188 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11189 Add wcscpy-ssse3 wcscpy-c.
11190 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11191 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11192 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11193 * sysdeps/x86_64/wcschr.S: New file.
11194 * sysdeps/x86_64/wcsrchr.S: New file.
11195 * string/test-strcmp.c: Remove checking of wcscmp function for
11197 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11198 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11199 wcsrchr-sse2 wcsrchr-c.
11200 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11201 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11202 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11203 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11204 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11205 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11206 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11207 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11208 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11209 * wcsmbc/wcschr.c (WCSCHR): New macro.
11211 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11213 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11214 * wcsmbs/test-wcsrchr.c: New file.
11215 * string/test-strrchr.c: Add wcsrchr support.
11217 * wcsmbs/test-wcscpy.c: New file.
11218 * string/test-strcpy.c: Add wcscpy support.
11221 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11223 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11226 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11229 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11231 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11233 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11234 Minor optimizations.
11236 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11237 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11238 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11240 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11242 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11243 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11244 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11245 for gcc to avoid warnings.
11246 * inet/Makefile (tests): Add tst-checks.
11247 * inet/tst-checks.c: New file.
11249 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11252 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11255 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11256 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11258 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11260 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11262 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11265 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11267 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11269 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11270 conditional on GCC version.
11271 (__arch_compare_and_exchange_val_8_acq)
11272 (__arch_compare_and_exchange_val_16_acq)
11273 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11274 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11275 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11277 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11279 * sysdeps/sh/backtrace.c: New file.
11281 2011-12-02 Andreas Schwab <schwab@redhat.com>
11283 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11286 2011-12-01 Andreas Schwab <schwab@redhat.com>
11288 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11289 falling back to utime.
11291 2011-11-30 Andreas Schwab <schwab@redhat.com>
11293 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11294 expectations for float.
11296 2011-11-29 Andreas Schwab <schwab@redhat.com>
11298 * locale/weight.h (findidx): Add parameter len.
11299 * locale/weightwc.h (findidx): Likewise.
11300 * posix/fnmatch_loop.c (FCT): Adjust caller.
11301 * posix/regcomp.c (build_equiv_class): Likewise.
11302 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11303 * posix/regexec.c (check_node_accept_bytes): Likewise.
11304 * string/strcoll_l.c (STRCOLL): Likewise.
11305 * string/strxfrm_l.c (STRXFRM): Likewise.
11307 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11309 * Makefile.in: Remove CVSOPT handling.
11310 * configure.in: Remove use of AC_REVISION.
11311 * iconvdata/Makefile (distribute): No need to filter out CVS.
11312 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11315 2011-11-16 Andreas Schwab <schwab@redhat.com>
11317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11318 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11319 [USE_AS_STRNCASECMP_L]: Likewise.
11320 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11321 NO_TLS_DIRECT_SEG_REFS.
11322 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11323 Fix argument offsets for non-PIC.
11324 [USE_AS_STRNCASECMP_L]: Likewise.
11325 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11326 NO_TLS_DIRECT_SEG_REFS.
11328 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11330 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11332 * locale/loadlocale.c (_nl_load_locale): Likewise.
11334 2011-11-15 Andreas Schwab <schwab@redhat.com>
11336 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11337 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11338 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11339 (SYSCALL_GETTIME): Set errno on error.
11341 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11342 count references to noai6ai_cached.
11344 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11346 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11348 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11349 FD_CLOEXEC for /proc/self/maps.
11351 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11352 FD_CLOEXEC for /proc/meminfo.
11354 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11357 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11358 FD_CLOEXEC for given file.
11360 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11362 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11363 FD_CLOEXEC for /etc/hosts.
11364 (_gethtent): Likewise.
11366 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11368 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11369 cancellation and set FD_CLOEXEC for /etc/netgroup.
11371 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11372 reading /etc/publickey.
11374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11375 allow cancellation when reading /etc/group.
11377 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11379 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11381 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11382 when using data file.
11384 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11386 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11387 (write_nis_obj): Use "c" and "e" in fopen.
11389 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11391 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11393 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11395 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11397 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11400 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11402 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11404 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11406 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11407 file parsing and set FD_CLOEXEC.
11409 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11411 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11413 2011-11-14 Andreas Schwab <schwab@redhat.com>
11415 * malloc/arena.c (arena_get2): Don't call reused_arena when
11416 _int_new_arena failed.
11418 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11420 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11421 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11422 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11423 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11424 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11425 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11426 to compile strcasecmp and strncasecmp.
11427 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11428 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11432 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11434 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11435 locale-defines.sym to gen-as-const-headers.
11436 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11437 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11439 to compile strcasecmp and strncasecmp.
11440 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11441 strcasecmp_l and strncasecmp_l.
11442 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11443 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11444 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11445 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11446 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11447 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11448 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11449 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11450 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11451 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11452 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11454 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11456 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11457 result of SYSDEP_GETTIME_CPU to retval.
11458 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11459 parameter list to macro. Remove trailing semicolon. Adjust users.
11461 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11464 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11466 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11468 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11469 from unused variable.
11471 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11473 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11476 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11479 * sunrpc/rpc_prot.c (rejected): Fix case value.
11481 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11482 unsigned long long int to avoid warnings in shift.
11484 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11486 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11489 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11490 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11491 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11493 * nis/nis_table.c (nis_list): Use variable of correct type for
11494 result of __follow_path call.
11496 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11498 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11499 of math functions ceil, trunc, floor, round, and sqrt, when
11500 avaliable on the platform.
11501 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11503 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11504 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11505 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11507 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11509 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11510 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11512 2011-11-11 Roland McGrath <roland@hack.frob.com>
11514 * include/unistd.h: Fix __readlink return type.
11515 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11517 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11519 * stdlib/ucontext.h: Undo last change for makecontext.
11521 2011-11-11 Andreas Schwab <schwab@redhat.com>
11523 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11525 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11526 * setjmp/setjmp.h: Mark functions as non-leaf.
11527 * setjmp/bits/setjmp2.h: Likewise.
11528 * stdlib/ucontext.h: Likewise.
11530 2011-11-10 Andreas Schwab <schwab@redhat.com>
11532 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11533 (reused_arena): Don't check arena limit.
11534 (arena_get2): Atomically check arena limit.
11536 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11538 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11539 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11541 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11544 2011-11-07 Andreas Schwab <schwab@redhat.com>
11546 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11547 handler when locking.
11549 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11550 Fix size of allocated buffer.
11552 2011-11-04 Andreas Schwab <schwab@redhat.com>
11555 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11556 declarations for long double functions.
11557 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11559 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11561 2011-11-03 Andreas Schwab <schwab@redhat.com>
11563 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11566 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11569 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11571 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11573 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11575 * include/alloca.h (stackinfo_alloca_round): Define.
11576 (extend_alloca): Use it.
11577 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11578 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11581 * scripts/check-local-headers.sh: Ignore libaudit.h.
11583 * nscd/Makefile (extra-objs): Make recursively expanded.
11585 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11587 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11588 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11590 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11591 * posix/tst-rfc3484-2.c: Likewise.
11592 * posix/tst-rfc3484-3.c: Likewise.
11594 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11596 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11598 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11599 process_vm_writev from libc using GLIBC_2.15 version.
11601 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11603 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11605 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11608 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11611 * nss/getent.c (initgroups_keys): Show error message in case no group
11614 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11615 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11616 __bump_nl_timestamp.
11617 * nscd/connections (nscd_init): When host database is served open
11618 netlink socket and request notification about configuration changes.
11619 (main_loop_poll): Track netlink file descriptor and bump timestamp
11620 in case data becomes available.
11621 (main_loop_epoll): Likewise.
11622 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11623 (database_pers_head): Add extra_data fileds.
11624 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11625 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11626 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11628 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11629 in6ai data, call __free_in6ai.
11630 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11631 Add -DHAVE_NETLINK.
11632 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11633 interface information. Reuse previous data if netlink timestamp
11635 (__bump_nl_timestamp): New function.
11636 (__free_in6ai): New function.
11638 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11640 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11641 close_not_cancel_no_status here.
11642 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11644 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11647 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11650 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11651 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11652 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11654 2011-07-03 Andreas Jaeger <aj@suse.de>
11657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11658 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11659 * math/libm-test.inc (sin_test): Add test case.
11661 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11664 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11665 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11667 * elf/chroot_canon.c (chroot_canon): Cleanups.
11669 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11672 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11673 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11675 * string/test-strchr.c: Make usable for strchrnul testing.
11676 * string/test-strchrnul.c: New file.
11677 * string/Makefile (strop-tests): Add strchrnul.
11679 * po/it.po: Update from translation team.
11680 * po/es.po: Likewise.
11682 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11684 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11685 the three constants needed as parameters. Drop the others.
11686 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11687 __m128i_strloadu_tolower.
11688 Create and initialize variable zero and use it in all the places
11689 where _mm_setzero_si128 was used.
11691 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11692 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11693 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11694 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11696 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11697 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11698 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11699 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11700 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11701 __mpranred, __mptan.
11702 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11703 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11704 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11705 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11706 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11707 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11708 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11709 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11710 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11712 2011-10-28 Andreas Schwab <schwab@redhat.com>
11714 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11715 redefine if SHARED.
11716 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11719 wide char related routines to wcsmbs subdir.
11721 2011-10-27 Andreas Schwab <schwab@redhat.com>
11724 * misc/sys/cdefs.h (__THROWNL): Define.
11725 * posix/unistd.h: Use __THREADNL instead of __THREAD
11726 for memory synchronization functions.
11728 2011-10-26 Roland McGrath <roland@hack.frob.com>
11731 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11733 * manual/stdio.texi (Obstack Streams): Node removed.
11735 2011-10-26 Andreas Schwab <schwab@redhat.com>
11737 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11738 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11741 * math/math_private.h (math_force_eval): Allow non-addressable
11743 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11745 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11747 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11748 file is not needed.
11750 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11751 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11752 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11753 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11754 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11755 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11756 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11757 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11759 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11760 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11761 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11762 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11763 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11764 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11765 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11766 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11767 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11768 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11769 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11770 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11771 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11772 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11773 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11774 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11775 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11776 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11777 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11779 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11780 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11783 place. Use VEX encoding when compiling for AVX.
11785 2011-10-25 Andreas Schwab <schwab@redhat.com>
11787 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11788 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11790 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11792 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11794 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11795 useless if() expression.
11796 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11797 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11798 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11799 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11800 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11801 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11802 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11804 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11805 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11806 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11807 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11808 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11809 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11810 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11811 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11816 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11818 2011-10-25 Andreas Schwab <schwab@redhat.com>
11820 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11822 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11824 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11826 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11827 .text section. Avoid duplicate constants.
11828 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11830 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11832 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11833 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11834 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11836 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11837 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11838 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11839 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11840 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11841 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11842 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11843 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11844 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11845 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11846 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11847 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11848 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11849 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11850 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11851 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11852 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11853 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11854 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11855 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11856 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11857 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11858 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11859 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11860 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11861 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11862 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11863 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11864 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11865 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11866 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11867 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11868 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11869 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11870 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11871 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11872 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11874 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11876 * sysdeps/x86_64/dla.h: Move to ...
11877 * sysdeps/x86_64/fpu/dla.h: ...here.
11878 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11879 situations. Use __builtin_fma only for gcc 4.6 and up.
11881 * config.make.in: Add have-mfma4 entry.
11882 * configure.in: Substitute libc_cv_cc_fma4.
11883 * math/Makefile (dbl-only-routines): Add sincostab.
11884 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11885 Use __sincostab not sincos.
11886 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11893 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11894 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11895 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11896 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11898 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11899 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11901 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11902 define aliases when function name is a macro.
11903 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11904 sysdeps/ieee754/dbl-64/sincos.tbl.
11905 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11906 fma4-enabled routines.
11907 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11908 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11909 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11910 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11911 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11912 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11913 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11914 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11915 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11916 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11917 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11918 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11919 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11920 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11921 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11922 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11923 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11924 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11925 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11926 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11927 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11928 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11929 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11930 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11931 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11932 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11933 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11934 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11935 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11936 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11938 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11949 2011-10-24 Andreas Schwab <schwab@redhat.com>
11951 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11953 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11955 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11957 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11959 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11961 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11962 Remove unused variable magic_bits.
11963 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11965 * string/strnlen.c: Define and use STRNLEN macro.
11966 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11967 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11969 * wcsmbs/wcslen.c: Define and use WCSLEN.
11970 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11971 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11972 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11973 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11974 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11975 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11976 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11978 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11981 strnlen-sse2-no-bsf.
11982 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11983 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11984 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11985 Add strnlen support.
11986 (USE_AS_STRNLEN): New macro.
11987 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11988 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11989 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11990 * sysdeps/x86_64/wcslen.S: New file.
11992 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11994 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11995 XMM-moves are used for copying on small sizes.
11997 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11999 * wcsmbs/Makefile (strop-tests): Add wcschr.
12000 * wcsmbs/test-wcschr.c: New file.
12001 * string/test-strchr.c: Update.
12002 Add wcschr support.
12005 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12007 * wcsmbs/Makefile (strop-tests): Add wcslen.
12008 * wcsmbs/test-wcslen.c: New file.
12009 * string/test-strlen.c: Update.
12010 Add wcslen support.
12013 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12015 * po/it.po: Update from translation team.
12017 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12019 * sysdeps/x86_64/wcscmp.S: Update.
12020 Fix wrong comparison semantics.
12021 wcscmp shall use signed comparison not unsigned.
12022 Don't use substraction to avoid overflow bug.
12023 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12024 * wcsmbc/wcscmp.c: Likewise.
12025 * string/test-strcmp.c: Likewise.
12026 Add new tests to check cases with negative values.
12028 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12030 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12031 * sysdeps/x86_64/dla.h: ...here. New file.
12032 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12040 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12042 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12044 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12045 __ynl_finite aliases.
12047 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12051 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12053 [DLA_FMA] (EMULV): Use DLA_FMA.
12054 [DLA_FMA] (MUL12): Use EMULV.
12055 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12056 that are not needed.
12057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12065 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12067 * math/s_nan.c: Undef __nan.
12068 * math/s_nanf.c: Undef __nanf.
12069 * math/s_nanl.c: Undef __nanl.
12070 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12073 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12075 * math/s_catan.c: Add branch predictions.
12076 * math/s_catanf.c: Likewise.
12077 * math/s_catanh.c: Likewise.
12078 * math/s_catanhf.c: Likewise.
12079 * math/s_catanhl.c: Likewise.
12080 * math/s_catanl.c: Likewise.
12081 * math/s_cexp.c: Likewise.
12082 * math/s_cexpf.c: Likewise.
12083 * math/s_cexpl.c: Likewise.
12084 * math/s_clog.c: Likewise.
12085 * math/s_clog10.c: Likewise.
12086 * math/s_clog10f.c: Likewise.
12087 * math/s_clog10l.c: Likewise.
12088 * math/s_clogf.c: Likewise.
12089 * math/s_clogl.c: Likewise.
12090 * math/s_csqrt.c: Likewise.
12091 * math/s_csqrtf.c: Likewise.
12092 * math/s_csqrtl.c: Likewise.
12093 * math/s_ctanf.c: Likewise.
12094 * math/s_ctanh.c: Likewise.
12095 * math/s_ctanhf.c: Likewise.
12096 * math/s_ctanhl.c: Likewise.
12097 * math/s_ctanl.c: Likewise.
12099 * math/math_private.h: Define __nan, __nanf, __nanl.
12100 * math/s_cacosh.c: Include <math_private.h>.
12101 * math/s_cacoshl.c: Likewise.
12102 * math/s_casinh.c: Likewise.
12103 * math/s_casinhf.c: Likewise.
12104 * math/s_casinhl.c: Likewise.
12105 * math/s_ccos.c: Rely entire on ccosh.
12106 * math/s_ccosf.c: Rely entire on ccoshf.
12107 * math/s_ccosl.c: Rely entirely on ccoshl.
12108 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12109 Remove tests for FE_INVALID.
12110 * math/s_ccoshf.c: Likewise.
12111 * math/s_ccoshl.c: Likewise.
12112 * math/s_csin.c: Likewise.
12113 * math/s_csinf.c: Likewise.
12114 * math/s_csinh.c Likewise.
12115 * math/s_csinhf.c: Likewise.
12116 * math/s_csinhl.c: Likewise.
12117 * math/s_csinl.c: Likewise.
12118 * math/s_ctan.c: Likewise.
12119 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12120 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12121 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12123 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12126 compilation problems.
12128 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12131 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12133 * sysdeps/i386/configure.in: Test for -mfma4 option.
12134 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12135 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12136 COMMON_CPUID_INDEX_80000001.
12137 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12138 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12139 use it if FMA3 is not supported.
12140 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12142 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12143 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12145 2011-10-20 Andreas Schwab <schwab@redhat.com>
12148 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12149 it would create a cycle with a link time dependency.
12151 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12153 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12155 * string/Makefile (strop-tests): Add rawmemchr.
12156 * string/test-rawmemchr.c: New file.
12158 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12159 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12160 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12161 when compiling str{,n}casecmp and when AVX is available. Hook up
12162 new optimized code in initializers.
12164 2011-10-19 Andreas Schwab <schwab@redhat.com>
12166 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12167 __feraiseexcept instead of feraiseexcept.
12169 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12171 * math/math_private.h: Define defaults for libc_fetestexcept and
12173 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12174 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12175 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12176 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12177 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12178 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12179 libc_fetestexcept and libc_feupdateenv.
12181 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12182 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12183 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12184 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12185 libc_feholdexcept_setround.
12187 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12188 Add s_nearbyint-c and s_nearbyintf-c.
12189 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12190 nearbyintf inlines.
12191 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12192 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12193 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12194 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12196 * math/math_private.h: Define defaults for libc_fegetround,
12197 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12198 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12199 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12200 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12201 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12202 standard functions.
12203 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12204 Remove comments and hacks for old compiler versions.
12205 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12206 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12207 libc_feholdexceptl.
12209 2011-10-18 Andreas Schwab <schwab@redhat.com>
12211 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12212 (__feraiseexcept_renamed): Add __NTH.
12213 (feraiseexcept): Add __NTH. Rename local variables to fix
12214 namespace violations.
12216 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12218 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12220 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12222 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12223 recently added interfaces.
12224 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12226 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12227 about macro parameter expansion.
12229 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12230 __NO_MATH_INLINES is defined. Cleanups.
12232 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12233 and __floorf is target has SSE4.1.
12234 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12235 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12236 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12237 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12239 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12241 (floorf): Likewise.
12243 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12245 2011-10-17 Andreas Schwab <schwab@redhat.com>
12247 * misc/sys/cdefs.h: Fix last change.
12249 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12252 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12254 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12256 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12257 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12259 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12262 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12263 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12264 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12265 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12266 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12267 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12268 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12269 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12270 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12271 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12272 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12273 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12274 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12275 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12276 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12277 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12279 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12280 ceil, ceilf, floor, floorf.
12282 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12283 Perform IRELATIVE relocations last.
12285 * elf/do-rel.h: Add another parameter nrelative, replacing the
12286 local variable with the same name. Change name of the function
12287 to end in Rel or Rela (uppercase).
12288 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12289 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12290 elf_dynamic_do_##reloc function.
12292 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12294 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12295 is sufficient, at least on modern CPUs.
12297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12299 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12300 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12302 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12304 * math/bits/math-finite.h: Add entries for exp.
12305 * math/e_expl.c: Add __*_finite alias.
12306 * sysdeps/i386/fpu/e_exp.S: Likewise.
12307 * sysdeps/i386/fpu/e_expf.S: Likewise.
12308 * sysdeps/i386/fpu/e_expl.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12310 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12314 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12317 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12318 is sufficient, at least on modern CPUs.
12320 * ctype/ctype-info.c (__ctype_init): Define.
12321 * include/ctype.h (__ctype_init): Declare.
12322 (__ctype_b_loc): The variable is always initialized.
12323 (__ctype_toupper_loc): Likewise.
12324 (__ctype_tolower_loc): Likewise.
12325 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12326 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12328 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12330 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12332 * configure.in: Also look in $cxxmachine/include for C++ system
12335 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12337 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12338 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12339 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12340 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12341 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12342 (USE_AS_WMEMCMP): New macro.
12344 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12345 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12346 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12347 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12349 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12350 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12351 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12352 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12353 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12354 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12355 (USE_AS_WMEMCMP): New macro.
12356 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12357 * sysdeps/string/test-memcmp.c: Update.
12358 Fix simple_wmemcmp.
12360 * wcsmbs/wmemcmp.c: Update.
12361 (WMEMCMP): New macro.
12364 2011-10-12 Andreas Jaeger <aj@suse.de>
12367 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12369 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12371 * libio/iofwide.c (do_length): Avoid warning.
12373 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12375 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12377 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12379 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12380 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12381 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12382 * sysdeps/i386/i686/fpu/e_log.S: New file.
12383 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12384 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12386 * ctype/ctype.h: Add support for inlined isXXX functions when
12387 compiling C++ code.
12389 2011-10-14 Andreas Schwab <schwab@redhat.com>
12391 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12393 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12395 2011-10-13 Roland McGrath <roland@hack.frob.com>
12398 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12400 2011-10-13 Andreas Schwab <schwab@redhat.com>
12402 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12403 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12406 * sysdeps/x86_64/memrchr.S: Check for zero size.
12408 * string/stratcliff.c: Add memrchr tests.
12410 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12413 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12414 rawmemchr-sse2 rawmemchr-sse2-bsf.
12415 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12416 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12417 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12418 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12419 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12420 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12421 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12422 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12423 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12424 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12425 * string/memrchr.c (MEMRCHR): New macro.
12427 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12429 Add integration with gcc's -ffinite-math-only and optimize wrapper
12431 * Versions.def: Define GLIBC_2.15 version for libm.
12432 * math/Makefile (headers): Add bits/math-finite.h.
12433 * math/bits/math-finite.h: New file.
12434 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12435 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12436 * math/e_acoshl.c: Add __*_finite alias.
12437 * math/e_acosl.c: Likewise.
12438 * math/e_asinl.c: Likewise.
12439 * math/e_atan2l.c: Likewise.
12440 * math/e_atanhl.c: Likewise.
12441 * math/e_coshl.c: Likewise.
12442 * math/e_exp10.c: Likewise.
12443 * math/e_exp10f.c: Likewise.
12444 * math/e_exp10l.c: Likewise.
12445 * math/e_exp2l.c: Likewise.
12446 * math/e_fmodl.c: Likewise.
12447 * math/e_gammal_r.c: Likewise.
12448 * math/e_hypotl.c: Likewise.
12449 * math/e_j0l.c: Likewise.
12450 * math/e_j1l.c: Likewise.
12451 * math/e_jnl.c: Likewise.
12452 * math/e_lgammal_r.c: Likewise.
12453 * math/e_log10l.c: Likewise.
12454 * math/e_log2l.c: Likewise.
12455 * math/e_logl.c: Likewise.
12456 * math/e_powl.c: Likewise.
12457 * math/e_sinhl.c: Likewise.
12458 * math/e_sqrtl.c: Likewise.
12459 * math/e_scalb.c: Completely rewritten and optimized.
12460 * math/e_scalbf.c: Likewise.
12461 * math/e_scalbl.c: Likewise.
12462 * math/w_acos.c: Likewise.
12463 * math/w_acosf.c: Likewise.
12464 * math/w_acosl.c: Likewise.
12465 * math/w_acosh.c: Likewise.
12466 * math/w_acoshf.c: Likewise.
12467 * math/w_acoshl.c: Likewise.
12468 * math/w_asin.c: Likewise.
12469 * math/w_asinf.c: Likewise.
12470 * math/w_asinl.c: Likewise.
12471 * math/w_atan2.c: Likewise.
12472 * math/w_atan2f.c: Likewise.
12473 * math/w_atan2l.c: Likewise.
12474 * math/w_atanh.c: Likewise.
12475 * math/w_atanhf.c: Likewise.
12476 * math/w_atanhl.c: Likewise.
12477 * math/w_exp10.c: Likewise.
12478 * math/w_exp10f.c: Likewise.
12479 * math/w_exp10l.c: Likewise.
12480 * math/w_fmod.c: Likewise.
12481 * math/w_fmodf.c: Likewise.
12482 * math/w_fmodl.c: Likewise.
12483 * math/w_j0.c: Likewise.
12484 * math/w_j0f.c: Likewise.
12485 * math/w_j0l.c: Likewise.
12486 * math/w_j1.c: Likewise.
12487 * math/w_j1f.c: Likewise.
12488 * math/w_j1l.c: Likewise.
12489 * math/w_jn.c: Likewise.
12490 * math/w_jnf.c: Likewise.
12491 * math/w_log.c: Likewise.
12492 * math/w_logf.c: Likewise.
12493 * math/w_logl.c: Likewise.
12494 * math/w_log10.c: Likewise.
12495 * math/w_log10f.c: Likewise.
12496 * math/w_log10l.c: Likewise.
12497 * math/w_log2.c: Likewise.
12498 * math/w_log2f.c: Likewise.
12499 * math/w_log2l.c: Likewise.
12500 * math/w_pow.c: Likewise.
12501 * math/w_powf.c: Likewise.
12502 * math/w_powl.c: Likewise.
12503 * math/w_remainder.c: Likewise.
12504 * math/w_remainderf.c: Likewise.
12505 * math/w_remainderl.c: Likewise.
12506 * math/w_scalb.c: Likewise.
12507 * math/w_scalbf.c: Likewise.
12508 * math/w_scalbl.c: Likewise.
12509 * math/w_sqrt.c: Likewise.
12510 * math/w_sqrtf.c: Likewise.
12511 * math/w_sqrtl.c: Likewise.
12512 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12513 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12515 * math/math_private.h: Declare __kernel_standard_f.
12516 * math/w_cosh.c: Remove cruft and optimize a bit.
12517 * math/w_coshf.c: Likewise.
12518 * math/w_coshl.c: Likewise.
12519 * math/w_exp2.c: Likewise.
12520 * math/w_exp2f.c: Likewise.
12521 * math/w_exp2l.c: Likewise.
12522 * math/w_hypot.c: Likewise.
12523 * math/w_hypotf.c: Likewise.
12524 * math/w_hypotl.c: Likewise.
12525 * math/w_lgamma.c: Likewise.
12526 * math/w_lgamma_r.c: Likewise.
12527 * math/w_lgammaf.c: Likewise.
12528 * math/w_lgammaf_r.c: Likewise.
12529 * math/w_lgammal.c: Likewise.
12530 * math/w_lgammal_r.c: Likewise.
12531 * math/w_sinh.c: Likewise.
12532 * math/w_sinhf.c: Likewise.
12533 * math/w_sinhl.c: Likewise.
12534 * math/w_tgamma.c: Likewise.
12535 * math/w_tgammaf.c: Likewise.
12536 * math/w_tgammal.c: Likewise.
12537 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12538 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12539 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12540 Minor optimizations. Pretty printing. Remove cruft.
12541 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12542 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12543 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12544 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12545 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12546 * sysdeps/i386/fpu/e_asin.S: Likewise.
12547 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12548 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12549 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12550 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12551 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12552 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12553 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12554 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12555 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12556 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12557 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12558 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12559 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12560 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12561 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12562 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12563 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12564 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12565 * sysdeps/i386/fpu/e_log.S: Likewise.
12566 * sysdeps/i386/fpu/e_log10.S: Likewise.
12567 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12568 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12569 * sysdeps/i386/fpu/e_log2.S: Likewise.
12570 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12571 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12572 * sysdeps/i386/fpu/e_logf.S: Likewise.
12573 * sysdeps/i386/fpu/e_logl.S: Likewise.
12574 * sysdeps/i386/fpu/e_pow.S: Likewise.
12575 * sysdeps/i386/fpu/e_powf.S: Likewise.
12576 * sysdeps/i386/fpu/e_powl.S: Likewise.
12577 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12578 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12579 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12580 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12581 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12582 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12583 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12584 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12585 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12586 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12589 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12590 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12592 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12593 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12594 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12595 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12596 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12597 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12599 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12600 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12602 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12603 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12604 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12607 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12608 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12609 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12610 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12611 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12612 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12613 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12614 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12615 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12616 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12617 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12618 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12619 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12620 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12621 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12622 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12623 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12624 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12625 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12626 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12627 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12642 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12664 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12665 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12666 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12669 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12671 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12672 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12674 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12677 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12678 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12679 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12680 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12681 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12682 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12683 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12684 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12685 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12686 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12687 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12688 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12689 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12690 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12691 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12692 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12693 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12694 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12695 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12696 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12697 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12698 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12699 (__isnanf): Likewise.
12700 (__isinf_ns): Likewise.
12701 (__isinf_nsf): Likewise.
12702 (__finite): Likewise.
12703 (__finitef): Likewise.
12704 (__ieee754_sqrt): Define as macro.
12705 (__ieee754_sqrtf): Define as macro.
12706 (__ieee754_sqrtl): Define as macro.
12707 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12709 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12710 __FINITE_MATH_ONLY__ consistent.
12711 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12713 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12715 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12718 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12720 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12722 * po/ja.po: Update from translation team.
12724 2011-10-08 Roland McGrath <roland@hack.frob.com>
12726 * locale/programs/locarchive.c (prepare_address_space): New function.
12727 (create_archive, enlarge_archive, open_archive): Use it.
12729 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12730 inside [SHARED], where it is used.
12732 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12734 * nss/getent.c (netgroup_keys): Remove unused variable.
12735 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12737 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12739 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12740 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12742 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12743 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12744 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12745 * math/Makefile (libm-calls): Add s_isinf_ns.
12746 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12747 * math/multc3.c: Likewise.
12748 * math/s_casin.c: Likewise.
12749 * math/s_casinf.c: Likewise.
12750 * math/s_casinl.c: Likewise.
12751 * math/s_ccos.c: Likewise.
12752 * math/s_ccosf.c: Likewise.
12753 * math/s_ccosl.c: Likewise.
12754 * math/s_ctan.c: Likewise.
12755 * math/s_ctanf.c: Likewise.
12756 * math/s_ctanh.c: Likewise.
12757 * math/s_ctanhf.c: Likewise.
12758 * math/s_ctanhl.c: Likewise.
12759 * math/s_ctanl.c: Likewise.
12760 * math/w_fmod.c: Likewise.
12761 * math/w_fmodf.c: Likewise.
12762 * math/w_fmodl.c: Likewise.
12763 * math/w_remainder.c: Likewise.
12764 * math/w_remainderf.c: Likewise.
12765 * math/w_remainderl.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12767 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12768 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12769 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12770 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12771 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12772 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12773 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12775 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12777 * stdio-common/printf_fphex.c: Likewise.
12778 * stdio-common/printf_size.c: Likewise.
12780 * math/e_exp10.c: Include math_private.h using <...> not "...".
12781 * math/e_exp10f.c: Likewise.
12782 * math/e_exp10l.c: Likewise.
12783 * math/e_exp2l.c: Likewise.
12784 * math/e_j0l.c: Likewise.
12785 * math/e_j1l.c: Likewise.
12786 * math/e_jnl.c: Likewise.
12787 * math/e_lgammal_r.c: Likewise.
12788 * math/e_rem_pio2l.c: Likewise.
12789 * math/e_scalb.c: Likewise.
12790 * math/e_scalbf.c: Likewise.
12791 * math/e_scalbl.c: Likewise.
12792 * math/k_cosl.c: Likewise.
12793 * math/k_sinl.c: Likewise.
12794 * math/k_tanl.c: Likewise.
12795 * math/s_cacoshf.c: Likewise.
12796 * math/s_catan.c: Likewise.
12797 * math/s_catanf.c: Likewise.
12798 * math/s_catanh.c: Likewise.
12799 * math/s_catanhf.c: Likewise.
12800 * math/s_catanhl.c: Likewise.
12801 * math/s_catanl.c: Likewise.
12802 * math/s_ccosh.c: Likewise.
12803 * math/s_ccoshf.c: Likewise.
12804 * math/s_ccoshl.c: Likewise.
12805 * math/s_cexp.c: Likewise.
12806 * math/s_cexpf.c: Likewise.
12807 * math/s_cexpl.c: Likewise.
12808 * math/s_clog.c: Likewise.
12809 * math/s_clog10.c: Likewise.
12810 * math/s_clog10f.c: Likewise.
12811 * math/s_clog10l.c: Likewise.
12812 * math/s_clogf.c: Likewise.
12813 * math/s_clogl.c: Likewise.
12814 * math/s_csin.c: Likewise.
12815 * math/s_csinf.c: Likewise.
12816 * math/s_csinh.c: Likewise.
12817 * math/s_csinhf.c: Likewise.
12818 * math/s_csinhl.c: Likewise.
12819 * math/s_csinl.c: Likewise.
12820 * math/s_csqrt.c: Likewise.
12821 * math/s_csqrtf.c: Likewise.
12822 * math/s_csqrtl.c: Likewise.
12823 * math/s_ctan.c: Likewise.
12824 * math/s_ctanf.c: Likewise.
12825 * math/s_ctanh.c: Likewise.
12826 * math/s_ctanhf.c: Likewise.
12827 * math/s_ctanhl.c: Likewise.
12828 * math/s_ctanl.c: Likewise.
12829 * math/s_ldexp.c: Likewise.
12830 * math/s_ldexpf.c: Likewise.
12831 * math/s_ldexpl.c: Likewise.
12832 * math/s_significand.c: Likewise.
12833 * math/s_significandf.c: Likewise.
12834 * math/s_significandl.c: Likewise.
12835 * math/w_acos.c: Likewise.
12836 * math/w_acosf.c: Likewise.
12837 * math/w_acosh.c: Likewise.
12838 * math/w_acoshf.c: Likewise.
12839 * math/w_acoshl.c: Likewise.
12840 * math/w_acosl.c: Likewise.
12841 * math/w_asin.c: Likewise.
12842 * math/w_asinf.c: Likewise.
12843 * math/w_asinl.c: Likewise.
12844 * math/w_atan2.c: Likewise.
12845 * math/w_atan2f.c: Likewise.
12846 * math/w_atan2l.c: Likewise.
12847 * math/w_atanh.c: Likewise.
12848 * math/w_atanhf.c: Likewise.
12849 * math/w_atanhl.c: Likewise.
12850 * math/w_cosh.c: Likewise.
12851 * math/w_coshf.c: Likewise.
12852 * math/w_coshl.c: Likewise.
12853 * math/w_dremf.c: Likewise.
12854 * math/w_exp10.c: Likewise.
12855 * math/w_exp10f.c: Likewise.
12856 * math/w_exp10l.c: Likewise.
12857 * math/w_exp2.c: Likewise.
12858 * math/w_exp2f.c: Likewise.
12859 * math/w_fmod.c: Likewise.
12860 * math/w_fmodf.c: Likewise.
12861 * math/w_fmodl.c: Likewise.
12862 * math/w_hypot.c: Likewise.
12863 * math/w_hypotf.c: Likewise.
12864 * math/w_hypotl.c: Likewise.
12865 * math/w_j0.c: Likewise.
12866 * math/w_j0f.c: Likewise.
12867 * math/w_j0l.c: Likewise.
12868 * math/w_j1.c: Likewise.
12869 * math/w_j1f.c: Likewise.
12870 * math/w_j1l.c: Likewise.
12871 * math/w_jn.c: Likewise.
12872 * math/w_jnf.c: Likewise.
12873 * math/w_jnl.c: Likewise.
12874 * math/w_lgamma.c: Likewise.
12875 * math/w_lgamma_r.c: Likewise.
12876 * math/w_lgammaf.c: Likewise.
12877 * math/w_lgammaf_r.c: Likewise.
12878 * math/w_lgammal.c: Likewise.
12879 * math/w_lgammal_r.c: Likewise.
12880 * math/w_log.c: Likewise.
12881 * math/w_log10.c: Likewise.
12882 * math/w_log10f.c: Likewise.
12883 * math/w_log10l.c: Likewise.
12884 * math/w_log2.c: Likewise.
12885 * math/w_log2f.c: Likewise.
12886 * math/w_log2l.c: Likewise.
12887 * math/w_logf.c: Likewise.
12888 * math/w_logl.c: Likewise.
12889 * math/w_pow.c: Likewise.
12890 * math/w_powf.c: Likewise.
12891 * math/w_powl.c: Likewise.
12892 * math/w_remainder.c: Likewise.
12893 * math/w_remainderf.c: Likewise.
12894 * math/w_remainderl.c: Likewise.
12895 * math/w_scalb.c: Likewise.
12896 * math/w_scalbf.c: Likewise.
12897 * math/w_scalbl.c: Likewise.
12898 * math/w_sinh.c: Likewise.
12899 * math/w_sinhf.c: Likewise.
12900 * math/w_sinhl.c: Likewise.
12901 * math/w_sqrt.c: Likewise.
12902 * math/w_sqrtf.c: Likewise.
12903 * math/w_sqrtl.c: Likewise.
12904 * math/w_tgamma.c: Likewise.
12905 * math/w_tgammaf.c: Likewise.
12906 * math/w_tgammal.c: Likewise.
12908 * po/ja.po: Update from translation team.
12910 2011-09-29 Andreas Jaeger <aj@suse.de>
12913 * sunrpc/netname.c (netname2host): Fix logic.
12917 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12919 * math/w_remainder.c (__remainder): Likewise.
12920 * math/w_remainderf.c (__remainderf): Likewise.
12921 * math/libm-test.inc (remainder_test): Add test cases.
12923 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12925 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12928 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12930 * string/test-memcmp.c: Avoid unncessary #defines.
12931 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12933 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12935 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12936 Use new sse2 version for core i3 - i7 as it's faster
12937 than sse42 version.
12938 (bit_Prefer_PMINUB_for_stringop): New.
12939 * sysdeps/x86_64/rawmemchr.S: Update.
12940 Replace with faster SSE2 version.
12941 * sysdeps/x86_64/memrchr.S: New file.
12942 * sysdeps/x86_64/memchr.S: Update.
12943 Replace with faster SSE2 version.
12945 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12947 * elf/dl-load.c (lose): Add cast to avoid warning.
12949 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12951 * po/ca.po: Update from translation team.
12953 * inet/getnetgrent_r.c: Hook up nscd.
12954 * nscd/Makefile (routines): Add nscd_netgroup.
12955 (nscd-modules): Add netgroupcache.
12956 (CFLAGS-netgroupcache.c): Define.
12957 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12958 (cache_search): Add const to second parameter.
12959 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12961 (dbs): Add netgrdb entry.
12962 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12963 (verify_persistent_db): Handle netgrdb.
12964 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12965 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12967 (netgroup_response_header): Define.
12968 (innetgroup_response_header): Define.
12969 (datahead): Add netgroup_response_header and innetgroup_response_header
12971 * nscd/nscd.conf: Add entries for netgroup cache.
12972 * nscd/nscd.h (dbtype): Add netgrdb.
12973 (_PATH_NSCD_NETGROUP_DB): Define.
12974 (netgroup_iov_disabled): Declare.
12975 (xmalloc, xcalloc, xrealloc): Move declarations here.
12976 (cache_search): Adjust prototype.
12977 Add netgroup-related prototypes.
12978 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12979 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12980 (__nscd_innetgr): Declare.
12981 * nscd/selinux.c (perms): Use access_vector_t as element type and
12982 add netgroup-related initializers.
12983 * nscd/netgroupcache.c: New file.
12984 * nscd/nscd_netgroup.c: New file.
12985 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12986 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12987 For four parameters use innetgr.
12988 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12989 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12990 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12991 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12993 * nscd/connections.c (register_traced_file): Don't register file
12994 for disabled databases.
12996 2011-10-06 Ulrich Drepper <drepper@gmail.com>
12998 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13000 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13001 from tree and freeing node.
13003 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13005 * nss/nsswitch.c (__nss_database_lookup): Handle
13006 nss_parse_service_list out of memory case.
13008 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13010 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13011 out of memory case.
13013 2011-10-04 Andreas Schwab <schwab@redhat.com>
13015 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13016 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13018 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13019 elf_machine_rela, elf_machine_lazy_rel.
13020 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13021 (ELF_DYNAMIC_DO_REL): Likewise.
13022 (ELF_DYNAMIC_DO_RELA): Likewise.
13023 (ELF_DYNAMIC_RELOCATE): Likewise.
13024 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13025 to ELF_DYNAMIC_DO_REL.
13026 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13027 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13028 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13031 skip_ifunc, don't call ifunc function if non-zero.
13032 (elf_machine_rela): Likewise.
13033 (elf_machine_lazy_rel): Likewise.
13034 (elf_machine_lazy_rela): Likewise.
13035 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13036 (elf_machine_lazy_rel): Likewise.
13037 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13039 (elf_machine_lazy_rel): Likewise.
13040 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13042 (elf_machine_lazy_rel): Likewise.
13043 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13044 (elf_machine_lazy_rel): Likewise.
13045 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13046 (elf_machine_lazy_rel): Likewise.
13047 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13048 (elf_machine_lazy_rel): Likewise.
13049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13050 (elf_machine_lazy_rel): Likewise.
13051 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13052 (elf_machine_lazy_rel): Likewise.
13053 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13054 (elf_machine_lazy_rel): Likewise.
13056 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13058 * nss/nss_files/files-init.c (_nss_files_init): Use static
13059 initialization for all the *_traced_file variables.
13061 2011-09-28 Andreas Schwab <schwab@redhat.com>
13063 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13065 2011-09-27 Roland McGrath <roland@hack.frob.com>
13068 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13070 2011-09-27 Andreas Schwab <schwab@redhat.com>
13072 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13073 Reread the line before reparsing it.
13075 2011-09-26 Andreas Schwab <schwab@redhat.com>
13077 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13079 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13080 Maxim Kuvyrkov <maxim@codesourcery.com>
13081 Joseph Myers <joseph@codesourcery.com>
13083 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13084 if needed for __stack_chk_guard.
13086 2011-09-19 Roland McGrath <roland@hack.frob.com>
13088 * sysdeps/posix/spawni.c (script_execute): Always define it.
13089 It will be optimized away if unused.
13090 (maybe_script_execute): New function.
13091 (__spawni): Call it.
13093 * Makerules: Don't include tls.make.
13094 (config-tls): Always set to thread.
13095 * tls.make.c: File removed.
13097 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13099 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13100 * config.make.in (CPPFLAGS-config): New substituted variable.
13102 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13104 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13107 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13108 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13110 2011-09-15 Roland McGrath <roland@hack.frob.com>
13112 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13113 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13114 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13115 (CALL_FAIL): Likewise.
13116 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13117 (CALL_FAIL): Macro removed.
13118 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13120 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13122 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13123 for __FINITE_MATH_ONLY__ == 1.
13125 2011-09-15 Andreas Schwab <schwab@redhat.com>
13127 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13128 __ieee754_sqrt instead of sqrt.
13129 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13130 __ieee754_sqrtf instead of sqrtf.
13131 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13132 __floorf instead of floorf.
13133 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13134 __floorf, __truncf instead of floorf, truncf.
13136 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13138 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13140 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13141 __extern_always_inline.
13142 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13145 2011-09-14 Andreas Schwab <schwab@redhat.com>
13147 * elf/rtld.c (dl_main): Also relocate in dependency order when
13148 doing symbol dependency testing.
13150 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13152 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13153 Always define `refsym'.
13155 2011-09-13 Andreas Schwab <schwab@redhat.com>
13157 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13158 (__FD_ELT): Renamed from __FDELT.
13159 * misc/bits/select2.h (__FD_ELT): Likewise.
13160 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13161 __FD_MASK instead of __FDELT, __FDMASK.
13162 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13164 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13167 * elf/Makefile (gen-ldd): Fix pattern.
13169 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13170 (init_tls): Likewise.
13172 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13176 2011-09-12 Andreas Schwab <schwab@redhat.com>
13178 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13179 `struct cmsghdr *' instead of `void *'.
13180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13183 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13185 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13187 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13188 ldd_rewrite_script.
13190 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13192 * configure.in: Remove --with-tls option.
13193 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13194 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13195 out in case it is missing.
13196 * sysdeps/ia64/elf/configure.in: Likewise.
13197 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13198 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13199 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13200 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13201 * sysdeps/sh/elf/configure.in: Likewise.
13202 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13203 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13204 * sysdeps/x86_64/elf/configure.in: Likewise.
13205 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13206 * sysdeps/mach/hurd/tls.h: Likewise.
13209 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13212 * configure.in: Fix use of AC_INIT.
13214 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13216 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13218 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13220 * malloc/hooks.c: Likewise.
13223 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13224 variables statically.
13225 (narenas): Initialize.
13226 (list_lock): Initialize.
13227 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13228 initializtion of main_arena and list_lock. Small cleanups.
13229 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13230 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13231 Add initializers to main_arena and mp_.
13232 (malloc_state): Remove pagesize member. Change all users to use
13235 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13236 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13237 is always initialized.
13239 * malloc/malloc.c: Removed unused configurations and dead code.
13240 * malloc/arena.c: Likewise.
13241 * malloc/hooks.c: Likewise.
13242 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13244 * include/tls.h: Removed. USE___THREAD must always be defined.
13245 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13246 * elf/dl-libc.c: Likewise.
13247 * elf/dl-tsd.c: Likewise.
13248 * include/errno.h: Likewise.
13249 * include/netdb.h: Likewise.
13250 * include/resolv.h: Likewise.
13251 * inet/herrno-loc.c: Likewise.
13252 * inet/herrno.c: Likewise.
13253 * malloc/arena.c: Likewise.
13254 * malloc/hooks.c: Likewise.
13255 * malloc/malloc.c: Likewise.
13256 * resolv/res-state.c: Likewise.
13257 * resolv/res_libc.c: Likewise.
13258 * sysdeps/i386/dl-machine.h: Likewise.
13259 * sysdeps/ia64/dl-machine.h: Likewise.
13260 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13261 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13262 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13263 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13264 * sysdeps/sh/dl-machine.h: Likewise.
13265 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13266 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13267 * sysdeps/unix/i386/sysdep.S: Likewise.
13268 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13269 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13270 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13271 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13272 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13273 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13274 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13276 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13278 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13279 * sysdeps/x86_64/dl-machine.h: Likewise.
13280 * tls.make.c: Likewise.
13282 * configure.in: Remove --with-__thread option. Make tests for
13283 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13284 tls_model attribute fail if no support is available. Remove
13286 * Makeconfig: Adjust for dropped configure option. All features are
13288 * Makerules: Likewise.
13289 * Versions.def: Likewise.
13290 * argp/argp-fmtstream.c: Likewise.
13291 * argp/argp-fmtstream.h: Likewise.
13292 * argp/argp-help.c: Likewise.
13293 * assert/assert.c: Likewise.
13294 * config.h.in: Likewise.
13295 * config.make.in: Likewise.
13296 * configure: Likewise.
13297 * configure.in: Likewise.
13298 * csu/Versions: Likewise.
13299 * csu/init.c: Likewise.
13300 * elf/tst-audit2.c: Likewise.
13301 * elf/tst-tls10.c: Likewise.
13302 * elf/tst-tls10.h: Likewise.
13303 * elf/tst-tls11.c: Likewise.
13304 * elf/tst-tls12.c: Likewise.
13305 * elf/tst-tls14.c: Likewise.
13306 * elf/tst-tlsmod11.c: Likewise.
13307 * elf/tst-tlsmod12.c: Likewise.
13308 * elf/tst-tlsmod13.c: Likewise.
13309 * elf/tst-tlsmod13a.c: Likewise.
13310 * elf/tst-tlsmod14a.c: Likewise.
13311 * elf/tst-tlsmod15b.c: Likewise.
13312 * elf/tst-tlsmod16a.c: Likewise.
13313 * elf/tst-tlsmod16b.c: Likewise.
13314 * elf/tst-tlsmod7.c: Likewise.
13315 * elf/tst-tlsmod8.c: Likewise.
13316 * elf/tst-tlsmod9.c: Likewise.
13317 * gmon/gmon.c: Likewise.
13318 * grp/fgetgrent_r.c: Likewise.
13319 * grp/putgrent.c: Likewise.
13320 * hurd/fopenport.c: Likewise.
13321 * include/libc-symbols.h: Likewise.
13322 * include/tls.h: Likewise.
13323 * intl/gettextP.h: Likewise.
13324 * intl/loadinfo.h: Likewise.
13325 * locale/global-locale.c: Likewise.
13326 * locale/localeinfo.h: Likewise.
13327 * mach/devstream.c: Likewise.
13328 * malloc/arena.c: Likewise.
13329 * malloc/set-freeres.c: Likewise.
13330 * misc/err.c: Likewise.
13331 * misc/getttyent.c: Likewise.
13332 * misc/mntent_r.c: Likewise.
13333 * posix/getopt.c: Likewise.
13334 * posix/wordexp.c: Likewise.
13335 * pwd/fgetpwent_r.c: Likewise.
13336 * resolv/Versions: Likewise.
13337 * resolv/res_hconf.c: Likewise.
13338 * shadow/fgetspent_r.c: Likewise.
13339 * shadow/putspent.c: Likewise.
13340 * stdio-common/printf_fphex.c: Likewise.
13341 * stdio-common/tmpfile.c: Likewise.
13342 * stdlib/abort.c: Likewise.
13343 * stdlib/fmtmsg.c: Likewise.
13344 * sunrpc/auth_unix.c: Likewise.
13345 * sunrpc/clnt_perr.c: Likewise.
13346 * sunrpc/clnt_tcp.c: Likewise.
13347 * sunrpc/clnt_udp.c: Likewise.
13348 * sunrpc/clnt_unix.c: Likewise.
13349 * sunrpc/openchild.c: Likewise.
13350 * sunrpc/svc_simple.c: Likewise.
13351 * sunrpc/svc_tcp.c: Likewise.
13352 * sunrpc/svc_udp.c: Likewise.
13353 * sunrpc/svc_unix.c: Likewise.
13354 * sunrpc/xdr.c: Likewise.
13355 * sunrpc/xdr_array.c: Likewise.
13356 * sunrpc/xdr_rec.c: Likewise.
13357 * sunrpc/xdr_ref.c: Likewise.
13358 * sunrpc/xdr_stdio.c: Likewise.
13360 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13362 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13364 2011-07-03 Andreas Jaeger <aj@suse.de>
13366 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13367 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13368 regenerate with gen-libm-tests.pl.
13370 2010-05-12 Petr Baudis <pasky@suse.cz>
13373 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13374 around j0() zero points by switching to j1().
13375 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13380 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13382 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13384 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13387 Patch in part by Pavel Roskin <proski@gnu.org>.
13390 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13392 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13393 Free memory block if necessary.
13396 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13397 be NULL. Don't lock in this case.
13399 2011-09-09 Roland McGrath <roland@hack.frob.com>
13401 * elf/elf.h (ELFOSABI_GNU): New macro.
13402 (ELFOSABI_LINUX): Define to that.
13404 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13406 * string/strncat.c (strncat): Undef the symbol in case it has been
13407 defined in bits/string.h.
13409 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13411 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13413 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13416 2011-08-17 Andreas Jaeger <aj@suse.de>
13418 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13420 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13421 Ian Lance Taylor <iant@google.com>
13423 * math/libm-test.inc (lround_test): New testcase.
13424 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13426 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13428 * Makefile: Remove support for automatic cvs check-ins.
13429 * Makerules: Likewise.
13430 * config.make.in: Likewise.
13431 * configure.in: Likewise.
13432 * intl/Makefile: Likewise.
13433 * locale/Makefile: Likewise.
13434 * po/Makefile: Likewise.
13435 * posix/Makefile: Likewise.
13436 * sysdeps/gnu/Makefile: Likewise.
13437 * sysdeps/mach/hurd/Makefile: Likewise.
13438 * sysdeps/sparc/sparc32/Makefile: Likewise.
13441 * posix/Makefile (bug-regex32-ENV): Define.
13442 Patch by John Stanley <jpsinthemix@verizon.net>.
13444 * misc/Makefile (headers): Add bits/select2.h.
13445 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13446 * misc/bits/select2.h: New file.
13447 * include/bits/select2.h: New file.
13448 * debug/Makefile (routines): Add fdelt_chk.
13449 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13450 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13452 * debug/fdelt_chk.c: New file.
13454 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13455 * wcsmbs/test-wmemcmp.c: Likewise.
13456 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13457 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13459 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13461 * string/Makefile (strop-tests): Add memcmp.
13462 * string/test-wmemcmp.c: New file.
13463 * string/test-memcmp.c: Add wmemcmp support.
13465 2011-09-08 Roland McGrath <roland@hack.frob.com>
13468 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13471 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13472 garbage value in a __mach_port_mod_refs call in the cases of the
13473 task-self and thread-self ports.
13475 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13477 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13479 2011-09-08 Andreas Schwab <schwab@redhat.com>
13481 * elf/dl-load.c (lose): Check for non-null L.
13483 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13485 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13487 * elf/dl-libc.c (dlerror_run): Pass back error code from
13491 * elf/dl-load.c (lose): Free l_origin if it is valid.
13493 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13495 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13496 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13497 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13498 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13499 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13500 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13502 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13504 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13505 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13506 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13507 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13508 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13509 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13510 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13511 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13512 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13513 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13515 2011-08-15 Alan Modra <amodra@gmail.com>
13518 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13519 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13520 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13521 ppc_mcount to static-only-routines.
13522 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13524 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13525 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13527 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13529 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13530 for finite and infinity parameters.
13532 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13534 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13535 and add nop instructions for throughput optimization.
13536 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13538 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13540 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13541 aligned copy for power7 with vector-scalar instructions.
13542 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13544 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13549 2011-09-07 Andreas Schwab <schwab@redhat.com>
13552 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13555 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13557 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13558 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13559 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13560 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13563 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13565 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13566 Forgot to demangle the pointer.
13568 * sysdeps/i386/sysdep.h: Define atom_text_section.
13569 * sysdeps/x86_64/sysdep.h: Likewise.
13570 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13571 section with atom_text_section.
13572 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13573 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13574 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13575 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13576 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13578 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13579 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13580 already be defined. Change to take two parameters and don't assign
13581 result to variable. Adjust all users.
13582 Define INTERNAL_GETTIME if not already defined.
13583 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13586 HAVE_CLOCK_GETTIME_VSYSCALL.
13587 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13589 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13590 gettimeofday vsyscall, just use time.
13592 2011-09-06 Andreas Schwab <schwab@redhat.com>
13594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13597 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13599 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13601 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13603 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13604 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13605 syscall if possible.
13607 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13609 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13610 e_ident. Don't pass to find_mapsXX.
13611 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13613 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13616 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13617 * sysdeps/x86_64/multiarch/strchr.S: Update.
13618 Check bit_slow_BSF bit.
13619 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13620 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13621 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13623 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13626 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13628 (tryshell): Define.
13629 (__spawni): Change last parameter to be flag. Test
13630 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13631 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13632 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13633 * posix/spawni.c: Likewise.
13634 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13635 * posix/spawnp.c: Likewise. Change normal version to use
13636 SPAWN_XFLAGS_USE_PATH.
13637 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13638 SPAWN_XFLAGS_TRY_SHELL.
13641 * posix/glob.h: Remove gcc 1.x support.
13644 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13646 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13649 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13651 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13652 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13653 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13654 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13655 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13656 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13658 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13660 * sysdeps/x86_64/wcscmp.S: New file.
13662 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13663 wcscmp-c wcscmp-sse2
13664 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13665 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13666 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13667 * wcsmbs/wcscmp.c: Allow renaming.
13669 2011-09-05 David S. Miller <davem@davemloft.net>
13671 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13672 stack slot, rather than the struct return pointer slot.
13673 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13674 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13676 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13678 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13680 * po/ja.po: Update from translation team.
13683 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13684 kernel in 64-bit binaries.
13686 2011-09-01 David S. Miller <davem@davemloft.net>
13688 * elf/elf.h (HWCAP_SPARC_*): Move to..
13689 * sysdeps/sparc/sysdep.h: this new file and add new values.
13690 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13691 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13692 _DL_HWCAP_COUNT to 24.
13693 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13695 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13696 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13697 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13698 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13699 instead of magic constants.
13700 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13702 2011-08-31 David S. Miller <davem@davemloft.net>
13704 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13706 Reimplement to do errno handling inline.
13707 (SYSCALL_ERROR_HANDLER): New macro.
13708 (__SYSCALL_STRING): Do not do errno handling in asm.
13709 (__CLONE_SYSCALL_STRING): Delete.
13710 (__INTERNAL_SYSCALL_STRING): Delete.
13711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13712 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13713 (PSEUDO): Reimplement to do errno handling inline.
13714 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13715 (SYSCALL_ERROR_HANDLER): New macro.
13716 (__SYSCALL_STRING): Do not do errno handling in asm.
13717 (__CLONE_SYSCALL_STRING): Delete.
13718 (__INTERNAL_SYSCALL_STRING): Delete.
13719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13720 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13722 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13723 (inline_syscall*): Add 'err' argument.
13724 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13725 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13726 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13727 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13729 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13730 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13732 2011-08-30 Andreas Schwab <schwab@redhat.com>
13734 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13736 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13738 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13741 2011-08-24 David S. Miller <davem@davemloft.net>
13743 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13745 2011-08-24 Andreas Schwab <schwab@redhat.com>
13747 * elf/Makefile: Add rules to build and run unload8 test.
13748 * elf/unload8.c: New file.
13749 * elf/unload8mod1.c: New file.
13750 * elf/unload8mod1x.c: New file.
13751 * elf/unload8mod2.c: New file.
13752 * elf/unload8mod3.c: New file.
13754 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13757 2011-08-23 David S. Miller <davem@davemloft.net>
13759 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13760 subtract stack bias.
13761 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13762 %sp not %fp in calculations.
13763 (_JMPBUF_UNWINDS_ADJ): Likewise.
13765 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13766 (aio_suspend): Call it to force an exception region around the
13767 AIO_MISC_WAIT() invocation.
13769 2011-08-23 Andreas Schwab <schwab@redhat.com>
13771 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13774 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13776 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13778 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13779 and <dl-machine.h>.
13780 (Elf64_FuncDesc): Remove.
13782 2011-08-22 David S. Miller <davem@davemloft.net>
13784 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13785 sigaltstack check, add missing cfi directives.
13786 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13787 missing cfi directives, and sigaltstack handling.
13789 2011-08-16 Andreas Schwab <schwab@redhat.com>
13792 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13793 object is seen twice.
13794 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13796 * elf/Makefile (distribute): Add tst-initorder2.c.
13797 (tests): Add tst-initorder2.
13798 (modules-names): Add tst-initorder2a tst-initorder2b
13799 tst-initorder2c tst-initorder2d. Add rules to build them.
13800 ($(objpfx)tst-initorder2.out): New rule.
13801 * elf/tst-initorder2.c: New file.
13802 * elf/tst-initorder2.exp: New file.
13804 2011-08-22 Andreas Schwab <schwab@redhat.com>
13806 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13808 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13809 dependencies back to end of function.
13811 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13812 $(elfobjdir)/ld.so.
13814 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13817 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13818 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13819 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13820 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13821 of __vdso_gettimeofday.
13822 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13823 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13825 (_libc_vdso_platform_setup): Remove initialization of
13826 __vdso_gettimeofday and __vdso_time.
13828 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13830 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13831 and fgetc_unlocked.
13832 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13835 * elf/dl-open.c (add_to_global): Report additions to the global scope
13836 for LD_DEBUG=scopes.
13837 (dl_open_worker): Also print scope of newly loaded dependencies.
13838 (_dl_show_scope): Indicate if there is no scope.
13841 * stdio-common/Makefile (tests): Add bug24.
13842 * stdio-common/bug24.c: New file.
13844 2011-08-19 Andreas Jaeger <aj@suse.de>
13847 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13848 non-existant file when using close-on-exec mode.
13850 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13852 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13853 the very first instruction.
13855 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13856 the CFI state in the end.
13857 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13858 inclusion of dl-trampoline.h.
13859 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13861 2011-08-19 Andreas Schwab <schwab@redhat.com>
13863 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13864 expectations for long double.
13866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13867 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13869 2011-08-14 David S. Miller <davem@davemloft.net>
13871 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13872 artificual limit depends upon the system page size.
13874 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13876 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13877 * resolv/Makefile: Define CFLAGS-libresolv.
13879 2011-08-17 Andreas Schwab <schwab@redhat.com>
13881 * nss/makedb.c (compute_tables): Make variables used in nested
13884 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13886 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13887 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13888 if buffer was too small.
13890 * elf/pldd.c (main): Attach to all threads in the process.
13891 Rewrite /proc handling to use *at functions.
13893 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13895 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13896 specifies first scope to show.
13897 (dl_open_worker): Update callers. Move printing scope of new
13898 object to before the relocation.
13899 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13900 * sysdeps/generic/ldsodefs.h: Update declaration.
13902 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13903 string for the scope number.
13905 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13907 * nscd/servicescache.c (cache_addserv): Make sure written is always
13910 2011-08-14 Roland McGrath <roland@hack.frob.com>
13912 * sysdeps/i386/i486/bits/atomic.h
13913 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13914 statement expression, so as to suppress "set but not used" warning.
13915 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13917 * string/strncat.c (STRNCAT): Use prototype definition.
13919 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13920 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13922 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13923 (localedef-modules): Add localedef.
13924 (locale-modules): Add locale.
13926 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13927 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13928 to avoid a warning.
13930 2011-08-14 David S. Miller <davem@davemloft.net>
13932 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13933 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13935 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13937 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13938 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13939 * elf/rtld.c (dl_main): Set l_name of vDSO.
13940 Call _dl_show_scope when DL_DEBUG_SCOPES.
13941 (process_dl_debug): Recognize scopes flag and also set it for all.
13942 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13943 Declare _dl_show_scope.
13945 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13946 (do_dlopen): Pass caller_dlopen to dl_open.
13947 (__libc_dlopen_mode): Initialize caller_dlopen.
13949 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13950 of libc. Make tolower call locale-independent. Optimize a bit by
13951 using isdigit instead of isalnum.
13952 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13954 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13956 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13957 was a dependency or dynamically loaded.
13959 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13961 * intl/l10nflist.c: Allow architecture-specific pop function.
13962 * sysdeps/x86_64/l10nflist.c: New file.
13964 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13967 2011-08-10 Andreas Schwab <schwab@redhat.com>
13969 * include/dirent.h: Add libc_hidden_proto for scandirat and
13970 scandirat64. Don't declare __scandirat64.
13971 * dirent/scandirat.c: Add libc_hidden_def.
13972 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13973 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13975 2011-08-10 David S. Miller <davem@davemloft.net>
13977 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13979 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13980 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13981 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13983 2011-08-09 Ulrich Drepper <drepper@gmail.com>
13985 * Versions.def [libc]: Add GLIBC_2.15.
13986 * dirent/Makefile (routines): Add scandirat and scandirat64.
13987 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13989 * dirent/dirent.h: Declare scandirat and scandirat64.
13990 * dirent/scandirat.c: New file.
13991 * dirent/scandirat64.c: New file.
13992 * sysdeps/wordsize-64/scandirat.c: New file.
13993 * sysdeps/wordsize-64/scandirat64.c: New file.
13994 * dirent/opendir.c: Define opendirat.
13995 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13997 * dirent/scandir64.c: Adjust for scandir.c change.
13998 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13999 __scandirat64, and __scandir_cancel_handler.
14000 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14001 additional parameter and use openat instead of open (outside of ld.so).
14002 Add new __opendir as wrapper around __opendirat.
14003 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14004 here without requiring old scandirat implementation.
14006 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14008 * dirent/scandir.c (cancel_handler): Renamed to
14009 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14010 defined. Adjust users.
14011 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14012 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14014 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14016 * string/test-string.h (IMPL): Use __STRING to expand name and then
14019 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14022 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14024 * string/Makefile: Update.
14025 (strop-tests): Append strncat.
14026 * string/test-wcscmp.c: New file.
14027 New comprehensive test for wcscmp.
14028 * string/test-strcmp.c: Update.
14029 (WIDE): New define.
14031 2011-07-22 Andreas Schwab <schwab@redhat.com>
14033 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14036 2011-07-26 Andreas Schwab <schwab@redhat.com>
14038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14039 encoding to ACE if AI_IDN.
14041 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14043 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14044 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14046 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14048 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14049 Fix overflow bug in strncat.
14050 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14052 * string/test-strncat.c: Update.
14053 Add new tests for checking overflow bugs.
14055 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14058 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14059 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14060 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14061 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14062 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14063 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14064 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14065 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14068 (USE_AS_STRCAT): Define.
14069 Add strcat and strncat support.
14070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14072 2011-07-25 Andreas Schwab <schwab@redhat.com>
14074 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14075 __n bigger than INT_MAX+1.
14076 (__strncmp_g): Likewise.
14078 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14080 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14081 * libio/stido.h: Likewise.
14083 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14088 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14089 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14090 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14091 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14092 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14095 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14098 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14100 (_dl_x86_64_save_sse): Likewise.
14102 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14106 (_dl_x86_64_save_sse): Likewise.
14108 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14110 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14112 2011-07-21 Andreas Schwab <schwab@redhat.com>
14114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14116 (_dl_x86_64_save_sse): Use correct AVX check.
14118 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14120 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14121 bug in strncpy/strncat.
14122 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14124 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14126 * string/tester.c (test_strcat): Add tests for different alignments
14127 of source and destination.
14128 (test_strncat): Likewise.
14130 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14133 * posix/glob.c (glob): Check passed in values before using them in
14134 expressions to avoid some overflows.
14135 (glob_in_dir): Likewise.
14138 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14139 check for AVX enablement so that we don't crash with old kernels and
14141 * elf/tst-audit4.c: Add same checks here.
14142 * elf/tst-audit6.c: Likewise.
14144 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14146 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14148 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14150 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14152 * po/cs.po: Update from translation team.
14153 * po/bg.po: Likewise.
14155 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14157 * misc/sys/cdefs.h: Add support for const attribute.
14158 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14159 to gnu_dev_{major,minor,makedev} functions.
14161 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14163 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14165 2011-07-20 Andreas Schwab <schwab@redhat.com>
14167 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14170 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14172 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14173 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14174 register in order to avoid conflicts with the soft frame pointer
14175 being held in r11 when necessary.
14176 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14177 (INTERNAL_VSYSCALL_NCS): Likewise.
14179 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14181 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14182 * elf/dl-fini.c (_dl_fini): Adjust caller.
14183 * elf/dl-close.c (_dl_close_worker): Likewise.
14184 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14186 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14188 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14189 "aux_cache->nlibs < 0".
14191 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14192 in the reload-count case.
14194 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14197 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14198 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14199 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14200 * sysdeps/x86_64/multiarch/strcat.S: New file.
14201 * sysdeps/x86_64/multiarch/strncat.S: New file.
14202 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14203 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14204 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14205 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14206 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14207 (USE_AS_STRCAT): Define.
14208 Add strcat and strncat support.
14209 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14210 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14211 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14212 * string/strncat.c: Update.
14213 (USE_AS_STRNCAT): Define.
14214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14215 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14217 * sysdeps/x86_64/multiarch/init-arch.h
14218 (bit_Prefer_PMINUB_for_stringop): New.
14219 (index_Prefer_PMINUB_for_stringop): Likewise.
14220 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14221 bit_Prefer_PMINUB_for_stringop.
14223 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14225 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14227 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14228 of casting of buffer.
14229 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14230 buffer32 and buffer64.
14231 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14232 writes instead of casting of buffer.
14233 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14235 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14238 2011-07-19 Andreas Schwab <schwab@redhat.com>
14240 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14242 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14244 * nscd/nscd.c (termination_handler): Don't do anything for a database
14245 if it has not yet been initialized.
14247 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14249 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14251 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14253 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14255 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14257 * po/nl.po: Update from translation team.
14258 * po/sv.po: Likewise.
14260 2011-07-16 Roland McGrath <roland@hack.frob.com>
14262 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14263 now disallowed by GCC.
14265 * configure.in (use-default-link): Default to yes if a test -shared
14266 link meets our qualifications.
14267 * configure: Regenerated.
14269 * config.make.in (output-format): New variable.
14270 * configure.in: Check for ld --print-output-format support.
14271 * configure: Regenerated.
14272 * Makerules ($(common-objpfx)format.lds)
14273 [$(output-format) != unknown]: Just use $(output-format),
14274 instead of the linker-script munging.
14276 2011-07-14 Roland McGrath <roland@hack.frob.com>
14278 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14279 of $(common-objpfx)shlib.lds.
14280 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14282 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14283 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14285 * configure.in (-z relro check): Adjust test code to add a large
14286 writable data section after it.
14287 * configure: Regenerated.
14289 2011-07-11 Roland McGrath <roland@hack.frob.com>
14291 * configure.in (-z relro check): Fix test code to make the variable
14293 * configure: Regenerated.
14295 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14297 * nscd/nscd.h (struct traced_file): Define.
14298 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14299 elements. Add traced_files.
14300 (inotify_fd): Declare.
14301 (register_traced_file): Declare.
14302 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14303 (inotify_fd): Export.
14304 (resolv_conf_descr): Remove.
14305 (nscd_init): Move inotify descriptor creation to main.
14306 Don't register files for notification here.
14307 (register_traced_file): New function.
14308 (invalidate_cache): Don't use reset_res to determine whether to call
14309 res_init, go through the list of registered files.
14310 (main_loop_poll): The inotify descriptors are now stored in the
14311 structures for the traced files.
14312 (main_loop_epoll): Likewise
14313 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14314 to __nss_disable_nscd.
14315 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14316 for a database anymore. Check the records for all the registered
14318 * nss/Makefile (libnss_files-routines): Add files-init.
14319 (libnss_db-routines): Add db-init.
14320 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14321 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14322 * nss/nss_db/db-init.c: New file.
14323 * nss/nss_files/files-init.c: New file.
14324 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14325 __nss_lookup_function.
14326 (__nss_lookup_function): Call nss_load_library.
14327 (nss_load_all_libraries): New function.
14328 (__nss_disable_nscd): Take parameter with callback function for files
14329 to register. Set is_nscd. Load all the DSOs for the NSS modules
14330 used for the cached services.
14331 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14332 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14333 options for features to all the files in nscd.
14335 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14337 2011-07-10 Roland McGrath <roland@hack.frob.com>
14339 * csu/elf-init.c (__libc_csu_init): Comment typo.
14341 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14343 * po/pl.po: Update from translation team.
14344 * po/ja.po: Likewise.
14345 * po/ru.po: Likewise.
14346 * po/ko.po: Likewise.
14347 * po/fr.po: Likewise.
14349 2011-07-09 Roland McGrath <roland@hack.frob.com>
14351 * configure.in (.ctors/.dtors header and trailer check):
14352 Use an empirical test on a built program.
14353 * configure: Regenerated.
14355 * configure.in (-z relro check): Use an empirical test on a built DSO.
14356 Detect, but do not require, on ia64.
14357 * configure: Regenerated.
14359 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14360 Update tests that use readelf to use $READELF instead.
14361 * configure: Regenerated.
14363 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14365 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14366 if the result is not used.
14368 2011-07-05 Andreas Jaeger <aj@suse.de>
14371 * stdlib/tst-strtod.c: Add testcase.
14373 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14375 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14376 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14377 The latter has a higher limit. Take additional parameter to pass to
14379 (__pathconf): Pass file to __statfs_link_max.
14380 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14382 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14386 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14387 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14389 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14390 (__statfs_filesize_max): Likewise.
14391 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14393 2011-07-05 Andreas Jaeger <aj@suse.de>
14395 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14397 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14399 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14401 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14404 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14406 * Makefile (strop-tests): Add strncat.
14407 * string/test-strncat.c: New file.
14409 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14411 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14413 2011-06-21 Andreas Jaeger <aj@suse.de>
14415 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14416 Copy rule from iconvdata/Makefile.
14418 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14421 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14422 but no long options are defined, just return 'W'.
14424 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14427 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14429 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14431 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14433 (innetgr): Likewise.
14435 2011-07-05 Roland McGrath <roland@hack.frob.com>
14437 * config.make.in (install_root): Default to $(DESTDIR).
14439 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14441 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14443 2011-07-02 Roland McGrath <roland@hack.frob.com>
14445 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14447 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14448 containing directory rather than embedding absolute directory names.
14450 * scripts/check-local-headers.sh: Rewritten using awk.
14451 Match by word, not by line. Print error messages for matches.
14452 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14454 * Makerules [shlib-lds-flags empty]:
14455 ($(common-objpfx)libc_pic.opts): New target.
14456 ($(common-objpfx)libc_pic.os.clean): New target.
14457 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14459 * config.make.in (OBJCOPY): New variable.
14460 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14461 * configure: Regenerated.
14463 * config.make.in (use-default-link): New variable.
14464 * configure.in (use_default_link): Grok --with-default-link to set it.
14465 * configure: Regenerated.
14466 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14467 (shlib-lds, shlib-lds-flags): Define to empty.
14469 * Makerules (shlib-lds): New variable.
14470 (shlib-lds-flags): New variable.
14471 (build-shlib, build-moduile, build-module-asneeded): Use it.
14472 ($(common-objpfx)libc.so): Use $(shlib-lds).
14473 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14474 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14476 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14477 DT_FLAGS/DT_FLAGS_1 with zero flags.
14479 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14480 linker script munging.
14482 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14484 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14486 * crypt/sha512.c (sha512_process_block): Perform total addition using
14487 128-bit if possible.
14488 (__sha512_finish_ctx): Likewise.
14489 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14491 * crypt/sha256.c (SWAP64): Define.
14492 (sha256_process_block): Perform total addition using 64-bit if
14494 (__sha256_finish_ctx): Likewise.
14496 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14498 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14499 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14500 * nscd/hstcache.c (cache_addhst): Likewise.
14501 * nscd/grpcache.c (cache_addgr): Likewise.
14502 * nscd/aicache.c (addhstaiX): Likewise
14503 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14505 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14507 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14508 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14509 * nscd/hstcache.c (cache_addhst): Likewise.
14510 * nscd/grpcache.c (cache_addgr): Likewise.
14511 * nscd/aicache.c (addhstaiX): Likewise
14513 2011-07-01 Andreas Schwab <schwab@redhat.com>
14515 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14516 domain only when needed.
14518 2011-06-30 Andreas Schwab <schwab@redhat.com>
14520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14521 is always restored.
14523 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14525 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14526 are re-adding the entry.
14527 * nscd/servicescache.c (cache_addserv): Likewise.
14529 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14531 * sysdeps/generic/dl-irel.h: fix protection against multiple
14533 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14535 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14538 * malloc/memusage.sh: Fix quoting in message.
14539 * debug/xtrace.sh: Likewise.
14541 * configure.in: Remove support for --experimental-malloc option, make
14543 * config.make.in: Likewise.
14544 * malloc/Makefile: Likewise.
14546 2011-06-27 Andreas Schwab <schwab@redhat.com>
14548 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14549 two-byte characters.
14551 2011-06-27 Roland McGrath <roland@hack.frob.com>
14553 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14554 AC_CACHE_CHECK invocation.
14555 * configure: Regenerated.
14557 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14559 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14562 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14563 bit from old_res_options.
14565 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14567 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14568 value type for setfct.
14570 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14572 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14573 __gettimeofday instead of gettimeofday.
14575 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14577 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14579 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14581 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14586 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14589 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14590 strcpy-sse2-unaligned strncpy-sse2-unaligned
14591 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14592 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14593 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14594 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14595 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14596 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14597 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14598 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14599 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14600 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14601 (STRCPY): Support SSE2 and SSSE3 versions.
14603 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14606 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14607 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14608 kernels which artificially limit size of requests.
14610 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14613 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14614 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14615 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14616 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14617 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14618 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14619 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14620 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14622 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14623 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14624 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14625 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14626 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14628 Enable unaligned load optimization for Intel Core i3, i5 and i7
14630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14632 (index_Fast_Unaligned_Load): Define.
14633 (HAS_FAST_UNALIGNED_LOAD): Define.
14635 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14637 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14639 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14643 until it is clear that the information is realy needed.
14644 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14646 2011-06-22 Andreas Schwab <schwab@redhat.com>
14648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14650 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14652 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14653 /sys/devices/system/cpu/online if it is usable.
14655 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14656 reading the information from the /proc filesystem to once a second.
14658 2011-06-21 Andreas Jaeger <aj@suse.de>
14660 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14661 NULL after inclusion of kernel headers.
14663 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14665 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14666 calls to internal_setent.
14669 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14670 addresses using gethostbyname4_r ignore IPv4 addresses.
14672 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14673 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14675 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14677 2011-06-20 David S. Miller <davem@davemloft.net>
14679 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14681 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14683 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14684 (elf_irel): Use it.
14685 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14686 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14687 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14688 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14689 * sysdeps/x86_64/dl-irel.h: Likewise.
14691 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14692 * elf/dl-sym.c: Likewise.
14694 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14696 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14697 need to dereference resplen2.
14699 2011-06-14 Andreas Schwab <schwab@redhat.com>
14701 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14703 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14705 * Makeconfig: Define vardbdir and inst_vardbdir.
14706 * nss/Makefile: Add rules to install db-Makefile.
14708 * nss/nss_db/db-XXX.c: Cleanup.
14710 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14711 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14713 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14714 * nss/makedb.c: Implement -g option to specify that value strings
14715 are generated and should not be added to table iterated over for
14717 * nss/nss_db/db-initgroups.c: New file.
14719 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14722 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14723 (internal_getgrouplist): Adjust to name change.
14724 Update use_initgroups_entry if this is not the first call.
14725 * nss/databases.def: Add initgroups entry.
14727 * nss/makedb.c (compute_tables): Check result of multiple hash table
14728 sizes to minimize maximum chain length.
14730 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14732 * Versions.def: Add entry for libnss_db.
14733 * shlib-versions: Likewise.
14734 * nss/Makefile: Add rules to build libnss_db.
14735 * nss/Versions: Add libnss_db information. Organize libnss_files
14737 * nss/db-Makefile: Add gshadow support. Change rules for the new
14738 makedb progra. Some minor improvements to generate smaller files.
14739 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14741 * nss/makedb.c: ...here.
14742 Improve database format to be smaller and require less memory at
14744 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14746 * nss/nss_db/db-netgrp.c: Likewise.
14747 * nss/nss_db/db-open.c: Likewise.
14748 * nss/nss_files/flies-XXX.x: Adjust comments.
14749 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14750 * nss/nss_files/files-grp.c: Likewise.
14751 * nss/nss_files/files-hosts.c: Likewise.
14752 * nss/nss_files/files-network.c: Likewise.
14753 * nss/nss_files/files-proto.c: Likewise.
14754 * nss/nss_files/files-pwd.c: Likewise.
14755 * nss/nss_files/files-rpc.c: Likewise.
14756 * nss/nss_files/files-service.c: Likewise.
14757 * nss/nss_files/files-sgrp.c: Likewise.
14758 * nss/nss_files/files-spwd.c: Likewise.
14759 * nss/nss_db/db-alias.c: Removed.
14760 * nss/nss_db/dummy-db.h: Removed.
14762 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14764 * nss/makedb.c: Rewritten to not use database library.
14765 * nss/Makefile: Update to build new makedb program.
14767 2011-06-14 Andreas Jaeger <aj@suse.de>
14769 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14770 memset declaration.
14772 2011-06-10 Andreas Schwab <schwab@redhat.com>
14774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14777 2011-06-10 Roland McGrath <roland@hack.frob.com>
14779 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14780 * elf/Makefile ($(objpfx)ld.so): Likewise.
14782 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14783 Don't list ld.so twice in dependencies.
14785 * posix/bug-regex31.c: Include <stdlib.h>.
14787 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14789 * nis/nss_compat/compat-spwd.c
14790 (getspent_next_nss_netgr): Remove unused variable.
14791 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14793 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14794 nonmembers" output to use the right array.
14796 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14798 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14800 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14801 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14802 * catgets/gencat.c (read_input_file): Likewise.
14803 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14805 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14806 variable definition inside #if's controlling its use.
14808 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14810 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14812 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14814 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14817 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14819 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14820 * configure: Regenerated.
14822 * Makerules: Revert last change.
14823 * elf/Makefile: Likewise.
14825 2011-06-09 Roland McGrath <roland@hack.frob.com>
14827 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14828 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14829 (reloc-link): Likewise.
14831 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14833 * elf/Makefile: Add rules to build pldd.
14834 * elf/pldd.c: New file.
14835 * elf/pldd-xx.c: New file.
14837 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14839 * version.h: Update for 2.15 development version.
14841 2011-06-07 David S. Miller <davem@davemloft.net>
14843 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14845 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14846 elf_machine_lazy_rel): Likewise.
14847 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14849 elf_machine_lazy_rel): Likewise.
14850 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14851 dl_hwcap via passed in argument.
14852 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14855 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14857 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14859 2011-06-06 Roland McGrath <roland@hack.frob.com>
14862 * manual/fdl-1.1.texi: New file, verbatim from:
14863 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14864 * manual/lgpl-2.1.texi: New file, verbatim from:
14865 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14866 * manual/Makefile (licenses): New variable, list those new file names.
14868 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14870 * manual/fdl.texi: File removed.
14871 * manual/lesser.texi: File removed.
14872 * manual/libc.texinfo (Copying, Documentation License):
14873 Use new @include file names, put @appendix directive before @include.
14875 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14878 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14879 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14880 (mq_open): Add __NTH.
14882 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14885 Assume Intel Core i3/i5/i7 processor if AVX is available.
14887 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14889 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14892 2011-05-31 Andreas Schwab <schwab@redhat.com>
14894 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14895 memory. Use alloca_account. Fix memory leak when retrying.
14897 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14899 * version.h (RELEASE): Bump for 2.14 release.
14900 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14902 * config.make.in (RANLIB): Remove entry.
14904 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14906 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14907 (libc.pot): Work around missing support for .ksh extension in xgettext.
14910 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14911 if both request failed.
14912 (send_dg): In case of server errors clear resplen or *resplen2.
14915 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14916 when there are multiple maps.
14917 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14918 (_dl_fini): Remove test here.
14920 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14922 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14925 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14926 bit from old_res_options.
14927 (gaih_inet): Likewise.
14930 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14933 * resolv/res_init.c (res_setoptions): Make the code more compact.
14936 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14940 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14942 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14945 * malloc/malloc.h: Declare malloc hook variables as volatile.
14947 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14951 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14952 raise in the comment.
14953 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14954 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14955 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14957 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14960 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14961 grow the buffers more if it already has to be sufficient.
14962 (build_wcs_upper_buffer): Likewise.
14963 * posix/regexec.c (check_matching): Likewise.
14964 (clean_state_log_if_needed): Likewise.
14965 (extend_buffers): Don't enlarge buffers beyond size of the input
14967 Patches mostly by Emil Wojak <emil@wojak.eu>.
14968 * posix/bug-regex32.c: New file.
14969 * posix/Makefile (tests): Add bug-regex32.
14971 * locale/findlocale.c (_nl_find_locale): Return right away if
14972 _nl_explode_name failed.
14973 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14975 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14977 * debug/xtrace.sh: Unify messages.
14978 * malloc/memusage.sh: Likewise.
14981 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14982 time symbol from vDSO. Substitute with vsyscall if not available.
14983 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14986 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14987 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14988 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14989 Add sendmmsg and internal_sendmmsg.
14990 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14991 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14992 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14994 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14995 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14996 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14998 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15001 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15002 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15008 * iconvdata/Makefile (tests): Add bug-iconv9.
15009 * iconvdata/bug-iconv9.c: New file.
15011 2011-05-27 Andreas Schwab <schwab@redhat.com>
15014 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15016 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15018 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15019 (struct user_regs_struct): Change intcs field back to cs.
15021 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15023 * po/ja.po: Update from translation team.
15025 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15028 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15029 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15031 2011-05-20 Andreas Schwab <schwab@redhat.com>
15033 * stdlib/longlong.h: Update from GCC.
15035 2011-05-23 Andreas Schwab <schwab@redhat.com>
15037 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15039 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15040 Add parameter name.
15041 (__sysconf): Pass it down.
15043 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15046 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15048 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15049 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15050 add in in __libc_use_alloca calls. Adjust callers.
15051 (glob): Use malloc in some situations.
15053 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15054 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15057 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15059 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15060 and CLOCK_BOOTTIME_ALARM.
15063 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15066 * string/_strerror.c (__strerror_r): Print negative errors as signed
15070 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15071 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15072 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15074 * configure.in: Fix typo in redirection and correct removal of test
15075 files in two cases.
15078 * locale/setlocale.c (new_composite_name): Fix test to check for
15079 identical name of all categories.
15082 * libio/filedoalloc.c (local_isatty): New function.
15083 (_IO_file_doallocate): Use local_isatty.
15084 * stdio-common/perror.c (perror): In case a new stream is used
15085 forward the stream error.
15086 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15089 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15094 * include/alloca.h (extend_alloca_account): Define.
15097 * posix/regex.h: Fix comments with documentation of user-accessible
15098 fields after compilation and describe correct free'ing of pattern
15099 after re_compile_pattern.
15100 Patch by Reuben Thomas <rrt@sc3d.org>.
15102 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15104 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15105 and -mno-altivec to prevent the compiler from using Altivec and/or
15106 VSX instructions when the corresponding registers are not available.
15108 2011-05-19 Andreas Schwab <schwab@redhat.com>
15110 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15112 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15114 * libio/freopen.c (freopen): Use __dup2, not dup2.
15115 * libio/freopen64.c (freopen64): Likewise.
15117 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15120 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15121 * math/Makefile (tests): Add test-powl.
15122 (CFLAGS-test-powl.c): Define.
15123 * math/test-powl.c: New file.
15125 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15127 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15129 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15132 * iconvdata/gb18030.c: Update to GB18020-2005.
15134 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15136 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15137 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15138 Patch by Aharon Robbins <arnold@skeeve.com>.
15141 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15145 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15146 through underflows.
15149 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15150 point to strings before performing equality test for error_one_per_line
15154 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15157 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15158 (struct user_fpregs_struct): Avoid __uint*_t types.
15161 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15162 symbol info. Use it instead of calling _dl_addr locally.
15163 (lock_and_info): New function.
15164 (tr_freehook): Call lock_and_info and pass symbol info as additional
15165 parameter to tr_where.
15166 (tr_mallochook): Likewise.
15167 (tr_reallochook): Likewise.
15168 (tr_memalignhook): Likewise.
15170 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15171 used and couldn't be at all thread-safe.
15173 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15175 * libio/freopen.c (freopen): Don't close old file descriptor
15176 before the new one is opened. Instead dup the new file descriptor
15177 to the old one after the new stream is created.
15178 * libio/freopen64.c (freopen64): Likewise.
15179 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15180 * libio/fileops.c (_IO_new_file_close_it): Handle new
15181 _IO_FLAGS2_NOCLOSE flag.
15182 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15183 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15184 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15185 _IO_FLAGS2_NOCLOSE flag.
15186 * include/unistd.h: Add hidden_proto for dup3.
15187 Define __have_dup3.
15188 * io/dup3.c: Define hidden symbol.
15189 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15192 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15193 when an incomplete long option is used.
15194 * posix/tst-getopt_long1.c: New file.
15195 * posix/Makefile (tests): Add tst-getopt_long1.
15198 * scripts/config.guess: Update from autoconf-2.68.
15199 * scripts/config.sub: Likewise.
15202 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15204 (has_cpuclock): ...this. New function.
15205 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15206 macro here based on has_cpuclock code.
15209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15210 First byte (not low byte) is now always NUL.
15211 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15213 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15214 Use non-cancelable interfaces.
15217 * locale/iso-639.def: Add entry for Sorani.
15220 * include/stdlib.h: Move include protection to the right place.
15221 Define abort_msg_s. Declare __abort_msg with it.
15222 * stdlib/abort.c (__abort_msg): Adjust type.
15223 * assert/assert.c (__assert_fail_base): New function. Majority
15224 of code from __assert_fail. Allocate memory for __abort_msg with
15226 (__assert_fail): Now call __assert_fail_base.
15227 * assert/assert-perr.c: Remove bulk of implementation. Use
15228 __assert_fail_base.
15229 * include/assert.hL Declare __assert_fail_base.
15230 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15232 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15234 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15238 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15239 until all modules are registered in the DTV.
15240 * elf/Makefile: Add rules to build and run tst-tls19.
15241 * elf/tst-tls19.c: New file.
15242 * elf/tst-tls19mod1.c: New file.
15243 * elf/tst-tls19mod2.c: New file.
15244 * elf/tst-tls19mod3.c: New file.
15245 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15248 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15252 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15253 two-byte sequence errors.
15254 * iconvdata/Makefile (tests): Add bug-iconv8.
15255 * iconvdata/bug-iconv8.c: New file.
15258 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15261 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15264 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15265 (dummy_getcfa): New function.
15266 (init): Get _Unwind_GetCFA address, use dummy if not found.
15267 (backtrace_helper): In recursion check, also check whether CFA changes.
15268 (__backtrace): Completely initialize arg.
15270 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15271 storing incomplete byte sequence in state object. Avoid testing for
15272 guaranteed too small input if we know there is enough data available.
15274 2011-05-11 Andreas Schwab <schwab@redhat.com>
15276 * Makeconfig (+link-pie): Indent.
15277 * Rules (binaries-pie): Define if $(have-fpie) and
15279 (binaries-shared): Also filter out $(binaries-pie).
15280 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15281 * nscd/Makefile (others-pie): Add nscd.
15282 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15283 ($(objpfx)nscd): Remove command override.
15284 * login/Makefile (others-pie): Add pt_chown.
15285 ($(objpfx)pt_chown): Remove command override.
15286 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15287 remove command overrides.
15289 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15291 * libio/tst_putwc.c: Fix error messages.
15294 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15295 currently writing and seek to current position when not.
15296 * libio/Makefile (tests): Add bug-fclose1.
15297 * libio/bug-fclose1.c: New file.
15299 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15302 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15303 don't set DF_1_NODELETE here.
15304 (do_lookup_x): When entering new entry test for copy relocation
15305 and if necessary set DF_1_NODELETE flag.
15306 * elf/tst-unique4.cc: New file.
15307 * elf/tst-unique4.h: New file.
15308 * elf/tst-unique4lib.cc: New file.
15309 * elf/Makefile: Add rules to build and run tst-unique4.
15310 Patch by Piotr Bury <pbury@goahead.com>.
15312 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15315 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15318 * misc/mntent_r.c (addmntent): Flush the stream after the output
15321 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15322 (is_trusted_path_normalize): Skip initial colon. Append slash
15323 to empty buffer. Duplicate is_trusted_path code but allow
15324 constructed patch to be prefix.
15325 (is_dst): Allow $ORIGIN followed by /.
15326 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15327 Correct testing of result of is_trusted_path_normalize
15328 (decompose_rpath): Fix warning.
15330 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15333 * grp/initgroups.c (internal_getgrouplist): When we found the service
15334 list through the initgroups entry in nsswitch.conf do not always
15335 continue on a successful lookup. Don't always use the
15336 __nss_group_database value if it is set.
15337 * nss/nsswitch.conf (initgroups): Change action for successful db
15338 lookup to continue for compatibility.
15340 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15343 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15345 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15347 * iconvdata/tst-tables.sh: Likewise.
15348 * iconvdata/cp770.c: New file.
15349 * iconvdata/cp771.c: New file.
15350 * iconvdata/cp772.c: New file.
15351 * iconvdata/cp773.c: New file.
15352 * iconvdata/cp774.c: New file.
15353 * iconvdata/testdata/CP770: New file.
15354 * iconvdata/testdata/CP770..UTF8: New file.
15355 * iconvdata/testdata/CP771: New file.
15356 * iconvdata/testdata/CP771..UTF8: New file.
15357 * iconvdata/testdata/CP772: New file.
15358 * iconvdata/testdata/CP772..UTF8: New file.
15359 * iconvdata/testdata/CP773: New file.
15360 * iconvdata/testdata/CP773..UTF8: New file.
15361 * iconvdata/testdata/CP774: New file.
15362 * iconvdata/testdata/CP774..UTF8: New file.
15364 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15366 * iconvdata/gen-8bit-gap.sh: Likewise.
15367 * iconvdata/gen-8bit.sh: Likewise.
15369 * locale/iso-639.def: Add ary entry.
15372 * locale/C-translit.h.in: Add U20A1 transliteration.
15375 * locale/iso-639.def: Add wae entry.
15376 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15379 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15383 * locale/C-translit.h.in: Add entry for U20B9.
15384 Patch by pravin.d.s@gmail.com.
15386 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15389 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15390 ENAMETOOLONG use generic getcwd.
15391 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15392 in rtld. Use *stat64.
15393 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15394 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15395 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15396 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15397 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15398 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15399 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15400 __fstatat64 macros.
15401 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15402 * dirent/rewinddir.c: Add libc_hidden_def.
15403 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15404 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15406 * include/dirent.h (__alloc_dir): Add flags parameter.
15407 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15408 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15410 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15411 from fdopendir if O_CLOEXEC is already set.
15413 2011-03-15 Alan Modra <amodra@gmail.com>
15415 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15416 l_tls_firstbyte_offset non-zero. Save padding offset in
15417 l_tls_firstbyte_offset for later use.
15418 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15419 freeing static tls block.
15421 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15423 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15424 where #ifdef was intended. The intent is to prevent ARG_MAX from
15425 being defined by the kernel headers.
15427 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15430 * resolv/resolv.h: Define RES_NOTLDQUERY.
15431 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15432 no-tld-query and set RES_NOTLDQUERY.
15433 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15434 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15435 modern BIND to search name as TLD unless forbidden.
15437 2011-05-07 Petr Baudis <pasky@suse.cz>
15438 Ulrich Drepper <drepper@gmail.com>
15441 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15442 (is_trusted_path): ...to here.
15443 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15444 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15445 using is_trusted_path_normalize() in setuid scripts.
15447 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15449 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15450 __BEGIN/__END_DECLS.
15452 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15454 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15455 NSS_STATUS_NOTFOUND if no record was found.
15457 2011-05-05 Andreas Schwab <schwab@redhat.com>
15459 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15460 (headers-not-in-tirpc): Remove rpc/netdb.h
15461 * resolv/netdb.h: Revert last change.
15463 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15465 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15466 circular dependency between libgcc.a and libc.a.
15468 2011-05-05 Andreas Schwab <schwab@redhat.com>
15470 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15471 * nis/Makefile: Don't install rpcsvc/*.
15472 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15473 instead of <rpc/types.h>.
15474 (MAXHOSTNAMELEN): Define.
15476 2011-05-03 Andreas Schwab <schwab@redhat.com>
15478 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15480 2011-04-28 Maciej Babinski <mbabinski@google.com>
15483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15484 gethostbyname4_r when IPv6 results are possible.
15486 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15489 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15490 _PC_PIPE_BUF handling.
15492 2011-04-30 Bruno Haible <bruno@clisp.org>
15495 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15496 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15498 * inet/getnameinfo.c (getnameinfo): Likewise.
15500 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15502 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15503 to groups setting in database lookup.
15504 * nss/nsswitch.conf: Add initgroups entry.
15506 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15509 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15511 Patch by Eric Blake <eblake@redhat.com>.
15513 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15515 * sunrpc/Makefile (need-export-routines): Add svc_run.
15516 (routines): Remove svc_run.
15517 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15518 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15519 * sunrpc/svc_run.c (svc_run): Likewise.
15520 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15522 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15524 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15525 problem in reallocation in last patch.
15527 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15529 * sunrpc/Makefile: Move inclusion of Rules.
15531 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15533 * nss/nss_files/files-initgroups.c: New file.
15534 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15535 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15536 _nss_files_initgroups_dyn.
15538 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15540 * elf/elf.h (R_ARM_IRELATIVE): Define.
15542 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15544 * po/ru.po: Update from translation team.
15546 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15548 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15551 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15554 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15555 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15557 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15560 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15562 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15564 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15568 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15571 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15573 * stdlib/bug-getcontext.c: New file.
15574 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15576 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15578 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15579 instructions into .machine "z9-109".
15580 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15581 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15583 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15585 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15586 between environment variables and auxiliary vector.
15588 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15590 * Makefile: Add rules to build linkobj/libc.so.
15591 * include/libc-symbols.h: Define libc_hidden_nolink.
15592 * include/rpc/auth.h: Mark functions which are to be hidden.
15593 * include/rpc/auth_des.h: Likewise.
15594 * include/rpc/auth_unix.h: Likewise.
15595 * include/rpc/clnt.h: Likewise.
15596 * include/rpc/des_crypt.h: Likewise.
15597 * include/rpc/key_prot.h: Likewise.
15598 * include/rpc/pmap_clnt.h: Likewise.
15599 * include/rpc/pmap_prot.h: Likewise.
15600 * include/rpc/pmap_rmt.h: Likewise.
15601 * include/rpc/rpc_msg.h: Likewise.
15602 * include/rpc/svc.h: Likewise.
15603 * include/rpc/svc_auth.h: Likewise.
15604 * include/rpc/xdr.h: Likewise.
15605 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15606 * nss/Makefile: Likewise.
15607 * sunrpc/Makefile: Don't install headers. Build library with normal
15608 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15609 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15610 for the compat linking library. Remove use of INTDEF/INTUSE.
15611 * sunrpc/auth_none.c: Likewise.
15612 * sunrpc/auth_unix.c: Likewise.
15613 * sunrpc/authdes_prot.c: Likewise.
15614 * sunrpc/authuxprot.c: Likewise.
15615 * sunrpc/clnt_gen.c: Likewise.
15616 * sunrpc/clnt_perr.c: Likewise.
15617 * sunrpc/clnt_raw.c: Likewise.
15618 * sunrpc/clnt_simp.c: Likewise.
15619 * sunrpc/clnt_tcp.c: Likewise.
15620 * sunrpc/clnt_udp.c: Likewise.
15621 * sunrpc/clnt_unix.c: Likewise.
15622 * sunrpc/des_crypt.c: Likewise.
15623 * sunrpc/des_soft.c: Likewise.
15624 * sunrpc/get_myaddr.c: Likewise.
15625 * sunrpc/key_call.c: Likewise.
15626 * sunrpc/key_prot.c: Likewise.
15627 * sunrpc/netname.c: Likewise.
15628 * sunrpc/pm_getmaps.c: Likewise.
15629 * sunrpc/pm_getport.c: Likewise.
15630 * sunrpc/pmap_clnt.c: Likewise.
15631 * sunrpc/pmap_prot.c: Likewise.
15632 * sunrpc/pmap_prot2.c: Likewise.
15633 * sunrpc/pmap_rmt.c: Likewise.
15634 * sunrpc/publickey.c: Likewise.
15635 * sunrpc/rpc_cmsg.c: Likewise.
15636 * sunrpc/rpc_common.c: Likewise.
15637 * sunrpc/rpc_dtable.c: Likewise.
15638 * sunrpc/rpc_prot.c: Likewise.
15639 * sunrpc/rpc_thread.c: Likewise.
15640 * sunrpc/rtime.c: Likewise.
15641 * sunrpc/svc.c: Likewise.
15642 * sunrpc/svc_auth.c: Likewise.
15643 * sunrpc/svc_authux.c: Likewise.
15644 * sunrpc/svc_raw.c: Likewise.
15645 * sunrpc/svc_run.c: Likewise.
15646 * sunrpc/svc_simple.c: Likewise.
15647 * sunrpc/svc_tcp.c: Likewise.
15648 * sunrpc/svc_udp.c: Likewise.
15649 * sunrpc/svc_unix.c: Likewise.
15650 * sunrpc/svcauth_des.c: Likewise.
15651 * sunrpc/xcrypt.c: Likewise.
15652 * sunrpc/xdr.c: Likewise.
15653 * sunrpc/xdr_array.c: Likewise.
15654 * sunrpc/xdr_float.c: Likewise.
15655 * sunrpc/xdr_intXX_t.c: Likewise.
15656 * sunrpc/xdr_mem.c: Likewise.
15657 * sunrpc/xdr_rec.c: Likewise.
15658 * sunrpc/xdr_ref.c: Likewise.
15659 * sunrpc/xdr_sizeof.c: Likewise.
15660 * sunrpc/xdr_stdio.c: Likewise.
15662 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15665 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15666 * sysdeps/ia64/dl-tls.h: Likewise.
15667 * sysdeps/powerpc/dl-tls.h: Likewise.
15668 * sysdeps/s390/dl-tls.h: Likewise.
15669 * sysdeps/sh/dl-tls.h: Likewise.
15670 * sysdeps/sparc/dl-tls.h: Likewise.
15671 * sysdeps/x86_64/dl-tls.h: Likewise.
15672 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15674 2011-03-14 Andreas Schwab <schwab@redhat.com>
15676 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15677 rpath element also skip the following colon.
15678 (expand_dynamic_string_token): Add is_path parameter and pass
15679 down to DL_DST_REQUIRED and _dl_dst_substitute.
15680 (decompose_rpath): Call expand_dynamic_string_token with
15681 non-zero is_path. Ignore empty rpaths.
15682 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15685 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15690 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15693 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15694 Patch by Filipe David Manana <fdmanana@apache.org>.
15696 2011-04-07 Andreas Schwab <schwab@redhat.com>
15698 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15699 Maintain aligned stack.
15700 (CHECK_RSP): Remove unused macro.
15702 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15704 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15705 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15707 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15709 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15711 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15713 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15716 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15717 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15718 * sysdeps/x86_64/memmove.c: New file.
15719 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15720 (memcpy): Renamed to ...
15721 (__new_memcpy): This.
15722 (memcpy): Provide GLIBC_2_14 memcpy.
15723 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15724 (memcpy): Provide GLIBC_2_2_5 memcpy.
15726 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15729 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15731 2011-03-30 Andreas Schwab <schwab@redhat.com>
15733 * misc/syncfs.c: New file.
15734 * misc/Makefile (routines): Add syncfs.
15735 * posix/unistd.h: Declare syncfs.
15736 * sysdeps/unix/syscalls.list: Add syncfs.
15738 2011-04-01 Andreas Schwab <schwab@redhat.com>
15740 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15743 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15745 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15747 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15748 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15750 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15752 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15753 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15754 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15756 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15760 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15761 sync_file_range.c with -fexceptions.
15762 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15763 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15764 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15765 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15766 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15767 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15769 sync_file_range as cancellation point
15770 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15771 now a wrapper around __call_sync_file_range with cancellation handling.
15772 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15773 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15774 function name to __call_sync_file_range.
15775 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15776 Add call_sync_file_range.
15778 2011-04-01 Andreas Schwab <schwab@redhat.com>
15780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15783 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15785 * iconv/iconv.h: Fix typo in comment.
15786 * io/fcntl.h: Likewise.
15787 * libio/stdio.h: Likewise.
15788 * posix/spawn.h: Likewise.
15789 * posix/unistd.h: Likewise.
15790 * stdlib/stdlib.h: Likewise.
15791 * time/time.h: Likewise.
15792 * wcsmbs/wchar.h: Likewise.
15794 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15795 open_by_handle): Add.
15796 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15797 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15798 Augment a few comments.
15799 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15801 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15804 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15807 * io/fcntl.h (AT_EMPTY_PATH): Define.
15809 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15811 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15812 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15813 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15815 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15816 * Versions.def: Add GLIBC_2.14.
15817 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15820 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15822 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15824 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15826 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15829 * string/test-strncmp.c (do_page_test): New function.
15830 (check2): Likewise.
15831 (test_main): Call check2.
15832 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15834 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15837 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15838 Handle cache information in CPU leaf 4.
15839 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15841 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15844 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15845 character representation.
15846 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15848 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15850 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15851 END(__isnan) to END(__isnanf) to match function entry point/label
15852 EALIGN(__isnanf,...).
15854 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15856 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15858 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15861 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15862 copy from the symbol referenced in the relocation to initialize the
15864 Patch by Piotr Bury <pbury@goahead.com>.
15865 * elf/Makefile: Add rules to build and tst-unique3.
15866 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15867 * elf/tst-unique3.cc: New file.
15868 * elf/tst-unique3.h: New file.
15869 * elf/tst-unique3lib.cc: New file.
15870 * elf/tst-unique3lib2.cc: New file.
15872 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15874 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15876 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15877 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15880 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15882 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15883 to-be-loaded object along a path to loader is ld.so.
15885 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15886 Ulrich Drepper <drepper@gmail.com>
15888 * sysdeps/x86_64/memset.S: After aligning destination, code
15889 branches to different locations depending on the value of
15890 misalignment, when multiarch is enabled. Fix this.
15892 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15894 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15895 Set _x86_64_preferred_memory_instruction for AMD processsors.
15896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15897 Set bit_Prefer_SSE_for_memop for AMD processors.
15899 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15901 * libio/fmemopen.c (fmemopen): Optimize a bit.
15903 2011-03-03 Andreas Schwab <schwab@redhat.com>
15905 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15907 2011-03-03 Roland McGrath <roland@redhat.com>
15909 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15911 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15913 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15914 __bzero_ultra1 instead of __memset_ultra1.
15916 2011-02-23 Andreas Schwab <schwab@redhat.com>
15917 Ulrich Drepper <drepper@gmail.com>
15920 * include/link.h (struct link_map): Add l_orig_initfini.
15921 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15922 returning unsuccessfully.
15923 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15924 close of a file loaded at startup, restore the original l_initfini
15926 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15927 list, store the pointer.
15928 * elf/Makefile ($(objpfx)noload-mem): New rule.
15929 (noload-ENV): Define.
15930 (tests): Add $(objpfx)noload-mem.
15931 * elf/noload.c: Include <memcheck.h>.
15932 (main): Call mtrace. Close all opened handles.
15934 2011-02-17 Andreas Schwab <schwab@redhat.com>
15937 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15938 dependencies are missing.
15940 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15942 Fix __if_freereq crash: Unlike the generic version which uses free,
15944 * sysdeps/mach/hurd/ifreq.h: New file.
15946 2011-01-27 Petr Baudis <pasky@suse.cz>
15947 Ulrich Drepper <drepper@gmail.com>
15950 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15951 to extend_alloca().
15952 * stdio-common/bug23.c: New file.
15953 * stdio-common/Makefile (tests): Add bug23.
15955 2010-09-28 Andreas Schwab <schwab@redhat.com>
15956 Ulrich Drepper <drepper@gmail.com>
15959 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15960 before performing relro protection. At old place add assertion
15961 to make sure nothing changed.
15963 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15964 Glauber de Oliveira Costa <glommer@gmail.com>
15966 * elf/elf.h: Add new ARM TLS relocs.
15968 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15971 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15973 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15975 * sysdeps/wordsize-64/tst-writev.c: New file.
15977 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15979 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15980 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15981 insns in _dl_start to prevent a TOC reference before relocs are
15984 2011-02-15 Ulrich Drepper <drepper@gmail.com>
15987 * Makeconfig: Remove RANLIB definition.
15988 * Makerules: Don't use RANLIB.
15989 * aclocal.m4: Remove ranlib test.
15990 * configure.in: No need to check for ranlib.
15991 * elf/rtld-Rules: Don't use RANLIB.
15993 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15995 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15997 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15998 inclusion protection macro.
16000 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16001 SIGRTMIN and SIGRTMAX and print information in that case only when
16002 SIGRTMIN is defined.
16004 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16006 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16007 arginfo fn returning -1.
16009 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16010 and thousands string is zero terminated.
16012 2011-02-03 Andreas Schwab <schwab@redhat.com>
16014 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16015 sysdeps/unix/sysv/linux/bits/socket.h.
16017 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16019 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16020 (__CPU_COUNT): Remove old macros.
16021 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16022 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16023 (__CPU_ALLOC, __CPU_FREE): Add macros.
16024 (__sched_cpualloc, __sched_cpufree): Add declarations.
16026 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16028 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16029 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16030 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16031 (readdhstai): Return value of addhstaiX call.
16032 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16033 (addgrbyX): Return value returned by cache_addgr.
16034 (readdgrbyname): Return value returned by addgrbyX.
16035 (readdgrbygid): Likewise.
16036 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16037 (addpwbyX): Return value returned by cache_addpw.
16038 (readdpwbyname): Return value returned by addhstbyX.
16039 (readdpwbyuid): Likewise.
16040 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16041 (addservbyX): Return value returned by cache_addserv.
16042 (readdservbyname): Return value returned by addservbyX:
16043 (readdservbyport): Likewise.
16044 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16045 (addhstbyX): Return value returned by cache_addhst.
16046 (readdhstbyname): Return value returned by addhstbyX.
16047 (readdhstbyaddr): Likewise.
16048 (readdhstbynamev6): Likewise.
16049 (readdhstbyaddrv6): Likewise.
16050 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16051 (readdinitgroups): Return value returned by addinitgroupsX.
16052 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16053 (prune_cache): Keep track of timeout value of re-added entries.
16054 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16055 * nscd/nscd.h: Adjust prototypes of readd* functions.
16057 2011-02-04 Roland McGrath <roland@redhat.com>
16059 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16060 (nis_stats): Likewise.
16061 * nis/nis_modify.c (nis_modify): Likewise.
16062 * nis/nis_remove.c (nis_remove): Likewise.
16063 * nis/nis_add.c (nis_add): Likewise.
16065 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16067 * posix/fnmatch_loop.c: Add some consts.
16069 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16071 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16074 * config.make.in (config-cflags-novzeroupper): Define.
16075 * configure.in: Substitute libc_cv_cc_novzeroupper.
16076 * elf/Makefile (AVX-CFLAGS): Define.
16077 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16078 (CFLAGS-tst-auditmod4a.c): Likewise.
16079 (CFLAGS-tst-auditmod4b.c): Likewise.
16080 (CFLAGS-tst-auditmod6b.c): Likewise.
16081 (CFLAGS-tst-auditmod6c.c): Likewise.
16082 (CFLAGS-tst-auditmod7b.c): Likewise.
16083 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16085 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16087 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16088 function to the callback.
16089 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16091 2011-02-02 Andreas Schwab <schwab@redhat.com>
16093 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16096 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16099 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16101 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16103 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16106 * elf/Makefile: Add rules to build and run new test.
16107 * elf/tst-initorder.c: New file.
16108 * elf/tst-initorder.exp: New file.
16109 * elf/tst-initordera1.c: New file.
16110 * elf/tst-initordera2.c: New file.
16111 * elf/tst-initordera3.c: New file.
16112 * elf/tst-initordera4.c: New file.
16113 * elf/tst-initorderb1.c: New file.
16114 * elf/tst-initorderb2.c: New file.
16115 * elf/tst-order-a1.c: New file.
16116 * elf/tst-order-a2.c: New file.
16117 * elf/tst-order-a3.c: New file.
16118 * elf/tst-order-a4.c: New file.
16119 * elf/tst-order-b1.c: New file.
16120 * elf/tst-order-b2.c: New file.
16121 * elf/tst-order-main.c: New file.
16122 New test case by George Gensure <werkt0@gmail.com>.
16124 2010-10-01 Andreas Schwab <schwab@redhat.com>
16126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16127 decoding ACE if AI_CANONIDN.
16129 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16131 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16133 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16135 * version.h (RELEASE): Bump for 2.13 release.
16136 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16138 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16140 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16142 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16143 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16144 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16145 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16146 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16147 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16149 * posix/getconf.c: Update copyright year.
16150 * catgets/gencat.c: Likewise.
16151 * csu/version.c: Likewise.
16152 * debug/catchsegv.sh: Likewise.
16153 * debug/xtrace.sh: Likewise.
16154 * elf/ldconfig.c: Likewise.
16155 * elf/ldd.bash.in: Likewise.
16156 * elf/sprof.c (print_version): Likewise.
16157 * iconv/iconv_prog.c: Likewise.
16158 * iconv/iconvconfig.c: Likewise.
16159 * locale/programs/locale.c: Likewise.
16160 * locale/programs/localedef.c: Likewise.
16161 * malloc/memusage.sh: Likewise.
16162 * malloc/mtrace.pl: Likewise.
16163 * nscd/nscd.c (print_version): Likewise.
16164 * nss/getent.c: Likewise.
16166 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16167 PF_CAIF, and PF_ALG.
16168 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16170 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16172 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16173 (modules-names): Use them.
16174 (ifunc-test-modules, ifunc-pie-tests): Define.
16175 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16176 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16177 (test-extras): Likewise.
16178 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16179 $(compile-command.c).
16180 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16181 (all-built-dso): Define.
16182 (check-textrel.out, check-execstack.out): Depend on it.
16184 * configure.in: Don't override --enable-multi-arch.
16186 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16189 * nscd/hstcache.c (tryagain): Define.
16190 (cache_addhst): Return tryagain not notfound for temporary errors.
16191 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16194 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16197 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16198 to make the syscall.
16199 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16202 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16203 and fall back to matching as normal character if the string ends before
16204 the matching ']' is found. This is what POSIX requires.
16205 * posix/testfnm.c: Adjust test result.
16206 * posix/globtest.sh: Adjust test result. Add new test.
16207 * posix/tst-fnmatch.input: Likewise.
16208 * posix/tst-fnmatch2.c: Add new test.
16210 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16212 * elf/Makefile (check-execstack): Revert last change. Depend on
16214 (check-execstack.h): New target.
16215 (generated): Add check-execstack.h.
16216 * elf/check-execstack.c: Include "check-execstack.h".
16217 (main): Revert last change.
16218 (handle_file): Return zero if GNU_STACK is absent and
16219 DEFAULT_STACK_PERMS doesn't include PF_X.
16221 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16223 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16224 in child fails because the descriptor is already closed.
16225 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16226 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16227 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16230 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16234 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16235 temporary buffer used to handle multi lookups locally.
16236 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16238 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16240 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16243 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16245 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16246 alignment for SSE2.
16248 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16251 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16252 characters. When rounding increased number of integer digits recompute
16254 * stdio-common/tst-grouping.c: New file.
16255 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16257 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16259 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16260 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16262 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16264 * bits/select.h: Likewise.
16266 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16268 * po/ja.po: Update from translation team.
16270 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16273 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16274 implementation just like for lxstat, fxstatat, et al.
16276 2010-12-27 Jim Meyering <meyering@redhat.com>
16279 * posix/regexec.c (build_trtable): Return failure indication upon
16280 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16282 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16285 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16286 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16287 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16288 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16291 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16294 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16295 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16297 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16299 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16300 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16301 script has SORT_BY_INIT_PRIORITY.
16302 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16303 NO_CTORS_DTORS_SECTIONS is defined.
16304 * elf/soinit.c: Likewise.
16305 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16306 NO_CTORS_DTORS_SECTIONS is defined.
16307 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16308 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16309 * sysdeps/sh/init-first.c: Likewise.
16310 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16312 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16314 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16315 always use the slow path.
16317 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16319 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16320 similar rule which adds the sysdep directories to the header search in
16321 order to pick up the correct platform stackinfo.h.
16322 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16323 perform test if it is, otherwise return successfully without testing.
16324 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16325 DEFAULT_STACK_PERMS define in stackinfo.h.
16326 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16327 defined in stackinfo.h.
16328 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16329 DEFAULT_STACK_PERMS defined in stackinfo.h.
16330 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16331 * sysdeps/ia64/stackinfo.h: Likewise.
16332 * sysdeps/s390/stackinfo.h: Likewise.
16333 * sysdeps/sh/stackinfo.h: Likewise.
16334 * sysdeps/sparc/stackinfo.h: Likewise.
16335 * sysdeps/x86_64/stackinfo.h: Likewise.
16336 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16337 PF_X for powerpc64. Retain PF_X for powerpc32.
16339 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16341 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16343 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16344 GETDENTS_64BIT_ALIGNED.
16346 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16348 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16350 2010-12-10 Andreas Schwab <schwab@redhat.com>
16352 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16355 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16356 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16358 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16359 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16361 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16364 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16367 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16369 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16371 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16373 * po/it.po: Update from translation team.
16375 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16380 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16382 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16384 2010-11-24 Andreas Schwab <schwab@redhat.com>
16386 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16388 (gaih_getanswer_slice): Likewise.
16390 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16394 2010-05-31 Petr Baudis <pasky@suse.cz>
16397 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16398 silently even in the chroot mode.
16400 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16402 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16403 last patch a bit. Pretty printing
16405 2010-05-31 Petr Baudis <pasky@suse.cz>
16408 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16409 initialization of skip_initgroups_dyn.
16411 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16413 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16414 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16416 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16418 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16420 2010-11-11 Andreas Schwab <schwab@redhat.com>
16422 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16423 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16424 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16425 ($(objpfx)tst-fnmatch-mem): New rule.
16426 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16427 * posix/tst-fnmatch.c (main): Call mtrace.
16429 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16432 Support Intel processor model 6 and model 0x2c.
16434 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16436 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16439 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16442 * string/test-strncasecmp.c (check_result): New function.
16443 (do_one_test): Use it.
16444 (check1): New function.
16445 (test_main): Use it.
16446 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16447 Support strcasecmp and strncasecmp.
16449 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16452 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16453 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16455 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16457 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16461 * sysdeps/x86_64/multiarch/bzero.S: New file.
16462 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16463 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16464 * sysdeps/x86_64/multiarch/memset.S: New file.
16465 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16467 Set bit_Prefer_SSE_for_memop for Intel processors.
16468 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16470 (index_Prefer_SSE_for_memop): Define.
16471 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16473 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16475 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16476 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16478 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16481 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16482 (__x86_64_raw_data_cache_size_half): Likewise.
16483 (__x86_64_raw_shared_cache_size): Likewise.
16484 (__x86_64_raw_shared_cache_size_half): Likewise.
16486 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16487 (__x86_64_raw_data_cache_size_half): Likewise.
16488 (__x86_64_raw_shared_cache_size): Likewise.
16489 (__x86_64_raw_shared_cache_size_half): Likewise.
16490 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16491 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16492 and __x86_64_raw_shared_cache_size_half. Round
16493 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16494 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16495 to multiple of 256 bytes.
16497 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16500 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16501 of inacessible symlinks. Verify result of symlink before returning it.
16502 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16503 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16505 2010-10-28 Erich Ritz <erichritz@gmail.com>
16507 * math/math.h (isinf): Fix typo in comment.
16509 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16511 * po/da.po: Update from translation team.
16513 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16515 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16516 is added to the list.
16518 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16519 Ulrich Drepper <drepper@gmail.com>
16521 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16522 the global list here. Move code to...
16523 (_dl_add_to_namespace_list): ...here. New function.
16524 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16525 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16526 * elf/dl-load.c (lose): Don't remove the element from the list.
16527 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16528 (_dl_map_object): Likewise.
16530 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16533 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16534 into all bytes of SSE register.
16535 Patch by Richard Li <richardpku@gmail.com>.
16537 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16540 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16543 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16545 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16546 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16547 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16548 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16553 2010-10-22 Andreas Schwab <schwab@redhat.com>
16555 * include/dlfcn.h (__RTLD_SECURE): Define.
16556 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16557 mode & __RTLD_SECURE instead.
16558 (open_path): Rename preloaded parameter to secure.
16559 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16560 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16561 * elf/dl-deps.c (openaux): Likewise.
16562 * elf/rtld.c (struct map_args): Remove is_preloaded.
16563 (map_doit): Don't use it.
16564 (dl_main): Likewise.
16565 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16566 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16568 2010-09-09 Andreas Schwab <schwab@redhat.com>
16570 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16571 (sysd-rules-targets): Remove duplicates.
16572 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16573 rtld-%.$o dependency.
16575 2010-10-18 Andreas Schwab <schwab@redhat.com>
16577 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16578 _dl_map_object do it.
16580 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16582 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16583 fast fma builtins, define the macros in the C99 standard.
16584 (FP_FAST_FMAF): Likewise.
16585 (FP_FAST_FMAL): Likewise.
16586 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16588 * bits/mathdef.h: Update copyright year.
16589 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16591 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16593 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16594 builtins, define the macros in the C99 standard.
16595 (FP_FAST_FMAF): Likewise.
16596 (FP_FAST_FMAL): Likewise.
16597 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16599 (FP_FAST_FMAF): Likewise.
16601 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16604 * math/libm-test.inc (fma_test): Some new testcases.
16605 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16606 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16607 y and infinite z. Do multiplication by C already in long double.
16608 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16610 y and infinite z. Do bitwise or of inexact bit into u.d.
16611 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16612 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16613 * sysdeps/i386/fpu/s_fma.S: Removed.
16614 * sysdeps/i386/fpu/s_fmal.S: Removed.
16616 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16619 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16620 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16621 computation is not scheduled after fetestexcept. Fix value
16622 of minimum denormal long double.
16624 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16627 * math/libm-test.inc (fma_test): Add some more tests.
16628 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16631 2010-10-15 Andreas Schwab <schwab@redhat.com>
16633 * scripts/data/localplt-s390-linux-gnu.data: New file.
16634 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16636 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16639 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16640 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16642 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16644 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16646 if one of x and y is very large and the other is subnormal.
16647 * sysdeps/s390/fpu/s_fmaf.c: New file.
16648 * sysdeps/s390/fpu/s_fma.c: New file.
16649 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16650 * sysdeps/powerpc/fpu/s_fma.S: New file.
16651 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16652 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16653 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16655 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16658 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16660 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16661 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16662 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16663 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16664 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16665 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16666 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16668 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16671 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16672 * posix/bug-regex31.input: Add test case.
16674 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16676 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16677 * posix/bug-regex31.input: New file.
16680 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16681 (parse_sub_exp): Fix last change, use postorder.
16683 * posix/bug-regex31.c: New file.
16684 * posix/Makefile: Add rules to build and run bug-regex31.
16686 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16689 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16692 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16693 to have entries in sys_siglist.
16696 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16699 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16702 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16703 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16704 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16705 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16706 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16707 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16708 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16709 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16710 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16711 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16712 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16713 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16714 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16715 * math/ftestexcept.c (fetestexcept): Likewise.
16716 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16717 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16718 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16719 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16720 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16721 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16722 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16724 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16727 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16730 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16732 * string/bug-strstr1.c: New file.
16733 * string/Makefile: Add rules to build and run bug-strstr1.
16735 2010-10-05 Eric Blake <eblake@redhat.com>
16738 * string/str-two-way.h (two_way_long_needle): Always clear memory
16739 when skipping input due to the shift table.
16741 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16744 * malloc/mcheck.c: Handle large requests.
16747 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16748 for strncmp and strncasecmp.
16749 * string/stratcliff.c: Add tests for strcmp and strncmp.
16750 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16752 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16754 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16757 2010-09-30 Andreas Jaeger <aj@suse.de>
16759 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16760 (CGROUP_SUPER_MAGIC): Define.
16761 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16762 Handle btrfs and cgroup file systems.
16763 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16766 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16768 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16769 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16771 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16774 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16775 trying to locate the ELF header.
16777 2010-09-27 Andreas Schwab <schwab@redhat.com>
16780 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16781 Mask out sign-bit copies when constructing f_fsid.
16783 2010-09-24 Petr Baudis <pasky@suse.cz>
16785 * debug/stack_chk_fail_local.c: Add missing licence exception.
16786 * debug/warning-nop.c: Likewise.
16788 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16790 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16791 implementing getdents64 using getdents syscall, set d_type if
16792 __ASSUME_GETDENTS32_D_TYPE.
16794 2010-09-16 Andreas Schwab <schwab@redhat.com>
16796 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16797 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16799 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16802 * posix/unistd.h: Undo change of feature selection for ftruncate from
16805 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16807 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16810 2010-09-20 Andreas Schwab <schwab@redhat.com>
16812 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16814 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16816 2010-09-14 Andreas Schwab <schwab@redhat.com>
16818 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16819 variables after CHECK_SP call.
16820 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16822 2010-09-13 Andreas Schwab <schwab@redhat.com>
16823 Ulrich Drepper <drepper@redhat.com>
16825 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16826 re-relocationg ld.so.
16827 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16828 _dl_init_paths call.
16829 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16832 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16834 * resolv/res_init.c (__res_vinit): Count the default server we added.
16836 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16837 Ulrich Drepper <drepper@redhat.com>
16840 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16841 (____longjmp_chk): Use %ebx for saving value across system call.
16844 2010-09-06 Andreas Schwab <schwab@redhat.com>
16846 * manual/Makefile: Don't mix pattern rules with normal rules.
16848 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16850 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16852 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16853 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16854 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16855 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16859 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16862 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16863 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16865 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16867 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16868 * sysdeps/x86_64/addmul_1.S: Likewise.
16869 * sysdeps/x86_64/lshift.S: Likewise.
16870 * sysdeps/x86_64/mul_1.S: Likewise.
16871 * sysdeps/x86_64/rshift.S: Likewise.
16872 * sysdeps/x86_64/sub_n.S: Likewise.
16873 * sysdeps/x86_64/submul_1.S: Likewise.
16875 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16877 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16878 Define __sched_param instead of SCHED_* and sched_param when
16879 <bits/sched.h> is included with __need_schedparam defined.
16880 * bits/sched.h [__need_schedparam]
16881 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16882 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16883 (__defined_schedparam): Define to 1.
16884 (__sched_param): New structure, identical to sched_param.
16885 (__need_schedparam): Undefine.
16887 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16889 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16890 (epoll_create1): Declare.
16892 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16894 2010-08-31 Andreas Schwab <schwab@redhat.com>
16897 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16898 shifting retval into place.
16900 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16902 * nis/rpcsvc/nis.h: Update copyright notice.
16903 * nis/rpcsvc/nis.x: Likewise.
16904 * nis/rpcsvc/nis_callback.h: Likewise.
16905 * nis/rpcsvc/nis_callback.x: Likewise.
16906 * nis/rpcsvc/nis_object.x: Likewise.
16907 * nis/rpcsvc/nis_tags.h: Likewise.
16908 * nis/rpcsvc/yp.h: Likewise.
16909 * nis/rpcsvc/yp.x: Likewise.
16910 * nis/rpcsvc/ypupd.h: Likewise.
16911 * nis/yp_xdr.c: Likewise.
16912 * nis/ypupdate_xdr.c: Likewise.
16914 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16915 mainly the body of pmap_getport. Add parameters to specify timeouts.
16916 (pmap_getport): Use __libc_rpc_getport.
16917 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16918 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16919 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16921 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16926 2010-08-27 Roland McGrath <roland@redhat.com>
16928 * sysdeps/i386/i686/multiarch/Makefile
16929 (CFLAGS-varshift.c): New variable.
16931 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16933 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16934 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16938 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16940 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16942 * sysdeps/x86_64/strlen.S: Unroll the loop.
16943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16944 strlen-sse2 strlen-sse2-bsf.
16945 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16946 __strlen_no_bsf if bit_Slow_BSF is set.
16947 (__strlen_sse42): Removed.
16948 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16949 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16951 2010-08-25 Roland McGrath <roland@redhat.com>
16953 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16954 * sysdeps/x86_64/multiarch/varshift.c: New file.
16955 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16956 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16957 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16958 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16960 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16963 strlen-sse2 strlen-sse2-bsf.
16964 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16965 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16966 (__strlen_sse2): Removed.
16967 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16970 bit_Slow_BSF for Atom.
16971 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16972 (index_Slow_BSF): Define.
16973 (HAS_SLOW_BSF): Define.
16975 2010-08-25 Ulrich Drepper <drepper@redhat.com>
16978 * resolv/res_init.c (__res_vinit): When no server address at all
16979 is given default to loopback.
16981 2010-08-24 Roland McGrath <roland@redhat.com>
16983 * configure.in: Remove config-name.h generation.
16984 * configure: Regenerated.
16985 * config-name.in: File removed.
16986 * scripts/config-uname.sh: New file.
16987 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16988 ($(objdir)config-name.h): New target.
16990 * sunrpc/rpc_parse.h: Avoid nested comment.
16992 2010-08-24 Richard Henderson <rth@redhat.com>
16993 Ulrich Drepper <drepper@redhat.com>
16994 H.J. Lu <hongjiu.lu@intel.com>
16996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16998 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16999 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17000 _mm_alignr_epi8 with _mm_loadu_si128.
17001 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17002 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17003 (__m128i_shift_right): Removed.
17004 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17005 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17006 * sysdeps/x86_64/multiarch/varshift.h: New file.
17007 * sysdeps/x86_64/multiarch/varshift.S: New file.
17009 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17011 * configure.in: Move assembler checks to before sysdep dir checking.
17013 2010-08-20 Petr Baudis <pasky@suse.cz>
17015 * LICENSES: Sync the sunrpc license.
17017 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17019 * sunrpc/auth_des.c: Update copyright notice once again.
17020 * sunrpc/auth_none.c: Likewise.
17021 * sunrpc/auth_unix.c: Likewise.
17022 * sunrpc/authdes_prot.c: Likewise.
17023 * sunrpc/authuxprot.c: Likewise.
17024 * sunrpc/bindrsvprt.c: Likewise.
17025 * sunrpc/clnt_gen.c: Likewise.
17026 * sunrpc/clnt_perr.c: Likewise.
17027 * sunrpc/clnt_raw.c: Likewise.
17028 * sunrpc/clnt_simp.c: Likewise.
17029 * sunrpc/clnt_tcp.c: Likewise.
17030 * sunrpc/clnt_udp.c: Likewise.
17031 * sunrpc/clnt_unix.c: Likewise.
17032 * sunrpc/des_crypt.c: Likewise.
17033 * sunrpc/des_soft.c: Likewise.
17034 * sunrpc/get_myaddr.c: Likewise.
17035 * sunrpc/getrpcport.c: Likewise.
17036 * sunrpc/key_call.c: Likewise.
17037 * sunrpc/key_prot.c: Likewise.
17038 * sunrpc/openchild.c: Likewise.
17039 * sunrpc/pm_getmaps.c: Likewise.
17040 * sunrpc/pm_getport.c: Likewise.
17041 * sunrpc/pmap_clnt.c: Likewise.
17042 * sunrpc/pmap_prot.c: Likewise.
17043 * sunrpc/pmap_prot2.c: Likewise.
17044 * sunrpc/pmap_rmt.c: Likewise.
17045 * sunrpc/rpc/auth.h: Likewise.
17046 * sunrpc/rpc/auth_unix.h: Likewise.
17047 * sunrpc/rpc/clnt.h: Likewise.
17048 * sunrpc/rpc/des_crypt.h: Likewise.
17049 * sunrpc/rpc/key_prot.h: Likewise.
17050 * sunrpc/rpc/netdb.h: Likewise.
17051 * sunrpc/rpc/pmap_clnt.h: Likewise.
17052 * sunrpc/rpc/pmap_prot.h: Likewise.
17053 * sunrpc/rpc/pmap_rmt.h: Likewise.
17054 * sunrpc/rpc/rpc.h: Likewise.
17055 * sunrpc/rpc/rpc_des.h: Likewise.
17056 * sunrpc/rpc/rpc_msg.h: Likewise.
17057 * sunrpc/rpc/svc.h: Likewise.
17058 * sunrpc/rpc/svc_auth.h: Likewise.
17059 * sunrpc/rpc/types.h: Likewise.
17060 * sunrpc/rpc/xdr.h: Likewise.
17061 * sunrpc/rpc_clntout.c: Likewise.
17062 * sunrpc/rpc_cmsg.c: Likewise.
17063 * sunrpc/rpc_common.c: Likewise.
17064 * sunrpc/rpc_cout.c: Likewise.
17065 * sunrpc/rpc_dtable.c: Likewise.
17066 * sunrpc/rpc_hout.c: Likewise.
17067 * sunrpc/rpc_main.c: Likewise.
17068 * sunrpc/rpc_parse.c: Likewise.
17069 * sunrpc/rpc_parse.h: Likewise.
17070 * sunrpc/rpc_prot.c: Likewise.
17071 * sunrpc/rpc_sample.c: Likewise.
17072 * sunrpc/rpc_scan.c: Likewise.
17073 * sunrpc/rpc_scan.h: Likewise.
17074 * sunrpc/rpc_svcout.c: Likewise.
17075 * sunrpc/rpc_tblout.c: Likewise.
17076 * sunrpc/rpc_util.c: Likewise.
17077 * sunrpc/rpc_util.h: Likewise.
17078 * sunrpc/rpcinfo.c: Likewise.
17079 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17080 * sunrpc/rpcsvc/key_prot.x: Likewise.
17081 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17082 * sunrpc/rpcsvc/mount.x: Likewise.
17083 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17084 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17085 * sunrpc/rpcsvc/rex.x: Likewise.
17086 * sunrpc/rpcsvc/rstat.x: Likewise.
17087 * sunrpc/rpcsvc/rusers.x: Likewise.
17088 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17089 * sunrpc/rpcsvc/spray.x: Likewise.
17090 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17091 * sunrpc/rtime.c: Likewise.
17092 * sunrpc/svc.c: Likewise.
17093 * sunrpc/svc_auth.c: Likewise.
17094 * sunrpc/svc_authux.c: Likewise.
17095 * sunrpc/svc_raw.c: Likewise.
17096 * sunrpc/svc_run.c: Likewise.
17097 * sunrpc/svc_simple.c: Likewise.
17098 * sunrpc/svc_tcp.c: Likewise.
17099 * sunrpc/svc_udp.c: Likewise.
17100 * sunrpc/svc_unix.c: Likewise.
17101 * sunrpc/svcauth_des.c: Likewise.
17102 * sunrpc/xcrypt.c: Likewise.
17103 * sunrpc/xdr.c: Likewise.
17104 * sunrpc/xdr_array.c: Likewise.
17105 * sunrpc/xdr_float.c: Likewise.
17106 * sunrpc/xdr_mem.c: Likewise.
17107 * sunrpc/xdr_rec.c: Likewise.
17108 * sunrpc/xdr_ref.c: Likewise.
17109 * sunrpc/xdr_sizeof.c: Likewise.
17110 * sunrpc/xdr_stdio.c: Likewise.
17112 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17115 2010-08-19 Andreas Schwab <schwab@redhat.com>
17117 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17119 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17121 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17122 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17123 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17124 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17125 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17126 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17127 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17128 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17129 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17130 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17131 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17132 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17133 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17134 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17136 2010-07-26 Anton Blanchard <anton@samba.org>
17138 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17139 * malloc/arena.c (heap_trim): Likewise.
17141 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17143 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17146 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17148 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17150 * sysdeps/i386/elf/Makefile: New file.
17152 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17154 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17155 from fanotify_init.
17156 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17157 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17159 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17161 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17163 * sysdeps/multiarch/strcmp.S: Likewise.
17165 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17167 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17168 strncase_l-nonascii.
17169 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17170 Add strncase_l-ssse3.
17171 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17172 * sysdeps/x86_64/strcmp.S: Likewise.
17173 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17174 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17175 * sysdeps/x86_64/strncase.S: New file.
17176 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17177 * sysdeps/x86_64/strncase_l.S: New file.
17178 * string/Makefile (strop-tests): Add strncasecmp.
17179 * string/test-strncasecmp.c: New file.
17181 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17184 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17185 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17187 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17189 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17191 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17193 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17194 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17195 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17197 2010-05-01 Alan Modra <amodra@gmail.com>
17199 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17200 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17201 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17202 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17203 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17204 tidying. Don't tail-call __sigjmp_save for static lib.
17205 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17207 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17208 (CALL_MCOUNT): Add eh info, and nop after bl.
17209 (TAIL_CALL_SYSCALL_ERROR): New macro.
17210 (PSEUDO_RET): Use it.
17211 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17212 Correct save location of integer regs and cr.
17213 (_dl_profile_resolve): Correct cr save location. Delete nops
17214 after bl when SHARED. Reduce cfi size a little by better
17215 placement of cfi directives.
17216 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17217 make a stack frame. Instead use parm save area as a temp.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17219 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17221 Don't make a stack frame for parent, use parm save area.
17222 Increase child stack frame to 112 bytes. Don't save unused reg,
17223 and adjust reg usage. Set up cfi on error recovery and
17224 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17226 (__makecontext): Add dummy nop after jump to exit.
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17228 Use correct parm save area and cr save, reduce stack frame.
17229 Correct cfi for possible PSEUDO_RET frame setup.
17230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17231 Branch to local label emitted by PSEUDO_RET rather than
17234 2010-08-12 Andreas Schwab <schwab@redhat.com>
17237 * locale/programs/locale.c (print_assignment): New function.
17238 (show_locale_vars): Use it.
17240 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17242 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17244 (struct statfs64): Likewise.
17245 (_STATFS_F_FLAGS): Define.
17246 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17247 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17248 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17249 (ST_VALID): Define locally.
17250 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17251 __statvfs_getflags, use the provided value.
17252 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17253 __ASSUME_STATFS_F_FLAGS.
17255 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17257 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17258 Add sys/fanotify.h.
17259 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17260 fanotify_mask for GLIBC_2.13.
17261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17262 fanotify_init and fanotify_mark.
17263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17264 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17266 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17268 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17269 prlimit64 for GLIBC_2.13.
17270 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17275 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17276 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17277 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17280 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17283 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17284 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17286 * nss/Makefile: Add rules to build and run tst-nss-test1.
17287 * shlib-versions: Add entry for libnss_test1.
17288 * nss/nss_test1.c: New file.
17289 * nss/tst-nss-test1.c: New file.
17291 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17292 (__nss_configure_lookup): Set appropriate entry in
17293 __nss_configure_lookup to true.
17294 * nss/nsswitch.h: Define enum with indeces of databases in
17295 databases and __nss_database_custom arrays. Declare
17296 __nss_database_custom.
17297 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17298 to avoid using nscd when custom rules are installed.
17299 * nss/getXXbyYY_r.c: Likewise.
17300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17302 * nss/nss_files/files-parse.c: Whitespace fixes.
17304 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17307 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17308 * posix/fnmatch_loop.c: Likewise.
17310 2010-07-17 Andi Kleen <ak@linux.intel.com>
17312 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17313 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17314 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17315 * Versions.def [GLIBC_2.13]: Add.
17317 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17319 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17320 Also fail if tpwd after pwuid call is NULL.
17322 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17324 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17325 when converting to ms.
17327 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17329 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17330 EOPNOTSUPP errors with ENOTTY.
17331 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17332 EOPNOTSUPP errors with ENOTTY.
17334 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17336 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17337 Add strcasecmp_l-ssse3.
17338 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17340 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17341 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17342 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17344 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17346 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17348 * string/Makefile (strop-tests): Add strcasecmp.
17349 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17350 strcasecmp_l-nonascii.
17351 (gen-as-const-headers): Add locale-defines.sym.
17352 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17353 * sysdeps/x86_64/strcasecmp.S: New file.
17354 * sysdeps/x86_64/strcasecmp_l.S: New file.
17355 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17356 * sysdeps/x86_64/locale-defines.sym: New file.
17357 * string/test-strcasecmp.c: New file.
17359 * string/test-strcasestr.c: Test both ends of the range of characters.
17360 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17362 2010-07-29 Roland McGrath <roland@redhat.com>
17365 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17367 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17369 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17372 2010-07-27 Andreas Schwab <schwab@redhat.com>
17374 * manual/memory.texi (Malloc Tunable Parameters): Document
17377 2010-07-26 Roland McGrath <roland@redhat.com>
17380 * configure.in (-fgnu89-inline check): Set and substitute
17381 gnu89_inline, not libc_cv_gnu89_inline.
17382 * configure: Regenerated.
17383 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17385 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17387 * string/test-strnlen.c: New file.
17388 * string/Makefile (strop-tests): Add strnlen.
17389 * string/tester.c (test_strnlen): Add a few more test cases.
17390 * string/tst-strlen.c: Better error reporting.
17392 * sysdeps/x86_64/strnlen.S: New file.
17394 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17396 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17397 lower-latency instructions.
17399 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17401 * string/test-strcasestr.c: New file.
17402 * string/test-strstr.c: New file.
17403 * string/Makefile (strop-tests): Add strstr and strcasestr.
17404 * string/str-two-way.h: Don't undefine MAX.
17405 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17407 2010-07-21 Andreas Schwab <schwab@redhat.com>
17409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17410 strcasestr-nonascii.
17411 (CFLAGS-strcasestr-nonascii.c): Define.
17412 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17413 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17414 Remove unused attribute.
17416 2010-07-20 Roland McGrath <roland@redhat.com>
17418 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17419 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17420 ld.so.cache was broken. With it, there is no way to disable dsocaps
17421 like LD_HWCAP_MASK can disable hwcaps.
17423 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17425 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17427 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17429 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17430 call in strcasestr.
17431 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17432 __strcasestr_sse42_nonascii.
17433 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17434 strcasestr-nonascii.c.
17435 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17437 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17439 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17440 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17441 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17442 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17444 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17446 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17449 2010-07-06 Andreas Schwab <schwab@redhat.com>
17452 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17455 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17457 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17458 _PC_PIPE_BUF using F_GETPIPE_SZ.
17460 2010-07-05 Roland McGrath <roland@redhat.com>
17462 * manual/arith.texi (Rounding Functions): Fix rint description
17463 implicit in round description.
17465 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17467 * elf/Makefile: Fix linking for a few tests to make recent linker
17470 2010-06-30 Andreas Schwab <schwab@redhat.com>
17472 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17473 $(common-objpfx)libc_nonshared.a.
17475 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17477 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17478 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17479 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17480 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17481 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17482 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17483 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17484 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17499 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17500 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17501 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17502 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17503 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17504 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17505 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17506 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17507 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17508 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17509 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17510 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17526 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17528 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17529 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17530 * string/memmove.c (memmove): Renamed to ...
17531 (MEMMOVE): ...this. Default to memmove.
17532 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17533 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17536 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17537 mempcpy-ssse3-back memmove-ssse3-back.
17538 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17540 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17541 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17542 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17543 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17544 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17545 * sysdeps/x86_64/multiarch/memmove.c: New file.
17546 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17547 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17548 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17549 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17550 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17551 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17553 (index_Fast_Copy_Backward): Define.
17554 (HAS_ARCH_FEATURE): Define.
17555 (HAS_FAST_REP_STRING): Define.
17556 (HAS_FAST_COPY_BACKWARD): Define.
17558 2010-06-21 Andreas Schwab <schwab@redhat.com>
17560 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17561 Restore proper fallback handling.
17563 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17566 * posix/group_member.c (__group_member): Correct checking loop.
17568 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17569 OOM in getpwuid_r correctly. Return error number when the caller
17570 should return, otherwise -1.
17571 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17572 call returning > 0 value.
17573 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17575 2010-06-07 Andreas Schwab <schwab@redhat.com>
17577 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17578 libc_nonshared.a from targets in modules-names.
17580 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17582 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17585 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17587 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17588 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17589 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17590 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17592 2010-06-02 Andreas Schwab <schwab@redhat.com>
17594 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17596 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17598 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17600 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17601 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17604 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17605 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17607 2010-06-14 Roland McGrath <roland@redhat.com>
17609 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17611 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17613 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17614 __REDIRECT followed by __THROW.
17615 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17616 * posix/getopt.h (getopt): Likewise.
17618 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17620 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17621 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17622 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17624 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17625 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17627 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17629 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17631 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17635 Properly check family and model.
17637 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17639 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17641 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17643 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17645 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17647 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17650 2010-05-19 Andreas Schwab <schwab@redhat.com>
17652 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17655 2010-05-21 Andreas Schwab <schwab@redhat.com>
17657 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17658 and internal_recvmmsg.
17659 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17660 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17661 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17662 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17664 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17665 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17666 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17668 2010-05-20 Andreas Schwab <schwab@redhat.com>
17670 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17672 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17674 POWER7 optimizations.
17675 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17676 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17678 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17680 * version.h: Update for 2.13 development version.
17682 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17684 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17685 exceptions. Return 0.
17687 2010-05-07 Roland McGrath <roland@redhat.com>
17689 * elf/ldconfig.c (main): Add a const.
17691 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17693 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17694 (args_options): Add no-idn option.
17695 (ahosts_keys_int): Add idn_flags to ai_flags.
17696 (parse_option): Handle 'i' option to clear idn_flags.
17698 * malloc/malloc.c (_int_free): Possible race in the most recently
17699 added check. Only act on the data if no current modification
17702 See ChangeLog.17 for earlier changes.