1 2012-08-01 Roland McGrath <roland@hack.frob.com>
4 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10 compat_symbol macros from <shlib-compat.h> rather than the underlying
11 default_symbol_version and symbol_version macros, so that DEFAULT
12 lines in shlib-versions are respected.
13 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15 2012-08-01 Florian Weimer <fweimer@redhat.com>
17 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18 Declare with warn_unused_result.
19 (setgid, setregid, setegid, setresgid): Likewise.
20 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22 * WUR-REPORT: Remove set*id functions.
24 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28 2012-07-31 Roland McGrath <roland@hack.frob.com>
30 * include/sys/socket.h (__libc_accept, __libc_accept4):
32 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36 * inet/getnetgrent_r.c (setup): Likewise.
38 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40 2012-07-31 David S. Miller <davem@davemloft.net>
42 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
48 value between 1.0 and 2.0 and smaller part has absolute value less
50 * math/s_clog10.c (__clog10): Likewise.
51 * math/s_clog10f.c (__clog10f): Likewise.
52 * math/s_clog10l.c (__clog10l): Likewise.
53 * math/s_clogf.c (__clogf): Likewise.
54 * math/s_clogl.c (__clogl): Likewise.
55 * math/libm-test.inc (clog_test): Add more tests.
56 (clog10_test): Likewise.
57 * sysdeps/i386/fpu/libm-test-ulps: Update.
58 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60 2012-07-31 Florian Weimer <fweimer@redhat.com>
62 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63 Exit with zero in case no suitable GID is found, and write a
64 message to standard error.
66 2012-07-30 Roland McGrath <roland@hack.frob.com>
68 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
70 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71 (MAXPATHLEN): Removed.
72 (NOGROUP, NODEV): New macros.
73 (setbit, clrbit, isset, isclr): New macros.
74 (howmany, roundup, powerof2): New macros.
75 (DEV_BSIZE): New macro.
77 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
80 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
81 definition on [!__NO_LONG_DOUBLE_MATH].
83 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
84 PTR_MANGLE and PTR_DEMANGLE.
86 * socket/accept4.c (accept4): Rename to __libc_accept4.
87 Define accept4 as a weak alias.
89 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
90 on [_DIRENT_HAVE_D_TYPE].
91 * io/ftw.c (ftw_dir): Likewise.
93 * io/xmknod.c (__xmknod): Don't check PATH for being null.
95 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
97 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
98 Use the BSD numbers rather than the arbitrary ones we had.
99 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
100 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
101 (SIGXCPU, SIGXFSZ): New macros.
104 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
105 initializer on [_LIBC_REENTRANT].
107 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
108 definitions inside [_POSIX_MAPPED_FILES].
110 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
112 * dirent/opendir.c: Include <fcntl.h>.
114 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
115 (__libc_getspecific): Likewise.
116 (__libc_key_create): Likewise.
118 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
119 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
120 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
121 (tmpfile64): Define as alias.
122 * sysdeps/wordsize-64/tmpfile.c: File removed.
123 * sysdeps/wordsize-64/tmpfile64.c: File removed.
124 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
125 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
127 * stdio-common/vfscanf.c: Include <stdbool.h>.
128 * nss/makedb.c: Likewise.
129 * stdio-common/_i18n_number.h: Likewise.
130 * argp/argp-help.c: Likewise.
131 * posix/wordexp.c: Likewise.
132 * sysdeps/posix/spawni.c: Likewise.
133 * nss/nss_files/files-initgroups.c: Likewise.
134 * stdio-common/reg-modifier.c: Include <stdlib.h>.
135 * nss/nss_files/files-initgroups.c: Likewise.
136 * nss/nss_db/db-netgrp.c: Likewise.
137 * nss/nss_db/db-initgroups.c: Likewise.
138 * io/fchmodat.c: Include <sys/stat.h>.
140 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
141 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
143 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
146 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
147 Add multiple inclusion protection.
149 2012-07-27 David S. Miller <davem@davemloft.net>
151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
153 2012-07-27 Gary Benson <gbenson@redhat.com>
156 * elf/rtld.c: Include <stap-probe.h>.
157 (dl_main): Added static probes "init_start" and "init_complete".
158 * elf/dl-load.c: Include <stap-probe.h>.
159 (lose): Take new parameter "nsid".
160 Added static probe "map_failed".
161 (_dl_map_object_from_fd): Pass namespace id to lose.
162 Added static probe "map_start".
163 (open_verify): Pass namespace id to lose.
164 * elf/dl-open.c: Include <stap-probe.h>.
165 (dl_open_worker) Added static probes "map_complete", "reloc_start"
166 and "reloc_complete".
167 * elf/dl-close.c: Include <stap-probe.h>.
168 (_dl_close_worker): Added static probes "unmap_start" and
170 * elf/rtld-debugger-interface.txt: New file documenting the above.
172 2012-07-26 Roland McGrath <roland@hack.frob.com>
174 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
175 rather than a string variable.
176 * sunrpc/rpc_main.c (h_output): Likewise.
177 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
179 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
181 * inet/check_native.c: New file.
183 2012-07-26 Joseph Myers <joseph@codesourcery.com>
186 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
187 if larger part has absolute value 1.0.
188 * math/s_clog10.c (__clog10): Likewise.
189 * math/s_clog10f.c (__clog10f): Likewise.
190 * math/s_clog10l.c (__clog10l): Likewise.
191 * math/s_clogf.c (__clogf): Likewise.
192 * math/s_clogl.c (__clogl): Likewise.
193 * math/libm-test.inc (clog_test): Add more tests.
194 (clog10_test): Likewise.
195 * sysdeps/i386/fpu/libm-test-ulps: Update.
196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
198 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
201 (La_retval): Likewise.
202 (int_retval): Likewise.
203 Update #error for removed macros to refer only to definitions in
205 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
209 (La_retval): Likewise.
210 (int_retval): Likewise.
211 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
215 (La_retval): Likewise.
216 (int_retval): Likewise.
217 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
221 (La_retval): Likewise.
222 (int_retval): Likewise.
223 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
227 (La_retval): Likewise.
228 (int_retval): Likewise.
229 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
233 (La_retval): Likewise.
234 (int_retval): Likewise.
235 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
239 (La_retval): Likewise.
240 (int_retval): Likewise.
241 * sysdeps/generic/tst-audit.h: Update comment to refer only to
242 macro definitions in tst-audit.h.
243 * sysdeps/i386/tst-audit.h: New file.
244 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
245 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
246 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
247 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
248 * sysdeps/sh/tst-audit.h: Likewise.
249 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
250 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
251 * sysdeps/x86_64/tst-audit.h: Likewise.
253 2012-07-26 Andreas Jaeger <aj@suse.de>
255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
258 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
259 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
260 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
262 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
263 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
264 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
266 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
269 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
271 (si_call_addr, si_syscall, si_arch): Define new macro.
272 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
274 (si_call_addr, si_syscall, si_arch): Define new marcro.
275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
277 (si_call_addr, si_syscall, si_arch): Define new macro.
278 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
280 (si_call_addr, si_syscall, si_arch): Define new macro.
282 2012-07-25 Joseph Myers <joseph@codesourcery.com>
285 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
286 Change to 2.4.21 where previously 2.4.1.
287 * sysdeps/unix/sysv/linux/configure: Regenerated.
288 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
289 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
290 Linux kernel version.
291 (__ASSUME_STD_AUXV): Remove.
292 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
294 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
295 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
296 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
297 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
298 (__ASSUME_NETLINK_SUPPORT): Likewise.
299 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
300 (__no_netlink_support): Remove conditional definition.
301 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
303 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
304 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
305 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
306 (if_nameindex_ioctl): Remove.
307 (if_nameindex_netlink): Do not handle __no_netlink_support.
308 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
310 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
311 Remove conditional code.
312 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
314 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
316 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
317 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
318 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
320 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
321 [!__ASSUME_STD_AUXV]: Remove conditional code.
322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
323 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
324 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
326 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
327 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
329 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
331 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
332 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
334 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
336 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
339 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
342 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
344 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
346 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
348 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
351 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
353 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
356 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
358 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
360 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
362 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
365 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
367 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
369 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
371 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
374 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
376 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
377 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
378 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
379 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
380 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
381 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
382 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
383 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
384 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
385 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
386 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
387 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
388 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
389 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
390 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
391 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
392 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
393 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
394 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
396 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
397 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
398 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
400 2012-07-25 Florian Weimer <fweimer@redhat.com>
402 * Versions.def: Add GLIBC_2.17.
403 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
404 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
405 Introduce __libc_secure_getenv.
406 * stdlib/Versions (2.17): Add secure_getenv
407 (GLIBC_PRIVATE): Add __libc_secure_getenv.
408 * stdlib/secure-getenv.c: Rename __secure_getenv to
409 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
410 symbol __secure_getenv for GLIBC_2.0.
411 * stdlib/tst-secure-getenv.c: New.
412 * stdlib/Makefile (tests): Add testcase.
413 * manual/startup.texi (Environment Access): Document
415 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
416 __libc_secure_getenv.
417 * inet/ruserpass.c (ruserpass): Likewise.
418 * malloc/mtrace.c (mtrace): Likewise.
419 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
420 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
421 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
422 * sysdeps/posix/tempname.c: Likewise. Evaluate
424 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
425 __secure_getenv to __libc_secure_getenv.
426 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
439 2012-07-25 Joseph Myers <joseph@codesourcery.com>
441 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
442 (struct La_i86_retval): Likewise.
443 (struct La_x86_64_regs): Likewise.
444 (struct La_x86_64_retval): Likewise.
445 (struct La_x32_regs): Likewise.
446 (struct La_x32_retval): Likewise.
447 (struct La_ppc32_regs): Likewise.
448 (struct La_ppc32_retval): Likewise.
449 (struct La_ppc64_regs): Likewise.
450 (struct La_ppc64_retval): Likewise.
451 (struct La_sh_regs): Likewise.
452 (struct La_sh_retval): Likewise.
453 (struct La_s390_32_regs): Likewise.
454 (struct La_s390_32_retval): Likewise.
455 (struct La_s390_64_regs): Likewise.
456 (struct La_s390_64_retval): Likewise.
457 (struct La_sparc32_regs): Likewise.
458 (struct La_sparc32_retval): Likewise.
459 (struct La_sparc64_regs): Likewise.
460 (struct La_sparc64_retval): Likewise.
461 (struct audit_ifaces): Remove architecture-specific pltenter and
463 * sysdeps/i386/ldsodefs.h: New file.
464 * sysdeps/powerpc/ldsodefs.h: Likewise.
465 * sysdeps/s390/ldsodefs.h: Likewise.
466 * sysdeps/sh/ldsodefs.h: Likewise.
467 * sysdeps/sparc/ldsodefs.h: Likewise.
468 * sysdeps/x86_64/ldsodefs.h: Likewise.
470 2012-07-25 Marek Polacek <polacek@redhat.com>
473 * math/libm-test.inc (yn_test): Add another test.
474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
475 to ERANGE when the result is +-Inf.
476 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
477 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
478 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
479 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
481 2012-07-24 Joseph Myers <joseph@codesourcery.com>
483 * conform/data/time.h-data (NULL): Use macro-constant. Require
485 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
487 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
489 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
491 * configure.in <sysdeps resolving>: Correct printing
493 * configure: Regenerate.
495 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
497 * math/w_ilogb.c: Include <limits.h>.
498 * math/w_ilogbl.c: Likewise.
500 2012-07-20 Joseph Myers <joseph@codesourcery.com>
502 * manual/lang.texi (__va_copy): Document primarily as ISO C99
503 va_copy. Document allowing for unavailable va_copy only as
504 pre-C99 compatibility.
505 * manual/string.texi (Copying and Concatenation): Use va_copy
506 instead of __va_copy in concat example.
508 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
510 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
511 (__sendto): Use create_address_port. Initialize APORT and deallocate
514 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
515 with O_NOLINK passed to __file_name_lookup.
517 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
518 with O_NOLINK passed to __file_name_lookup.
520 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
521 negative N or less than NGIDS.
523 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
524 type to string_t. Set ERANGE as errno and return it if NAME is not big
525 enough. Use memcpy instead of strncpy.
527 2012-07-20 Joseph Myers <joseph@codesourcery.com>
529 * elf/Makefile (check-data): Remove.
530 (localplt.data): New vpath directive.
531 ($(objpfx)check-localplt.out): Use localplt.data from vpath
532 instead of $(check-data).
533 * scripts/data/localplt-generic.data: Move to ...
534 * sysdeps/generic/localplt.data: ... here.
535 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
536 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
537 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
540 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
543 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
546 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
549 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
552 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
556 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
558 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
559 PPC32 and PPC64 files.
560 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
561 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
563 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
565 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
566 __makecontext_ret to ...
567 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
568 ... here and call exit if uc_link is NULL. New file.
569 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
571 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
572 __makecontext_ret to ...
573 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
574 ... here and call exit if uc_link is NULL. New file.
575 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
578 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
580 * elf/elf.h (R_390_IRELATIVE): New definition.
581 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
582 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
583 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
584 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
585 (elf_machine_lazy_rel): Likewise.
586 * sysdeps/s390/dl-irel.h: New file.
587 * sysdeps/s390/s390-64/memcpy.S: New asm code.
588 * sysdeps/s390/s390-64/memset.S: New asm code.
589 * sysdeps/s390/s390-64/memcmp.S: New asm code.
590 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
591 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
592 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
593 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
594 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
596 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
597 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
598 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
599 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
600 * sysdeps/s390/s390-32/memcpy.S: New asm code.
601 * sysdeps/s390/s390-32/memset.S: New asm code.
602 * sysdeps/s390/s390-32/memcmp.S: New asm code.
604 2012-07-17 Marek Polacek <polacek@redhat.com>
607 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
608 * sysdeps/s390/s390-64/configure.in: Likewise.
609 * sysdeps/sparc/configure.in: Likewise.
610 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
611 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
612 * sysdeps/i386/configure.in: Likewise.
613 * sysdeps/x86_64/configure.in: Likewise.
614 * sysdeps/sh/configure.in: Likewise.
615 * sysdeps/s390/s390-32/configure: Regenerated.
616 * sysdeps/s390/s390-64/configure: Likewise.
617 * sysdeps/x86_64/configure: Likewise.
618 * sysdeps/sh/configure: Likewise.
619 * sysdeps/powerpc/powerpc64/configure: Likewise.
620 * sysdeps/powerpc/powerpc32/configure: Likewise.
621 * sysdeps/sparc/configure: Likwise.
622 * sysdeps/i386/configure: Likewise.
624 * elf/dl-open.c: Comment fixes.
626 2012-07-17 Joseph Myers <joseph@codesourcery.com>
628 * Makefile [CXX] (check-data): Remove.
629 [CXX] (c++-types.data): New vpath directive.
630 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
631 vpath. Do not allow for C++ type data being missing.
632 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
633 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
634 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
635 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
636 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
637 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
638 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
641 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
644 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
647 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
650 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
653 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
656 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
659 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
662 * elf/tls-macros.h (TLS_LE): Move architecture-specific
663 definitions to architecture-specific files.
667 * sysdeps/i386/tls-macros.h: New file.
668 * sysdeps/powerpc/tls-macros.h: Likewise.
669 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
670 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
671 * sysdeps/sh/tls-macros.h: Likewise.
672 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
673 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
674 * sysdeps/x86_64/tls-macros.h: Likewise.
676 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
678 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
679 zero value for regular exit case.
681 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
682 (__start_context): Preserve zero value for regular exit case.
684 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
685 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
687 * manual/setjmp.texi (setcontext): Clarify normal process
688 termination when uc_link is the null pointer.
689 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
692 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
694 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
695 preprocessor. Test for each exception mask separately.
697 2012-07-16 Andreas Jaeger <aj@suse.de>
699 * po/ru.po: Update from translation team.
701 2012-07-15 Joseph Myers <joseph@codesourcery.com>
703 * conform/data/string.h-data (NULL): Use macro-constant. Require
705 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
706 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
707 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
708 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
711 2012-07-13 Andreas Jaeger <aj@suse.de>
713 * po/fr.po: Update from translation team.
715 2012-07-12 Marek Polacek <polacek@redhat.com>
718 * math/libm-test.inc (yn_test): Add test for BZ #14173.
719 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
722 2012-07-12 Joseph Myers <joseph@codesourcery.com>
725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
726 Change to 2.4.1 where previously 2.4.0.
727 * sysdeps/unix/sysv/linux/configure: Regenerated.
728 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
729 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
731 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
732 (__ASSUME_AT_CLKTCK): Remove.
733 (__ASSUME_AT_PAGESIZE): Likewise.
734 (__ASSUME_AT_XID): Likewise.
735 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
736 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
737 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
739 (HAVE_AUX_PAGESIZE): Likewise.
740 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
741 [__ASSUME_AT_CLKTCK]: Make code unconditional.
742 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
744 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
748 the temporary buffer used to invoke __gethostbyname2_r,
749 __gethostbyaddr_r and gethostbyname4_r to make room for struct
750 host_data / struct gaih_addrtuple.
751 * resolv/nss_dns/dns-host.c (global scope): Move definition of
752 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
753 header file nss/nsswitch.h.
754 * nss/nsswitch.h (global scope): Add definition of implementation
755 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
756 resolv/nss_dns/dns-host.c).
758 2012-07-11 Andreas Jaeger <aj@suse.de>
760 * po/fr.po: Update from translation team.
762 * po/sv.po: Update from translation team
763 * po/fr.po: Another update from translation team.
765 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
767 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
768 for subnormals or multiply small sinh result by itself.
769 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
772 2012-07-11 David S. Miller <davem@davemloft.net>
774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
776 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
779 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
780 (INTERNAL_MARK): Shift it here.
782 2012-07-10 Marek Polacek <polacek@redhat.com>
785 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
786 libc_cv_asm_global_directive with .globl.
787 * configure: Regenerated.
788 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
790 * sysdeps/i386/configure: Regenerated.
791 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
793 * sysdeps/x86_64/configure: Regenerated.
794 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
795 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
796 * elf/tst-unique2mod2.c: Likewise.
797 * elf/tst-unique2mod1.c: Likewise.
798 * elf/tst-unique1mod2.c: Likewise.
799 * elf/tst-unique1mod1.c: Likewise.
800 * sysdeps/s390/s390-32/sysdep.h: Likewise.
801 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
802 * sysdeps/s390/s390-64/sysdep.h: Likewise.
803 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
804 * sysdeps/mach/sysdep.h: Likewise.
805 * sysdeps/i386/sysdep.h: Likewise.
806 * sysdeps/i386/i386-mcount.S: Likewise.
807 * sysdeps/x86_64/_mcount.S: Likewise.
808 * sysdeps/x86_64/sysdep.h: Likewise.
809 * sysdeps/sh/_mcount.S: Likewise.
810 * sysdeps/sh/sysdep.h: Likewise.
811 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
812 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
813 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
815 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
816 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
817 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
818 * locale/localeinfo.h: Likewise.
819 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
820 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
822 2012-07-09 Roland McGrath <roland@hack.frob.com>
825 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
827 * manual/message.texi (The Uniforum approach): Likewise.
828 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
829 (glibc iconv Implementation): Likewise.
831 2012-07-09 Joseph Myers <joseph@codesourcery.com>
834 * math/s_clog.c (__clog): Avoid scaling a value down where that
835 could result in underflow.
836 * math/s_clog10.c (__clog10): Likewise.
837 * math/s_clog10f.c (__clog10f): Likewise.
838 * math/s_clog10l.c (__clog10l): Likewise.
839 * math/s_clogf.c (__clogf): Likewise.
840 * math/s_clogl.c (__clogl): Likewise.
841 * math/libm-test.inc (clog_test): Add more tests.
842 (clog10_test): Likewise.
843 * sysdeps/i386/fpu/libm-test-ulps: Update.
844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
846 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
849 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
850 by 7 not 8 to examine high bit of fractional part.
853 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
854 for call to __mcount_internal.
855 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
856 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
857 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
859 2012-07-06 Joseph Myers <joseph@codesourcery.com>
862 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
863 approximation for values within 0x1p-13f of an odd multiple of
865 * math/libm-test.inc (tan_test): Do not allow spurious underflow
866 exception. Add more tests.
867 * sysdeps/i386/fpu/libm-test-ulps: Update.
870 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
871 inputs and return -1 for them. Do not check for +Inf in case not
873 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
874 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
875 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
876 and return -1 for them. Do not check for +Inf in case not
878 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
880 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
881 and return -1 for them. Do not check for +Inf in case not
883 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
885 * sysdeps/i386/fpu/libm-test-ulps: Update.
886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
888 2012-07-06 Mike Frysinger <vapier@gentoo.org>
890 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
892 2012-07-05 Joseph Myers <joseph@codesourcery.com>
896 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
897 could result in spurious underflow. Scale down values above
898 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
899 * math/s_csqrtf.c (__csqrtf): Likewise.
900 * math/s_csqrtl.c (__csqrtl): Likewise.
901 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
903 * sysdeps/i386/fpu/libm-test-ulps: Update.
904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
906 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
908 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
910 * catgets/xopen-msg.awk: New file.
911 * catgets/xopen-msg.sed: Removed.
913 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
915 * intl/po2test.awk: New file.
916 * intl/po2test.sed: Removed.
918 2012-07-04 Joseph Myers <joseph@codesourcery.com>
921 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
922 or multiply small sinh result by itself.
923 * math/s_ctanf.c (__ctanf): Likewise.
924 * math/s_ctanh.c (__ctanh): Likewise.
925 * math/s_ctanhf.c (__ctanhf): Likewise.
926 * math/s_ctanhl.c (__ctanhl): Likewise.
927 * math/s_ctanl.c (__ctanl): Likewise.
928 * math/libm-test.inc (ctan_test_tonearest): New function.
929 (ctan_test_towardzero): Likewise.
930 (ctan_test_downward): Likewise.
931 (ctan_test_upward): Likewise.
932 (ctanh_test_tonearest): Likewise.
933 (ctanh_test_towardzero): Likewise.
934 (ctanh_test_downward): Likewise.
935 (ctanh_test_upward): Likewise.
936 (main): Call these new functions.
937 * sysdeps/i386/fpu/libm-test-ulps: Update.
938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
940 2012-07-03 Mike Frysinger <vapier@gentoo.org>
942 * .gitignore: Delete /ports entry.
944 2012-07-03 Andreas Jaeger <aj@suse.de>
946 * po/bg.po: Update from translation team.
947 * po/cs.po: Likewise.
948 * po/de.po: Likewise.
949 * po/hr.po: Likewise.
950 * po/nl.pl: Likewise.
951 * po/pl.po: Likewise.
952 * po/vi.po: Likewise.
954 2012-07-03 Joseph Myers <joseph@codesourcery.com>
956 * Makeconfig [!+link] (+link-before-libc): New variable.
957 [!+link] (+link-after-libc): Likewise.
958 [!+link] (+link-tests): Likewise.
959 [!+link] (+link): Define in terms of $(+link-before-libc) and
961 [!+link-static] (+link-static-before-libc): New variable.
962 [!+link-static] (+link-static-after-libc): Likewise.
963 [!+link-static] (+link-static-tests): Likewise.
964 [!+link-static] (+link-static): Define in terms of
965 $(+link-static-before-libc) and $(+link-static-after-libc).
966 [build-shared] (link-libc-before-gnulib): New variable.
967 [build-shared] (link-libc-tests): Likewise.
968 [build-shared] (link-libc): Define in terms of
969 $(link-libc-before-gnulib).
970 [!build-shared] (link-libc-tests): New variable.
971 (link-libc-static-tests): New variable.
972 [!gnulib] (gnulib-arch): New variable.
973 [!gnulib] (gnulib-tests): Likewise.
974 [!gnulib] (static-gnulib-arch): Likewise.
975 [!gnulib] (static-gnulib-tests): Likewise.
976 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
977 Define with "=" instead of ":=".
978 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
979 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
980 * Rules (binaries-all-notests): New variable.
981 (binaries-all-tests): Likewise.
982 (binaries-static-notests): Likewise.
983 (binaries-static-tests): Likewise.
984 (binaries-all): Define using $(binaries-all-notests) and
985 $(binaries-all-tests).
986 (binaries-static): Define using $(binaries-static-notests) and
987 $(binaries-static-tests).
988 (binaries-shared-tests): New variable.
989 (binaries-shared-notests): Likewise.
990 (binaries-shared): Remove variable.
991 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
992 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
993 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
994 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
995 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
996 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
997 * elf/Makefile (sln-modules): New variable.
998 (extra-objs): Add $(sln-modules:=.o).
999 (ldconfig-modules): Add static-stubs.
1000 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1001 * elf/static-stubs.c: New file.
1004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1005 by 7 not 8 to examine high bit of fractional part. Use volatile
1006 variables when splitting into final array of floats if
1007 __FLT_EVAL_METHOD__ != 0.
1008 * math/libm-test.inc (cos_test): Add another test.
1009 (sin_test): Likewise.
1010 * sysdeps/i386/fpu/libm-test-ulps: Update.
1013 * math/libm-test.inc (cosh_test): Add more tests.
1015 * version.h (RELEASE): Set to "development".
1016 (VERSION): Set to "2.16.90".
1018 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1020 * NEWS: Update copyright. Remove last-updated date.
1021 Mention math library bug fixes and timezone data changes.
1022 * README: Mention GNU/Hurd, x32, and HPPA support status.
1024 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1026 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1028 2012-06-27 Andreas Jaeger <aj@suse.de>
1030 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1032 2012-06-25 Andreas Jaeger <aj@suse.de>
1034 * sysdeps/s390/fpu/libm-test-ulps: Update.
1036 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1037 Thomas Schwinge <thomas@codesourcery.com>
1039 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1040 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1041 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1044 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1046 * sysdeps/mach/start.c: Remove file.
1047 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1048 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1049 * sysdeps/sh/init-first.c: Likewise.
1051 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1052 registers for frame unwinding purposes, add CFI directives.
1053 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1055 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1058 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1059 __fortify_fail returning.
1060 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1062 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1063 sysdeps/sh/____longjmp_chk.S.
1064 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1065 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1066 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1067 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1069 * sysdeps/sh/abort-instr.h: New file.
1070 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1071 process in case exit returns.
1073 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1074 initialize the GOT register before use.
1076 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1077 calculation of ARGC > 4.
1079 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1080 meaningful names to some local labels.
1082 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1083 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1085 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1086 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1087 (__arch_compare_and_exchange_val_16_acq): Likewise.
1088 (__arch_compare_and_exchange_val_32_acq): Likewise.
1089 (atomic_exchange_and_add): Fix gUSA sequence.
1090 (atomic_add): Likewise.
1091 (atomic_add_negative): Likewise.
1092 (atomic_add_zero): Likewise.
1093 (atomic_bit_test_set): Likewise.
1095 2012-06-22 Andreas Schwab <schwab@redhat.com>
1098 * include/link.h (struct link_map): Add l_free_initfini.
1099 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1101 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1102 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1103 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1106 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1108 * configure.in: Use AC_LANG_SOURCE.
1109 * configure: Regenerate.
1111 2012-06-22 Roland McGrath <roland@hack.frob.com>
1113 * configure.in (libc_cv_localstatedir): New substituted variable.
1114 * configure: Regenerated.
1115 * config.make.in (localstatedir): New variable, substituted from
1116 libc_cv_localstatedir.
1117 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1118 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1119 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1120 * sysdeps/gnu/configure: Regenerated.
1122 2012-06-21 Jeff Law <law@redhat.com>
1125 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1126 free. Simplify list management for _LIBC case.
1128 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1131 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1132 Clear sign bit of 64-bit integer value before comparing against
1135 * sysdeps/mach/configure: Regenerated.
1137 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1140 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1142 2012-06-21 Jeff Law <law@redhat.com>
1145 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1146 uint16_t for elements in the "seen" array to avoid char overflows.
1147 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1148 * elf/dl-open.c (dl_open_worker): Likewise.
1150 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1152 * scripts/list-sources.sh: Scan PORTS for translations.
1153 * po/libc.pot: Regenerated.
1155 2012-06-21 Andreas Jaeger <aj@suse.de>
1158 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1160 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1161 * bits/byteswap-16.h (__bswap_16): Likewise.
1162 * bits/byteswap.h (__bswap_constant_16): Likewise.
1164 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1167 * sysdeps/i386/fpu_control.h: Removed.
1168 * sysdeps/x86_64/fpu_control.h: Moved to ...
1169 * sysdeps/x86/fpu_control.h: Here.
1171 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1172 (_FPU_SETCW): Likewise.
1174 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1177 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1178 * sysdeps/x86/fpu/bits/mathinline.h: This.
1179 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1183 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1184 functions if __x86_64__ is defined.
1186 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1188 * string/endian.h: Add !__ASSEMBLER__ condition for including
1189 conversion interfaces.
1191 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1195 of ABS(x) in calculating zero to negative powers other than odd
1197 * math/libm-test.inc (pow_test): Add more tests.
1199 2012-06-15 Andreas Jaeger <aj@suse.de>
1201 * manual/contrib.texi (Contributors): Update entry of Liubov
1202 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1205 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1207 * string/string.h: Add __wur to GNU version of strerror_r.
1209 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1212 * string/Makefile (tests): Add tst-strtok_r.
1213 * string/tst-strtok_r.c: New file.
1214 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1215 RAX_LP/RDX_LP on SAVE_PTR.
1217 2012-06-14 Roland McGrath <roland@hack.frob.com>
1219 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1221 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1223 * libm_test.inc (csqrt_test): Allow more spurious underflow
1225 (j0_test): Likewise.
1226 (j1_test): Likewise.
1227 (y0_test): Likewise.
1228 (y1_test): Likewise.
1230 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1232 * po/Makefile (libc.pot): Use UTF-8 charset.
1234 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1237 Suppress sign-conversion warning from FD_SET.
1238 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1239 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1240 not unsigned long int.
1241 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1243 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1247 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1248 __extern_always_inline instead of __extern_inline.
1249 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1250 (__signbit): Likewise.
1251 (__signbitl): Support C++ namespace.
1252 (lrintf): New inline function.
1254 (llrintf): Likewise.
1266 (nearbyint): Likewise.
1267 (nearbyintf): Likewise.
1269 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1272 non-default versions.
1274 2012-06-11 Roland McGrath <roland@hack.frob.com>
1277 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1279 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1281 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1282 (FE_UPWARD, FE_DOWNWARD): Don't define.
1283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1284 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1286 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1288 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1291 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1293 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1294 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1295 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1296 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1298 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1301 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1302 * sysdeps/i386/fpu/Implies: New file.
1303 * sysdeps/x86_64/fpu/Implies: Likewise.
1304 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1305 * sysdeps/x86/fpu/bits/fenv.h: This.
1307 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1310 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1313 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1314 character 0xffff that matches the last element of the
1317 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1319 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1322 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1325 values higher than 25.6283.
1327 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1329 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1330 subnormal exponent extraction and add some __builtin_expect.
1331 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1332 Fix for subnormal mantissa calculation.
1334 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1336 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1337 cpu2 is -1 and errno is not ENOSYS.
1339 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1342 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1343 * sysdeps/x86/bits/string.h: This.
1344 * sysdeps/x86_64/bits/string.h: Removed.
1346 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1347 if not compiling for x86-64, but compiling for >= i486.
1349 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1350 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1352 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1353 New macro from Linux kernel 3.4.0.
1354 (FP_XSTATE_MAGIC2): Likewise.
1355 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1356 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1357 (struct _fpx_sw_bytes): New struct.
1358 (struct _xsave_hdr): Likewise.
1359 (struct _ymmh_state): Likewise.
1360 (struct _xstate): Likewise.
1362 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1363 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1364 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1365 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1366 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1367 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1369 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1371 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1372 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1373 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1374 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1376 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1379 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1380 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1381 (sysdep_headers): Include sys/platform/ppc.h.
1382 * sysdeps/powerpc/test-gettimebase.c: Test for
1383 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1384 * manual/Makefile (appendices): Include platform.texi.
1385 * manual/contrib.texi (Contributors): Update @node pointers.
1386 * manual/maint.texi (Maintenance): Likewise.
1387 (Platform): New node.
1388 * manual/platform.texi: New file. Document the new features.
1390 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1391 Jakub Jelinek <jakub@redhat.com>
1394 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1395 where __builtin_expect is unavailable.
1397 2012-06-03 David S. Miller <davem@davemloft.net>
1399 * stdlib/longlong.h: Updated from GCC.
1401 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1404 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1405 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1408 (GLIBC_2.16): Likewise.
1410 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1412 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1414 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1417 (default-abi): New variable.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1419 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1421 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1423 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1425 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1428 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1429 definition. Document in comment.
1431 2012-06-01 David S. Miller <davem@davemloft.net>
1433 * stdlib/longlong.h: Updated from GCC.
1435 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1438 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1439 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1440 sys/debugreg.h sys/io.h here.
1441 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1442 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1444 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1445 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1446 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1447 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1448 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1449 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1451 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1452 Define only if __x86_64__ is defined.
1454 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1457 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1458 Use int64_t for variable i.
1459 * math/libm-test.inc (fmod_test): Add more tests.
1461 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1462 z computation is not scheduled after fetestexcept.
1463 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1464 Use math_force_eval instead of asm to ensure calculation scheduled
1465 before exception test.
1466 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1467 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1469 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1472 computation is not scheduled after fetestexcept.
1474 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1477 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1478 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1480 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1482 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1483 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1485 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1488 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1490 (__WCHAR_MIN): Support __WORDSIZE == 64.
1491 (__WCHAR_MAX): Likewise.
1493 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1494 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1497 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1498 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1501 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1502 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1504 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1505 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1507 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1508 Defined to 1 if __x86_64__ isn't defined.
1509 (_STAT_VER_LINUX_OLD): New.
1510 (st_atime): Remove duplicate.
1511 (st_mtime): Likewise.
1512 (st_ctime): Likewise.
1514 2012-05-31 David S. Miller <davem@davemloft.net>
1516 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1519 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1521 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1525 * elf/dl-reloc.c: Include <_itoa.h>.
1526 (_dl_reloc_bad_type): Remove use of INTUSE.
1527 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1528 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1529 * stdio-common/psiginfo.c (psiginfo): Likewise.
1530 * stdio-common/psignal.c (psignal): Likewise.
1531 * string/strsignal.c (strsignal): Likewise.
1532 * include/signal.h (_sys_siglist): Declare hidden proto.
1533 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1534 INTVARDEF with libc_hidden_data_def.
1535 * stdio-common/itoa-udigits.c: Likewise.
1536 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1537 (_itoa_lower_digits_internal): Remove declaration.
1538 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1539 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1540 (_sys_sigabbrev_internal): Remove aliases.
1541 (_sys_siglist): Define hidden alias.
1543 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1548 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1551 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1552 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1554 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1555 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1556 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1557 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1558 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1559 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1561 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1562 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1563 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1565 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1573 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1574 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1575 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1577 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1578 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1580 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1581 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1582 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1584 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1585 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1587 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1588 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1592 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1594 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1595 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1597 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1599 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1600 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1601 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1603 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1605 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1607 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1609 * math/math.h (M_El): Use two more decimal places.
1610 (M_LOG2El): Likewise.
1611 (M_LOG10El): Likewise.
1613 (M_LN10l): Likewise.
1615 (M_PI_2l): Likewise.
1616 (M_PI_4l): Likewise.
1617 (M_1_PIl): Likewise.
1618 (M_2_PIl): Likewise.
1619 (M_2_SQRTPIl): Likewise.
1620 (M_SQRT2l): Likewise.
1621 (M_SQRT1_2l): Likewise.
1623 2012-05-31 David S. Miller <davem@davemloft.net>
1625 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1626 values between float registers.
1627 * sysdeps/sparc/sparc64/memset.S: Likewise.
1628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1630 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1632 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1633 -D_FORTIFY_SOURCE=1.
1634 (CPPFLAGS-tst-longjmp_chk.c): Define.
1635 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1636 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1637 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1638 CFLAGS-tst-wchar-h.c.
1640 2012-05-31 Marek Polacek <polacek@redhat.com>
1643 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1644 __endmntent_internal): Remove declaration.
1645 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1646 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1647 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1649 2012-05-30 David S. Miller <davem@davemloft.net>
1651 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1652 (___Q_simulate_exceptions): Use real FP ops rather than writing
1654 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1657 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1660 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1661 * sysdeps/x86/bits/xtitypes.h: This.
1663 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1664 * sysdeps/x86/bits/wordsize.h: This.
1666 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1667 * sysdeps/x86/bits/huge_vall.h: This.
1669 * sysdeps/i386/bits/select.h: Removed.
1670 * sysdeps/x86_64/bits/select.h: Renamed to ...
1671 * sysdeps/x86/bits/select.h: This.
1673 * sysdeps/i386/bits/setjmp.h: Removed.
1674 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1675 * sysdeps/x86/bits/setjmp.h: This.
1677 * sysdeps/i386/bits/mathdef.h: Removed.
1678 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1679 * sysdeps/x86/bits/mathdef.h: This.
1681 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1684 * include/sys/socket.h (__connect_internal)
1685 (__libc_sa_len_internal): Remove declaration.
1686 (__connect, __libc_sa_len): Declare hidden_proto.
1687 (SA_LEN): Remove use of INTUSE.
1688 * socket/connect.c: Add libc_hidden_def.
1689 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1690 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1691 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1693 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1695 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1696 of adding _internal alias.
1698 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1701 * sysdeps/i386/bits/link.h: Removed.
1702 * sysdeps/i386/bits/linkmap.h: Likewise.
1703 * sysdeps/x86_64/bits/link.h: Renamed to ...
1704 * sysdeps/x86/bits/link.h: This.
1705 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1706 * sysdeps/x86/bits/linkmap.h: This.
1708 * sysdeps/i386/bits/endian.h: Removed.
1709 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1710 * sysdeps/x86/bits/endian.h: This.
1712 * sysdeps/i386/bits/byteswap.h: Removed.
1713 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1714 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1715 * sysdeps/x86/bits/byteswap.h: This.
1716 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1717 * sysdeps/x86/bits/byteswap-16.h: This.
1718 * sysdeps/i386/Implies: Add x86.
1719 * sysdeps/x86_64/Implies: Likewise.
1721 2012-05-30 David S. Miller <davem@davemloft.net>
1723 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1724 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1725 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1726 (FP_TRAPPING_EXCEPTIONS): Define.
1727 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1728 (FP_TRAPPING_EXCEPTIONS): Define.
1729 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1730 subnormals only when inexact has been signalled or underflow
1731 exceptions are enabled.
1732 (_FP_PACK_CANONICAL): Likewise.
1734 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1737 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1738 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1740 2012-05-30 Richard Henderson <rth@twiddle.net>
1742 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1743 with #ifndef NOT_IN_libc.
1745 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1746 marked to avoid plt entry.
1748 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1751 * Makeconfig (default-abi): New macro.
1752 (abi-includes): Likewise.
1753 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1754 $(abi-$(default-abi)-lib-soname) for soname if defined.
1755 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1757 * Makefile (installed-stubs): Likewise.
1758 * include/stubs-biarch.h: Removed.
1759 * scripts/lib-names.awk: Only handle one library at a time.
1760 * scripts/soversions.awk: Remove WORDSIZE support.
1761 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1763 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1765 (syscall-list-default-condition): Likewise.
1766 (syscall-list-default-condition): Likewise.
1767 (syscall-list-includes): Likewise.
1768 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1769 syscall-list-* with abi-*. Handle undefined abi-variants.
1770 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1771 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1772 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1773 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1774 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1775 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1777 (syscall-list-32-options): Likewise.
1778 (syscall-list-32-condition): Likewise.
1779 (syscall-list-64-options): Likewise.
1780 (syscall-list-64-condition): Likewise.
1781 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1783 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1786 (abi-64-ld-soname): New macro.
1787 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1788 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1791 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1792 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1794 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1796 * sysdeps/unix/sysv/linux/kernel-features.h
1797 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1798 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1799 include <kernel-features.h>.
1800 [!__NR_ftruncate64]: Remove conditional code.
1801 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1802 [__NR_ftruncate64]: Make code unconditional.
1803 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1804 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1805 include <kernel-features.h>.
1806 [!__NR_ftruncate64]: Remove conditional code.
1807 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1808 [__NR_ftruncate64]: Make code unconditional.
1809 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1811 include <kernel-features.h>.
1812 [!__NR_ftruncate64]: Remove conditional code.
1813 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1814 [__NR_ftruncate64]: Make code unconditional.
1815 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1817 include <kernel-features.h>.
1818 [!__NR_ftruncate64]: Remove conditional code.
1819 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1820 [__NR_ftruncate64]: Make code unconditional.
1821 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1823 * configure.in (libc_cv_fpie): Weaken to a compile test using
1825 * configure: Regenerated.
1827 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1842 2012-05-27 David S. Miller <davem@davemloft.net>
1844 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1846 (__Q_simulate_exceptions): Return void. Change to simulate
1847 exceptions by writing into the %fsr.
1848 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1849 (__Qp_handle_exceptions): Likewise.
1851 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1852 __Qp_handle_exceptions.
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1854 __Qp_handle_exceptions.
1855 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1856 as unused and give dummy FP_RND_NEAREST initializer.
1857 (FP_INHIBIT_RESULTS): Define.
1858 (___Q_simulate_exceptions): Update declaration.
1859 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1861 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1862 as unused and give dummy FP_RND_NEAREST initializer.
1863 (__Qp_handle_exceptions): Update declaration.
1864 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1867 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1869 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1870 the temporary FPU control word.
1871 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1872 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1873 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1874 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1875 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1876 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1877 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1878 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1879 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1880 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1881 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1883 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1885 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1888 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1890 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1891 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1892 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1893 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1895 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1896 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1899 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1901 * po/h.po: Update from translation team.
1903 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1905 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1907 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1908 handling of denormals.
1909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1910 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1911 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1912 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1918 2012-05-26 Marek Polacek <polacek@redhat.com>
1921 * math/libm-test.inc (fma_test): Don't always expect underflow
1924 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1927 * elf/tst-execstack.c: Include stackinfo.h.
1928 (do_test): Adjust test case to ensure that pthread_getattr_np
1929 behaviour remains the same after marking stack executable.
1931 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1933 * sysdeps/unix/sysv/linux/kernel-features.h
1934 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1935 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1937 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1938 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1939 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1941 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1942 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1944 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1946 * configure.in: Define the default includes to being none.
1947 * configure: Regenerated.
1949 2012-05-25 Roland McGrath <roland@hack.frob.com>
1951 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1952 * sysdeps/x86_64/setjmp.S: Likewise.
1953 * sysdeps/i386/bsd-setjmp.S: Likewise.
1954 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1955 * sysdeps/i386/setjmp.S: Likewise.
1956 * sysdeps/i386/__longjmp.S: Likewise.
1957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1958 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1960 * include/stap-probe.h: New file.
1961 * configure.in: Handle --enable-systemtap.
1962 * configure: Regenerated.
1963 * config.h.in (USE_STAP_PROBE): New #undef.
1964 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1965 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1966 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1968 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1972 to 2.4.0 where earlier.
1973 * sysdeps/unix/sysv/linux/configure: Regenerated.
1974 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
1983 [__ASSUME_32BITUIDS]: Make code unconditional.
1984 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1985 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1986 <kernel-features.h>.
1987 [__ASSUME_32BITUIDS]: Make code unconditional.
1988 [!__ASSUME_32BITUIDS]: Remove conditional code.
1989 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1990 <kernel-features.h>.
1991 [__ASSUME_32BITUIDS]: Make code unconditional.
1992 [!__ASSUME_32BITUIDS]: Remove conditional code.
1993 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1994 <kernel-features.h>.
1995 [__ASSUME_32BITUIDS]: Make code unconditional.
1996 [!__ASSUME_32BITUIDS]: Remove conditional code.
1997 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1998 <kernel-features.h>.
1999 [__ASSUME_32BITUIDS]: Make code unconditional.
2000 [!__ASSUME_32BITUIDS]: Remove conditional code.
2001 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2002 <kernel-features.h>.
2003 [__ASSUME_32BITUIDS]: Make code unconditional.
2004 [!__ASSUME_32BITUIDS]: Remove conditional code.
2005 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2006 <kernel-features.h>.
2007 [__ASSUME_32BITUIDS]: Make code unconditional.
2008 [!__ASSUME_32BITUIDS]: Remove conditional code.
2009 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2010 <kernel-features.h>.
2011 [__ASSUME_32BITUIDS]: Make code unconditional.
2012 [!__ASSUME_32BITUIDS]: Remove conditional code.
2013 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2014 <kernel-features.h>.
2015 [__ASSUME_32BITUIDS]: Make code unconditional.
2016 [!__ASSUME_32BITUIDS]: Remove conditional code.
2017 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2018 <kernel-features.h>.
2019 [__ASSUME_32BITUIDS]: Make code unconditional.
2020 [!__ASSUME_32BITUIDS]: Remove conditional code.
2021 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2022 <kernel-features.h>.
2023 [__ASSUME_32BITUIDS]: Make code unconditional.
2024 [!__ASSUME_32BITUIDS]: Remove conditional code.
2025 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2026 <kernel-features.h>.
2027 [__NR_setresgid] (__setresgid): Do not declare.
2028 [__ASSUME_32BITUIDS]: Make code unconditional.
2029 [!__ASSUME_32BITUIDS]: Remove conditional code.
2030 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2031 <kernel-features.h>.
2032 [__NR_setresuid] (__setresuid): Do not declare.
2033 [__ASSUME_32BITUIDS]: Make code unconditional.
2034 [!__ASSUME_32BITUIDS]: Remove conditional code.
2035 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2036 <kernel-features.h>.
2037 [__ASSUME_32BITUIDS]: Make code unconditional.
2038 [!__ASSUME_32BITUIDS]: Remove conditional code.
2039 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2040 <kernel-features.h>.
2041 [__ASSUME_32BITUIDS]: Make code unconditional.
2042 [!__ASSUME_32BITUIDS]: Remove conditional code.
2043 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2044 <kernel-features.h>.
2045 [__ASSUME_32BITUIDS]: Make code unconditional.
2046 [!__ASSUME_32BITUIDS]: Remove conditional code.
2047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2048 <kernel-features.h>.
2049 [__ASSUME_32BITUIDS]: Make code unconditional.
2050 [!__ASSUME_32BITUIDS]: Remove conditional code.
2051 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2052 <kernel-features.h>.
2053 [__ASSUME_32BITUIDS]: Make code unconditional.
2054 [!__ASSUME_32BITUIDS]: Remove conditional code.
2055 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2056 <kernel-features.h>.
2057 [__ASSUME_32BITUIDS]: Make code unconditional.
2058 [!__ASSUME_32BITUIDS]: Remove conditional code.
2059 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2060 <kernel-features.h>.
2061 [__ASSUME_32BITUIDS]: Make code unconditional.
2062 [!__ASSUME_32BITUIDS]: Remove conditional code.
2063 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2064 <kernel-features.h>.
2065 [__ASSUME_32BITUIDS]: Make code unconditional.
2066 [!__ASSUME_32BITUIDS]: Remove conditional code.
2067 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2068 <kernel-features.h>.
2069 [__ASSUME_32BITUIDS]: Make code unconditional.
2070 [!__ASSUME_32BITUIDS]: Remove conditional code.
2071 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2072 <kernel-features.h>.
2073 [__ASSUME_32BITUIDS]: Make code unconditional.
2074 [!__ASSUME_32BITUIDS]: Remove conditional code.
2075 * sysdeps/unix/sysv/linux/kernel-features.h
2076 (__ASSUME_SETRESUID_SYSCALL): Remove.
2077 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2078 (__ASSUME_32BITUIDS): Likewise.
2079 (__ASSUME_LDT_WORKS): Likewise.
2080 (__ASSUME_O_DIRECTORY): Likewise.
2081 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2082 architecture but not kernel version.
2083 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2084 (__ASSUME_MMAP2_SYSCALL): Likewise.
2085 (__ASSUME_STAT64_SYSCALL): Likewise.
2086 (__ASSUME_IPC64): Likewise.
2087 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2088 <kernel-features.h>.
2089 [__ASSUME_32BITUIDS]: Make code unconditional.
2090 [!__ASSUME_32BITUIDS]: Remove conditional code.
2091 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2092 <kernel-features.h>.
2093 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2094 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2095 132096]: Remove conditional code.
2096 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2097 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2098 <kernel-features.h>.
2099 [__ASSUME_32BITUIDS]: Make code unconditional.
2100 [!__ASSUME_32BITUIDS]: Remove conditional code.
2101 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2102 <kernel-features.h>.
2103 [__ASSUME_32BITUIDS]: Make code unconditional.
2104 [!__ASSUME_32BITUIDS]: Remove conditional code.
2105 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2106 <kernel-features.h>.
2107 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2109 (__setresgid): Do not declare.
2110 [__ASSUME_32BITUIDS]: Make code unconditional.
2111 [!__ASSUME_32BITUIDS]: Remove conditional code.
2112 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2113 <kernel-features.h>.
2114 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2116 (__setresuid): Do not declare.
2117 [__ASSUME_32BITUIDS]: Make code unconditional.
2118 [!__ASSUME_32BITUIDS]: Remove conditional code.
2119 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2120 <kernel-features.h>.
2121 [__ASSUME_32BITUIDS]: Make code unconditional.
2122 [!__ASSUME_32BITUIDS]: Remove conditional code.
2123 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2124 <kernel-features.h>.
2125 [__ASSUME_32BITUIDS]: Make code unconditional.
2126 [!__ASSUME_32BITUIDS]: Remove conditional code.
2128 2012-05-25 Richard Henderson <rth@twiddle.net>
2130 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2131 dl_hwcap to ifunc resolver.
2132 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2134 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2135 dl_hwcap to ifunc resolver.
2136 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2138 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2141 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2142 for |x| <= 2**-26, not 2**-57.
2143 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2146 2012-05-24 Jeff Law <law@redhat.com>
2148 * stdio-common/Makefile (tests): Add bug25.
2149 * stdio-common/bug25.c: New test.
2151 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2154 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2155 multiple of MALLOC_ALIGNMENT in size.
2156 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2158 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2160 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2162 (FILENAME_MAX): Use macro-int-constant.
2163 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2164 (_IOFBF): Use macro-int-constant.
2167 (SEEK_CUR): Likewise.
2168 (SEEK_END): Likewise.
2169 (SEEK_SET): Likewise.
2170 (TMP_MAX): Likewise.
2171 (EOF): Use macro-int-constant. Require < 0.
2172 (NULL): Use macro-constant. Require == 0.
2173 (stdin): Require type to be FILE *.
2176 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2178 (EXIT_SUCCESS): Likewise.
2179 (NULL): Use macro-constant. Require == 0.
2180 (RAND_MAX): Use macro-int-constant.
2181 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2182 [C99-based standards] (strtof): Require function.
2183 [C99-based standards] (strtold): Likewise.
2184 [C99-based standards] (strtoll): Likewise.
2185 [C99-based standards] (strtoull): Likewise.
2186 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2187 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2188 [ISO || ISO99 || ISO11] (math.h): Likewise.
2189 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2190 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2193 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2196 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2197 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2198 * intl/dgettext.c (DCGETTEXT): Likewise.
2199 * intl/gettext.c (DCGETTEXT): Likewise.
2200 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2201 * posix/regex_internal.h (gettext): Likewise.
2202 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2204 * include/argz.h (__argz_count_internal)
2205 (__argz_stringify_internal): Remove declaration.
2206 (__argz_count, __argz_stringify): Declare hidden proto.
2207 * intl/dcgettext.c: Remove use of INTDEF.
2208 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2209 * string/argz-stringify.c: Likewise.
2210 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2211 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2212 Declare hidden proto.
2213 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2214 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2215 Declare hidden proto.
2216 * include/stdio.h (__asprintf_internal): Don't declare.
2217 (__asprintf): Don't define as macro. Declare hidden proto.
2218 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2219 (__fsetlocking): Declare hidden proto.
2220 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2221 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2223 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2224 (_IO_setlinebuf): Remove use of INTUSE.
2225 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2226 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2227 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2229 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2230 (_IO_do_flush): Remove use of INTUSE.
2231 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2232 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2233 (_IO_adjust_column, _IO_least_wmarker)
2234 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2235 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2236 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2237 (_IO_default_doallocate, _IO_wdefault_doallocate)
2238 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2239 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2240 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2241 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2242 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2243 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2244 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2245 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2246 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2247 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2248 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2249 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2250 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2252 (_IO_flush_all_internal, _IO_adjust_column_internal)
2253 (_IO_default_uflow_internal, _IO_default_finish_internal)
2254 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2255 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2256 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2257 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2258 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2259 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2260 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2261 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2262 (_IO_file_close_internal, _IO_file_close_it_internal)
2263 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2264 (_IO_file_init_internal, _IO_file_attach_internal)
2265 (_IO_file_fopen_internal, _IO_file_read_internal)
2266 (_IO_file_sync_internal, _IO_file_seek_internal)
2267 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2268 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2269 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2270 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2271 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2272 (_IO_list_all_internal, _IO_link_in_internal)
2273 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2274 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2275 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2276 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2277 (_IO_do_write_internal, _IO_padn_internal)
2278 (_IO_getline_info_internal, _IO_getline_internal)
2279 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2280 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2281 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2282 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2283 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2284 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2285 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2286 with libc_hidden_ver, remove use of INTUSE.
2287 * libio/genops.c: Likewise.
2288 * libio/freopen.c: Likewise.
2289 * libio/freopen64.c: Likewise.
2290 * libio/iofclose.c: Likewise.
2291 * libio/iofdopen.c: Likewise.
2292 * libio/iofflush.c: Likewise.
2293 * libio/iofflush_u.c: Likewise.
2294 * libio/iofgets.c: Likewise.
2295 * libio/iofgets_u.c: Likewise.
2296 * libio/iofopen.c: Likewise.
2297 * libio/iofopncook.c: Likewise.
2298 * libio/iofread.c: Likewise.
2299 * libio/iofread_u.c: Likewise.
2300 * libio/ioftell.c: Likewise.
2301 * libio/iofwrite.c: Likewise.
2302 * libio/iogetline.c: Likewise.
2303 * libio/iogets.c: Likewise.
2304 * libio/iogetwline.c: Likewise.
2305 * libio/iopadn.c: Likewise.
2306 * libio/iopopen.c: Likewise.
2307 * libio/ioseekoff.c: Likewise.
2308 * libio/ioseekpos.c: Likewise.
2309 * libio/iosetbuffer.c: Likewise.
2310 * libio/iosetvbuf.c: Likewise.
2311 * libio/ioungetc.c: Likewise.
2312 * libio/ioungetwc.c: Likewise.
2313 * libio/iovdprintf.c: Likewise.
2314 * libio/iovsprintf.c: Likewise.
2315 * libio/iovsscanf.c: Likewise.
2316 * libio/memstream.c: Likewise.
2317 * libio/obprintf.c: Likewise.
2318 * libio/oldfileops.c: Likewise.
2319 * libio/oldiofclose.c: Likewise.
2320 * libio/oldiofdopen.c: Likewise.
2321 * libio/oldiofopen.c: Likewise.
2322 * libio/oldiopopen.c: Likewise.
2323 * libio/oldstdfiles.c: Likewise.
2324 * libio/putc.c: Likewise.
2325 * libio/setbuf.c: Likewise.
2326 * libio/setlinebuf.c: Likewise.
2327 * libio/stdfiles.c: Likewise.
2328 * libio/strops.c: Likewise.
2329 * libio/vasprintf.c: Likewise.
2330 * libio/vscanf.c: Likewise.
2331 * libio/vsnprintf.c: Likewise.
2332 * libio/vswprintf.c: Likewise.
2333 * libio/wfiledoalloc.c: Likewise.
2334 * libio/wfileops.c: Likewise.
2335 * libio/wgenops.c: Likewise.
2336 * libio/wmemstream.c: Likewise.
2337 * libio/wstrops.c: Likewise.
2338 * libio/__fpurge.c: Likewise.
2339 * libio/__fsetlocking.c: Likewise.
2340 * assert/assert.c: Likewise.
2341 * debug/fgets_chk.c: Likewise.
2342 * debug/fgets_u_chk.c: Likewise.
2343 * debug/fread_chk.c: Likewise.
2344 * debug/fread_u_chk.c: Likewise.
2345 * debug/gets_chk.c: Likewise.
2346 * debug/obprintf_chk.c: Likewise.
2347 * debug/vasprintf_chk.c: Likewise.
2348 * debug/vdprintf_chk.c: Likewise.
2349 * debug/vsnprintf_chk.c: Likewise.
2350 * debug/vsprintf_chk.c: Likewise.
2351 * malloc/mtrace.c: Likewise.
2352 * misc/error.c: Likewise.
2353 * misc/syslog.c: Likewise.
2354 * stdio-common/asprintf.c: Likewise.
2355 * stdio-common/fxprintf.c: Likewise.
2356 * stdio-common/getw.c: Likewise.
2357 * stdio-common/isoc99_fscanf.c: Likewise.
2358 * stdio-common/isoc99_scanf.c: Likewise.
2359 * stdio-common/isoc99_vfscanf.c: Likewise.
2360 * stdio-common/isoc99_vscanf.c: Likewise.
2361 * stdio-common/isoc99_vsscanf.c: Likewise.
2362 * stdio-common/printf-prs.c: Likewise.
2363 * stdio-common/printf_fp.c: Likewise.
2364 * stdio-common/printf_fphex.c: Likewise.
2365 * stdio-common/printf_size.c: Likewise.
2366 * stdio-common/putw.c: Likewise.
2367 * stdio-common/scanf.c: Likewise.
2368 * stdio-common/sprintf.c: Likewise.
2369 * stdio-common/tmpfile.c: Likewise.
2370 * stdio-common/vfprintf.c: Likewise.
2371 * stdio-common/vfscanf.c: Likewise.
2372 * stdlib/strfmon_l.c: Likewise.
2373 * sunrpc/openchild.c: Likewise.
2374 * sunrpc/xdr_stdio.c: Likewise.
2375 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2376 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2378 2012-05-24 Roland McGrath <roland@hack.frob.com>
2380 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2382 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2383 in the third column, to generate for the shared library an IFUNC
2384 that uses _dl_vdso_vsym.
2385 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2386 * Makeconfig (object-suffixes-noshared): New variable.
2388 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2389 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2390 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2391 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2394 * include/sys/time.h (__gettimeofday): Remove macro.
2395 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2396 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2398 (__gettimeofday): Add libc_hidden_def.
2399 (gettimeofday): Add libc_hidden_weak.
2400 * sysdeps/mach/gettimeofday.c: Likewise.
2401 * sysdeps/posix/gettimeofday.c: Likewise.
2402 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2403 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2405 (__gettimeofday_internal): Remove strong_alias.
2406 (__gettimeofday): Add libc_hidden_def.
2407 (gettimeofday): Add libc_hidden_weak.
2408 * sysdeps/unix/syscalls.list (gettimeofday):
2409 Remove __gettimeofday_internal alias.
2411 2012-05-24 Daniel Jacobowitz <drow@false.org>
2412 H.J. Lu <hongjiu.lu@intel.com>
2415 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2416 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2417 (largebin_index_32_big): New.
2418 (largebin_index): Use it for 16-byte alignment.
2419 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2420 correction with front_misalign.
2422 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2450 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2451 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2453 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2457 * math/libm-test.inc (exp_test): Add test from bug 14036.
2458 (pow_test): Add test from bug 10846.
2460 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2462 (special_function): Do not include flags in test name.
2463 (parse_args): Likewise.
2464 * sysdeps/i386/fpu/libm-test-ulps: Update.
2465 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2466 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2467 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2470 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2472 * math/libm-test.inc ("Philosophy"): Update comment about
2474 (UNDERFLOW_EXCEPTION): New macro.
2475 (UNDERFLOW_EXCEPTION_OK): Likewise.
2476 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2477 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2478 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2479 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2480 (INVALID_EXCEPTION_OK): Update value.
2481 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2482 (OVERFLOW_EXCEPTION_OK): Likewise.
2483 (IGNORE_ZERO_INF_SIGN): Likewise.
2484 (test_exceptions): Handle underflow exceptions.
2485 (acos_test): Update for underflow exception expectations.
2486 (cexp_test): Likewise.
2487 (clog_test): Likewise.
2488 (clog10_test): Likewise.
2489 (csqrt_test): Likewise.
2490 (ctan_test): Likewise.
2491 (ctanh_test): Likewise.
2492 (exp_test): Likewise.
2493 (exp10_test): Likewise.
2494 (exp2_test): Likewise.
2495 (expm1_test): Likewise.
2496 (fma_test): Likewise.
2497 (j0_test): Likewise.
2498 (jn_test): Likewise.
2499 (nexttoward_test): Likewise.
2500 (pow_test): Likewise.
2501 (scalbn_test): Likewise.
2502 (scalbln_test): Likewise.
2503 (tan_test): Likewise.
2504 (y1_test): Likewise.
2505 * sysdeps/i386/fpu/libm-test-ulps: Update.
2506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2508 2012-05-23 David S. Miller <davem@davemloft.net>
2510 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2511 (__libc_sigaction): Remove unused local variables.
2513 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2515 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2517 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2519 mktime: avoid signed integer overflow
2520 * time/mktime.c (__mktime_internal): Do not mishandle the case
2521 where diff == INT_MIN.
2523 mktime: simplify computation of average
2524 * time/mktime.c (ranged_convert): Use new time_t_avg function
2525 instead of rolling our own (probably-slower) code.
2527 mktime: do not assume signed right shift propagates sign bit
2528 * time/mktime.c (isdst_differ): New static function.
2529 (__mktime_internal): No need to normalize tm_isdst now.
2530 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2533 mktime: merge another wrapv change from gnulib
2534 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2535 from some compilers.
2537 mktime: remove incorrect attempt at unusual arithmetics
2538 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2539 The code didn't really work on such machines anyway.
2540 (TYPE_MINIMUM): Assume two's complement.
2541 (twos_complement_arithmetic): Verify that long_int and time_t
2542 are two's complement (or unsigned, in the latter case).
2544 mktime: check signed shifts on long_int and time_t, too
2545 * time/mktime.c (SHR): Check that shifts work as desired
2546 on the types long_int and time_t too, as SHR is used on
2549 mktime: do not assume 'long' is wide enough
2550 * time/mktime.c (verify): Move decl up.
2551 (long_int): New type.
2552 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2553 to remove assumption in the code that 'long' is wide enough to
2554 store year values. This assumption is not true on x32 and on
2555 some non-glibc platforms.
2557 mktime: merge wrapv change from gnulib
2558 * time/mktime.c (WRAPV): New macro.
2559 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2560 (guess_time_tm, __mktime_internal): Do not assume that signed
2561 integer overflow wraps around; modern compilers generate code
2562 where this assumption is no longer valid.
2564 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2566 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2567 Replace "jmp L(pseudo_end)" with "ret".
2568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2571 2012-05-23 Andreas Jaeger <aj@suse.de>
2573 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2574 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2576 2012-05-23 Andreas Jaeger <aj@suse.de>
2577 Maximilian Attems <max@stro.at>
2579 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2582 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2584 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2585 code so that pseudo_end is just ret and the stack pointer is
2586 correct also for static library in error case.
2588 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2590 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2591 move to syscalls.list.
2592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2597 * manual/install.texi (Running make install): Do not mention Linux
2598 kernel version for which pt_chown is not needed.
2599 (Linux): Do not mention problems with nscd with 2.0 kernels.
2600 * INSTALL: Regenerated.
2602 2012-05-23 Andreas Jaeger <aj@suse.de>
2604 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2605 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2607 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2609 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2610 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2611 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2612 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2614 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2615 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2616 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2617 * sysdeps/unix/sysv/linux/bits/in.h
2618 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2620 2012-05-22 Roland McGrath <roland@hack.frob.com>
2622 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2623 (PREPARE_VERSION): Just use assert instead, it will be elided
2624 under [NDEBUG] anyway.
2626 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2628 * sysdeps/unix/sysv/linux/Makefile: Include
2629 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2630 (sysdep_routines): Remove sysctl.
2631 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2632 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2633 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2634 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2635 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2637 2012-05-22 Andreas Jaeger <aj@suse.de>
2639 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2640 that pseudo_end is just ret and the stack pointer is correct also
2641 for static library in error case.
2643 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2646 * nss/nsswitch.c (defconfig_entries): New variable.
2647 (__nss_database_lookup): Don't leak defconfig entries.
2648 (nss_parse_service_list): Don't leak on error paths.
2649 (free_database_entries): New function.
2650 (free_defconfig): New function.
2651 (free_mem): Move common code to free_database_entries.
2653 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2655 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2657 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2659 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2660 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2663 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2664 (INTERNAL_SYSCALL_TYPES): Likewise.
2665 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2666 (LOAD_REGS_TYPES_[1-6]): Likewise.
2667 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2668 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2670 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2672 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2673 copysignl for GLIBC_2_0.
2674 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2675 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2677 logbl for GLIBC_2_0.
2678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2679 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2681 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2684 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2686 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2689 * time/mktime.c: Update copyright years.
2691 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2693 mktime: merge comment-quoting-style change from gnulib
2694 * time/mktime.c: Quote 'like this' in comments.
2695 The GNU coding standards suggest that we no longer quote `like this',
2696 as "`" and "'" are typically rendered asymmetrically nowadays.
2697 The typical gnulib style is to quote 'like this' when quoting
2698 code, and "like this" when quoting English.
2700 * time/mktime.c (compile-command): Add "-I.".
2702 mktime: merge mktime-internal.h change from gnulib
2703 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2705 mktime: merge time_r change from gnulib
2706 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2708 mktime: merge DEBUG change from gnulib
2709 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2710 case system <time.h> has a #define.
2712 mktime: merge <sys/types.h> change from gnulib
2713 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2714 since <time.t> is now guaranteed to define time_t.
2716 mktime: merge HAVE_CONFIG_H change from gnulib
2717 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2719 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2724 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2726 (struct rusage): Use anonymous union to pad each field to
2729 2012-05-21 David S. Miller <davem@davemloft.net>
2731 * Makefules (o-iterator): Remove .s cases.
2732 (compile-command.s): Delete.
2733 (COMPILE.s): Delete.
2734 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2736 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2738 * configure.in (libc_cv_predef_stack_protector): Only consider
2739 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2740 * configure: Regenerated.
2742 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2745 New macro. Use R*LP on int and pointer.
2746 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2747 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2748 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2749 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2751 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2752 [__WORDSIZE_TIME64_COMPAT32] instead of
2753 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2754 (struct utmp): Likewise.
2755 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2756 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2758 (__WORDSIZE_TIME64_COMPAT32): This.
2759 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2760 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2761 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2762 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2763 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2764 (__WORDSIZE_TIME64_COMPAT32): New macro.
2766 2012-05-21 Andreas Jaeger <aj@suse.de>
2768 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2769 only if [SHARED]. Add prototype for __wcschr_ia32.
2771 2012-05-21 Roland McGrath <roland@hack.frob.com>
2773 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2774 of %rbp unmolested in the jmp_buf while mangling the low bits.
2775 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2776 unmolested high bits of %rbp while demangling the low bits.
2777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2779 2012-05-21 Andreas Jaeger <aj@suse.de>
2781 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2782 * sunrpc/svc_simple.c: Use it for registerrpc.
2783 * sunrpc/xcrypt.c: Use it for passwd2des.
2785 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2787 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2789 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2790 Don't define if [__SYSCALL_WORDSIZE != 32].
2791 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2794 2012-05-21 Bruno Haible <bruno@clisp.org>
2795 Andreas Jaeger <aj@suse.de>
2797 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2798 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2799 inptr and inend for must_buffer_ch.
2800 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2801 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2802 * stdio-common/Makefile (tests): Remove bug15.
2803 (bug15-ENV): Remove macro.
2804 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2807 2012-05-19 Andreas Jaeger <aj@suse.de>
2808 Roland McGrath <roland@hack.frob.com>
2810 * manual/contrib.texi: Completely rewritten. It contains now an
2811 alphabetical list of contributors and their contributions.
2813 2012-05-21 Richard Henderson <rth@twiddle.net>
2815 * misc/getauxval.c (__getauxval): Use unsigned long int.
2816 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2817 (getauxval): Use unsigned long int.
2819 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2821 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2823 2012-05-21 Roland McGrath <roland@hack.frob.com>
2825 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2826 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2827 __alignof__ (long double).
2829 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2833 2012-05-20 Richard Henderson <rth@twiddle.net>
2835 * misc/getauxval.c: New file.
2836 * misc/sys/auxv.h: New file.
2837 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2838 (routines): Add getauxval.
2839 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2840 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2841 * elf/dl-sysdep.c (_dl_auxv): Remove.
2842 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2843 * elf/dl-support.c (_dl_auxv): New variable.
2844 (_dl_aux_init): Initialize it.
2845 * manual/startup.texi (Auxiliary Vector): New node.
2846 * sysdeps/generic/bits/hwcap.h: New file.
2847 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2848 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2849 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2850 * sysdeps/sparc/sysdep.h: ... here. Include it.
2851 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2852 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2858 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2864 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2868 2012-05-19 David S. Miller <davem@davemloft.net>
2870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2872 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2875 * math/s_ccosh.c: Include <float.h>
2876 (__ccosh): Avoid internal overflow calculating sinh and cosh
2877 values before multiplying by sin and cos values.
2878 * math/s_ccoshf.c: Likewise.
2879 * math/s_ccoshl.c: Likewise.
2880 * math/s_csin.c: Likewise.
2881 * math/s_csinf.c: Likewise.
2882 * math/s_csinl.c: Likewise.
2883 * math/s_csinh.c: Likewise.
2884 * math/s_csinhf.c: Likewise.
2885 * math/s_csinhl.c: Likewise.
2886 * math/libm-test.inc (ccos_test): Add more tests.
2887 (ccosh_test): Likewise.
2888 (csin_test): Likewise.
2889 (csinh_test): Likewise.
2890 * sysdeps/i386/fpu/libm-test-ulps: Update.
2891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2893 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2895 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2896 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2898 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2900 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2902 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2903 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2904 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2905 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2906 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2907 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2908 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2909 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2910 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2911 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2912 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2913 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2914 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2915 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2916 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2917 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2918 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2919 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2920 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2921 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2922 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2923 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2924 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2925 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2926 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2927 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2928 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2929 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2930 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2931 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2932 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2934 2012-05-18 Andreas Jaeger <aj@suse.de>
2936 * csu/.gitignore: Delete.
2938 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2940 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2941 (timex): Use __syscall_slong_t.
2943 2012-05-18 Andreas Jaeger <aj@suse.de>
2944 Carlos O'Donell <carlos_odonell@mentor.com>
2946 * manual/install.texi (Configuring and compiling): Update
2947 description about files modified in the source directory.
2948 * INSTALL: Regenerated.
2950 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2952 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2953 value. Use "or" to set return value to -1.
2954 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2955 negate return value.
2957 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2959 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2960 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2961 failure if the compiler has Graphite support disabled.
2962 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2964 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2965 CFLAGS-memmove.c): Likewise.
2966 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2969 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2971 * sysdeps/x86_64/x32/_itoa.h: New file.
2973 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2974 getdents system call only if kernel and user dirents have the
2975 same d_ino and d_off.
2977 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2978 LLONG_MAX != LONG_MAX.
2979 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2980 (_fitoa_word): Likewise.
2982 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2984 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2985 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2986 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2988 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2989 include <bits/wordsize.h>. Check __x86_64__ instead of
2991 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2992 if __x86_64__ is defined. Use anonymous union on fpstate.
2994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2997 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2999 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3000 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3001 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3002 Refer to _rtld_local_ro instead of _rtld_global_ro.
3003 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3005 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3007 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3009 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3010 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3011 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3013 * sysdeps/powerpc/powerpc32/dl-machine.c
3014 (__elf_machine_runtime_setup) [PROF]: Don't reference
3017 2012-05-18 Andreas Jaeger <aj@suse.de>
3019 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3020 function only available for GCCs before 3.4 since GCC 3.4
3021 introduced a builtin.
3023 (llrintf): Likewise.
3031 (nearbyint): Likewise.
3032 (nearbyintf): Likewise.
3038 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3040 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3041 on both fields and cast pointer to __syscall_ulong_t.
3043 * bits/types.h (__fsword_t): New type.
3044 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3045 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3047 (__FSWORD_T_TYPE): Likewise.
3048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3049 (__FSWORD_T_TYPE): Likewise.
3050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3051 (__FSWORD_T_TYPE): Likewise.
3052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3053 (__FSWORD_T_TYPE): Likewise.
3054 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3055 __SWORD_TYPE with __fsword_t.
3056 (statfs64): Likewise.
3058 2012-05-17 David S. Miller <davem@davemloft.net>
3060 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3062 2012-05-17 Andreas Jaeger <aj@suse.de>
3064 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3067 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3069 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3071 2012-05-17 Andreas Jaeger <aj@suse.de>
3073 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3076 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3078 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3080 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3082 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3083 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3085 2012-05-17 Andreas Jaeger <aj@suse.de>
3086 Carlos O'Donell <carlos_odonell@mentor.com>
3089 * sysdeps/x86_64/multiarch/init-arch.h
3090 (bit_YMM_Usable): Rename to...
3091 (bit_AVX_Usable): ... this.
3092 (bit_FMA4_Usable): New macro.
3093 (bit_XMM_state): New macro.
3094 (bit_YMM_state): New macro.
3095 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3096 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3097 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3098 (CPUID_OSXSAVE): New macro.
3099 (CPUID_AVX): New macro.
3100 (CPUID_FMA4): New macro.
3101 (index_YMM_Usable): Rename to...
3102 (index_AVX_Usable): ... this.
3103 (HAS_AVX): Use HAS_ARCH_FEATURE.
3104 (HAS_FMA4): Likewise.
3105 (HAS_YMM_USABLE): Remove.
3106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3107 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3109 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3110 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3111 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3112 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3113 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3115 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3117 * math/libm-test.c: Support platforms without multiple rounding modes.
3118 * math/bug-nextafter.c: Support platforms without FP exceptions.
3119 * math/bug-nexttoward.c: Likewise.
3120 * math/test-fenv.c: Likewise.
3121 * math/test-misc.c: Likewise.
3122 * stdlib/bug-getcontext.c: Likewise.
3124 2012-05-17 Andreas Jaeger <aj@suse.de>
3126 * manual/examples/search.c (critter_cmp): Change signature to
3128 * manual/string.texi (Collation Functions): Likewise.
3130 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3132 * bits/types.h: Fold copyright years.
3133 * bits/typesizes.h: Likewise.
3134 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3138 * time/time.h: Likewise.
3140 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3143 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3144 in instead of returning them. Return void.
3145 (__libc_mallinfo): Accumulate over all arenas.
3146 (__malloc_stats): Adjust for change in int_mallinfo interface.
3148 2012-05-16 Roland McGrath <roland@hack.frob.com>
3151 * configure.in (NM): Add AC_CHECK_TOOL for it.
3152 (libc_extra_cflags): New substituted variable.
3153 Check for -fstack-protector being used implicitly.
3154 * configure: Regenerated.
3155 * config.make.in (config-extra-cflags): New variable,
3156 gets @libc_extra_cflags@.
3157 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3160 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3161 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3162 * configure: Regenerated.
3163 * config.make.in (CPPUNDEFS): New substituted variable.
3164 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3165 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3166 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3168 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3170 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3171 (mq_attr): Use __syscall_slong_t.
3173 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3175 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3176 Check __x86_64__ instead of __WORDSIZE.
3177 (_STAT_VER_LINUX): Likewise.
3178 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3179 __syscall_ulong_t and __syscall_slong_t.
3182 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3184 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3186 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3188 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3190 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3192 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3195 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3196 include <bits/wordsize.h>. Check __x86_64__ instead of
3198 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3200 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3202 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3203 include <bits/wordsize.h>. Check __x86_64__ instead of
3205 (user_regs_struct): Use "__extension__ unsigned long long"
3206 instead of "unsigned long" if __x86_64__ is defined.
3207 (user): Likewise. Pad after pointer field if __ILP32__ is
3210 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3212 * configure.in (makeinfo): Require version 4.5 or later. Allow
3214 * configure: Regenerated.
3215 * manual/install.texi (texinfo): Increase version requirement to
3217 * INSTALL: Regenerated.
3219 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3221 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3223 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3225 * sysdeps/x86_64/x32/ffs.c: New file.
3227 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3229 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3230 defined. Use __syscall_ulong_t.
3231 (shminfo): Use __syscall_ulong_t.
3232 (shm_info): Likewise.
3234 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3237 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3239 (msgqnum_t): Use __syscall_ulong_t.
3240 (msglen_t): Likewise.
3241 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3244 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3245 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3247 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3249 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3250 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3252 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3255 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3256 include <bits/wordsize.h>. Check __x86_64__ instead of
3259 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3260 "unsigned long long int" if __x86_64__ is defined.
3261 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3263 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3264 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3265 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3267 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3269 (GET_PC): Cast to uintptr_t first.
3270 (GET_FRAME): Likewise.
3271 (GET_STACK): Likewise.
3273 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3274 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3275 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3277 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3279 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3280 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3281 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3282 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3284 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3285 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3287 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3288 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3289 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3290 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3291 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3292 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3294 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3295 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3296 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3297 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3298 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3299 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3300 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3301 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3303 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3305 * Makerules (+depfiles): Also collect depfiles from .oS in
3307 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3308 .oS, $(libnldbl-routines)).
3310 * Makerules (native-compile-mkdep-flags): Define.
3311 * sunrpc/Makefile (extra-objs): Add $(addprefix
3312 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3313 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3314 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3315 calling $(make-target-directory).
3317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3319 * bits/types.h (__snseconds_t): Removed.
3320 * time/time.h (struct timespec): Replace __snseconds_t with
3322 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3323 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3326 (__SNSECONDS_T_TYPE): Likewise.
3327 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3328 (__SNSECONDS_T_TYPE): Likewise.
3329 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3330 (__SNSECONDS_T_TYPE): Likewise.
3332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3334 * sysdeps/mach/hurd/bits/typesizes.h
3335 (__SYSCALL_SLONG_TYPE): New macro.
3336 (__SYSCALL_ULONG_TYPE): Likewise.
3338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3340 * bits/types.h (__syscall_slong_t): New type.
3341 (__syscall_ulong_t): Likewise.
3343 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3344 (__SYSCALL_ULONG_TYPE): Likewise.
3345 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3346 (__SYSCALL_SLONG_TYPE): Likewise.
3347 (__SYSCALL_ULONG_TYPE): Likewise.
3348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3349 (__SYSCALL_SLONG_TYPE): Likewise.
3350 (__SYSCALL_ULONG_TYPE): Likewise.
3351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3352 (__SYSCALL_SLONG_TYPE): Likewise.
3353 (__SYSCALL_ULONG_TYPE): Likewise.
3355 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3357 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3358 Add sigaltstack-offsets.sym.
3359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3360 <sigaltstack-offsets.h>.
3361 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3362 longjmp_msg pointer.
3363 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3364 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3366 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3368 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3370 * elf/stackguard-macros.h: Remove file.
3371 * sysdeps/generic/stackguard-macros.h: New file.
3372 * sysdeps/i386/stackguard-macros.h: Likewise.
3373 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3374 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3375 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3376 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3377 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3378 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3379 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3380 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3381 <elf/stackguard-macros.h>.
3384 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3385 __aligned__ in attribute.
3386 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3387 (gregset_t): Likewise.
3389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3391 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3392 * sysdeps/x86_64/64/Implies-after: Here. New file.
3393 * sysdeps/x86_64/x32/Implies-after: New file.
3395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3397 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3398 and access return value for _dl_profile_fixup. Use R10_LP to
3401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3403 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3407 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3408 * sysdeps/x86_64/x32/sysdep.h: New file.
3410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3412 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3413 * sysdeps/x86_64/setjmp.S: Likewise.
3415 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3417 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3419 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3420 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3421 remove unused global constant.
3423 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3425 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3426 include of <not-cancel.h>.
3428 2012-05-15 Roland McGrath <roland@hack.frob.com>
3430 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3432 2012-05-15 Jeff Law <law@redhat.com>
3433 Andreas Jaeger <aj@suse.de>
3436 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3438 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3439 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3440 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3441 code changing __hst_map_handle.map.
3443 2012-05-15 Roland McGrath <roland@hack.frob.com>
3445 * configure.in (sysnames): Look for Implies-before and Implies-after
3447 * configure: Regenerated.
3449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3451 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3452 8-byte data alignment with LP_SIZE alignment.
3454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3456 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3461 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3465 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3466 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3467 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3469 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3473 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3474 (stackinfo_sub_sp): Likewise.
3476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3478 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3488 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3493 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3497 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3498 into R11_LP and load __x86_64_shared_cache_size_half into
3501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3506 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3514 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3515 powerpc32/power7/fpu/s_logb.c via #include.
3516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3517 powerpc32/power7/fpu/s_logbf.c via #include.
3518 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3519 powerpc32/power7/fpu/s_logbl.c via #include.
3521 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3523 * README.libm: Remove file.
3525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3527 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3528 count for x32. Use R*_LP and omit operand-size suffix.
3530 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3532 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3533 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3534 * sysdeps/x86_64/x32/shlib-versions: New file.
3536 2012-05-14 Roland McGrath <roland@hack.frob.com>
3538 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3539 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3540 Use _dl_fatal_printf instead.
3542 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3544 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3545 set if not set by the user. Do not allow for being unset.
3546 * sysdeps/unix/sysv/linux/configure: Regenerated.
3548 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3550 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3551 the `q' suffix from lea and replace .quad with ASM_ADDR.
3553 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3556 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3558 (PTR_DEMANGLE): Likewise.
3560 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3562 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3564 (ASM_ADDR): Likewise.
3582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3584 * sysdeps/x86_64/x32/dl-machine.h: New file.
3586 2012-05-14 Andreas Jaeger <aj@suse.de>
3588 * manual/Makefile (subdir): Remove export of subdir.
3589 (all): Remove target.
3590 (.PHONY): Remove all from list.
3591 (mkinstalldirs): Remove.
3592 (.PHONY): Remove installdirs from list.
3593 ($(inst_infodir)/libc.info): Use make-target-directory.
3594 (installdirs): Remove.
3596 (glibc-targets): Remove.
3599 ($(objpfx)stubs ../po/manual.pot): Remove.
3600 ($(objpfx)stamp%): Remove.
3601 (make-target-directory): Remove.
3602 (subdir_install): Remove.
3610 * manual/.gitignore: Remove, it's not needed anymore.
3611 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3613 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3615 (texis): Renamed to $(objpfx)texis.
3616 (texis-path): New, contains path to generated files.
3617 (chapters.%): Use texis-path for complete path, add extra argument
3619 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3620 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3621 (summary,texi, stamp-summary): Use complete path of
3622 files. Generate files in build dir.
3623 (dir-add.texi): Build in build dir.
3624 (libm-err.texi,stamp-libm-err): Likewise.
3625 (version.texi, stamp-version): Likewise.
3626 (.%c.texi): Likewise.
3627 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3628 (mostlyclean): Remove target.
3629 (realclean): Remove target.
3630 (generated): Add new variable with contents from mostlyclean and
3631 realclean, remove entries duplicated in common-mostlyclean, add
3632 stamp-libm-err and stamp-version.
3633 (generated-dirs): Add libc directory.
3634 ($(inst_infodir)/libc.info): Install files from build dir.
3636 * manual/install.texi (Configuring and compiling): Adjust since
3637 the info files are not part of the tar ball anymore.
3639 2012-05-14 Andreas Jaeger <aj@suse.de>
3641 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3644 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3647 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3648 to 2.2.0 where earlier.
3649 * sysdeps/unix/sysv/linux/configure: Regenerated.
3650 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3651 Remove conditional code.
3652 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3653 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3654 Remove conditional code.
3655 [!__NR_lchown]: Likewise.
3656 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3657 [__NR_lchown]: Likewise.
3658 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3659 comment referencing __ASSUME_LCHOWN_SYSCALL.
3660 * sysdeps/unix/sysv/linux/i386/sigaction.c
3661 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3662 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3663 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3664 Remove conditional code.
3665 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3666 (__protocol_available): Remove #if 0 code.
3667 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3669 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3670 * sysdeps/unix/sysv/linux/kernel-features.h
3671 (__ASSUME_GETCWD_SYSCALL): Don't define.
3672 (__ASSUME_REALTIME_SIGNALS): Likewise.
3673 (__ASSUME_PREAD_SYSCALL): Likewise.
3674 (__ASSUME_PWRITE_SYSCALL): Likewise.
3675 (__ASSUME_POLL_SYSCALL): Likewise.
3676 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3677 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3679 (__ASSUME_SIOCGIFNAME): Don't define.
3680 (__ASSUME_MSG_NOSIGNAL): Likewise.
3681 (__ASSUME_SENDFILE): Define unconditionally.
3682 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3683 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3685 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3686 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3687 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3688 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3689 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3690 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3691 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3693 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3696 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3702 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3705 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3708 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3711 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3714 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3716 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3717 Remove conditional code.
3718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3719 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3720 Remove conditional code.
3721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3722 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3723 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3724 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3725 Remove conditional code.
3726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3727 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3728 Remove conditional code.
3729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3730 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3731 Remove conditional code.
3732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3733 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3734 Remove conditional code.
3735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3736 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3737 Remove conditional code.
3738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3739 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3740 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3741 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3742 * sysdeps/unix/sysv/linux/sigaction.c
3743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3745 * sysdeps/unix/sysv/linux/sigpending.c
3746 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3747 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3748 * sysdeps/unix/sysv/linux/sigprocmask.c
3749 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3750 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3751 * sysdeps/unix/sysv/linux/sigsuspend.c
3752 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3753 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3754 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3755 (__libc_missing_rt_sigs): Remove.
3756 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3757 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3758 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3759 Remove conditional code.
3760 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3761 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3763 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3764 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3765 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3766 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3768 2012-05-14 Andreas Jaeger <aj@suse.de>
3770 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3771 it's not used in glibc.
3772 (__coshm1): Likewise.
3773 (__acosh1p): Likewise.
3776 * manual/string.texi (Copying and Concatenation): Add missing
3777 variable in concat example.
3778 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3780 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3783 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3784 __builtin_clzl with __builtin_clzll.
3786 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3789 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3792 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3794 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3795 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3796 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3797 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3799 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3801 * NEWS: Update ia64 info.
3803 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3805 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3808 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3810 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3811 * sysdeps/unix/syscalls.list (dup3): Likewise.
3812 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3813 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3815 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3817 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3818 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3820 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3822 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3824 (TLS_IE): Use mov/add instead of movq/addq to load thread
3826 (TLS_GD_PREFIX): New.
3829 2012-05-11 David S. Miller <davem@davemloft.net>
3831 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3832 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3833 (_FPU_SETCW): Likewise.
3835 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3837 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3840 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3843 * iconvdata/gb18030.c: Update tables.
3844 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3845 characters specially.
3846 (BODY for TO_LOOP): Add encoding of missing ranges.
3848 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3851 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3852 * sysdeps/mach/hurd/dup3.c: Likewise.
3853 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3854 * sysdeps/powerpc/memmove.c:: Likewise.
3856 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3859 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3861 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3863 * elf/elf.h (R_X86_64_RELATIVE64): New.
3864 (R_X86_64_NUM): Updated.
3865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3866 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3867 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3868 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3869 tst-quad1pie tst-quad2pie
3870 (modules-names): Add tst-quadmod1 tst-quadmod2.
3871 ($(objpfx)tst-quad1): New dependency.
3872 ($(objpfx)tst-quad2): Likewise.
3873 ($(objpfx)tst-quad1pie): Likewise.
3874 ($(objpfx)tst-quad2pie): Likewise.
3875 * sysdeps/x86_64/tst-quad1.c: New file.
3876 * sysdeps/x86_64/tst-quad1pie.c: New file.
3877 * sysdeps/x86_64/tst-quad2.c: Likewise.
3878 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3879 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3880 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3881 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3882 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3884 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3886 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3887 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3888 * streams/stropts.h (t_scalar_t): Define type.
3890 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3891 (_PATH_PRESERVE): Set to "/var/lib".
3892 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3894 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3897 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3898 if __dir_mkfile succeeded.
3900 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3901 checking for _hurd_dtablesize. Unlock it right after having
3902 finished _hurd_dtable allocation.
3904 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3906 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3907 * sysdeps/mach/hurd/configure: Regenerated.
3908 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3909 special-casing to...
3910 * sysdeps/gnu/configure.in: ... this new file.
3911 * sysdeps/unix/sysv/linux/configure: Regenerated.
3912 * sysdeps/gnu/configure: New generated file.
3914 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3915 for Linux: use nsec instead of usec, as well as:
3916 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3917 members of type struct timespec.
3918 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3920 (struct stat64): Likewise.
3921 (_STATBUF_ST_NSEC): New macro.
3922 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3924 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3925 __strtoul_internal rather than strtoul.
3927 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3929 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3932 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3934 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3935 which preserves existing values.
3936 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3938 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3940 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3941 TIMEOUT values. Return EINVAL for NFDS values either negative or
3942 greater than FD_SETSIZE.
3944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3946 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3947 allocated, call __vm_protect to finish enabling the existing space, and
3948 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3949 allocate the remainder.
3951 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3953 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3954 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3956 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3958 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3959 sysdeps/mach/hurd/readlink.c.
3961 * posix/tst-sysconf.c (posix_options): Only use
3962 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3963 _POSIX_SYNCHRONIZED_IO when they are defined
3964 * sysdeps/mach/hurd/bits/posix_opt.h:
3965 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3966 (_XOPEN_REALTIME): Undefine macro.
3967 (_XOPEN_REALTIME_THREADS): Undefine macro.
3968 (_XOPEN_SHM): Undefine macro.
3969 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3971 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3973 (_POSIX_ASYNC_IO): Undefine macro.
3974 (_POSIX_PRIORITIZED_IO): Undefine macro.
3975 (_POSIX_SPIN_LOCKS): Define macro to -1.
3977 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3978 SA_NODEFER, SA_RESETHAND.
3979 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3980 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3985 * elf/Makefile (pldd-modules): Define unconditionally.
3987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3989 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3993 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3994 Return ENOENT when name is empty.
3995 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3997 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3999 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4001 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4003 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4005 Fix mlock in all cases except non-readable pages.
4006 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4007 instead of VM_PROT_ALL as parameter to __vm_wire function.
4009 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4010 (__mkdir): When path is `/', just fail with EEXIST.
4011 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4013 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4015 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4016 <sys/uio.h> (for writev).
4017 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4018 and <sys/param.h> (for MIN).
4020 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4022 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4023 REQUESTED_TIME. Properly set the remaining time and return EINTR
4026 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4028 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4029 Depend on against $(link-rpcuserlibs).
4031 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4033 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4034 (__libc_stack_end): Do not use attribute_relro.
4035 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4036 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4037 to libthread-provided value.
4038 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4041 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4044 * bits/libc-lock.h (__libc_once_get): New macro.
4045 * sysdeps/mach/bits/libc-lock.h: Likewise.
4046 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4047 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4048 instead of using implementation details.
4050 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4051 * libio/freopen.c: Likewise.
4052 * libio/freopen64.c: Likewise.
4053 * misc/syslog.c: Likewise.
4054 * nscd/connections.c: Likewise.
4055 * nscd/netgroupcache.c: Likewise.
4056 * sysdeps/posix/getcwd.c: Likewise.
4058 2012-05-10 Roland McGrath <roland@hack.frob.com>
4060 * math/w_ilogbf.c: Add #include <limits.h>.
4062 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4064 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4065 path instead of returning without unlocking.
4067 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4068 immediate-write ioctls.
4069 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4071 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4073 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4074 __builtin_frame_address instead of making assumptions about the
4075 location of the return address relative to DATA. Force early load of
4077 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4078 __builtin_frame_address.
4081 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4082 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4083 implement dup3 and do some further code clean-ups.
4084 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4085 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4087 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4089 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4091 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4092 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4093 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4094 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4095 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4098 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4099 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4100 when handler == SIG_ERR, not when handler != SIG_ERR.
4102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4104 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4105 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4108 accept4 for GNU Hurd.
4109 * include/sys/socket.h (__libc_accept4): New prototype.
4110 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4111 to implement __libc_accept4.
4112 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4114 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4116 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4117 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4118 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4123 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4125 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4127 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4128 assertion on O_CLOEXEC flag.
4129 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4130 * hurd/intern-fd.c: Likewise.
4131 * hurd/port2fd.c: Likewise.
4133 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4136 * bits/in.h (IPV6_PKTINFO): Define new macro.
4137 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4139 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4144 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4145 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4146 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4147 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4149 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4150 * math/libm-test.inc (logb_test) : Additional logb tests.
4152 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4153 Andreas Jaeger <aj@suse.de>
4155 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4156 * configure: Regenerated.
4157 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4158 * config.make.in (link-obsolete-rpc): New substituted variable.
4159 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4160 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4161 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4162 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4163 so that libc.a contains the symbols.
4164 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4165 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4166 * sunrpc/auth_none.c: Likewise.
4167 * sunrpc/auth_unix.c: Likewise.
4168 * sunrpc/authdes_prot.c: Likewise.
4169 * sunrpc/authuxprot.c: Likewise.
4170 * sunrpc/clnt_gen.c: Likewise.
4171 * sunrpc/clnt_perr.c: Likewise.
4172 * sunrpc/clnt_raw.c: Likewise.
4173 * sunrpc/clnt_simp.c: Likewise.
4174 * sunrpc/clnt_tcp.c: Likewise.
4175 * sunrpc/clnt_udp.c: Likewise.
4176 * sunrpc/clnt_unix.c: Likewise.
4177 * sunrpc/des_crypt.c: Likewise.
4178 * sunrpc/des_soft.c: Likewise.
4179 * sunrpc/get_myaddr.c: Likewise.
4180 * sunrpc/key_call.c: Likewise.
4181 * sunrpc/key_prot.c: Likewise.
4182 * sunrpc/netname.c: Likewise.
4183 * sunrpc/pm_getmaps.c: Likewise.
4184 * sunrpc/pm_getport.c: Likewise.
4185 * sunrpc/pmap_clnt.c: Likewise.
4186 * sunrpc/pmap_prot.c: Likewise.
4187 * sunrpc/pmap_prot2.c: Likewise.
4188 * sunrpc/pmap_rmt.c: Likewise.
4189 * sunrpc/publickey.c: Likewise.
4190 * sunrpc/rpc_cmsg.c: Likewise.
4191 * sunrpc/rpc_common.c: Likewise.
4192 * sunrpc/rpc_dtable.c: Likewise.
4193 * sunrpc/rpc_prot.c: Likewise.
4194 * sunrpc/rpc_thread.c: Likewise.
4195 * sunrpc/rtime.c: Likewise.
4196 * sunrpc/svc.c: Likewise.
4197 * sunrpc/svc_auth.c: Likewise.
4198 * sunrpc/svc_raw.c: Likewise.
4199 * sunrpc/svc_run.c: Likewise.
4200 * sunrpc/svc_tcp.c: Likewise.
4201 * sunrpc/svc_udp.c: Likewise.
4202 * sunrpc/svc_unix.c: Likewise.
4203 * sunrpc/svcauth_des.c: Likewise.
4204 * sunrpc/xcrypt.c: Likewise.
4205 * sunrpc/xdr.c: Likewise.
4206 * sunrpc/xdr_array.c: Likewise.
4207 * sunrpc/xdr_float.c: Likewise.
4208 * sunrpc/xdr_intXX_t.c: Likewise.
4209 * sunrpc/xdr_mem.c: Likewise.
4210 * sunrpc/xdr_rec.c: Likewise.
4211 * sunrpc/xdr_ref.c: Likewise.
4212 * sunrpc/xdr_sizeof.c: Likewise.
4213 * sunrpc/xdr_stdio.c: Likewise.
4215 2012-05-10 Roland McGrath <roland@hack.frob.com>
4217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4218 change. Update copyright years.
4220 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4222 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4224 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4225 Joseph Myers <joseph@codesourcery.com>
4226 Paul Pluzhnikov <ppluzhnikov@google.com>
4229 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4231 [cross-compiling] (extra-libs): Likewise.
4232 [cross-compiling] (extra-libs-others): Likewise.
4233 [cross-compiling] (librpcsvc-routines): Likewise.
4234 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4235 [cross-compiling] (omit-deps): Likewise.
4236 (sunrpc-CPPFLAGS): New variable.
4237 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4238 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4239 (cross-rpcgen-objs): New variable.
4240 (extra-objs): Append $(cross-rpcgen-objs).
4241 ($(cross-rpcgen-objs)): New rule.
4242 ($(objpfx)cross-rpcgen): Likewise.
4243 (rpcgen-cmd): Define to use $(built-program-file). Expand
4245 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4246 ($(objpfx)x%.stmp): Likewise.
4247 * sunrpc/proto.h [IS_IN_build] (_): Define.
4248 [IS_IN_build] (_libc_intl_domainname): Likewise.
4250 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4253 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4254 and R_X86_64_TPOFF64.
4256 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4258 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4259 sysdeps/unix/sysv/syscalls.list.
4262 * sysdeps/unix/sysv/syscalls.list: Remove file.
4264 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4267 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4268 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4269 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4270 (__LC_IDENTIFICATION): Make these macros useful in #if
4271 expressions, as required by C99.
4273 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4275 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4276 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4279 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4281 * stdlib/longlong.h: Updated from GCC.
4283 2012-05-09 Andreas Jaeger <aj@suse.de>
4285 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4286 default is first entry.
4287 (run_mode): Set type.
4288 (main): Remove informal message about syslog.
4289 (options): Fix typo.
4292 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4295 (llrintf): Likewise.
4299 (nearbyint): Likewise.
4300 (nearbyintf): Likewise.
4302 2012-05-09 Andreas Jaeger <aj@suse.de>
4303 Pedro Alves <palves@redhat.com>
4305 * nscd/nscd.c (run_mode): Use enum.
4306 (main): Cleanup coding style issue.
4308 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4309 Andreas Jaeger <aj@suse.de>
4311 * nscd/nscd.c (go_background): Replaced with...
4312 (run_mode): ... this.
4313 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4314 (options): Add -F --foreground.
4315 (main): Implement it.
4316 (parse_opt): Parse it.
4318 2012-05-09 Andreas Jaeger <aj@suse.de>
4321 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4322 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4323 -Wconversion warning.
4324 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4327 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4329 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4331 (LC_ALL): Use macro-int-constant.
4332 (LC_COLLATE): Likewise.
4333 (LC_CTYPE): Likewise.
4334 (LC_MESSAGES): Likewise.
4335 (LC_MONETARY): Likewise.
4336 (LC_NUMERIC): Likewise.
4337 (LC_TIME): Likewise.
4338 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4339 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4341 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4343 [C99-based standards] (float_t): Expect type.
4344 [C99-based standards] (double_t): Expect type.
4345 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4347 [C99-based standards] (HUGE_VALL): Likewise.
4348 [C99-based standards] (INFINITY): Likewise.
4349 [C99-based standards] (NAN): Likewise.
4350 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4351 [C99-based standards] (FP_NAN): Likewise.
4352 [C99-based standards] (FP_NORMAL): Likewise.
4353 [C99-based standards] (FP_SUBNORMAL): Likewise.
4354 [C99-based standards] (FP_ZERO): Likewise.
4355 [C99-based standards] (FP_FAST_FMA): Use
4356 optional-macro-int-constant. Specify type. Require == 1.
4357 [C99-based standards] (FP_FAST_FMAF): Likewise.
4358 [C99-based standards] (FP_FAST_FMAL): Likewise.
4359 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4360 [C99-based standards] (FP_ILOGBNAN): Likewise.
4361 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4363 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4364 [C99-based standards] (math_errhandling): Specify type.
4365 [ISO99 || ISO11] (signgam): Do not allow.
4366 [non-C99-based standards] (copysignf): Do not allow.
4367 [non-C99-based standards] (exp2f): Likewise.
4368 [non-C99-based standards] (log2f): Likewise.
4369 [non-C99-based standards] (modff): Allow.
4370 [non-C99-based standards] (erff): Do not allow.
4371 [non-C99-based standards] (erfcf): Likewise.
4372 [non-C99-based standards] (gammaf): Likewise.
4373 [non-C99-based standards] (hypotf): Likewise.
4374 [non-C99-based standards] (j0f): Likewise.
4375 [non-C99-based standards] (j1f): Likewise.
4376 [non-C99-based standards] (jnf): Likewise.
4377 [non-C99-based standards] (lgammaf): Likewise.
4378 [non-C99-based standards] (tgammaf): Likewise.
4379 [non-C99-based standards] (y0f): Likewise.
4380 [non-C99-based standards] (y1f): Likewise.
4381 [non-C99-based standards] (ynf): Likewise.
4382 [non-C99-based standards] (isnanf): Likewise.
4383 [non-C99-based standards] (acoshf): Likewise.
4384 [non-C99-based standards] (asinhf): Likewise.
4385 [non-C99-based standards] (atanhf): Likewise.
4386 [non-C99-based standards] (cbrtf): Likewise.
4387 [non-C99-based standards] (expm1f): Likewise.
4388 [non-C99-based standards] (ilogbf): Likewise.
4389 [non-C99-based standards] (log1pf): Likewise.
4390 [non-C99-based standards] (logbf): Likewise.
4391 [non-C99-based standards] (nextafterf): Likewise.
4392 [non-C99-based standards] (remainderf): Likewise.
4393 [non-C99-based standards] (rintf): Likewise.
4394 [non-C99-based standards] (scalbf): Likewise.
4395 [non-C99-based standards] (copysignl): Likewise.
4396 [non-C99-based standards] (exp2l): Likewise.
4397 [non-C99-based standards] (log2l): Likewise.
4398 [non-C99-based standards] (modfl): Allow.
4399 [non-C99-based standards] (erfl): Do not allow.
4400 [non-C99-based standards] (erfcl): Likewise.
4401 [non-C99-based standards] (gammal): Likewise.
4402 [non-C99-based standards] (hypotl): Likewise.
4403 [non-C99-based standards] (j0l): Likewise.
4404 [non-C99-based standards] (j1l): Likewise.
4405 [non-C99-based standards] (jnl): Likewise.
4406 [non-C99-based standards] (lgammal): Likewise.
4407 [non-C99-based standards] (tgammal): Likewise.
4408 [non-C99-based standards] (y0l): Likewise.
4409 [non-C99-based standards] (y1l): Likewise.
4410 [non-C99-based standards] (ynl): Likewise.
4411 [non-C99-based standards] (isnanl): Likewise.
4412 [non-C99-based standards] (acoshl): Likewise.
4413 [non-C99-based standards] (asinhl): Likewise.
4414 [non-C99-based standards] (atanhl): Likewise.
4415 [non-C99-based standards] (cbrtl): Likewise.
4416 [non-C99-based standards] (expm1l): Likewise.
4417 [non-C99-based standards] (ilogbl): Likewise.
4418 [non-C99-based standards] (log1pl): Likewise.
4419 [non-C99-based standards] (logbl): Likewise.
4420 [non-C99-based standards] (nextafterl): Likewise.
4421 [non-C99-based standards] (remainderl): Likewise.
4422 [non-C99-based standards] (rintl): Likewise.
4423 [non-C99-based standards] (scalbl): Likewise.
4424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4425 [non-C99-based standards] (FP_*): Do not allow.
4426 [C99-based standards] (FP_*): Change to
4427 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4428 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4430 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4431 (SIG_ERR): Likewise.
4432 [X/Open-based standards] (SIG_HOLD): Likewise.
4433 (SIG_IGN): Likewise.
4434 (SIGABRT): Use macro-int-constant. Specify type. Require
4439 (SIGSEGV): Likewise.
4441 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4442 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4443 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4444 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4445 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4446 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4447 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4448 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4449 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4450 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4451 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4452 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4453 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4454 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4455 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4456 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4457 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4458 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4459 [X/Open-based standards] (SIGTRAP): Likewise.
4460 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4461 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4462 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4463 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4464 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4467 2012-05-08 Ian Wienand <ianw@vmware.com>
4470 * time/tzset.c (__tzset_parse_tz): Update default rules for
4471 daylight time changes in the Energy Policy Act of 2005.
4473 2012-05-09 Andreas Jaeger <aj@suse.de>
4476 * elf/ldconfig.c (parse_conf): Change string to make clear that
4477 ldconfig only issued a warning if ld.so.conf does not exist.
4479 2012-05-08 David S. Miller <davem@davemloft.net>
4481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4482 movxtod instead of popping the value on the stack.
4484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4486 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4488 * config.h.in: Add HAVE_ARM_PCS_VFP.
4490 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4493 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4494 checking but the checks are disabled for any reason.
4496 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4498 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4499 and ELF64_R_TYPE with ELFW(R_TYPE).
4501 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4503 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4506 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4507 (settimeofday): Likewise.
4509 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4511 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4512 a struct th_u2 inside the union, and move tu_block/tu_code into
4513 a new th_u3 union of tu_block/tu_code inside of that. Move
4514 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4515 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4516 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4517 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4518 (th_stuff): Change to th_u1.tu_stuff.
4520 (th_msg): Change to th_u1.th_u2.tu_data.
4522 2012-05-07 David S. Miller <davem@davemloft.net>
4524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4527 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4528 (SETUP_PIC_REG): Use it.
4529 (SETUP_PIC_REG_LEAF): Use it.
4531 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4535 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4537 (EXPL_FINITE): Likewise.
4539 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4540 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4542 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4544 (EXPL_FINITE): Likewise.
4546 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4547 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4549 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4550 test of -max_value argument for long double.
4551 * sysdeps/i386/fpu/libm-test-ulps: Update.
4552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4554 2012-05-06 David S. Miller <davem@davemloft.net>
4556 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4557 quad soft-float symbols whose references which are compiler
4559 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4561 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4565 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4567 (EXPL_FINITE): Likewise.
4571 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4572 Adjust comments for base varying.
4573 (__expl_finite): Change alias to EXPL_FINITE.
4574 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4576 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4577 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4578 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4579 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4580 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4582 (EXPL_FINITE): Likewise.
4586 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4587 Adjust comments for base varying.
4588 (__expl_finite): Change alias to EXPL_FINITE.
4589 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4594 * math/libm-test.inc (check_float_internal): Correct ulp
4595 calculation for subnormal expected results.
4597 2012-05-06 Andreas Jaeger <aj@suse.de>
4599 * Makeconfig (+math-flags): New, set to -frounding-math.
4600 (+cflags): Add +math-flags so that all of glibc gets compiled with
4603 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4605 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4607 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4613 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4614 (__ieee754_expl): Allow for and saturate large arguments.
4615 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4616 (u_threshold): Likewise.
4617 (__exp): Call __ieee754_exp before checking for overflow and
4619 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4620 (u_threshold): Likewise.
4621 (__expf): Call __ieee754_expf before checking for overflow and
4623 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4624 (u_threshold): Likewise.
4625 (__expl): Call __ieee754_expl before checking for overflow and
4627 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4628 (__ieee754_expl): Allow for and saturate large arguments.
4629 * math/libm-test.inc (exp_test): Add another test. Do not allow
4630 missing overflow exception on overflow.
4631 (expm1_test): Do not allow missing overflow exception on overflow.
4633 * sysdeps/i386/fpu/e_expl.c: Move to ...
4634 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4635 rather than using inline asm.
4636 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4637 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4638 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4640 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4647 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4649 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4650 sysdeps/unix/common/syscalls.list.
4653 (ftruncate): Likewise.
4654 (getrusage): Likewise.
4655 (gettimeofday): Likewise.
4656 (setpgid): Likewise.
4657 (setregid): Likewise.
4658 (setreuid): Likewise.
4659 (sigaction): Likewise.
4660 (truncate): Likewise.
4661 (vhangup): Likewise.
4662 * sysdeps/unix/common/syscalls.list: Remove file.
4663 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4664 * sysdeps/unix/sysv/linux/Implies: Likewise.
4666 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4668 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4670 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4674 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4677 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4680 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4683 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4686 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4689 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4692 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4696 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4700 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4703 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4707 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4711 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4713 * sysdeps/unix/common/bits/dirent.h: Remove file.
4714 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4716 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4717 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4718 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4719 * sysdeps/unix/bsd/isatty.c: Likewise.
4720 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4721 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4722 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4724 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4728 long double comparison inaccuracies.
4729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4732 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4734 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4737 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4740 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4741 nonzero digits before rounding a hex value.
4742 * stdlib/tst-strtod.c (tests): Add another test.
4744 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4746 * sysdeps/s390/fpu/libm-test-ulps: Update.
4748 2012-05-03 Andreas Jaeger <aj@suse.de>
4750 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4751 does not get optimized out.
4752 (malloc_opt_barrier): New.
4754 2012-05-03 Andreas Jaeger <aj@suse.de>
4755 Roland McGrath <roland@hack.frob.com>
4757 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4758 intermediate file deletion.
4759 (generated): Add .symlist files.
4761 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4764 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4765 Redirect under this condition.
4766 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4767 [__USE_GNU] (__dprintf_chk): Not under this condition.
4768 [__USE_GNU] (__vdprintf_chk): Likewise.
4769 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4770 under this condition.
4771 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4772 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4773 [__USE_XOPEN2K8] (vdprintf): Likewise.
4774 [__USE_GNU] (__dprintf_chk): Not under this condition.
4775 [__USE_GNU] (__vdprintf_chk): Likewise.
4776 [__USE_GNU] (dprintf): Likewise.
4777 [__USE_GNU] (vdprintf): Likewise.
4779 2012-05-03 Roland McGrath <roland@hack.frob.com>
4781 * elf/Makefile (common-generated): Set this instead of generated for
4782 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4783 $(all-built-dso)-derived lists.
4785 2012-05-03 Andreas Jaeger <aj@suse.de>
4787 * sysdeps/i386/fpu/libm-test-ulps: Update.
4791 * scripts/gen-FAQ.pl: Likewise.
4792 * manual/install.texi (Installation): Point to online location of
4794 * Makefile (files-for-dist): Remove FAQ.
4797 2012-05-02 Allan McRae <allan@archlinux.org>
4799 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4800 (LDFLAGS-reldepmod5.so): Likewise.
4801 (LDFLAGS-reldep6mod1.so): Likewise.
4802 (LDFLAGS-reldep6mod4.so): Likewise.
4803 (LDFLAGS-reldep8mod3.so): Likewise.
4804 (LDFLAGS-unload4mod1.so): Likewise.
4805 (LDFLAGS-unload4mod2.so): Likewise.
4806 (LDFLAGS-tst-initorder): Likewise.
4807 (LDFLAGS-tst-initordera2.so): Likewise.
4808 (LDFLAGS-tst-initordera3.so): Likewise.
4809 (LDFLAGS-tst-initordera4.so): Likewise.
4810 (LDFLAGS-tst-initorderb2.so): Likewise.
4811 (LDFLAGS-noload): Likewise.
4812 (LDFLAGS-next): Likewise.
4813 (LDFLAGS-order2mod1.so): Likewise.
4814 (LDFLAGS-order2mod2.so): Likewise.
4815 (LDFLAGS-tst-initorder2): Likewise.
4816 (LDFLAGS-tst-initorder2a.so): Likewise.
4817 (LDFLAGS-tst-initorder2b.so): Likewise.
4818 (LDFLAGS-tst-initorder2c.so): Likewise.
4819 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4821 2012-05-02 David S. Miller <davem@davemloft.net>
4823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4825 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4828 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4830 2012-05-02 Andreas Jaeger <aj@suse.de>
4832 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4833 since we manipulate rounding mode.
4834 (CPPFLAGS-test-idouble.c): Likewise.
4835 (CPPFLAGS-test-ifloat.c): Likewise.
4836 (CFLAGS-test-ldouble.c): Likewise.
4837 (CFLAGS-test-double.c): Likewise.
4838 (CFLAGS-test-float.c): Likewise.
4839 (CFLAGS-test-misc.c): Likewise.
4840 (CFLAGS-test-test-fenv.c): Likewise.
4842 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4846 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4847 comparisons to determine direction to adjust input.
4849 2012-05-01 Roland McGrath <roland@hack.frob.com>
4851 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4852 output to the target.
4854 * scripts/localplt.awk: New file.
4855 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4856 (check-localplt-CFLAGS): Variable removed.
4857 ($(all-built-dso:=.jmprel)): New static pattern rule.
4858 (generated): Add those targets.
4859 (localplt-built-dso): New variable.
4860 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4862 * elf/check-localplt.c: File removed.
4864 * scripts/check-execstack.awk: New file.
4865 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4866 (check-execstack-CFLAGS): Variable removed.
4867 ($(objpfx)check-execstack.h): Target removed.
4868 ($(objpfx)execstack-default): New target.
4869 (generated): Add that instead of check-execstack.h.
4870 ($(all-built-dso:=.phdr)): New static pattern rule.
4871 (generated): Add those targets.
4872 * elf/check-execstack.c: File removed.
4874 * scripts/check-textrel.awk: New file.
4875 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4876 (check-textrel-CFLAGS): Variable removed.
4877 (all-built-dso): Use := to define.o
4878 ($(all-built-dso:=.dyn)): New static pattern rule.
4879 (generated): Add those targets.
4880 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4881 * config.make.in (READELF): New substituted variable.
4882 * elf/check-textrel.c: File removed.
4884 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4886 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4888 * conform/data/ctype.h-data [C99-based standards] (isblank):
4890 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4891 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4893 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4894 Specify type. Require positive value.
4897 [ISO || POSIX] (EILSEQ): Do not expect.
4898 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4899 Specify type. Require positive value.
4900 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4901 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4902 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4903 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4904 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4905 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4906 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4907 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4908 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4909 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4910 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4911 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4912 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4913 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4914 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4915 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4916 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4917 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4918 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4919 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4920 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4921 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4922 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4923 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4924 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4925 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4926 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4927 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4928 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4929 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4930 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4931 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4932 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4933 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4934 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4936 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4937 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4938 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4939 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4940 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4941 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4942 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4943 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4944 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4945 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4946 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4947 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4948 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4949 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4950 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4951 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4952 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4953 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4954 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4955 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4956 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4957 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4958 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4959 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4960 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4964 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4969 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4970 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4972 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4974 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4975 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4976 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4978 (FLT_ROUNDS): Expect as macro, not constant.
4979 (FLT_MANT_DIG): Use macro-int-constant.
4980 (DBL_MANT_DIG): Likewise.
4981 (LDBL_MANT_DIG): Likewise.
4982 (FLT_DIG): Likewise.
4983 (DBL_DIG): Likewise.
4984 (LDBL_DIG): Likewise.
4985 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4986 (DBL_MIN_EXP): Likewise.
4987 (LDBL_MIN_EXP): Likewise.
4988 (FLT_MAX_EXP): Use macro-int-constant.
4989 (DBL_MAX_EXP): Likewise.
4990 (LDBL_MAX_EXP): Likewise.
4991 (FLT_MAX_10_EXP): Likewise.
4992 (DBL_MAX_10_EXP): Likewise.
4993 (LDBL_MAX_10_EXP): Likewise.
4994 (FLT_MAX): Use macro-constant.
4995 (DBL_MAX): Likewise.
4996 (LDBL_MAX): Likewise.
4997 (FLT_EPSILON): Use macro-constant. Give upper bound.
4998 (DBL_EPSILON): Likewise.
4999 (LDBL_EPSILON): Likewise.
5000 (FLT_MIN): Likewise.
5001 (DBL_MIN): Likewise.
5002 (LDBL_MIN): Likewise.
5003 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5004 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5005 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5006 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5007 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5008 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5009 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5010 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5011 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5012 [ISO11] (FLT_TRUE_MIN): Likewise.
5013 [ISO11] (LDBL_TRUE_MIN): Likewise.
5014 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5015 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5016 (SCHAR_MIN): Use macro-int-constant. Specify type.
5017 (SCHAR_MAX): Likewise.
5018 (UCHAR_MAX): Likewise.
5019 (CHAR_MIN): Likewise.
5020 (CHAR_MAX): Likewise.
5021 (MB_LEN_MAX): Use macro-int-constant.
5022 (SHRT_MIN): Use macro-int-constant. Specify type.
5023 (SHRT_MAX): Likewise.
5024 (USHRT_MAX): Likewise.
5025 (INT_MAX): Likewise.
5026 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5028 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5030 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5032 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5033 bound negative. Suffix upper bound with "L".
5034 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5036 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5038 [C99-based standards] (LLONG_MAX): Likewise.
5039 [C99-based standards] (ULLONG_MAX): Likewise.
5040 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5042 [ISO11] (max_align_t): Require type.
5043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5045 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5046 from $CFLAGS, without defining away __attribute__ calls.
5047 (checknamespace): Use $CFLAGS_namespace.
5049 * conform/conformtest.pl (@keywords): Only include C99 keywords
5050 for standards based on C99 or C11.
5052 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5054 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5057 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5058 usability of symbols in #if.
5060 * conform/conformtest.pl: If macro or constant types start
5061 "promoted:", expect the symbol to be of the following type
5062 promoted by the integer promotions.
5064 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5065 in one place. Also handle "macro-constant".
5067 * conform/conformtest.pl: Only accept expected macro values with
5068 "==". Parse all "macro" lines in one place.
5069 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5071 * conform/conformtest.pl: Handle braced types on "constant" lines
5072 instead of handling "typed-constant".
5073 * conform/data/signal.h-data: Use "constant" instead of
5076 * conform/conformtest.pl: Handle "optional-" at start of lines in
5077 one place rather than duplicating several cases. Handle each
5078 format of "macro" line with initial "optional-".
5080 * conform/conformtest.pl: Only accept expected constant or
5081 optional-constant values with "==". Parse all "constant" lines in
5082 one place. Parse all "optional-constant" lines in one place.
5083 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5084 * conform/data/fmtmsg.h-data: Likewise.
5085 * conform/data/netinet/in.h-data: Likewise.
5086 * conform/data/tar.h-data: Likewise.
5087 * conform/data/limits.h-data: Use "==" form on "constant" and
5088 "optional-constant" lines.
5090 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5091 Use -std=c99 for XOPEN2K.
5092 (@knownproblems): Remove.
5093 (newtoken): Don't check %isknown.
5095 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5096 Do not expect macro.
5097 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5098 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5099 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5100 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5101 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5102 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5103 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5104 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5105 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5106 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5107 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5108 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5109 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5110 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5111 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5112 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5113 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5114 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5115 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5116 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5117 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5118 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5119 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5120 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5121 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5122 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5123 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5124 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5125 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5126 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5127 [XPG3] (acosh): Likewise.
5128 [XPG3] (asinh): Likewise.
5129 [XPG3] (atanh): Likewise.
5130 [XPG3] (cbrt): Likewise.
5131 [XPG3] (expm1): Likewise.
5132 [XPG3] (ilogb): Likewise.
5133 [XPG3] (log1p): Likewise.
5134 [XPG3] (logb): Likewise.
5135 [XPG3] (nextafter): Likewise.
5136 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5137 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5138 [XPG3] (remainder): Likewise.
5139 [XPG3] (rint): Likewise.
5140 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5141 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5142 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5143 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5144 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5145 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5146 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5147 [UNIX98 || XOPEN2K] (scalb): Expect.
5148 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5149 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5150 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5151 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5152 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5153 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5154 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5155 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5156 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5157 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5158 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5159 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5160 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5161 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5162 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5163 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5164 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5165 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5166 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5167 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5168 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5169 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5170 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5171 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5172 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5173 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5174 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5186 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5187 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5188 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5189 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5190 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5191 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5192 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5193 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5194 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5197 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5198 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5204 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5205 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5206 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5207 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5208 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5209 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5210 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5211 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5212 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5215 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5216 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5220 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5221 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5222 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5223 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5224 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5225 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5226 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5227 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5228 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5229 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5230 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5231 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5232 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5233 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5234 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5235 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5236 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5237 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5238 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5239 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5240 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5241 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5242 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5243 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5244 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5245 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5246 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5247 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5248 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5249 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5250 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5251 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5252 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5253 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5254 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5262 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5263 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5265 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5266 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5267 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5268 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5269 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5270 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5271 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5272 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5273 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5274 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5275 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5276 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5277 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5278 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5279 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5280 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5281 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5286 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5287 _XOPEN_SOURCE_EXTENDED for XPG4.
5289 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5291 * Makeconfig (localtime): Remove variable.
5292 (inst_localtime-file): Likewise.
5294 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5315 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5319 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5320 comparisons to determine direction to adjust input.
5321 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5322 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5327 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5329 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5330 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5332 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5334 * math/libm-test.inc (nexttoward_test): Add more tests.
5336 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5340 in version GLIBC_2.1, not GLIBC_2.0.
5341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5344 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5347 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5349 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5350 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5351 * math/libm-test.inc (acos_test): Add more tests.
5352 (asin_test): Likewise.
5353 * sysdeps/i386/fpu/libm-test-ulps: Update.
5354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5357 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5359 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5360 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5361 * math/libm-test.inc (acos_test_tonearest): New function.
5362 (acos_test_towardzero): Likewise.
5363 (acos_test_downward): Likewise.
5364 (acos_test_upward): Likewise.
5365 (asin_test_tonearest): Likewise.
5366 (asin_test_towardzero): Likewise.
5367 (asin_test_downward): Likewise.
5368 (asin_test_upward): Likewise.
5369 (main): Call the new functions.
5370 * sysdeps/i386/fpu/libm-test-ulps: Update.
5371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5375 * math/e_exp10.c: Include <float.h>.
5376 (__ieee754_exp10): Handle underflow here rather than multiplying
5377 large negative argument by M_LN10.
5378 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5380 * math/e_exp10l.c: Include <float.h>.
5381 (__ieee754_exp10l): Handle underflow here rather than multiplying
5382 large negative argument by M_LN10l.
5383 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5384 spurious overflow exception on underflow.
5386 2012-04-29 Marek Polacek <polacek@redhat.com>
5388 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5389 (__fortify_function): New macro.
5390 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5391 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5392 __extern_always_inline.
5393 * libio/bits/stdio2.h: Likewise.
5394 * libio/bits/stdio.h: Likewise.
5395 * string/string.h: Likewise.
5396 * string/bits/string3.h: Likewise.
5397 * include/stdio.h: Likewise.
5398 * stdlib/bits/stdlib.h: Likewise.
5399 * stdlib/stdlib.h: Likewise.
5400 * rt/bits/mqueue2.h: Likewise.
5401 * rt/mqueue.h: Likewise.
5402 * posix/bits/unistd.h: Likewise.
5403 * posix/unistd.h: Likewise.
5404 * io/bits/poll2.h: Likewise.
5405 * io/bits/fcntl2.h: Likewise.
5406 * io/fcntl.h: Likewise.
5407 * io/sys/poll.h: Likewise.
5408 * misc/bits/syslog.h: Likewise.
5409 * misc/bits/syslog-ldbl.h: Likewise.
5410 * misc/sys/syslog.h: Likewise.
5411 * socket/bits/socket2.h: Likewise.
5412 * socket/sys/socket.h: Likewise.
5413 * debug/tst-chk1.c: Likewise.
5414 * wcsmbs/bits/wchar2.h: Likewise.
5415 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5416 * wcsmbs/wchar.h: Likewise.
5418 2012-04-29 Andreas Jaeger <aj@suse.de>
5420 * Makerules (tests): Remove enable-check-abi protection.
5421 (check-abi-warn): Remove.
5422 (check-abi-%): Remove check-abi-warn usage.
5424 * configure.in: Remove check-abi configure option.
5425 * configure: Regenerated.
5426 * config.make.in (enable-check-abi): Remove.
5428 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5431 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5432 double functions to double *_finite functions.
5435 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5436 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5438 * stdio-common/Makefile (tests): Add tst-sprintf3.
5439 * stdio-common/tst-sprintf3.c: New file.
5441 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5442 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5444 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5446 * conform/conformtest.pl: Remove duplicate typed-constant
5449 2012-04-28 David S. Miller <davem@davemloft.net>
5451 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5452 (check-abi-%): Remove AWK script prerequisite and explicit
5454 (check-abi): Rewrite to just diff the symlist with the abilist.
5455 (config-tls, config-abi-config): Delete, no longer used.
5456 (update-abi-%): Remove AWK script and explicit abilist directory.
5457 (update-abi): Rewrite to simply compare and conditionally copy the
5458 symlist and the sysdep abilist file. Remove update-abi-config
5460 * abilist/ld.abilist: Remove.
5461 * abilist/libBrokenLocale.abilist: Remove.
5462 * abilist/libanl.abilist: Remove.
5463 * abilist/libcrypt.abilist: Remove.
5464 * abilist/libdl.abilist: Remove.
5465 * abilist/librt.abilist: Remove.
5466 * abilist/libthread_db.abilist: Remove.
5467 * abilist/libutil.abilist: Remove.
5468 * scripts/extract-abilist.awk: Remove.
5469 * scripts/merge-abilist.awk: Remove.
5470 * sysdeps/generic/libcidn.abilist: New file.
5471 * sysdeps/generic/libnss_compat.abilist: New file.
5472 * sysdeps/generic/libnss_db.abilist: New file.
5473 * sysdeps/generic/libnss_dns.abilist: New file.
5474 * sysdeps/generic/libnss_files.abilist: New file.
5475 * sysdeps/generic/libnss_hesiod.abilist: New file.
5476 * sysdeps/generic/libnss_nis.abilist: New file.
5477 * sysdeps/generic/libnss_nisplus.abilist: New file.
5478 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5479 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5480 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5482 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5483 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5484 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5485 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5486 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5487 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5488 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5489 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5490 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5492 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5493 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5494 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5495 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5497 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5498 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5499 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5500 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5501 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5502 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5504 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5505 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5506 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5508 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5611 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5612 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5613 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5616 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5617 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5618 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5619 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5620 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5621 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5622 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5623 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5624 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5676 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5678 * conform/conformtest.pl: Fix typo in handling typed-constant from
5681 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5683 * README: Cut down references to pre-2.6 Linux kernels and
5684 Linuxthreads. Update lists of configurations in libc and ports
5685 and sort alphabetically. Say "or newer" with Linux kernel version
5688 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5690 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5693 * math/libm-test.inc (logb_test_downward): New test to expose
5694 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5697 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5700 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5702 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5703 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5705 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5707 * sysdeps/unix/i386/brk.S: Remove file.
5708 * sysdeps/unix/i386/dl-brk.S: Likewise.
5709 * sysdeps/unix/i386/pipe.S: Likewise.
5710 * sysdeps/unix/i386/sigreturn.S: Likewise.
5711 * sysdeps/unix/i386/syscall.S: Likewise.
5712 * sysdeps/unix/i386/vfork.S: Likewise.
5713 * sysdeps/unix/i386/wait.S: Likewise.
5715 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5716 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5718 * configure.in (arm*-none*): Do not allow without
5719 --enable-hacker-mode.
5720 (netbsd*): Remove case setting base_os.
5721 (386bsd*): Likewise.
5722 (freebsd*): Likewise.
5726 (ultrix*): Likewise.
5727 (newsos*): Likewise.
5737 (solaris[2-9]*): Likewise.
5739 * configure: Regenerated.
5741 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5744 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5745 overflow or cancellation in calculating denominator.
5746 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5748 down expression to avoid unexpected rounding in newer GCCs.
5749 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5751 2012-04-26 David S. Miller <davem@davemloft.net>
5753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5754 long-double compat symbols.
5755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5769 2012-04-25 David S. Miller <davem@davemloft.net>
5771 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5772 HWCAP_* values only after the memory barriers have been defined.
5773 (atomic_full_barrier): Define.
5774 (atomic_read_barrier): Define.
5775 (atomic_write_barrier): Define.
5777 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5779 * shlib-versions: Add libgcc_s version information.
5780 * sysdeps/generic/libgcc_s.h: Remove.
5781 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5783 * sysdeps/gnu/unwind-resume.c: Likewise.
5784 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5786 2012-04-25 David S. Miller <davem@davemloft.net>
5788 * sysdeps/unix/sparc/brk.S: Delete.
5789 * sysdeps/unix/sparc/dl-brk.S: Delete.
5790 * sysdeps/unix/sparc/pipe.S: Delete.
5791 * sysdeps/unix/sparc/sysdep.S: Delete.
5792 * sysdeps/unix/sparc/sysdep.h: Delete.
5793 * sysdeps/unix/sparc/vfork.S: Delete.
5794 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5795 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5796 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5797 ret_ERRVAL, r0, r1, MOVE): Define.
5798 (JUMPTARGET): Remove.
5799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5800 sysdeps/unix/sparc/sysdep.h
5801 (ENTRY, END): Remove.
5802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5804 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5806 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5807 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5810 * timezone/README: Update upstream location and email address for
5812 * timezone/zdump.c: Update from tzcode 2012b.
5813 * timezone/zic.c: Likewise.
5815 * configure.in (libc_cv_as_needed): Remove test.
5816 * configure: Regenerated.
5817 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5818 conditional definition.
5819 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5820 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5821 * config.make.in (have-as-needed): Remove variable.
5823 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5824 Paul Pluzhnikov <ppluzhnikov@google.com>
5826 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5829 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5831 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5832 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5833 * sysdeps/sh/strlen.S: Likewise.
5835 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5837 * sysdeps/unix/fork.S: Remove file.
5838 * sysdeps/unix/i386/fork.S: Likewise.
5839 * sysdeps/unix/sparc/fork.S: Likewise.
5841 * sysdeps/unix/system.c: Remove file.
5842 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5844 * sysdeps/unix/getegid.S: Remove file.
5845 * sysdeps/unix/geteuid.S: Likewise.
5847 2012-04-24 Roland McGrath <roland@hack.frob.com>
5849 * scripts/check-localplt.awk: New file.
5850 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5852 * scripts/data/localplt-generic.data: Add a comment.
5854 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5855 NODE when __dir_mkfile failed.
5856 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5857 Reported by Ludovic Courtès <ludo@gnu.org>.
5859 2012-04-24 Andreas Jaeger <aj@suse.de>
5861 * Makerules (common-clean): Also remove gen-as-const-headers
5864 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5866 * Makerules (native-compile): Do not change working directory for
5867 build. Use $(OUTPUT_OPTION) in command.
5868 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5870 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5873 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5874 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5875 * math/libm-test.inc (floor_test): Add more tests.
5876 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5878 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5880 * sysdeps/unix/getdents.c: Remove file.
5881 * sysdeps/unix/sysv/getdents.c: Likewise.
5882 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5884 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5885 sysdeps/unix/mman/syscalls.list.
5887 (mprotect): Likewise.
5890 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5891 * sysdeps/unix/mman/syscalls.list: Remove.
5892 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5894 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5895 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5896 * configure: Regenerated.
5897 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5899 * config.make.in (libgcc_s_suffix): Remove variable.
5901 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5903 * sysdeps/unix/sysv/gethostname.c: Move to ...
5904 * sysdeps/posix/gethostname.c: ... here.
5906 * sysdeps/unix/execve.S: Remove file.
5908 * sysdeps/unix/_exit.S: Remove file.
5910 2012-04-23 Andreas Jaeger <aj@suse.de>
5913 * manual/Makefile: Remove make dist support, there's no
5914 need for a stand-alone documentation tar ball.
5915 (TEXI2DVI): Define always, it's not in Makeconfig.
5919 (glibc-doc-$(edition).tar): Removed
5923 (ETAGS): Remove, it's in Makeconfig.
5924 (move-if-change): Remove, it's in Makeconfig.
5926 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5929 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5930 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5931 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5932 (strtod_l, strtof_l, strtold_l): Remove __wur.
5933 It is not necessarily an error to ignore strtol's return value.
5934 One can reliably look at the stored endptr to decide whether
5935 the number had valid syntax.
5937 2012-04-21 Andreas Jaeger <aj@suse.de>
5940 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5942 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5944 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5945 * sysdeps/unix/sysv/Versions: Remove file.
5947 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5952 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5956 version from __vm86.
5958 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5960 * sysdeps/unix/common/lxstat.c: Remove file.
5961 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5963 * sysdeps/unix/sysv/Makefile: Remove file.
5965 * sysdeps/unix/sysv/direct.h: Remove file.
5967 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5968 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5969 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5970 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5971 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5972 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5973 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5975 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5977 * sysdeps/unix/xmknod.c: Remove file.
5978 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5980 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5982 * sysdeps/unix/sysv/i386/time.S: Remove file.
5984 * sysdeps/unix/fxstat.c: Remove file.
5985 * sysdeps/unix/xstat.c: Likewise.
5986 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5988 * sysdeps/unix/sysv/sigaction.c: Remove file.
5990 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5991 (sysdep_headers): Remove variable.
5992 [termio.h not in sysdep_headers] (generated): Likewise.
5993 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5994 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5995 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5996 * sysdeps/unix/sysv/tcflow.c: Likewise.
5997 * sysdeps/unix/sysv/tcflush.c: Likewise.
5998 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5999 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6000 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6001 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6002 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6004 * sysdeps/unix/siglist.c: Remove file.
6006 * sysdeps/unix/getppid.S: Remove file.
6008 * sysdeps/unix/mkdir.c: Remove file.
6009 * sysdeps/unix/rmdir.c: Likewise.
6011 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6013 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6015 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6016 errlist-compat value.
6018 2012-04-18 David S. Miller <davem@davemloft.net>
6020 * sysdeps/generic/memcopy.h (reg_char): Delete.
6021 * debug/strcat_chk.c: Use char, not reg_char.
6022 * debug/strcpy_chk.c: Likewise.
6023 * debug/strncat_chk.c: Likewise.
6024 * debug/strncpy_chk.c: Likewise.
6025 * string/memchr.c: Likewise.
6026 * string/memrchr.c: Likewise.
6027 * string/rawmemchr.c: Likewise.
6028 * string/strcat.c: Likewise.
6029 * string/strchr.c: Likewise.
6030 * string/strchrnul.c: Likewise.
6031 * string/strcmp.c: Likewise.
6032 * string/strcpy.c: Likewise.
6033 * string/strncat.c: Likewise.
6034 * string/strncmp.c: Likewise.
6035 * string/strncpy.c: Likewise.
6037 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6039 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6040 __builtin_memcopy is called when src and dest ranges are known to not
6043 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6045 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6046 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6047 fwd_align_merge macro call.
6048 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6049 bwd_align_merge macro call.
6050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6052 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6054 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6055 bwd_align_merge macros.
6056 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6057 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6058 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6060 2012-04-18 David S. Miller <davem@davemloft.net>
6062 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6064 2012-04-18 Andreas Jaeger <aj@suse.de>
6067 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6068 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6069 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6071 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6072 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6073 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6075 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6076 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6077 Adjust for changed ldbl-128 files.
6079 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6080 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6081 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6083 2012-04-17 David S. Miller <davem@davemloft.net>
6085 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6087 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6089 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6090 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6091 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6092 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6093 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6094 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6096 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6099 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6100 * math/libm-test.inc: Add ilogb errno and exception tests.
6101 * math/w_ilogb.c: New file: ilogb wrapper.
6102 * math/w_ilogbf.c: New file: ilogbf wrapper.
6103 * math/w_ilogbl.c: New file: ilogbl wrapper.
6104 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6105 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6106 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6107 exception being thrown with 0.0 as argument.
6108 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6109 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6110 exception being thrown with 0.0 as argument.
6111 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6112 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6113 exception being thrown with 0.0 as argument.
6114 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6115 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6116 exception being thrown with 0.0 as argument.
6117 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6118 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6119 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6120 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6122 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6123 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6124 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6125 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6127 2012-04-17 Petr Baudis <pasky@ucw.cz>
6129 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6132 2012-04-16 Marek Polacek <polacek@redhat.com>
6134 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6136 2012-04-16 Marek Polacek <polacek@redhat.com>
6138 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6139 operands of fdivp instruction.
6141 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6143 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6144 * elf/tst-auditmod3b.c: Likewise.
6145 * elf/tst-auditmod4b.c: Likewise.
6146 * elf/tst-auditmod5b.c: Likewise.
6147 * elf/tst-auditmod6b.c: Likewise.
6148 * elf/tst-auditmod6c.c: Likewise.
6149 * elf/tst-auditmod7b.c: Likewise.
6150 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6151 * sysdeps/x86_64/preconfigure.in: Likewise.
6152 * sysdeps/x86_64/preconfigure: Regenerated.
6154 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6156 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6159 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6162 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6164 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6167 * locale/iso-639.def: Fix gl language name. Spotted by
6170 2012-04-12 Roland McGrath <roland@hack.frob.com>
6173 * libio/libio.h (__io_write_fn): Update comment.
6175 2012-04-12 Petr Baudis <pasky@ucw.cz>
6178 * stdio.texi (Hook Functions): The user provided writer function
6179 is not allowed to return -1.
6181 2012-04-11 David S. Miller <davem@davemloft.net>
6183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6185 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6187 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6188 Add a leading slash to rtkaio.
6190 2012-04-11 Jim Meyering <meyering@redhat.com>
6193 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6194 It is not necessarily an error to ignore fwrite's return
6195 value. One can reliably use ferror to test for errors after
6198 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6200 * bits/types.h (__snseconds_t): New type.
6201 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6203 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6205 (__SNSECONDS_T_TYPE): Likewise.
6206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6207 (__SNSECONDS_T_TYPE): Likewise.
6208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6209 (__SNSECONDS_T_TYPE): Likewise.
6211 2012-04-10 Andreas Jaeger <aj@suse.de>
6214 * manual/time.texi (Processor Time): Return type of times is
6215 elapsed real time since an arbitrary point in the past.
6216 (CPU Time): Move CLK_TCK from here...
6217 (Processor Time): ...to here. Correct description.
6218 * manual/conf.texi (Constants for Sysconf): Correct description of
6221 2012-04-10 David S. Miller <davem@davemloft.net>
6224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6225 where the is a gap between DT_REL(A) and DT_JMPREL.
6227 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6229 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6230 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6231 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6233 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6235 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6236 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6237 (dl_main): Handle --inhibit-cache.
6238 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6240 * elf/dl-load.c (_dl_map_object): Use it.
6241 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6243 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6246 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6247 (__ieee754_powl): Saturate large exponents rather than testing for
6248 overflow of y*log2(x).
6249 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6250 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6254 * math/s_ctan.c: Include <float.h>.
6255 (__ctan): Avoid internal overflow or cancellation in calculating
6257 * math/s_ctanf.c: Likewise.
6258 * math/s_ctanl.c: Likewise.
6259 * math/s_ctanh.c: Likewise.
6260 * math/s_ctanhf.c: Likewise.
6261 * math/s_ctanhl.c: Likewise.
6262 * math/libm-test.inc (ctan_test): Add more tests.
6263 (ctanh_test): Likewise.
6264 * sysdeps/i386/fpu/libm-test-ulps: Update.
6265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6267 2012-04-09 Andreas Jaeger <aj@suse.de>
6270 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6271 is an optional BSD extension.
6274 * manual/stdio.texi (Opening Streams): Document additional fopen
6277 2012-04-09 Roland McGrath <roland@hack.frob.com>
6279 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6280 %eax without telling the compiler.
6282 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6285 * manual/install.texi: Use sourceware.org.
6287 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6290 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6291 (__ieee754_pow): Generate overflow and underflow using huge*huge
6292 and tiny*tiny rather than just returning constant infinity or zero
6293 for large exponents.
6294 * math/libm-test.inc (pow_test): Require overflow exceptions for
6295 applicable cases of large exponents.
6298 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6299 (__ieee754_pow): Use iterative multiplication algorithm only for
6300 integer exponents with absolute value below 1024. Check for odd
6301 integer exponents when using algorithm for real exponents.
6302 * math/libm-test.inc (pow_test): Add more tests.
6303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6305 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6308 * math/libm-test.inc (exp_test): Do not allow overflow exception
6311 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6314 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6315 instead of __kernel_standard_f.
6317 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6319 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6320 * sysdeps/x86_64/memset_chk.S: Likewise.
6322 2012-04-08 Andreas Jaeger <aj@suse.de>
6325 * manual/startup.texi (Environment Access): Describe return value
6326 for putenv and setenv.
6329 * manual/filesys.texi (Directory Entries): Add description for
6333 * manual/filesys.texi (Directory Entries): Clarify that it's file
6334 system not operating system in the description of DT_UNKNOWN.
6337 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6339 2012-04-08 Stephen Compall <s11@member.fsf.org>
6342 * manual/llio.texi (Opening and Closing Files): Add cross
6343 reference to explain mode argument.
6345 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6347 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6348 * sysdeps/x86_64/memset_chk.S: Likewise.
6350 2012-04-07 David S. Miller <davem@davemloft.net>
6352 * elf/elf.h (R_SPARC_WDISP10): Define.
6353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6356 R_SPARC_SIZE64 and R_SPARC_H34.
6358 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6360 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6361 conditions and remove no longer applicable assertion.
6363 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6365 * bits/byteswap.h: Include <features.h>.
6366 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6367 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6369 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6371 * bits/byteswap.h (__bswap_16): Removed.
6372 Include <bits/byteswap-16.h> to get __bswap_16.
6373 * sysdeps/i386/bits/byteswap.h: Likewise.
6374 * sysdeps/s390/bits/byteswap.h: Likewise.
6375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6376 * bits/byteswap-16.h: New file.
6377 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6378 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6379 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6380 * string/Makefile (headers): Add bits/byteswap-16.h.
6382 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6385 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6387 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6388 * nss/tst-nss-static.c: New.
6390 2012-04-06 Robert Millan <rmh@gnu.org>
6393 * manual/llio.texi (File Position Primitive): lseek
6394 refers to WHENCE when it really means OFFSET.
6396 2012-04-06 Andreas Jaeger <aj@suse.de>
6398 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6399 strncmp declarations.
6401 * abilist/libc.abilist: Add __poll and __ppoll.
6403 2012-04-05 David S. Miller <davem@davemloft.net>
6405 * scripts/check-local-headers.sh: Accept a host triplet in the
6406 path matched by the exclude regexp.
6408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6410 * sysdeps/powerpc/powerpc32/dl-machine.h
6411 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6412 * sysdeps/s390/s390-32/dl-machine.h
6413 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6414 * sysdeps/sparc/sparc32/dl-machine.h
6415 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6416 * sysdeps/sparc/sparc64/dl-machine.h
6417 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6419 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6421 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6422 undefined symbol errors.
6424 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6427 2012-04-05 Michael Matz <matz@suse.de>
6430 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6432 2012-04-05 Andreas Jaeger <aj@suse.de>
6435 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6438 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6440 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6441 which ROUND is no valid rounding mode.
6443 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6445 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6447 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6449 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6451 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6452 an exception using FPU order intentionally.
6454 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6456 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6457 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6458 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6459 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6461 2012-04-05 Simon Josefsson <simon@josefsson.org>
6464 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6465 EINVAL when BUFLEN is too smal.
6467 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6470 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6471 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6473 2012-04-03 Andreas Jaeger <aj@suse.de>
6476 * manual/setjmp.texi (System V contexts): Fix sentence.
6479 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6480 New macro for this case.
6481 [!__GNUC__] (__bswap_64): New inline function for this case.
6482 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6483 * bits/byteswap.h: Likewise.
6484 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6485 ull, guard with __GLIBC_HAVE_LONG_LONG.
6487 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6488 __GLIBC_HAVE_LONG_LONG.
6490 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6491 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6493 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6496 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6497 inptr and inend, rather than using last_ch.
6499 2012-04-02 David S. Miller <davem@davemloft.net>
6501 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6502 * stdio-common/printf-parse.h (read_int): Change return type to
6503 'int', return -1 on INT_MAX overflow.
6504 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6505 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6506 overflows INT_MAX. Check for overflow of in-format-string precision
6507 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6508 SIZE_MAX not INT_MAX for integer overflow test.
6509 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6510 skip the construct in the format string but do not record anything.
6511 * stdio-common/bug22.c: Adjust to test both width/prevision
6512 INT_MAX overflow as well as total length INT_MAX overflow. Check
6513 explicitly for proper errno values.
6515 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6517 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6519 * string/test-strcmp.c [! WIDE]: Likewise.
6520 * time/tst-mktime2.c: Likewise for INT_MAX.
6521 * string/test-string.h: #include <sys/param.h> for MIN.
6523 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6524 * sysdeps/i386/init-first.c (init): Likewise.
6525 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6526 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6527 * sysdeps/sh/init-first.c (init): Likewise.
6529 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6531 * po/ru.po: Update from translation team.
6532 * po/vi.po: Likewise.
6534 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6536 * resolv/nss_dns/dns-host.c: Merge copyright years.
6538 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6541 Optimize memcpy with prefetch if
6542 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6543 src, dst pointers have unequal 16 byte alignments.
6545 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6548 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6549 from a CNAME entry and return the minimum ttl for the query.
6550 (gaih_getanswer_slice): Likewise.
6552 2012-03-30 Jeff Law <law@redhat.com>
6554 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6556 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6557 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6559 * resolv/nss_dns/dns-host.c: Update copyright year.
6561 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6563 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6564 requests to save a system call. Fix check that all bytes are sent.
6566 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6567 comments for sendmmsg.
6569 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6572 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6573 with only 1 character between 0x0041 and 0x01b0.
6574 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6575 * wcsmbs/tst-mbsnrtowcs.c: New file.
6577 2012-03-29 David S. Miller <davem@davemloft.net>
6579 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6580 small copies by hand.
6582 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6585 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6586 _nss_compat_initgroups_dyn): Fall back to malloc/free
6587 for large group memberships.
6589 2012-03-28 David S. Miller <davem@davemloft.net>
6591 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6592 that branches into memcpy.
6593 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6594 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6595 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6596 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6599 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6601 * sysdeps/sparc/mempcpy.S: New file.
6603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6604 the IFUNC routine in the libc case.
6605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6607 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6608 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6609 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6610 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6611 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6612 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6613 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6614 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6616 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6617 loop to 256 bytes instead of 64 bytes and fix test signedness.
6619 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6620 * sysdeps/sparc/sparc32/Makefile: rather than here...
6621 * sysdeps/sparc/sparc64/Makefile: and here.
6623 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6625 * malloc/mallocbug.c: Avoid warnings about unused variables.
6627 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6630 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6631 in the right place. Discard and retry query if response is
6632 larger than input buffer size.
6634 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6639 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6640 x for large integer exponent.
6641 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6642 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6643 sign of result as needed afterwards.
6644 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6645 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6646 result for underflowing pow the same as for overflow.
6647 (__kernel_standard_l): Handle powl overflow and underflow here
6648 rather than calling __kernel_standard.
6649 * math/libm-test.inc (pow_test): Add more tests.
6664 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6665 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6666 (__kernel_standard_l): New function.
6667 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6669 * math/w_acosl.c (__acosl): Likewise.
6670 * math/w_asinl.c (__asinl): Likewise.
6671 * math/w_atan2l.c (__atan2l): Likewise.
6672 * math/w_atanhl.c (__atanhl): Likewise.
6673 * math/w_coshl.c (__coshl): Likewise.
6674 * math/w_exp10l.c (__exp10l): Likewise.
6675 * math/w_exp2l.c (__exp2l): Likewise.
6676 * math/w_fmodl.c (__fmodl): Likewise.
6677 * math/w_hypotl.c (__hypotl): Likewise.
6678 * math/w_j0l.c (__j0l, __y0l): Likewise.
6679 * math/w_j1l.c (__j1l, __y1l): Likewise.
6680 * math/w_jnl.c (__jnl, __ynl): Likewise.
6681 * math/w_lgammal.c (__lgammal): Likewise.
6682 * math/w_log10l.c (__log10l): Likewise.
6683 * math/w_log2l.c (__log2l): Likewise.
6684 * math/w_logl.c (__logl): Likewise.
6685 * math/w_powl.c (__powl): Likewise.
6686 * math/w_remainderl.c (__remainderl): Likewise.
6687 * math/w_scalbl.c (sysv_scalbl): Likewise.
6688 * math/w_sinhl.c (__sinhl): Likewise.
6689 * math/w_sqrtl.c (__sqrtl): Likewise.
6690 * math/w_tgammal.c (__tgammal): Likewise.
6691 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6692 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6693 * math/libm-test.inc (acos_test): Add more tests.
6694 (acosh_test): Likewise.
6695 (asin_test): Likewise.
6696 (atanh_test): Likewise.
6697 (exp_test): Likewise.
6698 (exp10_test): Likewise.
6699 (exp2_test): Likewise.
6700 (expm1_test): Likewise.
6701 (lgamma_test): Likewise.
6702 (log_test): Likewise.
6703 (log10_test): Likewise.
6704 (log1p_test): Likewise.
6705 (log2_test): Likewise.
6706 (pow_test): Do not allow some spurious overflow exceptions.
6707 (sqrt_test): Add more tests.
6708 (tgamma_test): Likewise.
6709 (y0_test): Likewise.
6710 (y1_test): Likewise.
6711 (yn_test): Likewise.
6713 2012-03-27 Anton Blanchard <anton@samba.org>
6715 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6717 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6721 2012-03-27 David S. Miller <davem@davemloft.net>
6723 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6725 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6728 2012-03-27 Andreas Jaeger <aj@suse.de>
6730 * sysdeps/x86_64/elf/configure.in: Moved to ...
6731 * sysdeps/x86_64/configure.in: ... here.
6732 * sysdeps/x86_64/elf/start.S: Moved to ...
6733 * sysdeps/x86_64/start.S: ... here.
6734 * sysdeps/x86_64/elf/configure: Delete.
6736 * sysdeps/x86_64/configure.in: Merge contents from
6737 sysdeps/i386/configure.in (without i686 check).
6739 * sysdeps/i386/elf/Versions: Merge into ...
6740 * sysdeps/i386/Versions: ... this.
6741 * sysdeps/i386/elf/Versions: Delete file.
6742 * sysdeps/i386/elf/start.S: Moved to ...
6743 * sysdeps/i386/start.S: ...here.
6744 * sysdeps/i386/elf/configure.in: Merge into...
6745 * sysdeps/i386/configure.in: ...here.
6746 * sysdeps/i386/elf/configure.in: Delete file.
6747 * sysdeps/i386/elf/configure: Delete file.
6749 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6750 * debug/backtracesyms.c: ... here.
6751 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6752 * debug/backtracesymsfd.c: ... here.
6753 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6754 * sysdeps/generic/ifunc-sel.h: ... here.
6756 * sysdeps/unix/i386/start.c: Delete file.
6757 * sysdeps/unix/sparc/start.c: Delete file.
6758 * sysdeps/unix/start.c: Delete file.
6760 * sysdeps/sh/elf/configure.in: Moved to ...
6761 * sysdeps/sh/configure.in: ... here.
6762 * sysdeps/sh/elf/start.S: Moved to ...
6763 * sysdeps/sh/start.S: ... here.
6764 * sysdeps/sh/elf/configure: Delete file.
6766 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6767 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6768 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6769 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6770 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6771 * sysdeps/powerpc/powerpc64/start.S: here.
6772 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6773 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6774 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6775 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6776 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6778 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6779 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6780 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6781 * sysdeps/powerpc/powerpc32/start.S: ... here.
6782 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6783 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6784 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6786 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6787 * sysdeps/powerpc/ifunc-sel.h: ... here.
6788 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6789 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6791 * sysdeps/sparc/elf/configure.in: Moved to ...
6792 * sysdeps/sparc/configure.in: ... here.
6793 * sysdeps/sparc/elf/configure: Delete file.
6794 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6795 * sysdeps/sparc/sparc32/start.S: ... here.
6796 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6797 * sysdeps/sparc/sparc64/start.S: ... here.
6798 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6799 * sysdeps/sparc/sparc32/Makefile: ... this.
6800 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6801 * sysdeps/sparc/sparc64/Makefile: ... this.
6803 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6804 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6805 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6806 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6807 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6808 * sysdeps/s390/s390-32/setjmp.S: ... here.
6809 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6810 * sysdeps/s390/s390-32/configure.in: ... here.
6811 * sysdeps/s390/s390-32/elf/configure: Delete file.
6812 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6813 * sysdeps/s390/s390-32/start.S: ... here.
6815 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6816 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6817 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6818 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6819 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6820 * sysdeps/s390/s390-64/setjmp.S: ... here.
6821 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6822 * sysdeps/s390/s390-64/configure.in: ... here
6823 * sysdeps/s390/s390-64/elf/configure: Delete file.
6824 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6825 * sysdeps/s390/s390-64/start.S: ... here.
6826 * sysdeps/s390/s390-64/elf/configure: Delete.
6828 * configure.in: Remove support for elf directories in sysdeps.
6830 * configure: Regenerated.
6831 * sysdeps/i386/configure: Regenerated.
6832 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6833 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6834 * sysdeps/s390/s390-32/configure: Regenerated.
6835 * sysdeps/s390/s390-64/configure: Regenerated.
6836 * sysdeps/sh/configure: Regenerated.
6837 * sysdeps/sparc/configure: Regenerated.
6838 * sysdeps/x86_64/configure: Regenerated.
6840 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6844 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6845 denormal result into account.
6847 2012-03-25 Roland McGrath <roland@hack.frob.com>
6849 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6850 Reported by Allan McRae <allan@archlinux.org>.
6852 2012-03-23 Jeff Law <law@redhat.com>
6854 * nss/getnssent.c (__nss_getent): Fix typo.
6856 2012-03-23 David S. Miller <davem@davemloft.net>
6858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6860 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6862 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6863 to pad to uint64_t for each field.
6864 (dl_tls_index): Replace unsigned long with uint64_t.
6866 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6867 Paul Pluzhnikov <ppluzhnikov@google.com>
6870 * grp/Makefile (otherlibs): Don't set it.
6871 * inet/Makefile (otherlibs): Likewise.
6872 * login/Makefile (otherlibs): Likewise.
6873 * nscd/Makefile (otherlibs): Likewise.
6874 * posix/Makefile (otherlibs): Likewise.
6875 * pwd/Makefile (otherlibs): Likewise.
6876 * rt/Makefile (otherlibs): Likewise.
6877 * sunrpc/Makefile (otherlibs): Likewise.
6878 * nss/Makefile (otherlibs): Likewise.
6879 Add libnss_files to routines and static-only-routines.
6880 ($(objpfx)getent): Remove rule.
6881 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6882 static-only-routines.
6884 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6887 * math/s_cexp.c: Include <float.h>.
6888 (__cexp): Handle exp result overflowing not necessarily
6889 overflowing both real and imaginary parts of result.
6890 * math/s_cexpf.c: Likewise.
6891 * math/s_cexpl.c: Likewise.
6892 * math/libm-test.inc (cexp_test): Add more tests.
6893 * sysdeps/i386/fpu/libm-test-ulps: Update.
6894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6896 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6898 * include/link.h (ELFW): New macro.
6899 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6900 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6902 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6904 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6907 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6909 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6911 (struct La_x32_retval): Likewise.
6913 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6915 * sysdeps/x86_64/preconfigure.in: New file.
6916 * sysdeps/x86_64/preconfigure: New generated file.
6918 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6921 * math/e_exp2l.c: Include <float.h>.
6922 (__ieee754_exp2l): Handle overflow and underflow cases
6923 separately. Only pass fractional part of argument to
6925 * math/libm-test.inc (exp2_test): Add more tests.
6927 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6928 negating x to take absolute value.
6929 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6931 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6932 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6934 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6935 computing low part if x was negated.
6936 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6938 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6940 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6942 (pltexit): Cast int_retval to ptrdiff_t.
6943 * elf/tst-auditmod3b.c: Likewise.
6944 * elf/tst-auditmod4b.c: Likewise.
6945 * elf/tst-auditmod5b.c: Likewise.
6946 * elf/tst-auditmod6b.c: Likewise.
6947 * elf/tst-auditmod6c.c: Likewise.
6948 * elf/tst-auditmod7b.c: Likewise.
6950 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6951 and x32_gnu_pltexit.
6953 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6955 (La_x32_regs): New macro.
6956 (La_x32_retval): Likewise.
6957 (la_x32_gnu_pltenter): New function prototype.
6958 (la_x32_gnu_pltexit): Likewise.
6960 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6962 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6967 * configure.in (libc_cv_cc_nofma): Check for option to disable
6968 generation of FMA instructions.
6969 * configure: Regenerate.
6970 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6971 * sysdeps/ieee754/dbl-64/Makefile: New file.
6972 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6973 Remove brandred-fma4.
6974 (CFLAGS-brandred-fma4.c): Remove.
6975 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6976 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6981 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6983 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6984 LLONG_MAX != LONG_MAX.
6985 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6986 (_fitoa_word): Likewise.
6987 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6988 LLONG_MAX != LONG_MAX.
6989 * stdio-common/_itowa.h: Include <_itoa.h>.
6990 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6991 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6992 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6993 only if not defined.
6994 (_ITOA_WORD_TYPE): Likewise.
6995 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6996 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6998 2012-03-21 David S. Miller <davem@davemloft.net>
7000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7002 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7004 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7005 of x86_64 when setting libc_cv_slibdir, libdir and
7007 * sysdeps/unix/sysv/linux/configure: Regenerated.
7009 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7011 * manual/lang.texi (Old Varargs): Remove section.
7012 (How Variadic): Update menu.
7013 (va_start): Do not mention varargs.h.
7015 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7016 Joseph Myers <joseph@codesourcery.com>
7018 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7020 * configure: Regenerated.
7022 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7024 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7025 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7028 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7031 * Makefile (files-for-dist): Remove NOTES.
7032 (NOTES): Remove rule.
7033 * README: Don't refer to NOTES.
7034 * manual/creature.texi: Don't include macros.texi.
7035 * manual/intro.texi (creature.texi): Remove comment referring to
7038 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7039 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7040 * configure: Regenerated.
7041 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7043 (libc_cv_as_i686): Likewise.
7044 (libc_cv_cc_avx): Likewise.
7045 (libc_cv_cc_sse2avx): Likewise.
7046 (libc_cv_cc_fma4): Likewise.
7047 (libc_cv_cc_novzeroupper): Likewise.
7048 * sysdeps/i386/configure: Regenerated.
7051 * sysdeps/i386/fpu/s_cexp.S: Remove.
7052 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7053 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7054 * math/libm-test.inc (cexp_test): Add more tests.
7055 * sysdeps/i386/fpu/libm-test-ulps: Update.
7056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7058 2012-03-21 Allan McRae <allan@archlinux.org>
7060 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7062 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7065 * math/w_exp2.c: Do not include <float.h>.
7066 (o_threshold, u_threshold): Remove.
7067 (__exp2): Calculate result before checking finiteness and calling
7069 * math/w_exp2f.c: Likewise.
7070 * math/w_exp2l.c: Likewise.
7071 * math/libm-test.inc (exp2_test): Require overflow exception for
7075 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7076 range of signed 64-bit integers before using fistpll. Remove
7077 checks for whether integers fit in mantissa bits.
7078 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7079 the range of signed 32-bit integers before using fistpl. Remove
7080 checks for whether integers fit in mantissa bits.
7081 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7082 (__ieee754_powl): Test for y outside the range of signed 64-bit
7083 integers before using fistpll. Reduce 64-bit values to 63-bit
7085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7086 divide-by-zero is raised for zero to large negative powers.
7087 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7088 (__ieee754_powl): Test for y outside the range of signed 64-bit
7089 integers before using fistpll. Reduce 64-bit values to 63-bit
7091 * math/libm-test.inc (pow_test): Add more tests.
7093 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7095 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7096 <stdio-common/_itoa.h>.
7097 * debug/segfault.c: Likewise.
7098 * elf/dl-cache.c: Likewise.
7099 * elf/dl-minimal.c: Likewise.
7100 * elf/dl-misc.c: Likewise.
7101 * elf/dl-sysdep.c: Likewise.
7102 * elf/dl-version.c: Likewise.
7103 * elf/rtld.c: Likewise.
7104 * hurd/hurdsock.c: Likewise.
7105 * hurd/lookup-retry.c: Likewise.
7106 * malloc/malloc.c: Likewise.
7107 * malloc/mtrace.c: Likewise.
7108 * nscd/nscd_getgr_r.c: Likewise.
7109 * nscd/nscd_getpw_r.c: Likewise.
7110 * nscd/nscd_getserv_r.c: Likewise.
7111 * posix/getopt_init.c: Likewise.
7112 * posix/wordexp.c: Likewise.
7113 * stdio-common/_itoa.c: Likewise.
7114 * stdio-common/printf_fphex.c: Likewise.
7115 * stdio-common/vfprintf.c: Likewise.
7116 * string/_strerror.c: Likewise.
7117 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7118 * sysdeps/i386/i686/hp-timing.h: Likewise.
7119 * sysdeps/mach/_strerror.c: Likewise.
7120 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7121 * sysdeps/mach/hurd/sethostid.c: Likewise.
7122 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7123 * sysdeps/mach/xpg-strerror.c: Likewise.
7124 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7125 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7126 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7127 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7128 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7129 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7130 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7131 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7132 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7133 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7134 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7135 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7136 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7137 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7138 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7139 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7140 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7141 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7142 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7143 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7144 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7146 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7148 * stdio-common/_itoa.h: Moved to ...
7149 * sysdeps/generic/_itoa.h: Here.
7151 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7153 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7154 instead of "_itoa.h" and "_itowa.h".
7155 * stdio-common/vfprintf.: Likewise.
7157 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7159 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7161 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7162 (__signbit): Likwise.
7166 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7168 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7171 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7173 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7174 OVERFLOW_EXCEPTION_OK.
7175 * math/libm-test.inc ("Philosophy"): Update comment about
7177 (OVERFLOW_EXCEPTION): Define.
7178 (OVERFLOW_EXCEPTION_OK): Likewise.
7179 (INVALID_EXCEPTION_OK): Renumber.
7180 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7181 (IGNORE_ZERO_INF_SIGN): Likewise.
7182 (test_exceptions): Handle FE_OVERFLOW.
7183 (exp10_test): Expect overflow exceptions.
7184 (exp2_test): Likewise.
7185 (expm1_test): Likewise.
7186 (nextafter_test): Likewise.
7187 (pow_test): Likewise.
7188 (scalbn_test): Likewise.
7189 (scalbln_test): Likewise.
7191 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7193 * sysdeps/x86_64/bits/atomic.h
7194 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7196 (atomic_exchange_acq): Likewise.
7197 (__arch_exchange_and_add_body): Likewise.
7198 (__arch_add_body): Likewise.
7199 (atomic_add_negative): Likewise.
7200 (atomic_add_zero): Likewise.
7202 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7204 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7205 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7207 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7209 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7210 Check __x86_64__ instead of __WORDSIZE.
7212 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7214 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7216 2012-03-19 David S. Miller <davem@davemloft.net>
7218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7220 * sysdeps/sparc/fpu/fenv_private.h: New file.
7221 * sysdeps/sparc/fpu/math_private.h: Use it.
7222 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7224 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7225 (libc_feholdexcept_setroundl): Remove.
7226 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7228 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7229 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7231 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7233 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7234 int64_t instead of long int.
7235 (INSERT_WORDS64): Likwise.
7237 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7239 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7240 _Unwind_GetCFA return to _Unwind_Ptr first.
7242 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7245 * math/s_clog.c: Include <float.h>.
7246 (__clog): Scale large or subnormal inputs.
7247 * math/s_clogf.c: Likewise.
7248 * math/s_clogl.c: Likewise.
7249 * math/s_clog10.c: Include <float.h>.
7250 (M_LOG10_2): Define.
7251 (__clog10): Scale large or subnormal inputs.
7252 * math/s_clog10f.c: Likewise.
7253 * math/s_clog10l.c: Likewise.
7254 * math/libm-test.inc (clog_test): Add more tests.
7255 (clog10_test): Likewise.
7256 * sysdeps/i386/fpu/libm-test-ulps: Update.
7257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7260 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7262 * math/libm-test.inc (atan2_test): Add another test.
7264 * Makerules (common-objdir-compile): Remove.
7265 * sysdeps/unix/Makefile (config-generated): Do not add
7266 $(unix-generated) to variable.
7267 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7268 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7270 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7272 [generic bits/local_lim.h] (before-compile): Do not append to
7274 [generic bits/local_lim.h] (common-generated): Likewise.
7275 [generic sys/param.h] (before-compile): Do not append to variable.
7276 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7277 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7278 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7279 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7281 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7282 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7283 [generic sys/param.h] ($(addprefix
7284 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7285 [generic sys/param.h] (common-generated): Do not append to
7287 [generic sys/param.h] (sysdep_headers): Likewise.
7288 [generic bits/errno.h] (before-compile): Do not append to
7290 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7292 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7293 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7294 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7295 [generic bits/errno.h] (common-generated): Do not append to
7297 [generic bits/ioctls.h] (before-compile): Do not append to
7299 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7301 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7302 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7303 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7305 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7306 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7307 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7308 [generic bits/ioctls.h] (common-generated): Do not append to
7310 [generic sys/syscall.h] (syscall.h): Remove variable.
7311 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7313 [generic sys/syscall.h] (before-compile): Do not append to
7315 [generic sys/syscall.h] (common-generated): Likewise.
7316 * sysdeps/unix/errnos-tmpl.c: Remove file.
7317 * sysdeps/unix/errnos.awk: Likewise.
7318 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7319 * sysdeps/unix/ioctls.awk: Likewise.
7320 * sysdeps/unix/mk-local_lim.c: Likewise.
7321 * sysdeps/unix/snarf-ioctls: Likewise.
7323 2012-03-19 Richard Henderson <rth@twiddle.net>
7325 * sysdeps/i386/fpu/fenv_private.h: New file.
7326 * sysdeps/i386/fpu/math_private.h: Use it.
7327 (math_opt_barrier, math_force_eval): Remove.
7328 (libc_feholdexcept_setround_53bit): Remove.
7329 (libc_feupdateenv_53bit): Remove.
7330 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7331 (math_opt_barrier, math_force_eval): Remove.
7332 (libc_feholdexcept): Remove.
7333 (libc_feholdexcept_setround): Remove.
7334 (libc_fetestexcept, libc_fesetenv): Remove.
7335 (libc_feupdateenv_test): Remove.
7336 (libc_feupdateenv, libc_feholdsetround): Remove.
7337 (libc_feresetround): Remove.
7339 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7340 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7342 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7343 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7344 (libc_feupdateenv_testl): New.
7345 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7346 (libc_feupdateenv_testf): New.
7347 (libc_feupdateenv): Use libc_feupdateenv_test.
7348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7349 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7351 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7352 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7353 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7354 (libc_feresetround_noex): New.
7355 (libc_feresetround_noexf): New.
7356 (libc_feresetround_noexl): New.
7357 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7358 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7359 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7360 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7363 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7365 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7366 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7367 SET_RESTORE_ROUND_NOEX.
7368 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7369 SET_RESTORE_ROUND_NOEXF.
7370 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7371 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7372 (libc_feholdsetroundf): New.
7373 (libc_feresetround, libc_feresetroundf): New.
7375 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7376 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7377 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7379 * sysdeps/generic/math_private.h: Include <fenv.h>.
7380 (default_libc_feholdexcept): New.
7381 (default_libc_feholdexcept_setround): New.
7382 (default_libc_fesetenv, default_libc_feupdateenv): New.
7383 (libc_feholdexcept): Only define if undefined.
7384 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7385 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7386 (libc_feholdexcept_setroundl): Likewise.
7387 (libc_feholdexcept_setround_53bit): Likewise.
7388 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7389 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7390 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7391 (libc_feupdateenv_53bit): Likewise.
7392 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7393 (libc_feholdexcept): Convert from macro to inline function.
7394 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7395 (libc_fesetenv, libc_feupdateenv): Likewise.
7397 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7398 not previously defined.
7399 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7400 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7401 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7402 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7403 * sysdeps/ieee754/flt-32/math_private.h: New file.
7404 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7405 math_private.h below SET_FLOAT_WORD.
7406 (__isnan, __isinf_ns, __finite): Remove.
7407 (__isnanf, __isinf_nsf, __finitef): Remove.
7409 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7413 2012-03-17 David S. Miller <davem@davemloft.net>
7416 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7419 2012-03-16 David S. Miller <davem@davemloft.net>
7421 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7425 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7427 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7428 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7429 sysdep_routines when subdir is sysvipc.
7430 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7433 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7435 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7437 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7440 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7442 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7443 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7444 (__lround): Renamed to ...
7445 (__llround): This. Replace long int with long long int.
7446 Define lround functions as aliases of llround functions.
7447 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7449 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7451 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7452 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7453 adresses to uintptr_t. Replace "long int" and "unsigned long
7454 int" with "greg_t" on va_arg.
7456 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7458 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7459 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7461 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7462 Move e_machine check before EI_CLASS check. Handle x32
7463 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7464 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7465 SKIP_EM_IA_64 and include
7466 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7468 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7469 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7470 (add_system_dir): New macro.
7472 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7473 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7475 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7486 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7488 * math/w_j0f.c (j0f): Likewise.
7490 * math/w_j0l.c (__j0l): Likewise.
7492 * math/w_j1.c (j1): Likewise.
7494 * math/w_j1f.c (j1f): Likewise.
7496 * math/w_j1l.c (__j1l): Likewise.
7498 * math/w_jn.c (jn): Likewise.
7500 * math/w_jnf.c (jnf): Likewise.
7502 * math/w_jnl.c (__jnl): Likewise.
7504 * math/libm-test.inc (j0_test): Add more tests.
7505 (j1_test): Likewise.
7506 (jn_test): Likewise. Add trailing semicolon to existing test.
7507 (y0_test): Likewise.
7508 (y1_test): Likewise.
7509 * sysdeps/i386/fpu/libm-test-ulps: Update.
7510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7514 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7515 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7516 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7517 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7518 (__tanl): Set errno for infinite argument.
7519 * sysdeps/i386/fpu/mptan.c: Remove.
7520 * sysdeps/i386/fpu/s_tan.S: Likewise.
7521 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7522 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7523 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7524 * math/libm-test.inc (tan_test): Add more tests and enable more
7525 tests for double and long double.
7526 * sysdeps/i386/fpu/libm-test-ulps: Update.
7527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7529 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7531 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7532 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7534 2012-03-16 Roland McGrath <roland@hack.frob.com>
7536 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7537 * configure.in: Use it for both main tree and add-ons.
7538 * configure: Regenerated.
7540 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7542 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7544 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7546 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7550 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7551 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7556 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7557 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7559 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7560 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7561 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7562 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7563 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7564 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7565 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7566 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7567 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7568 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7569 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7570 * math/libm-test.inc (cos_test): Add more tests and enable more
7571 tests for long double.
7572 (sin_test): Likewise.
7573 (sincos_test): Likewise.
7574 * sysdeps/i386/fpu/libm-test-ulps: Update.
7575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7577 2012-03-16 David S. Miller <davem@davemloft.net>
7579 * sysdeps/sparc/fpu/math_private.h: New file.
7581 2012-03-15 David S. Miller <davem@davemloft.net>
7583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7593 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7597 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7598 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7600 * sysdeps/sparc/sparc-ifunc.h: New file.
7601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7643 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7646 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7648 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7652 2012-03-15 Andreas Jaeger <aj@suse.de>
7655 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7656 ieee754/flt-32 implementation for sin, cos and sincos.
7657 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7658 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7659 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7660 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7661 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7662 ieee754/flt-32 implementation for tan.
7664 * math/libm-test.inc (cos_test): Enable some large input tests for
7666 (sin_test): Likewise.
7667 (sincos_test): Likewise.
7668 (tan_test): Add tests for large input.
7670 * sysdeps/i386/fpu/libm-test-ulps: Update.
7672 2012-03-15 Andreas Jaeger <aj@suse.de>
7675 * math/libm-test.inc (cos_test): Add more test cases.
7676 (sin_test): Likewise.
7677 (sincos_test): Likewise.
7679 2012-03-15 Andreas Jaeger <aj@suse.de>
7682 * math/libm-test.inc (cos_test): Add a test case for large input
7684 (sin_test): Likewise.
7685 (sincos_test): Likewise.
7687 2012-03-15 Andreas Jaeger <aj@suse.de>,
7688 Joseph Myers <joseph@codesourcery.com>
7691 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7692 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7693 * sysdeps/i386/fpu/branred.c: Likewise.
7694 * sysdeps/i386/fpu/dosincos.c: Likewise.
7695 * sysdeps/i386/fpu/mpa.c: Likewise.
7696 * sysdeps/i386/fpu/s_cos.S: Likewise.
7697 * sysdeps/i386/fpu/s_sin.S: Likewise.
7698 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7699 * sysdeps/i386/fpu/sincos32.c: Likewise.
7701 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7703 (libc_feupdateenv_53bit): Define.
7704 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7706 (libc_feupdateenv_53bit): Define.
7708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7709 53 bit (without extend i386 double precision).
7711 * math/libm-test.inc (sincos_test): Add tests for large input.
7715 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7717 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7721 2012-03-15 David S. Miller <davem@davemloft.net>
7723 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7724 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7725 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7726 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7751 fmin/fmax sysdep routines.
7752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7754 2012-03-14 David S. Miller <davem@davemloft.net>
7756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7783 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7828 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7833 * sysdeps/sparc/configure.in: New file.
7834 * sysdeps/sparc/configure: Generate.
7835 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7836 * configure: Regenerate.
7837 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7838 * config.make.in (have-as-vis3): New.
7839 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7840 available use -Av9d instead of -Av9a.
7841 * sysdeps/sparc/sparc64/Makefile: Likewise.
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7851 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7853 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7854 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7857 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7858 fzeros/fnegs to load 0x80000000 into a float register instead of
7860 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7862 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7866 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7867 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7868 ($(inst_includedir)/bits/syscall.h): Remove rule.
7869 ($(objpfx)bits/syscall.d): Include instead of
7870 $(objpfx)syscall-list.d.
7871 (generated): Change syscall-list.h and syscall-list.d to
7872 bits/syscall.h and bits/syscall.d.
7874 2012-03-14 Roland McGrath <roland@hack.frob.com>
7877 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7879 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7882 * math/s_csqrt.c: Include <float.h>.
7883 (__csqrt): Scale large or subnormal inputs.
7884 * math/s_csqrtf.c: Likewise.
7885 * math/s_csqrtl.c: Likewise.
7886 * math/libm-test.inc (csqrt_test): Add more tests.
7887 * sysdeps/i386/fpu/libm-test-ulps: Update.
7888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7891 * math/libm-test.inc (hypot_test): Add more tests.
7893 2012-03-13 David S. Miller <davem@davemloft.net>
7896 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7897 double-precision for the calculation instead of scaling.
7899 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7901 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7902 manipulate bits before adding and subtracting TWO52[sx].
7903 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7904 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7906 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7908 2012-03-13 David S. Miller <davem@davemloft.net>
7910 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7911 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7913 rtld-global-offsets.h
7914 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7916 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7919 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7921 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7922 'err' in the ifdef scope in which it is actually used.
7924 * nss/nss_db/db-init.c: Include string.h
7926 2012-03-12 David S. Miller <davem@davemloft.net>
7928 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7929 masking out of the most significant byte of random value used.
7930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7931 Fix coding style in previous change.
7933 * sysdeps/unix/sysv/linux/kernel-features.h
7934 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7935 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7937 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7940 2012-03-11 David S. Miller <davem@davemloft.net>
7942 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7943 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7944 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7945 for 'resultvar' otherwise things get truncated on 64-bit.
7947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7948 Fix masking out of the most significant byte of random value used.
7950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7952 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7956 2012-03-09 David S. Miller <davem@davemloft.net>
7958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7959 variables with appropriate CPP guards.
7960 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7961 frame pointer, not the stack pointer. Correct layout comments. Fix test
7962 on resulting framesize and the management of the outregs buffer for pltexit.
7963 Preserve floating point return values across _dl_call_pltexit call.
7964 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7965 framesize and the management of the outregs buffer for pltexit.
7966 Preserve floating point return values across _dl_call_pltexit
7968 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7969 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7970 (print_exit): Fix format string for return register value.
7972 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7974 * sunrpc/Makefile (others): Add rpcgen.
7975 ($(objpfx)rpcgen): Remove special build rule and dependency on
7977 * sunrpc/rpcgen.c: New file.
7979 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7982 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7983 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7984 * sysdeps/i386/crti.S: Likewise.
7985 * sysdeps/i386/crtn.S: Likewise.
7986 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7987 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7988 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7989 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7990 * sysdeps/sh/crti.S: Likewise.
7991 * sysdeps/sh/crtn.S: Likewise.
7992 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7995 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7997 * locale/programs/locfile-kw.gperf: Likewise.
7998 * locale/programs/charmap-kw.h: Regenerated.
7999 * locale/programs/locfile-kw.h: Likewise.
8002 * intl/plural.y: Replace FSF snail mail address with URL.
8003 * intl/plural.c: Regenerated.
8005 2012-03-09 Richard Henderson <rth@twiddle.net>
8007 * include/math_private.h: Remove file.
8008 * math/math_private.h: Move file ...
8009 * sysdeps/generic/math_private.h: ... here.
8011 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8012 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8013 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8015 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8016 and <math_private.h>.
8017 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8018 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8019 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8020 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8021 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8027 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8028 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8030 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8031 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8032 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8036 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8042 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8068 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8069 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8073 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8074 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8105 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8106 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8107 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8108 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8110 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8111 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8112 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8113 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8114 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8115 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8116 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8117 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8118 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8119 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8120 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8121 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8122 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8123 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8124 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8125 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8126 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8127 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8128 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8129 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8130 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8131 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8132 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8133 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8134 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8135 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8136 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8137 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8138 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8139 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8140 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8141 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8142 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8143 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8144 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8145 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8146 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8147 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8148 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8149 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8150 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8151 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8152 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8153 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8154 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8155 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8156 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8157 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8158 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8159 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8160 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8161 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8162 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8163 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8164 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8165 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8166 * sysdeps/ieee754/k_standard.c: Likewise.
8167 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8168 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8169 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8171 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8172 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8173 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8176 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8177 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8178 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8179 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8180 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8181 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8182 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8216 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8217 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8218 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8219 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8220 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8221 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8222 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8223 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8224 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8225 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8234 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8235 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8239 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8240 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8241 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8243 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8282 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8286 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8287 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8289 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8293 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8294 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8299 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8315 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8316 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8317 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8318 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8327 * sysdeps/ieee754/s_lib_version.c: Likewise.
8328 * sysdeps/ieee754/s_matherr.c: Likewise.
8329 * sysdeps/ieee754/s_signgam.c: Likewise.
8330 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8331 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8332 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8333 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8334 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8335 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8336 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8337 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8338 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8339 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8340 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8341 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8342 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8343 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8344 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8345 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8346 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8347 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8348 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8349 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8350 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8352 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8354 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8355 * sunrpc/rpc_main.c: Likewise.
8356 * sunrpc/rpc_svcout.c: Likewise.
8358 2012-03-09 David S. Miller <davem@davemloft.net>
8360 * include/math_private.h: New file.
8362 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8364 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8365 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8366 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8367 from <bits/socket_type.h>.
8368 (enum __socket_type): Don't define here.
8369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8370 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8374 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8377 * Makerules ($(inst_includedir)/%.h): New rule.
8378 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8379 (install-others): Remove variable setting.
8380 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8382 2012-03-08 Richard Henderson <rth@twiddle.net>
8384 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8385 from macro to inline function; merge with the
8386 !__LIBC_INTERNAL_MATH_INLINES version.
8387 (__ieee754_sqrtf): Likewise.
8389 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8391 (__rintf, __floor, __floorf): Likewise.
8393 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8394 macro to inline function.
8395 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8398 not <math/math_private.h>.
8400 2012-03-08 David S. Miller <davem@davemloft.net>
8402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8404 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8406 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8408 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8410 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8411 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8413 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8415 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8416 be defined individually, they must be defined as a block. Define
8417 S for printing a string instead of hidint the different by using a
8418 macro for adding the 'l'.
8419 * stdio-common/tst-fphex-wide.c: Adjust.
8421 2012-03-07 Marek Polacek <polacek@redhat.com>
8423 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8425 2012-03-08 Marek Polacek <polacek@redhat.com>
8428 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8429 * stdio-common/tst-fphex.c: Define a few macros to make the
8430 test reusable. Use them.
8431 * stdio-common/tst-fphex-wide.c: New file.
8433 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8436 * manual/macros.texi (gnusystems): New macro.
8437 (nongnusystems): Likewise.
8438 (gnulinuxhurdsystems): Likewise.
8439 (gnuhurdsystems): Likewise..
8440 (gnulinuxsystems): Likewise.
8441 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8442 variants of the GNU system, not "GNU system".
8443 * manual/conf.texi: Likewise.
8444 * manual/errno.texi: Likewise. Update example of errno macro
8446 * manual/filesys.texi: Likewise.
8447 (getumask): Document as specific to GNU/Hurd.
8448 * manual/install.texi: Likewise. Reword some references to
8450 * manual/intro.texi: Likewise.
8451 * manual/io.texi: Likewise.
8452 (File Name Portability): Detail which constraints are inapplicable
8453 to all GNU systems and which are only inapplicable to GNU/Hurd.
8454 * manual/job.texi: Likewise.
8455 * manual/llio.texi: Likewise.
8456 (O_NOCTTY): Document as present on GNU/Linux.
8457 * manual/maint.texi: Likewise.
8458 * manual/memory.texi: Likewise.
8459 * manual/pattern.texi: Likewise.
8460 * manual/pipe.texi: Likewise.
8461 * manual/process.texi: Likewise.
8462 * manual/resource.texi: Likewise.
8463 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8465 * manual/setjmp.texi: Likewise.
8466 * manual/signal.texi: Likewise.
8467 * manual/startup.texi: Likewise.
8468 * manual/stdio.texi: Likewise.
8469 * manual/terminal.texi: Likewise.
8470 (ONLCR): Document as POSIX.
8471 (OXTABS): Document availability on GNU/Linux as XTABS.
8472 (ONOEOT): Document availability separately from other bits.
8473 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8474 * manual/time.texi: Likewise.
8475 * manual/users.texi: Likewise.
8476 * INSTALL: Regenerated.
8477 * sysdeps/gnu/errlist.c: Regenerated.
8479 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8480 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8481 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8483 * configure: Regenerated.
8485 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8487 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8488 default includes instead of AC_HEADER_CHECK.
8489 * sysdeps/i386/configure: Regenerated.
8492 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8493 * math/s_cacoshf.c (__cacoshf): Likewise.
8494 * math/s_cacoshl.c (__cacoshl): Likewise.
8495 * math/s_casinh.c (__casinh): Set signs of result from argument.
8496 * math/s_casinhf.c (__casinhf): Likewise.
8497 * math/s_casinhl.c (__casinhl): Likewise.
8498 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8499 (casinh_test): Add more tests.
8500 * sysdeps/i386/fpu/libm-test-ulps: Update.
8501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8503 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8505 * po/zh_TW.po: Update from translation team.
8507 * login/Makefile (distribute): Remove variable.
8508 * catgets/Makefile: Likewise.
8509 * mach/Makefile: Likewise.
8510 * malloc/Makefile: Likewise.
8511 * misc/Makefile: Likewise.
8512 * iconv/Makefile: Likewise.
8513 * nscd/Makefile: Likewise.
8514 * hurd/Makefile: Likewise.
8515 * manual/Makefile: Likewise.
8516 * locale/Makefile: Likewise.
8517 * intl/Makefile: Likewise.
8518 * conform/Makefile: Likewise.
8519 * nss/Makefile: Likewise.
8520 * time/Makefile: Likewise.
8521 * soft-fp/Makefile: Likewise.
8522 * dirent/Makefile: Likewise.
8523 * gmon/Makefile: Likewise.
8524 * po/Makefile: Likewise.
8525 * rt/Makefile: Likewise.
8526 * socket/Makefile: Likewise.
8527 * math/Makefile: Likewise.
8528 * signal/Makefile: Likewise.
8529 * debug/Makefile: Likewise.
8530 * elf/Makefile: Likewise.
8531 * timezone/Makefile: Likewise.
8532 * stdlib/Makefile: Likewise.
8533 * iconvdata/Makefile: Likewise.
8534 * sunrpc/Makefile: Likewise.
8535 * io/Makefile: Likewise.
8536 * argp/Makefile: Likewise.
8537 * inet/Makefile: Likewise.
8538 * hesiod/Makefile: Likewise.
8539 * grp/Makefile: Likewise.
8540 * csu/Makefile: Likewise.
8541 * wctype/Makefile: Likewise.
8542 * crypt/Makefile: Likewise.
8543 * libio/Makefile: Likewise.
8544 * string/Makefile: Likewise.
8545 * nis/Makefile: Likewise.
8546 * resolv/Makefile: Likewise.
8547 * stdio-common/Makefile: Likewise.
8548 * wcsmbs/Makefile: Likewise.
8549 * dlfcn/Makefile: Likewise.
8550 * posix/Makefile: Likewise.
8553 * timezone/Makefile: Don't install timezone files, just the programs
8556 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8558 * nss/databases.def: Add missing gshadow entry.
8560 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8562 2012-03-06 Marek Polacek <polacek@redhat.com>
8565 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8566 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8567 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8568 * stdio-common/tst-long-dbl-fphex.c: New file.
8570 2012-03-06 David S. Miller <davem@davemloft.net>
8572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8573 (set_obp_int): New function.
8574 (get_obp_int): New function.
8575 (__get_clockfreq_via_dev_openprom): Likewise.
8576 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8577 Avoid unused variable warnings on 'val' and use builtin_expect.
8578 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8580 (INLINE_CLONE_SYSCALL): Likewise.
8582 2012-03-05 David S. Miller <davem@davemloft.net>
8584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8586 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8590 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8592 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8594 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8596 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8597 Replace gettimeofday with __vdso_gettimeofday.
8599 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8600 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8601 __vdso_clock_gettime and __vdso_getcpu.
8603 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8604 time with __vdso_time.
8606 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8608 * manual/lang.texi (size_t): Note types to which size_t may be
8609 equivalent with the GNU C Library, but do not describe when
8610 differences between them are significant.
8612 2012-03-05 Andreas Jaeger <aj@suse.de>
8614 * sysdeps/i386/fpu/libm-test-ulps: Update.
8616 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8619 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8620 (__ieee754_pow): Save and restore rounding mode and use
8621 round-to-nearest for main computations.
8622 * math/libm-test.inc (pow_test_tonearest): New function.
8623 (pow_test_towardzero): Likewise.
8624 (pow_test_downward): Likewise.
8625 (pow_test_upward): Likewise.
8626 (main): Call the new functions.
8627 * sysdeps/i386/fpu/libm-test-ulps: Update.
8628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8631 * math/libm-test.inc (cosh_test_tonearest): New function.
8632 (cosh_test_towardzero): Likewise.
8633 (cosh_test_downward): Likewise.
8634 (cosh_test_upward): Likewise.
8635 (sinh_test_tonearest): Likewise.
8636 (sinh_test_towardzero): Likewise.
8637 (sinh_test_downward): Likewise.
8638 (sinh_test_upward): Likewise.
8639 (main): Call the new functions.
8640 * sysdeps/i386/fpu/libm-test-ulps: Update.
8641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8643 2012-03-05 Tom de Vries <tom@codesourcery.com>
8645 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8646 default stack guard is set in last bytes.
8647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8649 2012-03-05 Kees Cook <keescook@chromium.org>
8651 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8654 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8655 possibly allocate from heap instead of stack.
8656 * stdio-common/bug-vfprintf-nargs.c: New file.
8657 * stdio-common/Makefile (tests): Add nargs overflow test.
8659 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8663 2012-03-03 Marek Polacek <polacek@redhat.com>
8665 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8666 * math/math_private.h: Likewise.
8667 * stdlib/tst-strtod.c: Likewise.
8668 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8669 * sysdeps/x86_64/bits/atomic.h: Likewise.
8671 2012-03-02 David S. Miller <davem@davemloft.net>
8673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8677 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8678 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8679 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8680 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8682 2012-03-02 Roland McGrath <roland@hack.frob.com>
8685 * manual/examples/README: New file, says the example source files
8686 can be used under GPL>=2.
8687 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8688 line containing just "*/".
8689 * manual/examples/add.c: Add copyright header (GPL>=2).
8690 * manual/examples/argp-ex1.c: Likewise.
8691 * manual/examples/argp-ex2.c: Likewise.
8692 * manual/examples/argp-ex3.c: Likewise.
8693 * manual/examples/argp-ex4.c: Likewise.
8694 * manual/examples/atexit.c: Likewise.
8695 * manual/examples/db.c: Likewise.
8696 * manual/examples/dir.c: Likewise.
8697 * manual/examples/dir2.c: Likewise.
8698 * manual/examples/execinfo.c: Likewise.
8699 * manual/examples/filecli.c: Likewise.
8700 * manual/examples/filesrv.c: Likewise.
8701 * manual/examples/fmtmsgexpl.c: Likewise.
8702 * manual/examples/genpass.c: Likewise.
8703 * manual/examples/inetcli.c: Likewise.
8704 * manual/examples/inetsrv.c: Likewise.
8705 * manual/examples/isockad.c: Likewise.
8706 * manual/examples/longopt.c: Likewise.
8707 * manual/examples/memopen.c: Likewise.
8708 * manual/examples/memstrm.c: Likewise.
8709 * manual/examples/mkfsock.c: Likewise.
8710 * manual/examples/mkisock.c: Likewise.
8711 * manual/examples/mygetpass.c: Likewise.
8712 * manual/examples/pipe.c: Likewise.
8713 * manual/examples/popen.c: Likewise.
8714 * manual/examples/rprintf.c: Likewise.
8715 * manual/examples/search.c: Likewise.
8716 * manual/examples/select.c: Likewise.
8717 * manual/examples/setjmp.c: Likewise.
8718 * manual/examples/sigh1.c: Likewise.
8719 * manual/examples/sigusr.c: Likewise.
8720 * manual/examples/stpcpy.c: Likewise.
8721 * manual/examples/strdupa.c: Likewise.
8722 * manual/examples/strftim.c: Likewise.
8723 * manual/examples/strncat.c: Likewise.
8724 * manual/examples/subopt.c: Likewise.
8725 * manual/examples/swapcontext.c: Likewise.
8726 * manual/examples/termios.c: Likewise.
8727 * manual/examples/testopt.c: Likewise.
8728 * manual/examples/testpass.c: Likewise.
8729 * manual/examples/timeval_subtract.c: Likewise.
8732 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8734 * manual/timeval_subtract.c.texi: ... here, new file.
8736 2012-03-02 David S. Miller <davem@davemloft.net>
8738 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8740 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8743 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8744 (__sin): Save and restore rounding mode and use round-to-nearest
8745 for all computations.
8746 (__cos): Save and restore rounding mode and use round-to-nearest
8747 for all computations.
8748 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8750 (tan): Save and restore rounding mode and use round-to-nearest for
8752 * math/libm-test.inc (cos_test_tonearest): New function.
8753 (cos_test_towardzero): Likewise.
8754 (cos_test_downward): Likewise.
8755 (cos_test_upward): Likewise.
8756 (sin_test_tonearest): Likewise.
8757 (sin_test_towardzero): Likewise.
8758 (sin_test_downward): Likewise.
8759 (sin_test_upward): Likewise.
8760 (tan_test_tonearest): Likewise.
8761 (tan_test_towardzero): Likewise.
8762 (tan_test_downward): Likewise.
8763 (tan_test_upward): Likewise.
8764 (main): Call the new functions.
8765 * sysdeps/i386/fpu/libm-test-ulps: Update.
8766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8769 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8770 small n, then large n, before computing and testing k+n.
8771 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8776 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8777 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8778 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8779 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8782 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8783 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8784 * math/libm-test.inc (scalbn_test): Add more tests.
8785 (scalbln_test): Likewise.
8787 * manual/filesys.texi (mode_t): Describe constraints on size and
8788 signedness, not exact equivalence to a particular type.
8790 (ino64_t): Likewise.
8792 (nlink_t): Likewise.
8793 (blkcnt_t): Likewise.
8794 (blkcnt64_t): Likewise.
8795 * manual/llio.texi (off_t): Likewise.
8798 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8799 (__ieee754_exp): Save and restore rounding mode and use
8800 round-to-nearest for all computations.
8801 * math/libm-test.inc (exp_test_tonearest): New function.
8802 (exp_test_towardzero): Likewise.
8803 (exp_test_downward): Likewise.
8804 (exp_test_upward): Likewise.
8805 (main): Call the new functions.
8806 * sysdeps/i386/fpu/libm-test-ulps: Update.
8807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8809 2012-03-01 Chris Demetriou <cgd@google.com>
8811 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8812 have predictable order.
8814 2012-03-01 David S. Miller <davem@davemloft.net>
8816 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8818 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8819 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8820 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8821 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8823 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8824 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8825 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8827 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8828 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8829 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8830 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8831 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8835 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8836 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8837 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8839 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8840 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8841 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8842 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8843 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8844 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8845 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8846 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8847 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8848 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8849 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8850 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8852 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8853 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8855 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8856 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8857 * sysdeps/sparc/elf/configure: Regenerated.
8859 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8861 * configure.in (AS, LD): Require binutils 2.20 or later.
8862 * configure: Regenerated.
8863 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8864 as required minimum version.
8865 * INSTALL: Regenerated.
8869 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8870 before squaring exponent.
8871 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8872 bottom long double and 27 bits of top long double before squaring
8874 * math/libm-test.inc (erfc_test): Add more tests.
8875 * sysdeps/i386/fpu/libm-test-ulps: Update.
8876 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8879 2012-03-01 Kai Tietz <ktietz@redhat.com>
8881 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8882 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8883 containing bit-fields.
8884 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8885 * soft-fp/single.h (_FP_UNION_S): Likewise.
8886 * soft-fp/double.h (_FP_UNION_D): Likewise.
8888 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8891 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8892 not include ../strcmp.S.
8893 [USE_AS_STRNCASECMP_L]: Likewise.
8894 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8895 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8896 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8897 (__strncasecmp_l_ia32): Define as alias to
8898 __strncasecmp_l_nonascii.
8901 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8902 * sysdeps/i386/fpu/libm-test-ulps: Update.
8903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8905 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8908 2012-02-29 Jeff Law <law@redhat.com>
8910 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8913 2012-02-29 Marek Polacek <polacek@redhat.com>
8916 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8917 * elf/Makefile: Add rules to run tst-unused-dep.out.
8919 2012-02-28 David S. Miller <davem@davemloft.net>
8921 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8922 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8925 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8926 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8928 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8930 * math/libm-test.inc (llround_test): Move one test from
8931 lround_test. Use TEST_f_L in moved test.
8932 (lround_test): Move misplaced test to llround_test. Add testcase
8935 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8937 * sysdeps/x86_64/fpu/e_expf.S: New file.
8938 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8940 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8943 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8944 of remain_len that may cause incomplete multi-byte character and
8946 * posix/bug-regex33.c: New file.
8947 * posix/Makefile (tests): Add bug-regex33.
8949 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8951 * manual/macros.texi: New file.
8952 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8953 * manual/libc.texinfo: Include macros.texi.
8954 * manual/creatute.texi: Likewise.
8955 * manual/install.texi: Likewise.
8956 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8957 @glibcadj{} in references to the GNU C Library.
8958 * manual/charset.texi: Likewise.
8959 * manual/conf.texi: Likewise.
8960 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8961 when not using those macros.
8962 * manual/creature.texi: Likewise.
8963 * manual/crypt.texi: Likewise.
8964 * manual/errno.texi: Likewise.
8965 * manual/filesys.texi: Likewise.
8966 * manual/header.texi: Likewise.
8967 * manual/install.texi: Likewise.
8968 * manual/intro.texi: Likewise.
8969 * manual/io.texi: Likewise.
8970 * manual/job.texi: Likewise.
8971 * manual/lang.texi: Likewise.
8972 * manual/libc.texiinfo: Likewise.
8973 * manual/llio.texi: Likewise.
8974 * manual/locale.texi: Likewise.
8975 * manual/maint.texi: Likewise.
8976 * manual/math.texi: Likewise.
8977 * manual/memory.texi: Likewise.
8978 * manual/message.texi: Likewise.
8979 * manual/nss.texi: Likewise.
8980 * manual/pattern.texi: Likewise.
8981 * manual/process.texi: Likewise.
8982 * manual/resource.texi: Likewise.
8983 * manual/search.texi: Likewise.
8984 * manual/setjmp.texi: Likewise.
8985 * manual/signal.texi: Likewise.
8986 * manual/socket.texi: Likewise.
8987 * manual/startup.texi: Likewise.
8988 * manual/stdio.texi: Likewise.
8989 * manual/string.texi: Likewise.
8990 * manual/sysinfo.texi: Likewise.
8991 * manual/syslog.texi: Likewise.
8992 * manual/terminal.texi: Likewise.
8993 * manual/time.texi: Likewise.
8994 * manual/users.texi: Likewise.
8995 * INSTALL: Regenerated.
8996 * NOTES: Regenerated.
8997 * sysdeps/gnu/errlist.c: Regenerated.
8999 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9001 * include/dirent.h: Include <dirstream.h> before
9004 2012-02-28 David S. Miller <davem@davemloft.net>
9006 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9007 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9008 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9009 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9011 2012-02-27 David S. Miller <davem@davemloft.net>
9013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9015 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9016 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9019 frame pointer instead of stack pointer relative arg slot.
9020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9021 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9022 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9024 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9027 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9029 2012-02-27 David S. Miller <davem@davemloft.net>
9031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9035 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9036 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9037 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9038 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9040 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9042 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9043 later. Allow versions 5-9.
9044 * configure: Regenerated.
9045 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9046 required minimum version and 4.6 as recommended version. Do not
9047 mention bugs in GCC 2.7 and 2.8.
9048 * INSTALL: Regenerated.
9050 2012-02-27 David S. Miller <davem@davemloft.net>
9052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9056 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9057 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9058 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9059 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9062 manipulate bits before adding and subtracting TWO112[sx].
9063 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9065 2012-02-27 Roland McGrath <roland@hack.frob.com>
9068 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9069 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9070 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9071 being in POSIX, because they are in 1003.1-2008.
9073 * rt/tst-aio.c: Include <fcntl.h>.
9074 * rt/tst-aio7.c: Likewise.
9075 * rt/tst-aio64.c: Likewise.
9077 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9079 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9081 * manual/install.texi (--with-headers): Describe headers as
9082 interface headers, not private headers.
9083 (Specific advice for GNU/Linux systems): Describe use of headers
9084 from "make headers_install", not private headers from older
9086 * INSTALL: Regenerated.
9087 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9089 * sysdeps/unix/sysv/linux/configure: Regenerated.
9091 * manual/llio.texi (fclean): Remove documentation.
9093 * manual/Makefile (libc-texi-generated): New variable. Include
9095 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9096 $(libc-texi-generated), not duplicated list of files.
9097 (version.texi, stamp-version): New rules.
9098 (realclean): Remove $(libc-texi-generated), not individual files
9099 from that list. Do not remove dir-add.texinfo.
9100 * manual/libc.texinfo: Comment out uses of edition numbers and
9101 references to printed manual. Remove last-updated dates.
9102 (EDITION): Comment out.
9104 (VERSION, UPDATED): Remove.
9105 (version.texi): Include.
9107 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9109 * sysdeps/posix/spawni.c: Include <signal.h>.
9110 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9111 * sysdeps/pthread/aio_fsync.c: Likewise.
9113 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9115 * conform/Makefile (tests): Run only when not cross-compiling and
9116 when fast-check is not defined.
9118 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9119 * conform/data/limits.h-data: Fixes for POSIX2008.
9120 * conform/run-conformtest.sh: Run all tests.
9121 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9123 * include/bits/dlfcn.h: Likewise.
9124 * include/langinfo.h: Likewise.
9125 * include/monetary.h: Likewise.
9126 * include/sys/poll.h: Likewise.
9128 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9130 * posix/spawn.h: Define __need_sigset_t.
9131 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9132 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9133 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9134 to get sigevent_t only.
9135 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9138 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9139 process_vm_writev only for __USE_GNU.
9140 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9142 * conform/Makefile: For now ignore errors from run-conformtest.
9143 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9144 POSIX to avoid namespace pollution. Don't prepend headers.
9145 * conform/data/aio.h-data: Fixes for POSIX testing.
9146 * conform/data/fcntl.h-data: Likewise.
9147 * conform/data/glob.h-data: Likewise.
9148 * conform/data/grp.h-data: Likewise.
9149 * conform/data/pthread.h-data: Likewise.
9150 * conform/data/pwd.h-data: Likewise.
9151 * conform/data/signal.h-data: Likewise.
9152 * conform/data/spawn.h-data: Likewise.
9153 * conform/data/stdio.h-data: Likewise.
9154 * conform/data/stdlib.h-data: Likewise.
9155 * conform/data/stropts.h-data: Likewise.
9156 * conform/data/sys/mman.h-data: Likewise.
9157 * conform/data/sys/stat.h-data: Likewise.
9158 * conform/data/sys/types.h-data: Likewise.
9159 * conform/data/sys/wait.h-data: Likewise.
9160 * conform/data/time.h-data: Likewise.
9161 * conform/data/unistd.h-data: Likewise.
9162 * conform/data/utime.h-data: Likewise.
9164 * io/sys/stat.h: fchmod was always in POSIX.
9165 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9166 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9167 * rt/aio.h: Define __need_timespec before including <time.h>.
9168 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9169 struct. Add forward declaration of pthread_attr_t and use it in
9171 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9172 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9173 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9174 always remove CLK_TCK definition.
9176 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9178 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9180 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9182 * conform/run-conformtest.sh: New file.
9183 * conform/Makefile: Run run-conformtest for tests.
9184 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9187 * conform/data/uchar.h-data: New file.
9188 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9189 * conform/data/arpa/inet.h-data: Likewise.
9190 * conform/data/assert.h-data: Likewise.
9191 * conform/data/complex.h-data: Likewise.
9192 * conform/data/cpio.h-data: Likewise.
9193 * conform/data/ctype.h-data: Likewise.
9194 * conform/data/dirent.h-data: Likewise.
9195 * conform/data/dlfcn.h-data: Likewise.
9196 * conform/data/errno.h-data: Likewise.
9197 * conform/data/fcntl.h-data: Likewise.
9198 * conform/data/float.h-data: Likewise.
9199 * conform/data/fmtmsg.h-data: Likewise.
9200 * conform/data/fnmatch.h-data: Likewise.
9201 * conform/data/ftw.h-data: Likewise.
9202 * conform/data/glob.h-data: Likewise.
9203 * conform/data/grp.h-data: Likewise.
9204 * conform/data/iconv.h-data: Likewise.
9205 * conform/data/inttypes.h-data: Likewise.
9206 * conform/data/langinfo.h-data: Likewise.
9207 * conform/data/libgen.h-data: Likewise.
9208 * conform/data/limits.h-data: Likewise.
9209 * conform/data/locale.h-data: Likewise.
9210 * conform/data/math.h-data: Likewise.
9211 * conform/data/monetary.h-data: Likewise.
9212 * conform/data/mqueue.h-data: Likewise.
9213 * conform/data/ndbm.h-data: Likewise.
9214 * conform/data/net/if.h-data: Likewise.
9215 * conform/data/netdb.h-data: Likewise.
9216 * conform/data/netinet/in.h-data: Likewise.
9217 * conform/data/nl_types.h-data: Likewise.
9218 * conform/data/poll.h-data: Likewise.
9219 * conform/data/pthread.h-data: Likewise.
9220 * conform/data/pwd.h-data: Likewise.
9221 * conform/data/regex.h-data: Likewise.
9222 * conform/data/sched.h-data: Likewise.
9223 * conform/data/search.h-data: Likewise.
9224 * conform/data/semaphore.h-data: Likewise.
9225 * conform/data/setjmp.h-data: Likewise.
9226 * conform/data/signal.h-data: Likewise.
9227 * conform/data/spawn.h-data: Likewise.
9228 * conform/data/stdarg.h-data: Likewise.
9229 * conform/data/stdio.h-data: Likewise.
9230 * conform/data/stdlib.h-data: Likewise.
9231 * conform/data/string.h-data: Likewise.
9232 * conform/data/strings.h-data: Likewise.
9233 * conform/data/stropts.h-data: Likewise.
9234 * conform/data/sys/ipc.h-data: Likewise.
9235 * conform/data/sys/mman.h-data: Likewise.
9236 * conform/data/sys/msg.h-data: Likewise.
9237 * conform/data/sys/resource.h-data: Likewise.
9238 * conform/data/sys/select.h-data: Likewise.
9239 * conform/data/sys/sem.h-data: Likewise.
9240 * conform/data/sys/shm.h-data: Likewise.
9241 * conform/data/sys/socket.h-data: Likewise.
9242 * conform/data/sys/stat.h-data: Likewise.
9243 * conform/data/sys/statvfs.h-data: Likewise.
9244 * conform/data/sys/time.h-data: Likewise.
9245 * conform/data/sys/timeb.h-data: Likewise.
9246 * conform/data/sys/times.h-data: Likewise.
9247 * conform/data/sys/types.h-data: Likewise.
9248 * conform/data/sys/uio.h-data: Likewise.
9249 * conform/data/sys/un.h-data: Likewise.
9250 * conform/data/sys/utsname.h-data: Likewise.
9251 * conform/data/sys/wait.h-data: Likewise.
9252 * conform/data/syslog.h-data: Likewise.
9253 * conform/data/tar.h-data: Likewise.
9254 * conform/data/termios.h-data: Likewise.
9255 * conform/data/utime.h-data: Likewise.
9256 * conform/data/utmpx.h-data: Likewise.
9257 * conform/data/varargs.h-data: Likewise.
9258 * conform/data/wchar.h-data: Likewise.
9259 * conform/data/wctype.h-data: Likewise.
9260 * conform/data/wordexp.h-data: Likewise.
9262 * include/stropts.h: New file.
9263 * include/uchar.h: New file.
9264 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9265 * include/assert.h: Likewise.
9266 * include/ctype.h: Likewise.
9267 * include/dirent.h: Likewise.
9268 * include/dlfcn.h: Likewise.
9269 * include/fcntl.h: Likewise.
9270 * include/fnmatch.h: Likewise.
9271 * include/glob.h: Likewise.
9272 * include/grp.h: Likewise.
9273 * include/libio.h: Likewise.
9274 * include/locale.h: Likewise.
9275 * include/math.h: Likewise.
9276 * include/net/if.h: Likewise.
9277 * include/netdb.h: Likewise.
9278 * include/netinet/in.h: Likewise.
9279 * include/pthread.h: Likewise.
9280 * include/pwd.h: Likewise.
9281 * include/regex.h: Likewise.
9282 * include/sched.h: Likewise.
9283 * include/search.h: Likewise.
9284 * include/setjmp.h: Likewise.
9285 * include/signal.h: Likewise.
9286 * include/stdio.h: Likewise.
9287 * include/stdlib.h: Likewise.
9288 * include/string.h: Likewise.
9289 * include/sys/cdefs.h: Likewise.
9290 * include/sys/mman.h: Likewise.
9291 * include/sys/msg.h: Likewise.
9292 * include/sys/resource.h: Likewise.
9293 * include/sys/select.h: Likewise.
9294 * include/sys/socket.h: Likewise.
9295 * include/sys/stat.h: Likewise.
9296 * include/sys/statvfs.h: Likewise.
9297 * include/sys/time.h: Likewise.
9298 * include/sys/times.h: Likewise.
9299 * include/sys/uio.h: Likewise.
9300 * include/sys/utsname.h: Likewise.
9301 * include/sys/wait.h: Likewise.
9302 * include/termios.h: Likewise.
9303 * include/time.h: Likewise.
9304 * include/ulimit.h: Likewise.
9305 * include/unistd.h: Likewise.
9306 * include/utime.h: Likewise.
9307 * include/wchar.h: Likewise.
9308 * include/wctype.h: Likewise.
9309 * include/wordexp.h: Likewise.
9311 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9313 * time/time.h: TIME_UTC must be a macro.
9314 Make timespec_get available for ISO C11 only as well.
9316 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9318 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9319 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9321 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9323 * configure.in: Use -o not -a in test for unsupported multi-arch.
9325 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9327 * manual/texinfo.tex: Update to version 2012-01-19.16.
9329 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9331 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9333 2012-02-24 Roland McGrath <roland@hack.frob.com>
9336 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9337 * manual/fdl-1.3.texi: New file.
9338 * manual/fdl-1.1.texi: File removed.
9341 * manual/libc.texinfo (FDL_VERSION): New @set.
9342 Use it for mention of FDL in cover text.
9343 (Documentation License): Use it in @include file name.
9345 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9346 Roland McGrath <roland@hack.frob.com>
9349 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9350 not LONG_LONG_MAX and LONG_LONG_MIN.
9351 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9352 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9354 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9356 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9360 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9361 manipulate bits before adding and subtracting TWO23[sx].
9362 * math/libm-test.inc (nearbyint_test): Add more tests.
9364 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9367 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9368 bits before adding and subtracting TWO23[sx].
9369 * math/libm-test.inc (rint_test): Add more tests.
9370 (rint_test_tonearest): Likewise.
9371 (rint_test_towardzero): Likewise.
9372 (rint_test_downward): Likewise.
9373 (rint_test_upward: Likewise.
9375 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9378 * include/stdc-predef.h: New file. Extracted from features.h.
9379 * include/features.h: Include stdc-predef.h.
9380 * Makefile (headers): Add stdc-predef.h.
9381 * CONFORMANCE (Compiler limitations): Update.
9383 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9385 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9387 2012-02-21 David S. Miller <davem@davemloft.net>
9389 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9390 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9392 2012-02-20 David S. Miller <davem@davemloft.net>
9394 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9395 using a normal save/restore sequence, rather than allocating a
9396 dummy stack frame just to store a frame pointer and restore.
9397 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9399 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9401 * manual/install.texi: Fix stray word in line-wrapped comment.
9403 2012-02-20 David S. Miller <davem@davemloft.net>
9405 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9406 both binutils and gcc support GOTDATA.
9408 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9409 "rd %pc" in the PIC register setup sequences.
9411 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9412 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9413 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9414 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9415 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9416 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9417 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9420 (SYSCALL_ERROR_HANDLER): Likewise.
9421 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9422 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9424 (SYSCALL_ERROR_HANDLER): Likewise.
9426 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9427 (HAVE_GCC_GOTDATA): New.
9428 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9429 relocation support in both binutils and gcc.
9430 * sysdeps/sparc/elf/configure: Regenerate.
9432 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9433 * sysdeps/sparc/sparc32/elf/configure: Delete.
9434 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9435 * sysdeps/sparc/sparc64/elf/configure: Delete.
9436 * sysdeps/sparc/elf/configure.in: New file.
9437 * sysdeps/sparc/elf/configure: Generate.
9439 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9440 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9441 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9442 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9443 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9445 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9447 * manual/install.texi: Do not mention specific glibc version
9449 * manual/libc.texinfo (VERSION, UPDATED): Update.
9450 (@copying): Use @copyright{} and range of years.
9452 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9455 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9456 [crti.S not in sysdirs] (generated): Do not append.
9457 [crti.S not in sysdirs] (omit-deps): Likewise.
9458 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9459 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9460 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9461 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9462 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9464 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9465 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9466 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9467 * csu/defs.awk: Remove file.
9468 * sysdeps/generic/initfini.c: Likewise.
9469 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9471 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9474 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9476 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9477 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9478 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9479 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9480 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9481 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9483 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9484 (__EPOLL_PACKED): Define to empty if not defined by
9486 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9490 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9492 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9493 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9494 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9495 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9497 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9501 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9503 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9505 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9506 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9507 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9510 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9512 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9513 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9515 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9517 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9518 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9520 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9522 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9525 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9527 * math/w_acos.c: Use non-signaling floating-point comparisons.
9528 * math/w_acosf.c: Likewise.
9529 * math/w_acosh.c: Likewise.
9530 * math/w_acoshf.c: Likewise.
9531 * math/w_acoshl.c: Likewise.
9532 * math/w_acosl.c: Likewise.
9533 * math/w_asin.c: Likewise.
9534 * math/w_asinf.c: Likewise.
9535 * math/w_asinl.c: Likewise.
9536 * math/w_atanh.c: Likewise.
9537 * math/w_atanhf.c: Likewise.
9538 * math/w_atanhl.c: Likewise.
9539 * math/w_exp2.c: Likewise.
9540 * math/w_exp2f.c: Likewise.
9541 * math/w_exp2l.c: Likewise.
9542 * math/w_j0.c: Likewise.
9543 * math/w_j0f.c: Likewise.
9544 * math/w_j0l.c: Likewise.
9545 * math/w_j1.c: Likewise.
9546 * math/w_j1f.c: Likewise.
9547 * math/w_j1l.c: Likewise.
9548 * math/w_jn.c: Likewise.
9549 * math/w_jnf.c: Likewise.
9550 * math/w_log.c: Likewise.
9551 * math/w_log10.c: Likewise.
9552 * math/w_log10f.c: Likewise.
9553 * math/w_log10l.c: Likewise.
9554 * math/w_log2.c: Likewise.
9555 * math/w_log2f.c: Likewise.
9556 * math/w_log2l.c: Likewise.
9557 * math/w_logf.c: Likewise.
9558 * math/w_logl.c: Likewise.
9559 * math/w_sqrt.c: Likewise.
9560 * math/w_sqrtf.c: Likewise.
9561 * math/w_sqrtl.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9564 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9565 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9566 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9568 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9571 * manual/string.texi (strnlen): Use correct parameter name in
9572 equivalent expression.
9574 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9577 * manual/users.texi (seteuid): Consistently use neweuid for
9580 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9583 * manual/nss.texi (Services in the NSS configuration): Correct
9584 list of services in example configuration file.
9586 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9589 * manual/arith.texi: Remove statements about negative zero
9590 behaving identically to zero.
9592 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9595 * manual/install.texi: Do not document upgrading from libc5.
9597 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9600 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9602 2012-02-18 David S. Miller <davem@davemloft.net>
9604 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9605 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9606 %o7 across the call.
9607 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9611 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9612 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9613 * sysdeps/sparc/crtn.S: Likewise.
9615 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9617 * aout/Makefile: Remove.
9619 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9622 * manual/examples/argp-ex1.c (main): Format definition in GNU
9624 * manual/examples/argp-ex2.c (main): Likewise.
9625 * manual/examples/argp-ex3.c (main): Likewise.
9626 * manual/examples/argp-ex4.c (main): Likewise.
9627 * manual/examples/longopt.c (main): Use new-style prototype
9629 * manual/examples/strncat.c (main): Specify return type and use
9630 (void) for arguments.
9631 * manual/examples/subopt.c (main): Use char **argv argument.
9633 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9636 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9639 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9642 * manual/string.texi (strchr): Change when strchrnul is
9645 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9648 * manual/locale.texi (setlocale): Document LOCPATH.
9650 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9653 * manual/process.texi (execle): Move @dots{} before last argument.
9655 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9658 * manual/charset.texi (Generic Charset Conversion): Fix typo
9659 (LC_TYPE -> LC_CTYPE).
9661 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9664 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9665 (scalbnf): Likewise.
9666 (scalbnl): Likewise.
9667 (scalbln): Likewise.
9668 (scalblnf): Likewise.
9669 (scalblnl): Likewise.
9670 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9674 * manual/filesys.texi (telldir): Use braces around return type.
9675 * manual/llio.texi (mmap): Add space after comma.
9677 * manual/math.texi (jn): Use @var{} on parameter names.
9683 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9685 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9687 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9688 (sched_get_priority_max): Likewise.
9689 * manual/signal.texi (sigvec): Add space after comma.
9690 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9692 (if_indextoname): Likewise.
9693 (if_freenameindex): Likewise.
9694 (sendto): Use ',' instead of '.' in prototype.
9695 * manual/startup.texi (syscall): Use @dots{} instead of literal
9697 * manual/stdio.texi (__fpending): Separate initial words of
9698 paragraph from @deftypefun line.
9699 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9701 (vsyslog): Use @var{} on parameter names.
9702 * manual/terminal.texi (stty): Use @var{} on parameter names.
9703 * manual/users.texi (getutmp): Use @var{} on parameter names.
9704 (getutmpx): Likewise.
9706 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9709 * manual/stdio.texi (fopen): Fix typos in description of
9712 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9715 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9716 get clock_id definition.
9718 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9721 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9722 (madvise): Cast every argument to void on its own.
9724 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9727 * manual/startup.texi (Exit Status): Fix typo.
9729 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9732 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9733 * manual/examples/argp-ex2.c: Likewise.
9734 * manual/examples/argp-ex3.c: Likewise.
9736 2012-02-16 Richard Henderson <rth@redhat.com>
9738 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9739 * sysdeps/s390/s390-32/initfini.c: Remove.
9740 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9741 * sysdeps/s390/s390-64/initfini.c: Remove.
9743 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9745 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9746 compiler output for sysdeps/generic/initfini.c.
9747 * sysdeps/sh/elf/initfini.c: Remove file.
9749 2012-02-16 David S. Miller <davem@davemloft.net>
9752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9754 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9755 * sysdeps/sparc/crti.S: New file.
9756 * sysdeps/sparc/crtn.S: New file.
9757 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9758 * sysdeps/sparc/sparc64/Makefile: Likewise.
9760 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9763 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9765 2012-02-15 Roland McGrath <roland@hack.frob.com>
9768 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9770 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9771 (write, read, close): Likewise.
9772 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9774 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9776 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9777 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9778 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9779 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9781 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9785 2012-02-14 Marek Polacek <polacek@redhat.com>
9787 * sysdeps/x86_64/crti.S: New file.
9788 * sysdeps/x86_64/crtn.S: New file.
9789 * sysdeps/x86_64/elf/initfini.c: Remove file.
9791 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9793 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9794 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9795 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9796 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9798 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9802 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9804 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9805 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9806 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9807 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9809 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9813 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9815 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9816 __feraiseexcept instead of feraiseexcept.
9818 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9819 nanosleep invocations.
9820 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9821 strings, and add error checking for a nanosleep invocations.
9823 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9825 Replace FSF snail mail address with URLs, as per GNU coding standards.
9826 Most of the snail mail addresses were wrong anyway, and omitting
9827 them makes the source code easier to maintain. Almost all of the
9828 changes are to license notices and to locale LC_IDENTIFICATION
9829 addresses, except for this one:
9830 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9831 not its snail mail address.
9833 2012-02-09 Richard Henderson <rth@twiddle.net>
9835 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9836 of kernel-features.h.
9838 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9840 2012-02-08 Marek Polacek <polacek@redhat.com>
9842 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9843 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9844 * sysdeps/gnu/_G_config.h: Likewise.
9845 * sysdeps/generic/_G_config.h: Likewise.
9847 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9849 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9853 * sysdeps/powerpc/powerpc32/crti.S: New file.
9854 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9855 * sysdeps/powerpc/powerpc64/crti.S: New file.
9856 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9858 * Makeconfig (have-initfini): Don't set.
9859 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9860 * configure.in (nopic_initfini): Don't substitute.
9861 * config.h.in (HAVE_INITFINI): Don't #undef.
9862 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9863 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9865 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9867 Support crti.S and crtn.S provided directly by architectures.
9868 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9869 [crti.S in sysdirs] (omit-deps): Likewise.
9870 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9871 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9872 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9873 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9874 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9875 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9876 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9877 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9878 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9879 compiler output for sysdeps/generic/initfini.c.
9880 * sysdeps/i386/elf/Makefile: Remove file.
9881 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9883 2012-02-07 Marek Polacek <polacek@redhat.com>
9885 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9886 * sysdeps/gnu/_G_config.h: Likewise.
9887 * sysdeps/mach/hurd/_G_config.h: Likewise.
9889 2012-02-07 Marek Polacek <polacek@redhat.com>
9891 * math/Makefile (tests): Add tst-CMPLX2.
9892 * math/tst-CMPLX2.c: New file.
9894 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9898 * math/libm-test.inc (jn_test): Add missing L suffix.
9900 2012-02-06 Marek Polacek <polacek@redhat.com>
9902 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9903 * sysdeps/i386/fpu/e_powf.S: Likewise.
9904 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9905 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9906 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9907 * sysdeps/i386/fpu/e_pow.S: Likewise.
9908 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9909 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9910 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9911 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9912 * sysdeps/i386/fpu/e_log2.S: Likewise.
9913 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9914 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9915 * sysdeps/i386/fpu/e_powl.S: Likewise.
9916 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9917 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9918 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9919 * sysdeps/i386/fpu/e_logl.S: Likewise.
9920 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9921 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9922 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9923 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9924 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9925 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9926 * sysdeps/i386/fpu/e_log.S: Likewise.
9927 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9928 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9929 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9930 * sysdeps/i386/fpu/e_logf.S: Likewise.
9931 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9932 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9933 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9934 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9935 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9936 * sysdeps/i386/fpu/e_log10.S: Likewise.
9937 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9938 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9939 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9940 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9941 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9942 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9943 * sysdeps/i386/asm-syntax.h: Likewise.
9944 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9945 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9946 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9947 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9948 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9949 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9950 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9951 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9952 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9953 * sysdeps/powerpc/sysdep.h: Likewise.
9954 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9955 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9957 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9960 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9962 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9964 * sysdeps/i386/sysdep.h: Include <features.h>.
9965 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9968 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9970 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9972 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9975 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9977 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9978 (SETUP_PIC_REG): Use GET_PC_THUNK.
9979 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9982 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9984 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9985 for non-PIC compilation.
9986 (SETUP_PIC_REG): Add .p2align directive.
9987 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9988 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9989 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9990 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9991 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9992 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9993 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9994 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9995 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9996 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9997 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9998 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9999 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10000 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10001 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10002 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10003 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10004 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10005 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10006 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10007 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10008 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10009 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10010 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10011 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10013 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10014 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10015 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10016 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10017 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10018 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10019 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10020 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10021 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10022 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10023 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10024 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10025 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10026 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10027 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10029 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10031 * math/tst-CMPLX.c: Include <stdio.h>.
10033 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10035 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10037 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10038 * sysdeps/sparc/bits/mathdef.h: Likewise.
10040 2012-01-31 Marek Polacek <polacek@redhat.com>
10042 * libio/libio.h: Don't define _PARAMS.
10043 * locale/programs/config.h: Don't define PARAMS.
10044 * stdlib/strtol_l.c: Likewise.
10045 (__strtol_l): Remove PARAMS from the prototype.
10047 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10049 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10050 names. Just use the correct names. Remove unnecessary wrapper
10052 * malloc/arena.c: Likewise.
10053 * malloc/hooks.c: Likewise.
10055 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10056 ARENA_TEST says not to. Simplify test for creation of a new arena.
10057 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10059 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10061 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10063 (update_get_addr): New function.
10064 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10065 GET_ADDR_MODULE parameter.
10067 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10069 * crypt/cert.c: Remove __STDC__ conditionals.
10070 * crypt/crypt-entry.c: Likewise.
10071 * crypt/crypt_util.c: Likewise.
10072 * libio/filedoalloc.c: Likewise.
10073 * libio/fileops.c: Likewise.
10074 * libio/genops.c: Likewise.
10075 * libio/iofclose.c: Likewise.
10076 * libio/iofdopen.c: Likewise.
10077 * libio/iofopen.c: Likewise.
10078 * libio/iofopen64.c: Likewise.
10079 * libio/iogetdelim.c: Likewise.
10080 * libio/iopopen.c: Likewise.
10081 * libio/obprintf.c: Likewise.
10082 * libio/oldfileops.c: Likewise.
10083 * libio/oldiofclose.c: Likewise.
10084 * libio/oldiofdopen.c: Likewise.
10085 * libio/oldiofopen.c: Likewise.
10086 * libio/oldiopopen.c: Likewise.
10087 * libio/wfiledoalloc.c: Likewise.
10088 * libio/wgenops.c: Likewise.
10089 * locale/programs/xmalloc.c: Likewise.
10090 * misc/syslog.c: Likewise.
10091 * stdio-common/xbug.c: Likewise.
10092 * string/memchr.c: Likewise.
10093 * string/memcmp.c: Likewise.
10094 * string/memrchr.c: Likewise.
10095 * string/rawmemchr.c: Likewise.
10096 * sysdeps/posix/getcwd.c: Likewise.
10097 * time/strftime_l.c: Likewise.
10099 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10101 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10102 * config.make.in (config-cflags-sse2avx): Define.
10103 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10106 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10108 * scripts/config.guess: Update from upstream config git repository.
10109 * scripts/config.sub: Likewise.
10111 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10113 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10115 (R_TILEPRO_*, R_TILEGX_*): New macros.
10117 * scripts/firstversions.awk: Fix bug in version range handling.
10119 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10121 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10123 * include/sys/epoll.h: New file.
10124 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10127 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10129 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10130 Avoid unnecessary __WORDSIZE == 64 test.
10131 (fmaxf): Use VEX format if possible.
10136 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10137 * math/math_private.h: Remove libc_fegetround* and
10139 * sysdeps/i386/configure.in: Check for -msse2avx.
10140 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10141 also if SSE2AVX is defined.
10142 Remove libc_fegetround* and libc_fesetround*.
10143 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10144 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10145 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10147 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10148 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10149 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10150 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10151 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10153 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10155 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10157 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10159 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10161 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10164 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10166 * Makeconfig (libm): Define.
10167 * elf/Makefile: Add rules to build and run tst-relsort1.
10168 * elf/tst-relsort1.c: New file.
10169 * elf/tst-relsort1mod1.c: New file.
10170 * elf/tst-relsort1mod2.c: New file.
10172 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10174 * math/s_ldexp.c: Remove __STDC__ conditionals.
10175 * math/s_ldexpf.c: Likewise.
10176 * math/s_ldexpl.c: Likewise.
10177 * math/s_nextafter.c: Likewise.
10178 * math/s_nexttowardf.c: Likewise.
10179 * math/s_significand.c: Likewise.
10180 * math/s_significandf.c: Likewise.
10181 * math/s_significandl.c: Likewise.
10182 * math/w_jnl.c: Likewise.
10183 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10184 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10185 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10186 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10187 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10198 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10199 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10202 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10203 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10204 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10205 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10206 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10207 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10208 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10210 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10211 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10212 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10213 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10214 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10215 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10216 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10217 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10218 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10219 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10220 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10221 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10222 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10223 * sysdeps/ieee754/k_standard.c: Likewise.
10224 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10228 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10247 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10266 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10274 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10280 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10281 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10282 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10283 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10284 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10285 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10286 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10287 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10288 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10289 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10290 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10298 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10299 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10300 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10301 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10303 * sysdeps/ieee754/s_matherr.c: Likewise.
10304 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10305 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10306 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10309 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10311 * crypt/md5.h: Remove __STDC__ conditionals.
10312 * libio/libioP.h: Likewise.
10313 * locale/programs/config.h: Likewise.
10314 * sysdeps/generic/sysdep.h: Likewise.
10315 * sysdeps/i386/asm-syntax.h: Likewise.
10316 * sysdeps/s390/asm-syntax.h: Likewise.
10317 * sysdeps/unix/sysdep.h: Likewise.
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10321 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10323 * libio/libio.h: Remove __STDC__ conditionals.
10324 * malloc/obstack.h: Likewise.
10325 * math/complex.h: Likewise.
10326 * math/math.h: Likewise.
10327 * sysdeps/generic/_G_config.h: Likewise.
10328 * sysdeps/gnu/_G_config.h: Likewise.
10329 * sysdeps/mach/hurd/_G_config.h: Likewise.
10330 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10331 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10332 * sysdeps/sparc/bits/mathdef.h: Likewise.
10334 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10337 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10338 Clean up HAS_* macros.
10339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10340 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10342 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10344 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10345 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10346 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10347 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10348 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10350 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10352 * elf/tst-unique3.cc (gets): Remove declaration.
10353 * elf/tst-unique3lib.cc (gets): Likewise.
10354 * elf/tst-unique3lib2.cc (gets): Likewise.
10355 * elf/tst-unique4.cc (gets): Likewise.
10357 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10359 * include/stdio.h: Add C++ protection. Add gets declarations and
10361 * debug/tst-chk1.c: Don't declare gets here.
10362 * stdio-common/tst-gets.c: Likewise.
10364 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10366 * posix/glob: Remove directory.
10368 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10370 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10372 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10374 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10375 of the non-standard EPFNOSUPPORT.
10377 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10379 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10380 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10381 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10383 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10385 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10387 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10389 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10391 * nscd/grpcache.c (cache_addgr): Likewise.
10392 * nscd/hstcache.c (cache_addhst): Likewise.
10393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10394 * nscd/pwdcache.c (cache_addpw): Likewise.
10395 * nscd/servicescache.c (cache_addserv): Likewise.
10397 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10399 * malloc/malloc.c: Various cleanups.
10400 * malloc/hooks.c: Likewise.
10402 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10403 * stdlib/bug-fmtmsg1.c: New file.
10405 * stdlib/fmtmsg.c (init): Add missing unlock.
10406 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10408 2012-01-12 Marek Polacek <polacek@redhat.com>
10410 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10413 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10415 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10416 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10417 macro to ensure uniqueness of label name.
10418 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10419 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10421 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10423 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10425 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10426 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10427 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10430 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10432 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10434 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10435 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10436 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10438 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10440 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10441 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10442 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10445 * math/bits/math-finite.h: Add ldexp support.
10447 2012-01-10 Marek Polacek <polacek@redhat.com>
10449 * locale/programs/localedef.h (show_archive_content): Add noreturn
10452 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10454 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10456 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10458 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10460 * io/Makefile (headers): Add bits/poll2.h.
10462 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10465 typo #include statement.
10467 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10469 * include/sys/cdefs.h: Define __attribute_alloc_size.
10470 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10471 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10472 * elf/pldd.c: Likewise.
10473 * iconv/iconv_charmap.c: Likewise.
10474 * iconv/iconvconfig.c: Likewise.
10475 * iconv/strtab.c: Likewise.
10476 * locale/programs/locale.c: Likewise.
10477 * locale/programs/localedef.h: Likewise.
10478 * locale/programs/simple-hash.c: Likewise.
10479 * nscd/nscd.h: Likewise.
10480 * nss/makedb.c: Likewise.
10481 * sysdeps/generic/ldconfig.h: Likewise.
10482 * locale/programs/localedef.c: Remove xmalloc prototype.
10483 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10485 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10487 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10490 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10492 * math/Makefile (tests): Add tst-CMPLX.
10493 * math/tst-CMPLX.c: New file.
10495 * math/complex.h (CMPLXL): Fix typo.
10497 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10498 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10500 * debug/tst-chk1.c: Add poll and ppoll tests.
10501 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10502 * include/sys/poll.h: Add hidden proto for ppoll.
10503 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10504 * sysdeps/mach/hurd/ppoll.c: Likewise.
10505 * io/ppoll.c: Likewise.
10506 * debug/poll_chk.c: New file.
10507 * debug/ppoll_chk.c: New file.
10508 * include/bits/poll2.h: New file.
10509 * io/bits/poll2.h: New file.
10512 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10514 * configure.in: static is always set to yes. Remove.
10515 * config.make.in: Don't set build-static.
10516 * Makeconfig: Remove use of build-static.
10517 * dlfcn/Makefile: Likewise.
10518 * elf/Makefile: Likewise.
10519 * math/Makefile: Likewise.
10520 * misc/Makefile: Likewise.
10521 * nptl/Makefile: Likewise.
10522 * sysdeps/mach/hurd/Makefile: Likewise.
10524 * configure.in: PWD_P is not used anymore.
10525 * config.make.in: Remove PWD_P entry.
10527 * configure.in: Remove last remnants of RANLIB.
10528 No need to check for signed size_t anymore.
10529 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10531 Remove __builtin_expect test because we require at least gcc 3.4.
10532 * aclocal.m4: Likewise.
10534 * wcsmbs/mbrtoc16.c: Implement using towc function.
10535 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10536 * wcsmbs/wcsmbsload.c: Likewise.
10537 * iconv/gconv_simple.c: Likewise.
10538 * iconv/gconv_int.h: Likewise.
10539 * iconv/gconv_builtin.h: Likewise.
10540 * iconv/iconv_prog.c: Remove CHAR16 handling.
10542 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10544 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10546 * configure.in: Remove --with-elf and --enable-bounded options.
10547 Dont set base_machine for ia64. More non-ELF conditions removed.
10548 Remove testing and setting of leading underscore information.
10549 * config.make.in (build-bounded): Set to no.
10550 * config.h.in: Remove NO_UNDERSCORES entry.
10551 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10553 * csu/start.c: Remove !NO_UNDERSCORE code.
10554 * locale/localeinfo.h: Likewise.
10555 * sysdeps/generic/machine-gmon.h: Likewise.
10556 * sysdeps/generic/sysdep.h: Likewise.
10557 * sysdeps/i386/sysdep.h: Likewise.
10558 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10559 * sysdeps/mach/sysdep.h: Likewise.
10560 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10561 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10562 * sysdeps/sh/sysdep.h: Likewise.
10563 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10564 * sysdeps/unix/i386/sysdep.S: Likewise.
10565 * sysdeps/unix/sparc/start.c: Likewise.
10566 * sysdeps/unix/sparc/sysdep.S: Likewise.
10567 * sysdeps/unix/sparc/sysdep.h: Likewise.
10568 * sysdeps/unix/start.c: Likewise.
10569 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10570 * sysdeps/x86_64/sysdep.h: Likewise.
10572 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10575 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10577 * argp/argp-fmtstream.h: Use const instead __const.
10578 * argp/argp.h: Likewise.
10579 * assert/assert.h: Likewise.
10580 * bits/fenv.h: Likewise.
10581 * bits/sched.h: Likewise.
10582 * bits/sigset.h: Likewise.
10583 * bits/sigthread.h: Likewise.
10584 * catgets/nl_types.h: Likewise.
10585 * conform/data/pthread.h-data: Likewise.
10586 * crypt/crypt-private.h: Likewise.
10587 * crypt/crypt.h: Likewise.
10588 * crypt/crypt_util.c: Likewise.
10589 * ctype/ctype.h: Likewise.
10590 * debug/execinfo.h: Likewise.
10591 * debug/mbsnrtowcs_chk.c: Likewise.
10592 * debug/mbsrtowcs_chk.c: Likewise.
10593 * debug/wcsnrtombs_chk.c: Likewise.
10594 * debug/wcsrtombs_chk.c: Likewise.
10595 * debug/wcstombs_chk.c: Likewise.
10596 * dirent/dirent.h: Likewise.
10597 * dlfcn/dlfcn.h: Likewise.
10598 * elf/neededtest4.c: Likewise.
10599 * grp/grp.h: Likewise.
10600 * gshadow/gshadow.h: Likewise.
10601 * iconv/gconv.h: Likewise.
10602 * iconv/gconv_int.h: Likewise.
10603 * iconv/gconv_simple.c: Likewise.
10604 * iconv/iconv.h: Likewise.
10605 * iconv/loop.c: Likewise.
10606 * iconv/skeleton.c: Likewise.
10607 * include/aio.h: Likewise.
10608 * include/aliases.h: Likewise.
10609 * include/argz.h: Likewise.
10610 * include/arpa/inet.h: Likewise.
10611 * include/assert.h: Likewise.
10612 * include/dirent.h: Likewise.
10613 * include/dlfcn.h: Likewise.
10614 * include/execinfo.h: Likewise.
10615 * include/fcntl.h: Likewise.
10616 * include/fenv.h: Likewise.
10617 * include/glob.h: Likewise.
10618 * include/grp.h: Likewise.
10619 * include/libintl.h: Likewise.
10620 * include/mntent.h: Likewise.
10621 * include/netdb.h: Likewise.
10622 * include/pwd.h: Likewise.
10623 * include/rpc/netdb.h: Likewise.
10624 * include/sched.h: Likewise.
10625 * include/search.h: Likewise.
10626 * include/shadow.h: Likewise.
10627 * include/signal.h: Likewise.
10628 * include/stdio.h: Likewise.
10629 * include/stdlib.h: Likewise.
10630 * include/string.h: Likewise.
10631 * include/sys/socket.h: Likewise.
10632 * include/sys/stat.h: Likewise.
10633 * include/sys/statfs.h: Likewise.
10634 * include/sys/statvfs.h: Likewise.
10635 * include/sys/syslog.h: Likewise.
10636 * include/sys/time.h: Likewise.
10637 * include/sys/uio.h: Likewise.
10638 * include/time.h: Likewise.
10639 * include/unistd.h: Likewise.
10640 * include/utmp.h: Likewise.
10641 * include/wchar.h: Likewise.
10642 * include/wctype.h: Likewise.
10643 * inet/aliases.h: Likewise.
10644 * inet/arpa/inet.h: Likewise.
10645 * inet/netinet/ether.h: Likewise.
10646 * inet/netinet/in.h: Likewise.
10647 * intl/libintl.h: Likewise.
10648 * io/bits/fcntl2.h: Likewise.
10649 * io/fcntl.h: Likewise.
10650 * io/ftw.h: Likewise.
10651 * io/sys/poll.h: Likewise.
10652 * io/sys/stat.h: Likewise.
10653 * io/sys/statfs.h: Likewise.
10654 * io/sys/statvfs.h: Likewise.
10655 * io/utime.h: Likewise.
10656 * libio/bits/stdio.h: Likewise.
10657 * libio/bits/stdio2.h: Likewise.
10658 * libio/libio.h: Likewise.
10659 * libio/libioP.h: Likewise.
10660 * libio/stdio.h: Likewise.
10661 * locale/lc-ctype.c: Likewise.
10662 * locale/locale.h: Likewise.
10663 * login/utmp.h: Likewise.
10664 * malloc/arena.c: Likewise.
10665 * malloc/malloc.c: Likewise.
10666 * malloc/malloc.h: Likewise.
10667 * malloc/mcheck.c: Likewise.
10668 * malloc/mtrace.c: Likewise.
10669 * math/bits/mathcalls.h: Likewise.
10670 * math/fenv.h: Likewise.
10671 * math/math_private.h: Likewise.
10672 * misc/bits/error.h: Likewise.
10673 * misc/bits/syslog.h: Likewise.
10674 * misc/err.h: Likewise.
10675 * misc/error.h: Likewise.
10676 * misc/fstab.h: Likewise.
10677 * misc/mntent.h: Likewise.
10678 * misc/regexp.h: Likewise.
10679 * misc/search.h: Likewise.
10680 * misc/sgtty.h: Likewise.
10681 * misc/sys/mman.h: Likewise.
10682 * misc/sys/syslog.h: Likewise.
10683 * misc/sys/uio.h: Likewise.
10684 * misc/sys/xattr.h: Likewise.
10685 * misc/ttyent.h: Likewise.
10686 * nis/rpcsvc/ypclnt.h: Likewise.
10687 * nss/nss.h: Likewise.
10688 * posix/bits/unistd.h: Likewise.
10689 * posix/fnmatch.h: Likewise.
10690 * posix/glob.h: Likewise.
10691 * posix/sched.h: Likewise.
10692 * posix/spawn.h: Likewise.
10693 * posix/sys/wait.h: Likewise.
10694 * posix/unistd.h: Likewise.
10695 * posix/wordexp.h: Likewise.
10696 * pwd/pwd.h: Likewise.
10697 * resolv/netdb.h: Likewise.
10698 * resource/sys/resource.h: Likewise.
10699 * rt/aio.h: Likewise.
10700 * rt/bits/mqueue2.h: Likewise.
10701 * rt/mqueue.h: Likewise.
10702 * shadow/shadow.h: Likewise.
10703 * signal/signal.h: Likewise.
10704 * socket/send.c: Likewise.
10705 * socket/sendto.c: Likewise.
10706 * socket/sys/socket.h: Likewise.
10707 * stdio-common/printf.h: Likewise.
10708 * stdlib/bits/stdlib.h: Likewise.
10709 * stdlib/fmtmsg.h: Likewise.
10710 * stdlib/monetary.h: Likewise.
10711 * stdlib/stdlib.h: Likewise.
10712 * stdlib/ucontext.h: Likewise.
10713 * streams/stropts.h: Likewise.
10714 * string/argz.h: Likewise.
10715 * string/bits/string2.h: Likewise.
10716 * string/string.h: Likewise.
10717 * string/strings.h: Likewise.
10718 * sunrpc/rpc/auth.h: Likewise.
10719 * sunrpc/rpc/auth_des.h: Likewise.
10720 * sunrpc/rpc/clnt.h: Likewise.
10721 * sunrpc/rpc/netdb.h: Likewise.
10722 * sunrpc/rpc/pmap_clnt.h: Likewise.
10723 * sunrpc/rpc/xdr.h: Likewise.
10724 * sysdeps/generic/inttypes.h: Likewise.
10725 * sysdeps/generic/net/if.h: Likewise.
10726 * sysdeps/generic/sys/swap.h: Likewise.
10727 * sysdeps/gnu/net/if.h: Likewise.
10728 * sysdeps/gnu/utmpx.h: Likewise.
10729 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10730 * sysdeps/i386/i486/bits/string.h: Likewise.
10731 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10732 * sysdeps/s390/bits/string.h: Likewise.
10733 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10734 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10735 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10736 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10737 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10738 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10739 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10740 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10741 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10742 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10743 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10744 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10745 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10746 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10747 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10748 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10749 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10751 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10752 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10753 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10754 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10755 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10756 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10757 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10758 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10759 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10760 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10761 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10762 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10763 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10764 * sysvipc/sys/ipc.h: Likewise.
10765 * sysvipc/sys/msg.h: Likewise.
10766 * sysvipc/sys/sem.h: Likewise.
10767 * sysvipc/sys/shm.h: Likewise.
10768 * termios/termios.h: Likewise.
10769 * time/sys/time.h: Likewise.
10770 * time/time.h: Likewise.
10771 * wcsmbs/bits/wchar2.h: Likewise.
10772 * wcsmbs/uchar.h: Likewise.
10773 * wcsmbs/wchar.h: Likewise.
10774 * wctype/wctype.h: Likewise.
10777 * Makeconfig: Remove all but ELF support including AIX support.
10778 * Makerules: Likewise.
10779 * config.h.in: Likewise.
10780 * config.make.in: Likewise.
10781 * configure: Likewise.
10782 * configure.in: Likewise.
10783 * csu/Makefile: Likewise.
10784 * csu/version.c: Likewise.
10785 * debug/Makefile: Likewise.
10786 * dlfcn/Makefile: Likewise.
10787 * elf/Makefile: Likewise.
10788 * extra-lib.mk: Likewise.
10789 * iconv/Makefile: Likewise.
10790 * include/libc-symbols.h: Likewise.
10791 * include/shlib-compat.h: Likewise.
10792 * resolv/Makefile: Likewise.
10793 * resolv/res_libc.c: Likewise.
10794 * rt/Makefile: Likewise.
10795 * sysdeps/i386/asm-syntax.h: Likewise.
10796 * sysdeps/i386/sysdep.h: Likewise.
10797 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10798 * sysdeps/mach/sysdep.h: Likewise.
10799 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10800 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10801 * sysdeps/s390/asm-syntax.h: Likewise.
10802 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10803 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10804 * sysdeps/sh/sysdep.h: Likewise.
10805 * sysdeps/unix/sparc/sysdep.h: Likewise.
10806 * sysdeps/wordsize-32/divdi3.c: Likewise.
10807 * sysdeps/x86_64/sysdep.h: Likewise.
10809 * argp/Versions: Remove _argp_unlock_xxx.
10812 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10813 * abilist/libBrokenLocale.abilist: Likewise.
10814 * abilist/libanl.abilist: Likewise.
10815 * abilist/libc.abilist: Likewise.
10816 * abilist/libcrypt.abilist: Likewise.
10817 * abilist/libdl.abilist: Likewise.
10818 * abilist/libm.abilist: Likewise.
10819 * abilist/libnsl.abilist: Likewise.
10820 * abilist/libpthread.abilist: Likewise.
10821 * abilist/libresolv.abilist: Likewise.
10822 * abilist/librt.abilist: Likewise.
10823 * abilist/libthread_db.abilist: Likewise.
10824 * abilist/libutil.abilist: Likewise.
10825 * abilist/libnss_db.abilist: New file.
10827 * scripts/abilist.awk: Add support for indirect functions.
10829 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10831 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10833 * shlib-versions: Remove entries for ports architectures.
10835 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10837 * elf/stackguard-macros.h: Remove support for IA-64.
10838 * elf/tst-auditmod1.c: Likewise.
10839 * sysdeps/generic/ldsodefs.h: Likewise.
10841 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10842 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10846 * configure.in: Remove --enable-omitfp support.
10848 * config.make.in: Likewise.
10849 * Makeconfig: Likewise.
10850 * manual/install.texi: Likewise.
10852 In case anyone cares, the IA-64 architecture could move to ports.
10853 * sysdeps/ia64/*: Removed.
10854 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10855 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10858 * configure.in: Remove entries for unsupported architectures.
10861 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10862 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10864 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10865 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10866 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10867 fall back to using wcrtomb.
10868 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10869 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10871 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10872 * wcsmbs/tst-c16c32-1.c: New file.
10874 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10877 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10879 * elf/tst-unique3.cc: Add explicit declaration of gets.
10880 * elf/tst-unique3lib.cc: Likewise.
10881 * elf/tst-unique3lib2.cc: Likewise.
10882 * elf/tst-unique4.cc: Likewise.
10884 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10886 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10889 * assert/assert.h (static_assert): Don't define for C++.
10890 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10891 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10893 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10895 * iconv/loop.c (single loop): Fix assertion in storing of
10898 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10900 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10902 * posix/getconf.c: Update copyright year.
10903 * nss/getent.c: Likewise.
10904 * nss/makedb.c: Likewise.
10905 * iconv/iconvconfig.c: Likewise.
10906 * iconv/iconv_prog.c: Likewise.
10907 * elf/ldconfig.c: Likewise.
10908 * elf/pldd.c: Likewise.
10909 * elf/sotruss.ksh: Likewise.
10910 * catgets/gencat.c: Likewise.
10911 * csu/version.c: Likewise.
10912 * elf/ldd.bash.in: Likewise.
10913 * elf/sprof.c (print_version): Likewise.
10914 * locale/programs/locale.c: Likewise.
10915 * locale/programs/localedef.c: Likewise.
10916 * login/programs/pt_chown.c: Likewise.
10917 * nscd/nscd.c (print_version): Likewise.
10918 * debug/xtrace.sh: Likewise.
10919 * malloc/memusage.sh: Likewise.
10920 * malloc/mtrace.pl: Likewise.
10921 * debug/catchsegv.sh: Likewise.
10923 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10925 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10928 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10931 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10932 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10934 * iconv/gconv_int.h: Likewise.
10935 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10936 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10937 from libc for GLIBC_2.16.
10938 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10939 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10940 * wcsmbs/uchar.h: Really define mbstate_t.
10941 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10942 * wcsmbs/c16rtomb.c: New file.
10943 * wcsmbs/mbrtoc16.c: New file.
10944 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10945 for C/POSIX locale.
10946 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10947 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10949 * wcsmbs/wchar.h: Add missing __restrict.
10951 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10954 * time/Makefile (routines): Add timespec_get.
10955 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10956 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10957 timespec for ISO C11.
10958 * time/timespec_get.c: New file.
10959 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10960 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10963 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10964 * stdlib/stdlib.h: Declare aligned_alloc.
10965 * Versions.def: Add GLIBC_2.16 for libc.
10966 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10969 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10972 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10976 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10979 * assert/assert.h (static_assert): Define.
10981 * version.h: Update for 2.16 development version.
10984 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10987 * version.h (RELEASE): Bump for 2.15 release.
10988 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10990 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10991 Patch by Marek Polacek <mpolacek@redhat.com>.
10993 * bits/byteswap.h: Protect long long constants with __extension__.
10994 * sysdeps/i386/bits/byteswap.h: Likewise.
10995 * sysdeps/ia64/bits/byteswap.h: Likewise.
10996 * sysdeps/s390/bits/byteswap.h: Likewise.
10997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10999 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11002 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11003 destination buffer.
11004 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11006 2011-12-23 Marek Polacek <polacek@redhat.com>
11008 * elf/dl-addr.c (determine_info): Add inline keyword.
11009 * elf/tst-auditmod4b.c (check_avx): Likewise.
11010 * elf/tst-auditmod6b.c (check_avx): Likewise.
11011 * elf/tst-auditmod6c.c (check_avx): Likewise.
11012 * elf/tst-auditmod7b.c (check_avx): Likewise.
11014 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11016 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11019 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11022 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11023 processing for last bytes.
11025 2011-08-06 Bruno Haible <bruno@clisp.org>
11028 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11029 U+0385, not to U+1FEE.
11032 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11033 entry for U+00A5 U+0301.
11035 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11038 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11039 buffer for the output is too small.
11041 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11045 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11046 SSE flags if possible.
11048 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11051 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11052 processing for last bytes.
11054 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11056 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11057 (syscall-list-default-options, syscall-list-default-condition)
11058 (syscall-list-includes): Define.
11059 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11060 list of ABIs and options and #if conditions for each ABI. Do not
11061 handle common syscalls between ABIs specially.
11062 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11064 (syscall-list-variants, syscall-list-32bit-options)
11065 (syscall-list-32bit-condition, syscall-list-64bit-options)
11066 (syscall-list-64bit-condition): Define.
11067 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11068 (syscall-list-variants, syscall-list-32bit-options)
11069 (syscall-list-32bit-condition, syscall-list-64bit-options)
11070 (syscall-list-64bit-condition): Define.
11071 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11073 (syscall-list-variants, syscall-list-32bit-options)
11074 (syscall-list-32bit-condition, syscall-list-64bit-options)
11075 (syscall-list-64bit-condition): Define.
11076 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11078 (syscall-list-variants, syscall-list-32bit-options)
11079 (syscall-list-32bit-condition, syscall-list-64bit-options)
11080 (syscall-list-64bit-condition): Define.
11082 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11084 * locale/iso-639.def: Add brx entry.
11087 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11088 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11090 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11091 __feraiseexcept_renamed.
11093 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11096 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11097 EPOLLET with unsigned values.
11098 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11099 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11101 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11102 to large cancellation.
11103 * math/s_cacoshf.c: Likewise.
11104 * math/s_cacoshl.c: Likewise.
11106 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11110 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11111 * math/s_cacoshf.c: Likewise.
11112 * math/s_cacoshl.c: Likewise.
11114 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11117 * iconv/gconv.h: Define __GCONV_SWAP.
11118 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11119 * iconvdata/utf-16.c: Likewise.
11120 * iconvdata/utf-32.c: Likewise.
11122 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11125 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11126 numerator after shifting it by one limb.
11128 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11130 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11131 under [__USE_EXTERN_INLINES].
11133 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11136 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11138 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11140 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11141 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11143 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11144 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11145 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11146 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11147 for strncasecmp/strncasecmp_l compilation.
11148 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11149 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11151 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11154 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11157 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11160 * time/tzfile.c (__tzfile_read): Check values from file header.
11162 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11164 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11165 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11166 * powerpc/powerpc32/dl-start.S: Likewise.
11167 * powerpc/powerpc32/elf/start.S: Likewise.
11168 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11169 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11170 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11171 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11172 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11173 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11174 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11175 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11176 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11177 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11178 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11179 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11180 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11181 * powerpc/powerpc32/memset.S: Likewise.
11182 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11183 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11184 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11185 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11186 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11187 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11188 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11189 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11190 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11191 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11192 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11193 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11194 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11196 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11198 * math/libm-test.inc: Added more nearbyint tests.
11199 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11200 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11201 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11202 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11204 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11206 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11209 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11211 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11212 Add wcscpy-ssse3 wcscpy-c.
11213 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11214 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11215 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11216 * sysdeps/x86_64/wcschr.S: New file.
11217 * sysdeps/x86_64/wcsrchr.S: New file.
11218 * string/test-strcmp.c: Remove checking of wcscmp function for
11220 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11221 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11222 wcsrchr-sse2 wcsrchr-c.
11223 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11224 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11225 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11226 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11227 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11228 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11229 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11230 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11231 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11232 * wcsmbc/wcschr.c (WCSCHR): New macro.
11234 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11236 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11237 * wcsmbs/test-wcsrchr.c: New file.
11238 * string/test-strrchr.c: Add wcsrchr support.
11240 * wcsmbs/test-wcscpy.c: New file.
11241 * string/test-strcpy.c: Add wcscpy support.
11244 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11246 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11249 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11252 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11254 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11256 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11257 Minor optimizations.
11259 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11260 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11261 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11263 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11265 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11266 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11267 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11268 for gcc to avoid warnings.
11269 * inet/Makefile (tests): Add tst-checks.
11270 * inet/tst-checks.c: New file.
11272 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11275 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11278 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11279 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11281 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11283 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11285 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11288 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11290 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11292 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11293 conditional on GCC version.
11294 (__arch_compare_and_exchange_val_8_acq)
11295 (__arch_compare_and_exchange_val_16_acq)
11296 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11297 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11298 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11300 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11302 * sysdeps/sh/backtrace.c: New file.
11304 2011-12-02 Andreas Schwab <schwab@redhat.com>
11306 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11309 2011-12-01 Andreas Schwab <schwab@redhat.com>
11311 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11312 falling back to utime.
11314 2011-11-30 Andreas Schwab <schwab@redhat.com>
11316 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11317 expectations for float.
11319 2011-11-29 Andreas Schwab <schwab@redhat.com>
11321 * locale/weight.h (findidx): Add parameter len.
11322 * locale/weightwc.h (findidx): Likewise.
11323 * posix/fnmatch_loop.c (FCT): Adjust caller.
11324 * posix/regcomp.c (build_equiv_class): Likewise.
11325 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11326 * posix/regexec.c (check_node_accept_bytes): Likewise.
11327 * string/strcoll_l.c (STRCOLL): Likewise.
11328 * string/strxfrm_l.c (STRXFRM): Likewise.
11330 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11332 * Makefile.in: Remove CVSOPT handling.
11333 * configure.in: Remove use of AC_REVISION.
11334 * iconvdata/Makefile (distribute): No need to filter out CVS.
11335 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11338 2011-11-16 Andreas Schwab <schwab@redhat.com>
11340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11341 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11342 [USE_AS_STRNCASECMP_L]: Likewise.
11343 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11344 NO_TLS_DIRECT_SEG_REFS.
11345 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11346 Fix argument offsets for non-PIC.
11347 [USE_AS_STRNCASECMP_L]: Likewise.
11348 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11349 NO_TLS_DIRECT_SEG_REFS.
11351 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11353 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11355 * locale/loadlocale.c (_nl_load_locale): Likewise.
11357 2011-11-15 Andreas Schwab <schwab@redhat.com>
11359 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11360 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11361 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11362 (SYSCALL_GETTIME): Set errno on error.
11364 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11365 count references to noai6ai_cached.
11367 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11369 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11371 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11372 FD_CLOEXEC for /proc/self/maps.
11374 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11375 FD_CLOEXEC for /proc/meminfo.
11377 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11380 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11381 FD_CLOEXEC for given file.
11383 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11385 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11386 FD_CLOEXEC for /etc/hosts.
11387 (_gethtent): Likewise.
11389 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11391 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11392 cancellation and set FD_CLOEXEC for /etc/netgroup.
11394 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11395 reading /etc/publickey.
11397 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11398 allow cancellation when reading /etc/group.
11400 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11402 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11404 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11405 when using data file.
11407 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11409 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11410 (write_nis_obj): Use "c" and "e" in fopen.
11412 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11414 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11416 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11418 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11420 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11423 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11425 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11427 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11429 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11430 file parsing and set FD_CLOEXEC.
11432 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11434 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11436 2011-11-14 Andreas Schwab <schwab@redhat.com>
11438 * malloc/arena.c (arena_get2): Don't call reused_arena when
11439 _int_new_arena failed.
11441 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11443 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11444 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11445 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11446 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11447 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11449 to compile strcasecmp and strncasecmp.
11450 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11451 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11455 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11457 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11458 locale-defines.sym to gen-as-const-headers.
11459 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11460 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11461 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11462 to compile strcasecmp and strncasecmp.
11463 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11464 strcasecmp_l and strncasecmp_l.
11465 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11466 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11467 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11468 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11469 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11470 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11471 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11472 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11473 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11474 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11475 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11477 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11479 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11480 result of SYSDEP_GETTIME_CPU to retval.
11481 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11482 parameter list to macro. Remove trailing semicolon. Adjust users.
11484 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11487 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11489 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11491 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11492 from unused variable.
11494 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11496 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11499 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11502 * sunrpc/rpc_prot.c (rejected): Fix case value.
11504 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11505 unsigned long long int to avoid warnings in shift.
11507 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11509 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11512 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11513 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11514 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11516 * nis/nis_table.c (nis_list): Use variable of correct type for
11517 result of __follow_path call.
11519 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11521 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11522 of math functions ceil, trunc, floor, round, and sqrt, when
11523 avaliable on the platform.
11524 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11526 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11527 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11528 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11530 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11532 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11533 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11535 2011-11-11 Roland McGrath <roland@hack.frob.com>
11537 * include/unistd.h: Fix __readlink return type.
11538 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11540 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11542 * stdlib/ucontext.h: Undo last change for makecontext.
11544 2011-11-11 Andreas Schwab <schwab@redhat.com>
11546 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11548 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11549 * setjmp/setjmp.h: Mark functions as non-leaf.
11550 * setjmp/bits/setjmp2.h: Likewise.
11551 * stdlib/ucontext.h: Likewise.
11553 2011-11-10 Andreas Schwab <schwab@redhat.com>
11555 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11556 (reused_arena): Don't check arena limit.
11557 (arena_get2): Atomically check arena limit.
11559 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11561 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11562 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11567 2011-11-07 Andreas Schwab <schwab@redhat.com>
11569 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11570 handler when locking.
11572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11573 Fix size of allocated buffer.
11575 2011-11-04 Andreas Schwab <schwab@redhat.com>
11578 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11579 declarations for long double functions.
11580 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11582 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11584 2011-11-03 Andreas Schwab <schwab@redhat.com>
11586 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11589 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11592 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11594 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11596 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11598 * include/alloca.h (stackinfo_alloca_round): Define.
11599 (extend_alloca): Use it.
11600 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11601 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11604 * scripts/check-local-headers.sh: Ignore libaudit.h.
11606 * nscd/Makefile (extra-objs): Make recursively expanded.
11608 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11610 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11613 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11614 * posix/tst-rfc3484-2.c: Likewise.
11615 * posix/tst-rfc3484-3.c: Likewise.
11617 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11619 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11621 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11622 process_vm_writev from libc using GLIBC_2.15 version.
11624 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11626 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11628 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11631 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11634 * nss/getent.c (initgroups_keys): Show error message in case no group
11637 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11638 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11639 __bump_nl_timestamp.
11640 * nscd/connections (nscd_init): When host database is served open
11641 netlink socket and request notification about configuration changes.
11642 (main_loop_poll): Track netlink file descriptor and bump timestamp
11643 in case data becomes available.
11644 (main_loop_epoll): Likewise.
11645 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11646 (database_pers_head): Add extra_data fileds.
11647 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11648 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11649 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11652 in6ai data, call __free_in6ai.
11653 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11654 Add -DHAVE_NETLINK.
11655 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11656 interface information. Reuse previous data if netlink timestamp
11658 (__bump_nl_timestamp): New function.
11659 (__free_in6ai): New function.
11661 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11663 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11664 close_not_cancel_no_status here.
11665 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11667 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11670 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11673 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11674 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11675 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11677 2011-07-03 Andreas Jaeger <aj@suse.de>
11680 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11681 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11682 * math/libm-test.inc (sin_test): Add test case.
11684 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11687 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11688 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11690 * elf/chroot_canon.c (chroot_canon): Cleanups.
11692 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11695 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11696 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11698 * string/test-strchr.c: Make usable for strchrnul testing.
11699 * string/test-strchrnul.c: New file.
11700 * string/Makefile (strop-tests): Add strchrnul.
11702 * po/it.po: Update from translation team.
11703 * po/es.po: Likewise.
11705 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11707 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11708 the three constants needed as parameters. Drop the others.
11709 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11710 __m128i_strloadu_tolower.
11711 Create and initialize variable zero and use it in all the places
11712 where _mm_setzero_si128 was used.
11714 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11715 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11716 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11717 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11719 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11720 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11721 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11722 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11723 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11724 __mpranred, __mptan.
11725 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11726 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11727 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11728 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11729 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11730 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11732 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11733 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11735 2011-10-28 Andreas Schwab <schwab@redhat.com>
11737 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11738 redefine if SHARED.
11739 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11742 wide char related routines to wcsmbs subdir.
11744 2011-10-27 Andreas Schwab <schwab@redhat.com>
11747 * misc/sys/cdefs.h (__THROWNL): Define.
11748 * posix/unistd.h: Use __THREADNL instead of __THREAD
11749 for memory synchronization functions.
11751 2011-10-26 Roland McGrath <roland@hack.frob.com>
11754 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11756 * manual/stdio.texi (Obstack Streams): Node removed.
11758 2011-10-26 Andreas Schwab <schwab@redhat.com>
11760 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11761 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11762 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11764 * math/math_private.h (math_force_eval): Allow non-addressable
11766 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11768 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11770 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11771 file is not needed.
11773 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11774 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11776 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11777 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11778 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11779 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11780 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11782 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11783 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11784 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11785 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11786 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11787 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11788 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11789 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11790 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11791 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11792 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11793 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11794 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11795 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11796 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11797 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11798 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11799 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11800 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11802 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11803 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11805 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11806 place. Use VEX encoding when compiling for AVX.
11808 2011-10-25 Andreas Schwab <schwab@redhat.com>
11810 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11811 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11813 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11815 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11817 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11818 useless if() expression.
11819 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11820 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11821 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11822 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11823 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11824 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11825 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11826 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11827 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11828 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11829 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11830 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11831 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11832 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11833 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11834 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11835 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11836 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11837 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11839 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11841 2011-10-25 Andreas Schwab <schwab@redhat.com>
11843 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11845 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11847 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11849 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11850 .text section. Avoid duplicate constants.
11851 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11861 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11863 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11866 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11867 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11868 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11869 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11870 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11871 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11873 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11874 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11875 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11876 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11877 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11878 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11879 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11880 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11881 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11882 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11884 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11885 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11886 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11887 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11889 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11890 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11891 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11892 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11893 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11894 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11895 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11897 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11899 * sysdeps/x86_64/dla.h: Move to ...
11900 * sysdeps/x86_64/fpu/dla.h: ...here.
11901 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11902 situations. Use __builtin_fma only for gcc 4.6 and up.
11904 * config.make.in: Add have-mfma4 entry.
11905 * configure.in: Substitute libc_cv_cc_fma4.
11906 * math/Makefile (dbl-only-routines): Add sincostab.
11907 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11908 Use __sincostab not sincos.
11909 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11911 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11916 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11917 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11918 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11919 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11921 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11922 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11924 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11925 define aliases when function name is a macro.
11926 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11927 sysdeps/ieee754/dbl-64/sincos.tbl.
11928 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11929 fma4-enabled routines.
11930 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11931 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11932 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11933 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11934 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11935 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11936 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11937 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11938 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11939 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11940 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11941 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11942 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11943 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11944 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11945 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11946 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11947 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11948 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11949 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11950 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11951 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11952 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11953 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11954 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11955 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11957 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11958 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11959 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11961 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11969 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11970 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11972 2011-10-24 Andreas Schwab <schwab@redhat.com>
11974 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11976 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11978 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11980 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11982 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11984 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11985 Remove unused variable magic_bits.
11986 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11988 * string/strnlen.c: Define and use STRNLEN macro.
11989 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11990 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11991 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11992 * wcsmbs/wcslen.c: Define and use WCSLEN.
11993 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11994 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11995 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11996 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11997 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11998 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11999 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12001 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12004 strnlen-sse2-no-bsf.
12005 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12006 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12007 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12008 Add strnlen support.
12009 (USE_AS_STRNLEN): New macro.
12010 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12011 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12012 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12013 * sysdeps/x86_64/wcslen.S: New file.
12015 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12018 XMM-moves are used for copying on small sizes.
12020 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12022 * wcsmbs/Makefile (strop-tests): Add wcschr.
12023 * wcsmbs/test-wcschr.c: New file.
12024 * string/test-strchr.c: Update.
12025 Add wcschr support.
12028 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12030 * wcsmbs/Makefile (strop-tests): Add wcslen.
12031 * wcsmbs/test-wcslen.c: New file.
12032 * string/test-strlen.c: Update.
12033 Add wcslen support.
12036 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12038 * po/it.po: Update from translation team.
12040 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12042 * sysdeps/x86_64/wcscmp.S: Update.
12043 Fix wrong comparison semantics.
12044 wcscmp shall use signed comparison not unsigned.
12045 Don't use substraction to avoid overflow bug.
12046 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12047 * wcsmbc/wcscmp.c: Likewise.
12048 * string/test-strcmp.c: Likewise.
12049 Add new tests to check cases with negative values.
12051 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12053 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12054 * sysdeps/x86_64/dla.h: ...here. New file.
12055 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/e_sqrt.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-23 Andreas Schwab <schwab@linux-m68k.org>
12067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12068 __ynl_finite aliases.
12070 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12074 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12076 [DLA_FMA] (EMULV): Use DLA_FMA.
12077 [DLA_FMA] (MUL12): Use EMULV.
12078 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12079 that are not needed.
12080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12086 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12088 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12090 * math/s_nan.c: Undef __nan.
12091 * math/s_nanf.c: Undef __nanf.
12092 * math/s_nanl.c: Undef __nanl.
12093 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12096 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12098 * math/s_catan.c: Add branch predictions.
12099 * math/s_catanf.c: Likewise.
12100 * math/s_catanh.c: Likewise.
12101 * math/s_catanhf.c: Likewise.
12102 * math/s_catanhl.c: Likewise.
12103 * math/s_catanl.c: Likewise.
12104 * math/s_cexp.c: Likewise.
12105 * math/s_cexpf.c: Likewise.
12106 * math/s_cexpl.c: Likewise.
12107 * math/s_clog.c: Likewise.
12108 * math/s_clog10.c: Likewise.
12109 * math/s_clog10f.c: Likewise.
12110 * math/s_clog10l.c: Likewise.
12111 * math/s_clogf.c: Likewise.
12112 * math/s_clogl.c: Likewise.
12113 * math/s_csqrt.c: Likewise.
12114 * math/s_csqrtf.c: Likewise.
12115 * math/s_csqrtl.c: Likewise.
12116 * math/s_ctanf.c: Likewise.
12117 * math/s_ctanh.c: Likewise.
12118 * math/s_ctanhf.c: Likewise.
12119 * math/s_ctanhl.c: Likewise.
12120 * math/s_ctanl.c: Likewise.
12122 * math/math_private.h: Define __nan, __nanf, __nanl.
12123 * math/s_cacosh.c: Include <math_private.h>.
12124 * math/s_cacoshl.c: Likewise.
12125 * math/s_casinh.c: Likewise.
12126 * math/s_casinhf.c: Likewise.
12127 * math/s_casinhl.c: Likewise.
12128 * math/s_ccos.c: Rely entire on ccosh.
12129 * math/s_ccosf.c: Rely entire on ccoshf.
12130 * math/s_ccosl.c: Rely entirely on ccoshl.
12131 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12132 Remove tests for FE_INVALID.
12133 * math/s_ccoshf.c: Likewise.
12134 * math/s_ccoshl.c: Likewise.
12135 * math/s_csin.c: Likewise.
12136 * math/s_csinf.c: Likewise.
12137 * math/s_csinh.c Likewise.
12138 * math/s_csinhf.c: Likewise.
12139 * math/s_csinhl.c: Likewise.
12140 * math/s_csinl.c: Likewise.
12141 * math/s_ctan.c: Likewise.
12142 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12143 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12146 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12149 compilation problems.
12151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12154 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12156 * sysdeps/i386/configure.in: Test for -mfma4 option.
12157 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12158 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12159 COMMON_CPUID_INDEX_80000001.
12160 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12161 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12162 use it if FMA3 is not supported.
12163 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12165 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12166 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12168 2011-10-20 Andreas Schwab <schwab@redhat.com>
12171 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12172 it would create a cycle with a link time dependency.
12174 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12176 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12178 * string/Makefile (strop-tests): Add rawmemchr.
12179 * string/test-rawmemchr.c: New file.
12181 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12183 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12184 when compiling str{,n}casecmp and when AVX is available. Hook up
12185 new optimized code in initializers.
12187 2011-10-19 Andreas Schwab <schwab@redhat.com>
12189 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12190 __feraiseexcept instead of feraiseexcept.
12192 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12194 * math/math_private.h: Define defaults for libc_fetestexcept and
12196 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12197 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12198 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12199 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12200 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12201 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12202 libc_fetestexcept and libc_feupdateenv.
12204 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12205 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12206 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12207 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12208 libc_feholdexcept_setround.
12210 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12211 Add s_nearbyint-c and s_nearbyintf-c.
12212 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12213 nearbyintf inlines.
12214 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12215 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12216 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12217 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12219 * math/math_private.h: Define defaults for libc_fegetround,
12220 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12221 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12222 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12223 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12224 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12225 standard functions.
12226 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12227 Remove comments and hacks for old compiler versions.
12228 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12229 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12230 libc_feholdexceptl.
12232 2011-10-18 Andreas Schwab <schwab@redhat.com>
12234 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12235 (__feraiseexcept_renamed): Add __NTH.
12236 (feraiseexcept): Add __NTH. Rename local variables to fix
12237 namespace violations.
12239 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12241 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12243 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12245 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12246 recently added interfaces.
12247 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12249 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12250 about macro parameter expansion.
12252 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12253 __NO_MATH_INLINES is defined. Cleanups.
12255 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12256 and __floorf is target has SSE4.1.
12257 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12258 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12259 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12260 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12262 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12264 (floorf): Likewise.
12266 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12268 2011-10-17 Andreas Schwab <schwab@redhat.com>
12270 * misc/sys/cdefs.h: Fix last change.
12272 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12275 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12277 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12279 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12285 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12286 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12287 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12288 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12289 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12290 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12291 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12292 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12293 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12294 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12295 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12296 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12297 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12298 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12299 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12300 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12302 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12303 ceil, ceilf, floor, floorf.
12305 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12306 Perform IRELATIVE relocations last.
12308 * elf/do-rel.h: Add another parameter nrelative, replacing the
12309 local variable with the same name. Change name of the function
12310 to end in Rel or Rela (uppercase).
12311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12312 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12313 elf_dynamic_do_##reloc function.
12315 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12317 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12318 is sufficient, at least on modern CPUs.
12320 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12322 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12323 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12325 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12327 * math/bits/math-finite.h: Add entries for exp.
12328 * math/e_expl.c: Add __*_finite alias.
12329 * sysdeps/i386/fpu/e_exp.S: Likewise.
12330 * sysdeps/i386/fpu/e_expf.S: Likewise.
12331 * sysdeps/i386/fpu/e_expl.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12333 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12334 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12336 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12337 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12338 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12340 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12341 is sufficient, at least on modern CPUs.
12343 * ctype/ctype-info.c (__ctype_init): Define.
12344 * include/ctype.h (__ctype_init): Declare.
12345 (__ctype_b_loc): The variable is always initialized.
12346 (__ctype_toupper_loc): Likewise.
12347 (__ctype_tolower_loc): Likewise.
12348 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12349 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12351 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12353 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12355 * configure.in: Also look in $cxxmachine/include for C++ system
12358 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12360 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12361 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12362 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12363 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12364 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12365 (USE_AS_WMEMCMP): New macro.
12367 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12368 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12369 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12370 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12372 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12373 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12374 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12375 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12376 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12377 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12378 (USE_AS_WMEMCMP): New macro.
12379 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12380 * sysdeps/string/test-memcmp.c: Update.
12381 Fix simple_wmemcmp.
12383 * wcsmbs/wmemcmp.c: Update.
12384 (WMEMCMP): New macro.
12387 2011-10-12 Andreas Jaeger <aj@suse.de>
12390 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12392 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12394 * libio/iofwide.c (do_length): Avoid warning.
12396 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12398 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12400 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12402 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12403 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12404 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12405 * sysdeps/i386/i686/fpu/e_log.S: New file.
12406 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12407 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12409 * ctype/ctype.h: Add support for inlined isXXX functions when
12410 compiling C++ code.
12412 2011-10-14 Andreas Schwab <schwab@redhat.com>
12414 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12416 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12418 2011-10-13 Roland McGrath <roland@hack.frob.com>
12421 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12423 2011-10-13 Andreas Schwab <schwab@redhat.com>
12425 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12426 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12429 * sysdeps/x86_64/memrchr.S: Check for zero size.
12431 * string/stratcliff.c: Add memrchr tests.
12433 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12435 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12436 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12437 rawmemchr-sse2 rawmemchr-sse2-bsf.
12438 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12439 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12440 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12441 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12442 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12443 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12444 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12445 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12446 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12447 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12448 * string/memrchr.c (MEMRCHR): New macro.
12450 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12452 Add integration with gcc's -ffinite-math-only and optimize wrapper
12454 * Versions.def: Define GLIBC_2.15 version for libm.
12455 * math/Makefile (headers): Add bits/math-finite.h.
12456 * math/bits/math-finite.h: New file.
12457 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12458 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12459 * math/e_acoshl.c: Add __*_finite alias.
12460 * math/e_acosl.c: Likewise.
12461 * math/e_asinl.c: Likewise.
12462 * math/e_atan2l.c: Likewise.
12463 * math/e_atanhl.c: Likewise.
12464 * math/e_coshl.c: Likewise.
12465 * math/e_exp10.c: Likewise.
12466 * math/e_exp10f.c: Likewise.
12467 * math/e_exp10l.c: Likewise.
12468 * math/e_exp2l.c: Likewise.
12469 * math/e_fmodl.c: Likewise.
12470 * math/e_gammal_r.c: Likewise.
12471 * math/e_hypotl.c: Likewise.
12472 * math/e_j0l.c: Likewise.
12473 * math/e_j1l.c: Likewise.
12474 * math/e_jnl.c: Likewise.
12475 * math/e_lgammal_r.c: Likewise.
12476 * math/e_log10l.c: Likewise.
12477 * math/e_log2l.c: Likewise.
12478 * math/e_logl.c: Likewise.
12479 * math/e_powl.c: Likewise.
12480 * math/e_sinhl.c: Likewise.
12481 * math/e_sqrtl.c: Likewise.
12482 * math/e_scalb.c: Completely rewritten and optimized.
12483 * math/e_scalbf.c: Likewise.
12484 * math/e_scalbl.c: Likewise.
12485 * math/w_acos.c: Likewise.
12486 * math/w_acosf.c: Likewise.
12487 * math/w_acosl.c: Likewise.
12488 * math/w_acosh.c: Likewise.
12489 * math/w_acoshf.c: Likewise.
12490 * math/w_acoshl.c: Likewise.
12491 * math/w_asin.c: Likewise.
12492 * math/w_asinf.c: Likewise.
12493 * math/w_asinl.c: Likewise.
12494 * math/w_atan2.c: Likewise.
12495 * math/w_atan2f.c: Likewise.
12496 * math/w_atan2l.c: Likewise.
12497 * math/w_atanh.c: Likewise.
12498 * math/w_atanhf.c: Likewise.
12499 * math/w_atanhl.c: Likewise.
12500 * math/w_exp10.c: Likewise.
12501 * math/w_exp10f.c: Likewise.
12502 * math/w_exp10l.c: Likewise.
12503 * math/w_fmod.c: Likewise.
12504 * math/w_fmodf.c: Likewise.
12505 * math/w_fmodl.c: Likewise.
12506 * math/w_j0.c: Likewise.
12507 * math/w_j0f.c: Likewise.
12508 * math/w_j0l.c: Likewise.
12509 * math/w_j1.c: Likewise.
12510 * math/w_j1f.c: Likewise.
12511 * math/w_j1l.c: Likewise.
12512 * math/w_jn.c: Likewise.
12513 * math/w_jnf.c: Likewise.
12514 * math/w_log.c: Likewise.
12515 * math/w_logf.c: Likewise.
12516 * math/w_logl.c: Likewise.
12517 * math/w_log10.c: Likewise.
12518 * math/w_log10f.c: Likewise.
12519 * math/w_log10l.c: Likewise.
12520 * math/w_log2.c: Likewise.
12521 * math/w_log2f.c: Likewise.
12522 * math/w_log2l.c: Likewise.
12523 * math/w_pow.c: Likewise.
12524 * math/w_powf.c: Likewise.
12525 * math/w_powl.c: Likewise.
12526 * math/w_remainder.c: Likewise.
12527 * math/w_remainderf.c: Likewise.
12528 * math/w_remainderl.c: Likewise.
12529 * math/w_scalb.c: Likewise.
12530 * math/w_scalbf.c: Likewise.
12531 * math/w_scalbl.c: Likewise.
12532 * math/w_sqrt.c: Likewise.
12533 * math/w_sqrtf.c: Likewise.
12534 * math/w_sqrtl.c: Likewise.
12535 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12536 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12538 * math/math_private.h: Declare __kernel_standard_f.
12539 * math/w_cosh.c: Remove cruft and optimize a bit.
12540 * math/w_coshf.c: Likewise.
12541 * math/w_coshl.c: Likewise.
12542 * math/w_exp2.c: Likewise.
12543 * math/w_exp2f.c: Likewise.
12544 * math/w_exp2l.c: Likewise.
12545 * math/w_hypot.c: Likewise.
12546 * math/w_hypotf.c: Likewise.
12547 * math/w_hypotl.c: Likewise.
12548 * math/w_lgamma.c: Likewise.
12549 * math/w_lgamma_r.c: Likewise.
12550 * math/w_lgammaf.c: Likewise.
12551 * math/w_lgammaf_r.c: Likewise.
12552 * math/w_lgammal.c: Likewise.
12553 * math/w_lgammal_r.c: Likewise.
12554 * math/w_sinh.c: Likewise.
12555 * math/w_sinhf.c: Likewise.
12556 * math/w_sinhl.c: Likewise.
12557 * math/w_tgamma.c: Likewise.
12558 * math/w_tgammaf.c: Likewise.
12559 * math/w_tgammal.c: Likewise.
12560 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12561 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12562 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12563 Minor optimizations. Pretty printing. Remove cruft.
12564 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12565 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12566 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12567 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12568 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12569 * sysdeps/i386/fpu/e_asin.S: Likewise.
12570 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12571 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12572 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12573 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12574 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12575 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12576 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12577 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12578 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12579 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12580 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12581 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12582 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12583 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12584 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12585 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12586 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12587 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12588 * sysdeps/i386/fpu/e_log.S: Likewise.
12589 * sysdeps/i386/fpu/e_log10.S: Likewise.
12590 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12591 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12592 * sysdeps/i386/fpu/e_log2.S: Likewise.
12593 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12594 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12595 * sysdeps/i386/fpu/e_logf.S: Likewise.
12596 * sysdeps/i386/fpu/e_logl.S: Likewise.
12597 * sysdeps/i386/fpu/e_pow.S: Likewise.
12598 * sysdeps/i386/fpu/e_powf.S: Likewise.
12599 * sysdeps/i386/fpu/e_powl.S: Likewise.
12600 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12601 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12602 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12603 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12604 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12605 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12606 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12607 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12608 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12609 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12610 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12612 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12613 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12614 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12615 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12616 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12617 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12618 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12619 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12620 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12623 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12626 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12627 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12629 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12630 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12631 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12632 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12633 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12634 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12635 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12636 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12637 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12638 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12640 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12641 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12642 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12643 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12644 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12645 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12646 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12647 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12648 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12649 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12650 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12654 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12655 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12664 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12665 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12666 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12670 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12689 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12692 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12694 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12695 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12697 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12700 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12701 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12702 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12703 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12704 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12705 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12706 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12707 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12708 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12709 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12710 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12711 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12712 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12713 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12714 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12715 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12717 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12718 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12719 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12720 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12721 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12722 (__isnanf): Likewise.
12723 (__isinf_ns): Likewise.
12724 (__isinf_nsf): Likewise.
12725 (__finite): Likewise.
12726 (__finitef): Likewise.
12727 (__ieee754_sqrt): Define as macro.
12728 (__ieee754_sqrtf): Define as macro.
12729 (__ieee754_sqrtl): Define as macro.
12730 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12732 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12733 __FINITE_MATH_ONLY__ consistent.
12734 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12736 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12738 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12741 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12743 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12745 * po/ja.po: Update from translation team.
12747 2011-10-08 Roland McGrath <roland@hack.frob.com>
12749 * locale/programs/locarchive.c (prepare_address_space): New function.
12750 (create_archive, enlarge_archive, open_archive): Use it.
12752 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12753 inside [SHARED], where it is used.
12755 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12757 * nss/getent.c (netgroup_keys): Remove unused variable.
12758 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12760 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12762 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12763 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12765 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12766 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12767 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12768 * math/Makefile (libm-calls): Add s_isinf_ns.
12769 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12770 * math/multc3.c: Likewise.
12771 * math/s_casin.c: Likewise.
12772 * math/s_casinf.c: Likewise.
12773 * math/s_casinl.c: Likewise.
12774 * math/s_ccos.c: Likewise.
12775 * math/s_ccosf.c: Likewise.
12776 * math/s_ccosl.c: Likewise.
12777 * math/s_ctan.c: Likewise.
12778 * math/s_ctanf.c: Likewise.
12779 * math/s_ctanh.c: Likewise.
12780 * math/s_ctanhf.c: Likewise.
12781 * math/s_ctanhl.c: Likewise.
12782 * math/s_ctanl.c: Likewise.
12783 * math/w_fmod.c: Likewise.
12784 * math/w_fmodf.c: Likewise.
12785 * math/w_fmodl.c: Likewise.
12786 * math/w_remainder.c: Likewise.
12787 * math/w_remainderf.c: Likewise.
12788 * math/w_remainderl.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12790 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12791 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12792 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12793 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12794 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12795 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12796 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12798 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12800 * stdio-common/printf_fphex.c: Likewise.
12801 * stdio-common/printf_size.c: Likewise.
12803 * math/e_exp10.c: Include math_private.h using <...> not "...".
12804 * math/e_exp10f.c: Likewise.
12805 * math/e_exp10l.c: Likewise.
12806 * math/e_exp2l.c: Likewise.
12807 * math/e_j0l.c: Likewise.
12808 * math/e_j1l.c: Likewise.
12809 * math/e_jnl.c: Likewise.
12810 * math/e_lgammal_r.c: Likewise.
12811 * math/e_rem_pio2l.c: Likewise.
12812 * math/e_scalb.c: Likewise.
12813 * math/e_scalbf.c: Likewise.
12814 * math/e_scalbl.c: Likewise.
12815 * math/k_cosl.c: Likewise.
12816 * math/k_sinl.c: Likewise.
12817 * math/k_tanl.c: Likewise.
12818 * math/s_cacoshf.c: Likewise.
12819 * math/s_catan.c: Likewise.
12820 * math/s_catanf.c: Likewise.
12821 * math/s_catanh.c: Likewise.
12822 * math/s_catanhf.c: Likewise.
12823 * math/s_catanhl.c: Likewise.
12824 * math/s_catanl.c: Likewise.
12825 * math/s_ccosh.c: Likewise.
12826 * math/s_ccoshf.c: Likewise.
12827 * math/s_ccoshl.c: Likewise.
12828 * math/s_cexp.c: Likewise.
12829 * math/s_cexpf.c: Likewise.
12830 * math/s_cexpl.c: Likewise.
12831 * math/s_clog.c: Likewise.
12832 * math/s_clog10.c: Likewise.
12833 * math/s_clog10f.c: Likewise.
12834 * math/s_clog10l.c: Likewise.
12835 * math/s_clogf.c: Likewise.
12836 * math/s_clogl.c: Likewise.
12837 * math/s_csin.c: Likewise.
12838 * math/s_csinf.c: Likewise.
12839 * math/s_csinh.c: Likewise.
12840 * math/s_csinhf.c: Likewise.
12841 * math/s_csinhl.c: Likewise.
12842 * math/s_csinl.c: Likewise.
12843 * math/s_csqrt.c: Likewise.
12844 * math/s_csqrtf.c: Likewise.
12845 * math/s_csqrtl.c: Likewise.
12846 * math/s_ctan.c: Likewise.
12847 * math/s_ctanf.c: Likewise.
12848 * math/s_ctanh.c: Likewise.
12849 * math/s_ctanhf.c: Likewise.
12850 * math/s_ctanhl.c: Likewise.
12851 * math/s_ctanl.c: Likewise.
12852 * math/s_ldexp.c: Likewise.
12853 * math/s_ldexpf.c: Likewise.
12854 * math/s_ldexpl.c: Likewise.
12855 * math/s_significand.c: Likewise.
12856 * math/s_significandf.c: Likewise.
12857 * math/s_significandl.c: Likewise.
12858 * math/w_acos.c: Likewise.
12859 * math/w_acosf.c: Likewise.
12860 * math/w_acosh.c: Likewise.
12861 * math/w_acoshf.c: Likewise.
12862 * math/w_acoshl.c: Likewise.
12863 * math/w_acosl.c: Likewise.
12864 * math/w_asin.c: Likewise.
12865 * math/w_asinf.c: Likewise.
12866 * math/w_asinl.c: Likewise.
12867 * math/w_atan2.c: Likewise.
12868 * math/w_atan2f.c: Likewise.
12869 * math/w_atan2l.c: Likewise.
12870 * math/w_atanh.c: Likewise.
12871 * math/w_atanhf.c: Likewise.
12872 * math/w_atanhl.c: Likewise.
12873 * math/w_cosh.c: Likewise.
12874 * math/w_coshf.c: Likewise.
12875 * math/w_coshl.c: Likewise.
12876 * math/w_dremf.c: Likewise.
12877 * math/w_exp10.c: Likewise.
12878 * math/w_exp10f.c: Likewise.
12879 * math/w_exp10l.c: Likewise.
12880 * math/w_exp2.c: Likewise.
12881 * math/w_exp2f.c: Likewise.
12882 * math/w_fmod.c: Likewise.
12883 * math/w_fmodf.c: Likewise.
12884 * math/w_fmodl.c: Likewise.
12885 * math/w_hypot.c: Likewise.
12886 * math/w_hypotf.c: Likewise.
12887 * math/w_hypotl.c: Likewise.
12888 * math/w_j0.c: Likewise.
12889 * math/w_j0f.c: Likewise.
12890 * math/w_j0l.c: Likewise.
12891 * math/w_j1.c: Likewise.
12892 * math/w_j1f.c: Likewise.
12893 * math/w_j1l.c: Likewise.
12894 * math/w_jn.c: Likewise.
12895 * math/w_jnf.c: Likewise.
12896 * math/w_jnl.c: Likewise.
12897 * math/w_lgamma.c: Likewise.
12898 * math/w_lgamma_r.c: Likewise.
12899 * math/w_lgammaf.c: Likewise.
12900 * math/w_lgammaf_r.c: Likewise.
12901 * math/w_lgammal.c: Likewise.
12902 * math/w_lgammal_r.c: Likewise.
12903 * math/w_log.c: Likewise.
12904 * math/w_log10.c: Likewise.
12905 * math/w_log10f.c: Likewise.
12906 * math/w_log10l.c: Likewise.
12907 * math/w_log2.c: Likewise.
12908 * math/w_log2f.c: Likewise.
12909 * math/w_log2l.c: Likewise.
12910 * math/w_logf.c: Likewise.
12911 * math/w_logl.c: Likewise.
12912 * math/w_pow.c: Likewise.
12913 * math/w_powf.c: Likewise.
12914 * math/w_powl.c: Likewise.
12915 * math/w_remainder.c: Likewise.
12916 * math/w_remainderf.c: Likewise.
12917 * math/w_remainderl.c: Likewise.
12918 * math/w_scalb.c: Likewise.
12919 * math/w_scalbf.c: Likewise.
12920 * math/w_scalbl.c: Likewise.
12921 * math/w_sinh.c: Likewise.
12922 * math/w_sinhf.c: Likewise.
12923 * math/w_sinhl.c: Likewise.
12924 * math/w_sqrt.c: Likewise.
12925 * math/w_sqrtf.c: Likewise.
12926 * math/w_sqrtl.c: Likewise.
12927 * math/w_tgamma.c: Likewise.
12928 * math/w_tgammaf.c: Likewise.
12929 * math/w_tgammal.c: Likewise.
12931 * po/ja.po: Update from translation team.
12933 2011-09-29 Andreas Jaeger <aj@suse.de>
12936 * sunrpc/netname.c (netname2host): Fix logic.
12940 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12942 * math/w_remainder.c (__remainder): Likewise.
12943 * math/w_remainderf.c (__remainderf): Likewise.
12944 * math/libm-test.inc (remainder_test): Add test cases.
12946 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12948 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12951 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12953 * string/test-memcmp.c: Avoid unncessary #defines.
12954 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12956 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12958 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12959 Use new sse2 version for core i3 - i7 as it's faster
12960 than sse42 version.
12961 (bit_Prefer_PMINUB_for_stringop): New.
12962 * sysdeps/x86_64/rawmemchr.S: Update.
12963 Replace with faster SSE2 version.
12964 * sysdeps/x86_64/memrchr.S: New file.
12965 * sysdeps/x86_64/memchr.S: Update.
12966 Replace with faster SSE2 version.
12968 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12970 * elf/dl-load.c (lose): Add cast to avoid warning.
12972 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12974 * po/ca.po: Update from translation team.
12976 * inet/getnetgrent_r.c: Hook up nscd.
12977 * nscd/Makefile (routines): Add nscd_netgroup.
12978 (nscd-modules): Add netgroupcache.
12979 (CFLAGS-netgroupcache.c): Define.
12980 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12981 (cache_search): Add const to second parameter.
12982 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12984 (dbs): Add netgrdb entry.
12985 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12986 (verify_persistent_db): Handle netgrdb.
12987 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12988 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12990 (netgroup_response_header): Define.
12991 (innetgroup_response_header): Define.
12992 (datahead): Add netgroup_response_header and innetgroup_response_header
12994 * nscd/nscd.conf: Add entries for netgroup cache.
12995 * nscd/nscd.h (dbtype): Add netgrdb.
12996 (_PATH_NSCD_NETGROUP_DB): Define.
12997 (netgroup_iov_disabled): Declare.
12998 (xmalloc, xcalloc, xrealloc): Move declarations here.
12999 (cache_search): Adjust prototype.
13000 Add netgroup-related prototypes.
13001 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13002 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13003 (__nscd_innetgr): Declare.
13004 * nscd/selinux.c (perms): Use access_vector_t as element type and
13005 add netgroup-related initializers.
13006 * nscd/netgroupcache.c: New file.
13007 * nscd/nscd_netgroup.c: New file.
13008 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13009 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13010 For four parameters use innetgr.
13011 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13012 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13013 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13014 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13016 * nscd/connections.c (register_traced_file): Don't register file
13017 for disabled databases.
13019 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13021 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13023 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13024 from tree and freeing node.
13026 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13028 * nss/nsswitch.c (__nss_database_lookup): Handle
13029 nss_parse_service_list out of memory case.
13031 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13033 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13034 out of memory case.
13036 2011-10-04 Andreas Schwab <schwab@redhat.com>
13038 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13039 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13041 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13042 elf_machine_rela, elf_machine_lazy_rel.
13043 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13044 (ELF_DYNAMIC_DO_REL): Likewise.
13045 (ELF_DYNAMIC_DO_RELA): Likewise.
13046 (ELF_DYNAMIC_RELOCATE): Likewise.
13047 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13048 to ELF_DYNAMIC_DO_REL.
13049 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13050 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13051 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13053 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13054 skip_ifunc, don't call ifunc function if non-zero.
13055 (elf_machine_rela): Likewise.
13056 (elf_machine_lazy_rel): Likewise.
13057 (elf_machine_lazy_rela): Likewise.
13058 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13059 (elf_machine_lazy_rel): Likewise.
13060 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13062 (elf_machine_lazy_rel): Likewise.
13063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13065 (elf_machine_lazy_rel): Likewise.
13066 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13067 (elf_machine_lazy_rel): Likewise.
13068 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13069 (elf_machine_lazy_rel): Likewise.
13070 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13071 (elf_machine_lazy_rel): Likewise.
13072 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13073 (elf_machine_lazy_rel): Likewise.
13074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13075 (elf_machine_lazy_rel): Likewise.
13076 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13077 (elf_machine_lazy_rel): Likewise.
13079 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13081 * nss/nss_files/files-init.c (_nss_files_init): Use static
13082 initialization for all the *_traced_file variables.
13084 2011-09-28 Andreas Schwab <schwab@redhat.com>
13086 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13088 2011-09-27 Roland McGrath <roland@hack.frob.com>
13091 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13093 2011-09-27 Andreas Schwab <schwab@redhat.com>
13095 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13096 Reread the line before reparsing it.
13098 2011-09-26 Andreas Schwab <schwab@redhat.com>
13100 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13102 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13103 Maxim Kuvyrkov <maxim@codesourcery.com>
13104 Joseph Myers <joseph@codesourcery.com>
13106 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13107 if needed for __stack_chk_guard.
13109 2011-09-19 Roland McGrath <roland@hack.frob.com>
13111 * sysdeps/posix/spawni.c (script_execute): Always define it.
13112 It will be optimized away if unused.
13113 (maybe_script_execute): New function.
13114 (__spawni): Call it.
13116 * Makerules: Don't include tls.make.
13117 (config-tls): Always set to thread.
13118 * tls.make.c: File removed.
13120 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13122 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13123 * config.make.in (CPPFLAGS-config): New substituted variable.
13125 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13127 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13130 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13131 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13133 2011-09-15 Roland McGrath <roland@hack.frob.com>
13135 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13136 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13137 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13138 (CALL_FAIL): Likewise.
13139 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13140 (CALL_FAIL): Macro removed.
13141 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13143 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13145 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13146 for __FINITE_MATH_ONLY__ == 1.
13148 2011-09-15 Andreas Schwab <schwab@redhat.com>
13150 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13151 __ieee754_sqrt instead of sqrt.
13152 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13153 __ieee754_sqrtf instead of sqrtf.
13154 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13155 __floorf instead of floorf.
13156 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13157 __floorf, __truncf instead of floorf, truncf.
13159 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13161 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13163 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13164 __extern_always_inline.
13165 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13168 2011-09-14 Andreas Schwab <schwab@redhat.com>
13170 * elf/rtld.c (dl_main): Also relocate in dependency order when
13171 doing symbol dependency testing.
13173 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13175 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13176 Always define `refsym'.
13178 2011-09-13 Andreas Schwab <schwab@redhat.com>
13180 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13181 (__FD_ELT): Renamed from __FDELT.
13182 * misc/bits/select2.h (__FD_ELT): Likewise.
13183 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13184 __FD_MASK instead of __FDELT, __FDMASK.
13185 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13187 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13190 * elf/Makefile (gen-ldd): Fix pattern.
13192 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13193 (init_tls): Likewise.
13195 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13199 2011-09-12 Andreas Schwab <schwab@redhat.com>
13201 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13202 `struct cmsghdr *' instead of `void *'.
13203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13206 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13208 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13210 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13211 ldd_rewrite_script.
13213 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13215 * configure.in: Remove --with-tls option.
13216 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13217 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13218 out in case it is missing.
13219 * sysdeps/ia64/elf/configure.in: Likewise.
13220 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13221 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13222 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13223 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13224 * sysdeps/sh/elf/configure.in: Likewise.
13225 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13226 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13227 * sysdeps/x86_64/elf/configure.in: Likewise.
13228 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13229 * sysdeps/mach/hurd/tls.h: Likewise.
13232 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13235 * configure.in: Fix use of AC_INIT.
13237 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13239 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13241 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13243 * malloc/hooks.c: Likewise.
13246 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13247 variables statically.
13248 (narenas): Initialize.
13249 (list_lock): Initialize.
13250 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13251 initializtion of main_arena and list_lock. Small cleanups.
13252 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13253 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13254 Add initializers to main_arena and mp_.
13255 (malloc_state): Remove pagesize member. Change all users to use
13258 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13259 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13260 is always initialized.
13262 * malloc/malloc.c: Removed unused configurations and dead code.
13263 * malloc/arena.c: Likewise.
13264 * malloc/hooks.c: Likewise.
13265 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13267 * include/tls.h: Removed. USE___THREAD must always be defined.
13268 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13269 * elf/dl-libc.c: Likewise.
13270 * elf/dl-tsd.c: Likewise.
13271 * include/errno.h: Likewise.
13272 * include/netdb.h: Likewise.
13273 * include/resolv.h: Likewise.
13274 * inet/herrno-loc.c: Likewise.
13275 * inet/herrno.c: Likewise.
13276 * malloc/arena.c: Likewise.
13277 * malloc/hooks.c: Likewise.
13278 * malloc/malloc.c: Likewise.
13279 * resolv/res-state.c: Likewise.
13280 * resolv/res_libc.c: Likewise.
13281 * sysdeps/i386/dl-machine.h: Likewise.
13282 * sysdeps/ia64/dl-machine.h: Likewise.
13283 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13284 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13285 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13286 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13287 * sysdeps/sh/dl-machine.h: Likewise.
13288 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13289 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13290 * sysdeps/unix/i386/sysdep.S: Likewise.
13291 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13292 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13294 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13297 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13301 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13302 * sysdeps/x86_64/dl-machine.h: Likewise.
13303 * tls.make.c: Likewise.
13305 * configure.in: Remove --with-__thread option. Make tests for
13306 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13307 tls_model attribute fail if no support is available. Remove
13309 * Makeconfig: Adjust for dropped configure option. All features are
13311 * Makerules: Likewise.
13312 * Versions.def: Likewise.
13313 * argp/argp-fmtstream.c: Likewise.
13314 * argp/argp-fmtstream.h: Likewise.
13315 * argp/argp-help.c: Likewise.
13316 * assert/assert.c: Likewise.
13317 * config.h.in: Likewise.
13318 * config.make.in: Likewise.
13319 * configure: Likewise.
13320 * configure.in: Likewise.
13321 * csu/Versions: Likewise.
13322 * csu/init.c: Likewise.
13323 * elf/tst-audit2.c: Likewise.
13324 * elf/tst-tls10.c: Likewise.
13325 * elf/tst-tls10.h: Likewise.
13326 * elf/tst-tls11.c: Likewise.
13327 * elf/tst-tls12.c: Likewise.
13328 * elf/tst-tls14.c: Likewise.
13329 * elf/tst-tlsmod11.c: Likewise.
13330 * elf/tst-tlsmod12.c: Likewise.
13331 * elf/tst-tlsmod13.c: Likewise.
13332 * elf/tst-tlsmod13a.c: Likewise.
13333 * elf/tst-tlsmod14a.c: Likewise.
13334 * elf/tst-tlsmod15b.c: Likewise.
13335 * elf/tst-tlsmod16a.c: Likewise.
13336 * elf/tst-tlsmod16b.c: Likewise.
13337 * elf/tst-tlsmod7.c: Likewise.
13338 * elf/tst-tlsmod8.c: Likewise.
13339 * elf/tst-tlsmod9.c: Likewise.
13340 * gmon/gmon.c: Likewise.
13341 * grp/fgetgrent_r.c: Likewise.
13342 * grp/putgrent.c: Likewise.
13343 * hurd/fopenport.c: Likewise.
13344 * include/libc-symbols.h: Likewise.
13345 * include/tls.h: Likewise.
13346 * intl/gettextP.h: Likewise.
13347 * intl/loadinfo.h: Likewise.
13348 * locale/global-locale.c: Likewise.
13349 * locale/localeinfo.h: Likewise.
13350 * mach/devstream.c: Likewise.
13351 * malloc/arena.c: Likewise.
13352 * malloc/set-freeres.c: Likewise.
13353 * misc/err.c: Likewise.
13354 * misc/getttyent.c: Likewise.
13355 * misc/mntent_r.c: Likewise.
13356 * posix/getopt.c: Likewise.
13357 * posix/wordexp.c: Likewise.
13358 * pwd/fgetpwent_r.c: Likewise.
13359 * resolv/Versions: Likewise.
13360 * resolv/res_hconf.c: Likewise.
13361 * shadow/fgetspent_r.c: Likewise.
13362 * shadow/putspent.c: Likewise.
13363 * stdio-common/printf_fphex.c: Likewise.
13364 * stdio-common/tmpfile.c: Likewise.
13365 * stdlib/abort.c: Likewise.
13366 * stdlib/fmtmsg.c: Likewise.
13367 * sunrpc/auth_unix.c: Likewise.
13368 * sunrpc/clnt_perr.c: Likewise.
13369 * sunrpc/clnt_tcp.c: Likewise.
13370 * sunrpc/clnt_udp.c: Likewise.
13371 * sunrpc/clnt_unix.c: Likewise.
13372 * sunrpc/openchild.c: Likewise.
13373 * sunrpc/svc_simple.c: Likewise.
13374 * sunrpc/svc_tcp.c: Likewise.
13375 * sunrpc/svc_udp.c: Likewise.
13376 * sunrpc/svc_unix.c: Likewise.
13377 * sunrpc/xdr.c: Likewise.
13378 * sunrpc/xdr_array.c: Likewise.
13379 * sunrpc/xdr_rec.c: Likewise.
13380 * sunrpc/xdr_ref.c: Likewise.
13381 * sunrpc/xdr_stdio.c: Likewise.
13383 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13385 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13387 2011-07-03 Andreas Jaeger <aj@suse.de>
13389 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13390 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13391 regenerate with gen-libm-tests.pl.
13393 2010-05-12 Petr Baudis <pasky@suse.cz>
13396 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13397 around j0() zero points by switching to j1().
13398 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13403 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13405 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13407 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13410 Patch in part by Pavel Roskin <proski@gnu.org>.
13413 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13415 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13416 Free memory block if necessary.
13419 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13420 be NULL. Don't lock in this case.
13422 2011-09-09 Roland McGrath <roland@hack.frob.com>
13424 * elf/elf.h (ELFOSABI_GNU): New macro.
13425 (ELFOSABI_LINUX): Define to that.
13427 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13429 * string/strncat.c (strncat): Undef the symbol in case it has been
13430 defined in bits/string.h.
13432 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13434 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13436 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13439 2011-08-17 Andreas Jaeger <aj@suse.de>
13441 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13443 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13444 Ian Lance Taylor <iant@google.com>
13446 * math/libm-test.inc (lround_test): New testcase.
13447 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13449 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13451 * Makefile: Remove support for automatic cvs check-ins.
13452 * Makerules: Likewise.
13453 * config.make.in: Likewise.
13454 * configure.in: Likewise.
13455 * intl/Makefile: Likewise.
13456 * locale/Makefile: Likewise.
13457 * po/Makefile: Likewise.
13458 * posix/Makefile: Likewise.
13459 * sysdeps/gnu/Makefile: Likewise.
13460 * sysdeps/mach/hurd/Makefile: Likewise.
13461 * sysdeps/sparc/sparc32/Makefile: Likewise.
13464 * posix/Makefile (bug-regex32-ENV): Define.
13465 Patch by John Stanley <jpsinthemix@verizon.net>.
13467 * misc/Makefile (headers): Add bits/select2.h.
13468 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13469 * misc/bits/select2.h: New file.
13470 * include/bits/select2.h: New file.
13471 * debug/Makefile (routines): Add fdelt_chk.
13472 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13473 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13475 * debug/fdelt_chk.c: New file.
13477 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13478 * wcsmbs/test-wmemcmp.c: Likewise.
13479 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13480 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13482 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13484 * string/Makefile (strop-tests): Add memcmp.
13485 * string/test-wmemcmp.c: New file.
13486 * string/test-memcmp.c: Add wmemcmp support.
13488 2011-09-08 Roland McGrath <roland@hack.frob.com>
13491 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13494 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13495 garbage value in a __mach_port_mod_refs call in the cases of the
13496 task-self and thread-self ports.
13498 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13500 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13502 2011-09-08 Andreas Schwab <schwab@redhat.com>
13504 * elf/dl-load.c (lose): Check for non-null L.
13506 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13508 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13510 * elf/dl-libc.c (dlerror_run): Pass back error code from
13514 * elf/dl-load.c (lose): Free l_origin if it is valid.
13516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13518 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13519 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13520 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13521 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13522 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13523 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13525 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13527 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13528 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13529 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13530 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13531 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13532 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13533 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13534 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13535 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13536 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13538 2011-08-15 Alan Modra <amodra@gmail.com>
13541 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13542 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13543 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13544 ppc_mcount to static-only-routines.
13545 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13547 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13548 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13550 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13552 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13553 for finite and infinity parameters.
13555 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13558 and add nop instructions for throughput optimization.
13559 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13561 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13563 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13564 aligned copy for power7 with vector-scalar instructions.
13565 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13567 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13569 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13572 2011-09-07 Andreas Schwab <schwab@redhat.com>
13575 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13578 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13580 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13581 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13582 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13583 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13586 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13588 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13589 Forgot to demangle the pointer.
13591 * sysdeps/i386/sysdep.h: Define atom_text_section.
13592 * sysdeps/x86_64/sysdep.h: Likewise.
13593 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13594 section with atom_text_section.
13595 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13596 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13597 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13598 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13599 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13601 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13602 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13603 already be defined. Change to take two parameters and don't assign
13604 result to variable. Adjust all users.
13605 Define INTERNAL_GETTIME if not already defined.
13606 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13609 HAVE_CLOCK_GETTIME_VSYSCALL.
13610 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13612 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13613 gettimeofday vsyscall, just use time.
13615 2011-09-06 Andreas Schwab <schwab@redhat.com>
13617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13620 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13622 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13624 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13626 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13627 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13628 syscall if possible.
13630 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13632 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13633 e_ident. Don't pass to find_mapsXX.
13634 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13636 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13639 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13640 * sysdeps/x86_64/multiarch/strchr.S: Update.
13641 Check bit_slow_BSF bit.
13642 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13643 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13644 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13646 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13649 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13651 (tryshell): Define.
13652 (__spawni): Change last parameter to be flag. Test
13653 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13654 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13655 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13656 * posix/spawni.c: Likewise.
13657 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13658 * posix/spawnp.c: Likewise. Change normal version to use
13659 SPAWN_XFLAGS_USE_PATH.
13660 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13661 SPAWN_XFLAGS_TRY_SHELL.
13664 * posix/glob.h: Remove gcc 1.x support.
13667 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13669 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13672 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13674 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13675 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13676 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13677 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13678 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13679 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13681 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13683 * sysdeps/x86_64/wcscmp.S: New file.
13685 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13686 wcscmp-c wcscmp-sse2
13687 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13688 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13689 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13690 * wcsmbs/wcscmp.c: Allow renaming.
13692 2011-09-05 David S. Miller <davem@davemloft.net>
13694 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13695 stack slot, rather than the struct return pointer slot.
13696 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13697 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13699 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13701 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13703 * po/ja.po: Update from translation team.
13706 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13707 kernel in 64-bit binaries.
13709 2011-09-01 David S. Miller <davem@davemloft.net>
13711 * elf/elf.h (HWCAP_SPARC_*): Move to..
13712 * sysdeps/sparc/sysdep.h: this new file and add new values.
13713 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13714 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13715 _DL_HWCAP_COUNT to 24.
13716 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13718 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13719 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13720 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13722 instead of magic constants.
13723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13725 2011-08-31 David S. Miller <davem@davemloft.net>
13727 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13728 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13729 Reimplement to do errno handling inline.
13730 (SYSCALL_ERROR_HANDLER): New macro.
13731 (__SYSCALL_STRING): Do not do errno handling in asm.
13732 (__CLONE_SYSCALL_STRING): Delete.
13733 (__INTERNAL_SYSCALL_STRING): Delete.
13734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13735 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13736 (PSEUDO): Reimplement to do errno handling inline.
13737 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13738 (SYSCALL_ERROR_HANDLER): New macro.
13739 (__SYSCALL_STRING): Do not do errno handling in asm.
13740 (__CLONE_SYSCALL_STRING): Delete.
13741 (__INTERNAL_SYSCALL_STRING): Delete.
13742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13743 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13745 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13746 (inline_syscall*): Add 'err' argument.
13747 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13748 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13749 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13750 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13752 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13753 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13755 2011-08-30 Andreas Schwab <schwab@redhat.com>
13757 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13759 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13761 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13764 2011-08-24 David S. Miller <davem@davemloft.net>
13766 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13768 2011-08-24 Andreas Schwab <schwab@redhat.com>
13770 * elf/Makefile: Add rules to build and run unload8 test.
13771 * elf/unload8.c: New file.
13772 * elf/unload8mod1.c: New file.
13773 * elf/unload8mod1x.c: New file.
13774 * elf/unload8mod2.c: New file.
13775 * elf/unload8mod3.c: New file.
13777 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13780 2011-08-23 David S. Miller <davem@davemloft.net>
13782 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13783 subtract stack bias.
13784 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13785 %sp not %fp in calculations.
13786 (_JMPBUF_UNWINDS_ADJ): Likewise.
13788 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13789 (aio_suspend): Call it to force an exception region around the
13790 AIO_MISC_WAIT() invocation.
13792 2011-08-23 Andreas Schwab <schwab@redhat.com>
13794 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13797 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13799 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13801 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13802 and <dl-machine.h>.
13803 (Elf64_FuncDesc): Remove.
13805 2011-08-22 David S. Miller <davem@davemloft.net>
13807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13808 sigaltstack check, add missing cfi directives.
13809 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13810 missing cfi directives, and sigaltstack handling.
13812 2011-08-16 Andreas Schwab <schwab@redhat.com>
13815 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13816 object is seen twice.
13817 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13819 * elf/Makefile (distribute): Add tst-initorder2.c.
13820 (tests): Add tst-initorder2.
13821 (modules-names): Add tst-initorder2a tst-initorder2b
13822 tst-initorder2c tst-initorder2d. Add rules to build them.
13823 ($(objpfx)tst-initorder2.out): New rule.
13824 * elf/tst-initorder2.c: New file.
13825 * elf/tst-initorder2.exp: New file.
13827 2011-08-22 Andreas Schwab <schwab@redhat.com>
13829 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13831 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13832 dependencies back to end of function.
13834 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13835 $(elfobjdir)/ld.so.
13837 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13840 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13841 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13842 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13843 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13844 of __vdso_gettimeofday.
13845 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13846 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13848 (_libc_vdso_platform_setup): Remove initialization of
13849 __vdso_gettimeofday and __vdso_time.
13851 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13853 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13854 and fgetc_unlocked.
13855 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13858 * elf/dl-open.c (add_to_global): Report additions to the global scope
13859 for LD_DEBUG=scopes.
13860 (dl_open_worker): Also print scope of newly loaded dependencies.
13861 (_dl_show_scope): Indicate if there is no scope.
13864 * stdio-common/Makefile (tests): Add bug24.
13865 * stdio-common/bug24.c: New file.
13867 2011-08-19 Andreas Jaeger <aj@suse.de>
13870 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13871 non-existant file when using close-on-exec mode.
13873 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13876 the very first instruction.
13878 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13879 the CFI state in the end.
13880 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13881 inclusion of dl-trampoline.h.
13882 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13884 2011-08-19 Andreas Schwab <schwab@redhat.com>
13886 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13887 expectations for long double.
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13890 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13892 2011-08-14 David S. Miller <davem@davemloft.net>
13894 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13895 artificual limit depends upon the system page size.
13897 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13899 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13900 * resolv/Makefile: Define CFLAGS-libresolv.
13902 2011-08-17 Andreas Schwab <schwab@redhat.com>
13904 * nss/makedb.c (compute_tables): Make variables used in nested
13907 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13909 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13910 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13911 if buffer was too small.
13913 * elf/pldd.c (main): Attach to all threads in the process.
13914 Rewrite /proc handling to use *at functions.
13916 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13918 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13919 specifies first scope to show.
13920 (dl_open_worker): Update callers. Move printing scope of new
13921 object to before the relocation.
13922 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13923 * sysdeps/generic/ldsodefs.h: Update declaration.
13925 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13926 string for the scope number.
13928 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13930 * nscd/servicescache.c (cache_addserv): Make sure written is always
13933 2011-08-14 Roland McGrath <roland@hack.frob.com>
13935 * sysdeps/i386/i486/bits/atomic.h
13936 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13937 statement expression, so as to suppress "set but not used" warning.
13938 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13940 * string/strncat.c (STRNCAT): Use prototype definition.
13942 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13943 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13945 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13946 (localedef-modules): Add localedef.
13947 (locale-modules): Add locale.
13949 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13950 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13951 to avoid a warning.
13953 2011-08-14 David S. Miller <davem@davemloft.net>
13955 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13956 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13958 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13960 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13961 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13962 * elf/rtld.c (dl_main): Set l_name of vDSO.
13963 Call _dl_show_scope when DL_DEBUG_SCOPES.
13964 (process_dl_debug): Recognize scopes flag and also set it for all.
13965 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13966 Declare _dl_show_scope.
13968 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13969 (do_dlopen): Pass caller_dlopen to dl_open.
13970 (__libc_dlopen_mode): Initialize caller_dlopen.
13972 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13973 of libc. Make tolower call locale-independent. Optimize a bit by
13974 using isdigit instead of isalnum.
13975 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13977 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13979 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13980 was a dependency or dynamically loaded.
13982 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13984 * intl/l10nflist.c: Allow architecture-specific pop function.
13985 * sysdeps/x86_64/l10nflist.c: New file.
13987 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13990 2011-08-10 Andreas Schwab <schwab@redhat.com>
13992 * include/dirent.h: Add libc_hidden_proto for scandirat and
13993 scandirat64. Don't declare __scandirat64.
13994 * dirent/scandirat.c: Add libc_hidden_def.
13995 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13996 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13998 2011-08-10 David S. Miller <davem@davemloft.net>
14000 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14002 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14004 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14006 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14008 * Versions.def [libc]: Add GLIBC_2.15.
14009 * dirent/Makefile (routines): Add scandirat and scandirat64.
14010 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14012 * dirent/dirent.h: Declare scandirat and scandirat64.
14013 * dirent/scandirat.c: New file.
14014 * dirent/scandirat64.c: New file.
14015 * sysdeps/wordsize-64/scandirat.c: New file.
14016 * sysdeps/wordsize-64/scandirat64.c: New file.
14017 * dirent/opendir.c: Define opendirat.
14018 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14020 * dirent/scandir64.c: Adjust for scandir.c change.
14021 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14022 __scandirat64, and __scandir_cancel_handler.
14023 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14024 additional parameter and use openat instead of open (outside of ld.so).
14025 Add new __opendir as wrapper around __opendirat.
14026 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14027 here without requiring old scandirat implementation.
14029 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14031 * dirent/scandir.c (cancel_handler): Renamed to
14032 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14033 defined. Adjust users.
14034 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14035 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14037 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14039 * string/test-string.h (IMPL): Use __STRING to expand name and then
14042 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14045 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14047 * string/Makefile: Update.
14048 (strop-tests): Append strncat.
14049 * string/test-wcscmp.c: New file.
14050 New comprehensive test for wcscmp.
14051 * string/test-strcmp.c: Update.
14052 (WIDE): New define.
14054 2011-07-22 Andreas Schwab <schwab@redhat.com>
14056 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14059 2011-07-26 Andreas Schwab <schwab@redhat.com>
14061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14062 encoding to ACE if AI_IDN.
14064 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14067 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14069 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14071 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14072 Fix overflow bug in strncat.
14073 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14075 * string/test-strncat.c: Update.
14076 Add new tests for checking overflow bugs.
14078 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14081 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14082 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14083 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14084 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14085 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14086 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14087 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14088 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14091 (USE_AS_STRCAT): Define.
14092 Add strcat and strncat support.
14093 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14095 2011-07-25 Andreas Schwab <schwab@redhat.com>
14097 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14098 __n bigger than INT_MAX+1.
14099 (__strncmp_g): Likewise.
14101 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14103 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14104 * libio/stido.h: Likewise.
14106 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14111 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14112 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14113 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14114 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14115 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14118 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14121 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14123 (_dl_x86_64_save_sse): Likewise.
14125 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14129 (_dl_x86_64_save_sse): Likewise.
14131 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14133 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14135 2011-07-21 Andreas Schwab <schwab@redhat.com>
14137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14139 (_dl_x86_64_save_sse): Use correct AVX check.
14141 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14144 bug in strncpy/strncat.
14145 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14147 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14149 * string/tester.c (test_strcat): Add tests for different alignments
14150 of source and destination.
14151 (test_strncat): Likewise.
14153 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14156 * posix/glob.c (glob): Check passed in values before using them in
14157 expressions to avoid some overflows.
14158 (glob_in_dir): Likewise.
14161 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14162 check for AVX enablement so that we don't crash with old kernels and
14164 * elf/tst-audit4.c: Add same checks here.
14165 * elf/tst-audit6.c: Likewise.
14167 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14169 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14171 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14173 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14175 * po/cs.po: Update from translation team.
14176 * po/bg.po: Likewise.
14178 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14180 * misc/sys/cdefs.h: Add support for const attribute.
14181 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14182 to gnu_dev_{major,minor,makedev} functions.
14184 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14186 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14188 2011-07-20 Andreas Schwab <schwab@redhat.com>
14190 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14193 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14195 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14196 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14197 register in order to avoid conflicts with the soft frame pointer
14198 being held in r11 when necessary.
14199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14200 (INTERNAL_VSYSCALL_NCS): Likewise.
14202 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14204 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14205 * elf/dl-fini.c (_dl_fini): Adjust caller.
14206 * elf/dl-close.c (_dl_close_worker): Likewise.
14207 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14209 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14211 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14212 "aux_cache->nlibs < 0".
14214 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14215 in the reload-count case.
14217 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14220 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14221 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14222 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14223 * sysdeps/x86_64/multiarch/strcat.S: New file.
14224 * sysdeps/x86_64/multiarch/strncat.S: New file.
14225 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14226 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14227 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14228 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14229 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14230 (USE_AS_STRCAT): Define.
14231 Add strcat and strncat support.
14232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14233 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14234 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14235 * string/strncat.c: Update.
14236 (USE_AS_STRNCAT): Define.
14237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14238 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14240 * sysdeps/x86_64/multiarch/init-arch.h
14241 (bit_Prefer_PMINUB_for_stringop): New.
14242 (index_Prefer_PMINUB_for_stringop): Likewise.
14243 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14244 bit_Prefer_PMINUB_for_stringop.
14246 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14248 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14250 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14251 of casting of buffer.
14252 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14253 buffer32 and buffer64.
14254 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14255 writes instead of casting of buffer.
14256 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14258 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14261 2011-07-19 Andreas Schwab <schwab@redhat.com>
14263 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14265 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14267 * nscd/nscd.c (termination_handler): Don't do anything for a database
14268 if it has not yet been initialized.
14270 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14272 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14274 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14276 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14278 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14280 * po/nl.po: Update from translation team.
14281 * po/sv.po: Likewise.
14283 2011-07-16 Roland McGrath <roland@hack.frob.com>
14285 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14286 now disallowed by GCC.
14288 * configure.in (use-default-link): Default to yes if a test -shared
14289 link meets our qualifications.
14290 * configure: Regenerated.
14292 * config.make.in (output-format): New variable.
14293 * configure.in: Check for ld --print-output-format support.
14294 * configure: Regenerated.
14295 * Makerules ($(common-objpfx)format.lds)
14296 [$(output-format) != unknown]: Just use $(output-format),
14297 instead of the linker-script munging.
14299 2011-07-14 Roland McGrath <roland@hack.frob.com>
14301 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14302 of $(common-objpfx)shlib.lds.
14303 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14305 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14306 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14308 * configure.in (-z relro check): Adjust test code to add a large
14309 writable data section after it.
14310 * configure: Regenerated.
14312 2011-07-11 Roland McGrath <roland@hack.frob.com>
14314 * configure.in (-z relro check): Fix test code to make the variable
14316 * configure: Regenerated.
14318 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14320 * nscd/nscd.h (struct traced_file): Define.
14321 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14322 elements. Add traced_files.
14323 (inotify_fd): Declare.
14324 (register_traced_file): Declare.
14325 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14326 (inotify_fd): Export.
14327 (resolv_conf_descr): Remove.
14328 (nscd_init): Move inotify descriptor creation to main.
14329 Don't register files for notification here.
14330 (register_traced_file): New function.
14331 (invalidate_cache): Don't use reset_res to determine whether to call
14332 res_init, go through the list of registered files.
14333 (main_loop_poll): The inotify descriptors are now stored in the
14334 structures for the traced files.
14335 (main_loop_epoll): Likewise
14336 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14337 to __nss_disable_nscd.
14338 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14339 for a database anymore. Check the records for all the registered
14341 * nss/Makefile (libnss_files-routines): Add files-init.
14342 (libnss_db-routines): Add db-init.
14343 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14344 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14345 * nss/nss_db/db-init.c: New file.
14346 * nss/nss_files/files-init.c: New file.
14347 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14348 __nss_lookup_function.
14349 (__nss_lookup_function): Call nss_load_library.
14350 (nss_load_all_libraries): New function.
14351 (__nss_disable_nscd): Take parameter with callback function for files
14352 to register. Set is_nscd. Load all the DSOs for the NSS modules
14353 used for the cached services.
14354 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14355 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14356 options for features to all the files in nscd.
14358 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14360 2011-07-10 Roland McGrath <roland@hack.frob.com>
14362 * csu/elf-init.c (__libc_csu_init): Comment typo.
14364 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14366 * po/pl.po: Update from translation team.
14367 * po/ja.po: Likewise.
14368 * po/ru.po: Likewise.
14369 * po/ko.po: Likewise.
14370 * po/fr.po: Likewise.
14372 2011-07-09 Roland McGrath <roland@hack.frob.com>
14374 * configure.in (.ctors/.dtors header and trailer check):
14375 Use an empirical test on a built program.
14376 * configure: Regenerated.
14378 * configure.in (-z relro check): Use an empirical test on a built DSO.
14379 Detect, but do not require, on ia64.
14380 * configure: Regenerated.
14382 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14383 Update tests that use readelf to use $READELF instead.
14384 * configure: Regenerated.
14386 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14388 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14389 if the result is not used.
14391 2011-07-05 Andreas Jaeger <aj@suse.de>
14394 * stdlib/tst-strtod.c: Add testcase.
14396 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14398 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14399 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14400 The latter has a higher limit. Take additional parameter to pass to
14402 (__pathconf): Pass file to __statfs_link_max.
14403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14405 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14409 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14410 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14412 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14413 (__statfs_filesize_max): Likewise.
14414 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14416 2011-07-05 Andreas Jaeger <aj@suse.de>
14418 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14420 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14422 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14424 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14427 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14429 * Makefile (strop-tests): Add strncat.
14430 * string/test-strncat.c: New file.
14432 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14434 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14436 2011-06-21 Andreas Jaeger <aj@suse.de>
14438 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14439 Copy rule from iconvdata/Makefile.
14441 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14444 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14445 but no long options are defined, just return 'W'.
14447 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14450 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14452 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14454 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14456 (innetgr): Likewise.
14458 2011-07-05 Roland McGrath <roland@hack.frob.com>
14460 * config.make.in (install_root): Default to $(DESTDIR).
14462 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14464 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14466 2011-07-02 Roland McGrath <roland@hack.frob.com>
14468 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14470 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14471 containing directory rather than embedding absolute directory names.
14473 * scripts/check-local-headers.sh: Rewritten using awk.
14474 Match by word, not by line. Print error messages for matches.
14475 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14477 * Makerules [shlib-lds-flags empty]:
14478 ($(common-objpfx)libc_pic.opts): New target.
14479 ($(common-objpfx)libc_pic.os.clean): New target.
14480 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14482 * config.make.in (OBJCOPY): New variable.
14483 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14484 * configure: Regenerated.
14486 * config.make.in (use-default-link): New variable.
14487 * configure.in (use_default_link): Grok --with-default-link to set it.
14488 * configure: Regenerated.
14489 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14490 (shlib-lds, shlib-lds-flags): Define to empty.
14492 * Makerules (shlib-lds): New variable.
14493 (shlib-lds-flags): New variable.
14494 (build-shlib, build-moduile, build-module-asneeded): Use it.
14495 ($(common-objpfx)libc.so): Use $(shlib-lds).
14496 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14497 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14499 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14500 DT_FLAGS/DT_FLAGS_1 with zero flags.
14502 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14503 linker script munging.
14505 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14507 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14509 * crypt/sha512.c (sha512_process_block): Perform total addition using
14510 128-bit if possible.
14511 (__sha512_finish_ctx): Likewise.
14512 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14514 * crypt/sha256.c (SWAP64): Define.
14515 (sha256_process_block): Perform total addition using 64-bit if
14517 (__sha256_finish_ctx): Likewise.
14519 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14521 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14523 * nscd/hstcache.c (cache_addhst): Likewise.
14524 * nscd/grpcache.c (cache_addgr): Likewise.
14525 * nscd/aicache.c (addhstaiX): Likewise
14526 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14528 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14530 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14531 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14532 * nscd/hstcache.c (cache_addhst): Likewise.
14533 * nscd/grpcache.c (cache_addgr): Likewise.
14534 * nscd/aicache.c (addhstaiX): Likewise
14536 2011-07-01 Andreas Schwab <schwab@redhat.com>
14538 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14539 domain only when needed.
14541 2011-06-30 Andreas Schwab <schwab@redhat.com>
14543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14544 is always restored.
14546 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14548 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14549 are re-adding the entry.
14550 * nscd/servicescache.c (cache_addserv): Likewise.
14552 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14554 * sysdeps/generic/dl-irel.h: fix protection against multiple
14556 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14558 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14561 * malloc/memusage.sh: Fix quoting in message.
14562 * debug/xtrace.sh: Likewise.
14564 * configure.in: Remove support for --experimental-malloc option, make
14566 * config.make.in: Likewise.
14567 * malloc/Makefile: Likewise.
14569 2011-06-27 Andreas Schwab <schwab@redhat.com>
14571 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14572 two-byte characters.
14574 2011-06-27 Roland McGrath <roland@hack.frob.com>
14576 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14577 AC_CACHE_CHECK invocation.
14578 * configure: Regenerated.
14580 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14582 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14585 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14586 bit from old_res_options.
14588 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14590 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14591 value type for setfct.
14593 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14595 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14596 __gettimeofday instead of gettimeofday.
14598 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14600 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14602 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14604 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14606 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14609 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14612 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14613 strcpy-sse2-unaligned strncpy-sse2-unaligned
14614 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14615 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14616 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14617 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14618 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14619 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14620 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14621 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14622 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14623 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14624 (STRCPY): Support SSE2 and SSSE3 versions.
14626 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14629 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14630 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14631 kernels which artificially limit size of requests.
14633 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14636 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14637 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14638 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14639 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14640 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14641 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14642 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14643 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14644 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14645 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14646 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14647 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14648 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14649 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14651 Enable unaligned load optimization for Intel Core i3, i5 and i7
14653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14655 (index_Fast_Unaligned_Load): Define.
14656 (HAS_FAST_UNALIGNED_LOAD): Define.
14658 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14660 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14662 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14666 until it is clear that the information is realy needed.
14667 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14669 2011-06-22 Andreas Schwab <schwab@redhat.com>
14671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14673 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14675 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14676 /sys/devices/system/cpu/online if it is usable.
14678 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14679 reading the information from the /proc filesystem to once a second.
14681 2011-06-21 Andreas Jaeger <aj@suse.de>
14683 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14684 NULL after inclusion of kernel headers.
14686 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14688 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14689 calls to internal_setent.
14692 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14693 addresses using gethostbyname4_r ignore IPv4 addresses.
14695 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14696 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14698 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14700 2011-06-20 David S. Miller <davem@davemloft.net>
14702 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14704 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14706 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14707 (elf_irel): Use it.
14708 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14709 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14710 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14711 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14712 * sysdeps/x86_64/dl-irel.h: Likewise.
14714 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14715 * elf/dl-sym.c: Likewise.
14717 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14719 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14720 need to dereference resplen2.
14722 2011-06-14 Andreas Schwab <schwab@redhat.com>
14724 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14726 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14728 * Makeconfig: Define vardbdir and inst_vardbdir.
14729 * nss/Makefile: Add rules to install db-Makefile.
14731 * nss/nss_db/db-XXX.c: Cleanup.
14733 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14734 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14736 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14737 * nss/makedb.c: Implement -g option to specify that value strings
14738 are generated and should not be added to table iterated over for
14740 * nss/nss_db/db-initgroups.c: New file.
14742 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14745 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14746 (internal_getgrouplist): Adjust to name change.
14747 Update use_initgroups_entry if this is not the first call.
14748 * nss/databases.def: Add initgroups entry.
14750 * nss/makedb.c (compute_tables): Check result of multiple hash table
14751 sizes to minimize maximum chain length.
14753 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14755 * Versions.def: Add entry for libnss_db.
14756 * shlib-versions: Likewise.
14757 * nss/Makefile: Add rules to build libnss_db.
14758 * nss/Versions: Add libnss_db information. Organize libnss_files
14760 * nss/db-Makefile: Add gshadow support. Change rules for the new
14761 makedb progra. Some minor improvements to generate smaller files.
14762 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14764 * nss/makedb.c: ...here.
14765 Improve database format to be smaller and require less memory at
14767 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14769 * nss/nss_db/db-netgrp.c: Likewise.
14770 * nss/nss_db/db-open.c: Likewise.
14771 * nss/nss_files/flies-XXX.x: Adjust comments.
14772 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14773 * nss/nss_files/files-grp.c: Likewise.
14774 * nss/nss_files/files-hosts.c: Likewise.
14775 * nss/nss_files/files-network.c: Likewise.
14776 * nss/nss_files/files-proto.c: Likewise.
14777 * nss/nss_files/files-pwd.c: Likewise.
14778 * nss/nss_files/files-rpc.c: Likewise.
14779 * nss/nss_files/files-service.c: Likewise.
14780 * nss/nss_files/files-sgrp.c: Likewise.
14781 * nss/nss_files/files-spwd.c: Likewise.
14782 * nss/nss_db/db-alias.c: Removed.
14783 * nss/nss_db/dummy-db.h: Removed.
14785 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14787 * nss/makedb.c: Rewritten to not use database library.
14788 * nss/Makefile: Update to build new makedb program.
14790 2011-06-14 Andreas Jaeger <aj@suse.de>
14792 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14793 memset declaration.
14795 2011-06-10 Andreas Schwab <schwab@redhat.com>
14797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14800 2011-06-10 Roland McGrath <roland@hack.frob.com>
14802 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14803 * elf/Makefile ($(objpfx)ld.so): Likewise.
14805 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14806 Don't list ld.so twice in dependencies.
14808 * posix/bug-regex31.c: Include <stdlib.h>.
14810 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14812 * nis/nss_compat/compat-spwd.c
14813 (getspent_next_nss_netgr): Remove unused variable.
14814 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14816 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14817 nonmembers" output to use the right array.
14819 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14821 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14823 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14824 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14825 * catgets/gencat.c (read_input_file): Likewise.
14826 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14828 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14829 variable definition inside #if's controlling its use.
14831 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14833 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14835 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14837 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14840 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14842 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14843 * configure: Regenerated.
14845 * Makerules: Revert last change.
14846 * elf/Makefile: Likewise.
14848 2011-06-09 Roland McGrath <roland@hack.frob.com>
14850 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14851 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14852 (reloc-link): Likewise.
14854 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14856 * elf/Makefile: Add rules to build pldd.
14857 * elf/pldd.c: New file.
14858 * elf/pldd-xx.c: New file.
14860 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14862 * version.h: Update for 2.15 development version.
14864 2011-06-07 David S. Miller <davem@davemloft.net>
14866 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14869 elf_machine_lazy_rel): Likewise.
14870 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14871 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14872 elf_machine_lazy_rel): Likewise.
14873 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14874 dl_hwcap via passed in argument.
14875 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14878 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14880 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14882 2011-06-06 Roland McGrath <roland@hack.frob.com>
14885 * manual/fdl-1.1.texi: New file, verbatim from:
14886 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14887 * manual/lgpl-2.1.texi: New file, verbatim from:
14888 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14889 * manual/Makefile (licenses): New variable, list those new file names.
14891 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14893 * manual/fdl.texi: File removed.
14894 * manual/lesser.texi: File removed.
14895 * manual/libc.texinfo (Copying, Documentation License):
14896 Use new @include file names, put @appendix directive before @include.
14898 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14901 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14902 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14903 (mq_open): Add __NTH.
14905 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14908 Assume Intel Core i3/i5/i7 processor if AVX is available.
14910 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14912 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14915 2011-05-31 Andreas Schwab <schwab@redhat.com>
14917 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14918 memory. Use alloca_account. Fix memory leak when retrying.
14920 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14922 * version.h (RELEASE): Bump for 2.14 release.
14923 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14925 * config.make.in (RANLIB): Remove entry.
14927 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14929 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14930 (libc.pot): Work around missing support for .ksh extension in xgettext.
14933 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14934 if both request failed.
14935 (send_dg): In case of server errors clear resplen or *resplen2.
14938 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14939 when there are multiple maps.
14940 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14941 (_dl_fini): Remove test here.
14943 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14945 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14948 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14949 bit from old_res_options.
14950 (gaih_inet): Likewise.
14953 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14956 * resolv/res_init.c (res_setoptions): Make the code more compact.
14959 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14963 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14965 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14968 * malloc/malloc.h: Declare malloc hook variables as volatile.
14970 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14974 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14975 raise in the comment.
14976 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14978 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14980 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14983 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14984 grow the buffers more if it already has to be sufficient.
14985 (build_wcs_upper_buffer): Likewise.
14986 * posix/regexec.c (check_matching): Likewise.
14987 (clean_state_log_if_needed): Likewise.
14988 (extend_buffers): Don't enlarge buffers beyond size of the input
14990 Patches mostly by Emil Wojak <emil@wojak.eu>.
14991 * posix/bug-regex32.c: New file.
14992 * posix/Makefile (tests): Add bug-regex32.
14994 * locale/findlocale.c (_nl_find_locale): Return right away if
14995 _nl_explode_name failed.
14996 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14998 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15000 * debug/xtrace.sh: Unify messages.
15001 * malloc/memusage.sh: Likewise.
15004 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15005 time symbol from vDSO. Substitute with vsyscall if not available.
15006 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15009 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15010 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15011 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15012 Add sendmmsg and internal_sendmmsg.
15013 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15014 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15015 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15017 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15018 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15019 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15021 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15024 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15025 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15027 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15031 * iconvdata/Makefile (tests): Add bug-iconv9.
15032 * iconvdata/bug-iconv9.c: New file.
15034 2011-05-27 Andreas Schwab <schwab@redhat.com>
15037 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15039 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15042 (struct user_regs_struct): Change intcs field back to cs.
15044 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15046 * po/ja.po: Update from translation team.
15048 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15051 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15052 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15054 2011-05-20 Andreas Schwab <schwab@redhat.com>
15056 * stdlib/longlong.h: Update from GCC.
15058 2011-05-23 Andreas Schwab <schwab@redhat.com>
15060 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15062 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15063 Add parameter name.
15064 (__sysconf): Pass it down.
15066 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15069 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15071 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15072 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15073 add in in __libc_use_alloca calls. Adjust callers.
15074 (glob): Use malloc in some situations.
15076 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15077 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15080 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15082 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15083 and CLOCK_BOOTTIME_ALARM.
15086 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15089 * string/_strerror.c (__strerror_r): Print negative errors as signed
15093 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15094 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15095 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15097 * configure.in: Fix typo in redirection and correct removal of test
15098 files in two cases.
15101 * locale/setlocale.c (new_composite_name): Fix test to check for
15102 identical name of all categories.
15105 * libio/filedoalloc.c (local_isatty): New function.
15106 (_IO_file_doallocate): Use local_isatty.
15107 * stdio-common/perror.c (perror): In case a new stream is used
15108 forward the stream error.
15109 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15112 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15117 * include/alloca.h (extend_alloca_account): Define.
15120 * posix/regex.h: Fix comments with documentation of user-accessible
15121 fields after compilation and describe correct free'ing of pattern
15122 after re_compile_pattern.
15123 Patch by Reuben Thomas <rrt@sc3d.org>.
15125 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15127 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15128 and -mno-altivec to prevent the compiler from using Altivec and/or
15129 VSX instructions when the corresponding registers are not available.
15131 2011-05-19 Andreas Schwab <schwab@redhat.com>
15133 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15135 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15137 * libio/freopen.c (freopen): Use __dup2, not dup2.
15138 * libio/freopen64.c (freopen64): Likewise.
15140 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15143 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15144 * math/Makefile (tests): Add test-powl.
15145 (CFLAGS-test-powl.c): Define.
15146 * math/test-powl.c: New file.
15148 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15150 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15152 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15155 * iconvdata/gb18030.c: Update to GB18020-2005.
15157 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15159 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15160 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15161 Patch by Aharon Robbins <arnold@skeeve.com>.
15164 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15168 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15169 through underflows.
15172 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15173 point to strings before performing equality test for error_one_per_line
15177 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15180 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15181 (struct user_fpregs_struct): Avoid __uint*_t types.
15184 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15185 symbol info. Use it instead of calling _dl_addr locally.
15186 (lock_and_info): New function.
15187 (tr_freehook): Call lock_and_info and pass symbol info as additional
15188 parameter to tr_where.
15189 (tr_mallochook): Likewise.
15190 (tr_reallochook): Likewise.
15191 (tr_memalignhook): Likewise.
15193 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15194 used and couldn't be at all thread-safe.
15196 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15198 * libio/freopen.c (freopen): Don't close old file descriptor
15199 before the new one is opened. Instead dup the new file descriptor
15200 to the old one after the new stream is created.
15201 * libio/freopen64.c (freopen64): Likewise.
15202 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15203 * libio/fileops.c (_IO_new_file_close_it): Handle new
15204 _IO_FLAGS2_NOCLOSE flag.
15205 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15206 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15207 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15208 _IO_FLAGS2_NOCLOSE flag.
15209 * include/unistd.h: Add hidden_proto for dup3.
15210 Define __have_dup3.
15211 * io/dup3.c: Define hidden symbol.
15212 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15215 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15216 when an incomplete long option is used.
15217 * posix/tst-getopt_long1.c: New file.
15218 * posix/Makefile (tests): Add tst-getopt_long1.
15221 * scripts/config.guess: Update from autoconf-2.68.
15222 * scripts/config.sub: Likewise.
15225 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15227 (has_cpuclock): ...this. New function.
15228 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15229 macro here based on has_cpuclock code.
15232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15233 First byte (not low byte) is now always NUL.
15234 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15237 Use non-cancelable interfaces.
15240 * locale/iso-639.def: Add entry for Sorani.
15243 * include/stdlib.h: Move include protection to the right place.
15244 Define abort_msg_s. Declare __abort_msg with it.
15245 * stdlib/abort.c (__abort_msg): Adjust type.
15246 * assert/assert.c (__assert_fail_base): New function. Majority
15247 of code from __assert_fail. Allocate memory for __abort_msg with
15249 (__assert_fail): Now call __assert_fail_base.
15250 * assert/assert-perr.c: Remove bulk of implementation. Use
15251 __assert_fail_base.
15252 * include/assert.hL Declare __assert_fail_base.
15253 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15255 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15257 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15261 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15262 until all modules are registered in the DTV.
15263 * elf/Makefile: Add rules to build and run tst-tls19.
15264 * elf/tst-tls19.c: New file.
15265 * elf/tst-tls19mod1.c: New file.
15266 * elf/tst-tls19mod2.c: New file.
15267 * elf/tst-tls19mod3.c: New file.
15268 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15271 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15275 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15276 two-byte sequence errors.
15277 * iconvdata/Makefile (tests): Add bug-iconv8.
15278 * iconvdata/bug-iconv8.c: New file.
15281 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15284 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15287 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15288 (dummy_getcfa): New function.
15289 (init): Get _Unwind_GetCFA address, use dummy if not found.
15290 (backtrace_helper): In recursion check, also check whether CFA changes.
15291 (__backtrace): Completely initialize arg.
15293 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15294 storing incomplete byte sequence in state object. Avoid testing for
15295 guaranteed too small input if we know there is enough data available.
15297 2011-05-11 Andreas Schwab <schwab@redhat.com>
15299 * Makeconfig (+link-pie): Indent.
15300 * Rules (binaries-pie): Define if $(have-fpie) and
15302 (binaries-shared): Also filter out $(binaries-pie).
15303 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15304 * nscd/Makefile (others-pie): Add nscd.
15305 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15306 ($(objpfx)nscd): Remove command override.
15307 * login/Makefile (others-pie): Add pt_chown.
15308 ($(objpfx)pt_chown): Remove command override.
15309 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15310 remove command overrides.
15312 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15314 * libio/tst_putwc.c: Fix error messages.
15317 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15318 currently writing and seek to current position when not.
15319 * libio/Makefile (tests): Add bug-fclose1.
15320 * libio/bug-fclose1.c: New file.
15322 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15325 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15326 don't set DF_1_NODELETE here.
15327 (do_lookup_x): When entering new entry test for copy relocation
15328 and if necessary set DF_1_NODELETE flag.
15329 * elf/tst-unique4.cc: New file.
15330 * elf/tst-unique4.h: New file.
15331 * elf/tst-unique4lib.cc: New file.
15332 * elf/Makefile: Add rules to build and run tst-unique4.
15333 Patch by Piotr Bury <pbury@goahead.com>.
15335 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15338 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15341 * misc/mntent_r.c (addmntent): Flush the stream after the output
15344 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15345 (is_trusted_path_normalize): Skip initial colon. Append slash
15346 to empty buffer. Duplicate is_trusted_path code but allow
15347 constructed patch to be prefix.
15348 (is_dst): Allow $ORIGIN followed by /.
15349 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15350 Correct testing of result of is_trusted_path_normalize
15351 (decompose_rpath): Fix warning.
15353 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15356 * grp/initgroups.c (internal_getgrouplist): When we found the service
15357 list through the initgroups entry in nsswitch.conf do not always
15358 continue on a successful lookup. Don't always use the
15359 __nss_group_database value if it is set.
15360 * nss/nsswitch.conf (initgroups): Change action for successful db
15361 lookup to continue for compatibility.
15363 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15366 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15368 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15370 * iconvdata/tst-tables.sh: Likewise.
15371 * iconvdata/cp770.c: New file.
15372 * iconvdata/cp771.c: New file.
15373 * iconvdata/cp772.c: New file.
15374 * iconvdata/cp773.c: New file.
15375 * iconvdata/cp774.c: New file.
15376 * iconvdata/testdata/CP770: New file.
15377 * iconvdata/testdata/CP770..UTF8: New file.
15378 * iconvdata/testdata/CP771: New file.
15379 * iconvdata/testdata/CP771..UTF8: New file.
15380 * iconvdata/testdata/CP772: New file.
15381 * iconvdata/testdata/CP772..UTF8: New file.
15382 * iconvdata/testdata/CP773: New file.
15383 * iconvdata/testdata/CP773..UTF8: New file.
15384 * iconvdata/testdata/CP774: New file.
15385 * iconvdata/testdata/CP774..UTF8: New file.
15387 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15389 * iconvdata/gen-8bit-gap.sh: Likewise.
15390 * iconvdata/gen-8bit.sh: Likewise.
15392 * locale/iso-639.def: Add ary entry.
15395 * locale/C-translit.h.in: Add U20A1 transliteration.
15398 * locale/iso-639.def: Add wae entry.
15399 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15402 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15406 * locale/C-translit.h.in: Add entry for U20B9.
15407 Patch by pravin.d.s@gmail.com.
15409 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15412 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15413 ENAMETOOLONG use generic getcwd.
15414 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15415 in rtld. Use *stat64.
15416 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15417 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15418 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15419 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15420 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15421 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15422 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15423 __fstatat64 macros.
15424 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15425 * dirent/rewinddir.c: Add libc_hidden_def.
15426 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15427 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15429 * include/dirent.h (__alloc_dir): Add flags parameter.
15430 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15431 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15433 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15434 from fdopendir if O_CLOEXEC is already set.
15436 2011-03-15 Alan Modra <amodra@gmail.com>
15438 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15439 l_tls_firstbyte_offset non-zero. Save padding offset in
15440 l_tls_firstbyte_offset for later use.
15441 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15442 freeing static tls block.
15444 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15446 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15447 where #ifdef was intended. The intent is to prevent ARG_MAX from
15448 being defined by the kernel headers.
15450 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15453 * resolv/resolv.h: Define RES_NOTLDQUERY.
15454 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15455 no-tld-query and set RES_NOTLDQUERY.
15456 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15457 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15458 modern BIND to search name as TLD unless forbidden.
15460 2011-05-07 Petr Baudis <pasky@suse.cz>
15461 Ulrich Drepper <drepper@gmail.com>
15464 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15465 (is_trusted_path): ...to here.
15466 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15467 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15468 using is_trusted_path_normalize() in setuid scripts.
15470 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15472 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15473 __BEGIN/__END_DECLS.
15475 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15478 NSS_STATUS_NOTFOUND if no record was found.
15480 2011-05-05 Andreas Schwab <schwab@redhat.com>
15482 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15483 (headers-not-in-tirpc): Remove rpc/netdb.h
15484 * resolv/netdb.h: Revert last change.
15486 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15488 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15489 circular dependency between libgcc.a and libc.a.
15491 2011-05-05 Andreas Schwab <schwab@redhat.com>
15493 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15494 * nis/Makefile: Don't install rpcsvc/*.
15495 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15496 instead of <rpc/types.h>.
15497 (MAXHOSTNAMELEN): Define.
15499 2011-05-03 Andreas Schwab <schwab@redhat.com>
15501 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15503 2011-04-28 Maciej Babinski <mbabinski@google.com>
15506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15507 gethostbyname4_r when IPv6 results are possible.
15509 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15512 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15513 _PC_PIPE_BUF handling.
15515 2011-04-30 Bruno Haible <bruno@clisp.org>
15518 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15519 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15521 * inet/getnameinfo.c (getnameinfo): Likewise.
15523 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15525 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15526 to groups setting in database lookup.
15527 * nss/nsswitch.conf: Add initgroups entry.
15529 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15532 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15534 Patch by Eric Blake <eblake@redhat.com>.
15536 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15538 * sunrpc/Makefile (need-export-routines): Add svc_run.
15539 (routines): Remove svc_run.
15540 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15541 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15542 * sunrpc/svc_run.c (svc_run): Likewise.
15543 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15545 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15547 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15548 problem in reallocation in last patch.
15550 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15552 * sunrpc/Makefile: Move inclusion of Rules.
15554 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15556 * nss/nss_files/files-initgroups.c: New file.
15557 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15558 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15559 _nss_files_initgroups_dyn.
15561 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15563 * elf/elf.h (R_ARM_IRELATIVE): Define.
15565 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15567 * po/ru.po: Update from translation team.
15569 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15571 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15574 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15577 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15578 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15579 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15580 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15583 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15585 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15587 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15588 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15589 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15591 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15594 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15596 * stdlib/bug-getcontext.c: New file.
15597 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15599 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15601 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15602 instructions into .machine "z9-109".
15603 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15604 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15606 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15608 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15609 between environment variables and auxiliary vector.
15611 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15613 * Makefile: Add rules to build linkobj/libc.so.
15614 * include/libc-symbols.h: Define libc_hidden_nolink.
15615 * include/rpc/auth.h: Mark functions which are to be hidden.
15616 * include/rpc/auth_des.h: Likewise.
15617 * include/rpc/auth_unix.h: Likewise.
15618 * include/rpc/clnt.h: Likewise.
15619 * include/rpc/des_crypt.h: Likewise.
15620 * include/rpc/key_prot.h: Likewise.
15621 * include/rpc/pmap_clnt.h: Likewise.
15622 * include/rpc/pmap_prot.h: Likewise.
15623 * include/rpc/pmap_rmt.h: Likewise.
15624 * include/rpc/rpc_msg.h: Likewise.
15625 * include/rpc/svc.h: Likewise.
15626 * include/rpc/svc_auth.h: Likewise.
15627 * include/rpc/xdr.h: Likewise.
15628 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15629 * nss/Makefile: Likewise.
15630 * sunrpc/Makefile: Don't install headers. Build library with normal
15631 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15632 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15633 for the compat linking library. Remove use of INTDEF/INTUSE.
15634 * sunrpc/auth_none.c: Likewise.
15635 * sunrpc/auth_unix.c: Likewise.
15636 * sunrpc/authdes_prot.c: Likewise.
15637 * sunrpc/authuxprot.c: Likewise.
15638 * sunrpc/clnt_gen.c: Likewise.
15639 * sunrpc/clnt_perr.c: Likewise.
15640 * sunrpc/clnt_raw.c: Likewise.
15641 * sunrpc/clnt_simp.c: Likewise.
15642 * sunrpc/clnt_tcp.c: Likewise.
15643 * sunrpc/clnt_udp.c: Likewise.
15644 * sunrpc/clnt_unix.c: Likewise.
15645 * sunrpc/des_crypt.c: Likewise.
15646 * sunrpc/des_soft.c: Likewise.
15647 * sunrpc/get_myaddr.c: Likewise.
15648 * sunrpc/key_call.c: Likewise.
15649 * sunrpc/key_prot.c: Likewise.
15650 * sunrpc/netname.c: Likewise.
15651 * sunrpc/pm_getmaps.c: Likewise.
15652 * sunrpc/pm_getport.c: Likewise.
15653 * sunrpc/pmap_clnt.c: Likewise.
15654 * sunrpc/pmap_prot.c: Likewise.
15655 * sunrpc/pmap_prot2.c: Likewise.
15656 * sunrpc/pmap_rmt.c: Likewise.
15657 * sunrpc/publickey.c: Likewise.
15658 * sunrpc/rpc_cmsg.c: Likewise.
15659 * sunrpc/rpc_common.c: Likewise.
15660 * sunrpc/rpc_dtable.c: Likewise.
15661 * sunrpc/rpc_prot.c: Likewise.
15662 * sunrpc/rpc_thread.c: Likewise.
15663 * sunrpc/rtime.c: Likewise.
15664 * sunrpc/svc.c: Likewise.
15665 * sunrpc/svc_auth.c: Likewise.
15666 * sunrpc/svc_authux.c: Likewise.
15667 * sunrpc/svc_raw.c: Likewise.
15668 * sunrpc/svc_run.c: Likewise.
15669 * sunrpc/svc_simple.c: Likewise.
15670 * sunrpc/svc_tcp.c: Likewise.
15671 * sunrpc/svc_udp.c: Likewise.
15672 * sunrpc/svc_unix.c: Likewise.
15673 * sunrpc/svcauth_des.c: Likewise.
15674 * sunrpc/xcrypt.c: Likewise.
15675 * sunrpc/xdr.c: Likewise.
15676 * sunrpc/xdr_array.c: Likewise.
15677 * sunrpc/xdr_float.c: Likewise.
15678 * sunrpc/xdr_intXX_t.c: Likewise.
15679 * sunrpc/xdr_mem.c: Likewise.
15680 * sunrpc/xdr_rec.c: Likewise.
15681 * sunrpc/xdr_ref.c: Likewise.
15682 * sunrpc/xdr_sizeof.c: Likewise.
15683 * sunrpc/xdr_stdio.c: Likewise.
15685 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15688 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15689 * sysdeps/ia64/dl-tls.h: Likewise.
15690 * sysdeps/powerpc/dl-tls.h: Likewise.
15691 * sysdeps/s390/dl-tls.h: Likewise.
15692 * sysdeps/sh/dl-tls.h: Likewise.
15693 * sysdeps/sparc/dl-tls.h: Likewise.
15694 * sysdeps/x86_64/dl-tls.h: Likewise.
15695 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15697 2011-03-14 Andreas Schwab <schwab@redhat.com>
15699 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15700 rpath element also skip the following colon.
15701 (expand_dynamic_string_token): Add is_path parameter and pass
15702 down to DL_DST_REQUIRED and _dl_dst_substitute.
15703 (decompose_rpath): Call expand_dynamic_string_token with
15704 non-zero is_path. Ignore empty rpaths.
15705 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15708 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15713 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15716 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15717 Patch by Filipe David Manana <fdmanana@apache.org>.
15719 2011-04-07 Andreas Schwab <schwab@redhat.com>
15721 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15722 Maintain aligned stack.
15723 (CHECK_RSP): Remove unused macro.
15725 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15727 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15728 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15730 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15732 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15734 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15736 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15739 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15740 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15741 * sysdeps/x86_64/memmove.c: New file.
15742 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15743 (memcpy): Renamed to ...
15744 (__new_memcpy): This.
15745 (memcpy): Provide GLIBC_2_14 memcpy.
15746 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15747 (memcpy): Provide GLIBC_2_2_5 memcpy.
15749 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15752 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15754 2011-03-30 Andreas Schwab <schwab@redhat.com>
15756 * misc/syncfs.c: New file.
15757 * misc/Makefile (routines): Add syncfs.
15758 * posix/unistd.h: Declare syncfs.
15759 * sysdeps/unix/syscalls.list: Add syncfs.
15761 2011-04-01 Andreas Schwab <schwab@redhat.com>
15763 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15765 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15766 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15768 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15770 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15771 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15773 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15775 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15777 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15779 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15783 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15784 sync_file_range.c with -fexceptions.
15785 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15786 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15787 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15788 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15789 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15790 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15792 sync_file_range as cancellation point
15793 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15794 now a wrapper around __call_sync_file_range with cancellation handling.
15795 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15796 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15797 function name to __call_sync_file_range.
15798 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15799 Add call_sync_file_range.
15801 2011-04-01 Andreas Schwab <schwab@redhat.com>
15803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15806 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15808 * iconv/iconv.h: Fix typo in comment.
15809 * io/fcntl.h: Likewise.
15810 * libio/stdio.h: Likewise.
15811 * posix/spawn.h: Likewise.
15812 * posix/unistd.h: Likewise.
15813 * stdlib/stdlib.h: Likewise.
15814 * time/time.h: Likewise.
15815 * wcsmbs/wchar.h: Likewise.
15817 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15818 open_by_handle): Add.
15819 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15820 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15821 Augment a few comments.
15822 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15824 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15826 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15827 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15830 * io/fcntl.h (AT_EMPTY_PATH): Define.
15832 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15834 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15835 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15836 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15838 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15839 * Versions.def: Add GLIBC_2.14.
15840 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15843 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15845 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15847 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15849 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15852 * string/test-strncmp.c (do_page_test): New function.
15853 (check2): Likewise.
15854 (test_main): Call check2.
15855 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15857 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15860 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15861 Handle cache information in CPU leaf 4.
15862 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15864 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15867 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15868 character representation.
15869 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15871 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15873 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15874 END(__isnan) to END(__isnanf) to match function entry point/label
15875 EALIGN(__isnanf,...).
15877 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15879 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15881 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15884 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15885 copy from the symbol referenced in the relocation to initialize the
15887 Patch by Piotr Bury <pbury@goahead.com>.
15888 * elf/Makefile: Add rules to build and tst-unique3.
15889 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15890 * elf/tst-unique3.cc: New file.
15891 * elf/tst-unique3.h: New file.
15892 * elf/tst-unique3lib.cc: New file.
15893 * elf/tst-unique3lib2.cc: New file.
15895 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15897 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15899 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15900 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15903 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15905 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15906 to-be-loaded object along a path to loader is ld.so.
15908 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15909 Ulrich Drepper <drepper@gmail.com>
15911 * sysdeps/x86_64/memset.S: After aligning destination, code
15912 branches to different locations depending on the value of
15913 misalignment, when multiarch is enabled. Fix this.
15915 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15917 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15918 Set _x86_64_preferred_memory_instruction for AMD processsors.
15919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15920 Set bit_Prefer_SSE_for_memop for AMD processors.
15922 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15924 * libio/fmemopen.c (fmemopen): Optimize a bit.
15926 2011-03-03 Andreas Schwab <schwab@redhat.com>
15928 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15930 2011-03-03 Roland McGrath <roland@redhat.com>
15932 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15934 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15936 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15937 __bzero_ultra1 instead of __memset_ultra1.
15939 2011-02-23 Andreas Schwab <schwab@redhat.com>
15940 Ulrich Drepper <drepper@gmail.com>
15943 * include/link.h (struct link_map): Add l_orig_initfini.
15944 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15945 returning unsuccessfully.
15946 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15947 close of a file loaded at startup, restore the original l_initfini
15949 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15950 list, store the pointer.
15951 * elf/Makefile ($(objpfx)noload-mem): New rule.
15952 (noload-ENV): Define.
15953 (tests): Add $(objpfx)noload-mem.
15954 * elf/noload.c: Include <memcheck.h>.
15955 (main): Call mtrace. Close all opened handles.
15957 2011-02-17 Andreas Schwab <schwab@redhat.com>
15960 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15961 dependencies are missing.
15963 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15965 Fix __if_freereq crash: Unlike the generic version which uses free,
15967 * sysdeps/mach/hurd/ifreq.h: New file.
15969 2011-01-27 Petr Baudis <pasky@suse.cz>
15970 Ulrich Drepper <drepper@gmail.com>
15973 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15974 to extend_alloca().
15975 * stdio-common/bug23.c: New file.
15976 * stdio-common/Makefile (tests): Add bug23.
15978 2010-09-28 Andreas Schwab <schwab@redhat.com>
15979 Ulrich Drepper <drepper@gmail.com>
15982 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15983 before performing relro protection. At old place add assertion
15984 to make sure nothing changed.
15986 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15987 Glauber de Oliveira Costa <glommer@gmail.com>
15989 * elf/elf.h: Add new ARM TLS relocs.
15991 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15994 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15996 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15998 * sysdeps/wordsize-64/tst-writev.c: New file.
16000 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16002 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16003 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16004 insns in _dl_start to prevent a TOC reference before relocs are
16007 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16010 * Makeconfig: Remove RANLIB definition.
16011 * Makerules: Don't use RANLIB.
16012 * aclocal.m4: Remove ranlib test.
16013 * configure.in: No need to check for ranlib.
16014 * elf/rtld-Rules: Don't use RANLIB.
16016 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16018 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16020 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16021 inclusion protection macro.
16023 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16024 SIGRTMIN and SIGRTMAX and print information in that case only when
16025 SIGRTMIN is defined.
16027 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16029 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16030 arginfo fn returning -1.
16032 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16033 and thousands string is zero terminated.
16035 2011-02-03 Andreas Schwab <schwab@redhat.com>
16037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16038 sysdeps/unix/sysv/linux/bits/socket.h.
16040 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16042 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16043 (__CPU_COUNT): Remove old macros.
16044 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16045 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16046 (__CPU_ALLOC, __CPU_FREE): Add macros.
16047 (__sched_cpualloc, __sched_cpufree): Add declarations.
16049 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16051 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16052 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16053 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16054 (readdhstai): Return value of addhstaiX call.
16055 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16056 (addgrbyX): Return value returned by cache_addgr.
16057 (readdgrbyname): Return value returned by addgrbyX.
16058 (readdgrbygid): Likewise.
16059 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16060 (addpwbyX): Return value returned by cache_addpw.
16061 (readdpwbyname): Return value returned by addhstbyX.
16062 (readdpwbyuid): Likewise.
16063 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16064 (addservbyX): Return value returned by cache_addserv.
16065 (readdservbyname): Return value returned by addservbyX:
16066 (readdservbyport): Likewise.
16067 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16068 (addhstbyX): Return value returned by cache_addhst.
16069 (readdhstbyname): Return value returned by addhstbyX.
16070 (readdhstbyaddr): Likewise.
16071 (readdhstbynamev6): Likewise.
16072 (readdhstbyaddrv6): Likewise.
16073 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16074 (readdinitgroups): Return value returned by addinitgroupsX.
16075 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16076 (prune_cache): Keep track of timeout value of re-added entries.
16077 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16078 * nscd/nscd.h: Adjust prototypes of readd* functions.
16080 2011-02-04 Roland McGrath <roland@redhat.com>
16082 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16083 (nis_stats): Likewise.
16084 * nis/nis_modify.c (nis_modify): Likewise.
16085 * nis/nis_remove.c (nis_remove): Likewise.
16086 * nis/nis_add.c (nis_add): Likewise.
16088 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16090 * posix/fnmatch_loop.c: Add some consts.
16092 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16094 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16097 * config.make.in (config-cflags-novzeroupper): Define.
16098 * configure.in: Substitute libc_cv_cc_novzeroupper.
16099 * elf/Makefile (AVX-CFLAGS): Define.
16100 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16101 (CFLAGS-tst-auditmod4a.c): Likewise.
16102 (CFLAGS-tst-auditmod4b.c): Likewise.
16103 (CFLAGS-tst-auditmod6b.c): Likewise.
16104 (CFLAGS-tst-auditmod6c.c): Likewise.
16105 (CFLAGS-tst-auditmod7b.c): Likewise.
16106 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16108 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16110 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16111 function to the callback.
16112 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16114 2011-02-02 Andreas Schwab <schwab@redhat.com>
16116 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16119 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16122 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16124 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16126 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16129 * elf/Makefile: Add rules to build and run new test.
16130 * elf/tst-initorder.c: New file.
16131 * elf/tst-initorder.exp: New file.
16132 * elf/tst-initordera1.c: New file.
16133 * elf/tst-initordera2.c: New file.
16134 * elf/tst-initordera3.c: New file.
16135 * elf/tst-initordera4.c: New file.
16136 * elf/tst-initorderb1.c: New file.
16137 * elf/tst-initorderb2.c: New file.
16138 * elf/tst-order-a1.c: New file.
16139 * elf/tst-order-a2.c: New file.
16140 * elf/tst-order-a3.c: New file.
16141 * elf/tst-order-a4.c: New file.
16142 * elf/tst-order-b1.c: New file.
16143 * elf/tst-order-b2.c: New file.
16144 * elf/tst-order-main.c: New file.
16145 New test case by George Gensure <werkt0@gmail.com>.
16147 2010-10-01 Andreas Schwab <schwab@redhat.com>
16149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16150 decoding ACE if AI_CANONIDN.
16152 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16154 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16156 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16158 * version.h (RELEASE): Bump for 2.13 release.
16159 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16161 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16163 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16165 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16166 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16167 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16168 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16169 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16170 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16172 * posix/getconf.c: Update copyright year.
16173 * catgets/gencat.c: Likewise.
16174 * csu/version.c: Likewise.
16175 * debug/catchsegv.sh: Likewise.
16176 * debug/xtrace.sh: Likewise.
16177 * elf/ldconfig.c: Likewise.
16178 * elf/ldd.bash.in: Likewise.
16179 * elf/sprof.c (print_version): Likewise.
16180 * iconv/iconv_prog.c: Likewise.
16181 * iconv/iconvconfig.c: Likewise.
16182 * locale/programs/locale.c: Likewise.
16183 * locale/programs/localedef.c: Likewise.
16184 * malloc/memusage.sh: Likewise.
16185 * malloc/mtrace.pl: Likewise.
16186 * nscd/nscd.c (print_version): Likewise.
16187 * nss/getent.c: Likewise.
16189 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16190 PF_CAIF, and PF_ALG.
16191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16193 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16195 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16196 (modules-names): Use them.
16197 (ifunc-test-modules, ifunc-pie-tests): Define.
16198 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16199 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16200 (test-extras): Likewise.
16201 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16202 $(compile-command.c).
16203 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16204 (all-built-dso): Define.
16205 (check-textrel.out, check-execstack.out): Depend on it.
16207 * configure.in: Don't override --enable-multi-arch.
16209 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16212 * nscd/hstcache.c (tryagain): Define.
16213 (cache_addhst): Return tryagain not notfound for temporary errors.
16214 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16217 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16220 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16221 to make the syscall.
16222 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16225 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16226 and fall back to matching as normal character if the string ends before
16227 the matching ']' is found. This is what POSIX requires.
16228 * posix/testfnm.c: Adjust test result.
16229 * posix/globtest.sh: Adjust test result. Add new test.
16230 * posix/tst-fnmatch.input: Likewise.
16231 * posix/tst-fnmatch2.c: Add new test.
16233 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16235 * elf/Makefile (check-execstack): Revert last change. Depend on
16237 (check-execstack.h): New target.
16238 (generated): Add check-execstack.h.
16239 * elf/check-execstack.c: Include "check-execstack.h".
16240 (main): Revert last change.
16241 (handle_file): Return zero if GNU_STACK is absent and
16242 DEFAULT_STACK_PERMS doesn't include PF_X.
16244 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16246 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16247 in child fails because the descriptor is already closed.
16248 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16249 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16250 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16253 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16257 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16258 temporary buffer used to handle multi lookups locally.
16259 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16261 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16263 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16266 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16268 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16269 alignment for SSE2.
16271 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16274 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16275 characters. When rounding increased number of integer digits recompute
16277 * stdio-common/tst-grouping.c: New file.
16278 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16280 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16282 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16283 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16285 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16287 * bits/select.h: Likewise.
16289 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16291 * po/ja.po: Update from translation team.
16293 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16296 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16297 implementation just like for lxstat, fxstatat, et al.
16299 2010-12-27 Jim Meyering <meyering@redhat.com>
16302 * posix/regexec.c (build_trtable): Return failure indication upon
16303 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16305 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16308 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16309 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16310 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16311 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16314 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16317 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16318 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16320 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16322 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16323 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16324 script has SORT_BY_INIT_PRIORITY.
16325 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16326 NO_CTORS_DTORS_SECTIONS is defined.
16327 * elf/soinit.c: Likewise.
16328 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16329 NO_CTORS_DTORS_SECTIONS is defined.
16330 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16331 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16332 * sysdeps/sh/init-first.c: Likewise.
16333 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16335 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16337 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16338 always use the slow path.
16340 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16342 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16343 similar rule which adds the sysdep directories to the header search in
16344 order to pick up the correct platform stackinfo.h.
16345 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16346 perform test if it is, otherwise return successfully without testing.
16347 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16348 DEFAULT_STACK_PERMS define in stackinfo.h.
16349 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16350 defined in stackinfo.h.
16351 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16352 DEFAULT_STACK_PERMS defined in stackinfo.h.
16353 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16354 * sysdeps/ia64/stackinfo.h: Likewise.
16355 * sysdeps/s390/stackinfo.h: Likewise.
16356 * sysdeps/sh/stackinfo.h: Likewise.
16357 * sysdeps/sparc/stackinfo.h: Likewise.
16358 * sysdeps/x86_64/stackinfo.h: Likewise.
16359 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16360 PF_X for powerpc64. Retain PF_X for powerpc32.
16362 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16364 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16366 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16367 GETDENTS_64BIT_ALIGNED.
16369 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16371 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16373 2010-12-10 Andreas Schwab <schwab@redhat.com>
16375 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16378 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16379 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16381 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16382 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16384 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16387 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16390 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16392 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16394 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16396 * po/it.po: Update from translation team.
16398 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16403 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16405 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16407 2010-11-24 Andreas Schwab <schwab@redhat.com>
16409 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16411 (gaih_getanswer_slice): Likewise.
16413 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16417 2010-05-31 Petr Baudis <pasky@suse.cz>
16420 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16421 silently even in the chroot mode.
16423 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16425 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16426 last patch a bit. Pretty printing
16428 2010-05-31 Petr Baudis <pasky@suse.cz>
16431 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16432 initialization of skip_initgroups_dyn.
16434 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16436 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16437 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16439 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16441 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16443 2010-11-11 Andreas Schwab <schwab@redhat.com>
16445 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16446 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16447 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16448 ($(objpfx)tst-fnmatch-mem): New rule.
16449 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16450 * posix/tst-fnmatch.c (main): Call mtrace.
16452 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16455 Support Intel processor model 6 and model 0x2c.
16457 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16459 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16462 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16465 * string/test-strncasecmp.c (check_result): New function.
16466 (do_one_test): Use it.
16467 (check1): New function.
16468 (test_main): Use it.
16469 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16470 Support strcasecmp and strncasecmp.
16472 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16475 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16476 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16478 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16480 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16484 * sysdeps/x86_64/multiarch/bzero.S: New file.
16485 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16486 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16487 * sysdeps/x86_64/multiarch/memset.S: New file.
16488 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16490 Set bit_Prefer_SSE_for_memop for Intel processors.
16491 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16493 (index_Prefer_SSE_for_memop): Define.
16494 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16496 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16498 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16499 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16501 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16504 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16505 (__x86_64_raw_data_cache_size_half): Likewise.
16506 (__x86_64_raw_shared_cache_size): Likewise.
16507 (__x86_64_raw_shared_cache_size_half): Likewise.
16509 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16510 (__x86_64_raw_data_cache_size_half): Likewise.
16511 (__x86_64_raw_shared_cache_size): Likewise.
16512 (__x86_64_raw_shared_cache_size_half): Likewise.
16513 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16514 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16515 and __x86_64_raw_shared_cache_size_half. Round
16516 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16517 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16518 to multiple of 256 bytes.
16520 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16523 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16524 of inacessible symlinks. Verify result of symlink before returning it.
16525 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16526 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16528 2010-10-28 Erich Ritz <erichritz@gmail.com>
16530 * math/math.h (isinf): Fix typo in comment.
16532 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16534 * po/da.po: Update from translation team.
16536 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16538 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16539 is added to the list.
16541 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16542 Ulrich Drepper <drepper@gmail.com>
16544 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16545 the global list here. Move code to...
16546 (_dl_add_to_namespace_list): ...here. New function.
16547 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16548 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16549 * elf/dl-load.c (lose): Don't remove the element from the list.
16550 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16551 (_dl_map_object): Likewise.
16553 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16556 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16557 into all bytes of SSE register.
16558 Patch by Richard Li <richardpku@gmail.com>.
16560 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16563 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16566 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16568 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16569 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16570 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16571 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16576 2010-10-22 Andreas Schwab <schwab@redhat.com>
16578 * include/dlfcn.h (__RTLD_SECURE): Define.
16579 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16580 mode & __RTLD_SECURE instead.
16581 (open_path): Rename preloaded parameter to secure.
16582 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16583 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16584 * elf/dl-deps.c (openaux): Likewise.
16585 * elf/rtld.c (struct map_args): Remove is_preloaded.
16586 (map_doit): Don't use it.
16587 (dl_main): Likewise.
16588 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16589 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16591 2010-09-09 Andreas Schwab <schwab@redhat.com>
16593 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16594 (sysd-rules-targets): Remove duplicates.
16595 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16596 rtld-%.$o dependency.
16598 2010-10-18 Andreas Schwab <schwab@redhat.com>
16600 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16601 _dl_map_object do it.
16603 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16605 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16606 fast fma builtins, define the macros in the C99 standard.
16607 (FP_FAST_FMAF): Likewise.
16608 (FP_FAST_FMAL): Likewise.
16609 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16611 * bits/mathdef.h: Update copyright year.
16612 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16614 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16616 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16617 builtins, define the macros in the C99 standard.
16618 (FP_FAST_FMAF): Likewise.
16619 (FP_FAST_FMAL): Likewise.
16620 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16622 (FP_FAST_FMAF): Likewise.
16624 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16627 * math/libm-test.inc (fma_test): Some new testcases.
16628 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16629 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16630 y and infinite z. Do multiplication by C already in long double.
16631 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16633 y and infinite z. Do bitwise or of inexact bit into u.d.
16634 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16635 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16636 * sysdeps/i386/fpu/s_fma.S: Removed.
16637 * sysdeps/i386/fpu/s_fmal.S: Removed.
16639 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16642 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16644 computation is not scheduled after fetestexcept. Fix value
16645 of minimum denormal long double.
16647 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16650 * math/libm-test.inc (fma_test): Add some more tests.
16651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16654 2010-10-15 Andreas Schwab <schwab@redhat.com>
16656 * scripts/data/localplt-s390-linux-gnu.data: New file.
16657 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16659 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16662 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16663 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16665 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16667 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16669 if one of x and y is very large and the other is subnormal.
16670 * sysdeps/s390/fpu/s_fmaf.c: New file.
16671 * sysdeps/s390/fpu/s_fma.c: New file.
16672 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16673 * sysdeps/powerpc/fpu/s_fma.S: New file.
16674 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16675 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16676 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16678 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16681 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16683 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16684 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16685 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16686 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16687 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16688 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16691 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16694 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16695 * posix/bug-regex31.input: Add test case.
16697 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16699 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16700 * posix/bug-regex31.input: New file.
16703 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16704 (parse_sub_exp): Fix last change, use postorder.
16706 * posix/bug-regex31.c: New file.
16707 * posix/Makefile: Add rules to build and run bug-regex31.
16709 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16712 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16715 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16716 to have entries in sys_siglist.
16719 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16722 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16725 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16726 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16727 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16728 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16729 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16730 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16731 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16732 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16733 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16734 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16735 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16736 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16737 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16738 * math/ftestexcept.c (fetestexcept): Likewise.
16739 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16740 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16741 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16742 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16743 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16744 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16745 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16747 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16750 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16753 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16755 * string/bug-strstr1.c: New file.
16756 * string/Makefile: Add rules to build and run bug-strstr1.
16758 2010-10-05 Eric Blake <eblake@redhat.com>
16761 * string/str-two-way.h (two_way_long_needle): Always clear memory
16762 when skipping input due to the shift table.
16764 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16767 * malloc/mcheck.c: Handle large requests.
16770 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16771 for strncmp and strncasecmp.
16772 * string/stratcliff.c: Add tests for strcmp and strncmp.
16773 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16775 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16777 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16780 2010-09-30 Andreas Jaeger <aj@suse.de>
16782 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16783 (CGROUP_SUPER_MAGIC): Define.
16784 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16785 Handle btrfs and cgroup file systems.
16786 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16789 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16791 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16792 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16794 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16797 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16798 trying to locate the ELF header.
16800 2010-09-27 Andreas Schwab <schwab@redhat.com>
16803 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16804 Mask out sign-bit copies when constructing f_fsid.
16806 2010-09-24 Petr Baudis <pasky@suse.cz>
16808 * debug/stack_chk_fail_local.c: Add missing licence exception.
16809 * debug/warning-nop.c: Likewise.
16811 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16813 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16814 implementing getdents64 using getdents syscall, set d_type if
16815 __ASSUME_GETDENTS32_D_TYPE.
16817 2010-09-16 Andreas Schwab <schwab@redhat.com>
16819 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16820 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16822 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16825 * posix/unistd.h: Undo change of feature selection for ftruncate from
16828 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16830 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16833 2010-09-20 Andreas Schwab <schwab@redhat.com>
16835 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16837 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16839 2010-09-14 Andreas Schwab <schwab@redhat.com>
16841 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16842 variables after CHECK_SP call.
16843 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16845 2010-09-13 Andreas Schwab <schwab@redhat.com>
16846 Ulrich Drepper <drepper@redhat.com>
16848 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16849 re-relocationg ld.so.
16850 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16851 _dl_init_paths call.
16852 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16855 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16857 * resolv/res_init.c (__res_vinit): Count the default server we added.
16859 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16860 Ulrich Drepper <drepper@redhat.com>
16863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16864 (____longjmp_chk): Use %ebx for saving value across system call.
16867 2010-09-06 Andreas Schwab <schwab@redhat.com>
16869 * manual/Makefile: Don't mix pattern rules with normal rules.
16871 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16873 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16875 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16876 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16877 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16878 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16882 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16885 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16886 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16888 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16890 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16891 * sysdeps/x86_64/addmul_1.S: Likewise.
16892 * sysdeps/x86_64/lshift.S: Likewise.
16893 * sysdeps/x86_64/mul_1.S: Likewise.
16894 * sysdeps/x86_64/rshift.S: Likewise.
16895 * sysdeps/x86_64/sub_n.S: Likewise.
16896 * sysdeps/x86_64/submul_1.S: Likewise.
16898 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16900 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16901 Define __sched_param instead of SCHED_* and sched_param when
16902 <bits/sched.h> is included with __need_schedparam defined.
16903 * bits/sched.h [__need_schedparam]
16904 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16905 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16906 (__defined_schedparam): Define to 1.
16907 (__sched_param): New structure, identical to sched_param.
16908 (__need_schedparam): Undefine.
16910 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16912 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16913 (epoll_create1): Declare.
16915 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16917 2010-08-31 Andreas Schwab <schwab@redhat.com>
16920 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16921 shifting retval into place.
16923 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16925 * nis/rpcsvc/nis.h: Update copyright notice.
16926 * nis/rpcsvc/nis.x: Likewise.
16927 * nis/rpcsvc/nis_callback.h: Likewise.
16928 * nis/rpcsvc/nis_callback.x: Likewise.
16929 * nis/rpcsvc/nis_object.x: Likewise.
16930 * nis/rpcsvc/nis_tags.h: Likewise.
16931 * nis/rpcsvc/yp.h: Likewise.
16932 * nis/rpcsvc/yp.x: Likewise.
16933 * nis/rpcsvc/ypupd.h: Likewise.
16934 * nis/yp_xdr.c: Likewise.
16935 * nis/ypupdate_xdr.c: Likewise.
16937 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16938 mainly the body of pmap_getport. Add parameters to specify timeouts.
16939 (pmap_getport): Use __libc_rpc_getport.
16940 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16941 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16942 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16944 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16949 2010-08-27 Roland McGrath <roland@redhat.com>
16951 * sysdeps/i386/i686/multiarch/Makefile
16952 (CFLAGS-varshift.c): New variable.
16954 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16956 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16957 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16961 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16963 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16965 * sysdeps/x86_64/strlen.S: Unroll the loop.
16966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16967 strlen-sse2 strlen-sse2-bsf.
16968 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16969 __strlen_no_bsf if bit_Slow_BSF is set.
16970 (__strlen_sse42): Removed.
16971 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16972 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16974 2010-08-25 Roland McGrath <roland@redhat.com>
16976 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16977 * sysdeps/x86_64/multiarch/varshift.c: New file.
16978 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16979 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16980 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16981 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16983 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16986 strlen-sse2 strlen-sse2-bsf.
16987 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16988 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16989 (__strlen_sse2): Removed.
16990 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16991 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16993 bit_Slow_BSF for Atom.
16994 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16995 (index_Slow_BSF): Define.
16996 (HAS_SLOW_BSF): Define.
16998 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17001 * resolv/res_init.c (__res_vinit): When no server address at all
17002 is given default to loopback.
17004 2010-08-24 Roland McGrath <roland@redhat.com>
17006 * configure.in: Remove config-name.h generation.
17007 * configure: Regenerated.
17008 * config-name.in: File removed.
17009 * scripts/config-uname.sh: New file.
17010 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17011 ($(objdir)config-name.h): New target.
17013 * sunrpc/rpc_parse.h: Avoid nested comment.
17015 2010-08-24 Richard Henderson <rth@redhat.com>
17016 Ulrich Drepper <drepper@redhat.com>
17017 H.J. Lu <hongjiu.lu@intel.com>
17019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17021 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17022 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17023 _mm_alignr_epi8 with _mm_loadu_si128.
17024 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17025 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17026 (__m128i_shift_right): Removed.
17027 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17028 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17029 * sysdeps/x86_64/multiarch/varshift.h: New file.
17030 * sysdeps/x86_64/multiarch/varshift.S: New file.
17032 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17034 * configure.in: Move assembler checks to before sysdep dir checking.
17036 2010-08-20 Petr Baudis <pasky@suse.cz>
17038 * LICENSES: Sync the sunrpc license.
17040 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17042 * sunrpc/auth_des.c: Update copyright notice once again.
17043 * sunrpc/auth_none.c: Likewise.
17044 * sunrpc/auth_unix.c: Likewise.
17045 * sunrpc/authdes_prot.c: Likewise.
17046 * sunrpc/authuxprot.c: Likewise.
17047 * sunrpc/bindrsvprt.c: Likewise.
17048 * sunrpc/clnt_gen.c: Likewise.
17049 * sunrpc/clnt_perr.c: Likewise.
17050 * sunrpc/clnt_raw.c: Likewise.
17051 * sunrpc/clnt_simp.c: Likewise.
17052 * sunrpc/clnt_tcp.c: Likewise.
17053 * sunrpc/clnt_udp.c: Likewise.
17054 * sunrpc/clnt_unix.c: Likewise.
17055 * sunrpc/des_crypt.c: Likewise.
17056 * sunrpc/des_soft.c: Likewise.
17057 * sunrpc/get_myaddr.c: Likewise.
17058 * sunrpc/getrpcport.c: Likewise.
17059 * sunrpc/key_call.c: Likewise.
17060 * sunrpc/key_prot.c: Likewise.
17061 * sunrpc/openchild.c: Likewise.
17062 * sunrpc/pm_getmaps.c: Likewise.
17063 * sunrpc/pm_getport.c: Likewise.
17064 * sunrpc/pmap_clnt.c: Likewise.
17065 * sunrpc/pmap_prot.c: Likewise.
17066 * sunrpc/pmap_prot2.c: Likewise.
17067 * sunrpc/pmap_rmt.c: Likewise.
17068 * sunrpc/rpc/auth.h: Likewise.
17069 * sunrpc/rpc/auth_unix.h: Likewise.
17070 * sunrpc/rpc/clnt.h: Likewise.
17071 * sunrpc/rpc/des_crypt.h: Likewise.
17072 * sunrpc/rpc/key_prot.h: Likewise.
17073 * sunrpc/rpc/netdb.h: Likewise.
17074 * sunrpc/rpc/pmap_clnt.h: Likewise.
17075 * sunrpc/rpc/pmap_prot.h: Likewise.
17076 * sunrpc/rpc/pmap_rmt.h: Likewise.
17077 * sunrpc/rpc/rpc.h: Likewise.
17078 * sunrpc/rpc/rpc_des.h: Likewise.
17079 * sunrpc/rpc/rpc_msg.h: Likewise.
17080 * sunrpc/rpc/svc.h: Likewise.
17081 * sunrpc/rpc/svc_auth.h: Likewise.
17082 * sunrpc/rpc/types.h: Likewise.
17083 * sunrpc/rpc/xdr.h: Likewise.
17084 * sunrpc/rpc_clntout.c: Likewise.
17085 * sunrpc/rpc_cmsg.c: Likewise.
17086 * sunrpc/rpc_common.c: Likewise.
17087 * sunrpc/rpc_cout.c: Likewise.
17088 * sunrpc/rpc_dtable.c: Likewise.
17089 * sunrpc/rpc_hout.c: Likewise.
17090 * sunrpc/rpc_main.c: Likewise.
17091 * sunrpc/rpc_parse.c: Likewise.
17092 * sunrpc/rpc_parse.h: Likewise.
17093 * sunrpc/rpc_prot.c: Likewise.
17094 * sunrpc/rpc_sample.c: Likewise.
17095 * sunrpc/rpc_scan.c: Likewise.
17096 * sunrpc/rpc_scan.h: Likewise.
17097 * sunrpc/rpc_svcout.c: Likewise.
17098 * sunrpc/rpc_tblout.c: Likewise.
17099 * sunrpc/rpc_util.c: Likewise.
17100 * sunrpc/rpc_util.h: Likewise.
17101 * sunrpc/rpcinfo.c: Likewise.
17102 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17103 * sunrpc/rpcsvc/key_prot.x: Likewise.
17104 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17105 * sunrpc/rpcsvc/mount.x: Likewise.
17106 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17107 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17108 * sunrpc/rpcsvc/rex.x: Likewise.
17109 * sunrpc/rpcsvc/rstat.x: Likewise.
17110 * sunrpc/rpcsvc/rusers.x: Likewise.
17111 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17112 * sunrpc/rpcsvc/spray.x: Likewise.
17113 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17114 * sunrpc/rtime.c: Likewise.
17115 * sunrpc/svc.c: Likewise.
17116 * sunrpc/svc_auth.c: Likewise.
17117 * sunrpc/svc_authux.c: Likewise.
17118 * sunrpc/svc_raw.c: Likewise.
17119 * sunrpc/svc_run.c: Likewise.
17120 * sunrpc/svc_simple.c: Likewise.
17121 * sunrpc/svc_tcp.c: Likewise.
17122 * sunrpc/svc_udp.c: Likewise.
17123 * sunrpc/svc_unix.c: Likewise.
17124 * sunrpc/svcauth_des.c: Likewise.
17125 * sunrpc/xcrypt.c: Likewise.
17126 * sunrpc/xdr.c: Likewise.
17127 * sunrpc/xdr_array.c: Likewise.
17128 * sunrpc/xdr_float.c: Likewise.
17129 * sunrpc/xdr_mem.c: Likewise.
17130 * sunrpc/xdr_rec.c: Likewise.
17131 * sunrpc/xdr_ref.c: Likewise.
17132 * sunrpc/xdr_sizeof.c: Likewise.
17133 * sunrpc/xdr_stdio.c: Likewise.
17135 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17138 2010-08-19 Andreas Schwab <schwab@redhat.com>
17140 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17142 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17144 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17145 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17146 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17147 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17148 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17149 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17150 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17151 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17152 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17153 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17154 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17155 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17156 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17157 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17159 2010-07-26 Anton Blanchard <anton@samba.org>
17161 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17162 * malloc/arena.c (heap_trim): Likewise.
17164 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17166 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17169 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17171 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17173 * sysdeps/i386/elf/Makefile: New file.
17175 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17177 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17178 from fanotify_init.
17179 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17180 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17182 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17184 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17186 * sysdeps/multiarch/strcmp.S: Likewise.
17188 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17190 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17191 strncase_l-nonascii.
17192 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17193 Add strncase_l-ssse3.
17194 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17195 * sysdeps/x86_64/strcmp.S: Likewise.
17196 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17197 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17198 * sysdeps/x86_64/strncase.S: New file.
17199 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17200 * sysdeps/x86_64/strncase_l.S: New file.
17201 * string/Makefile (strop-tests): Add strncasecmp.
17202 * string/test-strncasecmp.c: New file.
17204 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17207 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17208 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17210 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17212 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17214 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17216 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17217 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17218 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17220 2010-05-01 Alan Modra <amodra@gmail.com>
17222 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17223 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17224 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17225 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17226 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17227 tidying. Don't tail-call __sigjmp_save for static lib.
17228 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17230 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17231 (CALL_MCOUNT): Add eh info, and nop after bl.
17232 (TAIL_CALL_SYSCALL_ERROR): New macro.
17233 (PSEUDO_RET): Use it.
17234 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17235 Correct save location of integer regs and cr.
17236 (_dl_profile_resolve): Correct cr save location. Delete nops
17237 after bl when SHARED. Reduce cfi size a little by better
17238 placement of cfi directives.
17239 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17240 make a stack frame. Instead use parm save area as a temp.
17241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17242 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17244 Don't make a stack frame for parent, use parm save area.
17245 Increase child stack frame to 112 bytes. Don't save unused reg,
17246 and adjust reg usage. Set up cfi on error recovery and
17247 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17249 (__makecontext): Add dummy nop after jump to exit.
17250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17251 Use correct parm save area and cr save, reduce stack frame.
17252 Correct cfi for possible PSEUDO_RET frame setup.
17253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17254 Branch to local label emitted by PSEUDO_RET rather than
17257 2010-08-12 Andreas Schwab <schwab@redhat.com>
17260 * locale/programs/locale.c (print_assignment): New function.
17261 (show_locale_vars): Use it.
17263 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17265 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17267 (struct statfs64): Likewise.
17268 (_STATFS_F_FLAGS): Define.
17269 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17270 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17271 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17272 (ST_VALID): Define locally.
17273 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17274 __statvfs_getflags, use the provided value.
17275 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17276 __ASSUME_STATFS_F_FLAGS.
17278 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17280 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17281 Add sys/fanotify.h.
17282 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17283 fanotify_mask for GLIBC_2.13.
17284 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17285 fanotify_init and fanotify_mark.
17286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17287 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17289 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17291 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17292 prlimit64 for GLIBC_2.13.
17293 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17295 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17298 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17299 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17300 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17301 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17303 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17306 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17307 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17309 * nss/Makefile: Add rules to build and run tst-nss-test1.
17310 * shlib-versions: Add entry for libnss_test1.
17311 * nss/nss_test1.c: New file.
17312 * nss/tst-nss-test1.c: New file.
17314 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17315 (__nss_configure_lookup): Set appropriate entry in
17316 __nss_configure_lookup to true.
17317 * nss/nsswitch.h: Define enum with indeces of databases in
17318 databases and __nss_database_custom arrays. Declare
17319 __nss_database_custom.
17320 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17321 to avoid using nscd when custom rules are installed.
17322 * nss/getXXbyYY_r.c: Likewise.
17323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17325 * nss/nss_files/files-parse.c: Whitespace fixes.
17327 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17330 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17331 * posix/fnmatch_loop.c: Likewise.
17333 2010-07-17 Andi Kleen <ak@linux.intel.com>
17335 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17336 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17337 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17338 * Versions.def [GLIBC_2.13]: Add.
17340 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17343 Also fail if tpwd after pwuid call is NULL.
17345 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17347 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17348 when converting to ms.
17350 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17352 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17353 EOPNOTSUPP errors with ENOTTY.
17354 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17355 EOPNOTSUPP errors with ENOTTY.
17357 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17359 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17360 Add strcasecmp_l-ssse3.
17361 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17363 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17364 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17365 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17367 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17369 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17371 * string/Makefile (strop-tests): Add strcasecmp.
17372 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17373 strcasecmp_l-nonascii.
17374 (gen-as-const-headers): Add locale-defines.sym.
17375 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17376 * sysdeps/x86_64/strcasecmp.S: New file.
17377 * sysdeps/x86_64/strcasecmp_l.S: New file.
17378 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17379 * sysdeps/x86_64/locale-defines.sym: New file.
17380 * string/test-strcasecmp.c: New file.
17382 * string/test-strcasestr.c: Test both ends of the range of characters.
17383 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17385 2010-07-29 Roland McGrath <roland@redhat.com>
17388 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17390 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17392 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17395 2010-07-27 Andreas Schwab <schwab@redhat.com>
17397 * manual/memory.texi (Malloc Tunable Parameters): Document
17400 2010-07-26 Roland McGrath <roland@redhat.com>
17403 * configure.in (-fgnu89-inline check): Set and substitute
17404 gnu89_inline, not libc_cv_gnu89_inline.
17405 * configure: Regenerated.
17406 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17408 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17410 * string/test-strnlen.c: New file.
17411 * string/Makefile (strop-tests): Add strnlen.
17412 * string/tester.c (test_strnlen): Add a few more test cases.
17413 * string/tst-strlen.c: Better error reporting.
17415 * sysdeps/x86_64/strnlen.S: New file.
17417 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17419 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17420 lower-latency instructions.
17422 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17424 * string/test-strcasestr.c: New file.
17425 * string/test-strstr.c: New file.
17426 * string/Makefile (strop-tests): Add strstr and strcasestr.
17427 * string/str-two-way.h: Don't undefine MAX.
17428 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17430 2010-07-21 Andreas Schwab <schwab@redhat.com>
17432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17433 strcasestr-nonascii.
17434 (CFLAGS-strcasestr-nonascii.c): Define.
17435 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17437 Remove unused attribute.
17439 2010-07-20 Roland McGrath <roland@redhat.com>
17441 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17442 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17443 ld.so.cache was broken. With it, there is no way to disable dsocaps
17444 like LD_HWCAP_MASK can disable hwcaps.
17446 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17448 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17450 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17452 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17453 call in strcasestr.
17454 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17455 __strcasestr_sse42_nonascii.
17456 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17457 strcasestr-nonascii.c.
17458 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17460 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17462 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17463 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17464 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17465 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17467 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17469 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17472 2010-07-06 Andreas Schwab <schwab@redhat.com>
17475 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17478 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17481 _PC_PIPE_BUF using F_GETPIPE_SZ.
17483 2010-07-05 Roland McGrath <roland@redhat.com>
17485 * manual/arith.texi (Rounding Functions): Fix rint description
17486 implicit in round description.
17488 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17490 * elf/Makefile: Fix linking for a few tests to make recent linker
17493 2010-06-30 Andreas Schwab <schwab@redhat.com>
17495 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17496 $(common-objpfx)libc_nonshared.a.
17498 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17500 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17501 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17502 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17503 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17504 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17505 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17506 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17507 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17522 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17523 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17524 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17525 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17526 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17527 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17528 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17529 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17530 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17531 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17532 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17533 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17549 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17551 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17552 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17553 * string/memmove.c (memmove): Renamed to ...
17554 (MEMMOVE): ...this. Default to memmove.
17555 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17556 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17559 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17560 mempcpy-ssse3-back memmove-ssse3-back.
17561 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17562 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17564 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17565 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17566 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17567 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17568 * sysdeps/x86_64/multiarch/memmove.c: New file.
17569 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17570 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17571 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17572 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17573 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17574 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17576 (index_Fast_Copy_Backward): Define.
17577 (HAS_ARCH_FEATURE): Define.
17578 (HAS_FAST_REP_STRING): Define.
17579 (HAS_FAST_COPY_BACKWARD): Define.
17581 2010-06-21 Andreas Schwab <schwab@redhat.com>
17583 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17584 Restore proper fallback handling.
17586 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17589 * posix/group_member.c (__group_member): Correct checking loop.
17591 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17592 OOM in getpwuid_r correctly. Return error number when the caller
17593 should return, otherwise -1.
17594 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17595 call returning > 0 value.
17596 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17598 2010-06-07 Andreas Schwab <schwab@redhat.com>
17600 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17601 libc_nonshared.a from targets in modules-names.
17603 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17605 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17608 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17610 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17611 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17612 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17615 2010-06-02 Andreas Schwab <schwab@redhat.com>
17617 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17619 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17621 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17623 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17628 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17630 2010-06-14 Roland McGrath <roland@redhat.com>
17632 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17634 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17636 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17637 __REDIRECT followed by __THROW.
17638 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17639 * posix/getopt.h (getopt): Likewise.
17641 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17643 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17644 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17645 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17647 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17648 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17650 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17652 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17654 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17658 Properly check family and model.
17660 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17662 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17664 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17666 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17668 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17670 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17673 2010-05-19 Andreas Schwab <schwab@redhat.com>
17675 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17678 2010-05-21 Andreas Schwab <schwab@redhat.com>
17680 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17681 and internal_recvmmsg.
17682 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17683 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17684 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17685 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17687 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17688 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17689 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17691 2010-05-20 Andreas Schwab <schwab@redhat.com>
17693 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17695 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17697 POWER7 optimizations.
17698 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17699 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17701 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17703 * version.h: Update for 2.13 development version.
17705 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17707 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17708 exceptions. Return 0.
17710 2010-05-07 Roland McGrath <roland@redhat.com>
17712 * elf/ldconfig.c (main): Add a const.
17714 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17716 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17717 (args_options): Add no-idn option.
17718 (ahosts_keys_int): Add idn_flags to ai_flags.
17719 (parse_option): Handle 'i' option to clear idn_flags.
17721 * malloc/malloc.c (_int_free): Possible race in the most recently
17722 added check. Only act on the data if no current modification
17725 See ChangeLog.17 for earlier changes.