1 2012-07-30 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7 (NOGROUP, NODEV): New macros.
8 (setbit, clrbit, isset, isclr): New macros.
9 (howmany, roundup, powerof2): New macros.
10 (DEV_BSIZE): New macro.
12 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16 definition on [!__NO_LONG_DOUBLE_MATH].
18 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19 PTR_MANGLE and PTR_DEMANGLE.
21 * socket/accept4.c (accept4): Rename to __libc_accept4.
22 Define accept4 as a weak alias.
24 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25 on [_DIRENT_HAVE_D_TYPE].
26 * io/ftw.c (ftw_dir): Likewise.
28 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33 Use the BSD numbers rather than the arbitrary ones we had.
34 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36 (SIGXCPU, SIGXFSZ): New macros.
39 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40 initializer on [_LIBC_REENTRANT].
42 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43 definitions inside [_POSIX_MAPPED_FILES].
45 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47 * dirent/opendir.c: Include <fcntl.h>.
49 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
50 (__libc_getspecific): Likewise.
51 (__libc_key_create): Likewise.
53 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
56 (tmpfile64): Define as alias.
57 * sysdeps/wordsize-64/tmpfile.c: File removed.
58 * sysdeps/wordsize-64/tmpfile64.c: File removed.
59 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62 * stdio-common/vfscanf.c: Include <stdbool.h>.
63 * nss/makedb.c: Likewise.
64 * stdio-common/_i18n_number.h: Likewise.
65 * argp/argp-help.c: Likewise.
66 * posix/wordexp.c: Likewise.
67 * sysdeps/posix/spawni.c: Likewise.
68 * nss/nss_files/files-initgroups.c: Likewise.
69 * stdio-common/reg-modifier.c: Include <stdlib.h>.
70 * nss/nss_files/files-initgroups.c: Likewise.
71 * nss/nss_db/db-netgrp.c: Likewise.
72 * nss/nss_db/db-initgroups.c: Likewise.
73 * io/fchmodat.c: Include <sys/stat.h>.
75 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
76 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
81 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
82 Add multiple inclusion protection.
84 2012-07-27 David S. Miller <davem@davemloft.net>
86 * sysdeps/sparc/fpu/libm-test-ulps: Update.
88 2012-07-27 Gary Benson <gbenson@redhat.com>
91 * elf/rtld.c: Include <stap-probe.h>.
92 (dl_main): Added static probes "init_start" and "init_complete".
93 * elf/dl-load.c: Include <stap-probe.h>.
94 (lose): Take new parameter "nsid".
95 Added static probe "map_failed".
96 (_dl_map_object_from_fd): Pass namespace id to lose.
97 Added static probe "map_start".
98 (open_verify): Pass namespace id to lose.
99 * elf/dl-open.c: Include <stap-probe.h>.
100 (dl_open_worker) Added static probes "map_complete", "reloc_start"
101 and "reloc_complete".
102 * elf/dl-close.c: Include <stap-probe.h>.
103 (_dl_close_worker): Added static probes "unmap_start" and
105 * elf/rtld-debugger-interface.txt: New file documenting the above.
107 2012-07-26 Roland McGrath <roland@hack.frob.com>
109 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
110 rather than a string variable.
111 * sunrpc/rpc_main.c (h_output): Likewise.
112 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
114 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
116 * inet/check_native.c: New file.
118 2012-07-26 Joseph Myers <joseph@codesourcery.com>
121 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
122 if larger part has absolute value 1.0.
123 * math/s_clog10.c (__clog10): Likewise.
124 * math/s_clog10f.c (__clog10f): Likewise.
125 * math/s_clog10l.c (__clog10l): Likewise.
126 * math/s_clogf.c (__clogf): Likewise.
127 * math/s_clogl.c (__clogl): Likewise.
128 * math/libm-test.inc (clog_test): Add more tests.
129 (clog10_test): Likewise.
130 * sysdeps/i386/fpu/libm-test-ulps: Update.
131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
133 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
136 (La_retval): Likewise.
137 (int_retval): Likewise.
138 Update #error for removed macros to refer only to definitions in
140 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
144 (La_retval): Likewise.
145 (int_retval): Likewise.
146 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
150 (La_retval): Likewise.
151 (int_retval): Likewise.
152 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
156 (La_retval): Likewise.
157 (int_retval): Likewise.
158 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
162 (La_retval): Likewise.
163 (int_retval): Likewise.
164 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
168 (La_retval): Likewise.
169 (int_retval): Likewise.
170 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
174 (La_retval): Likewise.
175 (int_retval): Likewise.
176 * sysdeps/generic/tst-audit.h: Update comment to refer only to
177 macro definitions in tst-audit.h.
178 * sysdeps/i386/tst-audit.h: New file.
179 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
180 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
181 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
182 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
183 * sysdeps/sh/tst-audit.h: Likewise.
184 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
185 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
186 * sysdeps/x86_64/tst-audit.h: Likewise.
188 2012-07-26 Andreas Jaeger <aj@suse.de>
190 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
193 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
194 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
195 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
197 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
198 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
199 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
201 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
204 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
206 (si_call_addr, si_syscall, si_arch): Define new macro.
207 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
209 (si_call_addr, si_syscall, si_arch): Define new marcro.
210 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
212 (si_call_addr, si_syscall, si_arch): Define new macro.
213 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
215 (si_call_addr, si_syscall, si_arch): Define new macro.
217 2012-07-25 Joseph Myers <joseph@codesourcery.com>
220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
221 Change to 2.4.21 where previously 2.4.1.
222 * sysdeps/unix/sysv/linux/configure: Regenerated.
223 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
224 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
225 Linux kernel version.
226 (__ASSUME_STD_AUXV): Remove.
227 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
229 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
230 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
231 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
232 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
233 (__ASSUME_NETLINK_SUPPORT): Likewise.
234 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
235 (__no_netlink_support): Remove conditional definition.
236 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
238 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
239 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
240 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
241 (if_nameindex_ioctl): Remove.
242 (if_nameindex_netlink): Do not handle __no_netlink_support.
243 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
245 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
246 Remove conditional code.
247 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
249 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
251 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
252 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
253 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
255 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
256 [!__ASSUME_STD_AUXV]: Remove conditional code.
257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
258 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
259 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
261 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
262 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
264 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
266 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
267 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
269 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
271 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
274 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
277 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
279 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
281 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
283 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
286 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
288 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
291 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
293 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
295 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
297 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
300 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
302 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
304 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
306 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
309 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
311 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
312 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
313 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
314 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
315 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
316 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
317 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
318 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
319 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
320 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
321 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
322 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
323 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
324 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
325 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
326 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
327 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
328 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
329 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
331 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
332 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
333 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
335 2012-07-25 Florian Weimer <fweimer@redhat.com>
337 * Versions.def: Add GLIBC_2.17.
338 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
339 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
340 Introduce __libc_secure_getenv.
341 * stdlib/Versions (2.17): Add secure_getenv
342 (GLIBC_PRIVATE): Add __libc_secure_getenv.
343 * stdlib/secure-getenv.c: Rename __secure_getenv to
344 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
345 symbol __secure_getenv for GLIBC_2.0.
346 * stdlib/tst-secure-getenv.c: New.
347 * stdlib/Makefile (tests): Add testcase.
348 * manual/startup.texi (Environment Access): Document
350 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
351 __libc_secure_getenv.
352 * inet/ruserpass.c (ruserpass): Likewise.
353 * malloc/mtrace.c (mtrace): Likewise.
354 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
355 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
356 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
357 * sysdeps/posix/tempname.c: Likewise. Evaluate
359 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
360 __secure_getenv to __libc_secure_getenv.
361 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
368 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
374 2012-07-25 Joseph Myers <joseph@codesourcery.com>
376 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
377 (struct La_i86_retval): Likewise.
378 (struct La_x86_64_regs): Likewise.
379 (struct La_x86_64_retval): Likewise.
380 (struct La_x32_regs): Likewise.
381 (struct La_x32_retval): Likewise.
382 (struct La_ppc32_regs): Likewise.
383 (struct La_ppc32_retval): Likewise.
384 (struct La_ppc64_regs): Likewise.
385 (struct La_ppc64_retval): Likewise.
386 (struct La_sh_regs): Likewise.
387 (struct La_sh_retval): Likewise.
388 (struct La_s390_32_regs): Likewise.
389 (struct La_s390_32_retval): Likewise.
390 (struct La_s390_64_regs): Likewise.
391 (struct La_s390_64_retval): Likewise.
392 (struct La_sparc32_regs): Likewise.
393 (struct La_sparc32_retval): Likewise.
394 (struct La_sparc64_regs): Likewise.
395 (struct La_sparc64_retval): Likewise.
396 (struct audit_ifaces): Remove architecture-specific pltenter and
398 * sysdeps/i386/ldsodefs.h: New file.
399 * sysdeps/powerpc/ldsodefs.h: Likewise.
400 * sysdeps/s390/ldsodefs.h: Likewise.
401 * sysdeps/sh/ldsodefs.h: Likewise.
402 * sysdeps/sparc/ldsodefs.h: Likewise.
403 * sysdeps/x86_64/ldsodefs.h: Likewise.
405 2012-07-25 Marek Polacek <polacek@redhat.com>
408 * math/libm-test.inc (yn_test): Add another test.
409 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
410 to ERANGE when the result is +-Inf.
411 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
412 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
413 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
414 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
416 2012-07-24 Joseph Myers <joseph@codesourcery.com>
418 * conform/data/time.h-data (NULL): Use macro-constant. Require
420 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
422 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
424 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
426 * configure.in <sysdeps resolving>: Correct printing
428 * configure: Regenerate.
430 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
432 * math/w_ilogb.c: Include <limits.h>.
433 * math/w_ilogbl.c: Likewise.
435 2012-07-20 Joseph Myers <joseph@codesourcery.com>
437 * manual/lang.texi (__va_copy): Document primarily as ISO C99
438 va_copy. Document allowing for unavailable va_copy only as
439 pre-C99 compatibility.
440 * manual/string.texi (Copying and Concatenation): Use va_copy
441 instead of __va_copy in concat example.
443 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
445 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
446 (__sendto): Use create_address_port. Initialize APORT and deallocate
449 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
450 with O_NOLINK passed to __file_name_lookup.
452 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
453 with O_NOLINK passed to __file_name_lookup.
455 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
456 negative N or less than NGIDS.
458 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
459 type to string_t. Set ERANGE as errno and return it if NAME is not big
460 enough. Use memcpy instead of strncpy.
462 2012-07-20 Joseph Myers <joseph@codesourcery.com>
464 * elf/Makefile (check-data): Remove.
465 (localplt.data): New vpath directive.
466 ($(objpfx)check-localplt.out): Use localplt.data from vpath
467 instead of $(check-data).
468 * scripts/data/localplt-generic.data: Move to ...
469 * sysdeps/generic/localplt.data: ... here.
470 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
471 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
472 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
475 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
478 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
481 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
484 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
487 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
491 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
493 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
494 PPC32 and PPC64 files.
495 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
496 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
498 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
500 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
501 __makecontext_ret to ...
502 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
503 ... here and call exit if uc_link is NULL. New file.
504 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
506 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
507 __makecontext_ret to ...
508 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
509 ... here and call exit if uc_link is NULL. New file.
510 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
513 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
515 * elf/elf.h (R_390_IRELATIVE): New definition.
516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
517 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
518 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
519 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
520 (elf_machine_lazy_rel): Likewise.
521 * sysdeps/s390/dl-irel.h: New file.
522 * sysdeps/s390/s390-64/memcpy.S: New asm code.
523 * sysdeps/s390/s390-64/memset.S: New asm code.
524 * sysdeps/s390/s390-64/memcmp.S: New asm code.
525 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
526 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
527 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
528 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
529 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
530 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
531 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
532 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
533 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
534 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
535 * sysdeps/s390/s390-32/memcpy.S: New asm code.
536 * sysdeps/s390/s390-32/memset.S: New asm code.
537 * sysdeps/s390/s390-32/memcmp.S: New asm code.
539 2012-07-17 Marek Polacek <polacek@redhat.com>
542 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
543 * sysdeps/s390/s390-64/configure.in: Likewise.
544 * sysdeps/sparc/configure.in: Likewise.
545 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
546 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
547 * sysdeps/i386/configure.in: Likewise.
548 * sysdeps/x86_64/configure.in: Likewise.
549 * sysdeps/sh/configure.in: Likewise.
550 * sysdeps/s390/s390-32/configure: Regenerated.
551 * sysdeps/s390/s390-64/configure: Likewise.
552 * sysdeps/x86_64/configure: Likewise.
553 * sysdeps/sh/configure: Likewise.
554 * sysdeps/powerpc/powerpc64/configure: Likewise.
555 * sysdeps/powerpc/powerpc32/configure: Likewise.
556 * sysdeps/sparc/configure: Likwise.
557 * sysdeps/i386/configure: Likewise.
559 * elf/dl-open.c: Comment fixes.
561 2012-07-17 Joseph Myers <joseph@codesourcery.com>
563 * Makefile [CXX] (check-data): Remove.
564 [CXX] (c++-types.data): New vpath directive.
565 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
566 vpath. Do not allow for C++ type data being missing.
567 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
568 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
569 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
570 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
571 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
572 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
573 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
576 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
579 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
582 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
585 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
588 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
591 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
594 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
597 * elf/tls-macros.h (TLS_LE): Move architecture-specific
598 definitions to architecture-specific files.
602 * sysdeps/i386/tls-macros.h: New file.
603 * sysdeps/powerpc/tls-macros.h: Likewise.
604 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
605 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
606 * sysdeps/sh/tls-macros.h: Likewise.
607 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
608 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
609 * sysdeps/x86_64/tls-macros.h: Likewise.
611 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
613 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
614 zero value for regular exit case.
616 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
617 (__start_context): Preserve zero value for regular exit case.
619 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
620 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
622 * manual/setjmp.texi (setcontext): Clarify normal process
623 termination when uc_link is the null pointer.
624 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
627 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
629 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
630 preprocessor. Test for each exception mask separately.
632 2012-07-16 Andreas Jaeger <aj@suse.de>
634 * po/ru.po: Update from translation team.
636 2012-07-15 Joseph Myers <joseph@codesourcery.com>
638 * conform/data/string.h-data (NULL): Use macro-constant. Require
640 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
641 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
642 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
643 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
646 2012-07-13 Andreas Jaeger <aj@suse.de>
648 * po/fr.po: Update from translation team.
650 2012-07-12 Marek Polacek <polacek@redhat.com>
653 * math/libm-test.inc (yn_test): Add test for BZ #14173.
654 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
657 2012-07-12 Joseph Myers <joseph@codesourcery.com>
660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
661 Change to 2.4.1 where previously 2.4.0.
662 * sysdeps/unix/sysv/linux/configure: Regenerated.
663 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
664 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
666 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
667 (__ASSUME_AT_CLKTCK): Remove.
668 (__ASSUME_AT_PAGESIZE): Likewise.
669 (__ASSUME_AT_XID): Likewise.
670 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
671 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
672 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
674 (HAVE_AUX_PAGESIZE): Likewise.
675 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
676 [__ASSUME_AT_CLKTCK]: Make code unconditional.
677 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
679 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
683 the temporary buffer used to invoke __gethostbyname2_r,
684 __gethostbyaddr_r and gethostbyname4_r to make room for struct
685 host_data / struct gaih_addrtuple.
686 * resolv/nss_dns/dns-host.c (global scope): Move definition of
687 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
688 header file nss/nsswitch.h.
689 * nss/nsswitch.h (global scope): Add definition of implementation
690 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
691 resolv/nss_dns/dns-host.c).
693 2012-07-11 Andreas Jaeger <aj@suse.de>
695 * po/fr.po: Update from translation team.
697 * po/sv.po: Update from translation team
698 * po/fr.po: Another update from translation team.
700 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
703 for subnormals or multiply small sinh result by itself.
704 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
707 2012-07-11 David S. Miller <davem@davemloft.net>
709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
711 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
714 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
715 (INTERNAL_MARK): Shift it here.
717 2012-07-10 Marek Polacek <polacek@redhat.com>
720 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
721 libc_cv_asm_global_directive with .globl.
722 * configure: Regenerated.
723 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
725 * sysdeps/i386/configure: Regenerated.
726 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
728 * sysdeps/x86_64/configure: Regenerated.
729 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
730 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
731 * elf/tst-unique2mod2.c: Likewise.
732 * elf/tst-unique2mod1.c: Likewise.
733 * elf/tst-unique1mod2.c: Likewise.
734 * elf/tst-unique1mod1.c: Likewise.
735 * sysdeps/s390/s390-32/sysdep.h: Likewise.
736 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
737 * sysdeps/s390/s390-64/sysdep.h: Likewise.
738 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
739 * sysdeps/mach/sysdep.h: Likewise.
740 * sysdeps/i386/sysdep.h: Likewise.
741 * sysdeps/i386/i386-mcount.S: Likewise.
742 * sysdeps/x86_64/_mcount.S: Likewise.
743 * sysdeps/x86_64/sysdep.h: Likewise.
744 * sysdeps/sh/_mcount.S: Likewise.
745 * sysdeps/sh/sysdep.h: Likewise.
746 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
747 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
748 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
749 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
750 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
751 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
752 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
753 * locale/localeinfo.h: Likewise.
754 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
755 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
757 2012-07-09 Roland McGrath <roland@hack.frob.com>
760 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
762 * manual/message.texi (The Uniforum approach): Likewise.
763 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
764 (glibc iconv Implementation): Likewise.
766 2012-07-09 Joseph Myers <joseph@codesourcery.com>
769 * math/s_clog.c (__clog): Avoid scaling a value down where that
770 could result in underflow.
771 * math/s_clog10.c (__clog10): Likewise.
772 * math/s_clog10f.c (__clog10f): Likewise.
773 * math/s_clog10l.c (__clog10l): Likewise.
774 * math/s_clogf.c (__clogf): Likewise.
775 * math/s_clogl.c (__clogl): Likewise.
776 * math/libm-test.inc (clog_test): Add more tests.
777 (clog10_test): Likewise.
778 * sysdeps/i386/fpu/libm-test-ulps: Update.
779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
781 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
784 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
785 by 7 not 8 to examine high bit of fractional part.
788 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
789 for call to __mcount_internal.
790 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
791 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
792 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
794 2012-07-06 Joseph Myers <joseph@codesourcery.com>
797 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
798 approximation for values within 0x1p-13f of an odd multiple of
800 * math/libm-test.inc (tan_test): Do not allow spurious underflow
801 exception. Add more tests.
802 * sysdeps/i386/fpu/libm-test-ulps: Update.
805 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
806 inputs and return -1 for them. Do not check for +Inf in case not
808 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
809 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
810 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
811 and return -1 for them. Do not check for +Inf in case not
813 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
815 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
816 and return -1 for them. Do not check for +Inf in case not
818 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
820 * sysdeps/i386/fpu/libm-test-ulps: Update.
821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
823 2012-07-06 Mike Frysinger <vapier@gentoo.org>
825 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
827 2012-07-05 Joseph Myers <joseph@codesourcery.com>
831 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
832 could result in spurious underflow. Scale down values above
833 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
834 * math/s_csqrtf.c (__csqrtf): Likewise.
835 * math/s_csqrtl.c (__csqrtl): Likewise.
836 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
838 * sysdeps/i386/fpu/libm-test-ulps: Update.
839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
841 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
843 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
845 * catgets/xopen-msg.awk: New file.
846 * catgets/xopen-msg.sed: Removed.
848 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
850 * intl/po2test.awk: New file.
851 * intl/po2test.sed: Removed.
853 2012-07-04 Joseph Myers <joseph@codesourcery.com>
856 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
857 or multiply small sinh result by itself.
858 * math/s_ctanf.c (__ctanf): Likewise.
859 * math/s_ctanh.c (__ctanh): Likewise.
860 * math/s_ctanhf.c (__ctanhf): Likewise.
861 * math/s_ctanhl.c (__ctanhl): Likewise.
862 * math/s_ctanl.c (__ctanl): Likewise.
863 * math/libm-test.inc (ctan_test_tonearest): New function.
864 (ctan_test_towardzero): Likewise.
865 (ctan_test_downward): Likewise.
866 (ctan_test_upward): Likewise.
867 (ctanh_test_tonearest): Likewise.
868 (ctanh_test_towardzero): Likewise.
869 (ctanh_test_downward): Likewise.
870 (ctanh_test_upward): Likewise.
871 (main): Call these new functions.
872 * sysdeps/i386/fpu/libm-test-ulps: Update.
873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
875 2012-07-03 Mike Frysinger <vapier@gentoo.org>
877 * .gitignore: Delete /ports entry.
879 2012-07-03 Andreas Jaeger <aj@suse.de>
881 * po/bg.po: Update from translation team.
882 * po/cs.po: Likewise.
883 * po/de.po: Likewise.
884 * po/hr.po: Likewise.
885 * po/nl.pl: Likewise.
886 * po/pl.po: Likewise.
887 * po/vi.po: Likewise.
889 2012-07-03 Joseph Myers <joseph@codesourcery.com>
891 * Makeconfig [!+link] (+link-before-libc): New variable.
892 [!+link] (+link-after-libc): Likewise.
893 [!+link] (+link-tests): Likewise.
894 [!+link] (+link): Define in terms of $(+link-before-libc) and
896 [!+link-static] (+link-static-before-libc): New variable.
897 [!+link-static] (+link-static-after-libc): Likewise.
898 [!+link-static] (+link-static-tests): Likewise.
899 [!+link-static] (+link-static): Define in terms of
900 $(+link-static-before-libc) and $(+link-static-after-libc).
901 [build-shared] (link-libc-before-gnulib): New variable.
902 [build-shared] (link-libc-tests): Likewise.
903 [build-shared] (link-libc): Define in terms of
904 $(link-libc-before-gnulib).
905 [!build-shared] (link-libc-tests): New variable.
906 (link-libc-static-tests): New variable.
907 [!gnulib] (gnulib-arch): New variable.
908 [!gnulib] (gnulib-tests): Likewise.
909 [!gnulib] (static-gnulib-arch): Likewise.
910 [!gnulib] (static-gnulib-tests): Likewise.
911 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
912 Define with "=" instead of ":=".
913 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
914 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
915 * Rules (binaries-all-notests): New variable.
916 (binaries-all-tests): Likewise.
917 (binaries-static-notests): Likewise.
918 (binaries-static-tests): Likewise.
919 (binaries-all): Define using $(binaries-all-notests) and
920 $(binaries-all-tests).
921 (binaries-static): Define using $(binaries-static-notests) and
922 $(binaries-static-tests).
923 (binaries-shared-tests): New variable.
924 (binaries-shared-notests): Likewise.
925 (binaries-shared): Remove variable.
926 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
927 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
928 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
929 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
930 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
931 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
932 * elf/Makefile (sln-modules): New variable.
933 (extra-objs): Add $(sln-modules:=.o).
934 (ldconfig-modules): Add static-stubs.
935 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
936 * elf/static-stubs.c: New file.
939 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
940 by 7 not 8 to examine high bit of fractional part. Use volatile
941 variables when splitting into final array of floats if
942 __FLT_EVAL_METHOD__ != 0.
943 * math/libm-test.inc (cos_test): Add another test.
944 (sin_test): Likewise.
945 * sysdeps/i386/fpu/libm-test-ulps: Update.
948 * math/libm-test.inc (cosh_test): Add more tests.
950 * version.h (RELEASE): Set to "development".
951 (VERSION): Set to "2.16.90".
953 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
955 * NEWS: Update copyright. Remove last-updated date.
956 Mention math library bug fixes and timezone data changes.
957 * README: Mention GNU/Hurd, x32, and HPPA support status.
959 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
961 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
963 2012-06-27 Andreas Jaeger <aj@suse.de>
965 * manual/contrib.texi (Contributors): Add Samuel Thibault.
967 2012-06-25 Andreas Jaeger <aj@suse.de>
969 * sysdeps/s390/fpu/libm-test-ulps: Update.
971 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
972 Thomas Schwinge <thomas@codesourcery.com>
974 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
975 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
979 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
981 * sysdeps/mach/start.c: Remove file.
982 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
983 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
984 * sysdeps/sh/init-first.c: Likewise.
986 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
987 registers for frame unwinding purposes, add CFI directives.
988 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
989 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
990 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
993 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
994 __fortify_fail returning.
995 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
997 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
998 sysdeps/sh/____longjmp_chk.S.
999 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1000 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1001 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1002 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1004 * sysdeps/sh/abort-instr.h: New file.
1005 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1006 process in case exit returns.
1008 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1009 initialize the GOT register before use.
1011 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1012 calculation of ARGC > 4.
1014 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1015 meaningful names to some local labels.
1017 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1018 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1020 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1021 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1022 (__arch_compare_and_exchange_val_16_acq): Likewise.
1023 (__arch_compare_and_exchange_val_32_acq): Likewise.
1024 (atomic_exchange_and_add): Fix gUSA sequence.
1025 (atomic_add): Likewise.
1026 (atomic_add_negative): Likewise.
1027 (atomic_add_zero): Likewise.
1028 (atomic_bit_test_set): Likewise.
1030 2012-06-22 Andreas Schwab <schwab@redhat.com>
1033 * include/link.h (struct link_map): Add l_free_initfini.
1034 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1036 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1037 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1038 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1041 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1043 * configure.in: Use AC_LANG_SOURCE.
1044 * configure: Regenerate.
1046 2012-06-22 Roland McGrath <roland@hack.frob.com>
1048 * configure.in (libc_cv_localstatedir): New substituted variable.
1049 * configure: Regenerated.
1050 * config.make.in (localstatedir): New variable, substituted from
1051 libc_cv_localstatedir.
1052 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1053 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1054 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1055 * sysdeps/gnu/configure: Regenerated.
1057 2012-06-21 Jeff Law <law@redhat.com>
1060 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1061 free. Simplify list management for _LIBC case.
1063 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1066 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1067 Clear sign bit of 64-bit integer value before comparing against
1070 * sysdeps/mach/configure: Regenerated.
1072 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1075 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1077 2012-06-21 Jeff Law <law@redhat.com>
1080 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1081 uint16_t for elements in the "seen" array to avoid char overflows.
1082 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1083 * elf/dl-open.c (dl_open_worker): Likewise.
1085 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1087 * scripts/list-sources.sh: Scan PORTS for translations.
1088 * po/libc.pot: Regenerated.
1090 2012-06-21 Andreas Jaeger <aj@suse.de>
1093 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1095 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1096 * bits/byteswap-16.h (__bswap_16): Likewise.
1097 * bits/byteswap.h (__bswap_constant_16): Likewise.
1099 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1102 * sysdeps/i386/fpu_control.h: Removed.
1103 * sysdeps/x86_64/fpu_control.h: Moved to ...
1104 * sysdeps/x86/fpu_control.h: Here.
1106 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1107 (_FPU_SETCW): Likewise.
1109 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1112 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1113 * sysdeps/x86/fpu/bits/mathinline.h: This.
1114 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1118 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1119 functions if __x86_64__ is defined.
1121 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1123 * string/endian.h: Add !__ASSEMBLER__ condition for including
1124 conversion interfaces.
1126 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1130 of ABS(x) in calculating zero to negative powers other than odd
1132 * math/libm-test.inc (pow_test): Add more tests.
1134 2012-06-15 Andreas Jaeger <aj@suse.de>
1136 * manual/contrib.texi (Contributors): Update entry of Liubov
1137 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1140 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1142 * string/string.h: Add __wur to GNU version of strerror_r.
1144 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1147 * string/Makefile (tests): Add tst-strtok_r.
1148 * string/tst-strtok_r.c: New file.
1149 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1150 RAX_LP/RDX_LP on SAVE_PTR.
1152 2012-06-14 Roland McGrath <roland@hack.frob.com>
1154 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1156 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1158 * libm_test.inc (csqrt_test): Allow more spurious underflow
1160 (j0_test): Likewise.
1161 (j1_test): Likewise.
1162 (y0_test): Likewise.
1163 (y1_test): Likewise.
1165 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1167 * po/Makefile (libc.pot): Use UTF-8 charset.
1169 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1172 Suppress sign-conversion warning from FD_SET.
1173 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1174 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1175 not unsigned long int.
1176 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1178 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1182 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1183 __extern_always_inline instead of __extern_inline.
1184 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1185 (__signbit): Likewise.
1186 (__signbitl): Support C++ namespace.
1187 (lrintf): New inline function.
1189 (llrintf): Likewise.
1201 (nearbyint): Likewise.
1202 (nearbyintf): Likewise.
1204 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1206 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1207 non-default versions.
1209 2012-06-11 Roland McGrath <roland@hack.frob.com>
1212 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1214 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1216 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1217 (FE_UPWARD, FE_DOWNWARD): Don't define.
1218 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1219 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1221 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1223 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1224 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1226 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1228 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1230 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1231 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1233 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1236 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1237 * sysdeps/i386/fpu/Implies: New file.
1238 * sysdeps/x86_64/fpu/Implies: Likewise.
1239 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1240 * sysdeps/x86/fpu/bits/fenv.h: This.
1242 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1245 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1248 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1249 character 0xffff that matches the last element of the
1252 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1257 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1259 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1260 values higher than 25.6283.
1262 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1264 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1265 subnormal exponent extraction and add some __builtin_expect.
1266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1267 Fix for subnormal mantissa calculation.
1269 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1271 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1272 cpu2 is -1 and errno is not ENOSYS.
1274 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1277 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1278 * sysdeps/x86/bits/string.h: This.
1279 * sysdeps/x86_64/bits/string.h: Removed.
1281 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1282 if not compiling for x86-64, but compiling for >= i486.
1284 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1285 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1287 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1288 New macro from Linux kernel 3.4.0.
1289 (FP_XSTATE_MAGIC2): Likewise.
1290 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1291 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1292 (struct _fpx_sw_bytes): New struct.
1293 (struct _xsave_hdr): Likewise.
1294 (struct _ymmh_state): Likewise.
1295 (struct _xstate): Likewise.
1297 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1298 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1299 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1300 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1301 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1302 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1304 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1305 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1306 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1307 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1308 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1309 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1311 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1314 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1315 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1316 (sysdep_headers): Include sys/platform/ppc.h.
1317 * sysdeps/powerpc/test-gettimebase.c: Test for
1318 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1319 * manual/Makefile (appendices): Include platform.texi.
1320 * manual/contrib.texi (Contributors): Update @node pointers.
1321 * manual/maint.texi (Maintenance): Likewise.
1322 (Platform): New node.
1323 * manual/platform.texi: New file. Document the new features.
1325 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1326 Jakub Jelinek <jakub@redhat.com>
1329 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1330 where __builtin_expect is unavailable.
1332 2012-06-03 David S. Miller <davem@davemloft.net>
1334 * stdlib/longlong.h: Updated from GCC.
1336 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1339 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1340 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1343 (GLIBC_2.16): Likewise.
1345 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1347 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1349 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1352 (default-abi): New variable.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1354 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1356 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1358 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1360 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1363 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1364 definition. Document in comment.
1366 2012-06-01 David S. Miller <davem@davemloft.net>
1368 * stdlib/longlong.h: Updated from GCC.
1370 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1373 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1374 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1375 sys/debugreg.h sys/io.h here.
1376 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1377 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1379 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1380 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1381 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1382 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1383 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1384 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1386 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1387 Define only if __x86_64__ is defined.
1389 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1392 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1393 Use int64_t for variable i.
1394 * math/libm-test.inc (fmod_test): Add more tests.
1396 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1397 z computation is not scheduled after fetestexcept.
1398 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1399 Use math_force_eval instead of asm to ensure calculation scheduled
1400 before exception test.
1401 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1402 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1404 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1407 computation is not scheduled after fetestexcept.
1409 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1412 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1413 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1415 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1417 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1418 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1420 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1423 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1425 (__WCHAR_MIN): Support __WORDSIZE == 64.
1426 (__WCHAR_MAX): Likewise.
1428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1429 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1432 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1433 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1436 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1437 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1439 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1440 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1442 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1443 Defined to 1 if __x86_64__ isn't defined.
1444 (_STAT_VER_LINUX_OLD): New.
1445 (st_atime): Remove duplicate.
1446 (st_mtime): Likewise.
1447 (st_ctime): Likewise.
1449 2012-05-31 David S. Miller <davem@davemloft.net>
1451 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1454 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1456 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1460 * elf/dl-reloc.c: Include <_itoa.h>.
1461 (_dl_reloc_bad_type): Remove use of INTUSE.
1462 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1463 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1464 * stdio-common/psiginfo.c (psiginfo): Likewise.
1465 * stdio-common/psignal.c (psignal): Likewise.
1466 * string/strsignal.c (strsignal): Likewise.
1467 * include/signal.h (_sys_siglist): Declare hidden proto.
1468 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1469 INTVARDEF with libc_hidden_data_def.
1470 * stdio-common/itoa-udigits.c: Likewise.
1471 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1472 (_itoa_lower_digits_internal): Remove declaration.
1473 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1474 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1475 (_sys_sigabbrev_internal): Remove aliases.
1476 (_sys_siglist): Define hidden alias.
1478 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1483 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1486 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1487 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1489 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1490 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1491 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1492 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1493 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1494 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1496 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1497 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1498 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1500 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1508 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1510 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1512 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1513 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1515 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1516 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1517 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1519 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1520 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1522 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1523 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1525 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1526 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1527 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1529 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1530 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1532 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1534 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1535 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1536 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1538 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1540 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1542 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1544 * math/math.h (M_El): Use two more decimal places.
1545 (M_LOG2El): Likewise.
1546 (M_LOG10El): Likewise.
1548 (M_LN10l): Likewise.
1550 (M_PI_2l): Likewise.
1551 (M_PI_4l): Likewise.
1552 (M_1_PIl): Likewise.
1553 (M_2_PIl): Likewise.
1554 (M_2_SQRTPIl): Likewise.
1555 (M_SQRT2l): Likewise.
1556 (M_SQRT1_2l): Likewise.
1558 2012-05-31 David S. Miller <davem@davemloft.net>
1560 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1561 values between float registers.
1562 * sysdeps/sparc/sparc64/memset.S: Likewise.
1563 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1565 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1567 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1568 -D_FORTIFY_SOURCE=1.
1569 (CPPFLAGS-tst-longjmp_chk.c): Define.
1570 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1571 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1572 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1573 CFLAGS-tst-wchar-h.c.
1575 2012-05-31 Marek Polacek <polacek@redhat.com>
1578 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1579 __endmntent_internal): Remove declaration.
1580 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1581 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1582 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1584 2012-05-30 David S. Miller <davem@davemloft.net>
1586 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1587 (___Q_simulate_exceptions): Use real FP ops rather than writing
1589 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1592 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1595 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1596 * sysdeps/x86/bits/xtitypes.h: This.
1598 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1599 * sysdeps/x86/bits/wordsize.h: This.
1601 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1602 * sysdeps/x86/bits/huge_vall.h: This.
1604 * sysdeps/i386/bits/select.h: Removed.
1605 * sysdeps/x86_64/bits/select.h: Renamed to ...
1606 * sysdeps/x86/bits/select.h: This.
1608 * sysdeps/i386/bits/setjmp.h: Removed.
1609 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1610 * sysdeps/x86/bits/setjmp.h: This.
1612 * sysdeps/i386/bits/mathdef.h: Removed.
1613 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1614 * sysdeps/x86/bits/mathdef.h: This.
1616 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1619 * include/sys/socket.h (__connect_internal)
1620 (__libc_sa_len_internal): Remove declaration.
1621 (__connect, __libc_sa_len): Declare hidden_proto.
1622 (SA_LEN): Remove use of INTUSE.
1623 * socket/connect.c: Add libc_hidden_def.
1624 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1625 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1626 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1628 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1629 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1630 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1631 of adding _internal alias.
1633 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1636 * sysdeps/i386/bits/link.h: Removed.
1637 * sysdeps/i386/bits/linkmap.h: Likewise.
1638 * sysdeps/x86_64/bits/link.h: Renamed to ...
1639 * sysdeps/x86/bits/link.h: This.
1640 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1641 * sysdeps/x86/bits/linkmap.h: This.
1643 * sysdeps/i386/bits/endian.h: Removed.
1644 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1645 * sysdeps/x86/bits/endian.h: This.
1647 * sysdeps/i386/bits/byteswap.h: Removed.
1648 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1649 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1650 * sysdeps/x86/bits/byteswap.h: This.
1651 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1652 * sysdeps/x86/bits/byteswap-16.h: This.
1653 * sysdeps/i386/Implies: Add x86.
1654 * sysdeps/x86_64/Implies: Likewise.
1656 2012-05-30 David S. Miller <davem@davemloft.net>
1658 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1659 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1661 (FP_TRAPPING_EXCEPTIONS): Define.
1662 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1663 (FP_TRAPPING_EXCEPTIONS): Define.
1664 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1665 subnormals only when inexact has been signalled or underflow
1666 exceptions are enabled.
1667 (_FP_PACK_CANONICAL): Likewise.
1669 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1672 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1673 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1675 2012-05-30 Richard Henderson <rth@twiddle.net>
1677 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1678 with #ifndef NOT_IN_libc.
1680 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1681 marked to avoid plt entry.
1683 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1686 * Makeconfig (default-abi): New macro.
1687 (abi-includes): Likewise.
1688 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1689 $(abi-$(default-abi)-lib-soname) for soname if defined.
1690 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1692 * Makefile (installed-stubs): Likewise.
1693 * include/stubs-biarch.h: Removed.
1694 * scripts/lib-names.awk: Only handle one library at a time.
1695 * scripts/soversions.awk: Remove WORDSIZE support.
1696 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1698 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1700 (syscall-list-default-condition): Likewise.
1701 (syscall-list-default-condition): Likewise.
1702 (syscall-list-includes): Likewise.
1703 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1704 syscall-list-* with abi-*. Handle undefined abi-variants.
1705 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1706 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1707 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1708 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1709 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1710 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1712 (syscall-list-32-options): Likewise.
1713 (syscall-list-32-condition): Likewise.
1714 (syscall-list-64-options): Likewise.
1715 (syscall-list-64-condition): Likewise.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1718 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1721 (abi-64-ld-soname): New macro.
1722 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1723 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1726 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1727 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1729 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1731 * sysdeps/unix/sysv/linux/kernel-features.h
1732 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1733 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1734 include <kernel-features.h>.
1735 [!__NR_ftruncate64]: Remove conditional code.
1736 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1737 [__NR_ftruncate64]: Make code unconditional.
1738 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1739 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1740 include <kernel-features.h>.
1741 [!__NR_ftruncate64]: Remove conditional code.
1742 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1743 [__NR_ftruncate64]: Make code unconditional.
1744 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1746 include <kernel-features.h>.
1747 [!__NR_ftruncate64]: Remove conditional code.
1748 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1749 [__NR_ftruncate64]: Make code unconditional.
1750 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1752 include <kernel-features.h>.
1753 [!__NR_ftruncate64]: Remove conditional code.
1754 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1755 [__NR_ftruncate64]: Make code unconditional.
1756 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1758 * configure.in (libc_cv_fpie): Weaken to a compile test using
1760 * configure: Regenerated.
1762 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1777 2012-05-27 David S. Miller <davem@davemloft.net>
1779 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1781 (__Q_simulate_exceptions): Return void. Change to simulate
1782 exceptions by writing into the %fsr.
1783 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1784 (__Qp_handle_exceptions): Likewise.
1786 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1787 __Qp_handle_exceptions.
1788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1789 __Qp_handle_exceptions.
1790 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1791 as unused and give dummy FP_RND_NEAREST initializer.
1792 (FP_INHIBIT_RESULTS): Define.
1793 (___Q_simulate_exceptions): Update declaration.
1794 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1796 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1797 as unused and give dummy FP_RND_NEAREST initializer.
1798 (__Qp_handle_exceptions): Update declaration.
1799 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1802 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1804 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1805 the temporary FPU control word.
1806 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1807 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1808 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1809 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1810 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1811 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1812 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1813 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1814 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1815 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1816 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1818 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1820 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1823 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1825 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1826 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1827 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1828 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1830 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1831 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1834 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1836 * po/h.po: Update from translation team.
1838 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1840 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1842 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1843 handling of denormals.
1844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1845 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1846 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1847 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1848 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1853 2012-05-26 Marek Polacek <polacek@redhat.com>
1856 * math/libm-test.inc (fma_test): Don't always expect underflow
1859 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1862 * elf/tst-execstack.c: Include stackinfo.h.
1863 (do_test): Adjust test case to ensure that pthread_getattr_np
1864 behaviour remains the same after marking stack executable.
1866 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1868 * sysdeps/unix/sysv/linux/kernel-features.h
1869 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1870 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1872 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1873 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1874 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1876 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1877 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1879 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1881 * configure.in: Define the default includes to being none.
1882 * configure: Regenerated.
1884 2012-05-25 Roland McGrath <roland@hack.frob.com>
1886 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1887 * sysdeps/x86_64/setjmp.S: Likewise.
1888 * sysdeps/i386/bsd-setjmp.S: Likewise.
1889 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1890 * sysdeps/i386/setjmp.S: Likewise.
1891 * sysdeps/i386/__longjmp.S: Likewise.
1892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1893 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1895 * include/stap-probe.h: New file.
1896 * configure.in: Handle --enable-systemtap.
1897 * configure: Regenerated.
1898 * config.h.in (USE_STAP_PROBE): New #undef.
1899 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1900 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1901 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1903 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1907 to 2.4.0 where earlier.
1908 * sysdeps/unix/sysv/linux/configure: Regenerated.
1909 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1910 <kernel-features.h>.
1911 [__ASSUME_32BITUIDS]: Make code unconditional.
1912 [!__ASSUME_32BITUIDS]: Remove conditional code.
1913 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1914 <kernel-features.h>.
1915 [__ASSUME_32BITUIDS]: Make code unconditional.
1916 [!__ASSUME_32BITUIDS]: Remove conditional code.
1917 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1918 [__ASSUME_32BITUIDS]: Make code unconditional.
1919 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1920 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1921 <kernel-features.h>.
1922 [__ASSUME_32BITUIDS]: Make code unconditional.
1923 [!__ASSUME_32BITUIDS]: Remove conditional code.
1924 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1925 <kernel-features.h>.
1926 [__ASSUME_32BITUIDS]: Make code unconditional.
1927 [!__ASSUME_32BITUIDS]: Remove conditional code.
1928 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1929 <kernel-features.h>.
1930 [__ASSUME_32BITUIDS]: Make code unconditional.
1931 [!__ASSUME_32BITUIDS]: Remove conditional code.
1932 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1933 <kernel-features.h>.
1934 [__ASSUME_32BITUIDS]: Make code unconditional.
1935 [!__ASSUME_32BITUIDS]: Remove conditional code.
1936 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1937 <kernel-features.h>.
1938 [__ASSUME_32BITUIDS]: Make code unconditional.
1939 [!__ASSUME_32BITUIDS]: Remove conditional code.
1940 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1941 <kernel-features.h>.
1942 [__ASSUME_32BITUIDS]: Make code unconditional.
1943 [!__ASSUME_32BITUIDS]: Remove conditional code.
1944 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1945 <kernel-features.h>.
1946 [__ASSUME_32BITUIDS]: Make code unconditional.
1947 [!__ASSUME_32BITUIDS]: Remove conditional code.
1948 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1949 <kernel-features.h>.
1950 [__ASSUME_32BITUIDS]: Make code unconditional.
1951 [!__ASSUME_32BITUIDS]: Remove conditional code.
1952 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1953 <kernel-features.h>.
1954 [__ASSUME_32BITUIDS]: Make code unconditional.
1955 [!__ASSUME_32BITUIDS]: Remove conditional code.
1956 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1957 <kernel-features.h>.
1958 [__ASSUME_32BITUIDS]: Make code unconditional.
1959 [!__ASSUME_32BITUIDS]: Remove conditional code.
1960 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1961 <kernel-features.h>.
1962 [__NR_setresgid] (__setresgid): Do not declare.
1963 [__ASSUME_32BITUIDS]: Make code unconditional.
1964 [!__ASSUME_32BITUIDS]: Remove conditional code.
1965 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1966 <kernel-features.h>.
1967 [__NR_setresuid] (__setresuid): Do not declare.
1968 [__ASSUME_32BITUIDS]: Make code unconditional.
1969 [!__ASSUME_32BITUIDS]: Remove conditional code.
1970 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1971 <kernel-features.h>.
1972 [__ASSUME_32BITUIDS]: Make code unconditional.
1973 [!__ASSUME_32BITUIDS]: Remove conditional code.
1974 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.c: Do not include
1983 <kernel-features.h>.
1984 [__ASSUME_32BITUIDS]: Make code unconditional.
1985 [!__ASSUME_32BITUIDS]: Remove conditional code.
1986 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1987 <kernel-features.h>.
1988 [__ASSUME_32BITUIDS]: Make code unconditional.
1989 [!__ASSUME_32BITUIDS]: Remove conditional code.
1990 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1991 <kernel-features.h>.
1992 [__ASSUME_32BITUIDS]: Make code unconditional.
1993 [!__ASSUME_32BITUIDS]: Remove conditional code.
1994 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1995 <kernel-features.h>.
1996 [__ASSUME_32BITUIDS]: Make code unconditional.
1997 [!__ASSUME_32BITUIDS]: Remove conditional code.
1998 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1999 <kernel-features.h>.
2000 [__ASSUME_32BITUIDS]: Make code unconditional.
2001 [!__ASSUME_32BITUIDS]: Remove conditional code.
2002 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2003 <kernel-features.h>.
2004 [__ASSUME_32BITUIDS]: Make code unconditional.
2005 [!__ASSUME_32BITUIDS]: Remove conditional code.
2006 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2007 <kernel-features.h>.
2008 [__ASSUME_32BITUIDS]: Make code unconditional.
2009 [!__ASSUME_32BITUIDS]: Remove conditional code.
2010 * sysdeps/unix/sysv/linux/kernel-features.h
2011 (__ASSUME_SETRESUID_SYSCALL): Remove.
2012 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2013 (__ASSUME_32BITUIDS): Likewise.
2014 (__ASSUME_LDT_WORKS): Likewise.
2015 (__ASSUME_O_DIRECTORY): Likewise.
2016 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2017 architecture but not kernel version.
2018 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2019 (__ASSUME_MMAP2_SYSCALL): Likewise.
2020 (__ASSUME_STAT64_SYSCALL): Likewise.
2021 (__ASSUME_IPC64): Likewise.
2022 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2023 <kernel-features.h>.
2024 [__ASSUME_32BITUIDS]: Make code unconditional.
2025 [!__ASSUME_32BITUIDS]: Remove conditional code.
2026 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2027 <kernel-features.h>.
2028 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2029 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2030 132096]: Remove conditional code.
2031 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2032 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2033 <kernel-features.h>.
2034 [__ASSUME_32BITUIDS]: Make code unconditional.
2035 [!__ASSUME_32BITUIDS]: Remove conditional code.
2036 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2037 <kernel-features.h>.
2038 [__ASSUME_32BITUIDS]: Make code unconditional.
2039 [!__ASSUME_32BITUIDS]: Remove conditional code.
2040 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2041 <kernel-features.h>.
2042 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2044 (__setresgid): Do not declare.
2045 [__ASSUME_32BITUIDS]: Make code unconditional.
2046 [!__ASSUME_32BITUIDS]: Remove conditional code.
2047 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2048 <kernel-features.h>.
2049 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2051 (__setresuid): Do not declare.
2052 [__ASSUME_32BITUIDS]: Make code unconditional.
2053 [!__ASSUME_32BITUIDS]: Remove conditional code.
2054 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2055 <kernel-features.h>.
2056 [__ASSUME_32BITUIDS]: Make code unconditional.
2057 [!__ASSUME_32BITUIDS]: Remove conditional code.
2058 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2059 <kernel-features.h>.
2060 [__ASSUME_32BITUIDS]: Make code unconditional.
2061 [!__ASSUME_32BITUIDS]: Remove conditional code.
2063 2012-05-25 Richard Henderson <rth@twiddle.net>
2065 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2066 dl_hwcap to ifunc resolver.
2067 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2069 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2070 dl_hwcap to ifunc resolver.
2071 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2073 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2076 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2077 for |x| <= 2**-26, not 2**-57.
2078 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2081 2012-05-24 Jeff Law <law@redhat.com>
2083 * stdio-common/Makefile (tests): Add bug25.
2084 * stdio-common/bug25.c: New test.
2086 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2089 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2090 multiple of MALLOC_ALIGNMENT in size.
2091 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2093 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2095 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2097 (FILENAME_MAX): Use macro-int-constant.
2098 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2099 (_IOFBF): Use macro-int-constant.
2102 (SEEK_CUR): Likewise.
2103 (SEEK_END): Likewise.
2104 (SEEK_SET): Likewise.
2105 (TMP_MAX): Likewise.
2106 (EOF): Use macro-int-constant. Require < 0.
2107 (NULL): Use macro-constant. Require == 0.
2108 (stdin): Require type to be FILE *.
2111 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2113 (EXIT_SUCCESS): Likewise.
2114 (NULL): Use macro-constant. Require == 0.
2115 (RAND_MAX): Use macro-int-constant.
2116 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2117 [C99-based standards] (strtof): Require function.
2118 [C99-based standards] (strtold): Likewise.
2119 [C99-based standards] (strtoll): Likewise.
2120 [C99-based standards] (strtoull): Likewise.
2121 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2122 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2123 [ISO || ISO99 || ISO11] (math.h): Likewise.
2124 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2125 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2128 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2131 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2132 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2133 * intl/dgettext.c (DCGETTEXT): Likewise.
2134 * intl/gettext.c (DCGETTEXT): Likewise.
2135 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2136 * posix/regex_internal.h (gettext): Likewise.
2137 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2139 * include/argz.h (__argz_count_internal)
2140 (__argz_stringify_internal): Remove declaration.
2141 (__argz_count, __argz_stringify): Declare hidden proto.
2142 * intl/dcgettext.c: Remove use of INTDEF.
2143 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2144 * string/argz-stringify.c: Likewise.
2145 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2146 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2147 Declare hidden proto.
2148 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2149 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2150 Declare hidden proto.
2151 * include/stdio.h (__asprintf_internal): Don't declare.
2152 (__asprintf): Don't define as macro. Declare hidden proto.
2153 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2154 (__fsetlocking): Declare hidden proto.
2155 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2156 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2158 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2159 (_IO_setlinebuf): Remove use of INTUSE.
2160 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2161 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2162 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2164 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2165 (_IO_do_flush): Remove use of INTUSE.
2166 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2167 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2168 (_IO_adjust_column, _IO_least_wmarker)
2169 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2170 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2171 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2172 (_IO_default_doallocate, _IO_wdefault_doallocate)
2173 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2174 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2175 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2176 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2177 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2178 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2179 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2180 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2181 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2182 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2183 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2184 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2185 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2187 (_IO_flush_all_internal, _IO_adjust_column_internal)
2188 (_IO_default_uflow_internal, _IO_default_finish_internal)
2189 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2190 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2191 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2192 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2193 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2194 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2195 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2196 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2197 (_IO_file_close_internal, _IO_file_close_it_internal)
2198 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2199 (_IO_file_init_internal, _IO_file_attach_internal)
2200 (_IO_file_fopen_internal, _IO_file_read_internal)
2201 (_IO_file_sync_internal, _IO_file_seek_internal)
2202 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2203 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2204 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2205 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2206 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2207 (_IO_list_all_internal, _IO_link_in_internal)
2208 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2209 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2210 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2211 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2212 (_IO_do_write_internal, _IO_padn_internal)
2213 (_IO_getline_info_internal, _IO_getline_internal)
2214 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2215 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2216 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2217 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2218 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2219 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2220 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2221 with libc_hidden_ver, remove use of INTUSE.
2222 * libio/genops.c: Likewise.
2223 * libio/freopen.c: Likewise.
2224 * libio/freopen64.c: Likewise.
2225 * libio/iofclose.c: Likewise.
2226 * libio/iofdopen.c: Likewise.
2227 * libio/iofflush.c: Likewise.
2228 * libio/iofflush_u.c: Likewise.
2229 * libio/iofgets.c: Likewise.
2230 * libio/iofgets_u.c: Likewise.
2231 * libio/iofopen.c: Likewise.
2232 * libio/iofopncook.c: Likewise.
2233 * libio/iofread.c: Likewise.
2234 * libio/iofread_u.c: Likewise.
2235 * libio/ioftell.c: Likewise.
2236 * libio/iofwrite.c: Likewise.
2237 * libio/iogetline.c: Likewise.
2238 * libio/iogets.c: Likewise.
2239 * libio/iogetwline.c: Likewise.
2240 * libio/iopadn.c: Likewise.
2241 * libio/iopopen.c: Likewise.
2242 * libio/ioseekoff.c: Likewise.
2243 * libio/ioseekpos.c: Likewise.
2244 * libio/iosetbuffer.c: Likewise.
2245 * libio/iosetvbuf.c: Likewise.
2246 * libio/ioungetc.c: Likewise.
2247 * libio/ioungetwc.c: Likewise.
2248 * libio/iovdprintf.c: Likewise.
2249 * libio/iovsprintf.c: Likewise.
2250 * libio/iovsscanf.c: Likewise.
2251 * libio/memstream.c: Likewise.
2252 * libio/obprintf.c: Likewise.
2253 * libio/oldfileops.c: Likewise.
2254 * libio/oldiofclose.c: Likewise.
2255 * libio/oldiofdopen.c: Likewise.
2256 * libio/oldiofopen.c: Likewise.
2257 * libio/oldiopopen.c: Likewise.
2258 * libio/oldstdfiles.c: Likewise.
2259 * libio/putc.c: Likewise.
2260 * libio/setbuf.c: Likewise.
2261 * libio/setlinebuf.c: Likewise.
2262 * libio/stdfiles.c: Likewise.
2263 * libio/strops.c: Likewise.
2264 * libio/vasprintf.c: Likewise.
2265 * libio/vscanf.c: Likewise.
2266 * libio/vsnprintf.c: Likewise.
2267 * libio/vswprintf.c: Likewise.
2268 * libio/wfiledoalloc.c: Likewise.
2269 * libio/wfileops.c: Likewise.
2270 * libio/wgenops.c: Likewise.
2271 * libio/wmemstream.c: Likewise.
2272 * libio/wstrops.c: Likewise.
2273 * libio/__fpurge.c: Likewise.
2274 * libio/__fsetlocking.c: Likewise.
2275 * assert/assert.c: Likewise.
2276 * debug/fgets_chk.c: Likewise.
2277 * debug/fgets_u_chk.c: Likewise.
2278 * debug/fread_chk.c: Likewise.
2279 * debug/fread_u_chk.c: Likewise.
2280 * debug/gets_chk.c: Likewise.
2281 * debug/obprintf_chk.c: Likewise.
2282 * debug/vasprintf_chk.c: Likewise.
2283 * debug/vdprintf_chk.c: Likewise.
2284 * debug/vsnprintf_chk.c: Likewise.
2285 * debug/vsprintf_chk.c: Likewise.
2286 * malloc/mtrace.c: Likewise.
2287 * misc/error.c: Likewise.
2288 * misc/syslog.c: Likewise.
2289 * stdio-common/asprintf.c: Likewise.
2290 * stdio-common/fxprintf.c: Likewise.
2291 * stdio-common/getw.c: Likewise.
2292 * stdio-common/isoc99_fscanf.c: Likewise.
2293 * stdio-common/isoc99_scanf.c: Likewise.
2294 * stdio-common/isoc99_vfscanf.c: Likewise.
2295 * stdio-common/isoc99_vscanf.c: Likewise.
2296 * stdio-common/isoc99_vsscanf.c: Likewise.
2297 * stdio-common/printf-prs.c: Likewise.
2298 * stdio-common/printf_fp.c: Likewise.
2299 * stdio-common/printf_fphex.c: Likewise.
2300 * stdio-common/printf_size.c: Likewise.
2301 * stdio-common/putw.c: Likewise.
2302 * stdio-common/scanf.c: Likewise.
2303 * stdio-common/sprintf.c: Likewise.
2304 * stdio-common/tmpfile.c: Likewise.
2305 * stdio-common/vfprintf.c: Likewise.
2306 * stdio-common/vfscanf.c: Likewise.
2307 * stdlib/strfmon_l.c: Likewise.
2308 * sunrpc/openchild.c: Likewise.
2309 * sunrpc/xdr_stdio.c: Likewise.
2310 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2311 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2313 2012-05-24 Roland McGrath <roland@hack.frob.com>
2315 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2317 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2318 in the third column, to generate for the shared library an IFUNC
2319 that uses _dl_vdso_vsym.
2320 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2321 * Makeconfig (object-suffixes-noshared): New variable.
2323 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2324 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2325 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2326 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2329 * include/sys/time.h (__gettimeofday): Remove macro.
2330 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2331 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2333 (__gettimeofday): Add libc_hidden_def.
2334 (gettimeofday): Add libc_hidden_weak.
2335 * sysdeps/mach/gettimeofday.c: Likewise.
2336 * sysdeps/posix/gettimeofday.c: Likewise.
2337 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2338 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2339 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2340 (__gettimeofday_internal): Remove strong_alias.
2341 (__gettimeofday): Add libc_hidden_def.
2342 (gettimeofday): Add libc_hidden_weak.
2343 * sysdeps/unix/syscalls.list (gettimeofday):
2344 Remove __gettimeofday_internal alias.
2346 2012-05-24 Daniel Jacobowitz <drow@false.org>
2347 H.J. Lu <hongjiu.lu@intel.com>
2350 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2351 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2352 (largebin_index_32_big): New.
2353 (largebin_index): Use it for 16-byte alignment.
2354 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2355 correction with front_misalign.
2357 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2385 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2386 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2388 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2392 * math/libm-test.inc (exp_test): Add test from bug 14036.
2393 (pow_test): Add test from bug 10846.
2395 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2397 (special_function): Do not include flags in test name.
2398 (parse_args): Likewise.
2399 * sysdeps/i386/fpu/libm-test-ulps: Update.
2400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2401 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2402 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2405 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2407 * math/libm-test.inc ("Philosophy"): Update comment about
2409 (UNDERFLOW_EXCEPTION): New macro.
2410 (UNDERFLOW_EXCEPTION_OK): Likewise.
2411 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2412 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2413 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2414 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2415 (INVALID_EXCEPTION_OK): Update value.
2416 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2417 (OVERFLOW_EXCEPTION_OK): Likewise.
2418 (IGNORE_ZERO_INF_SIGN): Likewise.
2419 (test_exceptions): Handle underflow exceptions.
2420 (acos_test): Update for underflow exception expectations.
2421 (cexp_test): Likewise.
2422 (clog_test): Likewise.
2423 (clog10_test): Likewise.
2424 (csqrt_test): Likewise.
2425 (ctan_test): Likewise.
2426 (ctanh_test): Likewise.
2427 (exp_test): Likewise.
2428 (exp10_test): Likewise.
2429 (exp2_test): Likewise.
2430 (expm1_test): Likewise.
2431 (fma_test): Likewise.
2432 (j0_test): Likewise.
2433 (jn_test): Likewise.
2434 (nexttoward_test): Likewise.
2435 (pow_test): Likewise.
2436 (scalbn_test): Likewise.
2437 (scalbln_test): Likewise.
2438 (tan_test): Likewise.
2439 (y1_test): Likewise.
2440 * sysdeps/i386/fpu/libm-test-ulps: Update.
2441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2443 2012-05-23 David S. Miller <davem@davemloft.net>
2445 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2446 (__libc_sigaction): Remove unused local variables.
2448 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2450 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2452 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2454 mktime: avoid signed integer overflow
2455 * time/mktime.c (__mktime_internal): Do not mishandle the case
2456 where diff == INT_MIN.
2458 mktime: simplify computation of average
2459 * time/mktime.c (ranged_convert): Use new time_t_avg function
2460 instead of rolling our own (probably-slower) code.
2462 mktime: do not assume signed right shift propagates sign bit
2463 * time/mktime.c (isdst_differ): New static function.
2464 (__mktime_internal): No need to normalize tm_isdst now.
2465 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2468 mktime: merge another wrapv change from gnulib
2469 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2470 from some compilers.
2472 mktime: remove incorrect attempt at unusual arithmetics
2473 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2474 The code didn't really work on such machines anyway.
2475 (TYPE_MINIMUM): Assume two's complement.
2476 (twos_complement_arithmetic): Verify that long_int and time_t
2477 are two's complement (or unsigned, in the latter case).
2479 mktime: check signed shifts on long_int and time_t, too
2480 * time/mktime.c (SHR): Check that shifts work as desired
2481 on the types long_int and time_t too, as SHR is used on
2484 mktime: do not assume 'long' is wide enough
2485 * time/mktime.c (verify): Move decl up.
2486 (long_int): New type.
2487 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2488 to remove assumption in the code that 'long' is wide enough to
2489 store year values. This assumption is not true on x32 and on
2490 some non-glibc platforms.
2492 mktime: merge wrapv change from gnulib
2493 * time/mktime.c (WRAPV): New macro.
2494 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2495 (guess_time_tm, __mktime_internal): Do not assume that signed
2496 integer overflow wraps around; modern compilers generate code
2497 where this assumption is no longer valid.
2499 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2501 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2502 Replace "jmp L(pseudo_end)" with "ret".
2503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2506 2012-05-23 Andreas Jaeger <aj@suse.de>
2508 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2509 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2511 2012-05-23 Andreas Jaeger <aj@suse.de>
2512 Maximilian Attems <max@stro.at>
2514 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2517 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2519 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2520 code so that pseudo_end is just ret and the stack pointer is
2521 correct also for static library in error case.
2523 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2525 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2526 move to syscalls.list.
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2532 * manual/install.texi (Running make install): Do not mention Linux
2533 kernel version for which pt_chown is not needed.
2534 (Linux): Do not mention problems with nscd with 2.0 kernels.
2535 * INSTALL: Regenerated.
2537 2012-05-23 Andreas Jaeger <aj@suse.de>
2539 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2540 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2542 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2544 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2545 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2546 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2548 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2550 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2552 * sysdeps/unix/sysv/linux/bits/in.h
2553 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2555 2012-05-22 Roland McGrath <roland@hack.frob.com>
2557 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2558 (PREPARE_VERSION): Just use assert instead, it will be elided
2559 under [NDEBUG] anyway.
2561 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2563 * sysdeps/unix/sysv/linux/Makefile: Include
2564 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2565 (sysdep_routines): Remove sysctl.
2566 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2567 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2568 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2569 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2570 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2572 2012-05-22 Andreas Jaeger <aj@suse.de>
2574 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2575 that pseudo_end is just ret and the stack pointer is correct also
2576 for static library in error case.
2578 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2581 * nss/nsswitch.c (defconfig_entries): New variable.
2582 (__nss_database_lookup): Don't leak defconfig entries.
2583 (nss_parse_service_list): Don't leak on error paths.
2584 (free_database_entries): New function.
2585 (free_defconfig): New function.
2586 (free_mem): Move common code to free_database_entries.
2588 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2590 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2592 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2594 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2595 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2598 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2599 (INTERNAL_SYSCALL_TYPES): Likewise.
2600 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2601 (LOAD_REGS_TYPES_[1-6]): Likewise.
2602 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2603 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2605 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2607 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2608 copysignl for GLIBC_2_0.
2609 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2610 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2612 logbl for GLIBC_2_0.
2613 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2614 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2616 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2619 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2621 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2624 * time/mktime.c: Update copyright years.
2626 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2628 mktime: merge comment-quoting-style change from gnulib
2629 * time/mktime.c: Quote 'like this' in comments.
2630 The GNU coding standards suggest that we no longer quote `like this',
2631 as "`" and "'" are typically rendered asymmetrically nowadays.
2632 The typical gnulib style is to quote 'like this' when quoting
2633 code, and "like this" when quoting English.
2635 * time/mktime.c (compile-command): Add "-I.".
2637 mktime: merge mktime-internal.h change from gnulib
2638 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2640 mktime: merge time_r change from gnulib
2641 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2643 mktime: merge DEBUG change from gnulib
2644 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2645 case system <time.h> has a #define.
2647 mktime: merge <sys/types.h> change from gnulib
2648 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2649 since <time.t> is now guaranteed to define time_t.
2651 mktime: merge HAVE_CONFIG_H change from gnulib
2652 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2654 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2659 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2661 (struct rusage): Use anonymous union to pad each field to
2664 2012-05-21 David S. Miller <davem@davemloft.net>
2666 * Makefules (o-iterator): Remove .s cases.
2667 (compile-command.s): Delete.
2668 (COMPILE.s): Delete.
2669 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2671 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2673 * configure.in (libc_cv_predef_stack_protector): Only consider
2674 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2675 * configure: Regenerated.
2677 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2680 New macro. Use R*LP on int and pointer.
2681 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2682 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2683 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2684 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2686 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2687 [__WORDSIZE_TIME64_COMPAT32] instead of
2688 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2689 (struct utmp): Likewise.
2690 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2691 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2693 (__WORDSIZE_TIME64_COMPAT32): This.
2694 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2695 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2696 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2697 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2698 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2699 (__WORDSIZE_TIME64_COMPAT32): New macro.
2701 2012-05-21 Andreas Jaeger <aj@suse.de>
2703 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2704 only if [SHARED]. Add prototype for __wcschr_ia32.
2706 2012-05-21 Roland McGrath <roland@hack.frob.com>
2708 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2709 of %rbp unmolested in the jmp_buf while mangling the low bits.
2710 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2711 unmolested high bits of %rbp while demangling the low bits.
2712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2714 2012-05-21 Andreas Jaeger <aj@suse.de>
2716 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2717 * sunrpc/svc_simple.c: Use it for registerrpc.
2718 * sunrpc/xcrypt.c: Use it for passwd2des.
2720 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2722 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2724 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2725 Don't define if [__SYSCALL_WORDSIZE != 32].
2726 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2729 2012-05-21 Bruno Haible <bruno@clisp.org>
2730 Andreas Jaeger <aj@suse.de>
2732 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2733 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2734 inptr and inend for must_buffer_ch.
2735 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2736 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2737 * stdio-common/Makefile (tests): Remove bug15.
2738 (bug15-ENV): Remove macro.
2739 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2742 2012-05-19 Andreas Jaeger <aj@suse.de>
2743 Roland McGrath <roland@hack.frob.com>
2745 * manual/contrib.texi: Completely rewritten. It contains now an
2746 alphabetical list of contributors and their contributions.
2748 2012-05-21 Richard Henderson <rth@twiddle.net>
2750 * misc/getauxval.c (__getauxval): Use unsigned long int.
2751 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2752 (getauxval): Use unsigned long int.
2754 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2756 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2758 2012-05-21 Roland McGrath <roland@hack.frob.com>
2760 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2761 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2762 __alignof__ (long double).
2764 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2768 2012-05-20 Richard Henderson <rth@twiddle.net>
2770 * misc/getauxval.c: New file.
2771 * misc/sys/auxv.h: New file.
2772 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2773 (routines): Add getauxval.
2774 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2775 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2776 * elf/dl-sysdep.c (_dl_auxv): Remove.
2777 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2778 * elf/dl-support.c (_dl_auxv): New variable.
2779 (_dl_aux_init): Initialize it.
2780 * manual/startup.texi (Auxiliary Vector): New node.
2781 * sysdeps/generic/bits/hwcap.h: New file.
2782 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2783 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2784 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2785 * sysdeps/sparc/sysdep.h: ... here. Include it.
2786 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2787 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2799 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2803 2012-05-19 David S. Miller <davem@davemloft.net>
2805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2807 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2810 * math/s_ccosh.c: Include <float.h>
2811 (__ccosh): Avoid internal overflow calculating sinh and cosh
2812 values before multiplying by sin and cos values.
2813 * math/s_ccoshf.c: Likewise.
2814 * math/s_ccoshl.c: Likewise.
2815 * math/s_csin.c: Likewise.
2816 * math/s_csinf.c: Likewise.
2817 * math/s_csinl.c: Likewise.
2818 * math/s_csinh.c: Likewise.
2819 * math/s_csinhf.c: Likewise.
2820 * math/s_csinhl.c: Likewise.
2821 * math/libm-test.inc (ccos_test): Add more tests.
2822 (ccosh_test): Likewise.
2823 (csin_test): Likewise.
2824 (csinh_test): Likewise.
2825 * sysdeps/i386/fpu/libm-test-ulps: Update.
2826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2828 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2830 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2831 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2833 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2835 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2837 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2838 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2839 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2840 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2841 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2842 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2843 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2844 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2845 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2846 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2847 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2848 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2849 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2850 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2851 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2852 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2853 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2854 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2855 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2856 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2857 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2858 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2859 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2860 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2861 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2862 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2863 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2864 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2865 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2866 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2867 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2869 2012-05-18 Andreas Jaeger <aj@suse.de>
2871 * csu/.gitignore: Delete.
2873 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2875 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2876 (timex): Use __syscall_slong_t.
2878 2012-05-18 Andreas Jaeger <aj@suse.de>
2879 Carlos O'Donell <carlos_odonell@mentor.com>
2881 * manual/install.texi (Configuring and compiling): Update
2882 description about files modified in the source directory.
2883 * INSTALL: Regenerated.
2885 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2887 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2888 value. Use "or" to set return value to -1.
2889 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2890 negate return value.
2892 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2894 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2895 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2896 failure if the compiler has Graphite support disabled.
2897 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2899 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2900 CFLAGS-memmove.c): Likewise.
2901 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2904 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2906 * sysdeps/x86_64/x32/_itoa.h: New file.
2908 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2909 getdents system call only if kernel and user dirents have the
2910 same d_ino and d_off.
2912 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2913 LLONG_MAX != LONG_MAX.
2914 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2915 (_fitoa_word): Likewise.
2917 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2919 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2920 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2921 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2923 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2924 include <bits/wordsize.h>. Check __x86_64__ instead of
2926 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2927 if __x86_64__ is defined. Use anonymous union on fpstate.
2929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2932 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2934 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2935 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2936 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2937 Refer to _rtld_local_ro instead of _rtld_global_ro.
2938 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2940 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2942 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2944 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2945 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2946 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2948 * sysdeps/powerpc/powerpc32/dl-machine.c
2949 (__elf_machine_runtime_setup) [PROF]: Don't reference
2952 2012-05-18 Andreas Jaeger <aj@suse.de>
2954 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2955 function only available for GCCs before 3.4 since GCC 3.4
2956 introduced a builtin.
2958 (llrintf): Likewise.
2966 (nearbyint): Likewise.
2967 (nearbyintf): Likewise.
2973 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2975 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2976 on both fields and cast pointer to __syscall_ulong_t.
2978 * bits/types.h (__fsword_t): New type.
2979 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2980 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2981 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2982 (__FSWORD_T_TYPE): Likewise.
2983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2984 (__FSWORD_T_TYPE): Likewise.
2985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2986 (__FSWORD_T_TYPE): Likewise.
2987 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2988 (__FSWORD_T_TYPE): Likewise.
2989 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2990 __SWORD_TYPE with __fsword_t.
2991 (statfs64): Likewise.
2993 2012-05-17 David S. Miller <davem@davemloft.net>
2995 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2997 2012-05-17 Andreas Jaeger <aj@suse.de>
2999 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3002 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3004 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3006 2012-05-17 Andreas Jaeger <aj@suse.de>
3008 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3011 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3013 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3015 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3017 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3018 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3020 2012-05-17 Andreas Jaeger <aj@suse.de>
3021 Carlos O'Donell <carlos_odonell@mentor.com>
3024 * sysdeps/x86_64/multiarch/init-arch.h
3025 (bit_YMM_Usable): Rename to...
3026 (bit_AVX_Usable): ... this.
3027 (bit_FMA4_Usable): New macro.
3028 (bit_XMM_state): New macro.
3029 (bit_YMM_state): New macro.
3030 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3031 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3032 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3033 (CPUID_OSXSAVE): New macro.
3034 (CPUID_AVX): New macro.
3035 (CPUID_FMA4): New macro.
3036 (index_YMM_Usable): Rename to...
3037 (index_AVX_Usable): ... this.
3038 (HAS_AVX): Use HAS_ARCH_FEATURE.
3039 (HAS_FMA4): Likewise.
3040 (HAS_YMM_USABLE): Remove.
3041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3042 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3044 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3045 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3046 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3047 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3048 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3050 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3052 * math/libm-test.c: Support platforms without multiple rounding modes.
3053 * math/bug-nextafter.c: Support platforms without FP exceptions.
3054 * math/bug-nexttoward.c: Likewise.
3055 * math/test-fenv.c: Likewise.
3056 * math/test-misc.c: Likewise.
3057 * stdlib/bug-getcontext.c: Likewise.
3059 2012-05-17 Andreas Jaeger <aj@suse.de>
3061 * manual/examples/search.c (critter_cmp): Change signature to
3063 * manual/string.texi (Collation Functions): Likewise.
3065 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3067 * bits/types.h: Fold copyright years.
3068 * bits/typesizes.h: Likewise.
3069 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3070 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3071 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3073 * time/time.h: Likewise.
3075 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3078 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3079 in instead of returning them. Return void.
3080 (__libc_mallinfo): Accumulate over all arenas.
3081 (__malloc_stats): Adjust for change in int_mallinfo interface.
3083 2012-05-16 Roland McGrath <roland@hack.frob.com>
3086 * configure.in (NM): Add AC_CHECK_TOOL for it.
3087 (libc_extra_cflags): New substituted variable.
3088 Check for -fstack-protector being used implicitly.
3089 * configure: Regenerated.
3090 * config.make.in (config-extra-cflags): New variable,
3091 gets @libc_extra_cflags@.
3092 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3095 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3096 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3097 * configure: Regenerated.
3098 * config.make.in (CPPUNDEFS): New substituted variable.
3099 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3100 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3101 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3103 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3105 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3106 (mq_attr): Use __syscall_slong_t.
3108 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3110 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3111 Check __x86_64__ instead of __WORDSIZE.
3112 (_STAT_VER_LINUX): Likewise.
3113 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3114 __syscall_ulong_t and __syscall_slong_t.
3117 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3119 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3121 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3123 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3125 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3127 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3130 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3131 include <bits/wordsize.h>. Check __x86_64__ instead of
3133 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3135 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3138 include <bits/wordsize.h>. Check __x86_64__ instead of
3140 (user_regs_struct): Use "__extension__ unsigned long long"
3141 instead of "unsigned long" if __x86_64__ is defined.
3142 (user): Likewise. Pad after pointer field if __ILP32__ is
3145 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3147 * configure.in (makeinfo): Require version 4.5 or later. Allow
3149 * configure: Regenerated.
3150 * manual/install.texi (texinfo): Increase version requirement to
3152 * INSTALL: Regenerated.
3154 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3156 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3158 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3160 * sysdeps/x86_64/x32/ffs.c: New file.
3162 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3164 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3165 defined. Use __syscall_ulong_t.
3166 (shminfo): Use __syscall_ulong_t.
3167 (shm_info): Likewise.
3169 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3172 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3174 (msgqnum_t): Use __syscall_ulong_t.
3175 (msglen_t): Likewise.
3176 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3179 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3180 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3182 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3184 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3185 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3187 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3190 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3191 include <bits/wordsize.h>. Check __x86_64__ instead of
3194 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3195 "unsigned long long int" if __x86_64__ is defined.
3196 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3198 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3199 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3200 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3202 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3204 (GET_PC): Cast to uintptr_t first.
3205 (GET_FRAME): Likewise.
3206 (GET_STACK): Likewise.
3208 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3209 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3210 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3211 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3212 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3213 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3214 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3215 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3216 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3217 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3218 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3219 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3220 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3221 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3222 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3223 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3224 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3225 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3226 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3227 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3228 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3229 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3230 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3231 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3232 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3233 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3234 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3235 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3236 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3238 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3240 * Makerules (+depfiles): Also collect depfiles from .oS in
3242 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3243 .oS, $(libnldbl-routines)).
3245 * Makerules (native-compile-mkdep-flags): Define.
3246 * sunrpc/Makefile (extra-objs): Add $(addprefix
3247 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3248 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3249 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3250 calling $(make-target-directory).
3252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3254 * bits/types.h (__snseconds_t): Removed.
3255 * time/time.h (struct timespec): Replace __snseconds_t with
3257 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3258 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3261 (__SNSECONDS_T_TYPE): Likewise.
3262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3263 (__SNSECONDS_T_TYPE): Likewise.
3264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3265 (__SNSECONDS_T_TYPE): Likewise.
3267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3269 * sysdeps/mach/hurd/bits/typesizes.h
3270 (__SYSCALL_SLONG_TYPE): New macro.
3271 (__SYSCALL_ULONG_TYPE): Likewise.
3273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3275 * bits/types.h (__syscall_slong_t): New type.
3276 (__syscall_ulong_t): Likewise.
3278 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3279 (__SYSCALL_ULONG_TYPE): Likewise.
3280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3281 (__SYSCALL_SLONG_TYPE): Likewise.
3282 (__SYSCALL_ULONG_TYPE): Likewise.
3283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3284 (__SYSCALL_SLONG_TYPE): Likewise.
3285 (__SYSCALL_ULONG_TYPE): Likewise.
3286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3287 (__SYSCALL_SLONG_TYPE): Likewise.
3288 (__SYSCALL_ULONG_TYPE): Likewise.
3290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3292 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3293 Add sigaltstack-offsets.sym.
3294 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3295 <sigaltstack-offsets.h>.
3296 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3297 longjmp_msg pointer.
3298 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3299 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3301 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3303 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3305 * elf/stackguard-macros.h: Remove file.
3306 * sysdeps/generic/stackguard-macros.h: New file.
3307 * sysdeps/i386/stackguard-macros.h: Likewise.
3308 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3309 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3310 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3311 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3312 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3313 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3314 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3315 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3316 <elf/stackguard-macros.h>.
3319 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3320 __aligned__ in attribute.
3321 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3322 (gregset_t): Likewise.
3324 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3326 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3327 * sysdeps/x86_64/64/Implies-after: Here. New file.
3328 * sysdeps/x86_64/x32/Implies-after: New file.
3330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3332 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3333 and access return value for _dl_profile_fixup. Use R10_LP to
3336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3338 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3342 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3343 * sysdeps/x86_64/x32/sysdep.h: New file.
3345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3347 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3348 * sysdeps/x86_64/setjmp.S: Likewise.
3350 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3352 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3353 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3354 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3355 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3356 remove unused global constant.
3358 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3360 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3361 include of <not-cancel.h>.
3363 2012-05-15 Roland McGrath <roland@hack.frob.com>
3365 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3367 2012-05-15 Jeff Law <law@redhat.com>
3368 Andreas Jaeger <aj@suse.de>
3371 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3373 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3374 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3375 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3376 code changing __hst_map_handle.map.
3378 2012-05-15 Roland McGrath <roland@hack.frob.com>
3380 * configure.in (sysnames): Look for Implies-before and Implies-after
3382 * configure: Regenerated.
3384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3386 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3387 8-byte data alignment with LP_SIZE alignment.
3389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3391 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3396 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3400 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3401 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3402 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3404 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3408 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3409 (stackinfo_sub_sp): Likewise.
3411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3418 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3428 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3432 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3433 into R11_LP and load __x86_64_shared_cache_size_half into
3436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3438 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3441 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3450 powerpc32/power7/fpu/s_logb.c via #include.
3451 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3452 powerpc32/power7/fpu/s_logbf.c via #include.
3453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3454 powerpc32/power7/fpu/s_logbl.c via #include.
3456 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3458 * README.libm: Remove file.
3460 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3462 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3463 count for x32. Use R*_LP and omit operand-size suffix.
3465 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3467 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3468 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3469 * sysdeps/x86_64/x32/shlib-versions: New file.
3471 2012-05-14 Roland McGrath <roland@hack.frob.com>
3473 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3474 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3475 Use _dl_fatal_printf instead.
3477 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3479 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3480 set if not set by the user. Do not allow for being unset.
3481 * sysdeps/unix/sysv/linux/configure: Regenerated.
3483 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3485 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3486 the `q' suffix from lea and replace .quad with ASM_ADDR.
3488 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3491 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3493 (PTR_DEMANGLE): Likewise.
3495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3497 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3499 (ASM_ADDR): Likewise.
3517 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3519 * sysdeps/x86_64/x32/dl-machine.h: New file.
3521 2012-05-14 Andreas Jaeger <aj@suse.de>
3523 * manual/Makefile (subdir): Remove export of subdir.
3524 (all): Remove target.
3525 (.PHONY): Remove all from list.
3526 (mkinstalldirs): Remove.
3527 (.PHONY): Remove installdirs from list.
3528 ($(inst_infodir)/libc.info): Use make-target-directory.
3529 (installdirs): Remove.
3531 (glibc-targets): Remove.
3534 ($(objpfx)stubs ../po/manual.pot): Remove.
3535 ($(objpfx)stamp%): Remove.
3536 (make-target-directory): Remove.
3537 (subdir_install): Remove.
3545 * manual/.gitignore: Remove, it's not needed anymore.
3546 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3548 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3550 (texis): Renamed to $(objpfx)texis.
3551 (texis-path): New, contains path to generated files.
3552 (chapters.%): Use texis-path for complete path, add extra argument
3554 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3555 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3556 (summary,texi, stamp-summary): Use complete path of
3557 files. Generate files in build dir.
3558 (dir-add.texi): Build in build dir.
3559 (libm-err.texi,stamp-libm-err): Likewise.
3560 (version.texi, stamp-version): Likewise.
3561 (.%c.texi): Likewise.
3562 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3563 (mostlyclean): Remove target.
3564 (realclean): Remove target.
3565 (generated): Add new variable with contents from mostlyclean and
3566 realclean, remove entries duplicated in common-mostlyclean, add
3567 stamp-libm-err and stamp-version.
3568 (generated-dirs): Add libc directory.
3569 ($(inst_infodir)/libc.info): Install files from build dir.
3571 * manual/install.texi (Configuring and compiling): Adjust since
3572 the info files are not part of the tar ball anymore.
3574 2012-05-14 Andreas Jaeger <aj@suse.de>
3576 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3579 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3583 to 2.2.0 where earlier.
3584 * sysdeps/unix/sysv/linux/configure: Regenerated.
3585 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3586 Remove conditional code.
3587 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3588 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3589 Remove conditional code.
3590 [!__NR_lchown]: Likewise.
3591 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3592 [__NR_lchown]: Likewise.
3593 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3594 comment referencing __ASSUME_LCHOWN_SYSCALL.
3595 * sysdeps/unix/sysv/linux/i386/sigaction.c
3596 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3597 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3598 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3599 Remove conditional code.
3600 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3601 (__protocol_available): Remove #if 0 code.
3602 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3604 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3605 * sysdeps/unix/sysv/linux/kernel-features.h
3606 (__ASSUME_GETCWD_SYSCALL): Don't define.
3607 (__ASSUME_REALTIME_SIGNALS): Likewise.
3608 (__ASSUME_PREAD_SYSCALL): Likewise.
3609 (__ASSUME_PWRITE_SYSCALL): Likewise.
3610 (__ASSUME_POLL_SYSCALL): Likewise.
3611 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3612 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3614 (__ASSUME_SIOCGIFNAME): Don't define.
3615 (__ASSUME_MSG_NOSIGNAL): Likewise.
3616 (__ASSUME_SENDFILE): Define unconditionally.
3617 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3618 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3620 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3621 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3622 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3623 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3624 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3625 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3626 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3628 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3631 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3634 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3637 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3640 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3641 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3643 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3646 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3647 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3649 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3651 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3652 Remove conditional code.
3653 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3654 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3655 Remove conditional code.
3656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3657 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3658 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3659 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3660 Remove conditional code.
3661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3662 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3663 Remove conditional code.
3664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3665 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3666 Remove conditional code.
3667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3668 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3669 Remove conditional code.
3670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3671 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3672 Remove conditional code.
3673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3674 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3675 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3677 * sysdeps/unix/sysv/linux/sigaction.c
3678 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3679 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3680 * sysdeps/unix/sysv/linux/sigpending.c
3681 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3682 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3683 * sysdeps/unix/sysv/linux/sigprocmask.c
3684 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3685 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3686 * sysdeps/unix/sysv/linux/sigsuspend.c
3687 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3688 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3689 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3690 (__libc_missing_rt_sigs): Remove.
3691 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3692 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3693 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3694 Remove conditional code.
3695 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3696 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3698 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3699 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3700 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3701 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3703 2012-05-14 Andreas Jaeger <aj@suse.de>
3705 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3706 it's not used in glibc.
3707 (__coshm1): Likewise.
3708 (__acosh1p): Likewise.
3711 * manual/string.texi (Copying and Concatenation): Add missing
3712 variable in concat example.
3713 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3715 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3719 __builtin_clzl with __builtin_clzll.
3721 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3724 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3727 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3729 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3730 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3731 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3732 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3734 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3736 * NEWS: Update ia64 info.
3738 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3740 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3743 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3745 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3746 * sysdeps/unix/syscalls.list (dup3): Likewise.
3747 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3748 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3750 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3752 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3753 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3755 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3757 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3759 (TLS_IE): Use mov/add instead of movq/addq to load thread
3761 (TLS_GD_PREFIX): New.
3764 2012-05-11 David S. Miller <davem@davemloft.net>
3766 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3767 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3768 (_FPU_SETCW): Likewise.
3770 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3772 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3775 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3778 * iconvdata/gb18030.c: Update tables.
3779 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3780 characters specially.
3781 (BODY for TO_LOOP): Add encoding of missing ranges.
3783 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3786 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3787 * sysdeps/mach/hurd/dup3.c: Likewise.
3788 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3789 * sysdeps/powerpc/memmove.c:: Likewise.
3791 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3794 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3796 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3798 * elf/elf.h (R_X86_64_RELATIVE64): New.
3799 (R_X86_64_NUM): Updated.
3800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3801 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3802 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3803 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3804 tst-quad1pie tst-quad2pie
3805 (modules-names): Add tst-quadmod1 tst-quadmod2.
3806 ($(objpfx)tst-quad1): New dependency.
3807 ($(objpfx)tst-quad2): Likewise.
3808 ($(objpfx)tst-quad1pie): Likewise.
3809 ($(objpfx)tst-quad2pie): Likewise.
3810 * sysdeps/x86_64/tst-quad1.c: New file.
3811 * sysdeps/x86_64/tst-quad1pie.c: New file.
3812 * sysdeps/x86_64/tst-quad2.c: Likewise.
3813 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3814 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3815 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3816 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3817 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3819 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3821 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3822 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3823 * streams/stropts.h (t_scalar_t): Define type.
3825 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3826 (_PATH_PRESERVE): Set to "/var/lib".
3827 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3829 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3832 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3833 if __dir_mkfile succeeded.
3835 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3836 checking for _hurd_dtablesize. Unlock it right after having
3837 finished _hurd_dtable allocation.
3839 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3841 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3842 * sysdeps/mach/hurd/configure: Regenerated.
3843 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3844 special-casing to...
3845 * sysdeps/gnu/configure.in: ... this new file.
3846 * sysdeps/unix/sysv/linux/configure: Regenerated.
3847 * sysdeps/gnu/configure: New generated file.
3849 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3850 for Linux: use nsec instead of usec, as well as:
3851 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3852 members of type struct timespec.
3853 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3855 (struct stat64): Likewise.
3856 (_STATBUF_ST_NSEC): New macro.
3857 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3859 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3860 __strtoul_internal rather than strtoul.
3862 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3864 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3867 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3869 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3870 which preserves existing values.
3871 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3873 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3875 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3876 TIMEOUT values. Return EINVAL for NFDS values either negative or
3877 greater than FD_SETSIZE.
3879 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3881 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3882 allocated, call __vm_protect to finish enabling the existing space, and
3883 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3884 allocate the remainder.
3886 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3888 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3889 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3891 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3893 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3894 sysdeps/mach/hurd/readlink.c.
3896 * posix/tst-sysconf.c (posix_options): Only use
3897 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3898 _POSIX_SYNCHRONIZED_IO when they are defined
3899 * sysdeps/mach/hurd/bits/posix_opt.h:
3900 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3901 (_XOPEN_REALTIME): Undefine macro.
3902 (_XOPEN_REALTIME_THREADS): Undefine macro.
3903 (_XOPEN_SHM): Undefine macro.
3904 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3906 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3908 (_POSIX_ASYNC_IO): Undefine macro.
3909 (_POSIX_PRIORITIZED_IO): Undefine macro.
3910 (_POSIX_SPIN_LOCKS): Define macro to -1.
3912 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3913 SA_NODEFER, SA_RESETHAND.
3914 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3915 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3918 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3920 * elf/Makefile (pldd-modules): Define unconditionally.
3922 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3924 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3926 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3928 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3929 Return ENOENT when name is empty.
3930 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3932 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3934 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3936 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3938 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3940 Fix mlock in all cases except non-readable pages.
3941 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3942 instead of VM_PROT_ALL as parameter to __vm_wire function.
3944 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3945 (__mkdir): When path is `/', just fail with EEXIST.
3946 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3948 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3950 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3951 <sys/uio.h> (for writev).
3952 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3953 and <sys/param.h> (for MIN).
3955 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3957 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3958 REQUESTED_TIME. Properly set the remaining time and return EINTR
3961 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3963 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3964 Depend on against $(link-rpcuserlibs).
3966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3968 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3969 (__libc_stack_end): Do not use attribute_relro.
3970 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3971 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3972 to libthread-provided value.
3973 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3976 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3979 * bits/libc-lock.h (__libc_once_get): New macro.
3980 * sysdeps/mach/bits/libc-lock.h: Likewise.
3981 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3982 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3983 instead of using implementation details.
3985 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3986 * libio/freopen.c: Likewise.
3987 * libio/freopen64.c: Likewise.
3988 * misc/syslog.c: Likewise.
3989 * nscd/connections.c: Likewise.
3990 * nscd/netgroupcache.c: Likewise.
3991 * sysdeps/posix/getcwd.c: Likewise.
3993 2012-05-10 Roland McGrath <roland@hack.frob.com>
3995 * math/w_ilogbf.c: Add #include <limits.h>.
3997 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3999 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4000 path instead of returning without unlocking.
4002 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4003 immediate-write ioctls.
4004 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4008 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4009 __builtin_frame_address instead of making assumptions about the
4010 location of the return address relative to DATA. Force early load of
4012 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4013 __builtin_frame_address.
4016 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4017 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4018 implement dup3 and do some further code clean-ups.
4019 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4020 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4022 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4024 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4026 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4027 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4028 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4029 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4030 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4033 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4034 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4035 when handler == SIG_ERR, not when handler != SIG_ERR.
4037 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4039 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4040 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4043 accept4 for GNU Hurd.
4044 * include/sys/socket.h (__libc_accept4): New prototype.
4045 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4046 to implement __libc_accept4.
4047 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4049 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4051 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4052 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4053 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4056 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4058 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4062 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4063 assertion on O_CLOEXEC flag.
4064 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4065 * hurd/intern-fd.c: Likewise.
4066 * hurd/port2fd.c: Likewise.
4068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4071 * bits/in.h (IPV6_PKTINFO): Define new macro.
4072 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4074 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4079 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4080 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4081 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4082 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4084 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4085 * math/libm-test.inc (logb_test) : Additional logb tests.
4087 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4088 Andreas Jaeger <aj@suse.de>
4090 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4091 * configure: Regenerated.
4092 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4093 * config.make.in (link-obsolete-rpc): New substituted variable.
4094 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4095 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4096 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4097 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4098 so that libc.a contains the symbols.
4099 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4100 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4101 * sunrpc/auth_none.c: Likewise.
4102 * sunrpc/auth_unix.c: Likewise.
4103 * sunrpc/authdes_prot.c: Likewise.
4104 * sunrpc/authuxprot.c: Likewise.
4105 * sunrpc/clnt_gen.c: Likewise.
4106 * sunrpc/clnt_perr.c: Likewise.
4107 * sunrpc/clnt_raw.c: Likewise.
4108 * sunrpc/clnt_simp.c: Likewise.
4109 * sunrpc/clnt_tcp.c: Likewise.
4110 * sunrpc/clnt_udp.c: Likewise.
4111 * sunrpc/clnt_unix.c: Likewise.
4112 * sunrpc/des_crypt.c: Likewise.
4113 * sunrpc/des_soft.c: Likewise.
4114 * sunrpc/get_myaddr.c: Likewise.
4115 * sunrpc/key_call.c: Likewise.
4116 * sunrpc/key_prot.c: Likewise.
4117 * sunrpc/netname.c: Likewise.
4118 * sunrpc/pm_getmaps.c: Likewise.
4119 * sunrpc/pm_getport.c: Likewise.
4120 * sunrpc/pmap_clnt.c: Likewise.
4121 * sunrpc/pmap_prot.c: Likewise.
4122 * sunrpc/pmap_prot2.c: Likewise.
4123 * sunrpc/pmap_rmt.c: Likewise.
4124 * sunrpc/publickey.c: Likewise.
4125 * sunrpc/rpc_cmsg.c: Likewise.
4126 * sunrpc/rpc_common.c: Likewise.
4127 * sunrpc/rpc_dtable.c: Likewise.
4128 * sunrpc/rpc_prot.c: Likewise.
4129 * sunrpc/rpc_thread.c: Likewise.
4130 * sunrpc/rtime.c: Likewise.
4131 * sunrpc/svc.c: Likewise.
4132 * sunrpc/svc_auth.c: Likewise.
4133 * sunrpc/svc_raw.c: Likewise.
4134 * sunrpc/svc_run.c: Likewise.
4135 * sunrpc/svc_tcp.c: Likewise.
4136 * sunrpc/svc_udp.c: Likewise.
4137 * sunrpc/svc_unix.c: Likewise.
4138 * sunrpc/svcauth_des.c: Likewise.
4139 * sunrpc/xcrypt.c: Likewise.
4140 * sunrpc/xdr.c: Likewise.
4141 * sunrpc/xdr_array.c: Likewise.
4142 * sunrpc/xdr_float.c: Likewise.
4143 * sunrpc/xdr_intXX_t.c: Likewise.
4144 * sunrpc/xdr_mem.c: Likewise.
4145 * sunrpc/xdr_rec.c: Likewise.
4146 * sunrpc/xdr_ref.c: Likewise.
4147 * sunrpc/xdr_sizeof.c: Likewise.
4148 * sunrpc/xdr_stdio.c: Likewise.
4150 2012-05-10 Roland McGrath <roland@hack.frob.com>
4152 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4153 change. Update copyright years.
4155 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4157 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4159 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4160 Joseph Myers <joseph@codesourcery.com>
4161 Paul Pluzhnikov <ppluzhnikov@google.com>
4164 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4166 [cross-compiling] (extra-libs): Likewise.
4167 [cross-compiling] (extra-libs-others): Likewise.
4168 [cross-compiling] (librpcsvc-routines): Likewise.
4169 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4170 [cross-compiling] (omit-deps): Likewise.
4171 (sunrpc-CPPFLAGS): New variable.
4172 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4173 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4174 (cross-rpcgen-objs): New variable.
4175 (extra-objs): Append $(cross-rpcgen-objs).
4176 ($(cross-rpcgen-objs)): New rule.
4177 ($(objpfx)cross-rpcgen): Likewise.
4178 (rpcgen-cmd): Define to use $(built-program-file). Expand
4180 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4181 ($(objpfx)x%.stmp): Likewise.
4182 * sunrpc/proto.h [IS_IN_build] (_): Define.
4183 [IS_IN_build] (_libc_intl_domainname): Likewise.
4185 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4187 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4188 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4189 and R_X86_64_TPOFF64.
4191 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4193 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4194 sysdeps/unix/sysv/syscalls.list.
4197 * sysdeps/unix/sysv/syscalls.list: Remove file.
4199 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4202 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4203 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4204 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4205 (__LC_IDENTIFICATION): Make these macros useful in #if
4206 expressions, as required by C99.
4208 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4210 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4211 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4214 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4216 * stdlib/longlong.h: Updated from GCC.
4218 2012-05-09 Andreas Jaeger <aj@suse.de>
4220 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4221 default is first entry.
4222 (run_mode): Set type.
4223 (main): Remove informal message about syslog.
4224 (options): Fix typo.
4227 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4230 (llrintf): Likewise.
4234 (nearbyint): Likewise.
4235 (nearbyintf): Likewise.
4237 2012-05-09 Andreas Jaeger <aj@suse.de>
4238 Pedro Alves <palves@redhat.com>
4240 * nscd/nscd.c (run_mode): Use enum.
4241 (main): Cleanup coding style issue.
4243 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4244 Andreas Jaeger <aj@suse.de>
4246 * nscd/nscd.c (go_background): Replaced with...
4247 (run_mode): ... this.
4248 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4249 (options): Add -F --foreground.
4250 (main): Implement it.
4251 (parse_opt): Parse it.
4253 2012-05-09 Andreas Jaeger <aj@suse.de>
4256 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4257 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4258 -Wconversion warning.
4259 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4262 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4264 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4266 (LC_ALL): Use macro-int-constant.
4267 (LC_COLLATE): Likewise.
4268 (LC_CTYPE): Likewise.
4269 (LC_MESSAGES): Likewise.
4270 (LC_MONETARY): Likewise.
4271 (LC_NUMERIC): Likewise.
4272 (LC_TIME): Likewise.
4273 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4274 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4276 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4278 [C99-based standards] (float_t): Expect type.
4279 [C99-based standards] (double_t): Expect type.
4280 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4282 [C99-based standards] (HUGE_VALL): Likewise.
4283 [C99-based standards] (INFINITY): Likewise.
4284 [C99-based standards] (NAN): Likewise.
4285 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4286 [C99-based standards] (FP_NAN): Likewise.
4287 [C99-based standards] (FP_NORMAL): Likewise.
4288 [C99-based standards] (FP_SUBNORMAL): Likewise.
4289 [C99-based standards] (FP_ZERO): Likewise.
4290 [C99-based standards] (FP_FAST_FMA): Use
4291 optional-macro-int-constant. Specify type. Require == 1.
4292 [C99-based standards] (FP_FAST_FMAF): Likewise.
4293 [C99-based standards] (FP_FAST_FMAL): Likewise.
4294 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4295 [C99-based standards] (FP_ILOGBNAN): Likewise.
4296 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4298 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4299 [C99-based standards] (math_errhandling): Specify type.
4300 [ISO99 || ISO11] (signgam): Do not allow.
4301 [non-C99-based standards] (copysignf): Do not allow.
4302 [non-C99-based standards] (exp2f): Likewise.
4303 [non-C99-based standards] (log2f): Likewise.
4304 [non-C99-based standards] (modff): Allow.
4305 [non-C99-based standards] (erff): Do not allow.
4306 [non-C99-based standards] (erfcf): Likewise.
4307 [non-C99-based standards] (gammaf): Likewise.
4308 [non-C99-based standards] (hypotf): Likewise.
4309 [non-C99-based standards] (j0f): Likewise.
4310 [non-C99-based standards] (j1f): Likewise.
4311 [non-C99-based standards] (jnf): Likewise.
4312 [non-C99-based standards] (lgammaf): Likewise.
4313 [non-C99-based standards] (tgammaf): Likewise.
4314 [non-C99-based standards] (y0f): Likewise.
4315 [non-C99-based standards] (y1f): Likewise.
4316 [non-C99-based standards] (ynf): Likewise.
4317 [non-C99-based standards] (isnanf): Likewise.
4318 [non-C99-based standards] (acoshf): Likewise.
4319 [non-C99-based standards] (asinhf): Likewise.
4320 [non-C99-based standards] (atanhf): Likewise.
4321 [non-C99-based standards] (cbrtf): Likewise.
4322 [non-C99-based standards] (expm1f): Likewise.
4323 [non-C99-based standards] (ilogbf): Likewise.
4324 [non-C99-based standards] (log1pf): Likewise.
4325 [non-C99-based standards] (logbf): Likewise.
4326 [non-C99-based standards] (nextafterf): Likewise.
4327 [non-C99-based standards] (remainderf): Likewise.
4328 [non-C99-based standards] (rintf): Likewise.
4329 [non-C99-based standards] (scalbf): Likewise.
4330 [non-C99-based standards] (copysignl): Likewise.
4331 [non-C99-based standards] (exp2l): Likewise.
4332 [non-C99-based standards] (log2l): Likewise.
4333 [non-C99-based standards] (modfl): Allow.
4334 [non-C99-based standards] (erfl): Do not allow.
4335 [non-C99-based standards] (erfcl): Likewise.
4336 [non-C99-based standards] (gammal): Likewise.
4337 [non-C99-based standards] (hypotl): Likewise.
4338 [non-C99-based standards] (j0l): Likewise.
4339 [non-C99-based standards] (j1l): Likewise.
4340 [non-C99-based standards] (jnl): Likewise.
4341 [non-C99-based standards] (lgammal): Likewise.
4342 [non-C99-based standards] (tgammal): Likewise.
4343 [non-C99-based standards] (y0l): Likewise.
4344 [non-C99-based standards] (y1l): Likewise.
4345 [non-C99-based standards] (ynl): Likewise.
4346 [non-C99-based standards] (isnanl): Likewise.
4347 [non-C99-based standards] (acoshl): Likewise.
4348 [non-C99-based standards] (asinhl): Likewise.
4349 [non-C99-based standards] (atanhl): Likewise.
4350 [non-C99-based standards] (cbrtl): Likewise.
4351 [non-C99-based standards] (expm1l): Likewise.
4352 [non-C99-based standards] (ilogbl): Likewise.
4353 [non-C99-based standards] (log1pl): Likewise.
4354 [non-C99-based standards] (logbl): Likewise.
4355 [non-C99-based standards] (nextafterl): Likewise.
4356 [non-C99-based standards] (remainderl): Likewise.
4357 [non-C99-based standards] (rintl): Likewise.
4358 [non-C99-based standards] (scalbl): Likewise.
4359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4360 [non-C99-based standards] (FP_*): Do not allow.
4361 [C99-based standards] (FP_*): Change to
4362 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4363 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4365 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4366 (SIG_ERR): Likewise.
4367 [X/Open-based standards] (SIG_HOLD): Likewise.
4368 (SIG_IGN): Likewise.
4369 (SIGABRT): Use macro-int-constant. Specify type. Require
4374 (SIGSEGV): Likewise.
4376 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4377 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4378 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4379 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4380 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4381 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4382 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4383 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4384 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4385 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4386 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4387 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4388 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4389 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4390 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4391 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4392 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4393 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4394 [X/Open-based standards] (SIGTRAP): Likewise.
4395 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4396 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4397 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4398 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4399 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4402 2012-05-08 Ian Wienand <ianw@vmware.com>
4405 * time/tzset.c (__tzset_parse_tz): Update default rules for
4406 daylight time changes in the Energy Policy Act of 2005.
4408 2012-05-09 Andreas Jaeger <aj@suse.de>
4411 * elf/ldconfig.c (parse_conf): Change string to make clear that
4412 ldconfig only issued a warning if ld.so.conf does not exist.
4414 2012-05-08 David S. Miller <davem@davemloft.net>
4416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4417 movxtod instead of popping the value on the stack.
4419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4421 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4423 * config.h.in: Add HAVE_ARM_PCS_VFP.
4425 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4428 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4429 checking but the checks are disabled for any reason.
4431 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4433 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4434 and ELF64_R_TYPE with ELFW(R_TYPE).
4436 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4438 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4441 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4442 (settimeofday): Likewise.
4444 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4446 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4447 a struct th_u2 inside the union, and move tu_block/tu_code into
4448 a new th_u3 union of tu_block/tu_code inside of that. Move
4449 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4450 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4451 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4452 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4453 (th_stuff): Change to th_u1.tu_stuff.
4455 (th_msg): Change to th_u1.th_u2.tu_data.
4457 2012-05-07 David S. Miller <davem@davemloft.net>
4459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4462 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4463 (SETUP_PIC_REG): Use it.
4464 (SETUP_PIC_REG_LEAF): Use it.
4466 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4470 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4472 (EXPL_FINITE): Likewise.
4474 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4475 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4477 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4479 (EXPL_FINITE): Likewise.
4481 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4482 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4484 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4485 test of -max_value argument for long double.
4486 * sysdeps/i386/fpu/libm-test-ulps: Update.
4487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4489 2012-05-06 David S. Miller <davem@davemloft.net>
4491 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4492 quad soft-float symbols whose references which are compiler
4494 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4496 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4500 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4502 (EXPL_FINITE): Likewise.
4506 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4507 Adjust comments for base varying.
4508 (__expl_finite): Change alias to EXPL_FINITE.
4509 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4511 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4512 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4513 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4514 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4517 (EXPL_FINITE): Likewise.
4521 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4522 Adjust comments for base varying.
4523 (__expl_finite): Change alias to EXPL_FINITE.
4524 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4529 * math/libm-test.inc (check_float_internal): Correct ulp
4530 calculation for subnormal expected results.
4532 2012-05-06 Andreas Jaeger <aj@suse.de>
4534 * Makeconfig (+math-flags): New, set to -frounding-math.
4535 (+cflags): Add +math-flags so that all of glibc gets compiled with
4538 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4540 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4542 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4548 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4549 (__ieee754_expl): Allow for and saturate large arguments.
4550 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4551 (u_threshold): Likewise.
4552 (__exp): Call __ieee754_exp before checking for overflow and
4554 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4555 (u_threshold): Likewise.
4556 (__expf): Call __ieee754_expf before checking for overflow and
4558 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4559 (u_threshold): Likewise.
4560 (__expl): Call __ieee754_expl before checking for overflow and
4562 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4563 (__ieee754_expl): Allow for and saturate large arguments.
4564 * math/libm-test.inc (exp_test): Add another test. Do not allow
4565 missing overflow exception on overflow.
4566 (expm1_test): Do not allow missing overflow exception on overflow.
4568 * sysdeps/i386/fpu/e_expl.c: Move to ...
4569 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4570 rather than using inline asm.
4571 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4572 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4573 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4575 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4582 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4584 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4585 sysdeps/unix/common/syscalls.list.
4588 (ftruncate): Likewise.
4589 (getrusage): Likewise.
4590 (gettimeofday): Likewise.
4591 (setpgid): Likewise.
4592 (setregid): Likewise.
4593 (setreuid): Likewise.
4594 (sigaction): Likewise.
4595 (truncate): Likewise.
4596 (vhangup): Likewise.
4597 * sysdeps/unix/common/syscalls.list: Remove file.
4598 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4599 * sysdeps/unix/sysv/linux/Implies: Likewise.
4601 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4603 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4605 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4609 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4612 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4615 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4618 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4621 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4624 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4627 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4631 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4635 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4638 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4642 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4646 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4648 * sysdeps/unix/common/bits/dirent.h: Remove file.
4649 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4651 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4652 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4653 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4654 * sysdeps/unix/bsd/isatty.c: Likewise.
4655 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4656 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4657 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4659 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4663 long double comparison inaccuracies.
4664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4667 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4669 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4670 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4672 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4675 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4676 nonzero digits before rounding a hex value.
4677 * stdlib/tst-strtod.c (tests): Add another test.
4679 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4681 * sysdeps/s390/fpu/libm-test-ulps: Update.
4683 2012-05-03 Andreas Jaeger <aj@suse.de>
4685 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4686 does not get optimized out.
4687 (malloc_opt_barrier): New.
4689 2012-05-03 Andreas Jaeger <aj@suse.de>
4690 Roland McGrath <roland@hack.frob.com>
4692 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4693 intermediate file deletion.
4694 (generated): Add .symlist files.
4696 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4699 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4700 Redirect under this condition.
4701 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4702 [__USE_GNU] (__dprintf_chk): Not under this condition.
4703 [__USE_GNU] (__vdprintf_chk): Likewise.
4704 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4705 under this condition.
4706 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4707 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4708 [__USE_XOPEN2K8] (vdprintf): Likewise.
4709 [__USE_GNU] (__dprintf_chk): Not under this condition.
4710 [__USE_GNU] (__vdprintf_chk): Likewise.
4711 [__USE_GNU] (dprintf): Likewise.
4712 [__USE_GNU] (vdprintf): Likewise.
4714 2012-05-03 Roland McGrath <roland@hack.frob.com>
4716 * elf/Makefile (common-generated): Set this instead of generated for
4717 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4718 $(all-built-dso)-derived lists.
4720 2012-05-03 Andreas Jaeger <aj@suse.de>
4722 * sysdeps/i386/fpu/libm-test-ulps: Update.
4726 * scripts/gen-FAQ.pl: Likewise.
4727 * manual/install.texi (Installation): Point to online location of
4729 * Makefile (files-for-dist): Remove FAQ.
4732 2012-05-02 Allan McRae <allan@archlinux.org>
4734 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4735 (LDFLAGS-reldepmod5.so): Likewise.
4736 (LDFLAGS-reldep6mod1.so): Likewise.
4737 (LDFLAGS-reldep6mod4.so): Likewise.
4738 (LDFLAGS-reldep8mod3.so): Likewise.
4739 (LDFLAGS-unload4mod1.so): Likewise.
4740 (LDFLAGS-unload4mod2.so): Likewise.
4741 (LDFLAGS-tst-initorder): Likewise.
4742 (LDFLAGS-tst-initordera2.so): Likewise.
4743 (LDFLAGS-tst-initordera3.so): Likewise.
4744 (LDFLAGS-tst-initordera4.so): Likewise.
4745 (LDFLAGS-tst-initorderb2.so): Likewise.
4746 (LDFLAGS-noload): Likewise.
4747 (LDFLAGS-next): Likewise.
4748 (LDFLAGS-order2mod1.so): Likewise.
4749 (LDFLAGS-order2mod2.so): Likewise.
4750 (LDFLAGS-tst-initorder2): Likewise.
4751 (LDFLAGS-tst-initorder2a.so): Likewise.
4752 (LDFLAGS-tst-initorder2b.so): Likewise.
4753 (LDFLAGS-tst-initorder2c.so): Likewise.
4754 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4756 2012-05-02 David S. Miller <davem@davemloft.net>
4758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4760 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4763 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4765 2012-05-02 Andreas Jaeger <aj@suse.de>
4767 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4768 since we manipulate rounding mode.
4769 (CPPFLAGS-test-idouble.c): Likewise.
4770 (CPPFLAGS-test-ifloat.c): Likewise.
4771 (CFLAGS-test-ldouble.c): Likewise.
4772 (CFLAGS-test-double.c): Likewise.
4773 (CFLAGS-test-float.c): Likewise.
4774 (CFLAGS-test-misc.c): Likewise.
4775 (CFLAGS-test-test-fenv.c): Likewise.
4777 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4781 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4782 comparisons to determine direction to adjust input.
4784 2012-05-01 Roland McGrath <roland@hack.frob.com>
4786 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4787 output to the target.
4789 * scripts/localplt.awk: New file.
4790 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4791 (check-localplt-CFLAGS): Variable removed.
4792 ($(all-built-dso:=.jmprel)): New static pattern rule.
4793 (generated): Add those targets.
4794 (localplt-built-dso): New variable.
4795 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4797 * elf/check-localplt.c: File removed.
4799 * scripts/check-execstack.awk: New file.
4800 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4801 (check-execstack-CFLAGS): Variable removed.
4802 ($(objpfx)check-execstack.h): Target removed.
4803 ($(objpfx)execstack-default): New target.
4804 (generated): Add that instead of check-execstack.h.
4805 ($(all-built-dso:=.phdr)): New static pattern rule.
4806 (generated): Add those targets.
4807 * elf/check-execstack.c: File removed.
4809 * scripts/check-textrel.awk: New file.
4810 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4811 (check-textrel-CFLAGS): Variable removed.
4812 (all-built-dso): Use := to define.o
4813 ($(all-built-dso:=.dyn)): New static pattern rule.
4814 (generated): Add those targets.
4815 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4816 * config.make.in (READELF): New substituted variable.
4817 * elf/check-textrel.c: File removed.
4819 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4821 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4823 * conform/data/ctype.h-data [C99-based standards] (isblank):
4825 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4826 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4827 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4828 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4829 Specify type. Require positive value.
4832 [ISO || POSIX] (EILSEQ): Do not expect.
4833 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4834 Specify type. Require positive value.
4835 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4836 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4837 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4838 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4839 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4840 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4841 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4842 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4843 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4844 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4845 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4846 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4847 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4848 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4849 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4850 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4851 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4852 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4853 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4854 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4855 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4856 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4857 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4858 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4859 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4860 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4861 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4862 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4863 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4864 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4865 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4866 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4867 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4868 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4869 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4870 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4871 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4872 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4873 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4874 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4875 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4876 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4877 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4878 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4879 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4880 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4881 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4882 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4883 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4884 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4885 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4886 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4887 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4888 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4889 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4890 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4891 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4892 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4893 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4894 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4895 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4896 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4897 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4898 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4899 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4900 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4901 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4902 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4903 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4904 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4905 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4906 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4907 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4908 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4909 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4910 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4911 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4913 (FLT_ROUNDS): Expect as macro, not constant.
4914 (FLT_MANT_DIG): Use macro-int-constant.
4915 (DBL_MANT_DIG): Likewise.
4916 (LDBL_MANT_DIG): Likewise.
4917 (FLT_DIG): Likewise.
4918 (DBL_DIG): Likewise.
4919 (LDBL_DIG): Likewise.
4920 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4921 (DBL_MIN_EXP): Likewise.
4922 (LDBL_MIN_EXP): Likewise.
4923 (FLT_MAX_EXP): Use macro-int-constant.
4924 (DBL_MAX_EXP): Likewise.
4925 (LDBL_MAX_EXP): Likewise.
4926 (FLT_MAX_10_EXP): Likewise.
4927 (DBL_MAX_10_EXP): Likewise.
4928 (LDBL_MAX_10_EXP): Likewise.
4929 (FLT_MAX): Use macro-constant.
4930 (DBL_MAX): Likewise.
4931 (LDBL_MAX): Likewise.
4932 (FLT_EPSILON): Use macro-constant. Give upper bound.
4933 (DBL_EPSILON): Likewise.
4934 (LDBL_EPSILON): Likewise.
4935 (FLT_MIN): Likewise.
4936 (DBL_MIN): Likewise.
4937 (LDBL_MIN): Likewise.
4938 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4939 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4940 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4941 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4942 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4943 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4944 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4945 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4946 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4947 [ISO11] (FLT_TRUE_MIN): Likewise.
4948 [ISO11] (LDBL_TRUE_MIN): Likewise.
4949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4950 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4951 (SCHAR_MIN): Use macro-int-constant. Specify type.
4952 (SCHAR_MAX): Likewise.
4953 (UCHAR_MAX): Likewise.
4954 (CHAR_MIN): Likewise.
4955 (CHAR_MAX): Likewise.
4956 (MB_LEN_MAX): Use macro-int-constant.
4957 (SHRT_MIN): Use macro-int-constant. Specify type.
4958 (SHRT_MAX): Likewise.
4959 (USHRT_MAX): Likewise.
4960 (INT_MAX): Likewise.
4961 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4963 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4965 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4967 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4968 bound negative. Suffix upper bound with "L".
4969 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4971 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4973 [C99-based standards] (LLONG_MAX): Likewise.
4974 [C99-based standards] (ULLONG_MAX): Likewise.
4975 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4977 [ISO11] (max_align_t): Require type.
4978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4980 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4981 from $CFLAGS, without defining away __attribute__ calls.
4982 (checknamespace): Use $CFLAGS_namespace.
4984 * conform/conformtest.pl (@keywords): Only include C99 keywords
4985 for standards based on C99 or C11.
4987 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4989 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4992 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4993 usability of symbols in #if.
4995 * conform/conformtest.pl: If macro or constant types start
4996 "promoted:", expect the symbol to be of the following type
4997 promoted by the integer promotions.
4999 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5000 in one place. Also handle "macro-constant".
5002 * conform/conformtest.pl: Only accept expected macro values with
5003 "==". Parse all "macro" lines in one place.
5004 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5006 * conform/conformtest.pl: Handle braced types on "constant" lines
5007 instead of handling "typed-constant".
5008 * conform/data/signal.h-data: Use "constant" instead of
5011 * conform/conformtest.pl: Handle "optional-" at start of lines in
5012 one place rather than duplicating several cases. Handle each
5013 format of "macro" line with initial "optional-".
5015 * conform/conformtest.pl: Only accept expected constant or
5016 optional-constant values with "==". Parse all "constant" lines in
5017 one place. Parse all "optional-constant" lines in one place.
5018 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5019 * conform/data/fmtmsg.h-data: Likewise.
5020 * conform/data/netinet/in.h-data: Likewise.
5021 * conform/data/tar.h-data: Likewise.
5022 * conform/data/limits.h-data: Use "==" form on "constant" and
5023 "optional-constant" lines.
5025 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5026 Use -std=c99 for XOPEN2K.
5027 (@knownproblems): Remove.
5028 (newtoken): Don't check %isknown.
5030 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5031 Do not expect macro.
5032 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5033 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5034 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5035 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5036 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5037 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5038 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5039 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5040 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5041 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5042 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5043 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5044 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5045 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5046 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5047 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5048 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5049 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5050 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5051 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5052 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5053 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5054 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5055 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5056 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5057 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5058 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5059 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5060 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5061 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5062 [XPG3] (acosh): Likewise.
5063 [XPG3] (asinh): Likewise.
5064 [XPG3] (atanh): Likewise.
5065 [XPG3] (cbrt): Likewise.
5066 [XPG3] (expm1): Likewise.
5067 [XPG3] (ilogb): Likewise.
5068 [XPG3] (log1p): Likewise.
5069 [XPG3] (logb): Likewise.
5070 [XPG3] (nextafter): Likewise.
5071 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5072 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5073 [XPG3] (remainder): Likewise.
5074 [XPG3] (rint): Likewise.
5075 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5076 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5077 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5078 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5079 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5080 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5081 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5082 [UNIX98 || XOPEN2K] (scalb): Expect.
5083 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5084 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5085 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5086 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5087 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5088 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5089 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5090 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5091 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5092 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5093 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5094 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5095 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5096 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5097 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5098 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5099 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5100 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5101 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5102 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5103 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5104 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5105 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5106 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5107 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5108 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5109 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5110 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5111 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5112 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5113 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5114 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5115 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5116 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5117 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5118 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5119 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5120 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5121 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5122 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5123 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5124 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5125 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5126 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5127 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5128 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5129 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5130 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5131 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5132 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5133 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5134 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5135 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5136 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5137 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5138 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5139 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5140 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5141 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5142 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5143 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5144 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5145 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5146 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5147 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5148 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5149 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5150 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5151 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5152 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5153 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5154 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5155 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5156 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5157 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5158 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5159 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5160 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5161 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5162 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5163 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5164 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5165 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5166 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5167 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5168 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5169 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5170 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5171 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5172 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5173 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5174 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5186 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5187 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5188 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5189 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5190 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5191 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5192 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5193 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5194 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5197 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5198 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5204 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5205 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5206 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5207 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5208 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5209 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5210 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5211 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5212 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5215 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5216 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5221 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5222 _XOPEN_SOURCE_EXTENDED for XPG4.
5224 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5226 * Makeconfig (localtime): Remove variable.
5227 (inst_localtime-file): Likewise.
5229 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5250 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5254 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5255 comparisons to determine direction to adjust input.
5256 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5257 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5258 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5260 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5262 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5264 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5265 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5267 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5269 * math/libm-test.inc (nexttoward_test): Add more tests.
5271 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5274 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5275 in version GLIBC_2.1, not GLIBC_2.0.
5276 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5279 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5282 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5284 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5285 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5286 * math/libm-test.inc (acos_test): Add more tests.
5287 (asin_test): Likewise.
5288 * sysdeps/i386/fpu/libm-test-ulps: Update.
5289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5292 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5294 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5295 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5296 * math/libm-test.inc (acos_test_tonearest): New function.
5297 (acos_test_towardzero): Likewise.
5298 (acos_test_downward): Likewise.
5299 (acos_test_upward): Likewise.
5300 (asin_test_tonearest): Likewise.
5301 (asin_test_towardzero): Likewise.
5302 (asin_test_downward): Likewise.
5303 (asin_test_upward): Likewise.
5304 (main): Call the new functions.
5305 * sysdeps/i386/fpu/libm-test-ulps: Update.
5306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5310 * math/e_exp10.c: Include <float.h>.
5311 (__ieee754_exp10): Handle underflow here rather than multiplying
5312 large negative argument by M_LN10.
5313 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5315 * math/e_exp10l.c: Include <float.h>.
5316 (__ieee754_exp10l): Handle underflow here rather than multiplying
5317 large negative argument by M_LN10l.
5318 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5319 spurious overflow exception on underflow.
5321 2012-04-29 Marek Polacek <polacek@redhat.com>
5323 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5324 (__fortify_function): New macro.
5325 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5326 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5327 __extern_always_inline.
5328 * libio/bits/stdio2.h: Likewise.
5329 * libio/bits/stdio.h: Likewise.
5330 * string/string.h: Likewise.
5331 * string/bits/string3.h: Likewise.
5332 * include/stdio.h: Likewise.
5333 * stdlib/bits/stdlib.h: Likewise.
5334 * stdlib/stdlib.h: Likewise.
5335 * rt/bits/mqueue2.h: Likewise.
5336 * rt/mqueue.h: Likewise.
5337 * posix/bits/unistd.h: Likewise.
5338 * posix/unistd.h: Likewise.
5339 * io/bits/poll2.h: Likewise.
5340 * io/bits/fcntl2.h: Likewise.
5341 * io/fcntl.h: Likewise.
5342 * io/sys/poll.h: Likewise.
5343 * misc/bits/syslog.h: Likewise.
5344 * misc/bits/syslog-ldbl.h: Likewise.
5345 * misc/sys/syslog.h: Likewise.
5346 * socket/bits/socket2.h: Likewise.
5347 * socket/sys/socket.h: Likewise.
5348 * debug/tst-chk1.c: Likewise.
5349 * wcsmbs/bits/wchar2.h: Likewise.
5350 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5351 * wcsmbs/wchar.h: Likewise.
5353 2012-04-29 Andreas Jaeger <aj@suse.de>
5355 * Makerules (tests): Remove enable-check-abi protection.
5356 (check-abi-warn): Remove.
5357 (check-abi-%): Remove check-abi-warn usage.
5359 * configure.in: Remove check-abi configure option.
5360 * configure: Regenerated.
5361 * config.make.in (enable-check-abi): Remove.
5363 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5366 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5367 double functions to double *_finite functions.
5370 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5371 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5373 * stdio-common/Makefile (tests): Add tst-sprintf3.
5374 * stdio-common/tst-sprintf3.c: New file.
5376 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5377 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5379 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5381 * conform/conformtest.pl: Remove duplicate typed-constant
5384 2012-04-28 David S. Miller <davem@davemloft.net>
5386 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5387 (check-abi-%): Remove AWK script prerequisite and explicit
5389 (check-abi): Rewrite to just diff the symlist with the abilist.
5390 (config-tls, config-abi-config): Delete, no longer used.
5391 (update-abi-%): Remove AWK script and explicit abilist directory.
5392 (update-abi): Rewrite to simply compare and conditionally copy the
5393 symlist and the sysdep abilist file. Remove update-abi-config
5395 * abilist/ld.abilist: Remove.
5396 * abilist/libBrokenLocale.abilist: Remove.
5397 * abilist/libanl.abilist: Remove.
5398 * abilist/libcrypt.abilist: Remove.
5399 * abilist/libdl.abilist: Remove.
5400 * abilist/librt.abilist: Remove.
5401 * abilist/libthread_db.abilist: Remove.
5402 * abilist/libutil.abilist: Remove.
5403 * scripts/extract-abilist.awk: Remove.
5404 * scripts/merge-abilist.awk: Remove.
5405 * sysdeps/generic/libcidn.abilist: New file.
5406 * sysdeps/generic/libnss_compat.abilist: New file.
5407 * sysdeps/generic/libnss_db.abilist: New file.
5408 * sysdeps/generic/libnss_dns.abilist: New file.
5409 * sysdeps/generic/libnss_files.abilist: New file.
5410 * sysdeps/generic/libnss_hesiod.abilist: New file.
5411 * sysdeps/generic/libnss_nis.abilist: New file.
5412 * sysdeps/generic/libnss_nisplus.abilist: New file.
5413 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5414 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5415 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5418 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5419 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5420 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5421 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5422 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5423 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5424 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5425 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5427 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5428 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5429 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5430 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5432 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5433 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5434 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5435 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5436 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5437 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5439 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5440 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5441 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5443 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5546 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5547 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5548 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5550 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5551 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5552 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5553 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5554 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5555 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5556 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5557 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5558 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5559 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5611 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5613 * conform/conformtest.pl: Fix typo in handling typed-constant from
5616 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5618 * README: Cut down references to pre-2.6 Linux kernels and
5619 Linuxthreads. Update lists of configurations in libc and ports
5620 and sort alphabetically. Say "or newer" with Linux kernel version
5623 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5625 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5628 * math/libm-test.inc (logb_test_downward): New test to expose
5629 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5632 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5635 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5637 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5638 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5640 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5642 * sysdeps/unix/i386/brk.S: Remove file.
5643 * sysdeps/unix/i386/dl-brk.S: Likewise.
5644 * sysdeps/unix/i386/pipe.S: Likewise.
5645 * sysdeps/unix/i386/sigreturn.S: Likewise.
5646 * sysdeps/unix/i386/syscall.S: Likewise.
5647 * sysdeps/unix/i386/vfork.S: Likewise.
5648 * sysdeps/unix/i386/wait.S: Likewise.
5650 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5651 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5653 * configure.in (arm*-none*): Do not allow without
5654 --enable-hacker-mode.
5655 (netbsd*): Remove case setting base_os.
5656 (386bsd*): Likewise.
5657 (freebsd*): Likewise.
5661 (ultrix*): Likewise.
5662 (newsos*): Likewise.
5672 (solaris[2-9]*): Likewise.
5674 * configure: Regenerated.
5676 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5679 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5680 overflow or cancellation in calculating denominator.
5681 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5683 down expression to avoid unexpected rounding in newer GCCs.
5684 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5686 2012-04-26 David S. Miller <davem@davemloft.net>
5688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5689 long-double compat symbols.
5690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5704 2012-04-25 David S. Miller <davem@davemloft.net>
5706 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5707 HWCAP_* values only after the memory barriers have been defined.
5708 (atomic_full_barrier): Define.
5709 (atomic_read_barrier): Define.
5710 (atomic_write_barrier): Define.
5712 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5714 * shlib-versions: Add libgcc_s version information.
5715 * sysdeps/generic/libgcc_s.h: Remove.
5716 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5718 * sysdeps/gnu/unwind-resume.c: Likewise.
5719 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5721 2012-04-25 David S. Miller <davem@davemloft.net>
5723 * sysdeps/unix/sparc/brk.S: Delete.
5724 * sysdeps/unix/sparc/dl-brk.S: Delete.
5725 * sysdeps/unix/sparc/pipe.S: Delete.
5726 * sysdeps/unix/sparc/sysdep.S: Delete.
5727 * sysdeps/unix/sparc/sysdep.h: Delete.
5728 * sysdeps/unix/sparc/vfork.S: Delete.
5729 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5730 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5731 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5732 ret_ERRVAL, r0, r1, MOVE): Define.
5733 (JUMPTARGET): Remove.
5734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5735 sysdeps/unix/sparc/sysdep.h
5736 (ENTRY, END): Remove.
5737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5739 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5741 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5742 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5745 * timezone/README: Update upstream location and email address for
5747 * timezone/zdump.c: Update from tzcode 2012b.
5748 * timezone/zic.c: Likewise.
5750 * configure.in (libc_cv_as_needed): Remove test.
5751 * configure: Regenerated.
5752 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5753 conditional definition.
5754 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5755 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5756 * config.make.in (have-as-needed): Remove variable.
5758 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5759 Paul Pluzhnikov <ppluzhnikov@google.com>
5761 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5764 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5766 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5767 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5768 * sysdeps/sh/strlen.S: Likewise.
5770 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5772 * sysdeps/unix/fork.S: Remove file.
5773 * sysdeps/unix/i386/fork.S: Likewise.
5774 * sysdeps/unix/sparc/fork.S: Likewise.
5776 * sysdeps/unix/system.c: Remove file.
5777 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5779 * sysdeps/unix/getegid.S: Remove file.
5780 * sysdeps/unix/geteuid.S: Likewise.
5782 2012-04-24 Roland McGrath <roland@hack.frob.com>
5784 * scripts/check-localplt.awk: New file.
5785 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5787 * scripts/data/localplt-generic.data: Add a comment.
5789 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5790 NODE when __dir_mkfile failed.
5791 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5792 Reported by Ludovic Courtès <ludo@gnu.org>.
5794 2012-04-24 Andreas Jaeger <aj@suse.de>
5796 * Makerules (common-clean): Also remove gen-as-const-headers
5799 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5801 * Makerules (native-compile): Do not change working directory for
5802 build. Use $(OUTPUT_OPTION) in command.
5803 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5805 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5809 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5810 * math/libm-test.inc (floor_test): Add more tests.
5811 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5813 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5815 * sysdeps/unix/getdents.c: Remove file.
5816 * sysdeps/unix/sysv/getdents.c: Likewise.
5817 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5819 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5820 sysdeps/unix/mman/syscalls.list.
5822 (mprotect): Likewise.
5825 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5826 * sysdeps/unix/mman/syscalls.list: Remove.
5827 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5829 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5830 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5831 * configure: Regenerated.
5832 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5834 * config.make.in (libgcc_s_suffix): Remove variable.
5836 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5838 * sysdeps/unix/sysv/gethostname.c: Move to ...
5839 * sysdeps/posix/gethostname.c: ... here.
5841 * sysdeps/unix/execve.S: Remove file.
5843 * sysdeps/unix/_exit.S: Remove file.
5845 2012-04-23 Andreas Jaeger <aj@suse.de>
5848 * manual/Makefile: Remove make dist support, there's no
5849 need for a stand-alone documentation tar ball.
5850 (TEXI2DVI): Define always, it's not in Makeconfig.
5854 (glibc-doc-$(edition).tar): Removed
5858 (ETAGS): Remove, it's in Makeconfig.
5859 (move-if-change): Remove, it's in Makeconfig.
5861 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5864 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5865 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5866 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5867 (strtod_l, strtof_l, strtold_l): Remove __wur.
5868 It is not necessarily an error to ignore strtol's return value.
5869 One can reliably look at the stored endptr to decide whether
5870 the number had valid syntax.
5872 2012-04-21 Andreas Jaeger <aj@suse.de>
5875 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5877 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5879 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5880 * sysdeps/unix/sysv/Versions: Remove file.
5882 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5887 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5890 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5891 version from __vm86.
5893 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5895 * sysdeps/unix/common/lxstat.c: Remove file.
5896 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5898 * sysdeps/unix/sysv/Makefile: Remove file.
5900 * sysdeps/unix/sysv/direct.h: Remove file.
5902 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5903 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5904 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5905 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5906 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5907 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5908 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5910 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5912 * sysdeps/unix/xmknod.c: Remove file.
5913 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5915 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5917 * sysdeps/unix/sysv/i386/time.S: Remove file.
5919 * sysdeps/unix/fxstat.c: Remove file.
5920 * sysdeps/unix/xstat.c: Likewise.
5921 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5923 * sysdeps/unix/sysv/sigaction.c: Remove file.
5925 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5926 (sysdep_headers): Remove variable.
5927 [termio.h not in sysdep_headers] (generated): Likewise.
5928 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5929 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5930 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5931 * sysdeps/unix/sysv/tcflow.c: Likewise.
5932 * sysdeps/unix/sysv/tcflush.c: Likewise.
5933 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5934 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5935 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5936 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5937 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5939 * sysdeps/unix/siglist.c: Remove file.
5941 * sysdeps/unix/getppid.S: Remove file.
5943 * sysdeps/unix/mkdir.c: Remove file.
5944 * sysdeps/unix/rmdir.c: Likewise.
5946 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5948 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5950 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5951 errlist-compat value.
5953 2012-04-18 David S. Miller <davem@davemloft.net>
5955 * sysdeps/generic/memcopy.h (reg_char): Delete.
5956 * debug/strcat_chk.c: Use char, not reg_char.
5957 * debug/strcpy_chk.c: Likewise.
5958 * debug/strncat_chk.c: Likewise.
5959 * debug/strncpy_chk.c: Likewise.
5960 * string/memchr.c: Likewise.
5961 * string/memrchr.c: Likewise.
5962 * string/rawmemchr.c: Likewise.
5963 * string/strcat.c: Likewise.
5964 * string/strchr.c: Likewise.
5965 * string/strchrnul.c: Likewise.
5966 * string/strcmp.c: Likewise.
5967 * string/strcpy.c: Likewise.
5968 * string/strncat.c: Likewise.
5969 * string/strncmp.c: Likewise.
5970 * string/strncpy.c: Likewise.
5972 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5974 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5975 __builtin_memcopy is called when src and dest ranges are known to not
5978 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5980 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5981 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5982 fwd_align_merge macro call.
5983 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5984 bwd_align_merge macro call.
5985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5987 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5989 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5990 bwd_align_merge macros.
5991 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5992 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5993 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5995 2012-04-18 David S. Miller <davem@davemloft.net>
5997 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5999 2012-04-18 Andreas Jaeger <aj@suse.de>
6002 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6003 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6004 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6007 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6010 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6011 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6012 Adjust for changed ldbl-128 files.
6014 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6015 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6016 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6018 2012-04-17 David S. Miller <davem@davemloft.net>
6020 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6022 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6024 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6025 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6026 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6027 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6028 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6029 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6031 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6034 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6035 * math/libm-test.inc: Add ilogb errno and exception tests.
6036 * math/w_ilogb.c: New file: ilogb wrapper.
6037 * math/w_ilogbf.c: New file: ilogbf wrapper.
6038 * math/w_ilogbl.c: New file: ilogbl wrapper.
6039 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6040 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6041 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6042 exception being thrown with 0.0 as argument.
6043 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6044 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6045 exception being thrown with 0.0 as argument.
6046 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6047 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6048 exception being thrown with 0.0 as argument.
6049 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6050 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6051 exception being thrown with 0.0 as argument.
6052 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6053 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6054 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6055 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6056 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6057 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6058 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6059 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6060 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6062 2012-04-17 Petr Baudis <pasky@ucw.cz>
6064 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6067 2012-04-16 Marek Polacek <polacek@redhat.com>
6069 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6071 2012-04-16 Marek Polacek <polacek@redhat.com>
6073 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6074 operands of fdivp instruction.
6076 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6078 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6079 * elf/tst-auditmod3b.c: Likewise.
6080 * elf/tst-auditmod4b.c: Likewise.
6081 * elf/tst-auditmod5b.c: Likewise.
6082 * elf/tst-auditmod6b.c: Likewise.
6083 * elf/tst-auditmod6c.c: Likewise.
6084 * elf/tst-auditmod7b.c: Likewise.
6085 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6086 * sysdeps/x86_64/preconfigure.in: Likewise.
6087 * sysdeps/x86_64/preconfigure: Regenerated.
6089 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6091 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6094 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6096 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6097 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6099 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6102 * locale/iso-639.def: Fix gl language name. Spotted by
6105 2012-04-12 Roland McGrath <roland@hack.frob.com>
6108 * libio/libio.h (__io_write_fn): Update comment.
6110 2012-04-12 Petr Baudis <pasky@ucw.cz>
6113 * stdio.texi (Hook Functions): The user provided writer function
6114 is not allowed to return -1.
6116 2012-04-11 David S. Miller <davem@davemloft.net>
6118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6120 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6122 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6123 Add a leading slash to rtkaio.
6125 2012-04-11 Jim Meyering <meyering@redhat.com>
6128 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6129 It is not necessarily an error to ignore fwrite's return
6130 value. One can reliably use ferror to test for errors after
6133 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6135 * bits/types.h (__snseconds_t): New type.
6136 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6138 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6140 (__SNSECONDS_T_TYPE): Likewise.
6141 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6142 (__SNSECONDS_T_TYPE): Likewise.
6143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6144 (__SNSECONDS_T_TYPE): Likewise.
6146 2012-04-10 Andreas Jaeger <aj@suse.de>
6149 * manual/time.texi (Processor Time): Return type of times is
6150 elapsed real time since an arbitrary point in the past.
6151 (CPU Time): Move CLK_TCK from here...
6152 (Processor Time): ...to here. Correct description.
6153 * manual/conf.texi (Constants for Sysconf): Correct description of
6156 2012-04-10 David S. Miller <davem@davemloft.net>
6159 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6160 where the is a gap between DT_REL(A) and DT_JMPREL.
6162 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6164 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6165 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6166 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6168 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6170 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6171 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6172 (dl_main): Handle --inhibit-cache.
6173 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6175 * elf/dl-load.c (_dl_map_object): Use it.
6176 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6178 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6181 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6182 (__ieee754_powl): Saturate large exponents rather than testing for
6183 overflow of y*log2(x).
6184 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6185 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6189 * math/s_ctan.c: Include <float.h>.
6190 (__ctan): Avoid internal overflow or cancellation in calculating
6192 * math/s_ctanf.c: Likewise.
6193 * math/s_ctanl.c: Likewise.
6194 * math/s_ctanh.c: Likewise.
6195 * math/s_ctanhf.c: Likewise.
6196 * math/s_ctanhl.c: Likewise.
6197 * math/libm-test.inc (ctan_test): Add more tests.
6198 (ctanh_test): Likewise.
6199 * sysdeps/i386/fpu/libm-test-ulps: Update.
6200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6202 2012-04-09 Andreas Jaeger <aj@suse.de>
6205 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6206 is an optional BSD extension.
6209 * manual/stdio.texi (Opening Streams): Document additional fopen
6212 2012-04-09 Roland McGrath <roland@hack.frob.com>
6214 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6215 %eax without telling the compiler.
6217 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6220 * manual/install.texi: Use sourceware.org.
6222 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6225 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6226 (__ieee754_pow): Generate overflow and underflow using huge*huge
6227 and tiny*tiny rather than just returning constant infinity or zero
6228 for large exponents.
6229 * math/libm-test.inc (pow_test): Require overflow exceptions for
6230 applicable cases of large exponents.
6233 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6234 (__ieee754_pow): Use iterative multiplication algorithm only for
6235 integer exponents with absolute value below 1024. Check for odd
6236 integer exponents when using algorithm for real exponents.
6237 * math/libm-test.inc (pow_test): Add more tests.
6238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6240 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6243 * math/libm-test.inc (exp_test): Do not allow overflow exception
6246 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6249 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6250 instead of __kernel_standard_f.
6252 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6254 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6255 * sysdeps/x86_64/memset_chk.S: Likewise.
6257 2012-04-08 Andreas Jaeger <aj@suse.de>
6260 * manual/startup.texi (Environment Access): Describe return value
6261 for putenv and setenv.
6264 * manual/filesys.texi (Directory Entries): Add description for
6268 * manual/filesys.texi (Directory Entries): Clarify that it's file
6269 system not operating system in the description of DT_UNKNOWN.
6272 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6274 2012-04-08 Stephen Compall <s11@member.fsf.org>
6277 * manual/llio.texi (Opening and Closing Files): Add cross
6278 reference to explain mode argument.
6280 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6282 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6283 * sysdeps/x86_64/memset_chk.S: Likewise.
6285 2012-04-07 David S. Miller <davem@davemloft.net>
6287 * elf/elf.h (R_SPARC_WDISP10): Define.
6288 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6290 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6291 R_SPARC_SIZE64 and R_SPARC_H34.
6293 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6295 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6296 conditions and remove no longer applicable assertion.
6298 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6300 * bits/byteswap.h: Include <features.h>.
6301 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6302 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6304 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6306 * bits/byteswap.h (__bswap_16): Removed.
6307 Include <bits/byteswap-16.h> to get __bswap_16.
6308 * sysdeps/i386/bits/byteswap.h: Likewise.
6309 * sysdeps/s390/bits/byteswap.h: Likewise.
6310 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6311 * bits/byteswap-16.h: New file.
6312 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6313 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6314 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6315 * string/Makefile (headers): Add bits/byteswap-16.h.
6317 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6320 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6322 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6323 * nss/tst-nss-static.c: New.
6325 2012-04-06 Robert Millan <rmh@gnu.org>
6328 * manual/llio.texi (File Position Primitive): lseek
6329 refers to WHENCE when it really means OFFSET.
6331 2012-04-06 Andreas Jaeger <aj@suse.de>
6333 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6334 strncmp declarations.
6336 * abilist/libc.abilist: Add __poll and __ppoll.
6338 2012-04-05 David S. Miller <davem@davemloft.net>
6340 * scripts/check-local-headers.sh: Accept a host triplet in the
6341 path matched by the exclude regexp.
6343 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6345 * sysdeps/powerpc/powerpc32/dl-machine.h
6346 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6347 * sysdeps/s390/s390-32/dl-machine.h
6348 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6349 * sysdeps/sparc/sparc32/dl-machine.h
6350 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6351 * sysdeps/sparc/sparc64/dl-machine.h
6352 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6354 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6356 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6357 undefined symbol errors.
6359 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6362 2012-04-05 Michael Matz <matz@suse.de>
6365 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6367 2012-04-05 Andreas Jaeger <aj@suse.de>
6370 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6373 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6375 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6376 which ROUND is no valid rounding mode.
6378 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6380 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6382 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6384 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6386 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6387 an exception using FPU order intentionally.
6389 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6391 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6392 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6393 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6394 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6396 2012-04-05 Simon Josefsson <simon@josefsson.org>
6399 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6400 EINVAL when BUFLEN is too smal.
6402 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6405 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6406 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6408 2012-04-03 Andreas Jaeger <aj@suse.de>
6411 * manual/setjmp.texi (System V contexts): Fix sentence.
6414 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6415 New macro for this case.
6416 [!__GNUC__] (__bswap_64): New inline function for this case.
6417 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6418 * bits/byteswap.h: Likewise.
6419 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6420 ull, guard with __GLIBC_HAVE_LONG_LONG.
6422 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6423 __GLIBC_HAVE_LONG_LONG.
6425 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6426 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6428 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6431 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6432 inptr and inend, rather than using last_ch.
6434 2012-04-02 David S. Miller <davem@davemloft.net>
6436 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6437 * stdio-common/printf-parse.h (read_int): Change return type to
6438 'int', return -1 on INT_MAX overflow.
6439 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6440 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6441 overflows INT_MAX. Check for overflow of in-format-string precision
6442 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6443 SIZE_MAX not INT_MAX for integer overflow test.
6444 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6445 skip the construct in the format string but do not record anything.
6446 * stdio-common/bug22.c: Adjust to test both width/prevision
6447 INT_MAX overflow as well as total length INT_MAX overflow. Check
6448 explicitly for proper errno values.
6450 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6452 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6454 * string/test-strcmp.c [! WIDE]: Likewise.
6455 * time/tst-mktime2.c: Likewise for INT_MAX.
6456 * string/test-string.h: #include <sys/param.h> for MIN.
6458 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6459 * sysdeps/i386/init-first.c (init): Likewise.
6460 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6461 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6462 * sysdeps/sh/init-first.c (init): Likewise.
6464 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6466 * po/ru.po: Update from translation team.
6467 * po/vi.po: Likewise.
6469 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6471 * resolv/nss_dns/dns-host.c: Merge copyright years.
6473 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6476 Optimize memcpy with prefetch if
6477 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6478 src, dst pointers have unequal 16 byte alignments.
6480 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6483 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6484 from a CNAME entry and return the minimum ttl for the query.
6485 (gaih_getanswer_slice): Likewise.
6487 2012-03-30 Jeff Law <law@redhat.com>
6489 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6491 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6492 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6494 * resolv/nss_dns/dns-host.c: Update copyright year.
6496 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6498 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6499 requests to save a system call. Fix check that all bytes are sent.
6501 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6502 comments for sendmmsg.
6504 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6507 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6508 with only 1 character between 0x0041 and 0x01b0.
6509 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6510 * wcsmbs/tst-mbsnrtowcs.c: New file.
6512 2012-03-29 David S. Miller <davem@davemloft.net>
6514 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6515 small copies by hand.
6517 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6520 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6521 _nss_compat_initgroups_dyn): Fall back to malloc/free
6522 for large group memberships.
6524 2012-03-28 David S. Miller <davem@davemloft.net>
6526 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6527 that branches into memcpy.
6528 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6529 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6531 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6534 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6536 * sysdeps/sparc/mempcpy.S: New file.
6538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6539 the IFUNC routine in the libc case.
6540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6542 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6543 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6544 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6545 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6546 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6547 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6548 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6549 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6551 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6552 loop to 256 bytes instead of 64 bytes and fix test signedness.
6554 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6555 * sysdeps/sparc/sparc32/Makefile: rather than here...
6556 * sysdeps/sparc/sparc64/Makefile: and here.
6558 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6560 * malloc/mallocbug.c: Avoid warnings about unused variables.
6562 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6565 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6566 in the right place. Discard and retry query if response is
6567 larger than input buffer size.
6569 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6574 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6575 x for large integer exponent.
6576 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6577 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6578 sign of result as needed afterwards.
6579 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6580 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6581 result for underflowing pow the same as for overflow.
6582 (__kernel_standard_l): Handle powl overflow and underflow here
6583 rather than calling __kernel_standard.
6584 * math/libm-test.inc (pow_test): Add more tests.
6599 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6600 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6601 (__kernel_standard_l): New function.
6602 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6604 * math/w_acosl.c (__acosl): Likewise.
6605 * math/w_asinl.c (__asinl): Likewise.
6606 * math/w_atan2l.c (__atan2l): Likewise.
6607 * math/w_atanhl.c (__atanhl): Likewise.
6608 * math/w_coshl.c (__coshl): Likewise.
6609 * math/w_exp10l.c (__exp10l): Likewise.
6610 * math/w_exp2l.c (__exp2l): Likewise.
6611 * math/w_fmodl.c (__fmodl): Likewise.
6612 * math/w_hypotl.c (__hypotl): Likewise.
6613 * math/w_j0l.c (__j0l, __y0l): Likewise.
6614 * math/w_j1l.c (__j1l, __y1l): Likewise.
6615 * math/w_jnl.c (__jnl, __ynl): Likewise.
6616 * math/w_lgammal.c (__lgammal): Likewise.
6617 * math/w_log10l.c (__log10l): Likewise.
6618 * math/w_log2l.c (__log2l): Likewise.
6619 * math/w_logl.c (__logl): Likewise.
6620 * math/w_powl.c (__powl): Likewise.
6621 * math/w_remainderl.c (__remainderl): Likewise.
6622 * math/w_scalbl.c (sysv_scalbl): Likewise.
6623 * math/w_sinhl.c (__sinhl): Likewise.
6624 * math/w_sqrtl.c (__sqrtl): Likewise.
6625 * math/w_tgammal.c (__tgammal): Likewise.
6626 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6627 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6628 * math/libm-test.inc (acos_test): Add more tests.
6629 (acosh_test): Likewise.
6630 (asin_test): Likewise.
6631 (atanh_test): Likewise.
6632 (exp_test): Likewise.
6633 (exp10_test): Likewise.
6634 (exp2_test): Likewise.
6635 (expm1_test): Likewise.
6636 (lgamma_test): Likewise.
6637 (log_test): Likewise.
6638 (log10_test): Likewise.
6639 (log1p_test): Likewise.
6640 (log2_test): Likewise.
6641 (pow_test): Do not allow some spurious overflow exceptions.
6642 (sqrt_test): Add more tests.
6643 (tgamma_test): Likewise.
6644 (y0_test): Likewise.
6645 (y1_test): Likewise.
6646 (yn_test): Likewise.
6648 2012-03-27 Anton Blanchard <anton@samba.org>
6650 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6652 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6654 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6656 2012-03-27 David S. Miller <davem@davemloft.net>
6658 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6660 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6663 2012-03-27 Andreas Jaeger <aj@suse.de>
6665 * sysdeps/x86_64/elf/configure.in: Moved to ...
6666 * sysdeps/x86_64/configure.in: ... here.
6667 * sysdeps/x86_64/elf/start.S: Moved to ...
6668 * sysdeps/x86_64/start.S: ... here.
6669 * sysdeps/x86_64/elf/configure: Delete.
6671 * sysdeps/x86_64/configure.in: Merge contents from
6672 sysdeps/i386/configure.in (without i686 check).
6674 * sysdeps/i386/elf/Versions: Merge into ...
6675 * sysdeps/i386/Versions: ... this.
6676 * sysdeps/i386/elf/Versions: Delete file.
6677 * sysdeps/i386/elf/start.S: Moved to ...
6678 * sysdeps/i386/start.S: ...here.
6679 * sysdeps/i386/elf/configure.in: Merge into...
6680 * sysdeps/i386/configure.in: ...here.
6681 * sysdeps/i386/elf/configure.in: Delete file.
6682 * sysdeps/i386/elf/configure: Delete file.
6684 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6685 * debug/backtracesyms.c: ... here.
6686 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6687 * debug/backtracesymsfd.c: ... here.
6688 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6689 * sysdeps/generic/ifunc-sel.h: ... here.
6691 * sysdeps/unix/i386/start.c: Delete file.
6692 * sysdeps/unix/sparc/start.c: Delete file.
6693 * sysdeps/unix/start.c: Delete file.
6695 * sysdeps/sh/elf/configure.in: Moved to ...
6696 * sysdeps/sh/configure.in: ... here.
6697 * sysdeps/sh/elf/start.S: Moved to ...
6698 * sysdeps/sh/start.S: ... here.
6699 * sysdeps/sh/elf/configure: Delete file.
6701 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6702 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6703 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6704 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6705 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6706 * sysdeps/powerpc/powerpc64/start.S: here.
6707 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6708 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6709 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6710 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6711 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6713 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6714 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6715 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6716 * sysdeps/powerpc/powerpc32/start.S: ... here.
6717 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6718 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6719 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6721 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6722 * sysdeps/powerpc/ifunc-sel.h: ... here.
6723 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6724 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6726 * sysdeps/sparc/elf/configure.in: Moved to ...
6727 * sysdeps/sparc/configure.in: ... here.
6728 * sysdeps/sparc/elf/configure: Delete file.
6729 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6730 * sysdeps/sparc/sparc32/start.S: ... here.
6731 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6732 * sysdeps/sparc/sparc64/start.S: ... here.
6733 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6734 * sysdeps/sparc/sparc32/Makefile: ... this.
6735 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6736 * sysdeps/sparc/sparc64/Makefile: ... this.
6738 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6739 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6740 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6741 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6742 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6743 * sysdeps/s390/s390-32/setjmp.S: ... here.
6744 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6745 * sysdeps/s390/s390-32/configure.in: ... here.
6746 * sysdeps/s390/s390-32/elf/configure: Delete file.
6747 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6748 * sysdeps/s390/s390-32/start.S: ... here.
6750 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6751 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6752 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6753 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6754 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6755 * sysdeps/s390/s390-64/setjmp.S: ... here.
6756 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6757 * sysdeps/s390/s390-64/configure.in: ... here
6758 * sysdeps/s390/s390-64/elf/configure: Delete file.
6759 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6760 * sysdeps/s390/s390-64/start.S: ... here.
6761 * sysdeps/s390/s390-64/elf/configure: Delete.
6763 * configure.in: Remove support for elf directories in sysdeps.
6765 * configure: Regenerated.
6766 * sysdeps/i386/configure: Regenerated.
6767 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6768 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6769 * sysdeps/s390/s390-32/configure: Regenerated.
6770 * sysdeps/s390/s390-64/configure: Regenerated.
6771 * sysdeps/sh/configure: Regenerated.
6772 * sysdeps/sparc/configure: Regenerated.
6773 * sysdeps/x86_64/configure: Regenerated.
6775 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6780 denormal result into account.
6782 2012-03-25 Roland McGrath <roland@hack.frob.com>
6784 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6785 Reported by Allan McRae <allan@archlinux.org>.
6787 2012-03-23 Jeff Law <law@redhat.com>
6789 * nss/getnssent.c (__nss_getent): Fix typo.
6791 2012-03-23 David S. Miller <davem@davemloft.net>
6793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6795 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6797 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6798 to pad to uint64_t for each field.
6799 (dl_tls_index): Replace unsigned long with uint64_t.
6801 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6802 Paul Pluzhnikov <ppluzhnikov@google.com>
6805 * grp/Makefile (otherlibs): Don't set it.
6806 * inet/Makefile (otherlibs): Likewise.
6807 * login/Makefile (otherlibs): Likewise.
6808 * nscd/Makefile (otherlibs): Likewise.
6809 * posix/Makefile (otherlibs): Likewise.
6810 * pwd/Makefile (otherlibs): Likewise.
6811 * rt/Makefile (otherlibs): Likewise.
6812 * sunrpc/Makefile (otherlibs): Likewise.
6813 * nss/Makefile (otherlibs): Likewise.
6814 Add libnss_files to routines and static-only-routines.
6815 ($(objpfx)getent): Remove rule.
6816 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6817 static-only-routines.
6819 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6822 * math/s_cexp.c: Include <float.h>.
6823 (__cexp): Handle exp result overflowing not necessarily
6824 overflowing both real and imaginary parts of result.
6825 * math/s_cexpf.c: Likewise.
6826 * math/s_cexpl.c: Likewise.
6827 * math/libm-test.inc (cexp_test): Add more tests.
6828 * sysdeps/i386/fpu/libm-test-ulps: Update.
6829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6831 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6833 * include/link.h (ELFW): New macro.
6834 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6835 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6837 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6839 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6842 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6844 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6846 (struct La_x32_retval): Likewise.
6848 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6850 * sysdeps/x86_64/preconfigure.in: New file.
6851 * sysdeps/x86_64/preconfigure: New generated file.
6853 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6856 * math/e_exp2l.c: Include <float.h>.
6857 (__ieee754_exp2l): Handle overflow and underflow cases
6858 separately. Only pass fractional part of argument to
6860 * math/libm-test.inc (exp2_test): Add more tests.
6862 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6863 negating x to take absolute value.
6864 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6866 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6867 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6869 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6870 computing low part if x was negated.
6871 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6873 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6875 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6877 (pltexit): Cast int_retval to ptrdiff_t.
6878 * elf/tst-auditmod3b.c: Likewise.
6879 * elf/tst-auditmod4b.c: Likewise.
6880 * elf/tst-auditmod5b.c: Likewise.
6881 * elf/tst-auditmod6b.c: Likewise.
6882 * elf/tst-auditmod6c.c: Likewise.
6883 * elf/tst-auditmod7b.c: Likewise.
6885 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6886 and x32_gnu_pltexit.
6888 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6890 (La_x32_regs): New macro.
6891 (La_x32_retval): Likewise.
6892 (la_x32_gnu_pltenter): New function prototype.
6893 (la_x32_gnu_pltexit): Likewise.
6895 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6897 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6902 * configure.in (libc_cv_cc_nofma): Check for option to disable
6903 generation of FMA instructions.
6904 * configure: Regenerate.
6905 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6906 * sysdeps/ieee754/dbl-64/Makefile: New file.
6907 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6908 Remove brandred-fma4.
6909 (CFLAGS-brandred-fma4.c): Remove.
6910 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6916 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6918 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6919 LLONG_MAX != LONG_MAX.
6920 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6921 (_fitoa_word): Likewise.
6922 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6923 LLONG_MAX != LONG_MAX.
6924 * stdio-common/_itowa.h: Include <_itoa.h>.
6925 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6926 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6927 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6928 only if not defined.
6929 (_ITOA_WORD_TYPE): Likewise.
6930 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6931 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6933 2012-03-21 David S. Miller <davem@davemloft.net>
6935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6937 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6939 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6940 of x86_64 when setting libc_cv_slibdir, libdir and
6942 * sysdeps/unix/sysv/linux/configure: Regenerated.
6944 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6946 * manual/lang.texi (Old Varargs): Remove section.
6947 (How Variadic): Update menu.
6948 (va_start): Do not mention varargs.h.
6950 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6951 Joseph Myers <joseph@codesourcery.com>
6953 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6955 * configure: Regenerated.
6957 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6959 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6960 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6963 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6966 * Makefile (files-for-dist): Remove NOTES.
6967 (NOTES): Remove rule.
6968 * README: Don't refer to NOTES.
6969 * manual/creature.texi: Don't include macros.texi.
6970 * manual/intro.texi (creature.texi): Remove comment referring to
6973 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6974 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6975 * configure: Regenerated.
6976 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6978 (libc_cv_as_i686): Likewise.
6979 (libc_cv_cc_avx): Likewise.
6980 (libc_cv_cc_sse2avx): Likewise.
6981 (libc_cv_cc_fma4): Likewise.
6982 (libc_cv_cc_novzeroupper): Likewise.
6983 * sysdeps/i386/configure: Regenerated.
6986 * sysdeps/i386/fpu/s_cexp.S: Remove.
6987 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6988 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6989 * math/libm-test.inc (cexp_test): Add more tests.
6990 * sysdeps/i386/fpu/libm-test-ulps: Update.
6991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6993 2012-03-21 Allan McRae <allan@archlinux.org>
6995 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6997 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7000 * math/w_exp2.c: Do not include <float.h>.
7001 (o_threshold, u_threshold): Remove.
7002 (__exp2): Calculate result before checking finiteness and calling
7004 * math/w_exp2f.c: Likewise.
7005 * math/w_exp2l.c: Likewise.
7006 * math/libm-test.inc (exp2_test): Require overflow exception for
7010 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7011 range of signed 64-bit integers before using fistpll. Remove
7012 checks for whether integers fit in mantissa bits.
7013 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7014 the range of signed 32-bit integers before using fistpl. Remove
7015 checks for whether integers fit in mantissa bits.
7016 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7017 (__ieee754_powl): Test for y outside the range of signed 64-bit
7018 integers before using fistpll. Reduce 64-bit values to 63-bit
7020 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7021 divide-by-zero is raised for zero to large negative powers.
7022 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7023 (__ieee754_powl): Test for y outside the range of signed 64-bit
7024 integers before using fistpll. Reduce 64-bit values to 63-bit
7026 * math/libm-test.inc (pow_test): Add more tests.
7028 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7030 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7031 <stdio-common/_itoa.h>.
7032 * debug/segfault.c: Likewise.
7033 * elf/dl-cache.c: Likewise.
7034 * elf/dl-minimal.c: Likewise.
7035 * elf/dl-misc.c: Likewise.
7036 * elf/dl-sysdep.c: Likewise.
7037 * elf/dl-version.c: Likewise.
7038 * elf/rtld.c: Likewise.
7039 * hurd/hurdsock.c: Likewise.
7040 * hurd/lookup-retry.c: Likewise.
7041 * malloc/malloc.c: Likewise.
7042 * malloc/mtrace.c: Likewise.
7043 * nscd/nscd_getgr_r.c: Likewise.
7044 * nscd/nscd_getpw_r.c: Likewise.
7045 * nscd/nscd_getserv_r.c: Likewise.
7046 * posix/getopt_init.c: Likewise.
7047 * posix/wordexp.c: Likewise.
7048 * stdio-common/_itoa.c: Likewise.
7049 * stdio-common/printf_fphex.c: Likewise.
7050 * stdio-common/vfprintf.c: Likewise.
7051 * string/_strerror.c: Likewise.
7052 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7053 * sysdeps/i386/i686/hp-timing.h: Likewise.
7054 * sysdeps/mach/_strerror.c: Likewise.
7055 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7056 * sysdeps/mach/hurd/sethostid.c: Likewise.
7057 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7058 * sysdeps/mach/xpg-strerror.c: Likewise.
7059 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7060 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7061 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7062 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7063 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7064 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7065 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7066 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7067 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7068 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7069 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7070 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7071 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7072 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7073 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7074 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7075 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7076 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7077 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7078 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7079 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7081 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7083 * stdio-common/_itoa.h: Moved to ...
7084 * sysdeps/generic/_itoa.h: Here.
7086 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7088 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7089 instead of "_itoa.h" and "_itowa.h".
7090 * stdio-common/vfprintf.: Likewise.
7092 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7094 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7096 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7097 (__signbit): Likwise.
7101 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7103 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7106 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7108 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7109 OVERFLOW_EXCEPTION_OK.
7110 * math/libm-test.inc ("Philosophy"): Update comment about
7112 (OVERFLOW_EXCEPTION): Define.
7113 (OVERFLOW_EXCEPTION_OK): Likewise.
7114 (INVALID_EXCEPTION_OK): Renumber.
7115 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7116 (IGNORE_ZERO_INF_SIGN): Likewise.
7117 (test_exceptions): Handle FE_OVERFLOW.
7118 (exp10_test): Expect overflow exceptions.
7119 (exp2_test): Likewise.
7120 (expm1_test): Likewise.
7121 (nextafter_test): Likewise.
7122 (pow_test): Likewise.
7123 (scalbn_test): Likewise.
7124 (scalbln_test): Likewise.
7126 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7128 * sysdeps/x86_64/bits/atomic.h
7129 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7131 (atomic_exchange_acq): Likewise.
7132 (__arch_exchange_and_add_body): Likewise.
7133 (__arch_add_body): Likewise.
7134 (atomic_add_negative): Likewise.
7135 (atomic_add_zero): Likewise.
7137 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7139 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7140 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7142 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7144 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7145 Check __x86_64__ instead of __WORDSIZE.
7147 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7149 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7151 2012-03-19 David S. Miller <davem@davemloft.net>
7153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7155 * sysdeps/sparc/fpu/fenv_private.h: New file.
7156 * sysdeps/sparc/fpu/math_private.h: Use it.
7157 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7159 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7160 (libc_feholdexcept_setroundl): Remove.
7161 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7163 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7164 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7166 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7168 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7169 int64_t instead of long int.
7170 (INSERT_WORDS64): Likwise.
7172 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7174 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7175 _Unwind_GetCFA return to _Unwind_Ptr first.
7177 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7180 * math/s_clog.c: Include <float.h>.
7181 (__clog): Scale large or subnormal inputs.
7182 * math/s_clogf.c: Likewise.
7183 * math/s_clogl.c: Likewise.
7184 * math/s_clog10.c: Include <float.h>.
7185 (M_LOG10_2): Define.
7186 (__clog10): Scale large or subnormal inputs.
7187 * math/s_clog10f.c: Likewise.
7188 * math/s_clog10l.c: Likewise.
7189 * math/libm-test.inc (clog_test): Add more tests.
7190 (clog10_test): Likewise.
7191 * sysdeps/i386/fpu/libm-test-ulps: Update.
7192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7195 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7197 * math/libm-test.inc (atan2_test): Add another test.
7199 * Makerules (common-objdir-compile): Remove.
7200 * sysdeps/unix/Makefile (config-generated): Do not add
7201 $(unix-generated) to variable.
7202 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7203 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7205 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7207 [generic bits/local_lim.h] (before-compile): Do not append to
7209 [generic bits/local_lim.h] (common-generated): Likewise.
7210 [generic sys/param.h] (before-compile): Do not append to variable.
7211 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7212 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7213 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7214 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7216 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7217 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7218 [generic sys/param.h] ($(addprefix
7219 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7220 [generic sys/param.h] (common-generated): Do not append to
7222 [generic sys/param.h] (sysdep_headers): Likewise.
7223 [generic bits/errno.h] (before-compile): Do not append to
7225 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7227 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7228 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7229 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7230 [generic bits/errno.h] (common-generated): Do not append to
7232 [generic bits/ioctls.h] (before-compile): Do not append to
7234 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7236 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7237 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7238 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7240 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7241 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7242 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7243 [generic bits/ioctls.h] (common-generated): Do not append to
7245 [generic sys/syscall.h] (syscall.h): Remove variable.
7246 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7248 [generic sys/syscall.h] (before-compile): Do not append to
7250 [generic sys/syscall.h] (common-generated): Likewise.
7251 * sysdeps/unix/errnos-tmpl.c: Remove file.
7252 * sysdeps/unix/errnos.awk: Likewise.
7253 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7254 * sysdeps/unix/ioctls.awk: Likewise.
7255 * sysdeps/unix/mk-local_lim.c: Likewise.
7256 * sysdeps/unix/snarf-ioctls: Likewise.
7258 2012-03-19 Richard Henderson <rth@twiddle.net>
7260 * sysdeps/i386/fpu/fenv_private.h: New file.
7261 * sysdeps/i386/fpu/math_private.h: Use it.
7262 (math_opt_barrier, math_force_eval): Remove.
7263 (libc_feholdexcept_setround_53bit): Remove.
7264 (libc_feupdateenv_53bit): Remove.
7265 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7266 (math_opt_barrier, math_force_eval): Remove.
7267 (libc_feholdexcept): Remove.
7268 (libc_feholdexcept_setround): Remove.
7269 (libc_fetestexcept, libc_fesetenv): Remove.
7270 (libc_feupdateenv_test): Remove.
7271 (libc_feupdateenv, libc_feholdsetround): Remove.
7272 (libc_feresetround): Remove.
7274 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7275 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7277 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7278 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7279 (libc_feupdateenv_testl): New.
7280 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7281 (libc_feupdateenv_testf): New.
7282 (libc_feupdateenv): Use libc_feupdateenv_test.
7283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7284 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7286 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7287 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7288 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7289 (libc_feresetround_noex): New.
7290 (libc_feresetround_noexf): New.
7291 (libc_feresetround_noexl): New.
7292 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7293 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7294 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7295 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7298 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7300 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7301 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7302 SET_RESTORE_ROUND_NOEX.
7303 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7304 SET_RESTORE_ROUND_NOEXF.
7305 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7306 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7307 (libc_feholdsetroundf): New.
7308 (libc_feresetround, libc_feresetroundf): New.
7310 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7311 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7312 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7314 * sysdeps/generic/math_private.h: Include <fenv.h>.
7315 (default_libc_feholdexcept): New.
7316 (default_libc_feholdexcept_setround): New.
7317 (default_libc_fesetenv, default_libc_feupdateenv): New.
7318 (libc_feholdexcept): Only define if undefined.
7319 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7320 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7321 (libc_feholdexcept_setroundl): Likewise.
7322 (libc_feholdexcept_setround_53bit): Likewise.
7323 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7324 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7325 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7326 (libc_feupdateenv_53bit): Likewise.
7327 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7328 (libc_feholdexcept): Convert from macro to inline function.
7329 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7330 (libc_fesetenv, libc_feupdateenv): Likewise.
7332 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7333 not previously defined.
7334 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7335 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7336 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7337 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7338 * sysdeps/ieee754/flt-32/math_private.h: New file.
7339 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7340 math_private.h below SET_FLOAT_WORD.
7341 (__isnan, __isinf_ns, __finite): Remove.
7342 (__isnanf, __isinf_nsf, __finitef): Remove.
7344 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7348 2012-03-17 David S. Miller <davem@davemloft.net>
7351 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7354 2012-03-16 David S. Miller <davem@davemloft.net>
7356 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7360 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7362 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7363 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7364 sysdep_routines when subdir is sysvipc.
7365 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7368 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7370 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7372 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7375 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7377 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7378 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7379 (__lround): Renamed to ...
7380 (__llround): This. Replace long int with long long int.
7381 Define lround functions as aliases of llround functions.
7382 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7384 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7386 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7387 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7388 adresses to uintptr_t. Replace "long int" and "unsigned long
7389 int" with "greg_t" on va_arg.
7391 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7393 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7394 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7396 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7397 Move e_machine check before EI_CLASS check. Handle x32
7398 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7399 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7400 SKIP_EM_IA_64 and include
7401 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7403 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7404 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7405 (add_system_dir): New macro.
7407 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7408 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7410 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7421 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7423 * math/w_j0f.c (j0f): Likewise.
7425 * math/w_j0l.c (__j0l): Likewise.
7427 * math/w_j1.c (j1): Likewise.
7429 * math/w_j1f.c (j1f): Likewise.
7431 * math/w_j1l.c (__j1l): Likewise.
7433 * math/w_jn.c (jn): Likewise.
7435 * math/w_jnf.c (jnf): Likewise.
7437 * math/w_jnl.c (__jnl): Likewise.
7439 * math/libm-test.inc (j0_test): Add more tests.
7440 (j1_test): Likewise.
7441 (jn_test): Likewise. Add trailing semicolon to existing test.
7442 (y0_test): Likewise.
7443 (y1_test): Likewise.
7444 * sysdeps/i386/fpu/libm-test-ulps: Update.
7445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7449 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7450 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7451 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7452 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7453 (__tanl): Set errno for infinite argument.
7454 * sysdeps/i386/fpu/mptan.c: Remove.
7455 * sysdeps/i386/fpu/s_tan.S: Likewise.
7456 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7457 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7458 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7459 * math/libm-test.inc (tan_test): Add more tests and enable more
7460 tests for double and long double.
7461 * sysdeps/i386/fpu/libm-test-ulps: Update.
7462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7464 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7466 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7467 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7469 2012-03-16 Roland McGrath <roland@hack.frob.com>
7471 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7472 * configure.in: Use it for both main tree and add-ons.
7473 * configure: Regenerated.
7475 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7477 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7479 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7481 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7485 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7486 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7491 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7492 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7494 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7495 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7496 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7497 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7498 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7499 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7500 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7501 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7502 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7503 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7504 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7505 * math/libm-test.inc (cos_test): Add more tests and enable more
7506 tests for long double.
7507 (sin_test): Likewise.
7508 (sincos_test): Likewise.
7509 * sysdeps/i386/fpu/libm-test-ulps: Update.
7510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7512 2012-03-16 David S. Miller <davem@davemloft.net>
7514 * sysdeps/sparc/fpu/math_private.h: New file.
7516 2012-03-15 David S. Miller <davem@davemloft.net>
7518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7528 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7532 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7533 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7535 * sysdeps/sparc/sparc-ifunc.h: New file.
7536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7562 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7576 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7577 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7578 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7579 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7581 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7583 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7587 2012-03-15 Andreas Jaeger <aj@suse.de>
7590 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7591 ieee754/flt-32 implementation for sin, cos and sincos.
7592 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7593 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7594 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7595 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7596 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7597 ieee754/flt-32 implementation for tan.
7599 * math/libm-test.inc (cos_test): Enable some large input tests for
7601 (sin_test): Likewise.
7602 (sincos_test): Likewise.
7603 (tan_test): Add tests for large input.
7605 * sysdeps/i386/fpu/libm-test-ulps: Update.
7607 2012-03-15 Andreas Jaeger <aj@suse.de>
7610 * math/libm-test.inc (cos_test): Add more test cases.
7611 (sin_test): Likewise.
7612 (sincos_test): Likewise.
7614 2012-03-15 Andreas Jaeger <aj@suse.de>
7617 * math/libm-test.inc (cos_test): Add a test case for large input
7619 (sin_test): Likewise.
7620 (sincos_test): Likewise.
7622 2012-03-15 Andreas Jaeger <aj@suse.de>,
7623 Joseph Myers <joseph@codesourcery.com>
7626 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7627 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7628 * sysdeps/i386/fpu/branred.c: Likewise.
7629 * sysdeps/i386/fpu/dosincos.c: Likewise.
7630 * sysdeps/i386/fpu/mpa.c: Likewise.
7631 * sysdeps/i386/fpu/s_cos.S: Likewise.
7632 * sysdeps/i386/fpu/s_sin.S: Likewise.
7633 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7634 * sysdeps/i386/fpu/sincos32.c: Likewise.
7636 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7638 (libc_feupdateenv_53bit): Define.
7639 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7641 (libc_feupdateenv_53bit): Define.
7643 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7644 53 bit (without extend i386 double precision).
7646 * math/libm-test.inc (sincos_test): Add tests for large input.
7650 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7652 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7656 2012-03-15 David S. Miller <davem@davemloft.net>
7658 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7659 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7660 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7661 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7686 fmin/fmax sysdep routines.
7687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7689 2012-03-14 David S. Miller <davem@davemloft.net>
7691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7697 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7711 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7712 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7713 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7763 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7768 * sysdeps/sparc/configure.in: New file.
7769 * sysdeps/sparc/configure: Generate.
7770 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7771 * configure: Regenerate.
7772 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7773 * config.make.in (have-as-vis3): New.
7774 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7775 available use -Av9d instead of -Av9a.
7776 * sysdeps/sparc/sparc64/Makefile: Likewise.
7777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7792 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7793 fzeros/fnegs to load 0x80000000 into a float register instead of
7795 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7797 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7801 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7802 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7803 ($(inst_includedir)/bits/syscall.h): Remove rule.
7804 ($(objpfx)bits/syscall.d): Include instead of
7805 $(objpfx)syscall-list.d.
7806 (generated): Change syscall-list.h and syscall-list.d to
7807 bits/syscall.h and bits/syscall.d.
7809 2012-03-14 Roland McGrath <roland@hack.frob.com>
7812 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7814 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7817 * math/s_csqrt.c: Include <float.h>.
7818 (__csqrt): Scale large or subnormal inputs.
7819 * math/s_csqrtf.c: Likewise.
7820 * math/s_csqrtl.c: Likewise.
7821 * math/libm-test.inc (csqrt_test): Add more tests.
7822 * sysdeps/i386/fpu/libm-test-ulps: Update.
7823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7826 * math/libm-test.inc (hypot_test): Add more tests.
7828 2012-03-13 David S. Miller <davem@davemloft.net>
7831 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7832 double-precision for the calculation instead of scaling.
7834 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7836 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7837 manipulate bits before adding and subtracting TWO52[sx].
7838 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7839 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7841 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7843 2012-03-13 David S. Miller <davem@davemloft.net>
7845 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7846 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7847 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7848 rtld-global-offsets.h
7849 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7851 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7854 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7856 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7857 'err' in the ifdef scope in which it is actually used.
7859 * nss/nss_db/db-init.c: Include string.h
7861 2012-03-12 David S. Miller <davem@davemloft.net>
7863 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7864 masking out of the most significant byte of random value used.
7865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7866 Fix coding style in previous change.
7868 * sysdeps/unix/sysv/linux/kernel-features.h
7869 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7870 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7872 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7875 2012-03-11 David S. Miller <davem@davemloft.net>
7877 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7878 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7879 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7880 for 'resultvar' otherwise things get truncated on 64-bit.
7882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7883 Fix masking out of the most significant byte of random value used.
7885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7887 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7891 2012-03-09 David S. Miller <davem@davemloft.net>
7893 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7894 variables with appropriate CPP guards.
7895 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7896 frame pointer, not the stack pointer. Correct layout comments. Fix test
7897 on resulting framesize and the management of the outregs buffer for pltexit.
7898 Preserve floating point return values across _dl_call_pltexit call.
7899 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7900 framesize and the management of the outregs buffer for pltexit.
7901 Preserve floating point return values across _dl_call_pltexit
7903 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7904 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7905 (print_exit): Fix format string for return register value.
7907 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7909 * sunrpc/Makefile (others): Add rpcgen.
7910 ($(objpfx)rpcgen): Remove special build rule and dependency on
7912 * sunrpc/rpcgen.c: New file.
7914 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7917 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7918 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7919 * sysdeps/i386/crti.S: Likewise.
7920 * sysdeps/i386/crtn.S: Likewise.
7921 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7922 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7923 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7924 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7925 * sysdeps/sh/crti.S: Likewise.
7926 * sysdeps/sh/crtn.S: Likewise.
7927 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7930 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7932 * locale/programs/locfile-kw.gperf: Likewise.
7933 * locale/programs/charmap-kw.h: Regenerated.
7934 * locale/programs/locfile-kw.h: Likewise.
7937 * intl/plural.y: Replace FSF snail mail address with URL.
7938 * intl/plural.c: Regenerated.
7940 2012-03-09 Richard Henderson <rth@twiddle.net>
7942 * include/math_private.h: Remove file.
7943 * math/math_private.h: Move file ...
7944 * sysdeps/generic/math_private.h: ... here.
7946 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7947 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7948 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7950 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7951 and <math_private.h>.
7952 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7953 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7954 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7955 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7956 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7957 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7961 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7963 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7971 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7974 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7978 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7982 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7983 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7984 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7985 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7986 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7987 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7988 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7989 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7990 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7991 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7992 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7993 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7994 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7995 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7996 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7997 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7998 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7999 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8000 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8001 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8003 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8006 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8008 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8017 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8027 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8028 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8030 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8036 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8037 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8040 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8043 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8045 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8046 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8047 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8048 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8049 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8050 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8051 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8052 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8053 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8054 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8055 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8056 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8057 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8058 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8059 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8060 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8062 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8063 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8064 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8065 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8066 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8068 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8069 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8070 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8071 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8072 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8073 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8074 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8075 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8076 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8078 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8079 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8080 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8081 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8082 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8083 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8084 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8085 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8086 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8087 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8088 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8089 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8090 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8091 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8092 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8093 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8094 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8095 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8096 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8097 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8098 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8099 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8100 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8101 * sysdeps/ieee754/k_standard.c: Likewise.
8102 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8103 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8105 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8106 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8107 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8108 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8109 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8110 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8111 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8112 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8113 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8114 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8115 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8116 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8117 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8118 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8119 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8120 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8121 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8122 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8123 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8124 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8125 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8126 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8127 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8128 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8129 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8130 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8131 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8132 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8133 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8134 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8135 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8136 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8137 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8138 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8139 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8140 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8142 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8143 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8144 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8145 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8146 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8148 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8150 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8151 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8152 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8153 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8154 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8155 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8157 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8158 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8159 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8160 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8161 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8162 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8163 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8164 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8172 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8173 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8178 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8179 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8181 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8182 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8183 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8185 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8204 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8210 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8211 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8214 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8215 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8216 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8217 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8218 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8219 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8220 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8221 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8222 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8223 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8224 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8225 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8229 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8230 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8231 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8233 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8234 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8235 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8236 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8237 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8238 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8239 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8240 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8241 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8242 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8244 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8248 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8250 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8251 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8253 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8257 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8262 * sysdeps/ieee754/s_lib_version.c: Likewise.
8263 * sysdeps/ieee754/s_matherr.c: Likewise.
8264 * sysdeps/ieee754/s_signgam.c: Likewise.
8265 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8266 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8267 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8268 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8269 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8270 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8271 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8272 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8273 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8274 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8275 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8276 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8277 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8278 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8279 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8280 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8281 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8282 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8283 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8287 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8289 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8290 * sunrpc/rpc_main.c: Likewise.
8291 * sunrpc/rpc_svcout.c: Likewise.
8293 2012-03-09 David S. Miller <davem@davemloft.net>
8295 * include/math_private.h: New file.
8297 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8299 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8300 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8301 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8302 from <bits/socket_type.h>.
8303 (enum __socket_type): Don't define here.
8304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8309 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8312 * Makerules ($(inst_includedir)/%.h): New rule.
8313 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8314 (install-others): Remove variable setting.
8315 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8317 2012-03-08 Richard Henderson <rth@twiddle.net>
8319 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8320 from macro to inline function; merge with the
8321 !__LIBC_INTERNAL_MATH_INLINES version.
8322 (__ieee754_sqrtf): Likewise.
8324 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8326 (__rintf, __floor, __floorf): Likewise.
8328 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8329 macro to inline function.
8330 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8332 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8333 not <math/math_private.h>.
8335 2012-03-08 David S. Miller <davem@davemloft.net>
8337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8339 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8341 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8343 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8345 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8346 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8348 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8350 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8351 be defined individually, they must be defined as a block. Define
8352 S for printing a string instead of hidint the different by using a
8353 macro for adding the 'l'.
8354 * stdio-common/tst-fphex-wide.c: Adjust.
8356 2012-03-07 Marek Polacek <polacek@redhat.com>
8358 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8360 2012-03-08 Marek Polacek <polacek@redhat.com>
8363 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8364 * stdio-common/tst-fphex.c: Define a few macros to make the
8365 test reusable. Use them.
8366 * stdio-common/tst-fphex-wide.c: New file.
8368 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8371 * manual/macros.texi (gnusystems): New macro.
8372 (nongnusystems): Likewise.
8373 (gnulinuxhurdsystems): Likewise.
8374 (gnuhurdsystems): Likewise..
8375 (gnulinuxsystems): Likewise.
8376 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8377 variants of the GNU system, not "GNU system".
8378 * manual/conf.texi: Likewise.
8379 * manual/errno.texi: Likewise. Update example of errno macro
8381 * manual/filesys.texi: Likewise.
8382 (getumask): Document as specific to GNU/Hurd.
8383 * manual/install.texi: Likewise. Reword some references to
8385 * manual/intro.texi: Likewise.
8386 * manual/io.texi: Likewise.
8387 (File Name Portability): Detail which constraints are inapplicable
8388 to all GNU systems and which are only inapplicable to GNU/Hurd.
8389 * manual/job.texi: Likewise.
8390 * manual/llio.texi: Likewise.
8391 (O_NOCTTY): Document as present on GNU/Linux.
8392 * manual/maint.texi: Likewise.
8393 * manual/memory.texi: Likewise.
8394 * manual/pattern.texi: Likewise.
8395 * manual/pipe.texi: Likewise.
8396 * manual/process.texi: Likewise.
8397 * manual/resource.texi: Likewise.
8398 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8400 * manual/setjmp.texi: Likewise.
8401 * manual/signal.texi: Likewise.
8402 * manual/startup.texi: Likewise.
8403 * manual/stdio.texi: Likewise.
8404 * manual/terminal.texi: Likewise.
8405 (ONLCR): Document as POSIX.
8406 (OXTABS): Document availability on GNU/Linux as XTABS.
8407 (ONOEOT): Document availability separately from other bits.
8408 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8409 * manual/time.texi: Likewise.
8410 * manual/users.texi: Likewise.
8411 * INSTALL: Regenerated.
8412 * sysdeps/gnu/errlist.c: Regenerated.
8414 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8415 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8416 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8418 * configure: Regenerated.
8420 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8422 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8423 default includes instead of AC_HEADER_CHECK.
8424 * sysdeps/i386/configure: Regenerated.
8427 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8428 * math/s_cacoshf.c (__cacoshf): Likewise.
8429 * math/s_cacoshl.c (__cacoshl): Likewise.
8430 * math/s_casinh.c (__casinh): Set signs of result from argument.
8431 * math/s_casinhf.c (__casinhf): Likewise.
8432 * math/s_casinhl.c (__casinhl): Likewise.
8433 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8434 (casinh_test): Add more tests.
8435 * sysdeps/i386/fpu/libm-test-ulps: Update.
8436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8438 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8440 * po/zh_TW.po: Update from translation team.
8442 * login/Makefile (distribute): Remove variable.
8443 * catgets/Makefile: Likewise.
8444 * mach/Makefile: Likewise.
8445 * malloc/Makefile: Likewise.
8446 * misc/Makefile: Likewise.
8447 * iconv/Makefile: Likewise.
8448 * nscd/Makefile: Likewise.
8449 * hurd/Makefile: Likewise.
8450 * manual/Makefile: Likewise.
8451 * locale/Makefile: Likewise.
8452 * intl/Makefile: Likewise.
8453 * conform/Makefile: Likewise.
8454 * nss/Makefile: Likewise.
8455 * time/Makefile: Likewise.
8456 * soft-fp/Makefile: Likewise.
8457 * dirent/Makefile: Likewise.
8458 * gmon/Makefile: Likewise.
8459 * po/Makefile: Likewise.
8460 * rt/Makefile: Likewise.
8461 * socket/Makefile: Likewise.
8462 * math/Makefile: Likewise.
8463 * signal/Makefile: Likewise.
8464 * debug/Makefile: Likewise.
8465 * elf/Makefile: Likewise.
8466 * timezone/Makefile: Likewise.
8467 * stdlib/Makefile: Likewise.
8468 * iconvdata/Makefile: Likewise.
8469 * sunrpc/Makefile: Likewise.
8470 * io/Makefile: Likewise.
8471 * argp/Makefile: Likewise.
8472 * inet/Makefile: Likewise.
8473 * hesiod/Makefile: Likewise.
8474 * grp/Makefile: Likewise.
8475 * csu/Makefile: Likewise.
8476 * wctype/Makefile: Likewise.
8477 * crypt/Makefile: Likewise.
8478 * libio/Makefile: Likewise.
8479 * string/Makefile: Likewise.
8480 * nis/Makefile: Likewise.
8481 * resolv/Makefile: Likewise.
8482 * stdio-common/Makefile: Likewise.
8483 * wcsmbs/Makefile: Likewise.
8484 * dlfcn/Makefile: Likewise.
8485 * posix/Makefile: Likewise.
8488 * timezone/Makefile: Don't install timezone files, just the programs
8491 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8493 * nss/databases.def: Add missing gshadow entry.
8495 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8497 2012-03-06 Marek Polacek <polacek@redhat.com>
8500 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8501 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8502 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8503 * stdio-common/tst-long-dbl-fphex.c: New file.
8505 2012-03-06 David S. Miller <davem@davemloft.net>
8507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8508 (set_obp_int): New function.
8509 (get_obp_int): New function.
8510 (__get_clockfreq_via_dev_openprom): Likewise.
8511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8512 Avoid unused variable warnings on 'val' and use builtin_expect.
8513 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8515 (INLINE_CLONE_SYSCALL): Likewise.
8517 2012-03-05 David S. Miller <davem@davemloft.net>
8519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8521 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8525 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8529 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8531 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8532 Replace gettimeofday with __vdso_gettimeofday.
8534 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8535 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8536 __vdso_clock_gettime and __vdso_getcpu.
8538 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8539 time with __vdso_time.
8541 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8543 * manual/lang.texi (size_t): Note types to which size_t may be
8544 equivalent with the GNU C Library, but do not describe when
8545 differences between them are significant.
8547 2012-03-05 Andreas Jaeger <aj@suse.de>
8549 * sysdeps/i386/fpu/libm-test-ulps: Update.
8551 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8554 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8555 (__ieee754_pow): Save and restore rounding mode and use
8556 round-to-nearest for main computations.
8557 * math/libm-test.inc (pow_test_tonearest): New function.
8558 (pow_test_towardzero): Likewise.
8559 (pow_test_downward): Likewise.
8560 (pow_test_upward): Likewise.
8561 (main): Call the new functions.
8562 * sysdeps/i386/fpu/libm-test-ulps: Update.
8563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8566 * math/libm-test.inc (cosh_test_tonearest): New function.
8567 (cosh_test_towardzero): Likewise.
8568 (cosh_test_downward): Likewise.
8569 (cosh_test_upward): Likewise.
8570 (sinh_test_tonearest): Likewise.
8571 (sinh_test_towardzero): Likewise.
8572 (sinh_test_downward): Likewise.
8573 (sinh_test_upward): Likewise.
8574 (main): Call the new functions.
8575 * sysdeps/i386/fpu/libm-test-ulps: Update.
8576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8578 2012-03-05 Tom de Vries <tom@codesourcery.com>
8580 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8581 default stack guard is set in last bytes.
8582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8584 2012-03-05 Kees Cook <keescook@chromium.org>
8586 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8589 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8590 possibly allocate from heap instead of stack.
8591 * stdio-common/bug-vfprintf-nargs.c: New file.
8592 * stdio-common/Makefile (tests): Add nargs overflow test.
8594 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8598 2012-03-03 Marek Polacek <polacek@redhat.com>
8600 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8601 * math/math_private.h: Likewise.
8602 * stdlib/tst-strtod.c: Likewise.
8603 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8604 * sysdeps/x86_64/bits/atomic.h: Likewise.
8606 2012-03-02 David S. Miller <davem@davemloft.net>
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8612 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8613 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8614 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8615 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8617 2012-03-02 Roland McGrath <roland@hack.frob.com>
8620 * manual/examples/README: New file, says the example source files
8621 can be used under GPL>=2.
8622 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8623 line containing just "*/".
8624 * manual/examples/add.c: Add copyright header (GPL>=2).
8625 * manual/examples/argp-ex1.c: Likewise.
8626 * manual/examples/argp-ex2.c: Likewise.
8627 * manual/examples/argp-ex3.c: Likewise.
8628 * manual/examples/argp-ex4.c: Likewise.
8629 * manual/examples/atexit.c: Likewise.
8630 * manual/examples/db.c: Likewise.
8631 * manual/examples/dir.c: Likewise.
8632 * manual/examples/dir2.c: Likewise.
8633 * manual/examples/execinfo.c: Likewise.
8634 * manual/examples/filecli.c: Likewise.
8635 * manual/examples/filesrv.c: Likewise.
8636 * manual/examples/fmtmsgexpl.c: Likewise.
8637 * manual/examples/genpass.c: Likewise.
8638 * manual/examples/inetcli.c: Likewise.
8639 * manual/examples/inetsrv.c: Likewise.
8640 * manual/examples/isockad.c: Likewise.
8641 * manual/examples/longopt.c: Likewise.
8642 * manual/examples/memopen.c: Likewise.
8643 * manual/examples/memstrm.c: Likewise.
8644 * manual/examples/mkfsock.c: Likewise.
8645 * manual/examples/mkisock.c: Likewise.
8646 * manual/examples/mygetpass.c: Likewise.
8647 * manual/examples/pipe.c: Likewise.
8648 * manual/examples/popen.c: Likewise.
8649 * manual/examples/rprintf.c: Likewise.
8650 * manual/examples/search.c: Likewise.
8651 * manual/examples/select.c: Likewise.
8652 * manual/examples/setjmp.c: Likewise.
8653 * manual/examples/sigh1.c: Likewise.
8654 * manual/examples/sigusr.c: Likewise.
8655 * manual/examples/stpcpy.c: Likewise.
8656 * manual/examples/strdupa.c: Likewise.
8657 * manual/examples/strftim.c: Likewise.
8658 * manual/examples/strncat.c: Likewise.
8659 * manual/examples/subopt.c: Likewise.
8660 * manual/examples/swapcontext.c: Likewise.
8661 * manual/examples/termios.c: Likewise.
8662 * manual/examples/testopt.c: Likewise.
8663 * manual/examples/testpass.c: Likewise.
8664 * manual/examples/timeval_subtract.c: Likewise.
8667 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8669 * manual/timeval_subtract.c.texi: ... here, new file.
8671 2012-03-02 David S. Miller <davem@davemloft.net>
8673 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8675 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8678 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8679 (__sin): Save and restore rounding mode and use round-to-nearest
8680 for all computations.
8681 (__cos): Save and restore rounding mode and use round-to-nearest
8682 for all computations.
8683 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8685 (tan): Save and restore rounding mode and use round-to-nearest for
8687 * math/libm-test.inc (cos_test_tonearest): New function.
8688 (cos_test_towardzero): Likewise.
8689 (cos_test_downward): Likewise.
8690 (cos_test_upward): Likewise.
8691 (sin_test_tonearest): Likewise.
8692 (sin_test_towardzero): Likewise.
8693 (sin_test_downward): Likewise.
8694 (sin_test_upward): Likewise.
8695 (tan_test_tonearest): Likewise.
8696 (tan_test_towardzero): Likewise.
8697 (tan_test_downward): Likewise.
8698 (tan_test_upward): Likewise.
8699 (main): Call the new functions.
8700 * sysdeps/i386/fpu/libm-test-ulps: Update.
8701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8704 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8705 small n, then large n, before computing and testing k+n.
8706 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8711 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8712 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8717 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8718 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8719 * math/libm-test.inc (scalbn_test): Add more tests.
8720 (scalbln_test): Likewise.
8722 * manual/filesys.texi (mode_t): Describe constraints on size and
8723 signedness, not exact equivalence to a particular type.
8725 (ino64_t): Likewise.
8727 (nlink_t): Likewise.
8728 (blkcnt_t): Likewise.
8729 (blkcnt64_t): Likewise.
8730 * manual/llio.texi (off_t): Likewise.
8733 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8734 (__ieee754_exp): Save and restore rounding mode and use
8735 round-to-nearest for all computations.
8736 * math/libm-test.inc (exp_test_tonearest): New function.
8737 (exp_test_towardzero): Likewise.
8738 (exp_test_downward): Likewise.
8739 (exp_test_upward): Likewise.
8740 (main): Call the new functions.
8741 * sysdeps/i386/fpu/libm-test-ulps: Update.
8742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8744 2012-03-01 Chris Demetriou <cgd@google.com>
8746 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8747 have predictable order.
8749 2012-03-01 David S. Miller <davem@davemloft.net>
8751 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8753 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8754 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8755 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8756 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8758 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8759 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8760 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8762 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8763 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8764 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8765 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8766 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8770 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8771 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8772 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8774 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8775 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8776 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8777 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8778 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8779 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8781 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8782 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8783 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8784 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8785 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8787 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8788 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8789 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8790 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8791 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8792 * sysdeps/sparc/elf/configure: Regenerated.
8794 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8796 * configure.in (AS, LD): Require binutils 2.20 or later.
8797 * configure: Regenerated.
8798 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8799 as required minimum version.
8800 * INSTALL: Regenerated.
8804 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8805 before squaring exponent.
8806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8807 bottom long double and 27 bits of top long double before squaring
8809 * math/libm-test.inc (erfc_test): Add more tests.
8810 * sysdeps/i386/fpu/libm-test-ulps: Update.
8811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8814 2012-03-01 Kai Tietz <ktietz@redhat.com>
8816 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8817 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8818 containing bit-fields.
8819 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8820 * soft-fp/single.h (_FP_UNION_S): Likewise.
8821 * soft-fp/double.h (_FP_UNION_D): Likewise.
8823 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8826 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8827 not include ../strcmp.S.
8828 [USE_AS_STRNCASECMP_L]: Likewise.
8829 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8830 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8831 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8832 (__strncasecmp_l_ia32): Define as alias to
8833 __strncasecmp_l_nonascii.
8836 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8837 * sysdeps/i386/fpu/libm-test-ulps: Update.
8838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8840 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8843 2012-02-29 Jeff Law <law@redhat.com>
8845 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8848 2012-02-29 Marek Polacek <polacek@redhat.com>
8851 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8852 * elf/Makefile: Add rules to run tst-unused-dep.out.
8854 2012-02-28 David S. Miller <davem@davemloft.net>
8856 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8857 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8860 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8861 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8863 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8865 * math/libm-test.inc (llround_test): Move one test from
8866 lround_test. Use TEST_f_L in moved test.
8867 (lround_test): Move misplaced test to llround_test. Add testcase
8870 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8872 * sysdeps/x86_64/fpu/e_expf.S: New file.
8873 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8875 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8878 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8879 of remain_len that may cause incomplete multi-byte character and
8881 * posix/bug-regex33.c: New file.
8882 * posix/Makefile (tests): Add bug-regex33.
8884 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8886 * manual/macros.texi: New file.
8887 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8888 * manual/libc.texinfo: Include macros.texi.
8889 * manual/creatute.texi: Likewise.
8890 * manual/install.texi: Likewise.
8891 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8892 @glibcadj{} in references to the GNU C Library.
8893 * manual/charset.texi: Likewise.
8894 * manual/conf.texi: Likewise.
8895 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8896 when not using those macros.
8897 * manual/creature.texi: Likewise.
8898 * manual/crypt.texi: Likewise.
8899 * manual/errno.texi: Likewise.
8900 * manual/filesys.texi: Likewise.
8901 * manual/header.texi: Likewise.
8902 * manual/install.texi: Likewise.
8903 * manual/intro.texi: Likewise.
8904 * manual/io.texi: Likewise.
8905 * manual/job.texi: Likewise.
8906 * manual/lang.texi: Likewise.
8907 * manual/libc.texiinfo: Likewise.
8908 * manual/llio.texi: Likewise.
8909 * manual/locale.texi: Likewise.
8910 * manual/maint.texi: Likewise.
8911 * manual/math.texi: Likewise.
8912 * manual/memory.texi: Likewise.
8913 * manual/message.texi: Likewise.
8914 * manual/nss.texi: Likewise.
8915 * manual/pattern.texi: Likewise.
8916 * manual/process.texi: Likewise.
8917 * manual/resource.texi: Likewise.
8918 * manual/search.texi: Likewise.
8919 * manual/setjmp.texi: Likewise.
8920 * manual/signal.texi: Likewise.
8921 * manual/socket.texi: Likewise.
8922 * manual/startup.texi: Likewise.
8923 * manual/stdio.texi: Likewise.
8924 * manual/string.texi: Likewise.
8925 * manual/sysinfo.texi: Likewise.
8926 * manual/syslog.texi: Likewise.
8927 * manual/terminal.texi: Likewise.
8928 * manual/time.texi: Likewise.
8929 * manual/users.texi: Likewise.
8930 * INSTALL: Regenerated.
8931 * NOTES: Regenerated.
8932 * sysdeps/gnu/errlist.c: Regenerated.
8934 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8936 * include/dirent.h: Include <dirstream.h> before
8939 2012-02-28 David S. Miller <davem@davemloft.net>
8941 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8942 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8943 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8944 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8946 2012-02-27 David S. Miller <davem@davemloft.net>
8948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8950 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8951 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8954 frame pointer instead of stack pointer relative arg slot.
8955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8956 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8957 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8959 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8962 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8964 2012-02-27 David S. Miller <davem@davemloft.net>
8966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8972 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8973 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8975 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8977 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8978 later. Allow versions 5-9.
8979 * configure: Regenerated.
8980 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8981 required minimum version and 4.6 as recommended version. Do not
8982 mention bugs in GCC 2.7 and 2.8.
8983 * INSTALL: Regenerated.
8985 2012-02-27 David S. Miller <davem@davemloft.net>
8987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8991 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8992 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8993 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8994 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8997 manipulate bits before adding and subtracting TWO112[sx].
8998 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9000 2012-02-27 Roland McGrath <roland@hack.frob.com>
9003 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9004 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9005 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9006 being in POSIX, because they are in 1003.1-2008.
9008 * rt/tst-aio.c: Include <fcntl.h>.
9009 * rt/tst-aio7.c: Likewise.
9010 * rt/tst-aio64.c: Likewise.
9012 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9014 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9016 * manual/install.texi (--with-headers): Describe headers as
9017 interface headers, not private headers.
9018 (Specific advice for GNU/Linux systems): Describe use of headers
9019 from "make headers_install", not private headers from older
9021 * INSTALL: Regenerated.
9022 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9024 * sysdeps/unix/sysv/linux/configure: Regenerated.
9026 * manual/llio.texi (fclean): Remove documentation.
9028 * manual/Makefile (libc-texi-generated): New variable. Include
9030 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9031 $(libc-texi-generated), not duplicated list of files.
9032 (version.texi, stamp-version): New rules.
9033 (realclean): Remove $(libc-texi-generated), not individual files
9034 from that list. Do not remove dir-add.texinfo.
9035 * manual/libc.texinfo: Comment out uses of edition numbers and
9036 references to printed manual. Remove last-updated dates.
9037 (EDITION): Comment out.
9039 (VERSION, UPDATED): Remove.
9040 (version.texi): Include.
9042 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9044 * sysdeps/posix/spawni.c: Include <signal.h>.
9045 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9046 * sysdeps/pthread/aio_fsync.c: Likewise.
9048 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9050 * conform/Makefile (tests): Run only when not cross-compiling and
9051 when fast-check is not defined.
9053 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9054 * conform/data/limits.h-data: Fixes for POSIX2008.
9055 * conform/run-conformtest.sh: Run all tests.
9056 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9058 * include/bits/dlfcn.h: Likewise.
9059 * include/langinfo.h: Likewise.
9060 * include/monetary.h: Likewise.
9061 * include/sys/poll.h: Likewise.
9063 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9065 * posix/spawn.h: Define __need_sigset_t.
9066 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9067 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9068 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9069 to get sigevent_t only.
9070 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9073 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9074 process_vm_writev only for __USE_GNU.
9075 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9077 * conform/Makefile: For now ignore errors from run-conformtest.
9078 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9079 POSIX to avoid namespace pollution. Don't prepend headers.
9080 * conform/data/aio.h-data: Fixes for POSIX testing.
9081 * conform/data/fcntl.h-data: Likewise.
9082 * conform/data/glob.h-data: Likewise.
9083 * conform/data/grp.h-data: Likewise.
9084 * conform/data/pthread.h-data: Likewise.
9085 * conform/data/pwd.h-data: Likewise.
9086 * conform/data/signal.h-data: Likewise.
9087 * conform/data/spawn.h-data: Likewise.
9088 * conform/data/stdio.h-data: Likewise.
9089 * conform/data/stdlib.h-data: Likewise.
9090 * conform/data/stropts.h-data: Likewise.
9091 * conform/data/sys/mman.h-data: Likewise.
9092 * conform/data/sys/stat.h-data: Likewise.
9093 * conform/data/sys/types.h-data: Likewise.
9094 * conform/data/sys/wait.h-data: Likewise.
9095 * conform/data/time.h-data: Likewise.
9096 * conform/data/unistd.h-data: Likewise.
9097 * conform/data/utime.h-data: Likewise.
9099 * io/sys/stat.h: fchmod was always in POSIX.
9100 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9101 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9102 * rt/aio.h: Define __need_timespec before including <time.h>.
9103 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9104 struct. Add forward declaration of pthread_attr_t and use it in
9106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9107 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9108 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9109 always remove CLK_TCK definition.
9111 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9113 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9115 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9117 * conform/run-conformtest.sh: New file.
9118 * conform/Makefile: Run run-conformtest for tests.
9119 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9122 * conform/data/uchar.h-data: New file.
9123 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9124 * conform/data/arpa/inet.h-data: Likewise.
9125 * conform/data/assert.h-data: Likewise.
9126 * conform/data/complex.h-data: Likewise.
9127 * conform/data/cpio.h-data: Likewise.
9128 * conform/data/ctype.h-data: Likewise.
9129 * conform/data/dirent.h-data: Likewise.
9130 * conform/data/dlfcn.h-data: Likewise.
9131 * conform/data/errno.h-data: Likewise.
9132 * conform/data/fcntl.h-data: Likewise.
9133 * conform/data/float.h-data: Likewise.
9134 * conform/data/fmtmsg.h-data: Likewise.
9135 * conform/data/fnmatch.h-data: Likewise.
9136 * conform/data/ftw.h-data: Likewise.
9137 * conform/data/glob.h-data: Likewise.
9138 * conform/data/grp.h-data: Likewise.
9139 * conform/data/iconv.h-data: Likewise.
9140 * conform/data/inttypes.h-data: Likewise.
9141 * conform/data/langinfo.h-data: Likewise.
9142 * conform/data/libgen.h-data: Likewise.
9143 * conform/data/limits.h-data: Likewise.
9144 * conform/data/locale.h-data: Likewise.
9145 * conform/data/math.h-data: Likewise.
9146 * conform/data/monetary.h-data: Likewise.
9147 * conform/data/mqueue.h-data: Likewise.
9148 * conform/data/ndbm.h-data: Likewise.
9149 * conform/data/net/if.h-data: Likewise.
9150 * conform/data/netdb.h-data: Likewise.
9151 * conform/data/netinet/in.h-data: Likewise.
9152 * conform/data/nl_types.h-data: Likewise.
9153 * conform/data/poll.h-data: Likewise.
9154 * conform/data/pthread.h-data: Likewise.
9155 * conform/data/pwd.h-data: Likewise.
9156 * conform/data/regex.h-data: Likewise.
9157 * conform/data/sched.h-data: Likewise.
9158 * conform/data/search.h-data: Likewise.
9159 * conform/data/semaphore.h-data: Likewise.
9160 * conform/data/setjmp.h-data: Likewise.
9161 * conform/data/signal.h-data: Likewise.
9162 * conform/data/spawn.h-data: Likewise.
9163 * conform/data/stdarg.h-data: Likewise.
9164 * conform/data/stdio.h-data: Likewise.
9165 * conform/data/stdlib.h-data: Likewise.
9166 * conform/data/string.h-data: Likewise.
9167 * conform/data/strings.h-data: Likewise.
9168 * conform/data/stropts.h-data: Likewise.
9169 * conform/data/sys/ipc.h-data: Likewise.
9170 * conform/data/sys/mman.h-data: Likewise.
9171 * conform/data/sys/msg.h-data: Likewise.
9172 * conform/data/sys/resource.h-data: Likewise.
9173 * conform/data/sys/select.h-data: Likewise.
9174 * conform/data/sys/sem.h-data: Likewise.
9175 * conform/data/sys/shm.h-data: Likewise.
9176 * conform/data/sys/socket.h-data: Likewise.
9177 * conform/data/sys/stat.h-data: Likewise.
9178 * conform/data/sys/statvfs.h-data: Likewise.
9179 * conform/data/sys/time.h-data: Likewise.
9180 * conform/data/sys/timeb.h-data: Likewise.
9181 * conform/data/sys/times.h-data: Likewise.
9182 * conform/data/sys/types.h-data: Likewise.
9183 * conform/data/sys/uio.h-data: Likewise.
9184 * conform/data/sys/un.h-data: Likewise.
9185 * conform/data/sys/utsname.h-data: Likewise.
9186 * conform/data/sys/wait.h-data: Likewise.
9187 * conform/data/syslog.h-data: Likewise.
9188 * conform/data/tar.h-data: Likewise.
9189 * conform/data/termios.h-data: Likewise.
9190 * conform/data/utime.h-data: Likewise.
9191 * conform/data/utmpx.h-data: Likewise.
9192 * conform/data/varargs.h-data: Likewise.
9193 * conform/data/wchar.h-data: Likewise.
9194 * conform/data/wctype.h-data: Likewise.
9195 * conform/data/wordexp.h-data: Likewise.
9197 * include/stropts.h: New file.
9198 * include/uchar.h: New file.
9199 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9200 * include/assert.h: Likewise.
9201 * include/ctype.h: Likewise.
9202 * include/dirent.h: Likewise.
9203 * include/dlfcn.h: Likewise.
9204 * include/fcntl.h: Likewise.
9205 * include/fnmatch.h: Likewise.
9206 * include/glob.h: Likewise.
9207 * include/grp.h: Likewise.
9208 * include/libio.h: Likewise.
9209 * include/locale.h: Likewise.
9210 * include/math.h: Likewise.
9211 * include/net/if.h: Likewise.
9212 * include/netdb.h: Likewise.
9213 * include/netinet/in.h: Likewise.
9214 * include/pthread.h: Likewise.
9215 * include/pwd.h: Likewise.
9216 * include/regex.h: Likewise.
9217 * include/sched.h: Likewise.
9218 * include/search.h: Likewise.
9219 * include/setjmp.h: Likewise.
9220 * include/signal.h: Likewise.
9221 * include/stdio.h: Likewise.
9222 * include/stdlib.h: Likewise.
9223 * include/string.h: Likewise.
9224 * include/sys/cdefs.h: Likewise.
9225 * include/sys/mman.h: Likewise.
9226 * include/sys/msg.h: Likewise.
9227 * include/sys/resource.h: Likewise.
9228 * include/sys/select.h: Likewise.
9229 * include/sys/socket.h: Likewise.
9230 * include/sys/stat.h: Likewise.
9231 * include/sys/statvfs.h: Likewise.
9232 * include/sys/time.h: Likewise.
9233 * include/sys/times.h: Likewise.
9234 * include/sys/uio.h: Likewise.
9235 * include/sys/utsname.h: Likewise.
9236 * include/sys/wait.h: Likewise.
9237 * include/termios.h: Likewise.
9238 * include/time.h: Likewise.
9239 * include/ulimit.h: Likewise.
9240 * include/unistd.h: Likewise.
9241 * include/utime.h: Likewise.
9242 * include/wchar.h: Likewise.
9243 * include/wctype.h: Likewise.
9244 * include/wordexp.h: Likewise.
9246 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9248 * time/time.h: TIME_UTC must be a macro.
9249 Make timespec_get available for ISO C11 only as well.
9251 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9253 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9254 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9256 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9258 * configure.in: Use -o not -a in test for unsupported multi-arch.
9260 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9262 * manual/texinfo.tex: Update to version 2012-01-19.16.
9264 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9266 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9268 2012-02-24 Roland McGrath <roland@hack.frob.com>
9271 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9272 * manual/fdl-1.3.texi: New file.
9273 * manual/fdl-1.1.texi: File removed.
9276 * manual/libc.texinfo (FDL_VERSION): New @set.
9277 Use it for mention of FDL in cover text.
9278 (Documentation License): Use it in @include file name.
9280 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9281 Roland McGrath <roland@hack.frob.com>
9284 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9285 not LONG_LONG_MAX and LONG_LONG_MIN.
9286 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9287 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9289 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9291 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9295 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9296 manipulate bits before adding and subtracting TWO23[sx].
9297 * math/libm-test.inc (nearbyint_test): Add more tests.
9299 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9302 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9303 bits before adding and subtracting TWO23[sx].
9304 * math/libm-test.inc (rint_test): Add more tests.
9305 (rint_test_tonearest): Likewise.
9306 (rint_test_towardzero): Likewise.
9307 (rint_test_downward): Likewise.
9308 (rint_test_upward: Likewise.
9310 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9313 * include/stdc-predef.h: New file. Extracted from features.h.
9314 * include/features.h: Include stdc-predef.h.
9315 * Makefile (headers): Add stdc-predef.h.
9316 * CONFORMANCE (Compiler limitations): Update.
9318 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9320 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9322 2012-02-21 David S. Miller <davem@davemloft.net>
9324 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9325 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9327 2012-02-20 David S. Miller <davem@davemloft.net>
9329 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9330 using a normal save/restore sequence, rather than allocating a
9331 dummy stack frame just to store a frame pointer and restore.
9332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9334 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9336 * manual/install.texi: Fix stray word in line-wrapped comment.
9338 2012-02-20 David S. Miller <davem@davemloft.net>
9340 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9341 both binutils and gcc support GOTDATA.
9343 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9344 "rd %pc" in the PIC register setup sequences.
9346 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9347 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9348 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9349 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9350 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9352 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9353 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9355 (SYSCALL_ERROR_HANDLER): Likewise.
9356 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9357 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9359 (SYSCALL_ERROR_HANDLER): Likewise.
9361 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9362 (HAVE_GCC_GOTDATA): New.
9363 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9364 relocation support in both binutils and gcc.
9365 * sysdeps/sparc/elf/configure: Regenerate.
9367 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9368 * sysdeps/sparc/sparc32/elf/configure: Delete.
9369 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9370 * sysdeps/sparc/sparc64/elf/configure: Delete.
9371 * sysdeps/sparc/elf/configure.in: New file.
9372 * sysdeps/sparc/elf/configure: Generate.
9374 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9375 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9376 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9377 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9378 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9380 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9382 * manual/install.texi: Do not mention specific glibc version
9384 * manual/libc.texinfo (VERSION, UPDATED): Update.
9385 (@copying): Use @copyright{} and range of years.
9387 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9390 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9391 [crti.S not in sysdirs] (generated): Do not append.
9392 [crti.S not in sysdirs] (omit-deps): Likewise.
9393 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9394 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9395 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9396 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9397 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9399 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9400 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9401 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9402 * csu/defs.awk: Remove file.
9403 * sysdeps/generic/initfini.c: Likewise.
9404 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9406 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9409 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9411 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9412 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9413 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9414 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9416 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9418 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9419 (__EPOLL_PACKED): Define to empty if not defined by
9421 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9425 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9427 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9428 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9429 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9430 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9432 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9436 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9438 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9440 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9441 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9445 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9448 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9450 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9452 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9453 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9455 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9457 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9460 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9462 * math/w_acos.c: Use non-signaling floating-point comparisons.
9463 * math/w_acosf.c: Likewise.
9464 * math/w_acosh.c: Likewise.
9465 * math/w_acoshf.c: Likewise.
9466 * math/w_acoshl.c: Likewise.
9467 * math/w_acosl.c: Likewise.
9468 * math/w_asin.c: Likewise.
9469 * math/w_asinf.c: Likewise.
9470 * math/w_asinl.c: Likewise.
9471 * math/w_atanh.c: Likewise.
9472 * math/w_atanhf.c: Likewise.
9473 * math/w_atanhl.c: Likewise.
9474 * math/w_exp2.c: Likewise.
9475 * math/w_exp2f.c: Likewise.
9476 * math/w_exp2l.c: Likewise.
9477 * math/w_j0.c: Likewise.
9478 * math/w_j0f.c: Likewise.
9479 * math/w_j0l.c: Likewise.
9480 * math/w_j1.c: Likewise.
9481 * math/w_j1f.c: Likewise.
9482 * math/w_j1l.c: Likewise.
9483 * math/w_jn.c: Likewise.
9484 * math/w_jnf.c: Likewise.
9485 * math/w_log.c: Likewise.
9486 * math/w_log10.c: Likewise.
9487 * math/w_log10f.c: Likewise.
9488 * math/w_log10l.c: Likewise.
9489 * math/w_log2.c: Likewise.
9490 * math/w_log2f.c: Likewise.
9491 * math/w_log2l.c: Likewise.
9492 * math/w_logf.c: Likewise.
9493 * math/w_logl.c: Likewise.
9494 * math/w_sqrt.c: Likewise.
9495 * math/w_sqrtf.c: Likewise.
9496 * math/w_sqrtl.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9500 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9501 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9503 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9506 * manual/string.texi (strnlen): Use correct parameter name in
9507 equivalent expression.
9509 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9512 * manual/users.texi (seteuid): Consistently use neweuid for
9515 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9518 * manual/nss.texi (Services in the NSS configuration): Correct
9519 list of services in example configuration file.
9521 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9524 * manual/arith.texi: Remove statements about negative zero
9525 behaving identically to zero.
9527 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9530 * manual/install.texi: Do not document upgrading from libc5.
9532 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9535 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9537 2012-02-18 David S. Miller <davem@davemloft.net>
9539 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9540 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9541 %o7 across the call.
9542 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9547 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9548 * sysdeps/sparc/crtn.S: Likewise.
9550 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9552 * aout/Makefile: Remove.
9554 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9557 * manual/examples/argp-ex1.c (main): Format definition in GNU
9559 * manual/examples/argp-ex2.c (main): Likewise.
9560 * manual/examples/argp-ex3.c (main): Likewise.
9561 * manual/examples/argp-ex4.c (main): Likewise.
9562 * manual/examples/longopt.c (main): Use new-style prototype
9564 * manual/examples/strncat.c (main): Specify return type and use
9565 (void) for arguments.
9566 * manual/examples/subopt.c (main): Use char **argv argument.
9568 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9571 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9574 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9577 * manual/string.texi (strchr): Change when strchrnul is
9580 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9583 * manual/locale.texi (setlocale): Document LOCPATH.
9585 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9588 * manual/process.texi (execle): Move @dots{} before last argument.
9590 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9593 * manual/charset.texi (Generic Charset Conversion): Fix typo
9594 (LC_TYPE -> LC_CTYPE).
9596 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9599 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9600 (scalbnf): Likewise.
9601 (scalbnl): Likewise.
9602 (scalbln): Likewise.
9603 (scalblnf): Likewise.
9604 (scalblnl): Likewise.
9605 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9609 * manual/filesys.texi (telldir): Use braces around return type.
9610 * manual/llio.texi (mmap): Add space after comma.
9612 * manual/math.texi (jn): Use @var{} on parameter names.
9618 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9620 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9622 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9623 (sched_get_priority_max): Likewise.
9624 * manual/signal.texi (sigvec): Add space after comma.
9625 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9627 (if_indextoname): Likewise.
9628 (if_freenameindex): Likewise.
9629 (sendto): Use ',' instead of '.' in prototype.
9630 * manual/startup.texi (syscall): Use @dots{} instead of literal
9632 * manual/stdio.texi (__fpending): Separate initial words of
9633 paragraph from @deftypefun line.
9634 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9636 (vsyslog): Use @var{} on parameter names.
9637 * manual/terminal.texi (stty): Use @var{} on parameter names.
9638 * manual/users.texi (getutmp): Use @var{} on parameter names.
9639 (getutmpx): Likewise.
9641 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9644 * manual/stdio.texi (fopen): Fix typos in description of
9647 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9650 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9651 get clock_id definition.
9653 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9656 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9657 (madvise): Cast every argument to void on its own.
9659 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9662 * manual/startup.texi (Exit Status): Fix typo.
9664 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9667 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9668 * manual/examples/argp-ex2.c: Likewise.
9669 * manual/examples/argp-ex3.c: Likewise.
9671 2012-02-16 Richard Henderson <rth@redhat.com>
9673 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9674 * sysdeps/s390/s390-32/initfini.c: Remove.
9675 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9676 * sysdeps/s390/s390-64/initfini.c: Remove.
9678 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9680 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9681 compiler output for sysdeps/generic/initfini.c.
9682 * sysdeps/sh/elf/initfini.c: Remove file.
9684 2012-02-16 David S. Miller <davem@davemloft.net>
9687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9689 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9690 * sysdeps/sparc/crti.S: New file.
9691 * sysdeps/sparc/crtn.S: New file.
9692 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9693 * sysdeps/sparc/sparc64/Makefile: Likewise.
9695 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9698 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9700 2012-02-15 Roland McGrath <roland@hack.frob.com>
9703 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9705 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9706 (write, read, close): Likewise.
9707 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9709 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9711 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9712 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9713 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9714 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9716 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9720 2012-02-14 Marek Polacek <polacek@redhat.com>
9722 * sysdeps/x86_64/crti.S: New file.
9723 * sysdeps/x86_64/crtn.S: New file.
9724 * sysdeps/x86_64/elf/initfini.c: Remove file.
9726 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9728 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9729 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9730 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9731 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9733 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9737 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9739 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9740 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9741 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9742 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9744 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9748 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9750 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9751 __feraiseexcept instead of feraiseexcept.
9753 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9754 nanosleep invocations.
9755 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9756 strings, and add error checking for a nanosleep invocations.
9758 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9760 Replace FSF snail mail address with URLs, as per GNU coding standards.
9761 Most of the snail mail addresses were wrong anyway, and omitting
9762 them makes the source code easier to maintain. Almost all of the
9763 changes are to license notices and to locale LC_IDENTIFICATION
9764 addresses, except for this one:
9765 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9766 not its snail mail address.
9768 2012-02-09 Richard Henderson <rth@twiddle.net>
9770 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9771 of kernel-features.h.
9773 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9775 2012-02-08 Marek Polacek <polacek@redhat.com>
9777 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9778 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9779 * sysdeps/gnu/_G_config.h: Likewise.
9780 * sysdeps/generic/_G_config.h: Likewise.
9782 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9784 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9788 * sysdeps/powerpc/powerpc32/crti.S: New file.
9789 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9790 * sysdeps/powerpc/powerpc64/crti.S: New file.
9791 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9793 * Makeconfig (have-initfini): Don't set.
9794 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9795 * configure.in (nopic_initfini): Don't substitute.
9796 * config.h.in (HAVE_INITFINI): Don't #undef.
9797 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9798 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9800 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9802 Support crti.S and crtn.S provided directly by architectures.
9803 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9804 [crti.S in sysdirs] (omit-deps): Likewise.
9805 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9806 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9807 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9808 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9809 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9810 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9811 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9812 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9813 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9814 compiler output for sysdeps/generic/initfini.c.
9815 * sysdeps/i386/elf/Makefile: Remove file.
9816 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9818 2012-02-07 Marek Polacek <polacek@redhat.com>
9820 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9821 * sysdeps/gnu/_G_config.h: Likewise.
9822 * sysdeps/mach/hurd/_G_config.h: Likewise.
9824 2012-02-07 Marek Polacek <polacek@redhat.com>
9826 * math/Makefile (tests): Add tst-CMPLX2.
9827 * math/tst-CMPLX2.c: New file.
9829 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9831 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9833 * math/libm-test.inc (jn_test): Add missing L suffix.
9835 2012-02-06 Marek Polacek <polacek@redhat.com>
9837 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9838 * sysdeps/i386/fpu/e_powf.S: Likewise.
9839 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9840 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9841 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9842 * sysdeps/i386/fpu/e_pow.S: Likewise.
9843 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9844 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9845 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9846 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9847 * sysdeps/i386/fpu/e_log2.S: Likewise.
9848 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9849 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9850 * sysdeps/i386/fpu/e_powl.S: Likewise.
9851 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9852 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9853 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9854 * sysdeps/i386/fpu/e_logl.S: Likewise.
9855 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9856 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9857 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9858 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9859 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9860 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9861 * sysdeps/i386/fpu/e_log.S: Likewise.
9862 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9863 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9864 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9865 * sysdeps/i386/fpu/e_logf.S: Likewise.
9866 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9867 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9868 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9869 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9870 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9871 * sysdeps/i386/fpu/e_log10.S: Likewise.
9872 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9873 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9874 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9875 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9876 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9877 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9878 * sysdeps/i386/asm-syntax.h: Likewise.
9879 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9881 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9882 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9883 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9884 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9885 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9886 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9887 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9888 * sysdeps/powerpc/sysdep.h: Likewise.
9889 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9890 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9892 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9895 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9897 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9899 * sysdeps/i386/sysdep.h: Include <features.h>.
9900 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9903 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9905 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9907 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9910 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9912 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9913 (SETUP_PIC_REG): Use GET_PC_THUNK.
9914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9917 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9920 for non-PIC compilation.
9921 (SETUP_PIC_REG): Add .p2align directive.
9922 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9923 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9924 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9925 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9926 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9927 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9928 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9929 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9930 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9931 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9932 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9933 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9934 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9935 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9936 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9937 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9938 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9939 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9940 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9941 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9944 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9945 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9948 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9950 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9951 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9952 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9953 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9954 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9955 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9956 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9957 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9958 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9959 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9960 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9961 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9962 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9964 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9966 * math/tst-CMPLX.c: Include <stdio.h>.
9968 2012-01-31 Joseph Myers <joseph@codesourcery.com>
9970 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9972 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9973 * sysdeps/sparc/bits/mathdef.h: Likewise.
9975 2012-01-31 Marek Polacek <polacek@redhat.com>
9977 * libio/libio.h: Don't define _PARAMS.
9978 * locale/programs/config.h: Don't define PARAMS.
9979 * stdlib/strtol_l.c: Likewise.
9980 (__strtol_l): Remove PARAMS from the prototype.
9982 2012-01-31 Ulrich Drepper <drepper@gmail.com>
9984 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9985 names. Just use the correct names. Remove unnecessary wrapper
9987 * malloc/arena.c: Likewise.
9988 * malloc/hooks.c: Likewise.
9990 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9991 ARENA_TEST says not to. Simplify test for creation of a new arena.
9992 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9994 2012-01-30 Ulrich Drepper <drepper@gmail.com>
9996 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9998 (update_get_addr): New function.
9999 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10000 GET_ADDR_MODULE parameter.
10002 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10004 * crypt/cert.c: Remove __STDC__ conditionals.
10005 * crypt/crypt-entry.c: Likewise.
10006 * crypt/crypt_util.c: Likewise.
10007 * libio/filedoalloc.c: Likewise.
10008 * libio/fileops.c: Likewise.
10009 * libio/genops.c: Likewise.
10010 * libio/iofclose.c: Likewise.
10011 * libio/iofdopen.c: Likewise.
10012 * libio/iofopen.c: Likewise.
10013 * libio/iofopen64.c: Likewise.
10014 * libio/iogetdelim.c: Likewise.
10015 * libio/iopopen.c: Likewise.
10016 * libio/obprintf.c: Likewise.
10017 * libio/oldfileops.c: Likewise.
10018 * libio/oldiofclose.c: Likewise.
10019 * libio/oldiofdopen.c: Likewise.
10020 * libio/oldiofopen.c: Likewise.
10021 * libio/oldiopopen.c: Likewise.
10022 * libio/wfiledoalloc.c: Likewise.
10023 * libio/wgenops.c: Likewise.
10024 * locale/programs/xmalloc.c: Likewise.
10025 * misc/syslog.c: Likewise.
10026 * stdio-common/xbug.c: Likewise.
10027 * string/memchr.c: Likewise.
10028 * string/memcmp.c: Likewise.
10029 * string/memrchr.c: Likewise.
10030 * string/rawmemchr.c: Likewise.
10031 * sysdeps/posix/getcwd.c: Likewise.
10032 * time/strftime_l.c: Likewise.
10034 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10036 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10037 * config.make.in (config-cflags-sse2avx): Define.
10038 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10041 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10043 * scripts/config.guess: Update from upstream config git repository.
10044 * scripts/config.sub: Likewise.
10046 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10048 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10050 (R_TILEPRO_*, R_TILEGX_*): New macros.
10052 * scripts/firstversions.awk: Fix bug in version range handling.
10054 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10056 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10058 * include/sys/epoll.h: New file.
10059 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10062 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10064 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10065 Avoid unnecessary __WORDSIZE == 64 test.
10066 (fmaxf): Use VEX format if possible.
10071 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10072 * math/math_private.h: Remove libc_fegetround* and
10074 * sysdeps/i386/configure.in: Check for -msse2avx.
10075 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10076 also if SSE2AVX is defined.
10077 Remove libc_fegetround* and libc_fesetround*.
10078 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10079 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10083 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10084 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10085 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10088 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10090 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10092 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10094 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10096 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10099 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10101 * Makeconfig (libm): Define.
10102 * elf/Makefile: Add rules to build and run tst-relsort1.
10103 * elf/tst-relsort1.c: New file.
10104 * elf/tst-relsort1mod1.c: New file.
10105 * elf/tst-relsort1mod2.c: New file.
10107 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10109 * math/s_ldexp.c: Remove __STDC__ conditionals.
10110 * math/s_ldexpf.c: Likewise.
10111 * math/s_ldexpl.c: Likewise.
10112 * math/s_nextafter.c: Likewise.
10113 * math/s_nexttowardf.c: Likewise.
10114 * math/s_significand.c: Likewise.
10115 * math/s_significandf.c: Likewise.
10116 * math/s_significandl.c: Likewise.
10117 * math/w_jnl.c: Likewise.
10118 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10119 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10120 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10121 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10122 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10135 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10137 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10138 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10139 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10140 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10141 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10142 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10143 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10144 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10145 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10146 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10147 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10148 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10149 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10150 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10152 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10153 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10154 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10155 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10156 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10157 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10158 * sysdeps/ieee754/k_standard.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10160 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10161 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10162 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10163 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10164 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10165 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10168 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10171 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10172 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10173 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10174 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10175 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10176 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10184 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10186 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10188 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10194 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10195 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10201 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10205 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10207 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10208 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10209 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10210 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10220 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10225 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10230 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10231 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10232 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10233 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10234 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10238 * sysdeps/ieee754/s_matherr.c: Likewise.
10239 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10240 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10241 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10244 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10246 * crypt/md5.h: Remove __STDC__ conditionals.
10247 * libio/libioP.h: Likewise.
10248 * locale/programs/config.h: Likewise.
10249 * sysdeps/generic/sysdep.h: Likewise.
10250 * sysdeps/i386/asm-syntax.h: Likewise.
10251 * sysdeps/s390/asm-syntax.h: Likewise.
10252 * sysdeps/unix/sysdep.h: Likewise.
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10256 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10258 * libio/libio.h: Remove __STDC__ conditionals.
10259 * malloc/obstack.h: Likewise.
10260 * math/complex.h: Likewise.
10261 * math/math.h: Likewise.
10262 * sysdeps/generic/_G_config.h: Likewise.
10263 * sysdeps/gnu/_G_config.h: Likewise.
10264 * sysdeps/mach/hurd/_G_config.h: Likewise.
10265 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10266 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10267 * sysdeps/sparc/bits/mathdef.h: Likewise.
10269 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10272 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10273 Clean up HAS_* macros.
10274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10275 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10277 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10279 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10280 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10281 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10282 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10283 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10285 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10287 * elf/tst-unique3.cc (gets): Remove declaration.
10288 * elf/tst-unique3lib.cc (gets): Likewise.
10289 * elf/tst-unique3lib2.cc (gets): Likewise.
10290 * elf/tst-unique4.cc (gets): Likewise.
10292 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10294 * include/stdio.h: Add C++ protection. Add gets declarations and
10296 * debug/tst-chk1.c: Don't declare gets here.
10297 * stdio-common/tst-gets.c: Likewise.
10299 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10301 * posix/glob: Remove directory.
10303 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10305 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10307 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10309 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10310 of the non-standard EPFNOSUPPORT.
10312 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10314 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10315 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10316 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10318 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10320 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10322 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10324 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10326 * nscd/grpcache.c (cache_addgr): Likewise.
10327 * nscd/hstcache.c (cache_addhst): Likewise.
10328 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10329 * nscd/pwdcache.c (cache_addpw): Likewise.
10330 * nscd/servicescache.c (cache_addserv): Likewise.
10332 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10334 * malloc/malloc.c: Various cleanups.
10335 * malloc/hooks.c: Likewise.
10337 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10338 * stdlib/bug-fmtmsg1.c: New file.
10340 * stdlib/fmtmsg.c (init): Add missing unlock.
10341 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10343 2012-01-12 Marek Polacek <polacek@redhat.com>
10345 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10348 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10350 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10351 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10352 macro to ensure uniqueness of label name.
10353 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10354 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10356 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10358 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10360 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10361 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10362 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10365 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10367 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10369 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10370 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10371 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10373 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10375 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10376 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10377 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10380 * math/bits/math-finite.h: Add ldexp support.
10382 2012-01-10 Marek Polacek <polacek@redhat.com>
10384 * locale/programs/localedef.h (show_archive_content): Add noreturn
10387 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10389 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10391 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10393 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10395 * io/Makefile (headers): Add bits/poll2.h.
10397 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10400 typo #include statement.
10402 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10404 * include/sys/cdefs.h: Define __attribute_alloc_size.
10405 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10406 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10407 * elf/pldd.c: Likewise.
10408 * iconv/iconv_charmap.c: Likewise.
10409 * iconv/iconvconfig.c: Likewise.
10410 * iconv/strtab.c: Likewise.
10411 * locale/programs/locale.c: Likewise.
10412 * locale/programs/localedef.h: Likewise.
10413 * locale/programs/simple-hash.c: Likewise.
10414 * nscd/nscd.h: Likewise.
10415 * nss/makedb.c: Likewise.
10416 * sysdeps/generic/ldconfig.h: Likewise.
10417 * locale/programs/localedef.c: Remove xmalloc prototype.
10418 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10420 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10422 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10425 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10427 * math/Makefile (tests): Add tst-CMPLX.
10428 * math/tst-CMPLX.c: New file.
10430 * math/complex.h (CMPLXL): Fix typo.
10432 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10433 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10435 * debug/tst-chk1.c: Add poll and ppoll tests.
10436 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10437 * include/sys/poll.h: Add hidden proto for ppoll.
10438 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10439 * sysdeps/mach/hurd/ppoll.c: Likewise.
10440 * io/ppoll.c: Likewise.
10441 * debug/poll_chk.c: New file.
10442 * debug/ppoll_chk.c: New file.
10443 * include/bits/poll2.h: New file.
10444 * io/bits/poll2.h: New file.
10447 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10449 * configure.in: static is always set to yes. Remove.
10450 * config.make.in: Don't set build-static.
10451 * Makeconfig: Remove use of build-static.
10452 * dlfcn/Makefile: Likewise.
10453 * elf/Makefile: Likewise.
10454 * math/Makefile: Likewise.
10455 * misc/Makefile: Likewise.
10456 * nptl/Makefile: Likewise.
10457 * sysdeps/mach/hurd/Makefile: Likewise.
10459 * configure.in: PWD_P is not used anymore.
10460 * config.make.in: Remove PWD_P entry.
10462 * configure.in: Remove last remnants of RANLIB.
10463 No need to check for signed size_t anymore.
10464 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10466 Remove __builtin_expect test because we require at least gcc 3.4.
10467 * aclocal.m4: Likewise.
10469 * wcsmbs/mbrtoc16.c: Implement using towc function.
10470 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10471 * wcsmbs/wcsmbsload.c: Likewise.
10472 * iconv/gconv_simple.c: Likewise.
10473 * iconv/gconv_int.h: Likewise.
10474 * iconv/gconv_builtin.h: Likewise.
10475 * iconv/iconv_prog.c: Remove CHAR16 handling.
10477 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10479 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10481 * configure.in: Remove --with-elf and --enable-bounded options.
10482 Dont set base_machine for ia64. More non-ELF conditions removed.
10483 Remove testing and setting of leading underscore information.
10484 * config.make.in (build-bounded): Set to no.
10485 * config.h.in: Remove NO_UNDERSCORES entry.
10486 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10488 * csu/start.c: Remove !NO_UNDERSCORE code.
10489 * locale/localeinfo.h: Likewise.
10490 * sysdeps/generic/machine-gmon.h: Likewise.
10491 * sysdeps/generic/sysdep.h: Likewise.
10492 * sysdeps/i386/sysdep.h: Likewise.
10493 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10494 * sysdeps/mach/sysdep.h: Likewise.
10495 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10497 * sysdeps/sh/sysdep.h: Likewise.
10498 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10499 * sysdeps/unix/i386/sysdep.S: Likewise.
10500 * sysdeps/unix/sparc/start.c: Likewise.
10501 * sysdeps/unix/sparc/sysdep.S: Likewise.
10502 * sysdeps/unix/sparc/sysdep.h: Likewise.
10503 * sysdeps/unix/start.c: Likewise.
10504 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10505 * sysdeps/x86_64/sysdep.h: Likewise.
10507 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10510 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10512 * argp/argp-fmtstream.h: Use const instead __const.
10513 * argp/argp.h: Likewise.
10514 * assert/assert.h: Likewise.
10515 * bits/fenv.h: Likewise.
10516 * bits/sched.h: Likewise.
10517 * bits/sigset.h: Likewise.
10518 * bits/sigthread.h: Likewise.
10519 * catgets/nl_types.h: Likewise.
10520 * conform/data/pthread.h-data: Likewise.
10521 * crypt/crypt-private.h: Likewise.
10522 * crypt/crypt.h: Likewise.
10523 * crypt/crypt_util.c: Likewise.
10524 * ctype/ctype.h: Likewise.
10525 * debug/execinfo.h: Likewise.
10526 * debug/mbsnrtowcs_chk.c: Likewise.
10527 * debug/mbsrtowcs_chk.c: Likewise.
10528 * debug/wcsnrtombs_chk.c: Likewise.
10529 * debug/wcsrtombs_chk.c: Likewise.
10530 * debug/wcstombs_chk.c: Likewise.
10531 * dirent/dirent.h: Likewise.
10532 * dlfcn/dlfcn.h: Likewise.
10533 * elf/neededtest4.c: Likewise.
10534 * grp/grp.h: Likewise.
10535 * gshadow/gshadow.h: Likewise.
10536 * iconv/gconv.h: Likewise.
10537 * iconv/gconv_int.h: Likewise.
10538 * iconv/gconv_simple.c: Likewise.
10539 * iconv/iconv.h: Likewise.
10540 * iconv/loop.c: Likewise.
10541 * iconv/skeleton.c: Likewise.
10542 * include/aio.h: Likewise.
10543 * include/aliases.h: Likewise.
10544 * include/argz.h: Likewise.
10545 * include/arpa/inet.h: Likewise.
10546 * include/assert.h: Likewise.
10547 * include/dirent.h: Likewise.
10548 * include/dlfcn.h: Likewise.
10549 * include/execinfo.h: Likewise.
10550 * include/fcntl.h: Likewise.
10551 * include/fenv.h: Likewise.
10552 * include/glob.h: Likewise.
10553 * include/grp.h: Likewise.
10554 * include/libintl.h: Likewise.
10555 * include/mntent.h: Likewise.
10556 * include/netdb.h: Likewise.
10557 * include/pwd.h: Likewise.
10558 * include/rpc/netdb.h: Likewise.
10559 * include/sched.h: Likewise.
10560 * include/search.h: Likewise.
10561 * include/shadow.h: Likewise.
10562 * include/signal.h: Likewise.
10563 * include/stdio.h: Likewise.
10564 * include/stdlib.h: Likewise.
10565 * include/string.h: Likewise.
10566 * include/sys/socket.h: Likewise.
10567 * include/sys/stat.h: Likewise.
10568 * include/sys/statfs.h: Likewise.
10569 * include/sys/statvfs.h: Likewise.
10570 * include/sys/syslog.h: Likewise.
10571 * include/sys/time.h: Likewise.
10572 * include/sys/uio.h: Likewise.
10573 * include/time.h: Likewise.
10574 * include/unistd.h: Likewise.
10575 * include/utmp.h: Likewise.
10576 * include/wchar.h: Likewise.
10577 * include/wctype.h: Likewise.
10578 * inet/aliases.h: Likewise.
10579 * inet/arpa/inet.h: Likewise.
10580 * inet/netinet/ether.h: Likewise.
10581 * inet/netinet/in.h: Likewise.
10582 * intl/libintl.h: Likewise.
10583 * io/bits/fcntl2.h: Likewise.
10584 * io/fcntl.h: Likewise.
10585 * io/ftw.h: Likewise.
10586 * io/sys/poll.h: Likewise.
10587 * io/sys/stat.h: Likewise.
10588 * io/sys/statfs.h: Likewise.
10589 * io/sys/statvfs.h: Likewise.
10590 * io/utime.h: Likewise.
10591 * libio/bits/stdio.h: Likewise.
10592 * libio/bits/stdio2.h: Likewise.
10593 * libio/libio.h: Likewise.
10594 * libio/libioP.h: Likewise.
10595 * libio/stdio.h: Likewise.
10596 * locale/lc-ctype.c: Likewise.
10597 * locale/locale.h: Likewise.
10598 * login/utmp.h: Likewise.
10599 * malloc/arena.c: Likewise.
10600 * malloc/malloc.c: Likewise.
10601 * malloc/malloc.h: Likewise.
10602 * malloc/mcheck.c: Likewise.
10603 * malloc/mtrace.c: Likewise.
10604 * math/bits/mathcalls.h: Likewise.
10605 * math/fenv.h: Likewise.
10606 * math/math_private.h: Likewise.
10607 * misc/bits/error.h: Likewise.
10608 * misc/bits/syslog.h: Likewise.
10609 * misc/err.h: Likewise.
10610 * misc/error.h: Likewise.
10611 * misc/fstab.h: Likewise.
10612 * misc/mntent.h: Likewise.
10613 * misc/regexp.h: Likewise.
10614 * misc/search.h: Likewise.
10615 * misc/sgtty.h: Likewise.
10616 * misc/sys/mman.h: Likewise.
10617 * misc/sys/syslog.h: Likewise.
10618 * misc/sys/uio.h: Likewise.
10619 * misc/sys/xattr.h: Likewise.
10620 * misc/ttyent.h: Likewise.
10621 * nis/rpcsvc/ypclnt.h: Likewise.
10622 * nss/nss.h: Likewise.
10623 * posix/bits/unistd.h: Likewise.
10624 * posix/fnmatch.h: Likewise.
10625 * posix/glob.h: Likewise.
10626 * posix/sched.h: Likewise.
10627 * posix/spawn.h: Likewise.
10628 * posix/sys/wait.h: Likewise.
10629 * posix/unistd.h: Likewise.
10630 * posix/wordexp.h: Likewise.
10631 * pwd/pwd.h: Likewise.
10632 * resolv/netdb.h: Likewise.
10633 * resource/sys/resource.h: Likewise.
10634 * rt/aio.h: Likewise.
10635 * rt/bits/mqueue2.h: Likewise.
10636 * rt/mqueue.h: Likewise.
10637 * shadow/shadow.h: Likewise.
10638 * signal/signal.h: Likewise.
10639 * socket/send.c: Likewise.
10640 * socket/sendto.c: Likewise.
10641 * socket/sys/socket.h: Likewise.
10642 * stdio-common/printf.h: Likewise.
10643 * stdlib/bits/stdlib.h: Likewise.
10644 * stdlib/fmtmsg.h: Likewise.
10645 * stdlib/monetary.h: Likewise.
10646 * stdlib/stdlib.h: Likewise.
10647 * stdlib/ucontext.h: Likewise.
10648 * streams/stropts.h: Likewise.
10649 * string/argz.h: Likewise.
10650 * string/bits/string2.h: Likewise.
10651 * string/string.h: Likewise.
10652 * string/strings.h: Likewise.
10653 * sunrpc/rpc/auth.h: Likewise.
10654 * sunrpc/rpc/auth_des.h: Likewise.
10655 * sunrpc/rpc/clnt.h: Likewise.
10656 * sunrpc/rpc/netdb.h: Likewise.
10657 * sunrpc/rpc/pmap_clnt.h: Likewise.
10658 * sunrpc/rpc/xdr.h: Likewise.
10659 * sysdeps/generic/inttypes.h: Likewise.
10660 * sysdeps/generic/net/if.h: Likewise.
10661 * sysdeps/generic/sys/swap.h: Likewise.
10662 * sysdeps/gnu/net/if.h: Likewise.
10663 * sysdeps/gnu/utmpx.h: Likewise.
10664 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10665 * sysdeps/i386/i486/bits/string.h: Likewise.
10666 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10667 * sysdeps/s390/bits/string.h: Likewise.
10668 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10669 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10670 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10671 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10672 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10673 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10674 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10675 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10676 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10677 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10678 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10679 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10680 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10681 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10682 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10683 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10684 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10686 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10687 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10689 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10690 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10691 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10692 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10693 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10694 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10695 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10696 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10698 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10699 * sysvipc/sys/ipc.h: Likewise.
10700 * sysvipc/sys/msg.h: Likewise.
10701 * sysvipc/sys/sem.h: Likewise.
10702 * sysvipc/sys/shm.h: Likewise.
10703 * termios/termios.h: Likewise.
10704 * time/sys/time.h: Likewise.
10705 * time/time.h: Likewise.
10706 * wcsmbs/bits/wchar2.h: Likewise.
10707 * wcsmbs/uchar.h: Likewise.
10708 * wcsmbs/wchar.h: Likewise.
10709 * wctype/wctype.h: Likewise.
10712 * Makeconfig: Remove all but ELF support including AIX support.
10713 * Makerules: Likewise.
10714 * config.h.in: Likewise.
10715 * config.make.in: Likewise.
10716 * configure: Likewise.
10717 * configure.in: Likewise.
10718 * csu/Makefile: Likewise.
10719 * csu/version.c: Likewise.
10720 * debug/Makefile: Likewise.
10721 * dlfcn/Makefile: Likewise.
10722 * elf/Makefile: Likewise.
10723 * extra-lib.mk: Likewise.
10724 * iconv/Makefile: Likewise.
10725 * include/libc-symbols.h: Likewise.
10726 * include/shlib-compat.h: Likewise.
10727 * resolv/Makefile: Likewise.
10728 * resolv/res_libc.c: Likewise.
10729 * rt/Makefile: Likewise.
10730 * sysdeps/i386/asm-syntax.h: Likewise.
10731 * sysdeps/i386/sysdep.h: Likewise.
10732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10733 * sysdeps/mach/sysdep.h: Likewise.
10734 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10735 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10736 * sysdeps/s390/asm-syntax.h: Likewise.
10737 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10738 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10739 * sysdeps/sh/sysdep.h: Likewise.
10740 * sysdeps/unix/sparc/sysdep.h: Likewise.
10741 * sysdeps/wordsize-32/divdi3.c: Likewise.
10742 * sysdeps/x86_64/sysdep.h: Likewise.
10744 * argp/Versions: Remove _argp_unlock_xxx.
10747 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10748 * abilist/libBrokenLocale.abilist: Likewise.
10749 * abilist/libanl.abilist: Likewise.
10750 * abilist/libc.abilist: Likewise.
10751 * abilist/libcrypt.abilist: Likewise.
10752 * abilist/libdl.abilist: Likewise.
10753 * abilist/libm.abilist: Likewise.
10754 * abilist/libnsl.abilist: Likewise.
10755 * abilist/libpthread.abilist: Likewise.
10756 * abilist/libresolv.abilist: Likewise.
10757 * abilist/librt.abilist: Likewise.
10758 * abilist/libthread_db.abilist: Likewise.
10759 * abilist/libutil.abilist: Likewise.
10760 * abilist/libnss_db.abilist: New file.
10762 * scripts/abilist.awk: Add support for indirect functions.
10764 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10766 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10768 * shlib-versions: Remove entries for ports architectures.
10770 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10772 * elf/stackguard-macros.h: Remove support for IA-64.
10773 * elf/tst-auditmod1.c: Likewise.
10774 * sysdeps/generic/ldsodefs.h: Likewise.
10776 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10777 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10781 * configure.in: Remove --enable-omitfp support.
10783 * config.make.in: Likewise.
10784 * Makeconfig: Likewise.
10785 * manual/install.texi: Likewise.
10787 In case anyone cares, the IA-64 architecture could move to ports.
10788 * sysdeps/ia64/*: Removed.
10789 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10790 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10793 * configure.in: Remove entries for unsupported architectures.
10796 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10797 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10799 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10800 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10801 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10802 fall back to using wcrtomb.
10803 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10804 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10806 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10807 * wcsmbs/tst-c16c32-1.c: New file.
10809 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10812 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10814 * elf/tst-unique3.cc: Add explicit declaration of gets.
10815 * elf/tst-unique3lib.cc: Likewise.
10816 * elf/tst-unique3lib2.cc: Likewise.
10817 * elf/tst-unique4.cc: Likewise.
10819 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10821 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10824 * assert/assert.h (static_assert): Don't define for C++.
10825 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10826 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10828 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10830 * iconv/loop.c (single loop): Fix assertion in storing of
10833 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10835 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10837 * posix/getconf.c: Update copyright year.
10838 * nss/getent.c: Likewise.
10839 * nss/makedb.c: Likewise.
10840 * iconv/iconvconfig.c: Likewise.
10841 * iconv/iconv_prog.c: Likewise.
10842 * elf/ldconfig.c: Likewise.
10843 * elf/pldd.c: Likewise.
10844 * elf/sotruss.ksh: Likewise.
10845 * catgets/gencat.c: Likewise.
10846 * csu/version.c: Likewise.
10847 * elf/ldd.bash.in: Likewise.
10848 * elf/sprof.c (print_version): Likewise.
10849 * locale/programs/locale.c: Likewise.
10850 * locale/programs/localedef.c: Likewise.
10851 * login/programs/pt_chown.c: Likewise.
10852 * nscd/nscd.c (print_version): Likewise.
10853 * debug/xtrace.sh: Likewise.
10854 * malloc/memusage.sh: Likewise.
10855 * malloc/mtrace.pl: Likewise.
10856 * debug/catchsegv.sh: Likewise.
10858 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10860 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10863 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10866 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10867 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10869 * iconv/gconv_int.h: Likewise.
10870 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10871 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10872 from libc for GLIBC_2.16.
10873 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10874 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10875 * wcsmbs/uchar.h: Really define mbstate_t.
10876 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10877 * wcsmbs/c16rtomb.c: New file.
10878 * wcsmbs/mbrtoc16.c: New file.
10879 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10880 for C/POSIX locale.
10881 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10882 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10884 * wcsmbs/wchar.h: Add missing __restrict.
10886 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10889 * time/Makefile (routines): Add timespec_get.
10890 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10891 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10892 timespec for ISO C11.
10893 * time/timespec_get.c: New file.
10894 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10895 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10898 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10899 * stdlib/stdlib.h: Declare aligned_alloc.
10900 * Versions.def: Add GLIBC_2.16 for libc.
10901 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10904 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10907 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10911 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10914 * assert/assert.h (static_assert): Define.
10916 * version.h: Update for 2.16 development version.
10919 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10922 * version.h (RELEASE): Bump for 2.15 release.
10923 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10925 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10926 Patch by Marek Polacek <mpolacek@redhat.com>.
10928 * bits/byteswap.h: Protect long long constants with __extension__.
10929 * sysdeps/i386/bits/byteswap.h: Likewise.
10930 * sysdeps/ia64/bits/byteswap.h: Likewise.
10931 * sysdeps/s390/bits/byteswap.h: Likewise.
10932 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10934 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10938 destination buffer.
10939 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10941 2011-12-23 Marek Polacek <polacek@redhat.com>
10943 * elf/dl-addr.c (determine_info): Add inline keyword.
10944 * elf/tst-auditmod4b.c (check_avx): Likewise.
10945 * elf/tst-auditmod6b.c (check_avx): Likewise.
10946 * elf/tst-auditmod6c.c (check_avx): Likewise.
10947 * elf/tst-auditmod7b.c (check_avx): Likewise.
10949 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10951 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10954 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10957 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10958 processing for last bytes.
10960 2011-08-06 Bruno Haible <bruno@clisp.org>
10963 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10964 U+0385, not to U+1FEE.
10967 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10968 entry for U+00A5 U+0301.
10970 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10973 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10974 buffer for the output is too small.
10976 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10980 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10981 SSE flags if possible.
10983 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10986 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10987 processing for last bytes.
10989 2011-12-22 Joseph Myers <joseph@codesourcery.com>
10991 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10992 (syscall-list-default-options, syscall-list-default-condition)
10993 (syscall-list-includes): Define.
10994 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10995 list of ABIs and options and #if conditions for each ABI. Do not
10996 handle common syscalls between ABIs specially.
10997 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10999 (syscall-list-variants, syscall-list-32bit-options)
11000 (syscall-list-32bit-condition, syscall-list-64bit-options)
11001 (syscall-list-64bit-condition): Define.
11002 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11003 (syscall-list-variants, syscall-list-32bit-options)
11004 (syscall-list-32bit-condition, syscall-list-64bit-options)
11005 (syscall-list-64bit-condition): Define.
11006 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11008 (syscall-list-variants, syscall-list-32bit-options)
11009 (syscall-list-32bit-condition, syscall-list-64bit-options)
11010 (syscall-list-64bit-condition): Define.
11011 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11013 (syscall-list-variants, syscall-list-32bit-options)
11014 (syscall-list-32bit-condition, syscall-list-64bit-options)
11015 (syscall-list-64bit-condition): Define.
11017 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11019 * locale/iso-639.def: Add brx entry.
11022 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11023 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11025 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11026 __feraiseexcept_renamed.
11028 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11031 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11032 EPOLLET with unsigned values.
11033 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11036 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11037 to large cancellation.
11038 * math/s_cacoshf.c: Likewise.
11039 * math/s_cacoshl.c: Likewise.
11041 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11045 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11046 * math/s_cacoshf.c: Likewise.
11047 * math/s_cacoshl.c: Likewise.
11049 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11052 * iconv/gconv.h: Define __GCONV_SWAP.
11053 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11054 * iconvdata/utf-16.c: Likewise.
11055 * iconvdata/utf-32.c: Likewise.
11057 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11061 numerator after shifting it by one limb.
11063 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11065 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11066 under [__USE_EXTERN_INLINES].
11068 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11071 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11073 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11075 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11076 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11078 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11079 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11080 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11081 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11082 for strncasecmp/strncasecmp_l compilation.
11083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11084 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11086 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11089 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11092 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11095 * time/tzfile.c (__tzfile_read): Check values from file header.
11097 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11099 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11100 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11101 * powerpc/powerpc32/dl-start.S: Likewise.
11102 * powerpc/powerpc32/elf/start.S: Likewise.
11103 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11104 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11105 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11106 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11107 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11108 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11109 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11110 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11111 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11112 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11113 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11114 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11115 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11116 * powerpc/powerpc32/memset.S: Likewise.
11117 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11118 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11119 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11120 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11121 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11122 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11123 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11124 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11125 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11126 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11127 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11128 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11129 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11131 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11133 * math/libm-test.inc: Added more nearbyint tests.
11134 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11136 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11139 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11141 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11144 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11146 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11147 Add wcscpy-ssse3 wcscpy-c.
11148 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11149 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11150 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11151 * sysdeps/x86_64/wcschr.S: New file.
11152 * sysdeps/x86_64/wcsrchr.S: New file.
11153 * string/test-strcmp.c: Remove checking of wcscmp function for
11155 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11156 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11157 wcsrchr-sse2 wcsrchr-c.
11158 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11159 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11160 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11161 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11162 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11163 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11164 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11165 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11166 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11167 * wcsmbc/wcschr.c (WCSCHR): New macro.
11169 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11171 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11172 * wcsmbs/test-wcsrchr.c: New file.
11173 * string/test-strrchr.c: Add wcsrchr support.
11175 * wcsmbs/test-wcscpy.c: New file.
11176 * string/test-strcpy.c: Add wcscpy support.
11179 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11181 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11184 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11187 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11189 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11191 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11192 Minor optimizations.
11194 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11195 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11196 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11198 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11200 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11201 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11202 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11203 for gcc to avoid warnings.
11204 * inet/Makefile (tests): Add tst-checks.
11205 * inet/tst-checks.c: New file.
11207 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11210 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11213 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11214 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11216 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11218 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11220 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11223 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11225 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11227 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11228 conditional on GCC version.
11229 (__arch_compare_and_exchange_val_8_acq)
11230 (__arch_compare_and_exchange_val_16_acq)
11231 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11232 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11233 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11235 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11237 * sysdeps/sh/backtrace.c: New file.
11239 2011-12-02 Andreas Schwab <schwab@redhat.com>
11241 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11244 2011-12-01 Andreas Schwab <schwab@redhat.com>
11246 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11247 falling back to utime.
11249 2011-11-30 Andreas Schwab <schwab@redhat.com>
11251 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11252 expectations for float.
11254 2011-11-29 Andreas Schwab <schwab@redhat.com>
11256 * locale/weight.h (findidx): Add parameter len.
11257 * locale/weightwc.h (findidx): Likewise.
11258 * posix/fnmatch_loop.c (FCT): Adjust caller.
11259 * posix/regcomp.c (build_equiv_class): Likewise.
11260 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11261 * posix/regexec.c (check_node_accept_bytes): Likewise.
11262 * string/strcoll_l.c (STRCOLL): Likewise.
11263 * string/strxfrm_l.c (STRXFRM): Likewise.
11265 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11267 * Makefile.in: Remove CVSOPT handling.
11268 * configure.in: Remove use of AC_REVISION.
11269 * iconvdata/Makefile (distribute): No need to filter out CVS.
11270 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11273 2011-11-16 Andreas Schwab <schwab@redhat.com>
11275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11276 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11277 [USE_AS_STRNCASECMP_L]: Likewise.
11278 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11279 NO_TLS_DIRECT_SEG_REFS.
11280 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11281 Fix argument offsets for non-PIC.
11282 [USE_AS_STRNCASECMP_L]: Likewise.
11283 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11284 NO_TLS_DIRECT_SEG_REFS.
11286 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11288 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11290 * locale/loadlocale.c (_nl_load_locale): Likewise.
11292 2011-11-15 Andreas Schwab <schwab@redhat.com>
11294 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11295 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11296 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11297 (SYSCALL_GETTIME): Set errno on error.
11299 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11300 count references to noai6ai_cached.
11302 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11304 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11306 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11307 FD_CLOEXEC for /proc/self/maps.
11309 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11310 FD_CLOEXEC for /proc/meminfo.
11312 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11315 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11316 FD_CLOEXEC for given file.
11318 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11320 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11321 FD_CLOEXEC for /etc/hosts.
11322 (_gethtent): Likewise.
11324 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11326 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11327 cancellation and set FD_CLOEXEC for /etc/netgroup.
11329 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11330 reading /etc/publickey.
11332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11333 allow cancellation when reading /etc/group.
11335 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11337 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11339 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11340 when using data file.
11342 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11344 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11345 (write_nis_obj): Use "c" and "e" in fopen.
11347 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11349 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11351 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11353 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11355 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11358 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11360 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11362 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11364 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11365 file parsing and set FD_CLOEXEC.
11367 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11369 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11371 2011-11-14 Andreas Schwab <schwab@redhat.com>
11373 * malloc/arena.c (arena_get2): Don't call reused_arena when
11374 _int_new_arena failed.
11376 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11378 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11379 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11380 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11382 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11383 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11384 to compile strcasecmp and strncasecmp.
11385 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11386 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11390 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11393 locale-defines.sym to gen-as-const-headers.
11394 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11395 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11397 to compile strcasecmp and strncasecmp.
11398 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11399 strcasecmp_l and strncasecmp_l.
11400 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11401 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11402 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11403 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11404 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11405 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11406 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11407 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11408 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11409 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11410 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11412 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11414 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11415 result of SYSDEP_GETTIME_CPU to retval.
11416 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11417 parameter list to macro. Remove trailing semicolon. Adjust users.
11419 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11422 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11424 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11426 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11427 from unused variable.
11429 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11431 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11434 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11437 * sunrpc/rpc_prot.c (rejected): Fix case value.
11439 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11440 unsigned long long int to avoid warnings in shift.
11442 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11444 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11447 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11448 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11449 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11451 * nis/nis_table.c (nis_list): Use variable of correct type for
11452 result of __follow_path call.
11454 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11456 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11457 of math functions ceil, trunc, floor, round, and sqrt, when
11458 avaliable on the platform.
11459 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11461 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11462 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11463 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11465 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11467 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11468 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11470 2011-11-11 Roland McGrath <roland@hack.frob.com>
11472 * include/unistd.h: Fix __readlink return type.
11473 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11475 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11477 * stdlib/ucontext.h: Undo last change for makecontext.
11479 2011-11-11 Andreas Schwab <schwab@redhat.com>
11481 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11483 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11484 * setjmp/setjmp.h: Mark functions as non-leaf.
11485 * setjmp/bits/setjmp2.h: Likewise.
11486 * stdlib/ucontext.h: Likewise.
11488 2011-11-10 Andreas Schwab <schwab@redhat.com>
11490 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11491 (reused_arena): Don't check arena limit.
11492 (arena_get2): Atomically check arena limit.
11494 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11496 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11497 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11502 2011-11-07 Andreas Schwab <schwab@redhat.com>
11504 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11505 handler when locking.
11507 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11508 Fix size of allocated buffer.
11510 2011-11-04 Andreas Schwab <schwab@redhat.com>
11513 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11514 declarations for long double functions.
11515 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11517 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11519 2011-11-03 Andreas Schwab <schwab@redhat.com>
11521 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11524 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11527 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11529 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11531 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11533 * include/alloca.h (stackinfo_alloca_round): Define.
11534 (extend_alloca): Use it.
11535 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11536 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11539 * scripts/check-local-headers.sh: Ignore libaudit.h.
11541 * nscd/Makefile (extra-objs): Make recursively expanded.
11543 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11545 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11548 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11549 * posix/tst-rfc3484-2.c: Likewise.
11550 * posix/tst-rfc3484-3.c: Likewise.
11552 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11554 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11556 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11557 process_vm_writev from libc using GLIBC_2.15 version.
11559 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11561 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11563 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11566 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11569 * nss/getent.c (initgroups_keys): Show error message in case no group
11572 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11573 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11574 __bump_nl_timestamp.
11575 * nscd/connections (nscd_init): When host database is served open
11576 netlink socket and request notification about configuration changes.
11577 (main_loop_poll): Track netlink file descriptor and bump timestamp
11578 in case data becomes available.
11579 (main_loop_epoll): Likewise.
11580 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11581 (database_pers_head): Add extra_data fileds.
11582 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11583 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11584 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11587 in6ai data, call __free_in6ai.
11588 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11589 Add -DHAVE_NETLINK.
11590 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11591 interface information. Reuse previous data if netlink timestamp
11593 (__bump_nl_timestamp): New function.
11594 (__free_in6ai): New function.
11596 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11598 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11599 close_not_cancel_no_status here.
11600 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11602 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11605 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11608 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11609 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11610 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11612 2011-07-03 Andreas Jaeger <aj@suse.de>
11615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11616 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11617 * math/libm-test.inc (sin_test): Add test case.
11619 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11622 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11625 * elf/chroot_canon.c (chroot_canon): Cleanups.
11627 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11630 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11631 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11633 * string/test-strchr.c: Make usable for strchrnul testing.
11634 * string/test-strchrnul.c: New file.
11635 * string/Makefile (strop-tests): Add strchrnul.
11637 * po/it.po: Update from translation team.
11638 * po/es.po: Likewise.
11640 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11642 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11643 the three constants needed as parameters. Drop the others.
11644 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11645 __m128i_strloadu_tolower.
11646 Create and initialize variable zero and use it in all the places
11647 where _mm_setzero_si128 was used.
11649 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11650 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11651 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11654 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11656 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11657 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11658 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11659 __mpranred, __mptan.
11660 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11661 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11662 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11663 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11664 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11665 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11667 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11668 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11670 2011-10-28 Andreas Schwab <schwab@redhat.com>
11672 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11673 redefine if SHARED.
11674 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11677 wide char related routines to wcsmbs subdir.
11679 2011-10-27 Andreas Schwab <schwab@redhat.com>
11682 * misc/sys/cdefs.h (__THROWNL): Define.
11683 * posix/unistd.h: Use __THREADNL instead of __THREAD
11684 for memory synchronization functions.
11686 2011-10-26 Roland McGrath <roland@hack.frob.com>
11689 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11691 * manual/stdio.texi (Obstack Streams): Node removed.
11693 2011-10-26 Andreas Schwab <schwab@redhat.com>
11695 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11696 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11697 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11699 * math/math_private.h (math_force_eval): Allow non-addressable
11701 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11703 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11705 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11706 file is not needed.
11708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11709 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11710 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11711 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11712 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11714 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11715 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11717 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11718 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11719 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11720 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11721 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11722 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11723 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11724 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11725 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11726 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11727 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11728 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11730 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11731 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11732 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11733 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11734 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11735 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11737 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11738 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11741 place. Use VEX encoding when compiling for AVX.
11743 2011-10-25 Andreas Schwab <schwab@redhat.com>
11745 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11746 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11748 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11750 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11752 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11753 useless if() expression.
11754 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11755 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11756 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11760 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11764 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11765 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11766 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11767 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11768 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11769 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11770 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11772 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11774 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11776 2011-10-25 Andreas Schwab <schwab@redhat.com>
11778 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11780 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11782 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11784 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11785 .text section. Avoid duplicate constants.
11786 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11793 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11794 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11795 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11796 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11797 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11798 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11799 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11800 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11803 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11804 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11806 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11807 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11809 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11810 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11811 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11812 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11813 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11814 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11815 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11816 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11817 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11819 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11820 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11821 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11822 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11824 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11825 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11826 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11827 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11828 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11829 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11830 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11832 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11834 * sysdeps/x86_64/dla.h: Move to ...
11835 * sysdeps/x86_64/fpu/dla.h: ...here.
11836 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11837 situations. Use __builtin_fma only for gcc 4.6 and up.
11839 * config.make.in: Add have-mfma4 entry.
11840 * configure.in: Substitute libc_cv_cc_fma4.
11841 * math/Makefile (dbl-only-routines): Add sincostab.
11842 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11843 Use __sincostab not sincos.
11844 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11846 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11851 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11852 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11853 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11854 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11856 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11857 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11859 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11860 define aliases when function name is a macro.
11861 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11862 sysdeps/ieee754/dbl-64/sincos.tbl.
11863 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11864 fma4-enabled routines.
11865 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11866 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11867 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11868 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11869 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11870 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11872 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11874 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11875 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11876 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11877 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11878 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11879 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11880 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11881 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11882 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11883 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11884 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11885 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11886 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11888 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11891 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11892 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11893 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11894 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11896 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11907 2011-10-24 Andreas Schwab <schwab@redhat.com>
11909 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11911 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11915 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11917 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11919 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11920 Remove unused variable magic_bits.
11921 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11923 * string/strnlen.c: Define and use STRNLEN macro.
11924 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11925 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11927 * wcsmbs/wcslen.c: Define and use WCSLEN.
11928 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11929 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11930 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11931 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11932 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11933 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11934 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11936 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11939 strnlen-sse2-no-bsf.
11940 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11942 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11943 Add strnlen support.
11944 (USE_AS_STRNLEN): New macro.
11945 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11946 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11947 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11948 * sysdeps/x86_64/wcslen.S: New file.
11950 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11953 XMM-moves are used for copying on small sizes.
11955 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11957 * wcsmbs/Makefile (strop-tests): Add wcschr.
11958 * wcsmbs/test-wcschr.c: New file.
11959 * string/test-strchr.c: Update.
11960 Add wcschr support.
11963 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11965 * wcsmbs/Makefile (strop-tests): Add wcslen.
11966 * wcsmbs/test-wcslen.c: New file.
11967 * string/test-strlen.c: Update.
11968 Add wcslen support.
11971 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11973 * po/it.po: Update from translation team.
11975 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11977 * sysdeps/x86_64/wcscmp.S: Update.
11978 Fix wrong comparison semantics.
11979 wcscmp shall use signed comparison not unsigned.
11980 Don't use substraction to avoid overflow bug.
11981 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11982 * wcsmbc/wcscmp.c: Likewise.
11983 * string/test-strcmp.c: Likewise.
11984 Add new tests to check cases with negative values.
11986 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11988 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11989 * sysdeps/x86_64/dla.h: ...here. New file.
11990 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12000 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12003 __ynl_finite aliases.
12005 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12009 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12011 [DLA_FMA] (EMULV): Use DLA_FMA.
12012 [DLA_FMA] (MUL12): Use EMULV.
12013 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12014 that are not needed.
12015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12023 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12025 * math/s_nan.c: Undef __nan.
12026 * math/s_nanf.c: Undef __nanf.
12027 * math/s_nanl.c: Undef __nanl.
12028 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12031 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12033 * math/s_catan.c: Add branch predictions.
12034 * math/s_catanf.c: Likewise.
12035 * math/s_catanh.c: Likewise.
12036 * math/s_catanhf.c: Likewise.
12037 * math/s_catanhl.c: Likewise.
12038 * math/s_catanl.c: Likewise.
12039 * math/s_cexp.c: Likewise.
12040 * math/s_cexpf.c: Likewise.
12041 * math/s_cexpl.c: Likewise.
12042 * math/s_clog.c: Likewise.
12043 * math/s_clog10.c: Likewise.
12044 * math/s_clog10f.c: Likewise.
12045 * math/s_clog10l.c: Likewise.
12046 * math/s_clogf.c: Likewise.
12047 * math/s_clogl.c: Likewise.
12048 * math/s_csqrt.c: Likewise.
12049 * math/s_csqrtf.c: Likewise.
12050 * math/s_csqrtl.c: Likewise.
12051 * math/s_ctanf.c: Likewise.
12052 * math/s_ctanh.c: Likewise.
12053 * math/s_ctanhf.c: Likewise.
12054 * math/s_ctanhl.c: Likewise.
12055 * math/s_ctanl.c: Likewise.
12057 * math/math_private.h: Define __nan, __nanf, __nanl.
12058 * math/s_cacosh.c: Include <math_private.h>.
12059 * math/s_cacoshl.c: Likewise.
12060 * math/s_casinh.c: Likewise.
12061 * math/s_casinhf.c: Likewise.
12062 * math/s_casinhl.c: Likewise.
12063 * math/s_ccos.c: Rely entire on ccosh.
12064 * math/s_ccosf.c: Rely entire on ccoshf.
12065 * math/s_ccosl.c: Rely entirely on ccoshl.
12066 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12067 Remove tests for FE_INVALID.
12068 * math/s_ccoshf.c: Likewise.
12069 * math/s_ccoshl.c: Likewise.
12070 * math/s_csin.c: Likewise.
12071 * math/s_csinf.c: Likewise.
12072 * math/s_csinh.c Likewise.
12073 * math/s_csinhf.c: Likewise.
12074 * math/s_csinhl.c: Likewise.
12075 * math/s_csinl.c: Likewise.
12076 * math/s_ctan.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12078 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12079 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12081 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12084 compilation problems.
12086 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12089 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12091 * sysdeps/i386/configure.in: Test for -mfma4 option.
12092 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12093 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12094 COMMON_CPUID_INDEX_80000001.
12095 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12096 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12097 use it if FMA3 is not supported.
12098 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12100 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12101 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12103 2011-10-20 Andreas Schwab <schwab@redhat.com>
12106 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12107 it would create a cycle with a link time dependency.
12109 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12111 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12113 * string/Makefile (strop-tests): Add rawmemchr.
12114 * string/test-rawmemchr.c: New file.
12116 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12117 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12118 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12119 when compiling str{,n}casecmp and when AVX is available. Hook up
12120 new optimized code in initializers.
12122 2011-10-19 Andreas Schwab <schwab@redhat.com>
12124 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12125 __feraiseexcept instead of feraiseexcept.
12127 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12129 * math/math_private.h: Define defaults for libc_fetestexcept and
12131 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12132 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12133 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12134 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12136 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12137 libc_fetestexcept and libc_feupdateenv.
12139 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12140 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12141 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12142 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12143 libc_feholdexcept_setround.
12145 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12146 Add s_nearbyint-c and s_nearbyintf-c.
12147 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12148 nearbyintf inlines.
12149 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12151 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12152 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12154 * math/math_private.h: Define defaults for libc_fegetround,
12155 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12156 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12157 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12158 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12159 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12160 standard functions.
12161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12162 Remove comments and hacks for old compiler versions.
12163 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12164 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12165 libc_feholdexceptl.
12167 2011-10-18 Andreas Schwab <schwab@redhat.com>
12169 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12170 (__feraiseexcept_renamed): Add __NTH.
12171 (feraiseexcept): Add __NTH. Rename local variables to fix
12172 namespace violations.
12174 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12178 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12180 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12181 recently added interfaces.
12182 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12184 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12185 about macro parameter expansion.
12187 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12188 __NO_MATH_INLINES is defined. Cleanups.
12190 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12191 and __floorf is target has SSE4.1.
12192 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12193 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12194 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12195 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12197 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12199 (floorf): Likewise.
12201 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12203 2011-10-17 Andreas Schwab <schwab@redhat.com>
12205 * misc/sys/cdefs.h: Fix last change.
12207 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12210 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12212 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12214 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12215 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12216 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12217 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12218 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12219 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12222 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12223 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12224 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12225 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12226 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12227 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12228 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12229 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12230 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12231 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12232 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12233 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12234 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12235 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12237 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12238 ceil, ceilf, floor, floorf.
12240 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12241 Perform IRELATIVE relocations last.
12243 * elf/do-rel.h: Add another parameter nrelative, replacing the
12244 local variable with the same name. Change name of the function
12245 to end in Rel or Rela (uppercase).
12246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12247 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12248 elf_dynamic_do_##reloc function.
12250 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12252 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12253 is sufficient, at least on modern CPUs.
12255 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12257 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12258 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12260 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12262 * math/bits/math-finite.h: Add entries for exp.
12263 * math/e_expl.c: Add __*_finite alias.
12264 * sysdeps/i386/fpu/e_exp.S: Likewise.
12265 * sysdeps/i386/fpu/e_expf.S: Likewise.
12266 * sysdeps/i386/fpu/e_expl.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12268 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12269 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12272 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12273 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12275 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12276 is sufficient, at least on modern CPUs.
12278 * ctype/ctype-info.c (__ctype_init): Define.
12279 * include/ctype.h (__ctype_init): Declare.
12280 (__ctype_b_loc): The variable is always initialized.
12281 (__ctype_toupper_loc): Likewise.
12282 (__ctype_tolower_loc): Likewise.
12283 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12284 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12286 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12288 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12290 * configure.in: Also look in $cxxmachine/include for C++ system
12293 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12295 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12296 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12297 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12298 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12300 (USE_AS_WMEMCMP): New macro.
12302 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12303 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12304 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12305 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12307 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12308 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12309 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12310 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12311 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12312 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12313 (USE_AS_WMEMCMP): New macro.
12314 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12315 * sysdeps/string/test-memcmp.c: Update.
12316 Fix simple_wmemcmp.
12318 * wcsmbs/wmemcmp.c: Update.
12319 (WMEMCMP): New macro.
12322 2011-10-12 Andreas Jaeger <aj@suse.de>
12325 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12327 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12329 * libio/iofwide.c (do_length): Avoid warning.
12331 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12333 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12335 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12337 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12338 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12339 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12340 * sysdeps/i386/i686/fpu/e_log.S: New file.
12341 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12342 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12344 * ctype/ctype.h: Add support for inlined isXXX functions when
12345 compiling C++ code.
12347 2011-10-14 Andreas Schwab <schwab@redhat.com>
12349 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12351 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12353 2011-10-13 Roland McGrath <roland@hack.frob.com>
12356 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12358 2011-10-13 Andreas Schwab <schwab@redhat.com>
12360 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12361 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12364 * sysdeps/x86_64/memrchr.S: Check for zero size.
12366 * string/stratcliff.c: Add memrchr tests.
12368 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12371 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12372 rawmemchr-sse2 rawmemchr-sse2-bsf.
12373 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12374 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12375 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12376 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12377 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12378 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12379 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12380 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12381 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12382 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12383 * string/memrchr.c (MEMRCHR): New macro.
12385 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12387 Add integration with gcc's -ffinite-math-only and optimize wrapper
12389 * Versions.def: Define GLIBC_2.15 version for libm.
12390 * math/Makefile (headers): Add bits/math-finite.h.
12391 * math/bits/math-finite.h: New file.
12392 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12393 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12394 * math/e_acoshl.c: Add __*_finite alias.
12395 * math/e_acosl.c: Likewise.
12396 * math/e_asinl.c: Likewise.
12397 * math/e_atan2l.c: Likewise.
12398 * math/e_atanhl.c: Likewise.
12399 * math/e_coshl.c: Likewise.
12400 * math/e_exp10.c: Likewise.
12401 * math/e_exp10f.c: Likewise.
12402 * math/e_exp10l.c: Likewise.
12403 * math/e_exp2l.c: Likewise.
12404 * math/e_fmodl.c: Likewise.
12405 * math/e_gammal_r.c: Likewise.
12406 * math/e_hypotl.c: Likewise.
12407 * math/e_j0l.c: Likewise.
12408 * math/e_j1l.c: Likewise.
12409 * math/e_jnl.c: Likewise.
12410 * math/e_lgammal_r.c: Likewise.
12411 * math/e_log10l.c: Likewise.
12412 * math/e_log2l.c: Likewise.
12413 * math/e_logl.c: Likewise.
12414 * math/e_powl.c: Likewise.
12415 * math/e_sinhl.c: Likewise.
12416 * math/e_sqrtl.c: Likewise.
12417 * math/e_scalb.c: Completely rewritten and optimized.
12418 * math/e_scalbf.c: Likewise.
12419 * math/e_scalbl.c: Likewise.
12420 * math/w_acos.c: Likewise.
12421 * math/w_acosf.c: Likewise.
12422 * math/w_acosl.c: Likewise.
12423 * math/w_acosh.c: Likewise.
12424 * math/w_acoshf.c: Likewise.
12425 * math/w_acoshl.c: Likewise.
12426 * math/w_asin.c: Likewise.
12427 * math/w_asinf.c: Likewise.
12428 * math/w_asinl.c: Likewise.
12429 * math/w_atan2.c: Likewise.
12430 * math/w_atan2f.c: Likewise.
12431 * math/w_atan2l.c: Likewise.
12432 * math/w_atanh.c: Likewise.
12433 * math/w_atanhf.c: Likewise.
12434 * math/w_atanhl.c: Likewise.
12435 * math/w_exp10.c: Likewise.
12436 * math/w_exp10f.c: Likewise.
12437 * math/w_exp10l.c: Likewise.
12438 * math/w_fmod.c: Likewise.
12439 * math/w_fmodf.c: Likewise.
12440 * math/w_fmodl.c: Likewise.
12441 * math/w_j0.c: Likewise.
12442 * math/w_j0f.c: Likewise.
12443 * math/w_j0l.c: Likewise.
12444 * math/w_j1.c: Likewise.
12445 * math/w_j1f.c: Likewise.
12446 * math/w_j1l.c: Likewise.
12447 * math/w_jn.c: Likewise.
12448 * math/w_jnf.c: Likewise.
12449 * math/w_log.c: Likewise.
12450 * math/w_logf.c: Likewise.
12451 * math/w_logl.c: Likewise.
12452 * math/w_log10.c: Likewise.
12453 * math/w_log10f.c: Likewise.
12454 * math/w_log10l.c: Likewise.
12455 * math/w_log2.c: Likewise.
12456 * math/w_log2f.c: Likewise.
12457 * math/w_log2l.c: Likewise.
12458 * math/w_pow.c: Likewise.
12459 * math/w_powf.c: Likewise.
12460 * math/w_powl.c: Likewise.
12461 * math/w_remainder.c: Likewise.
12462 * math/w_remainderf.c: Likewise.
12463 * math/w_remainderl.c: Likewise.
12464 * math/w_scalb.c: Likewise.
12465 * math/w_scalbf.c: Likewise.
12466 * math/w_scalbl.c: Likewise.
12467 * math/w_sqrt.c: Likewise.
12468 * math/w_sqrtf.c: Likewise.
12469 * math/w_sqrtl.c: Likewise.
12470 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12471 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12473 * math/math_private.h: Declare __kernel_standard_f.
12474 * math/w_cosh.c: Remove cruft and optimize a bit.
12475 * math/w_coshf.c: Likewise.
12476 * math/w_coshl.c: Likewise.
12477 * math/w_exp2.c: Likewise.
12478 * math/w_exp2f.c: Likewise.
12479 * math/w_exp2l.c: Likewise.
12480 * math/w_hypot.c: Likewise.
12481 * math/w_hypotf.c: Likewise.
12482 * math/w_hypotl.c: Likewise.
12483 * math/w_lgamma.c: Likewise.
12484 * math/w_lgamma_r.c: Likewise.
12485 * math/w_lgammaf.c: Likewise.
12486 * math/w_lgammaf_r.c: Likewise.
12487 * math/w_lgammal.c: Likewise.
12488 * math/w_lgammal_r.c: Likewise.
12489 * math/w_sinh.c: Likewise.
12490 * math/w_sinhf.c: Likewise.
12491 * math/w_sinhl.c: Likewise.
12492 * math/w_tgamma.c: Likewise.
12493 * math/w_tgammaf.c: Likewise.
12494 * math/w_tgammal.c: Likewise.
12495 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12497 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12498 Minor optimizations. Pretty printing. Remove cruft.
12499 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12500 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12501 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12502 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12503 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12504 * sysdeps/i386/fpu/e_asin.S: Likewise.
12505 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12506 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12507 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12508 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12509 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12510 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12511 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12512 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12513 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12514 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12515 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12516 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12517 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12518 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12519 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12520 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12521 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12522 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12523 * sysdeps/i386/fpu/e_log.S: Likewise.
12524 * sysdeps/i386/fpu/e_log10.S: Likewise.
12525 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12526 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12527 * sysdeps/i386/fpu/e_log2.S: Likewise.
12528 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12529 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12530 * sysdeps/i386/fpu/e_logf.S: Likewise.
12531 * sysdeps/i386/fpu/e_logl.S: Likewise.
12532 * sysdeps/i386/fpu/e_pow.S: Likewise.
12533 * sysdeps/i386/fpu/e_powf.S: Likewise.
12534 * sysdeps/i386/fpu/e_powl.S: Likewise.
12535 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12536 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12537 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12538 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12539 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12540 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12541 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12542 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12543 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12544 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12545 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12547 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12548 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12549 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12550 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12551 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12553 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12554 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12555 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12557 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12558 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12560 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12561 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12562 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12564 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12565 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12566 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12567 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12568 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12569 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12570 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12571 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12572 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12573 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12574 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12575 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12577 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12578 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12579 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12580 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12581 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12582 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12583 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12584 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12585 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12609 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12614 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12615 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12616 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12617 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12618 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12619 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12622 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12623 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12625 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12626 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12627 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12628 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12629 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12630 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12632 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12634 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12635 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12636 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12637 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12638 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12639 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12640 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12641 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12642 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12643 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12644 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12645 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12646 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12647 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12648 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12649 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12650 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12651 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12652 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12653 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12654 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12655 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12656 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12657 (__isnanf): Likewise.
12658 (__isinf_ns): Likewise.
12659 (__isinf_nsf): Likewise.
12660 (__finite): Likewise.
12661 (__finitef): Likewise.
12662 (__ieee754_sqrt): Define as macro.
12663 (__ieee754_sqrtf): Define as macro.
12664 (__ieee754_sqrtl): Define as macro.
12665 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12667 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12668 __FINITE_MATH_ONLY__ consistent.
12669 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12671 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12673 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12676 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12678 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12680 * po/ja.po: Update from translation team.
12682 2011-10-08 Roland McGrath <roland@hack.frob.com>
12684 * locale/programs/locarchive.c (prepare_address_space): New function.
12685 (create_archive, enlarge_archive, open_archive): Use it.
12687 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12688 inside [SHARED], where it is used.
12690 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12692 * nss/getent.c (netgroup_keys): Remove unused variable.
12693 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12695 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12697 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12698 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12700 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12701 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12702 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12703 * math/Makefile (libm-calls): Add s_isinf_ns.
12704 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12705 * math/multc3.c: Likewise.
12706 * math/s_casin.c: Likewise.
12707 * math/s_casinf.c: Likewise.
12708 * math/s_casinl.c: Likewise.
12709 * math/s_ccos.c: Likewise.
12710 * math/s_ccosf.c: Likewise.
12711 * math/s_ccosl.c: Likewise.
12712 * math/s_ctan.c: Likewise.
12713 * math/s_ctanf.c: Likewise.
12714 * math/s_ctanh.c: Likewise.
12715 * math/s_ctanhf.c: Likewise.
12716 * math/s_ctanhl.c: Likewise.
12717 * math/s_ctanl.c: Likewise.
12718 * math/w_fmod.c: Likewise.
12719 * math/w_fmodf.c: Likewise.
12720 * math/w_fmodl.c: Likewise.
12721 * math/w_remainder.c: Likewise.
12722 * math/w_remainderf.c: Likewise.
12723 * math/w_remainderl.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12725 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12726 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12728 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12729 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12730 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12731 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12733 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12735 * stdio-common/printf_fphex.c: Likewise.
12736 * stdio-common/printf_size.c: Likewise.
12738 * math/e_exp10.c: Include math_private.h using <...> not "...".
12739 * math/e_exp10f.c: Likewise.
12740 * math/e_exp10l.c: Likewise.
12741 * math/e_exp2l.c: Likewise.
12742 * math/e_j0l.c: Likewise.
12743 * math/e_j1l.c: Likewise.
12744 * math/e_jnl.c: Likewise.
12745 * math/e_lgammal_r.c: Likewise.
12746 * math/e_rem_pio2l.c: Likewise.
12747 * math/e_scalb.c: Likewise.
12748 * math/e_scalbf.c: Likewise.
12749 * math/e_scalbl.c: Likewise.
12750 * math/k_cosl.c: Likewise.
12751 * math/k_sinl.c: Likewise.
12752 * math/k_tanl.c: Likewise.
12753 * math/s_cacoshf.c: Likewise.
12754 * math/s_catan.c: Likewise.
12755 * math/s_catanf.c: Likewise.
12756 * math/s_catanh.c: Likewise.
12757 * math/s_catanhf.c: Likewise.
12758 * math/s_catanhl.c: Likewise.
12759 * math/s_catanl.c: Likewise.
12760 * math/s_ccosh.c: Likewise.
12761 * math/s_ccoshf.c: Likewise.
12762 * math/s_ccoshl.c: Likewise.
12763 * math/s_cexp.c: Likewise.
12764 * math/s_cexpf.c: Likewise.
12765 * math/s_cexpl.c: Likewise.
12766 * math/s_clog.c: Likewise.
12767 * math/s_clog10.c: Likewise.
12768 * math/s_clog10f.c: Likewise.
12769 * math/s_clog10l.c: Likewise.
12770 * math/s_clogf.c: Likewise.
12771 * math/s_clogl.c: Likewise.
12772 * math/s_csin.c: Likewise.
12773 * math/s_csinf.c: Likewise.
12774 * math/s_csinh.c: Likewise.
12775 * math/s_csinhf.c: Likewise.
12776 * math/s_csinhl.c: Likewise.
12777 * math/s_csinl.c: Likewise.
12778 * math/s_csqrt.c: Likewise.
12779 * math/s_csqrtf.c: Likewise.
12780 * math/s_csqrtl.c: Likewise.
12781 * math/s_ctan.c: Likewise.
12782 * math/s_ctanf.c: Likewise.
12783 * math/s_ctanh.c: Likewise.
12784 * math/s_ctanhf.c: Likewise.
12785 * math/s_ctanhl.c: Likewise.
12786 * math/s_ctanl.c: Likewise.
12787 * math/s_ldexp.c: Likewise.
12788 * math/s_ldexpf.c: Likewise.
12789 * math/s_ldexpl.c: Likewise.
12790 * math/s_significand.c: Likewise.
12791 * math/s_significandf.c: Likewise.
12792 * math/s_significandl.c: Likewise.
12793 * math/w_acos.c: Likewise.
12794 * math/w_acosf.c: Likewise.
12795 * math/w_acosh.c: Likewise.
12796 * math/w_acoshf.c: Likewise.
12797 * math/w_acoshl.c: Likewise.
12798 * math/w_acosl.c: Likewise.
12799 * math/w_asin.c: Likewise.
12800 * math/w_asinf.c: Likewise.
12801 * math/w_asinl.c: Likewise.
12802 * math/w_atan2.c: Likewise.
12803 * math/w_atan2f.c: Likewise.
12804 * math/w_atan2l.c: Likewise.
12805 * math/w_atanh.c: Likewise.
12806 * math/w_atanhf.c: Likewise.
12807 * math/w_atanhl.c: Likewise.
12808 * math/w_cosh.c: Likewise.
12809 * math/w_coshf.c: Likewise.
12810 * math/w_coshl.c: Likewise.
12811 * math/w_dremf.c: Likewise.
12812 * math/w_exp10.c: Likewise.
12813 * math/w_exp10f.c: Likewise.
12814 * math/w_exp10l.c: Likewise.
12815 * math/w_exp2.c: Likewise.
12816 * math/w_exp2f.c: Likewise.
12817 * math/w_fmod.c: Likewise.
12818 * math/w_fmodf.c: Likewise.
12819 * math/w_fmodl.c: Likewise.
12820 * math/w_hypot.c: Likewise.
12821 * math/w_hypotf.c: Likewise.
12822 * math/w_hypotl.c: Likewise.
12823 * math/w_j0.c: Likewise.
12824 * math/w_j0f.c: Likewise.
12825 * math/w_j0l.c: Likewise.
12826 * math/w_j1.c: Likewise.
12827 * math/w_j1f.c: Likewise.
12828 * math/w_j1l.c: Likewise.
12829 * math/w_jn.c: Likewise.
12830 * math/w_jnf.c: Likewise.
12831 * math/w_jnl.c: Likewise.
12832 * math/w_lgamma.c: Likewise.
12833 * math/w_lgamma_r.c: Likewise.
12834 * math/w_lgammaf.c: Likewise.
12835 * math/w_lgammaf_r.c: Likewise.
12836 * math/w_lgammal.c: Likewise.
12837 * math/w_lgammal_r.c: Likewise.
12838 * math/w_log.c: Likewise.
12839 * math/w_log10.c: Likewise.
12840 * math/w_log10f.c: Likewise.
12841 * math/w_log10l.c: Likewise.
12842 * math/w_log2.c: Likewise.
12843 * math/w_log2f.c: Likewise.
12844 * math/w_log2l.c: Likewise.
12845 * math/w_logf.c: Likewise.
12846 * math/w_logl.c: Likewise.
12847 * math/w_pow.c: Likewise.
12848 * math/w_powf.c: Likewise.
12849 * math/w_powl.c: Likewise.
12850 * math/w_remainder.c: Likewise.
12851 * math/w_remainderf.c: Likewise.
12852 * math/w_remainderl.c: Likewise.
12853 * math/w_scalb.c: Likewise.
12854 * math/w_scalbf.c: Likewise.
12855 * math/w_scalbl.c: Likewise.
12856 * math/w_sinh.c: Likewise.
12857 * math/w_sinhf.c: Likewise.
12858 * math/w_sinhl.c: Likewise.
12859 * math/w_sqrt.c: Likewise.
12860 * math/w_sqrtf.c: Likewise.
12861 * math/w_sqrtl.c: Likewise.
12862 * math/w_tgamma.c: Likewise.
12863 * math/w_tgammaf.c: Likewise.
12864 * math/w_tgammal.c: Likewise.
12866 * po/ja.po: Update from translation team.
12868 2011-09-29 Andreas Jaeger <aj@suse.de>
12871 * sunrpc/netname.c (netname2host): Fix logic.
12875 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12877 * math/w_remainder.c (__remainder): Likewise.
12878 * math/w_remainderf.c (__remainderf): Likewise.
12879 * math/libm-test.inc (remainder_test): Add test cases.
12881 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12883 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12886 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12888 * string/test-memcmp.c: Avoid unncessary #defines.
12889 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12891 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12893 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12894 Use new sse2 version for core i3 - i7 as it's faster
12895 than sse42 version.
12896 (bit_Prefer_PMINUB_for_stringop): New.
12897 * sysdeps/x86_64/rawmemchr.S: Update.
12898 Replace with faster SSE2 version.
12899 * sysdeps/x86_64/memrchr.S: New file.
12900 * sysdeps/x86_64/memchr.S: Update.
12901 Replace with faster SSE2 version.
12903 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12905 * elf/dl-load.c (lose): Add cast to avoid warning.
12907 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12909 * po/ca.po: Update from translation team.
12911 * inet/getnetgrent_r.c: Hook up nscd.
12912 * nscd/Makefile (routines): Add nscd_netgroup.
12913 (nscd-modules): Add netgroupcache.
12914 (CFLAGS-netgroupcache.c): Define.
12915 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12916 (cache_search): Add const to second parameter.
12917 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12919 (dbs): Add netgrdb entry.
12920 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12921 (verify_persistent_db): Handle netgrdb.
12922 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12923 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12925 (netgroup_response_header): Define.
12926 (innetgroup_response_header): Define.
12927 (datahead): Add netgroup_response_header and innetgroup_response_header
12929 * nscd/nscd.conf: Add entries for netgroup cache.
12930 * nscd/nscd.h (dbtype): Add netgrdb.
12931 (_PATH_NSCD_NETGROUP_DB): Define.
12932 (netgroup_iov_disabled): Declare.
12933 (xmalloc, xcalloc, xrealloc): Move declarations here.
12934 (cache_search): Adjust prototype.
12935 Add netgroup-related prototypes.
12936 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12937 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12938 (__nscd_innetgr): Declare.
12939 * nscd/selinux.c (perms): Use access_vector_t as element type and
12940 add netgroup-related initializers.
12941 * nscd/netgroupcache.c: New file.
12942 * nscd/nscd_netgroup.c: New file.
12943 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12944 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12945 For four parameters use innetgr.
12946 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12947 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12948 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12949 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12951 * nscd/connections.c (register_traced_file): Don't register file
12952 for disabled databases.
12954 2011-10-06 Ulrich Drepper <drepper@gmail.com>
12956 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12958 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12959 from tree and freeing node.
12961 2011-09-25 Jiri Olsa <jolsa@redhat.com>
12963 * nss/nsswitch.c (__nss_database_lookup): Handle
12964 nss_parse_service_list out of memory case.
12966 2011-09-15 Jiri Olsa <jolsa@redhat.com>
12968 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12969 out of memory case.
12971 2011-10-04 Andreas Schwab <schwab@redhat.com>
12973 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12974 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12976 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12977 elf_machine_rela, elf_machine_lazy_rel.
12978 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12979 (ELF_DYNAMIC_DO_REL): Likewise.
12980 (ELF_DYNAMIC_DO_RELA): Likewise.
12981 (ELF_DYNAMIC_RELOCATE): Likewise.
12982 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12983 to ELF_DYNAMIC_DO_REL.
12984 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12985 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12986 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12988 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12989 skip_ifunc, don't call ifunc function if non-zero.
12990 (elf_machine_rela): Likewise.
12991 (elf_machine_lazy_rel): Likewise.
12992 (elf_machine_lazy_rela): Likewise.
12993 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12994 (elf_machine_lazy_rel): Likewise.
12995 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12997 (elf_machine_lazy_rel): Likewise.
12998 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13000 (elf_machine_lazy_rel): Likewise.
13001 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13002 (elf_machine_lazy_rel): Likewise.
13003 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13004 (elf_machine_lazy_rel): Likewise.
13005 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13006 (elf_machine_lazy_rel): Likewise.
13007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13008 (elf_machine_lazy_rel): Likewise.
13009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13010 (elf_machine_lazy_rel): Likewise.
13011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13012 (elf_machine_lazy_rel): Likewise.
13014 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13016 * nss/nss_files/files-init.c (_nss_files_init): Use static
13017 initialization for all the *_traced_file variables.
13019 2011-09-28 Andreas Schwab <schwab@redhat.com>
13021 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13023 2011-09-27 Roland McGrath <roland@hack.frob.com>
13026 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13028 2011-09-27 Andreas Schwab <schwab@redhat.com>
13030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13031 Reread the line before reparsing it.
13033 2011-09-26 Andreas Schwab <schwab@redhat.com>
13035 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13037 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13038 Maxim Kuvyrkov <maxim@codesourcery.com>
13039 Joseph Myers <joseph@codesourcery.com>
13041 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13042 if needed for __stack_chk_guard.
13044 2011-09-19 Roland McGrath <roland@hack.frob.com>
13046 * sysdeps/posix/spawni.c (script_execute): Always define it.
13047 It will be optimized away if unused.
13048 (maybe_script_execute): New function.
13049 (__spawni): Call it.
13051 * Makerules: Don't include tls.make.
13052 (config-tls): Always set to thread.
13053 * tls.make.c: File removed.
13055 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13057 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13058 * config.make.in (CPPFLAGS-config): New substituted variable.
13060 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13062 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13065 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13066 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13068 2011-09-15 Roland McGrath <roland@hack.frob.com>
13070 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13071 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13073 (CALL_FAIL): Likewise.
13074 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13075 (CALL_FAIL): Macro removed.
13076 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13078 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13080 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13081 for __FINITE_MATH_ONLY__ == 1.
13083 2011-09-15 Andreas Schwab <schwab@redhat.com>
13085 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13086 __ieee754_sqrt instead of sqrt.
13087 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13088 __ieee754_sqrtf instead of sqrtf.
13089 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13090 __floorf instead of floorf.
13091 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13092 __floorf, __truncf instead of floorf, truncf.
13094 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13096 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13098 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13099 __extern_always_inline.
13100 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13103 2011-09-14 Andreas Schwab <schwab@redhat.com>
13105 * elf/rtld.c (dl_main): Also relocate in dependency order when
13106 doing symbol dependency testing.
13108 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13110 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13111 Always define `refsym'.
13113 2011-09-13 Andreas Schwab <schwab@redhat.com>
13115 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13116 (__FD_ELT): Renamed from __FDELT.
13117 * misc/bits/select2.h (__FD_ELT): Likewise.
13118 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13119 __FD_MASK instead of __FDELT, __FDMASK.
13120 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13122 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13125 * elf/Makefile (gen-ldd): Fix pattern.
13127 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13128 (init_tls): Likewise.
13130 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13134 2011-09-12 Andreas Schwab <schwab@redhat.com>
13136 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13137 `struct cmsghdr *' instead of `void *'.
13138 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13141 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13143 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13145 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13146 ldd_rewrite_script.
13148 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13150 * configure.in: Remove --with-tls option.
13151 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13152 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13153 out in case it is missing.
13154 * sysdeps/ia64/elf/configure.in: Likewise.
13155 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13156 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13157 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13158 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13159 * sysdeps/sh/elf/configure.in: Likewise.
13160 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13161 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13162 * sysdeps/x86_64/elf/configure.in: Likewise.
13163 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13164 * sysdeps/mach/hurd/tls.h: Likewise.
13167 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13170 * configure.in: Fix use of AC_INIT.
13172 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13174 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13176 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13178 * malloc/hooks.c: Likewise.
13181 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13182 variables statically.
13183 (narenas): Initialize.
13184 (list_lock): Initialize.
13185 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13186 initializtion of main_arena and list_lock. Small cleanups.
13187 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13188 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13189 Add initializers to main_arena and mp_.
13190 (malloc_state): Remove pagesize member. Change all users to use
13193 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13194 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13195 is always initialized.
13197 * malloc/malloc.c: Removed unused configurations and dead code.
13198 * malloc/arena.c: Likewise.
13199 * malloc/hooks.c: Likewise.
13200 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13202 * include/tls.h: Removed. USE___THREAD must always be defined.
13203 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13204 * elf/dl-libc.c: Likewise.
13205 * elf/dl-tsd.c: Likewise.
13206 * include/errno.h: Likewise.
13207 * include/netdb.h: Likewise.
13208 * include/resolv.h: Likewise.
13209 * inet/herrno-loc.c: Likewise.
13210 * inet/herrno.c: Likewise.
13211 * malloc/arena.c: Likewise.
13212 * malloc/hooks.c: Likewise.
13213 * malloc/malloc.c: Likewise.
13214 * resolv/res-state.c: Likewise.
13215 * resolv/res_libc.c: Likewise.
13216 * sysdeps/i386/dl-machine.h: Likewise.
13217 * sysdeps/ia64/dl-machine.h: Likewise.
13218 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13219 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13220 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13221 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13222 * sysdeps/sh/dl-machine.h: Likewise.
13223 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13224 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13225 * sysdeps/unix/i386/sysdep.S: Likewise.
13226 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13227 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13228 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13230 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13232 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13236 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13237 * sysdeps/x86_64/dl-machine.h: Likewise.
13238 * tls.make.c: Likewise.
13240 * configure.in: Remove --with-__thread option. Make tests for
13241 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13242 tls_model attribute fail if no support is available. Remove
13244 * Makeconfig: Adjust for dropped configure option. All features are
13246 * Makerules: Likewise.
13247 * Versions.def: Likewise.
13248 * argp/argp-fmtstream.c: Likewise.
13249 * argp/argp-fmtstream.h: Likewise.
13250 * argp/argp-help.c: Likewise.
13251 * assert/assert.c: Likewise.
13252 * config.h.in: Likewise.
13253 * config.make.in: Likewise.
13254 * configure: Likewise.
13255 * configure.in: Likewise.
13256 * csu/Versions: Likewise.
13257 * csu/init.c: Likewise.
13258 * elf/tst-audit2.c: Likewise.
13259 * elf/tst-tls10.c: Likewise.
13260 * elf/tst-tls10.h: Likewise.
13261 * elf/tst-tls11.c: Likewise.
13262 * elf/tst-tls12.c: Likewise.
13263 * elf/tst-tls14.c: Likewise.
13264 * elf/tst-tlsmod11.c: Likewise.
13265 * elf/tst-tlsmod12.c: Likewise.
13266 * elf/tst-tlsmod13.c: Likewise.
13267 * elf/tst-tlsmod13a.c: Likewise.
13268 * elf/tst-tlsmod14a.c: Likewise.
13269 * elf/tst-tlsmod15b.c: Likewise.
13270 * elf/tst-tlsmod16a.c: Likewise.
13271 * elf/tst-tlsmod16b.c: Likewise.
13272 * elf/tst-tlsmod7.c: Likewise.
13273 * elf/tst-tlsmod8.c: Likewise.
13274 * elf/tst-tlsmod9.c: Likewise.
13275 * gmon/gmon.c: Likewise.
13276 * grp/fgetgrent_r.c: Likewise.
13277 * grp/putgrent.c: Likewise.
13278 * hurd/fopenport.c: Likewise.
13279 * include/libc-symbols.h: Likewise.
13280 * include/tls.h: Likewise.
13281 * intl/gettextP.h: Likewise.
13282 * intl/loadinfo.h: Likewise.
13283 * locale/global-locale.c: Likewise.
13284 * locale/localeinfo.h: Likewise.
13285 * mach/devstream.c: Likewise.
13286 * malloc/arena.c: Likewise.
13287 * malloc/set-freeres.c: Likewise.
13288 * misc/err.c: Likewise.
13289 * misc/getttyent.c: Likewise.
13290 * misc/mntent_r.c: Likewise.
13291 * posix/getopt.c: Likewise.
13292 * posix/wordexp.c: Likewise.
13293 * pwd/fgetpwent_r.c: Likewise.
13294 * resolv/Versions: Likewise.
13295 * resolv/res_hconf.c: Likewise.
13296 * shadow/fgetspent_r.c: Likewise.
13297 * shadow/putspent.c: Likewise.
13298 * stdio-common/printf_fphex.c: Likewise.
13299 * stdio-common/tmpfile.c: Likewise.
13300 * stdlib/abort.c: Likewise.
13301 * stdlib/fmtmsg.c: Likewise.
13302 * sunrpc/auth_unix.c: Likewise.
13303 * sunrpc/clnt_perr.c: Likewise.
13304 * sunrpc/clnt_tcp.c: Likewise.
13305 * sunrpc/clnt_udp.c: Likewise.
13306 * sunrpc/clnt_unix.c: Likewise.
13307 * sunrpc/openchild.c: Likewise.
13308 * sunrpc/svc_simple.c: Likewise.
13309 * sunrpc/svc_tcp.c: Likewise.
13310 * sunrpc/svc_udp.c: Likewise.
13311 * sunrpc/svc_unix.c: Likewise.
13312 * sunrpc/xdr.c: Likewise.
13313 * sunrpc/xdr_array.c: Likewise.
13314 * sunrpc/xdr_rec.c: Likewise.
13315 * sunrpc/xdr_ref.c: Likewise.
13316 * sunrpc/xdr_stdio.c: Likewise.
13318 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13320 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13322 2011-07-03 Andreas Jaeger <aj@suse.de>
13324 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13325 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13326 regenerate with gen-libm-tests.pl.
13328 2010-05-12 Petr Baudis <pasky@suse.cz>
13331 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13332 around j0() zero points by switching to j1().
13333 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13338 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13340 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13342 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13344 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13345 Patch in part by Pavel Roskin <proski@gnu.org>.
13348 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13350 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13351 Free memory block if necessary.
13354 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13355 be NULL. Don't lock in this case.
13357 2011-09-09 Roland McGrath <roland@hack.frob.com>
13359 * elf/elf.h (ELFOSABI_GNU): New macro.
13360 (ELFOSABI_LINUX): Define to that.
13362 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13364 * string/strncat.c (strncat): Undef the symbol in case it has been
13365 defined in bits/string.h.
13367 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13369 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13371 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13374 2011-08-17 Andreas Jaeger <aj@suse.de>
13376 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13378 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13379 Ian Lance Taylor <iant@google.com>
13381 * math/libm-test.inc (lround_test): New testcase.
13382 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13384 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13386 * Makefile: Remove support for automatic cvs check-ins.
13387 * Makerules: Likewise.
13388 * config.make.in: Likewise.
13389 * configure.in: Likewise.
13390 * intl/Makefile: Likewise.
13391 * locale/Makefile: Likewise.
13392 * po/Makefile: Likewise.
13393 * posix/Makefile: Likewise.
13394 * sysdeps/gnu/Makefile: Likewise.
13395 * sysdeps/mach/hurd/Makefile: Likewise.
13396 * sysdeps/sparc/sparc32/Makefile: Likewise.
13399 * posix/Makefile (bug-regex32-ENV): Define.
13400 Patch by John Stanley <jpsinthemix@verizon.net>.
13402 * misc/Makefile (headers): Add bits/select2.h.
13403 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13404 * misc/bits/select2.h: New file.
13405 * include/bits/select2.h: New file.
13406 * debug/Makefile (routines): Add fdelt_chk.
13407 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13408 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13410 * debug/fdelt_chk.c: New file.
13412 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13413 * wcsmbs/test-wmemcmp.c: Likewise.
13414 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13415 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13417 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13419 * string/Makefile (strop-tests): Add memcmp.
13420 * string/test-wmemcmp.c: New file.
13421 * string/test-memcmp.c: Add wmemcmp support.
13423 2011-09-08 Roland McGrath <roland@hack.frob.com>
13426 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13429 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13430 garbage value in a __mach_port_mod_refs call in the cases of the
13431 task-self and thread-self ports.
13433 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13435 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13437 2011-09-08 Andreas Schwab <schwab@redhat.com>
13439 * elf/dl-load.c (lose): Check for non-null L.
13441 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13443 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13445 * elf/dl-libc.c (dlerror_run): Pass back error code from
13449 * elf/dl-load.c (lose): Free l_origin if it is valid.
13451 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13453 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13455 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13457 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13458 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13460 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13462 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13463 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13464 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13465 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13466 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13467 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13468 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13469 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13470 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13471 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13473 2011-08-15 Alan Modra <amodra@gmail.com>
13476 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13477 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13478 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13479 ppc_mcount to static-only-routines.
13480 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13482 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13483 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13485 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13487 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13488 for finite and infinity parameters.
13490 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13493 and add nop instructions for throughput optimization.
13494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13496 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13498 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13499 aligned copy for power7 with vector-scalar instructions.
13500 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13502 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13507 2011-09-07 Andreas Schwab <schwab@redhat.com>
13510 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13513 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13515 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13516 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13517 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13518 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13521 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13523 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13524 Forgot to demangle the pointer.
13526 * sysdeps/i386/sysdep.h: Define atom_text_section.
13527 * sysdeps/x86_64/sysdep.h: Likewise.
13528 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13529 section with atom_text_section.
13530 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13531 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13532 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13534 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13536 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13537 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13538 already be defined. Change to take two parameters and don't assign
13539 result to variable. Adjust all users.
13540 Define INTERNAL_GETTIME if not already defined.
13541 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13544 HAVE_CLOCK_GETTIME_VSYSCALL.
13545 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13547 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13548 gettimeofday vsyscall, just use time.
13550 2011-09-06 Andreas Schwab <schwab@redhat.com>
13552 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13555 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13557 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13561 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13562 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13563 syscall if possible.
13565 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13567 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13568 e_ident. Don't pass to find_mapsXX.
13569 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13571 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13574 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13575 * sysdeps/x86_64/multiarch/strchr.S: Update.
13576 Check bit_slow_BSF bit.
13577 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13578 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13579 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13581 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13584 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13586 (tryshell): Define.
13587 (__spawni): Change last parameter to be flag. Test
13588 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13589 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13590 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13591 * posix/spawni.c: Likewise.
13592 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13593 * posix/spawnp.c: Likewise. Change normal version to use
13594 SPAWN_XFLAGS_USE_PATH.
13595 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13596 SPAWN_XFLAGS_TRY_SHELL.
13599 * posix/glob.h: Remove gcc 1.x support.
13602 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13604 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13607 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13609 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13610 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13611 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13612 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13613 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13616 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13618 * sysdeps/x86_64/wcscmp.S: New file.
13620 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13621 wcscmp-c wcscmp-sse2
13622 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13623 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13624 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13625 * wcsmbs/wcscmp.c: Allow renaming.
13627 2011-09-05 David S. Miller <davem@davemloft.net>
13629 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13630 stack slot, rather than the struct return pointer slot.
13631 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13632 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13634 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13636 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13638 * po/ja.po: Update from translation team.
13641 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13642 kernel in 64-bit binaries.
13644 2011-09-01 David S. Miller <davem@davemloft.net>
13646 * elf/elf.h (HWCAP_SPARC_*): Move to..
13647 * sysdeps/sparc/sysdep.h: this new file and add new values.
13648 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13649 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13650 _DL_HWCAP_COUNT to 24.
13651 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13653 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13654 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13655 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13657 instead of magic constants.
13658 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13660 2011-08-31 David S. Miller <davem@davemloft.net>
13662 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13664 Reimplement to do errno handling inline.
13665 (SYSCALL_ERROR_HANDLER): New macro.
13666 (__SYSCALL_STRING): Do not do errno handling in asm.
13667 (__CLONE_SYSCALL_STRING): Delete.
13668 (__INTERNAL_SYSCALL_STRING): Delete.
13669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13670 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13671 (PSEUDO): Reimplement to do errno handling inline.
13672 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13673 (SYSCALL_ERROR_HANDLER): New macro.
13674 (__SYSCALL_STRING): Do not do errno handling in asm.
13675 (__CLONE_SYSCALL_STRING): Delete.
13676 (__INTERNAL_SYSCALL_STRING): Delete.
13677 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13678 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13680 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13681 (inline_syscall*): Add 'err' argument.
13682 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13683 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13684 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13685 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13687 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13688 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13690 2011-08-30 Andreas Schwab <schwab@redhat.com>
13692 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13694 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13696 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13699 2011-08-24 David S. Miller <davem@davemloft.net>
13701 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13703 2011-08-24 Andreas Schwab <schwab@redhat.com>
13705 * elf/Makefile: Add rules to build and run unload8 test.
13706 * elf/unload8.c: New file.
13707 * elf/unload8mod1.c: New file.
13708 * elf/unload8mod1x.c: New file.
13709 * elf/unload8mod2.c: New file.
13710 * elf/unload8mod3.c: New file.
13712 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13715 2011-08-23 David S. Miller <davem@davemloft.net>
13717 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13718 subtract stack bias.
13719 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13720 %sp not %fp in calculations.
13721 (_JMPBUF_UNWINDS_ADJ): Likewise.
13723 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13724 (aio_suspend): Call it to force an exception region around the
13725 AIO_MISC_WAIT() invocation.
13727 2011-08-23 Andreas Schwab <schwab@redhat.com>
13729 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13732 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13734 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13736 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13737 and <dl-machine.h>.
13738 (Elf64_FuncDesc): Remove.
13740 2011-08-22 David S. Miller <davem@davemloft.net>
13742 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13743 sigaltstack check, add missing cfi directives.
13744 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13745 missing cfi directives, and sigaltstack handling.
13747 2011-08-16 Andreas Schwab <schwab@redhat.com>
13750 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13751 object is seen twice.
13752 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13754 * elf/Makefile (distribute): Add tst-initorder2.c.
13755 (tests): Add tst-initorder2.
13756 (modules-names): Add tst-initorder2a tst-initorder2b
13757 tst-initorder2c tst-initorder2d. Add rules to build them.
13758 ($(objpfx)tst-initorder2.out): New rule.
13759 * elf/tst-initorder2.c: New file.
13760 * elf/tst-initorder2.exp: New file.
13762 2011-08-22 Andreas Schwab <schwab@redhat.com>
13764 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13766 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13767 dependencies back to end of function.
13769 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13770 $(elfobjdir)/ld.so.
13772 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13775 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13777 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13778 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13779 of __vdso_gettimeofday.
13780 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13781 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13783 (_libc_vdso_platform_setup): Remove initialization of
13784 __vdso_gettimeofday and __vdso_time.
13786 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13788 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13789 and fgetc_unlocked.
13790 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13793 * elf/dl-open.c (add_to_global): Report additions to the global scope
13794 for LD_DEBUG=scopes.
13795 (dl_open_worker): Also print scope of newly loaded dependencies.
13796 (_dl_show_scope): Indicate if there is no scope.
13799 * stdio-common/Makefile (tests): Add bug24.
13800 * stdio-common/bug24.c: New file.
13802 2011-08-19 Andreas Jaeger <aj@suse.de>
13805 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13806 non-existant file when using close-on-exec mode.
13808 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13811 the very first instruction.
13813 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13814 the CFI state in the end.
13815 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13816 inclusion of dl-trampoline.h.
13817 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13819 2011-08-19 Andreas Schwab <schwab@redhat.com>
13821 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13822 expectations for long double.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13825 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13827 2011-08-14 David S. Miller <davem@davemloft.net>
13829 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13830 artificual limit depends upon the system page size.
13832 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13834 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13835 * resolv/Makefile: Define CFLAGS-libresolv.
13837 2011-08-17 Andreas Schwab <schwab@redhat.com>
13839 * nss/makedb.c (compute_tables): Make variables used in nested
13842 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13844 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13845 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13846 if buffer was too small.
13848 * elf/pldd.c (main): Attach to all threads in the process.
13849 Rewrite /proc handling to use *at functions.
13851 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13853 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13854 specifies first scope to show.
13855 (dl_open_worker): Update callers. Move printing scope of new
13856 object to before the relocation.
13857 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13858 * sysdeps/generic/ldsodefs.h: Update declaration.
13860 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13861 string for the scope number.
13863 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13865 * nscd/servicescache.c (cache_addserv): Make sure written is always
13868 2011-08-14 Roland McGrath <roland@hack.frob.com>
13870 * sysdeps/i386/i486/bits/atomic.h
13871 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13872 statement expression, so as to suppress "set but not used" warning.
13873 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13875 * string/strncat.c (STRNCAT): Use prototype definition.
13877 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13878 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13880 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13881 (localedef-modules): Add localedef.
13882 (locale-modules): Add locale.
13884 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13885 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13886 to avoid a warning.
13888 2011-08-14 David S. Miller <davem@davemloft.net>
13890 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13891 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13893 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13895 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13896 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13897 * elf/rtld.c (dl_main): Set l_name of vDSO.
13898 Call _dl_show_scope when DL_DEBUG_SCOPES.
13899 (process_dl_debug): Recognize scopes flag and also set it for all.
13900 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13901 Declare _dl_show_scope.
13903 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13904 (do_dlopen): Pass caller_dlopen to dl_open.
13905 (__libc_dlopen_mode): Initialize caller_dlopen.
13907 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13908 of libc. Make tolower call locale-independent. Optimize a bit by
13909 using isdigit instead of isalnum.
13910 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13912 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13914 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13915 was a dependency or dynamically loaded.
13917 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13919 * intl/l10nflist.c: Allow architecture-specific pop function.
13920 * sysdeps/x86_64/l10nflist.c: New file.
13922 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13925 2011-08-10 Andreas Schwab <schwab@redhat.com>
13927 * include/dirent.h: Add libc_hidden_proto for scandirat and
13928 scandirat64. Don't declare __scandirat64.
13929 * dirent/scandirat.c: Add libc_hidden_def.
13930 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13931 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13933 2011-08-10 David S. Miller <davem@davemloft.net>
13935 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13937 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13938 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13939 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13941 2011-08-09 Ulrich Drepper <drepper@gmail.com>
13943 * Versions.def [libc]: Add GLIBC_2.15.
13944 * dirent/Makefile (routines): Add scandirat and scandirat64.
13945 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13947 * dirent/dirent.h: Declare scandirat and scandirat64.
13948 * dirent/scandirat.c: New file.
13949 * dirent/scandirat64.c: New file.
13950 * sysdeps/wordsize-64/scandirat.c: New file.
13951 * sysdeps/wordsize-64/scandirat64.c: New file.
13952 * dirent/opendir.c: Define opendirat.
13953 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13955 * dirent/scandir64.c: Adjust for scandir.c change.
13956 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13957 __scandirat64, and __scandir_cancel_handler.
13958 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13959 additional parameter and use openat instead of open (outside of ld.so).
13960 Add new __opendir as wrapper around __opendirat.
13961 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13962 here without requiring old scandirat implementation.
13964 2011-08-08 Ulrich Drepper <drepper@gmail.com>
13966 * dirent/scandir.c (cancel_handler): Renamed to
13967 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13968 defined. Adjust users.
13969 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13970 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13972 2011-08-04 Ulrich Drepper <drepper@gmail.com>
13974 * string/test-string.h (IMPL): Use __STRING to expand name and then
13977 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13980 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13982 * string/Makefile: Update.
13983 (strop-tests): Append strncat.
13984 * string/test-wcscmp.c: New file.
13985 New comprehensive test for wcscmp.
13986 * string/test-strcmp.c: Update.
13987 (WIDE): New define.
13989 2011-07-22 Andreas Schwab <schwab@redhat.com>
13991 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13994 2011-07-26 Andreas Schwab <schwab@redhat.com>
13996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13997 encoding to ACE if AI_IDN.
13999 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14001 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14002 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14004 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14007 Fix overflow bug in strncat.
14008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14010 * string/test-strncat.c: Update.
14011 Add new tests for checking overflow bugs.
14013 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14016 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14017 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14018 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14020 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14021 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14022 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14023 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14026 (USE_AS_STRCAT): Define.
14027 Add strcat and strncat support.
14028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14030 2011-07-25 Andreas Schwab <schwab@redhat.com>
14032 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14033 __n bigger than INT_MAX+1.
14034 (__strncmp_g): Likewise.
14036 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14038 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14039 * libio/stido.h: Likewise.
14041 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14046 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14047 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14048 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14049 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14050 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14053 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14058 (_dl_x86_64_save_sse): Likewise.
14060 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14064 (_dl_x86_64_save_sse): Likewise.
14066 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14068 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14070 2011-07-21 Andreas Schwab <schwab@redhat.com>
14072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14074 (_dl_x86_64_save_sse): Use correct AVX check.
14076 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14078 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14079 bug in strncpy/strncat.
14080 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14082 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14084 * string/tester.c (test_strcat): Add tests for different alignments
14085 of source and destination.
14086 (test_strncat): Likewise.
14088 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14091 * posix/glob.c (glob): Check passed in values before using them in
14092 expressions to avoid some overflows.
14093 (glob_in_dir): Likewise.
14096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14097 check for AVX enablement so that we don't crash with old kernels and
14099 * elf/tst-audit4.c: Add same checks here.
14100 * elf/tst-audit6.c: Likewise.
14102 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14104 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14106 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14108 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14110 * po/cs.po: Update from translation team.
14111 * po/bg.po: Likewise.
14113 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14115 * misc/sys/cdefs.h: Add support for const attribute.
14116 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14117 to gnu_dev_{major,minor,makedev} functions.
14119 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14121 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14123 2011-07-20 Andreas Schwab <schwab@redhat.com>
14125 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14128 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14131 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14132 register in order to avoid conflicts with the soft frame pointer
14133 being held in r11 when necessary.
14134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14135 (INTERNAL_VSYSCALL_NCS): Likewise.
14137 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14139 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14140 * elf/dl-fini.c (_dl_fini): Adjust caller.
14141 * elf/dl-close.c (_dl_close_worker): Likewise.
14142 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14144 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14146 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14147 "aux_cache->nlibs < 0".
14149 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14150 in the reload-count case.
14152 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14155 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14156 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14157 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14158 * sysdeps/x86_64/multiarch/strcat.S: New file.
14159 * sysdeps/x86_64/multiarch/strncat.S: New file.
14160 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14161 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14162 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14163 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14165 (USE_AS_STRCAT): Define.
14166 Add strcat and strncat support.
14167 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14168 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14169 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14170 * string/strncat.c: Update.
14171 (USE_AS_STRNCAT): Define.
14172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14173 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14175 * sysdeps/x86_64/multiarch/init-arch.h
14176 (bit_Prefer_PMINUB_for_stringop): New.
14177 (index_Prefer_PMINUB_for_stringop): Likewise.
14178 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14179 bit_Prefer_PMINUB_for_stringop.
14181 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14183 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14185 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14186 of casting of buffer.
14187 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14188 buffer32 and buffer64.
14189 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14190 writes instead of casting of buffer.
14191 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14193 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14196 2011-07-19 Andreas Schwab <schwab@redhat.com>
14198 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14200 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14202 * nscd/nscd.c (termination_handler): Don't do anything for a database
14203 if it has not yet been initialized.
14205 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14207 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14209 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14211 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14213 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14215 * po/nl.po: Update from translation team.
14216 * po/sv.po: Likewise.
14218 2011-07-16 Roland McGrath <roland@hack.frob.com>
14220 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14221 now disallowed by GCC.
14223 * configure.in (use-default-link): Default to yes if a test -shared
14224 link meets our qualifications.
14225 * configure: Regenerated.
14227 * config.make.in (output-format): New variable.
14228 * configure.in: Check for ld --print-output-format support.
14229 * configure: Regenerated.
14230 * Makerules ($(common-objpfx)format.lds)
14231 [$(output-format) != unknown]: Just use $(output-format),
14232 instead of the linker-script munging.
14234 2011-07-14 Roland McGrath <roland@hack.frob.com>
14236 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14237 of $(common-objpfx)shlib.lds.
14238 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14240 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14241 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14243 * configure.in (-z relro check): Adjust test code to add a large
14244 writable data section after it.
14245 * configure: Regenerated.
14247 2011-07-11 Roland McGrath <roland@hack.frob.com>
14249 * configure.in (-z relro check): Fix test code to make the variable
14251 * configure: Regenerated.
14253 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14255 * nscd/nscd.h (struct traced_file): Define.
14256 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14257 elements. Add traced_files.
14258 (inotify_fd): Declare.
14259 (register_traced_file): Declare.
14260 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14261 (inotify_fd): Export.
14262 (resolv_conf_descr): Remove.
14263 (nscd_init): Move inotify descriptor creation to main.
14264 Don't register files for notification here.
14265 (register_traced_file): New function.
14266 (invalidate_cache): Don't use reset_res to determine whether to call
14267 res_init, go through the list of registered files.
14268 (main_loop_poll): The inotify descriptors are now stored in the
14269 structures for the traced files.
14270 (main_loop_epoll): Likewise
14271 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14272 to __nss_disable_nscd.
14273 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14274 for a database anymore. Check the records for all the registered
14276 * nss/Makefile (libnss_files-routines): Add files-init.
14277 (libnss_db-routines): Add db-init.
14278 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14279 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14280 * nss/nss_db/db-init.c: New file.
14281 * nss/nss_files/files-init.c: New file.
14282 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14283 __nss_lookup_function.
14284 (__nss_lookup_function): Call nss_load_library.
14285 (nss_load_all_libraries): New function.
14286 (__nss_disable_nscd): Take parameter with callback function for files
14287 to register. Set is_nscd. Load all the DSOs for the NSS modules
14288 used for the cached services.
14289 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14290 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14291 options for features to all the files in nscd.
14293 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14295 2011-07-10 Roland McGrath <roland@hack.frob.com>
14297 * csu/elf-init.c (__libc_csu_init): Comment typo.
14299 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14301 * po/pl.po: Update from translation team.
14302 * po/ja.po: Likewise.
14303 * po/ru.po: Likewise.
14304 * po/ko.po: Likewise.
14305 * po/fr.po: Likewise.
14307 2011-07-09 Roland McGrath <roland@hack.frob.com>
14309 * configure.in (.ctors/.dtors header and trailer check):
14310 Use an empirical test on a built program.
14311 * configure: Regenerated.
14313 * configure.in (-z relro check): Use an empirical test on a built DSO.
14314 Detect, but do not require, on ia64.
14315 * configure: Regenerated.
14317 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14318 Update tests that use readelf to use $READELF instead.
14319 * configure: Regenerated.
14321 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14323 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14324 if the result is not used.
14326 2011-07-05 Andreas Jaeger <aj@suse.de>
14329 * stdlib/tst-strtod.c: Add testcase.
14331 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14333 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14334 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14335 The latter has a higher limit. Take additional parameter to pass to
14337 (__pathconf): Pass file to __statfs_link_max.
14338 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14340 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14344 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14345 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14348 (__statfs_filesize_max): Likewise.
14349 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14351 2011-07-05 Andreas Jaeger <aj@suse.de>
14353 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14355 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14357 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14359 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14362 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14364 * Makefile (strop-tests): Add strncat.
14365 * string/test-strncat.c: New file.
14367 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14369 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14371 2011-06-21 Andreas Jaeger <aj@suse.de>
14373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14374 Copy rule from iconvdata/Makefile.
14376 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14379 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14380 but no long options are defined, just return 'W'.
14382 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14385 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14387 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14389 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14391 (innetgr): Likewise.
14393 2011-07-05 Roland McGrath <roland@hack.frob.com>
14395 * config.make.in (install_root): Default to $(DESTDIR).
14397 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14401 2011-07-02 Roland McGrath <roland@hack.frob.com>
14403 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14405 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14406 containing directory rather than embedding absolute directory names.
14408 * scripts/check-local-headers.sh: Rewritten using awk.
14409 Match by word, not by line. Print error messages for matches.
14410 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14412 * Makerules [shlib-lds-flags empty]:
14413 ($(common-objpfx)libc_pic.opts): New target.
14414 ($(common-objpfx)libc_pic.os.clean): New target.
14415 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14417 * config.make.in (OBJCOPY): New variable.
14418 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14419 * configure: Regenerated.
14421 * config.make.in (use-default-link): New variable.
14422 * configure.in (use_default_link): Grok --with-default-link to set it.
14423 * configure: Regenerated.
14424 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14425 (shlib-lds, shlib-lds-flags): Define to empty.
14427 * Makerules (shlib-lds): New variable.
14428 (shlib-lds-flags): New variable.
14429 (build-shlib, build-moduile, build-module-asneeded): Use it.
14430 ($(common-objpfx)libc.so): Use $(shlib-lds).
14431 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14432 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14434 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14435 DT_FLAGS/DT_FLAGS_1 with zero flags.
14437 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14438 linker script munging.
14440 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14442 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14444 * crypt/sha512.c (sha512_process_block): Perform total addition using
14445 128-bit if possible.
14446 (__sha512_finish_ctx): Likewise.
14447 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14449 * crypt/sha256.c (SWAP64): Define.
14450 (sha256_process_block): Perform total addition using 64-bit if
14452 (__sha256_finish_ctx): Likewise.
14454 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14456 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14458 * nscd/hstcache.c (cache_addhst): Likewise.
14459 * nscd/grpcache.c (cache_addgr): Likewise.
14460 * nscd/aicache.c (addhstaiX): Likewise
14461 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14463 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14465 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14467 * nscd/hstcache.c (cache_addhst): Likewise.
14468 * nscd/grpcache.c (cache_addgr): Likewise.
14469 * nscd/aicache.c (addhstaiX): Likewise
14471 2011-07-01 Andreas Schwab <schwab@redhat.com>
14473 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14474 domain only when needed.
14476 2011-06-30 Andreas Schwab <schwab@redhat.com>
14478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14479 is always restored.
14481 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14483 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14484 are re-adding the entry.
14485 * nscd/servicescache.c (cache_addserv): Likewise.
14487 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14489 * sysdeps/generic/dl-irel.h: fix protection against multiple
14491 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14493 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14496 * malloc/memusage.sh: Fix quoting in message.
14497 * debug/xtrace.sh: Likewise.
14499 * configure.in: Remove support for --experimental-malloc option, make
14501 * config.make.in: Likewise.
14502 * malloc/Makefile: Likewise.
14504 2011-06-27 Andreas Schwab <schwab@redhat.com>
14506 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14507 two-byte characters.
14509 2011-06-27 Roland McGrath <roland@hack.frob.com>
14511 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14512 AC_CACHE_CHECK invocation.
14513 * configure: Regenerated.
14515 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14517 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14520 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14521 bit from old_res_options.
14523 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14525 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14526 value type for setfct.
14528 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14531 __gettimeofday instead of gettimeofday.
14533 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14535 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14537 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14539 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14544 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14547 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14548 strcpy-sse2-unaligned strncpy-sse2-unaligned
14549 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14550 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14551 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14552 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14553 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14556 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14557 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14558 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14559 (STRCPY): Support SSE2 and SSSE3 versions.
14561 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14564 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14565 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14566 kernels which artificially limit size of requests.
14568 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14571 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14572 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14573 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14574 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14575 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14576 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14577 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14580 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14581 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14582 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14583 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14584 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14586 Enable unaligned load optimization for Intel Core i3, i5 and i7
14588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14590 (index_Fast_Unaligned_Load): Define.
14591 (HAS_FAST_UNALIGNED_LOAD): Define.
14593 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14595 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14597 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14601 until it is clear that the information is realy needed.
14602 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14604 2011-06-22 Andreas Schwab <schwab@redhat.com>
14606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14608 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14611 /sys/devices/system/cpu/online if it is usable.
14613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14614 reading the information from the /proc filesystem to once a second.
14616 2011-06-21 Andreas Jaeger <aj@suse.de>
14618 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14619 NULL after inclusion of kernel headers.
14621 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14623 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14624 calls to internal_setent.
14627 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14628 addresses using gethostbyname4_r ignore IPv4 addresses.
14630 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14631 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14633 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14635 2011-06-20 David S. Miller <davem@davemloft.net>
14637 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14639 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14641 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14642 (elf_irel): Use it.
14643 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14644 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14645 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14646 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14647 * sysdeps/x86_64/dl-irel.h: Likewise.
14649 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14650 * elf/dl-sym.c: Likewise.
14652 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14654 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14655 need to dereference resplen2.
14657 2011-06-14 Andreas Schwab <schwab@redhat.com>
14659 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14661 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14663 * Makeconfig: Define vardbdir and inst_vardbdir.
14664 * nss/Makefile: Add rules to install db-Makefile.
14666 * nss/nss_db/db-XXX.c: Cleanup.
14668 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14669 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14671 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14672 * nss/makedb.c: Implement -g option to specify that value strings
14673 are generated and should not be added to table iterated over for
14675 * nss/nss_db/db-initgroups.c: New file.
14677 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14680 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14681 (internal_getgrouplist): Adjust to name change.
14682 Update use_initgroups_entry if this is not the first call.
14683 * nss/databases.def: Add initgroups entry.
14685 * nss/makedb.c (compute_tables): Check result of multiple hash table
14686 sizes to minimize maximum chain length.
14688 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14690 * Versions.def: Add entry for libnss_db.
14691 * shlib-versions: Likewise.
14692 * nss/Makefile: Add rules to build libnss_db.
14693 * nss/Versions: Add libnss_db information. Organize libnss_files
14695 * nss/db-Makefile: Add gshadow support. Change rules for the new
14696 makedb progra. Some minor improvements to generate smaller files.
14697 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14699 * nss/makedb.c: ...here.
14700 Improve database format to be smaller and require less memory at
14702 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14704 * nss/nss_db/db-netgrp.c: Likewise.
14705 * nss/nss_db/db-open.c: Likewise.
14706 * nss/nss_files/flies-XXX.x: Adjust comments.
14707 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14708 * nss/nss_files/files-grp.c: Likewise.
14709 * nss/nss_files/files-hosts.c: Likewise.
14710 * nss/nss_files/files-network.c: Likewise.
14711 * nss/nss_files/files-proto.c: Likewise.
14712 * nss/nss_files/files-pwd.c: Likewise.
14713 * nss/nss_files/files-rpc.c: Likewise.
14714 * nss/nss_files/files-service.c: Likewise.
14715 * nss/nss_files/files-sgrp.c: Likewise.
14716 * nss/nss_files/files-spwd.c: Likewise.
14717 * nss/nss_db/db-alias.c: Removed.
14718 * nss/nss_db/dummy-db.h: Removed.
14720 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14722 * nss/makedb.c: Rewritten to not use database library.
14723 * nss/Makefile: Update to build new makedb program.
14725 2011-06-14 Andreas Jaeger <aj@suse.de>
14727 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14728 memset declaration.
14730 2011-06-10 Andreas Schwab <schwab@redhat.com>
14732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14735 2011-06-10 Roland McGrath <roland@hack.frob.com>
14737 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14738 * elf/Makefile ($(objpfx)ld.so): Likewise.
14740 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14741 Don't list ld.so twice in dependencies.
14743 * posix/bug-regex31.c: Include <stdlib.h>.
14745 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14747 * nis/nss_compat/compat-spwd.c
14748 (getspent_next_nss_netgr): Remove unused variable.
14749 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14751 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14752 nonmembers" output to use the right array.
14754 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14756 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14758 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14759 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14760 * catgets/gencat.c (read_input_file): Likewise.
14761 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14763 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14764 variable definition inside #if's controlling its use.
14766 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14768 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14770 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14772 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14775 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14777 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14778 * configure: Regenerated.
14780 * Makerules: Revert last change.
14781 * elf/Makefile: Likewise.
14783 2011-06-09 Roland McGrath <roland@hack.frob.com>
14785 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14786 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14787 (reloc-link): Likewise.
14789 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14791 * elf/Makefile: Add rules to build pldd.
14792 * elf/pldd.c: New file.
14793 * elf/pldd-xx.c: New file.
14795 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14797 * version.h: Update for 2.15 development version.
14799 2011-06-07 David S. Miller <davem@davemloft.net>
14801 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14803 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14804 elf_machine_lazy_rel): Likewise.
14805 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14807 elf_machine_lazy_rel): Likewise.
14808 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14809 dl_hwcap via passed in argument.
14810 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14813 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14815 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14817 2011-06-06 Roland McGrath <roland@hack.frob.com>
14820 * manual/fdl-1.1.texi: New file, verbatim from:
14821 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14822 * manual/lgpl-2.1.texi: New file, verbatim from:
14823 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14824 * manual/Makefile (licenses): New variable, list those new file names.
14826 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14828 * manual/fdl.texi: File removed.
14829 * manual/lesser.texi: File removed.
14830 * manual/libc.texinfo (Copying, Documentation License):
14831 Use new @include file names, put @appendix directive before @include.
14833 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14836 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14837 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14838 (mq_open): Add __NTH.
14840 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14843 Assume Intel Core i3/i5/i7 processor if AVX is available.
14845 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14850 2011-05-31 Andreas Schwab <schwab@redhat.com>
14852 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14853 memory. Use alloca_account. Fix memory leak when retrying.
14855 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14857 * version.h (RELEASE): Bump for 2.14 release.
14858 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14860 * config.make.in (RANLIB): Remove entry.
14862 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14864 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14865 (libc.pot): Work around missing support for .ksh extension in xgettext.
14868 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14869 if both request failed.
14870 (send_dg): In case of server errors clear resplen or *resplen2.
14873 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14874 when there are multiple maps.
14875 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14876 (_dl_fini): Remove test here.
14878 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14880 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14883 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14884 bit from old_res_options.
14885 (gaih_inet): Likewise.
14888 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14891 * resolv/res_init.c (res_setoptions): Make the code more compact.
14894 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14898 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14900 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14903 * malloc/malloc.h: Declare malloc hook variables as volatile.
14905 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14909 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14910 raise in the comment.
14911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14912 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14913 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14915 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14918 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14919 grow the buffers more if it already has to be sufficient.
14920 (build_wcs_upper_buffer): Likewise.
14921 * posix/regexec.c (check_matching): Likewise.
14922 (clean_state_log_if_needed): Likewise.
14923 (extend_buffers): Don't enlarge buffers beyond size of the input
14925 Patches mostly by Emil Wojak <emil@wojak.eu>.
14926 * posix/bug-regex32.c: New file.
14927 * posix/Makefile (tests): Add bug-regex32.
14929 * locale/findlocale.c (_nl_find_locale): Return right away if
14930 _nl_explode_name failed.
14931 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14933 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14935 * debug/xtrace.sh: Unify messages.
14936 * malloc/memusage.sh: Likewise.
14939 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14940 time symbol from vDSO. Substitute with vsyscall if not available.
14941 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14944 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14945 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14946 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14947 Add sendmmsg and internal_sendmmsg.
14948 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14949 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14952 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14953 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14956 2011-05-27 Ulrich Drepper <drepper@gmail.com>
14959 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14960 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14962 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14966 * iconvdata/Makefile (tests): Add bug-iconv9.
14967 * iconvdata/bug-iconv9.c: New file.
14969 2011-05-27 Andreas Schwab <schwab@redhat.com>
14972 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14974 2011-05-25 Jakub Jelinek <jakub@redhat.com>
14976 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14977 (struct user_regs_struct): Change intcs field back to cs.
14979 2011-05-25 Ulrich Drepper <drepper@gmail.com>
14981 * po/ja.po: Update from translation team.
14983 2011-05-23 Ulrich Drepper <drepper@gmail.com>
14986 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14987 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14989 2011-05-20 Andreas Schwab <schwab@redhat.com>
14991 * stdlib/longlong.h: Update from GCC.
14993 2011-05-23 Andreas Schwab <schwab@redhat.com>
14995 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14997 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14998 Add parameter name.
14999 (__sysconf): Pass it down.
15001 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15004 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15007 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15008 add in in __libc_use_alloca calls. Adjust callers.
15009 (glob): Use malloc in some situations.
15011 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15012 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15015 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15017 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15018 and CLOCK_BOOTTIME_ALARM.
15021 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15024 * string/_strerror.c (__strerror_r): Print negative errors as signed
15028 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15029 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15030 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15032 * configure.in: Fix typo in redirection and correct removal of test
15033 files in two cases.
15036 * locale/setlocale.c (new_composite_name): Fix test to check for
15037 identical name of all categories.
15040 * libio/filedoalloc.c (local_isatty): New function.
15041 (_IO_file_doallocate): Use local_isatty.
15042 * stdio-common/perror.c (perror): In case a new stream is used
15043 forward the stream error.
15044 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15047 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15052 * include/alloca.h (extend_alloca_account): Define.
15055 * posix/regex.h: Fix comments with documentation of user-accessible
15056 fields after compilation and describe correct free'ing of pattern
15057 after re_compile_pattern.
15058 Patch by Reuben Thomas <rrt@sc3d.org>.
15060 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15062 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15063 and -mno-altivec to prevent the compiler from using Altivec and/or
15064 VSX instructions when the corresponding registers are not available.
15066 2011-05-19 Andreas Schwab <schwab@redhat.com>
15068 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15070 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15072 * libio/freopen.c (freopen): Use __dup2, not dup2.
15073 * libio/freopen64.c (freopen64): Likewise.
15075 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15078 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15079 * math/Makefile (tests): Add test-powl.
15080 (CFLAGS-test-powl.c): Define.
15081 * math/test-powl.c: New file.
15083 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15085 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15087 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15090 * iconvdata/gb18030.c: Update to GB18020-2005.
15092 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15094 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15095 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15096 Patch by Aharon Robbins <arnold@skeeve.com>.
15099 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15103 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15104 through underflows.
15107 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15108 point to strings before performing equality test for error_one_per_line
15112 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15115 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15116 (struct user_fpregs_struct): Avoid __uint*_t types.
15119 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15120 symbol info. Use it instead of calling _dl_addr locally.
15121 (lock_and_info): New function.
15122 (tr_freehook): Call lock_and_info and pass symbol info as additional
15123 parameter to tr_where.
15124 (tr_mallochook): Likewise.
15125 (tr_reallochook): Likewise.
15126 (tr_memalignhook): Likewise.
15128 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15129 used and couldn't be at all thread-safe.
15131 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15133 * libio/freopen.c (freopen): Don't close old file descriptor
15134 before the new one is opened. Instead dup the new file descriptor
15135 to the old one after the new stream is created.
15136 * libio/freopen64.c (freopen64): Likewise.
15137 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15138 * libio/fileops.c (_IO_new_file_close_it): Handle new
15139 _IO_FLAGS2_NOCLOSE flag.
15140 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15141 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15142 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15143 _IO_FLAGS2_NOCLOSE flag.
15144 * include/unistd.h: Add hidden_proto for dup3.
15145 Define __have_dup3.
15146 * io/dup3.c: Define hidden symbol.
15147 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15150 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15151 when an incomplete long option is used.
15152 * posix/tst-getopt_long1.c: New file.
15153 * posix/Makefile (tests): Add tst-getopt_long1.
15156 * scripts/config.guess: Update from autoconf-2.68.
15157 * scripts/config.sub: Likewise.
15160 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15162 (has_cpuclock): ...this. New function.
15163 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15164 macro here based on has_cpuclock code.
15167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15168 First byte (not low byte) is now always NUL.
15169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15172 Use non-cancelable interfaces.
15175 * locale/iso-639.def: Add entry for Sorani.
15178 * include/stdlib.h: Move include protection to the right place.
15179 Define abort_msg_s. Declare __abort_msg with it.
15180 * stdlib/abort.c (__abort_msg): Adjust type.
15181 * assert/assert.c (__assert_fail_base): New function. Majority
15182 of code from __assert_fail. Allocate memory for __abort_msg with
15184 (__assert_fail): Now call __assert_fail_base.
15185 * assert/assert-perr.c: Remove bulk of implementation. Use
15186 __assert_fail_base.
15187 * include/assert.hL Declare __assert_fail_base.
15188 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15190 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15192 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15196 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15197 until all modules are registered in the DTV.
15198 * elf/Makefile: Add rules to build and run tst-tls19.
15199 * elf/tst-tls19.c: New file.
15200 * elf/tst-tls19mod1.c: New file.
15201 * elf/tst-tls19mod2.c: New file.
15202 * elf/tst-tls19mod3.c: New file.
15203 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15206 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15210 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15211 two-byte sequence errors.
15212 * iconvdata/Makefile (tests): Add bug-iconv8.
15213 * iconvdata/bug-iconv8.c: New file.
15216 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15219 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15222 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15223 (dummy_getcfa): New function.
15224 (init): Get _Unwind_GetCFA address, use dummy if not found.
15225 (backtrace_helper): In recursion check, also check whether CFA changes.
15226 (__backtrace): Completely initialize arg.
15228 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15229 storing incomplete byte sequence in state object. Avoid testing for
15230 guaranteed too small input if we know there is enough data available.
15232 2011-05-11 Andreas Schwab <schwab@redhat.com>
15234 * Makeconfig (+link-pie): Indent.
15235 * Rules (binaries-pie): Define if $(have-fpie) and
15237 (binaries-shared): Also filter out $(binaries-pie).
15238 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15239 * nscd/Makefile (others-pie): Add nscd.
15240 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15241 ($(objpfx)nscd): Remove command override.
15242 * login/Makefile (others-pie): Add pt_chown.
15243 ($(objpfx)pt_chown): Remove command override.
15244 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15245 remove command overrides.
15247 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15249 * libio/tst_putwc.c: Fix error messages.
15252 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15253 currently writing and seek to current position when not.
15254 * libio/Makefile (tests): Add bug-fclose1.
15255 * libio/bug-fclose1.c: New file.
15257 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15260 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15261 don't set DF_1_NODELETE here.
15262 (do_lookup_x): When entering new entry test for copy relocation
15263 and if necessary set DF_1_NODELETE flag.
15264 * elf/tst-unique4.cc: New file.
15265 * elf/tst-unique4.h: New file.
15266 * elf/tst-unique4lib.cc: New file.
15267 * elf/Makefile: Add rules to build and run tst-unique4.
15268 Patch by Piotr Bury <pbury@goahead.com>.
15270 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15273 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15276 * misc/mntent_r.c (addmntent): Flush the stream after the output
15279 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15280 (is_trusted_path_normalize): Skip initial colon. Append slash
15281 to empty buffer. Duplicate is_trusted_path code but allow
15282 constructed patch to be prefix.
15283 (is_dst): Allow $ORIGIN followed by /.
15284 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15285 Correct testing of result of is_trusted_path_normalize
15286 (decompose_rpath): Fix warning.
15288 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15291 * grp/initgroups.c (internal_getgrouplist): When we found the service
15292 list through the initgroups entry in nsswitch.conf do not always
15293 continue on a successful lookup. Don't always use the
15294 __nss_group_database value if it is set.
15295 * nss/nsswitch.conf (initgroups): Change action for successful db
15296 lookup to continue for compatibility.
15298 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15301 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15303 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15305 * iconvdata/tst-tables.sh: Likewise.
15306 * iconvdata/cp770.c: New file.
15307 * iconvdata/cp771.c: New file.
15308 * iconvdata/cp772.c: New file.
15309 * iconvdata/cp773.c: New file.
15310 * iconvdata/cp774.c: New file.
15311 * iconvdata/testdata/CP770: New file.
15312 * iconvdata/testdata/CP770..UTF8: New file.
15313 * iconvdata/testdata/CP771: New file.
15314 * iconvdata/testdata/CP771..UTF8: New file.
15315 * iconvdata/testdata/CP772: New file.
15316 * iconvdata/testdata/CP772..UTF8: New file.
15317 * iconvdata/testdata/CP773: New file.
15318 * iconvdata/testdata/CP773..UTF8: New file.
15319 * iconvdata/testdata/CP774: New file.
15320 * iconvdata/testdata/CP774..UTF8: New file.
15322 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15324 * iconvdata/gen-8bit-gap.sh: Likewise.
15325 * iconvdata/gen-8bit.sh: Likewise.
15327 * locale/iso-639.def: Add ary entry.
15330 * locale/C-translit.h.in: Add U20A1 transliteration.
15333 * locale/iso-639.def: Add wae entry.
15334 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15337 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15341 * locale/C-translit.h.in: Add entry for U20B9.
15342 Patch by pravin.d.s@gmail.com.
15344 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15347 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15348 ENAMETOOLONG use generic getcwd.
15349 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15350 in rtld. Use *stat64.
15351 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15352 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15353 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15354 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15355 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15356 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15357 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15358 __fstatat64 macros.
15359 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15360 * dirent/rewinddir.c: Add libc_hidden_def.
15361 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15362 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15364 * include/dirent.h (__alloc_dir): Add flags parameter.
15365 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15366 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15368 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15369 from fdopendir if O_CLOEXEC is already set.
15371 2011-03-15 Alan Modra <amodra@gmail.com>
15373 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15374 l_tls_firstbyte_offset non-zero. Save padding offset in
15375 l_tls_firstbyte_offset for later use.
15376 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15377 freeing static tls block.
15379 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15381 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15382 where #ifdef was intended. The intent is to prevent ARG_MAX from
15383 being defined by the kernel headers.
15385 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15388 * resolv/resolv.h: Define RES_NOTLDQUERY.
15389 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15390 no-tld-query and set RES_NOTLDQUERY.
15391 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15392 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15393 modern BIND to search name as TLD unless forbidden.
15395 2011-05-07 Petr Baudis <pasky@suse.cz>
15396 Ulrich Drepper <drepper@gmail.com>
15399 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15400 (is_trusted_path): ...to here.
15401 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15402 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15403 using is_trusted_path_normalize() in setuid scripts.
15405 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15407 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15408 __BEGIN/__END_DECLS.
15410 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15412 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15413 NSS_STATUS_NOTFOUND if no record was found.
15415 2011-05-05 Andreas Schwab <schwab@redhat.com>
15417 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15418 (headers-not-in-tirpc): Remove rpc/netdb.h
15419 * resolv/netdb.h: Revert last change.
15421 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15423 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15424 circular dependency between libgcc.a and libc.a.
15426 2011-05-05 Andreas Schwab <schwab@redhat.com>
15428 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15429 * nis/Makefile: Don't install rpcsvc/*.
15430 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15431 instead of <rpc/types.h>.
15432 (MAXHOSTNAMELEN): Define.
15434 2011-05-03 Andreas Schwab <schwab@redhat.com>
15436 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15438 2011-04-28 Maciej Babinski <mbabinski@google.com>
15441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15442 gethostbyname4_r when IPv6 results are possible.
15444 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15447 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15448 _PC_PIPE_BUF handling.
15450 2011-04-30 Bruno Haible <bruno@clisp.org>
15453 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15454 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15456 * inet/getnameinfo.c (getnameinfo): Likewise.
15458 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15460 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15461 to groups setting in database lookup.
15462 * nss/nsswitch.conf: Add initgroups entry.
15464 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15467 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15469 Patch by Eric Blake <eblake@redhat.com>.
15471 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15473 * sunrpc/Makefile (need-export-routines): Add svc_run.
15474 (routines): Remove svc_run.
15475 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15476 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15477 * sunrpc/svc_run.c (svc_run): Likewise.
15478 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15480 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15482 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15483 problem in reallocation in last patch.
15485 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15487 * sunrpc/Makefile: Move inclusion of Rules.
15489 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15491 * nss/nss_files/files-initgroups.c: New file.
15492 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15493 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15494 _nss_files_initgroups_dyn.
15496 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15498 * elf/elf.h (R_ARM_IRELATIVE): Define.
15500 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15502 * po/ru.po: Update from translation team.
15504 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15506 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15509 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15512 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15513 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15518 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15520 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15522 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15524 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15526 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15529 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15531 * stdlib/bug-getcontext.c: New file.
15532 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15534 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15536 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15537 instructions into .machine "z9-109".
15538 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15539 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15541 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15543 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15544 between environment variables and auxiliary vector.
15546 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15548 * Makefile: Add rules to build linkobj/libc.so.
15549 * include/libc-symbols.h: Define libc_hidden_nolink.
15550 * include/rpc/auth.h: Mark functions which are to be hidden.
15551 * include/rpc/auth_des.h: Likewise.
15552 * include/rpc/auth_unix.h: Likewise.
15553 * include/rpc/clnt.h: Likewise.
15554 * include/rpc/des_crypt.h: Likewise.
15555 * include/rpc/key_prot.h: Likewise.
15556 * include/rpc/pmap_clnt.h: Likewise.
15557 * include/rpc/pmap_prot.h: Likewise.
15558 * include/rpc/pmap_rmt.h: Likewise.
15559 * include/rpc/rpc_msg.h: Likewise.
15560 * include/rpc/svc.h: Likewise.
15561 * include/rpc/svc_auth.h: Likewise.
15562 * include/rpc/xdr.h: Likewise.
15563 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15564 * nss/Makefile: Likewise.
15565 * sunrpc/Makefile: Don't install headers. Build library with normal
15566 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15567 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15568 for the compat linking library. Remove use of INTDEF/INTUSE.
15569 * sunrpc/auth_none.c: Likewise.
15570 * sunrpc/auth_unix.c: Likewise.
15571 * sunrpc/authdes_prot.c: Likewise.
15572 * sunrpc/authuxprot.c: Likewise.
15573 * sunrpc/clnt_gen.c: Likewise.
15574 * sunrpc/clnt_perr.c: Likewise.
15575 * sunrpc/clnt_raw.c: Likewise.
15576 * sunrpc/clnt_simp.c: Likewise.
15577 * sunrpc/clnt_tcp.c: Likewise.
15578 * sunrpc/clnt_udp.c: Likewise.
15579 * sunrpc/clnt_unix.c: Likewise.
15580 * sunrpc/des_crypt.c: Likewise.
15581 * sunrpc/des_soft.c: Likewise.
15582 * sunrpc/get_myaddr.c: Likewise.
15583 * sunrpc/key_call.c: Likewise.
15584 * sunrpc/key_prot.c: Likewise.
15585 * sunrpc/netname.c: Likewise.
15586 * sunrpc/pm_getmaps.c: Likewise.
15587 * sunrpc/pm_getport.c: Likewise.
15588 * sunrpc/pmap_clnt.c: Likewise.
15589 * sunrpc/pmap_prot.c: Likewise.
15590 * sunrpc/pmap_prot2.c: Likewise.
15591 * sunrpc/pmap_rmt.c: Likewise.
15592 * sunrpc/publickey.c: Likewise.
15593 * sunrpc/rpc_cmsg.c: Likewise.
15594 * sunrpc/rpc_common.c: Likewise.
15595 * sunrpc/rpc_dtable.c: Likewise.
15596 * sunrpc/rpc_prot.c: Likewise.
15597 * sunrpc/rpc_thread.c: Likewise.
15598 * sunrpc/rtime.c: Likewise.
15599 * sunrpc/svc.c: Likewise.
15600 * sunrpc/svc_auth.c: Likewise.
15601 * sunrpc/svc_authux.c: Likewise.
15602 * sunrpc/svc_raw.c: Likewise.
15603 * sunrpc/svc_run.c: Likewise.
15604 * sunrpc/svc_simple.c: Likewise.
15605 * sunrpc/svc_tcp.c: Likewise.
15606 * sunrpc/svc_udp.c: Likewise.
15607 * sunrpc/svc_unix.c: Likewise.
15608 * sunrpc/svcauth_des.c: Likewise.
15609 * sunrpc/xcrypt.c: Likewise.
15610 * sunrpc/xdr.c: Likewise.
15611 * sunrpc/xdr_array.c: Likewise.
15612 * sunrpc/xdr_float.c: Likewise.
15613 * sunrpc/xdr_intXX_t.c: Likewise.
15614 * sunrpc/xdr_mem.c: Likewise.
15615 * sunrpc/xdr_rec.c: Likewise.
15616 * sunrpc/xdr_ref.c: Likewise.
15617 * sunrpc/xdr_sizeof.c: Likewise.
15618 * sunrpc/xdr_stdio.c: Likewise.
15620 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15623 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15624 * sysdeps/ia64/dl-tls.h: Likewise.
15625 * sysdeps/powerpc/dl-tls.h: Likewise.
15626 * sysdeps/s390/dl-tls.h: Likewise.
15627 * sysdeps/sh/dl-tls.h: Likewise.
15628 * sysdeps/sparc/dl-tls.h: Likewise.
15629 * sysdeps/x86_64/dl-tls.h: Likewise.
15630 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15632 2011-03-14 Andreas Schwab <schwab@redhat.com>
15634 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15635 rpath element also skip the following colon.
15636 (expand_dynamic_string_token): Add is_path parameter and pass
15637 down to DL_DST_REQUIRED and _dl_dst_substitute.
15638 (decompose_rpath): Call expand_dynamic_string_token with
15639 non-zero is_path. Ignore empty rpaths.
15640 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15643 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15648 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15651 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15652 Patch by Filipe David Manana <fdmanana@apache.org>.
15654 2011-04-07 Andreas Schwab <schwab@redhat.com>
15656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15657 Maintain aligned stack.
15658 (CHECK_RSP): Remove unused macro.
15660 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15662 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15663 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15665 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15667 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15669 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15671 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15674 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15675 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15676 * sysdeps/x86_64/memmove.c: New file.
15677 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15678 (memcpy): Renamed to ...
15679 (__new_memcpy): This.
15680 (memcpy): Provide GLIBC_2_14 memcpy.
15681 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15682 (memcpy): Provide GLIBC_2_2_5 memcpy.
15684 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15687 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15689 2011-03-30 Andreas Schwab <schwab@redhat.com>
15691 * misc/syncfs.c: New file.
15692 * misc/Makefile (routines): Add syncfs.
15693 * posix/unistd.h: Declare syncfs.
15694 * sysdeps/unix/syscalls.list: Add syncfs.
15696 2011-04-01 Andreas Schwab <schwab@redhat.com>
15698 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15701 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15703 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15705 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15708 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15712 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15713 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15716 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15718 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15719 sync_file_range.c with -fexceptions.
15720 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15721 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15722 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15723 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15724 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15725 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15727 sync_file_range as cancellation point
15728 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15729 now a wrapper around __call_sync_file_range with cancellation handling.
15730 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15731 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15732 function name to __call_sync_file_range.
15733 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15734 Add call_sync_file_range.
15736 2011-04-01 Andreas Schwab <schwab@redhat.com>
15738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15741 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15743 * iconv/iconv.h: Fix typo in comment.
15744 * io/fcntl.h: Likewise.
15745 * libio/stdio.h: Likewise.
15746 * posix/spawn.h: Likewise.
15747 * posix/unistd.h: Likewise.
15748 * stdlib/stdlib.h: Likewise.
15749 * time/time.h: Likewise.
15750 * wcsmbs/wchar.h: Likewise.
15752 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15753 open_by_handle): Add.
15754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15755 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15756 Augment a few comments.
15757 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15759 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15762 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15765 * io/fcntl.h (AT_EMPTY_PATH): Define.
15767 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15769 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15770 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15771 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15773 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15774 * Versions.def: Add GLIBC_2.14.
15775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15778 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15780 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15782 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15784 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15787 * string/test-strncmp.c (do_page_test): New function.
15788 (check2): Likewise.
15789 (test_main): Call check2.
15790 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15792 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15795 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15796 Handle cache information in CPU leaf 4.
15797 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15799 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15802 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15803 character representation.
15804 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15806 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15808 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15809 END(__isnan) to END(__isnanf) to match function entry point/label
15810 EALIGN(__isnanf,...).
15812 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15814 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15816 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15819 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15820 copy from the symbol referenced in the relocation to initialize the
15822 Patch by Piotr Bury <pbury@goahead.com>.
15823 * elf/Makefile: Add rules to build and tst-unique3.
15824 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15825 * elf/tst-unique3.cc: New file.
15826 * elf/tst-unique3.h: New file.
15827 * elf/tst-unique3lib.cc: New file.
15828 * elf/tst-unique3lib2.cc: New file.
15830 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15832 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15834 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15835 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15838 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15840 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15841 to-be-loaded object along a path to loader is ld.so.
15843 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15844 Ulrich Drepper <drepper@gmail.com>
15846 * sysdeps/x86_64/memset.S: After aligning destination, code
15847 branches to different locations depending on the value of
15848 misalignment, when multiarch is enabled. Fix this.
15850 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15852 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15853 Set _x86_64_preferred_memory_instruction for AMD processsors.
15854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15855 Set bit_Prefer_SSE_for_memop for AMD processors.
15857 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15859 * libio/fmemopen.c (fmemopen): Optimize a bit.
15861 2011-03-03 Andreas Schwab <schwab@redhat.com>
15863 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15865 2011-03-03 Roland McGrath <roland@redhat.com>
15867 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15869 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15871 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15872 __bzero_ultra1 instead of __memset_ultra1.
15874 2011-02-23 Andreas Schwab <schwab@redhat.com>
15875 Ulrich Drepper <drepper@gmail.com>
15878 * include/link.h (struct link_map): Add l_orig_initfini.
15879 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15880 returning unsuccessfully.
15881 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15882 close of a file loaded at startup, restore the original l_initfini
15884 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15885 list, store the pointer.
15886 * elf/Makefile ($(objpfx)noload-mem): New rule.
15887 (noload-ENV): Define.
15888 (tests): Add $(objpfx)noload-mem.
15889 * elf/noload.c: Include <memcheck.h>.
15890 (main): Call mtrace. Close all opened handles.
15892 2011-02-17 Andreas Schwab <schwab@redhat.com>
15895 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15896 dependencies are missing.
15898 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15900 Fix __if_freereq crash: Unlike the generic version which uses free,
15902 * sysdeps/mach/hurd/ifreq.h: New file.
15904 2011-01-27 Petr Baudis <pasky@suse.cz>
15905 Ulrich Drepper <drepper@gmail.com>
15908 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15909 to extend_alloca().
15910 * stdio-common/bug23.c: New file.
15911 * stdio-common/Makefile (tests): Add bug23.
15913 2010-09-28 Andreas Schwab <schwab@redhat.com>
15914 Ulrich Drepper <drepper@gmail.com>
15917 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15918 before performing relro protection. At old place add assertion
15919 to make sure nothing changed.
15921 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15922 Glauber de Oliveira Costa <glommer@gmail.com>
15924 * elf/elf.h: Add new ARM TLS relocs.
15926 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15929 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15931 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15933 * sysdeps/wordsize-64/tst-writev.c: New file.
15935 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15937 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15938 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15939 insns in _dl_start to prevent a TOC reference before relocs are
15942 2011-02-15 Ulrich Drepper <drepper@gmail.com>
15945 * Makeconfig: Remove RANLIB definition.
15946 * Makerules: Don't use RANLIB.
15947 * aclocal.m4: Remove ranlib test.
15948 * configure.in: No need to check for ranlib.
15949 * elf/rtld-Rules: Don't use RANLIB.
15951 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15953 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15955 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15956 inclusion protection macro.
15958 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15959 SIGRTMIN and SIGRTMAX and print information in that case only when
15960 SIGRTMIN is defined.
15962 2011-02-11 Jakub Jelinek <jakub@redhat.com>
15964 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15965 arginfo fn returning -1.
15967 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15968 and thousands string is zero terminated.
15970 2011-02-03 Andreas Schwab <schwab@redhat.com>
15972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15973 sysdeps/unix/sysv/linux/bits/socket.h.
15975 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15977 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15978 (__CPU_COUNT): Remove old macros.
15979 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15980 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15981 (__CPU_ALLOC, __CPU_FREE): Add macros.
15982 (__sched_cpualloc, __sched_cpufree): Add declarations.
15984 2011-02-05 Ulrich Drepper <drepper@gmail.com>
15986 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15987 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15988 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15989 (readdhstai): Return value of addhstaiX call.
15990 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15991 (addgrbyX): Return value returned by cache_addgr.
15992 (readdgrbyname): Return value returned by addgrbyX.
15993 (readdgrbygid): Likewise.
15994 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15995 (addpwbyX): Return value returned by cache_addpw.
15996 (readdpwbyname): Return value returned by addhstbyX.
15997 (readdpwbyuid): Likewise.
15998 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15999 (addservbyX): Return value returned by cache_addserv.
16000 (readdservbyname): Return value returned by addservbyX:
16001 (readdservbyport): Likewise.
16002 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16003 (addhstbyX): Return value returned by cache_addhst.
16004 (readdhstbyname): Return value returned by addhstbyX.
16005 (readdhstbyaddr): Likewise.
16006 (readdhstbynamev6): Likewise.
16007 (readdhstbyaddrv6): Likewise.
16008 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16009 (readdinitgroups): Return value returned by addinitgroupsX.
16010 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16011 (prune_cache): Keep track of timeout value of re-added entries.
16012 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16013 * nscd/nscd.h: Adjust prototypes of readd* functions.
16015 2011-02-04 Roland McGrath <roland@redhat.com>
16017 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16018 (nis_stats): Likewise.
16019 * nis/nis_modify.c (nis_modify): Likewise.
16020 * nis/nis_remove.c (nis_remove): Likewise.
16021 * nis/nis_add.c (nis_add): Likewise.
16023 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16025 * posix/fnmatch_loop.c: Add some consts.
16027 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16029 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16032 * config.make.in (config-cflags-novzeroupper): Define.
16033 * configure.in: Substitute libc_cv_cc_novzeroupper.
16034 * elf/Makefile (AVX-CFLAGS): Define.
16035 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16036 (CFLAGS-tst-auditmod4a.c): Likewise.
16037 (CFLAGS-tst-auditmod4b.c): Likewise.
16038 (CFLAGS-tst-auditmod6b.c): Likewise.
16039 (CFLAGS-tst-auditmod6c.c): Likewise.
16040 (CFLAGS-tst-auditmod7b.c): Likewise.
16041 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16043 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16045 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16046 function to the callback.
16047 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16049 2011-02-02 Andreas Schwab <schwab@redhat.com>
16051 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16054 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16057 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16059 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16061 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16064 * elf/Makefile: Add rules to build and run new test.
16065 * elf/tst-initorder.c: New file.
16066 * elf/tst-initorder.exp: New file.
16067 * elf/tst-initordera1.c: New file.
16068 * elf/tst-initordera2.c: New file.
16069 * elf/tst-initordera3.c: New file.
16070 * elf/tst-initordera4.c: New file.
16071 * elf/tst-initorderb1.c: New file.
16072 * elf/tst-initorderb2.c: New file.
16073 * elf/tst-order-a1.c: New file.
16074 * elf/tst-order-a2.c: New file.
16075 * elf/tst-order-a3.c: New file.
16076 * elf/tst-order-a4.c: New file.
16077 * elf/tst-order-b1.c: New file.
16078 * elf/tst-order-b2.c: New file.
16079 * elf/tst-order-main.c: New file.
16080 New test case by George Gensure <werkt0@gmail.com>.
16082 2010-10-01 Andreas Schwab <schwab@redhat.com>
16084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16085 decoding ACE if AI_CANONIDN.
16087 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16089 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16091 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16093 * version.h (RELEASE): Bump for 2.13 release.
16094 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16096 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16098 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16100 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16101 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16102 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16103 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16104 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16107 * posix/getconf.c: Update copyright year.
16108 * catgets/gencat.c: Likewise.
16109 * csu/version.c: Likewise.
16110 * debug/catchsegv.sh: Likewise.
16111 * debug/xtrace.sh: Likewise.
16112 * elf/ldconfig.c: Likewise.
16113 * elf/ldd.bash.in: Likewise.
16114 * elf/sprof.c (print_version): Likewise.
16115 * iconv/iconv_prog.c: Likewise.
16116 * iconv/iconvconfig.c: Likewise.
16117 * locale/programs/locale.c: Likewise.
16118 * locale/programs/localedef.c: Likewise.
16119 * malloc/memusage.sh: Likewise.
16120 * malloc/mtrace.pl: Likewise.
16121 * nscd/nscd.c (print_version): Likewise.
16122 * nss/getent.c: Likewise.
16124 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16125 PF_CAIF, and PF_ALG.
16126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16128 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16130 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16131 (modules-names): Use them.
16132 (ifunc-test-modules, ifunc-pie-tests): Define.
16133 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16134 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16135 (test-extras): Likewise.
16136 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16137 $(compile-command.c).
16138 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16139 (all-built-dso): Define.
16140 (check-textrel.out, check-execstack.out): Depend on it.
16142 * configure.in: Don't override --enable-multi-arch.
16144 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16147 * nscd/hstcache.c (tryagain): Define.
16148 (cache_addhst): Return tryagain not notfound for temporary errors.
16149 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16152 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16155 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16156 to make the syscall.
16157 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16160 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16161 and fall back to matching as normal character if the string ends before
16162 the matching ']' is found. This is what POSIX requires.
16163 * posix/testfnm.c: Adjust test result.
16164 * posix/globtest.sh: Adjust test result. Add new test.
16165 * posix/tst-fnmatch.input: Likewise.
16166 * posix/tst-fnmatch2.c: Add new test.
16168 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16170 * elf/Makefile (check-execstack): Revert last change. Depend on
16172 (check-execstack.h): New target.
16173 (generated): Add check-execstack.h.
16174 * elf/check-execstack.c: Include "check-execstack.h".
16175 (main): Revert last change.
16176 (handle_file): Return zero if GNU_STACK is absent and
16177 DEFAULT_STACK_PERMS doesn't include PF_X.
16179 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16181 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16182 in child fails because the descriptor is already closed.
16183 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16184 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16185 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16188 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16192 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16193 temporary buffer used to handle multi lookups locally.
16194 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16196 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16198 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16201 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16203 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16204 alignment for SSE2.
16206 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16209 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16210 characters. When rounding increased number of integer digits recompute
16212 * stdio-common/tst-grouping.c: New file.
16213 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16215 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16217 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16218 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16220 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16222 * bits/select.h: Likewise.
16224 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16226 * po/ja.po: Update from translation team.
16228 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16231 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16232 implementation just like for lxstat, fxstatat, et al.
16234 2010-12-27 Jim Meyering <meyering@redhat.com>
16237 * posix/regexec.c (build_trtable): Return failure indication upon
16238 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16240 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16243 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16244 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16245 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16246 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16249 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16252 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16253 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16255 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16257 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16258 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16259 script has SORT_BY_INIT_PRIORITY.
16260 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16261 NO_CTORS_DTORS_SECTIONS is defined.
16262 * elf/soinit.c: Likewise.
16263 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16264 NO_CTORS_DTORS_SECTIONS is defined.
16265 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16266 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16267 * sysdeps/sh/init-first.c: Likewise.
16268 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16270 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16272 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16273 always use the slow path.
16275 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16277 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16278 similar rule which adds the sysdep directories to the header search in
16279 order to pick up the correct platform stackinfo.h.
16280 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16281 perform test if it is, otherwise return successfully without testing.
16282 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16283 DEFAULT_STACK_PERMS define in stackinfo.h.
16284 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16285 defined in stackinfo.h.
16286 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16287 DEFAULT_STACK_PERMS defined in stackinfo.h.
16288 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16289 * sysdeps/ia64/stackinfo.h: Likewise.
16290 * sysdeps/s390/stackinfo.h: Likewise.
16291 * sysdeps/sh/stackinfo.h: Likewise.
16292 * sysdeps/sparc/stackinfo.h: Likewise.
16293 * sysdeps/x86_64/stackinfo.h: Likewise.
16294 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16295 PF_X for powerpc64. Retain PF_X for powerpc32.
16297 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16299 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16301 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16302 GETDENTS_64BIT_ALIGNED.
16304 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16306 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16308 2010-12-10 Andreas Schwab <schwab@redhat.com>
16310 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16313 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16314 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16316 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16317 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16319 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16322 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16325 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16327 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16329 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16331 * po/it.po: Update from translation team.
16333 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16338 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16340 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16342 2010-11-24 Andreas Schwab <schwab@redhat.com>
16344 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16346 (gaih_getanswer_slice): Likewise.
16348 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16352 2010-05-31 Petr Baudis <pasky@suse.cz>
16355 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16356 silently even in the chroot mode.
16358 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16360 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16361 last patch a bit. Pretty printing
16363 2010-05-31 Petr Baudis <pasky@suse.cz>
16366 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16367 initialization of skip_initgroups_dyn.
16369 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16371 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16374 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16376 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16378 2010-11-11 Andreas Schwab <schwab@redhat.com>
16380 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16381 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16382 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16383 ($(objpfx)tst-fnmatch-mem): New rule.
16384 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16385 * posix/tst-fnmatch.c (main): Call mtrace.
16387 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16390 Support Intel processor model 6 and model 0x2c.
16392 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16394 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16397 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16400 * string/test-strncasecmp.c (check_result): New function.
16401 (do_one_test): Use it.
16402 (check1): New function.
16403 (test_main): Use it.
16404 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16405 Support strcasecmp and strncasecmp.
16407 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16410 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16411 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16413 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16415 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16419 * sysdeps/x86_64/multiarch/bzero.S: New file.
16420 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16421 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16422 * sysdeps/x86_64/multiarch/memset.S: New file.
16423 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16425 Set bit_Prefer_SSE_for_memop for Intel processors.
16426 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16428 (index_Prefer_SSE_for_memop): Define.
16429 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16431 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16433 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16434 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16436 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16439 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16440 (__x86_64_raw_data_cache_size_half): Likewise.
16441 (__x86_64_raw_shared_cache_size): Likewise.
16442 (__x86_64_raw_shared_cache_size_half): Likewise.
16444 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16445 (__x86_64_raw_data_cache_size_half): Likewise.
16446 (__x86_64_raw_shared_cache_size): Likewise.
16447 (__x86_64_raw_shared_cache_size_half): Likewise.
16448 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16449 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16450 and __x86_64_raw_shared_cache_size_half. Round
16451 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16452 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16453 to multiple of 256 bytes.
16455 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16458 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16459 of inacessible symlinks. Verify result of symlink before returning it.
16460 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16461 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16463 2010-10-28 Erich Ritz <erichritz@gmail.com>
16465 * math/math.h (isinf): Fix typo in comment.
16467 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16469 * po/da.po: Update from translation team.
16471 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16473 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16474 is added to the list.
16476 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16477 Ulrich Drepper <drepper@gmail.com>
16479 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16480 the global list here. Move code to...
16481 (_dl_add_to_namespace_list): ...here. New function.
16482 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16483 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16484 * elf/dl-load.c (lose): Don't remove the element from the list.
16485 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16486 (_dl_map_object): Likewise.
16488 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16491 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16492 into all bytes of SSE register.
16493 Patch by Richard Li <richardpku@gmail.com>.
16495 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16498 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16501 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16503 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16504 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16505 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16506 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16511 2010-10-22 Andreas Schwab <schwab@redhat.com>
16513 * include/dlfcn.h (__RTLD_SECURE): Define.
16514 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16515 mode & __RTLD_SECURE instead.
16516 (open_path): Rename preloaded parameter to secure.
16517 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16518 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16519 * elf/dl-deps.c (openaux): Likewise.
16520 * elf/rtld.c (struct map_args): Remove is_preloaded.
16521 (map_doit): Don't use it.
16522 (dl_main): Likewise.
16523 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16524 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16526 2010-09-09 Andreas Schwab <schwab@redhat.com>
16528 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16529 (sysd-rules-targets): Remove duplicates.
16530 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16531 rtld-%.$o dependency.
16533 2010-10-18 Andreas Schwab <schwab@redhat.com>
16535 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16536 _dl_map_object do it.
16538 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16540 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16541 fast fma builtins, define the macros in the C99 standard.
16542 (FP_FAST_FMAF): Likewise.
16543 (FP_FAST_FMAL): Likewise.
16544 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16546 * bits/mathdef.h: Update copyright year.
16547 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16549 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16551 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16552 builtins, define the macros in the C99 standard.
16553 (FP_FAST_FMAF): Likewise.
16554 (FP_FAST_FMAL): Likewise.
16555 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16557 (FP_FAST_FMAF): Likewise.
16559 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16562 * math/libm-test.inc (fma_test): Some new testcases.
16563 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16564 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16565 y and infinite z. Do multiplication by C already in long double.
16566 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16568 y and infinite z. Do bitwise or of inexact bit into u.d.
16569 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16570 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16571 * sysdeps/i386/fpu/s_fma.S: Removed.
16572 * sysdeps/i386/fpu/s_fmal.S: Removed.
16574 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16577 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16579 computation is not scheduled after fetestexcept. Fix value
16580 of minimum denormal long double.
16582 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16585 * math/libm-test.inc (fma_test): Add some more tests.
16586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16589 2010-10-15 Andreas Schwab <schwab@redhat.com>
16591 * scripts/data/localplt-s390-linux-gnu.data: New file.
16592 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16594 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16597 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16598 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16600 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16602 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16604 if one of x and y is very large and the other is subnormal.
16605 * sysdeps/s390/fpu/s_fmaf.c: New file.
16606 * sysdeps/s390/fpu/s_fma.c: New file.
16607 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16608 * sysdeps/powerpc/fpu/s_fma.S: New file.
16609 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16610 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16611 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16613 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16616 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16618 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16619 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16620 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16621 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16622 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16623 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16624 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16626 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16629 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16630 * posix/bug-regex31.input: Add test case.
16632 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16634 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16635 * posix/bug-regex31.input: New file.
16638 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16639 (parse_sub_exp): Fix last change, use postorder.
16641 * posix/bug-regex31.c: New file.
16642 * posix/Makefile: Add rules to build and run bug-regex31.
16644 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16647 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16650 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16651 to have entries in sys_siglist.
16654 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16657 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16660 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16661 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16662 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16663 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16664 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16665 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16666 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16667 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16668 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16669 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16670 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16671 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16672 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16673 * math/ftestexcept.c (fetestexcept): Likewise.
16674 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16675 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16676 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16677 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16678 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16679 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16680 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16682 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16685 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16688 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16690 * string/bug-strstr1.c: New file.
16691 * string/Makefile: Add rules to build and run bug-strstr1.
16693 2010-10-05 Eric Blake <eblake@redhat.com>
16696 * string/str-two-way.h (two_way_long_needle): Always clear memory
16697 when skipping input due to the shift table.
16699 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16702 * malloc/mcheck.c: Handle large requests.
16705 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16706 for strncmp and strncasecmp.
16707 * string/stratcliff.c: Add tests for strcmp and strncmp.
16708 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16710 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16712 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16715 2010-09-30 Andreas Jaeger <aj@suse.de>
16717 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16718 (CGROUP_SUPER_MAGIC): Define.
16719 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16720 Handle btrfs and cgroup file systems.
16721 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16724 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16726 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16727 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16729 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16732 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16733 trying to locate the ELF header.
16735 2010-09-27 Andreas Schwab <schwab@redhat.com>
16738 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16739 Mask out sign-bit copies when constructing f_fsid.
16741 2010-09-24 Petr Baudis <pasky@suse.cz>
16743 * debug/stack_chk_fail_local.c: Add missing licence exception.
16744 * debug/warning-nop.c: Likewise.
16746 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16748 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16749 implementing getdents64 using getdents syscall, set d_type if
16750 __ASSUME_GETDENTS32_D_TYPE.
16752 2010-09-16 Andreas Schwab <schwab@redhat.com>
16754 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16755 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16757 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16760 * posix/unistd.h: Undo change of feature selection for ftruncate from
16763 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16765 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16768 2010-09-20 Andreas Schwab <schwab@redhat.com>
16770 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16772 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16774 2010-09-14 Andreas Schwab <schwab@redhat.com>
16776 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16777 variables after CHECK_SP call.
16778 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16780 2010-09-13 Andreas Schwab <schwab@redhat.com>
16781 Ulrich Drepper <drepper@redhat.com>
16783 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16784 re-relocationg ld.so.
16785 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16786 _dl_init_paths call.
16787 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16790 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16792 * resolv/res_init.c (__res_vinit): Count the default server we added.
16794 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16795 Ulrich Drepper <drepper@redhat.com>
16798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16799 (____longjmp_chk): Use %ebx for saving value across system call.
16802 2010-09-06 Andreas Schwab <schwab@redhat.com>
16804 * manual/Makefile: Don't mix pattern rules with normal rules.
16806 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16808 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16810 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16811 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16812 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16813 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16817 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16820 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16821 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16823 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16825 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16826 * sysdeps/x86_64/addmul_1.S: Likewise.
16827 * sysdeps/x86_64/lshift.S: Likewise.
16828 * sysdeps/x86_64/mul_1.S: Likewise.
16829 * sysdeps/x86_64/rshift.S: Likewise.
16830 * sysdeps/x86_64/sub_n.S: Likewise.
16831 * sysdeps/x86_64/submul_1.S: Likewise.
16833 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16835 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16836 Define __sched_param instead of SCHED_* and sched_param when
16837 <bits/sched.h> is included with __need_schedparam defined.
16838 * bits/sched.h [__need_schedparam]
16839 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16840 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16841 (__defined_schedparam): Define to 1.
16842 (__sched_param): New structure, identical to sched_param.
16843 (__need_schedparam): Undefine.
16845 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16848 (epoll_create1): Declare.
16850 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16852 2010-08-31 Andreas Schwab <schwab@redhat.com>
16855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16856 shifting retval into place.
16858 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16860 * nis/rpcsvc/nis.h: Update copyright notice.
16861 * nis/rpcsvc/nis.x: Likewise.
16862 * nis/rpcsvc/nis_callback.h: Likewise.
16863 * nis/rpcsvc/nis_callback.x: Likewise.
16864 * nis/rpcsvc/nis_object.x: Likewise.
16865 * nis/rpcsvc/nis_tags.h: Likewise.
16866 * nis/rpcsvc/yp.h: Likewise.
16867 * nis/rpcsvc/yp.x: Likewise.
16868 * nis/rpcsvc/ypupd.h: Likewise.
16869 * nis/yp_xdr.c: Likewise.
16870 * nis/ypupdate_xdr.c: Likewise.
16872 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16873 mainly the body of pmap_getport. Add parameters to specify timeouts.
16874 (pmap_getport): Use __libc_rpc_getport.
16875 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16876 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16877 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16879 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16884 2010-08-27 Roland McGrath <roland@redhat.com>
16886 * sysdeps/i386/i686/multiarch/Makefile
16887 (CFLAGS-varshift.c): New variable.
16889 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16891 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16892 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16896 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16898 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16900 * sysdeps/x86_64/strlen.S: Unroll the loop.
16901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16902 strlen-sse2 strlen-sse2-bsf.
16903 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16904 __strlen_no_bsf if bit_Slow_BSF is set.
16905 (__strlen_sse42): Removed.
16906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16907 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16909 2010-08-25 Roland McGrath <roland@redhat.com>
16911 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16912 * sysdeps/x86_64/multiarch/varshift.c: New file.
16913 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16914 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16915 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16916 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16918 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16921 strlen-sse2 strlen-sse2-bsf.
16922 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16923 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16924 (__strlen_sse2): Removed.
16925 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16928 bit_Slow_BSF for Atom.
16929 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16930 (index_Slow_BSF): Define.
16931 (HAS_SLOW_BSF): Define.
16933 2010-08-25 Ulrich Drepper <drepper@redhat.com>
16936 * resolv/res_init.c (__res_vinit): When no server address at all
16937 is given default to loopback.
16939 2010-08-24 Roland McGrath <roland@redhat.com>
16941 * configure.in: Remove config-name.h generation.
16942 * configure: Regenerated.
16943 * config-name.in: File removed.
16944 * scripts/config-uname.sh: New file.
16945 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16946 ($(objdir)config-name.h): New target.
16948 * sunrpc/rpc_parse.h: Avoid nested comment.
16950 2010-08-24 Richard Henderson <rth@redhat.com>
16951 Ulrich Drepper <drepper@redhat.com>
16952 H.J. Lu <hongjiu.lu@intel.com>
16954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16956 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16957 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16958 _mm_alignr_epi8 with _mm_loadu_si128.
16959 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16960 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16961 (__m128i_shift_right): Removed.
16962 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16963 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16964 * sysdeps/x86_64/multiarch/varshift.h: New file.
16965 * sysdeps/x86_64/multiarch/varshift.S: New file.
16967 2010-08-21 Mike Frysinger <vapier@gentoo.org>
16969 * configure.in: Move assembler checks to before sysdep dir checking.
16971 2010-08-20 Petr Baudis <pasky@suse.cz>
16973 * LICENSES: Sync the sunrpc license.
16975 2010-08-19 Ulrich Drepper <drepper@redhat.com>
16977 * sunrpc/auth_des.c: Update copyright notice once again.
16978 * sunrpc/auth_none.c: Likewise.
16979 * sunrpc/auth_unix.c: Likewise.
16980 * sunrpc/authdes_prot.c: Likewise.
16981 * sunrpc/authuxprot.c: Likewise.
16982 * sunrpc/bindrsvprt.c: Likewise.
16983 * sunrpc/clnt_gen.c: Likewise.
16984 * sunrpc/clnt_perr.c: Likewise.
16985 * sunrpc/clnt_raw.c: Likewise.
16986 * sunrpc/clnt_simp.c: Likewise.
16987 * sunrpc/clnt_tcp.c: Likewise.
16988 * sunrpc/clnt_udp.c: Likewise.
16989 * sunrpc/clnt_unix.c: Likewise.
16990 * sunrpc/des_crypt.c: Likewise.
16991 * sunrpc/des_soft.c: Likewise.
16992 * sunrpc/get_myaddr.c: Likewise.
16993 * sunrpc/getrpcport.c: Likewise.
16994 * sunrpc/key_call.c: Likewise.
16995 * sunrpc/key_prot.c: Likewise.
16996 * sunrpc/openchild.c: Likewise.
16997 * sunrpc/pm_getmaps.c: Likewise.
16998 * sunrpc/pm_getport.c: Likewise.
16999 * sunrpc/pmap_clnt.c: Likewise.
17000 * sunrpc/pmap_prot.c: Likewise.
17001 * sunrpc/pmap_prot2.c: Likewise.
17002 * sunrpc/pmap_rmt.c: Likewise.
17003 * sunrpc/rpc/auth.h: Likewise.
17004 * sunrpc/rpc/auth_unix.h: Likewise.
17005 * sunrpc/rpc/clnt.h: Likewise.
17006 * sunrpc/rpc/des_crypt.h: Likewise.
17007 * sunrpc/rpc/key_prot.h: Likewise.
17008 * sunrpc/rpc/netdb.h: Likewise.
17009 * sunrpc/rpc/pmap_clnt.h: Likewise.
17010 * sunrpc/rpc/pmap_prot.h: Likewise.
17011 * sunrpc/rpc/pmap_rmt.h: Likewise.
17012 * sunrpc/rpc/rpc.h: Likewise.
17013 * sunrpc/rpc/rpc_des.h: Likewise.
17014 * sunrpc/rpc/rpc_msg.h: Likewise.
17015 * sunrpc/rpc/svc.h: Likewise.
17016 * sunrpc/rpc/svc_auth.h: Likewise.
17017 * sunrpc/rpc/types.h: Likewise.
17018 * sunrpc/rpc/xdr.h: Likewise.
17019 * sunrpc/rpc_clntout.c: Likewise.
17020 * sunrpc/rpc_cmsg.c: Likewise.
17021 * sunrpc/rpc_common.c: Likewise.
17022 * sunrpc/rpc_cout.c: Likewise.
17023 * sunrpc/rpc_dtable.c: Likewise.
17024 * sunrpc/rpc_hout.c: Likewise.
17025 * sunrpc/rpc_main.c: Likewise.
17026 * sunrpc/rpc_parse.c: Likewise.
17027 * sunrpc/rpc_parse.h: Likewise.
17028 * sunrpc/rpc_prot.c: Likewise.
17029 * sunrpc/rpc_sample.c: Likewise.
17030 * sunrpc/rpc_scan.c: Likewise.
17031 * sunrpc/rpc_scan.h: Likewise.
17032 * sunrpc/rpc_svcout.c: Likewise.
17033 * sunrpc/rpc_tblout.c: Likewise.
17034 * sunrpc/rpc_util.c: Likewise.
17035 * sunrpc/rpc_util.h: Likewise.
17036 * sunrpc/rpcinfo.c: Likewise.
17037 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17038 * sunrpc/rpcsvc/key_prot.x: Likewise.
17039 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17040 * sunrpc/rpcsvc/mount.x: Likewise.
17041 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17042 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17043 * sunrpc/rpcsvc/rex.x: Likewise.
17044 * sunrpc/rpcsvc/rstat.x: Likewise.
17045 * sunrpc/rpcsvc/rusers.x: Likewise.
17046 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17047 * sunrpc/rpcsvc/spray.x: Likewise.
17048 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17049 * sunrpc/rtime.c: Likewise.
17050 * sunrpc/svc.c: Likewise.
17051 * sunrpc/svc_auth.c: Likewise.
17052 * sunrpc/svc_authux.c: Likewise.
17053 * sunrpc/svc_raw.c: Likewise.
17054 * sunrpc/svc_run.c: Likewise.
17055 * sunrpc/svc_simple.c: Likewise.
17056 * sunrpc/svc_tcp.c: Likewise.
17057 * sunrpc/svc_udp.c: Likewise.
17058 * sunrpc/svc_unix.c: Likewise.
17059 * sunrpc/svcauth_des.c: Likewise.
17060 * sunrpc/xcrypt.c: Likewise.
17061 * sunrpc/xdr.c: Likewise.
17062 * sunrpc/xdr_array.c: Likewise.
17063 * sunrpc/xdr_float.c: Likewise.
17064 * sunrpc/xdr_mem.c: Likewise.
17065 * sunrpc/xdr_rec.c: Likewise.
17066 * sunrpc/xdr_ref.c: Likewise.
17067 * sunrpc/xdr_sizeof.c: Likewise.
17068 * sunrpc/xdr_stdio.c: Likewise.
17070 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17073 2010-08-19 Andreas Schwab <schwab@redhat.com>
17075 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17077 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17079 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17080 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17081 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17082 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17083 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17084 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17085 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17086 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17087 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17088 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17089 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17090 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17091 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17092 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17094 2010-07-26 Anton Blanchard <anton@samba.org>
17096 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17097 * malloc/arena.c (heap_trim): Likewise.
17099 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17101 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17104 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17106 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17108 * sysdeps/i386/elf/Makefile: New file.
17110 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17112 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17113 from fanotify_init.
17114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17115 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17117 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17119 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17121 * sysdeps/multiarch/strcmp.S: Likewise.
17123 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17125 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17126 strncase_l-nonascii.
17127 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17128 Add strncase_l-ssse3.
17129 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17130 * sysdeps/x86_64/strcmp.S: Likewise.
17131 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17132 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17133 * sysdeps/x86_64/strncase.S: New file.
17134 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17135 * sysdeps/x86_64/strncase_l.S: New file.
17136 * string/Makefile (strop-tests): Add strncasecmp.
17137 * string/test-strncasecmp.c: New file.
17139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17142 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17143 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17145 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17147 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17149 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17151 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17152 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17153 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17155 2010-05-01 Alan Modra <amodra@gmail.com>
17157 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17158 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17159 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17160 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17161 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17162 tidying. Don't tail-call __sigjmp_save for static lib.
17163 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17165 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17166 (CALL_MCOUNT): Add eh info, and nop after bl.
17167 (TAIL_CALL_SYSCALL_ERROR): New macro.
17168 (PSEUDO_RET): Use it.
17169 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17170 Correct save location of integer regs and cr.
17171 (_dl_profile_resolve): Correct cr save location. Delete nops
17172 after bl when SHARED. Reduce cfi size a little by better
17173 placement of cfi directives.
17174 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17175 make a stack frame. Instead use parm save area as a temp.
17176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17177 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17179 Don't make a stack frame for parent, use parm save area.
17180 Increase child stack frame to 112 bytes. Don't save unused reg,
17181 and adjust reg usage. Set up cfi on error recovery and
17182 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17184 (__makecontext): Add dummy nop after jump to exit.
17185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17186 Use correct parm save area and cr save, reduce stack frame.
17187 Correct cfi for possible PSEUDO_RET frame setup.
17188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17189 Branch to local label emitted by PSEUDO_RET rather than
17192 2010-08-12 Andreas Schwab <schwab@redhat.com>
17195 * locale/programs/locale.c (print_assignment): New function.
17196 (show_locale_vars): Use it.
17198 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17200 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17202 (struct statfs64): Likewise.
17203 (_STATFS_F_FLAGS): Define.
17204 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17205 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17206 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17207 (ST_VALID): Define locally.
17208 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17209 __statvfs_getflags, use the provided value.
17210 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17211 __ASSUME_STATFS_F_FLAGS.
17213 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17215 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17216 Add sys/fanotify.h.
17217 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17218 fanotify_mask for GLIBC_2.13.
17219 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17220 fanotify_init and fanotify_mark.
17221 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17222 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17224 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17226 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17227 prlimit64 for GLIBC_2.13.
17228 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17233 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17234 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17235 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17238 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17241 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17242 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17244 * nss/Makefile: Add rules to build and run tst-nss-test1.
17245 * shlib-versions: Add entry for libnss_test1.
17246 * nss/nss_test1.c: New file.
17247 * nss/tst-nss-test1.c: New file.
17249 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17250 (__nss_configure_lookup): Set appropriate entry in
17251 __nss_configure_lookup to true.
17252 * nss/nsswitch.h: Define enum with indeces of databases in
17253 databases and __nss_database_custom arrays. Declare
17254 __nss_database_custom.
17255 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17256 to avoid using nscd when custom rules are installed.
17257 * nss/getXXbyYY_r.c: Likewise.
17258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17260 * nss/nss_files/files-parse.c: Whitespace fixes.
17262 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17265 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17266 * posix/fnmatch_loop.c: Likewise.
17268 2010-07-17 Andi Kleen <ak@linux.intel.com>
17270 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17271 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17272 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17273 * Versions.def [GLIBC_2.13]: Add.
17275 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17278 Also fail if tpwd after pwuid call is NULL.
17280 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17282 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17283 when converting to ms.
17285 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17287 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17288 EOPNOTSUPP errors with ENOTTY.
17289 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17290 EOPNOTSUPP errors with ENOTTY.
17292 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17294 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17295 Add strcasecmp_l-ssse3.
17296 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17298 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17299 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17300 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17302 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17304 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17306 * string/Makefile (strop-tests): Add strcasecmp.
17307 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17308 strcasecmp_l-nonascii.
17309 (gen-as-const-headers): Add locale-defines.sym.
17310 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17311 * sysdeps/x86_64/strcasecmp.S: New file.
17312 * sysdeps/x86_64/strcasecmp_l.S: New file.
17313 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17314 * sysdeps/x86_64/locale-defines.sym: New file.
17315 * string/test-strcasecmp.c: New file.
17317 * string/test-strcasestr.c: Test both ends of the range of characters.
17318 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17320 2010-07-29 Roland McGrath <roland@redhat.com>
17323 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17325 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17327 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17330 2010-07-27 Andreas Schwab <schwab@redhat.com>
17332 * manual/memory.texi (Malloc Tunable Parameters): Document
17335 2010-07-26 Roland McGrath <roland@redhat.com>
17338 * configure.in (-fgnu89-inline check): Set and substitute
17339 gnu89_inline, not libc_cv_gnu89_inline.
17340 * configure: Regenerated.
17341 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17343 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17345 * string/test-strnlen.c: New file.
17346 * string/Makefile (strop-tests): Add strnlen.
17347 * string/tester.c (test_strnlen): Add a few more test cases.
17348 * string/tst-strlen.c: Better error reporting.
17350 * sysdeps/x86_64/strnlen.S: New file.
17352 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17354 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17355 lower-latency instructions.
17357 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17359 * string/test-strcasestr.c: New file.
17360 * string/test-strstr.c: New file.
17361 * string/Makefile (strop-tests): Add strstr and strcasestr.
17362 * string/str-two-way.h: Don't undefine MAX.
17363 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17365 2010-07-21 Andreas Schwab <schwab@redhat.com>
17367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17368 strcasestr-nonascii.
17369 (CFLAGS-strcasestr-nonascii.c): Define.
17370 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17371 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17372 Remove unused attribute.
17374 2010-07-20 Roland McGrath <roland@redhat.com>
17376 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17377 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17378 ld.so.cache was broken. With it, there is no way to disable dsocaps
17379 like LD_HWCAP_MASK can disable hwcaps.
17381 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17383 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17385 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17387 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17388 call in strcasestr.
17389 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17390 __strcasestr_sse42_nonascii.
17391 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17392 strcasestr-nonascii.c.
17393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17395 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17397 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17398 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17399 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17400 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17402 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17404 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17407 2010-07-06 Andreas Schwab <schwab@redhat.com>
17410 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17413 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17415 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17416 _PC_PIPE_BUF using F_GETPIPE_SZ.
17418 2010-07-05 Roland McGrath <roland@redhat.com>
17420 * manual/arith.texi (Rounding Functions): Fix rint description
17421 implicit in round description.
17423 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17425 * elf/Makefile: Fix linking for a few tests to make recent linker
17428 2010-06-30 Andreas Schwab <schwab@redhat.com>
17430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17431 $(common-objpfx)libc_nonshared.a.
17433 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17435 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17436 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17437 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17438 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17439 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17440 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17441 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17442 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17457 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17458 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17459 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17460 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17461 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17462 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17463 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17464 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17465 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17466 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17467 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17468 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17484 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17486 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17487 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17488 * string/memmove.c (memmove): Renamed to ...
17489 (MEMMOVE): ...this. Default to memmove.
17490 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17491 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17494 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17495 mempcpy-ssse3-back memmove-ssse3-back.
17496 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17497 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17498 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17499 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17500 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17501 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17502 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17503 * sysdeps/x86_64/multiarch/memmove.c: New file.
17504 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17505 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17506 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17507 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17508 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17511 (index_Fast_Copy_Backward): Define.
17512 (HAS_ARCH_FEATURE): Define.
17513 (HAS_FAST_REP_STRING): Define.
17514 (HAS_FAST_COPY_BACKWARD): Define.
17516 2010-06-21 Andreas Schwab <schwab@redhat.com>
17518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17519 Restore proper fallback handling.
17521 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17524 * posix/group_member.c (__group_member): Correct checking loop.
17526 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17527 OOM in getpwuid_r correctly. Return error number when the caller
17528 should return, otherwise -1.
17529 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17530 call returning > 0 value.
17531 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17533 2010-06-07 Andreas Schwab <schwab@redhat.com>
17535 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17536 libc_nonshared.a from targets in modules-names.
17538 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17540 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17543 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17545 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17546 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17550 2010-06-02 Andreas Schwab <schwab@redhat.com>
17552 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17554 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17556 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17558 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17559 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17563 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17565 2010-06-14 Roland McGrath <roland@redhat.com>
17567 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17569 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17571 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17572 __REDIRECT followed by __THROW.
17573 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17574 * posix/getopt.h (getopt): Likewise.
17576 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17578 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17579 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17580 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17582 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17583 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17585 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17587 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17589 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17593 Properly check family and model.
17595 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17597 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17599 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17601 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17603 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17605 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17608 2010-05-19 Andreas Schwab <schwab@redhat.com>
17610 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17613 2010-05-21 Andreas Schwab <schwab@redhat.com>
17615 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17616 and internal_recvmmsg.
17617 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17618 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17619 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17620 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17622 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17623 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17624 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17626 2010-05-20 Andreas Schwab <schwab@redhat.com>
17628 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17630 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17632 POWER7 optimizations.
17633 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17634 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17636 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17638 * version.h: Update for 2.13 development version.
17640 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17642 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17643 exceptions. Return 0.
17645 2010-05-07 Roland McGrath <roland@redhat.com>
17647 * elf/ldconfig.c (main): Add a const.
17649 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17651 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17652 (args_options): Add no-idn option.
17653 (ahosts_keys_int): Add idn_flags to ai_flags.
17654 (parse_option): Handle 'i' option to clear idn_flags.
17656 * malloc/malloc.c (_int_free): Possible race in the most recently
17657 added check. Only act on the data if no current modification
17660 See ChangeLog.17 for earlier changes.