1 2012-08-02 Marek Polacek <polacek@redhat.com>
4 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5 libc_cv_asm_type_prefix with %.
6 * configure: Regenerated.
7 * include/libc-symbols.h: Remove comment about
8 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16 * elf/tst-unique2mod1.c: Likewise.
17 * elf/tst-unique1mod2.c: Likewise.
18 * elf/tst-unique1mod1.c: Likewise.
19 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21 Replace ASM_TYPE_DIRECTIVE with .type.
22 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23 * sysdeps/i386/sysdep.h: Likewise.
24 * sysdeps/x86_64/sysdep.h: Likewise.
25 * sysdeps/sh/sysdep.h: Likewise.
26 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27 Do not define ASM_TYPE_DIRECTIVE.
28 * sysdeps/powerpc/sysdep.h: Likewise.
29 * sysdeps/powerpc/powerpc32/sysdep.h:
30 Replace ASM_TYPE_DIRECTIVE with .type.
31 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33 * sysdeps/i386/fpu/e_powf.S: Likewise.
34 * sysdeps/i386/fpu/e_expl.S: Likewise.
35 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37 * sysdeps/i386/fpu/e_pow.S: Likewise.
38 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42 * sysdeps/i386/fpu/e_log2.S: Likewise.
43 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45 * sysdeps/i386/fpu/e_powl.S: Likewise.
46 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48 * sysdeps/i386/fpu/e_logl.S: Likewise.
49 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54 * sysdeps/i386/fpu/e_log.S: Likewise.
55 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56 * sysdeps/i386/fpu/e_logf.S: Likewise.
57 * sysdeps/i386/fpu/e_log10l.S: Likewise.
58 * sysdeps/i386/fpu/e_atanh.S: Likewise.
59 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60 * sysdeps/i386/fpu/e_log10.S: Likewise.
61 * sysdeps/i386/fpu/s_frexp.S: Likewise.
62 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63 * sysdeps/i386/fpu/s_asinh.S: Likewise.
64 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68 * sysdeps/i386/i686/strtok.S: Likewise.
69 * sysdeps/i386/i386-mcount.S: Likewise.
70 * sysdeps/i386/strtok.S: Likewise.
71 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
79 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80 * sysdeps/x86_64/_mcount.S: Likewise.
81 * sysdeps/x86_64/strtok.S: Likewise.
82 * sysdeps/sh/_mcount.S: Likewise.
84 2012-08-01 Roland McGrath <roland@hack.frob.com>
86 * libio/iofopen.c: Include <fcntl.h>.
87 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
88 (_IO_fopen64, fopen64): Define as aliases.
89 * libio/iofopen64.c: Include <fcntl.h>.
90 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
91 Conditionalize body on this.
92 * sysdeps/wordsize-64/iofopen.c: File removed.
93 * sysdeps/wordsize-64/iofopen64.c: File removed.
95 2012-08-01 Marek Polacek <polacek@redhat.com>
97 * libc/Makeconfig: Use elf in place of binfmt-subdir.
98 Use dlfcn directly instead of a variable.
99 (binfmt-subdir): Do not define.
102 2012-08-01 Joseph Myers <joseph@codesourcery.com>
104 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
105 Remove all definitions.
106 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
108 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
109 (miss_F_GETOWN_EX): Remove all definitions.
110 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
112 [!__ASSUME_FCNTL64]: Remove conditional code.
113 [__ASSUME_FCNTL64]: Make code unconditional.
114 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
116 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
117 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
118 (lockf64) [__NR_fcntl64]: Make code unconditional.
119 (lockf64) [__ASSUME_FCNTL64]: Likewise.
121 * sysdeps/unix/sysv/linux/kernel-features.h
122 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
123 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
124 Make code unconditional.
125 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
126 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
128 [__NR_vfork]: Make code unconditional.
129 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
130 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
132 [__NR_vfork]: Make code unconditional.
133 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
134 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
136 2012-08-01 Roland McGrath <roland@hack.frob.com>
138 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
139 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
141 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
142 Define mkstemp64 as an alias.
143 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
144 Define mkstemps64 as an alias.
145 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
146 Define mkostemp64 as an alias.
147 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
148 Define mkostemps64 as an alias.
149 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
150 Conditionalize body on this.
151 * misc/mkostemp64.c: Likewise.
152 * misc/mkostemps64.c: Likewise.
153 * misc/mkstemps64.c: Likewise.
154 * sysdeps/wordsize-64/mkstemp64.c: File removed.
155 * sysdeps/wordsize-64/mkostemp64.c: File removed.
156 * sysdeps/wordsize-64/mkostemp.c: File removed.
157 * sysdeps/wordsize-64/mkstemp.c: File removed.
158 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
159 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
160 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
161 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
164 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
165 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
166 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
167 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
169 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
170 compat_symbol macros from <shlib-compat.h> rather than the underlying
171 default_symbol_version and symbol_version macros, so that DEFAULT
172 lines in shlib-versions are respected.
173 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
175 2012-08-01 Florian Weimer <fweimer@redhat.com>
177 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
178 Declare with warn_unused_result.
179 (setgid, setregid, setegid, setresgid): Likewise.
180 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
182 * WUR-REPORT: Remove set*id functions.
184 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
186 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
188 2012-07-31 Roland McGrath <roland@hack.frob.com>
190 * include/sys/socket.h (__libc_accept, __libc_accept4):
191 Add attribute_hidden.
192 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
194 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
196 * inet/getnetgrent_r.c (setup): Likewise.
198 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
200 2012-07-31 David S. Miller <davem@davemloft.net>
202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
204 2012-07-31 Joseph Myers <joseph@codesourcery.com>
207 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
208 value between 1.0 and 2.0 and smaller part has absolute value less
210 * math/s_clog10.c (__clog10): Likewise.
211 * math/s_clog10f.c (__clog10f): Likewise.
212 * math/s_clog10l.c (__clog10l): Likewise.
213 * math/s_clogf.c (__clogf): Likewise.
214 * math/s_clogl.c (__clogl): Likewise.
215 * math/libm-test.inc (clog_test): Add more tests.
216 (clog10_test): Likewise.
217 * sysdeps/i386/fpu/libm-test-ulps: Update.
218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
220 2012-07-31 Florian Weimer <fweimer@redhat.com>
222 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
223 Exit with zero in case no suitable GID is found, and write a
224 message to standard error.
226 2012-07-30 Roland McGrath <roland@hack.frob.com>
228 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
230 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
231 (MAXPATHLEN): Removed.
232 (NOGROUP, NODEV): New macros.
233 (setbit, clrbit, isset, isclr): New macros.
234 (howmany, roundup, powerof2): New macros.
235 (DEV_BSIZE): New macro.
237 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
238 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
240 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
241 definition on [!__NO_LONG_DOUBLE_MATH].
243 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
244 PTR_MANGLE and PTR_DEMANGLE.
246 * socket/accept4.c (accept4): Rename to __libc_accept4.
247 Define accept4 as a weak alias.
249 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
250 on [_DIRENT_HAVE_D_TYPE].
251 * io/ftw.c (ftw_dir): Likewise.
253 * io/xmknod.c (__xmknod): Don't check PATH for being null.
255 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
257 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
258 Use the BSD numbers rather than the arbitrary ones we had.
259 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
260 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
261 (SIGXCPU, SIGXFSZ): New macros.
264 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
265 initializer on [_LIBC_REENTRANT].
267 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
268 definitions inside [_POSIX_MAPPED_FILES].
270 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
272 * dirent/opendir.c: Include <fcntl.h>.
274 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
275 (__libc_getspecific): Likewise.
276 (__libc_key_create): Likewise.
278 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
279 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
280 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
281 (tmpfile64): Define as alias.
282 * sysdeps/wordsize-64/tmpfile.c: File removed.
283 * sysdeps/wordsize-64/tmpfile64.c: File removed.
284 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
285 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
287 * stdio-common/vfscanf.c: Include <stdbool.h>.
288 * nss/makedb.c: Likewise.
289 * stdio-common/_i18n_number.h: Likewise.
290 * argp/argp-help.c: Likewise.
291 * posix/wordexp.c: Likewise.
292 * sysdeps/posix/spawni.c: Likewise.
293 * nss/nss_files/files-initgroups.c: Likewise.
294 * stdio-common/reg-modifier.c: Include <stdlib.h>.
295 * nss/nss_files/files-initgroups.c: Likewise.
296 * nss/nss_db/db-netgrp.c: Likewise.
297 * nss/nss_db/db-initgroups.c: Likewise.
298 * io/fchmodat.c: Include <sys/stat.h>.
300 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
301 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
303 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
306 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
307 Add multiple inclusion protection.
309 2012-07-27 David S. Miller <davem@davemloft.net>
311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
313 2012-07-27 Gary Benson <gbenson@redhat.com>
316 * elf/rtld.c: Include <stap-probe.h>.
317 (dl_main): Added static probes "init_start" and "init_complete".
318 * elf/dl-load.c: Include <stap-probe.h>.
319 (lose): Take new parameter "nsid".
320 Added static probe "map_failed".
321 (_dl_map_object_from_fd): Pass namespace id to lose.
322 Added static probe "map_start".
323 (open_verify): Pass namespace id to lose.
324 * elf/dl-open.c: Include <stap-probe.h>.
325 (dl_open_worker) Added static probes "map_complete", "reloc_start"
326 and "reloc_complete".
327 * elf/dl-close.c: Include <stap-probe.h>.
328 (_dl_close_worker): Added static probes "unmap_start" and
330 * elf/rtld-debugger-interface.txt: New file documenting the above.
332 2012-07-26 Roland McGrath <roland@hack.frob.com>
334 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
335 rather than a string variable.
336 * sunrpc/rpc_main.c (h_output): Likewise.
337 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
339 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
341 * inet/check_native.c: New file.
343 2012-07-26 Joseph Myers <joseph@codesourcery.com>
346 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
347 if larger part has absolute value 1.0.
348 * math/s_clog10.c (__clog10): Likewise.
349 * math/s_clog10f.c (__clog10f): Likewise.
350 * math/s_clog10l.c (__clog10l): Likewise.
351 * math/s_clogf.c (__clogf): Likewise.
352 * math/s_clogl.c (__clogl): Likewise.
353 * math/libm-test.inc (clog_test): Add more tests.
354 (clog10_test): Likewise.
355 * sysdeps/i386/fpu/libm-test-ulps: Update.
356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
358 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
361 (La_retval): Likewise.
362 (int_retval): Likewise.
363 Update #error for removed macros to refer only to definitions in
365 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
369 (La_retval): Likewise.
370 (int_retval): Likewise.
371 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
375 (La_retval): Likewise.
376 (int_retval): Likewise.
377 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
381 (La_retval): Likewise.
382 (int_retval): Likewise.
383 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
387 (La_retval): Likewise.
388 (int_retval): Likewise.
389 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
393 (La_retval): Likewise.
394 (int_retval): Likewise.
395 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
399 (La_retval): Likewise.
400 (int_retval): Likewise.
401 * sysdeps/generic/tst-audit.h: Update comment to refer only to
402 macro definitions in tst-audit.h.
403 * sysdeps/i386/tst-audit.h: New file.
404 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
405 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
406 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
407 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
408 * sysdeps/sh/tst-audit.h: Likewise.
409 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
410 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
411 * sysdeps/x86_64/tst-audit.h: Likewise.
413 2012-07-26 Andreas Jaeger <aj@suse.de>
415 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
418 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
419 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
420 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
422 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
423 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
424 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
426 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
429 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
431 (si_call_addr, si_syscall, si_arch): Define new macro.
432 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
434 (si_call_addr, si_syscall, si_arch): Define new marcro.
435 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
437 (si_call_addr, si_syscall, si_arch): Define new macro.
438 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
440 (si_call_addr, si_syscall, si_arch): Define new macro.
442 2012-07-25 Joseph Myers <joseph@codesourcery.com>
445 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
446 Change to 2.4.21 where previously 2.4.1.
447 * sysdeps/unix/sysv/linux/configure: Regenerated.
448 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
449 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
450 Linux kernel version.
451 (__ASSUME_STD_AUXV): Remove.
452 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
454 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
455 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
456 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
457 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
458 (__ASSUME_NETLINK_SUPPORT): Likewise.
459 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
460 (__no_netlink_support): Remove conditional definition.
461 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
463 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
464 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
465 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
466 (if_nameindex_ioctl): Remove.
467 (if_nameindex_netlink): Do not handle __no_netlink_support.
468 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
470 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
471 Remove conditional code.
472 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
474 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
476 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
477 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
478 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
480 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
481 [!__ASSUME_STD_AUXV]: Remove conditional code.
482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
483 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
484 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
486 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
487 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
489 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
491 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
492 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
494 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
496 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
499 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
502 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
504 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
506 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
508 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
511 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
513 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
516 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
518 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
520 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
522 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
525 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
527 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
529 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
531 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
534 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
536 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
537 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
538 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
539 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
540 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
541 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
542 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
543 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
544 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
545 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
546 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
547 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
548 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
549 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
550 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
551 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
552 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
553 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
554 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
556 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
557 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
558 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
560 2012-07-25 Florian Weimer <fweimer@redhat.com>
562 * Versions.def: Add GLIBC_2.17.
563 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
564 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
565 Introduce __libc_secure_getenv.
566 * stdlib/Versions (2.17): Add secure_getenv
567 (GLIBC_PRIVATE): Add __libc_secure_getenv.
568 * stdlib/secure-getenv.c: Rename __secure_getenv to
569 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
570 symbol __secure_getenv for GLIBC_2.0.
571 * stdlib/tst-secure-getenv.c: New.
572 * stdlib/Makefile (tests): Add testcase.
573 * manual/startup.texi (Environment Access): Document
575 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
576 __libc_secure_getenv.
577 * inet/ruserpass.c (ruserpass): Likewise.
578 * malloc/mtrace.c (mtrace): Likewise.
579 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
580 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
581 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
582 * sysdeps/posix/tempname.c: Likewise. Evaluate
584 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
585 __secure_getenv to __libc_secure_getenv.
586 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
599 2012-07-25 Joseph Myers <joseph@codesourcery.com>
601 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
602 (struct La_i86_retval): Likewise.
603 (struct La_x86_64_regs): Likewise.
604 (struct La_x86_64_retval): Likewise.
605 (struct La_x32_regs): Likewise.
606 (struct La_x32_retval): Likewise.
607 (struct La_ppc32_regs): Likewise.
608 (struct La_ppc32_retval): Likewise.
609 (struct La_ppc64_regs): Likewise.
610 (struct La_ppc64_retval): Likewise.
611 (struct La_sh_regs): Likewise.
612 (struct La_sh_retval): Likewise.
613 (struct La_s390_32_regs): Likewise.
614 (struct La_s390_32_retval): Likewise.
615 (struct La_s390_64_regs): Likewise.
616 (struct La_s390_64_retval): Likewise.
617 (struct La_sparc32_regs): Likewise.
618 (struct La_sparc32_retval): Likewise.
619 (struct La_sparc64_regs): Likewise.
620 (struct La_sparc64_retval): Likewise.
621 (struct audit_ifaces): Remove architecture-specific pltenter and
623 * sysdeps/i386/ldsodefs.h: New file.
624 * sysdeps/powerpc/ldsodefs.h: Likewise.
625 * sysdeps/s390/ldsodefs.h: Likewise.
626 * sysdeps/sh/ldsodefs.h: Likewise.
627 * sysdeps/sparc/ldsodefs.h: Likewise.
628 * sysdeps/x86_64/ldsodefs.h: Likewise.
630 2012-07-25 Marek Polacek <polacek@redhat.com>
633 * math/libm-test.inc (yn_test): Add another test.
634 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
635 to ERANGE when the result is +-Inf.
636 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
637 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
638 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
639 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
641 2012-07-24 Joseph Myers <joseph@codesourcery.com>
643 * conform/data/time.h-data (NULL): Use macro-constant. Require
645 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
647 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
649 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
651 * configure.in <sysdeps resolving>: Correct printing
653 * configure: Regenerate.
655 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
657 * math/w_ilogb.c: Include <limits.h>.
658 * math/w_ilogbl.c: Likewise.
660 2012-07-20 Joseph Myers <joseph@codesourcery.com>
662 * manual/lang.texi (__va_copy): Document primarily as ISO C99
663 va_copy. Document allowing for unavailable va_copy only as
664 pre-C99 compatibility.
665 * manual/string.texi (Copying and Concatenation): Use va_copy
666 instead of __va_copy in concat example.
668 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
670 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
671 (__sendto): Use create_address_port. Initialize APORT and deallocate
674 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
675 with O_NOLINK passed to __file_name_lookup.
677 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
678 with O_NOLINK passed to __file_name_lookup.
680 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
681 negative N or less than NGIDS.
683 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
684 type to string_t. Set ERANGE as errno and return it if NAME is not big
685 enough. Use memcpy instead of strncpy.
687 2012-07-20 Joseph Myers <joseph@codesourcery.com>
689 * elf/Makefile (check-data): Remove.
690 (localplt.data): New vpath directive.
691 ($(objpfx)check-localplt.out): Use localplt.data from vpath
692 instead of $(check-data).
693 * scripts/data/localplt-generic.data: Move to ...
694 * sysdeps/generic/localplt.data: ... here.
695 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
696 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
697 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
700 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
703 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
706 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
709 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
712 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
716 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
719 PPC32 and PPC64 files.
720 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
721 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
723 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
725 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
726 __makecontext_ret to ...
727 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
728 ... here and call exit if uc_link is NULL. New file.
729 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
731 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
732 __makecontext_ret to ...
733 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
734 ... here and call exit if uc_link is NULL. New file.
735 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
738 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
740 * elf/elf.h (R_390_IRELATIVE): New definition.
741 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
742 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
743 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
744 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
745 (elf_machine_lazy_rel): Likewise.
746 * sysdeps/s390/dl-irel.h: New file.
747 * sysdeps/s390/s390-64/memcpy.S: New asm code.
748 * sysdeps/s390/s390-64/memset.S: New asm code.
749 * sysdeps/s390/s390-64/memcmp.S: New asm code.
750 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
751 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
752 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
753 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
754 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
755 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
756 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
757 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
758 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
759 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
760 * sysdeps/s390/s390-32/memcpy.S: New asm code.
761 * sysdeps/s390/s390-32/memset.S: New asm code.
762 * sysdeps/s390/s390-32/memcmp.S: New asm code.
764 2012-07-17 Marek Polacek <polacek@redhat.com>
767 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
768 * sysdeps/s390/s390-64/configure.in: Likewise.
769 * sysdeps/sparc/configure.in: Likewise.
770 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
771 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
772 * sysdeps/i386/configure.in: Likewise.
773 * sysdeps/x86_64/configure.in: Likewise.
774 * sysdeps/sh/configure.in: Likewise.
775 * sysdeps/s390/s390-32/configure: Regenerated.
776 * sysdeps/s390/s390-64/configure: Likewise.
777 * sysdeps/x86_64/configure: Likewise.
778 * sysdeps/sh/configure: Likewise.
779 * sysdeps/powerpc/powerpc64/configure: Likewise.
780 * sysdeps/powerpc/powerpc32/configure: Likewise.
781 * sysdeps/sparc/configure: Likwise.
782 * sysdeps/i386/configure: Likewise.
784 * elf/dl-open.c: Comment fixes.
786 2012-07-17 Joseph Myers <joseph@codesourcery.com>
788 * Makefile [CXX] (check-data): Remove.
789 [CXX] (c++-types.data): New vpath directive.
790 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
791 vpath. Do not allow for C++ type data being missing.
792 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
793 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
794 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
795 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
796 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
797 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
798 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
801 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
804 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
807 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
810 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
813 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
816 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
819 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
822 * elf/tls-macros.h (TLS_LE): Move architecture-specific
823 definitions to architecture-specific files.
827 * sysdeps/i386/tls-macros.h: New file.
828 * sysdeps/powerpc/tls-macros.h: Likewise.
829 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
830 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
831 * sysdeps/sh/tls-macros.h: Likewise.
832 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
833 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
834 * sysdeps/x86_64/tls-macros.h: Likewise.
836 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
838 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
839 zero value for regular exit case.
841 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
842 (__start_context): Preserve zero value for regular exit case.
844 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
845 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
847 * manual/setjmp.texi (setcontext): Clarify normal process
848 termination when uc_link is the null pointer.
849 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
852 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
854 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
855 preprocessor. Test for each exception mask separately.
857 2012-07-16 Andreas Jaeger <aj@suse.de>
859 * po/ru.po: Update from translation team.
861 2012-07-15 Joseph Myers <joseph@codesourcery.com>
863 * conform/data/string.h-data (NULL): Use macro-constant. Require
865 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
866 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
867 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
868 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
871 2012-07-13 Andreas Jaeger <aj@suse.de>
873 * po/fr.po: Update from translation team.
875 2012-07-12 Marek Polacek <polacek@redhat.com>
878 * math/libm-test.inc (yn_test): Add test for BZ #14173.
879 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
882 2012-07-12 Joseph Myers <joseph@codesourcery.com>
885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
886 Change to 2.4.1 where previously 2.4.0.
887 * sysdeps/unix/sysv/linux/configure: Regenerated.
888 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
889 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
891 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
892 (__ASSUME_AT_CLKTCK): Remove.
893 (__ASSUME_AT_PAGESIZE): Likewise.
894 (__ASSUME_AT_XID): Likewise.
895 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
896 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
897 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
899 (HAVE_AUX_PAGESIZE): Likewise.
900 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
901 [__ASSUME_AT_CLKTCK]: Make code unconditional.
902 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
904 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
908 the temporary buffer used to invoke __gethostbyname2_r,
909 __gethostbyaddr_r and gethostbyname4_r to make room for struct
910 host_data / struct gaih_addrtuple.
911 * resolv/nss_dns/dns-host.c (global scope): Move definition of
912 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
913 header file nss/nsswitch.h.
914 * nss/nsswitch.h (global scope): Add definition of implementation
915 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
916 resolv/nss_dns/dns-host.c).
918 2012-07-11 Andreas Jaeger <aj@suse.de>
920 * po/fr.po: Update from translation team.
922 * po/sv.po: Update from translation team
923 * po/fr.po: Another update from translation team.
925 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
927 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
928 for subnormals or multiply small sinh result by itself.
929 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
932 2012-07-11 David S. Miller <davem@davemloft.net>
934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
936 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
939 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
940 (INTERNAL_MARK): Shift it here.
942 2012-07-10 Marek Polacek <polacek@redhat.com>
945 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
946 libc_cv_asm_global_directive with .globl.
947 * configure: Regenerated.
948 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
950 * sysdeps/i386/configure: Regenerated.
951 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
953 * sysdeps/x86_64/configure: Regenerated.
954 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
955 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
956 * elf/tst-unique2mod2.c: Likewise.
957 * elf/tst-unique2mod1.c: Likewise.
958 * elf/tst-unique1mod2.c: Likewise.
959 * elf/tst-unique1mod1.c: Likewise.
960 * sysdeps/s390/s390-32/sysdep.h: Likewise.
961 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
962 * sysdeps/s390/s390-64/sysdep.h: Likewise.
963 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
964 * sysdeps/mach/sysdep.h: Likewise.
965 * sysdeps/i386/sysdep.h: Likewise.
966 * sysdeps/i386/i386-mcount.S: Likewise.
967 * sysdeps/x86_64/_mcount.S: Likewise.
968 * sysdeps/x86_64/sysdep.h: Likewise.
969 * sysdeps/sh/_mcount.S: Likewise.
970 * sysdeps/sh/sysdep.h: Likewise.
971 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
972 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
973 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
974 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
975 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
976 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
977 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
978 * locale/localeinfo.h: Likewise.
979 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
980 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
982 2012-07-09 Roland McGrath <roland@hack.frob.com>
985 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
987 * manual/message.texi (The Uniforum approach): Likewise.
988 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
989 (glibc iconv Implementation): Likewise.
991 2012-07-09 Joseph Myers <joseph@codesourcery.com>
994 * math/s_clog.c (__clog): Avoid scaling a value down where that
995 could result in underflow.
996 * math/s_clog10.c (__clog10): Likewise.
997 * math/s_clog10f.c (__clog10f): Likewise.
998 * math/s_clog10l.c (__clog10l): Likewise.
999 * math/s_clogf.c (__clogf): Likewise.
1000 * math/s_clogl.c (__clogl): Likewise.
1001 * math/libm-test.inc (clog_test): Add more tests.
1002 (clog10_test): Likewise.
1003 * sysdeps/i386/fpu/libm-test-ulps: Update.
1004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1006 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1009 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1010 by 7 not 8 to examine high bit of fractional part.
1013 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1014 for call to __mcount_internal.
1015 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1016 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1017 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1019 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1022 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1023 approximation for values within 0x1p-13f of an odd multiple of
1025 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1026 exception. Add more tests.
1027 * sysdeps/i386/fpu/libm-test-ulps: Update.
1030 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1031 inputs and return -1 for them. Do not check for +Inf in case not
1033 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1034 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1035 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1036 and return -1 for them. Do not check for +Inf in case not
1038 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1040 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1041 and return -1 for them. Do not check for +Inf in case not
1043 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1045 * sysdeps/i386/fpu/libm-test-ulps: Update.
1046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1048 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1050 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1052 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1056 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1057 could result in spurious underflow. Scale down values above
1058 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1059 * math/s_csqrtf.c (__csqrtf): Likewise.
1060 * math/s_csqrtl.c (__csqrtl): Likewise.
1061 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1063 * sysdeps/i386/fpu/libm-test-ulps: Update.
1064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1066 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1068 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1070 * catgets/xopen-msg.awk: New file.
1071 * catgets/xopen-msg.sed: Removed.
1073 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1075 * intl/po2test.awk: New file.
1076 * intl/po2test.sed: Removed.
1078 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1081 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1082 or multiply small sinh result by itself.
1083 * math/s_ctanf.c (__ctanf): Likewise.
1084 * math/s_ctanh.c (__ctanh): Likewise.
1085 * math/s_ctanhf.c (__ctanhf): Likewise.
1086 * math/s_ctanhl.c (__ctanhl): Likewise.
1087 * math/s_ctanl.c (__ctanl): Likewise.
1088 * math/libm-test.inc (ctan_test_tonearest): New function.
1089 (ctan_test_towardzero): Likewise.
1090 (ctan_test_downward): Likewise.
1091 (ctan_test_upward): Likewise.
1092 (ctanh_test_tonearest): Likewise.
1093 (ctanh_test_towardzero): Likewise.
1094 (ctanh_test_downward): Likewise.
1095 (ctanh_test_upward): Likewise.
1096 (main): Call these new functions.
1097 * sysdeps/i386/fpu/libm-test-ulps: Update.
1098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1100 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1102 * .gitignore: Delete /ports entry.
1104 2012-07-03 Andreas Jaeger <aj@suse.de>
1106 * po/bg.po: Update from translation team.
1107 * po/cs.po: Likewise.
1108 * po/de.po: Likewise.
1109 * po/hr.po: Likewise.
1110 * po/nl.pl: Likewise.
1111 * po/pl.po: Likewise.
1112 * po/vi.po: Likewise.
1114 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1116 * Makeconfig [!+link] (+link-before-libc): New variable.
1117 [!+link] (+link-after-libc): Likewise.
1118 [!+link] (+link-tests): Likewise.
1119 [!+link] (+link): Define in terms of $(+link-before-libc) and
1120 $(+link-after-libc).
1121 [!+link-static] (+link-static-before-libc): New variable.
1122 [!+link-static] (+link-static-after-libc): Likewise.
1123 [!+link-static] (+link-static-tests): Likewise.
1124 [!+link-static] (+link-static): Define in terms of
1125 $(+link-static-before-libc) and $(+link-static-after-libc).
1126 [build-shared] (link-libc-before-gnulib): New variable.
1127 [build-shared] (link-libc-tests): Likewise.
1128 [build-shared] (link-libc): Define in terms of
1129 $(link-libc-before-gnulib).
1130 [!build-shared] (link-libc-tests): New variable.
1131 (link-libc-static-tests): New variable.
1132 [!gnulib] (gnulib-arch): New variable.
1133 [!gnulib] (gnulib-tests): Likewise.
1134 [!gnulib] (static-gnulib-arch): Likewise.
1135 [!gnulib] (static-gnulib-tests): Likewise.
1136 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1137 Define with "=" instead of ":=".
1138 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1139 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1140 * Rules (binaries-all-notests): New variable.
1141 (binaries-all-tests): Likewise.
1142 (binaries-static-notests): Likewise.
1143 (binaries-static-tests): Likewise.
1144 (binaries-all): Define using $(binaries-all-notests) and
1145 $(binaries-all-tests).
1146 (binaries-static): Define using $(binaries-static-notests) and
1147 $(binaries-static-tests).
1148 (binaries-shared-tests): New variable.
1149 (binaries-shared-notests): Likewise.
1150 (binaries-shared): Remove variable.
1151 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1152 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1153 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1154 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1155 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1156 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1157 * elf/Makefile (sln-modules): New variable.
1158 (extra-objs): Add $(sln-modules:=.o).
1159 (ldconfig-modules): Add static-stubs.
1160 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1161 * elf/static-stubs.c: New file.
1164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1165 by 7 not 8 to examine high bit of fractional part. Use volatile
1166 variables when splitting into final array of floats if
1167 __FLT_EVAL_METHOD__ != 0.
1168 * math/libm-test.inc (cos_test): Add another test.
1169 (sin_test): Likewise.
1170 * sysdeps/i386/fpu/libm-test-ulps: Update.
1173 * math/libm-test.inc (cosh_test): Add more tests.
1175 * version.h (RELEASE): Set to "development".
1176 (VERSION): Set to "2.16.90".
1178 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1180 * NEWS: Update copyright. Remove last-updated date.
1181 Mention math library bug fixes and timezone data changes.
1182 * README: Mention GNU/Hurd, x32, and HPPA support status.
1184 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1186 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1188 2012-06-27 Andreas Jaeger <aj@suse.de>
1190 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1192 2012-06-25 Andreas Jaeger <aj@suse.de>
1194 * sysdeps/s390/fpu/libm-test-ulps: Update.
1196 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1197 Thomas Schwinge <thomas@codesourcery.com>
1199 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1200 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1201 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1204 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1206 * sysdeps/mach/start.c: Remove file.
1207 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1208 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1209 * sysdeps/sh/init-first.c: Likewise.
1211 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1212 registers for frame unwinding purposes, add CFI directives.
1213 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1214 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1215 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1218 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1219 __fortify_fail returning.
1220 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1222 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1223 sysdeps/sh/____longjmp_chk.S.
1224 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1225 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1226 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1227 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1229 * sysdeps/sh/abort-instr.h: New file.
1230 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1231 process in case exit returns.
1233 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1234 initialize the GOT register before use.
1236 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1237 calculation of ARGC > 4.
1239 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1240 meaningful names to some local labels.
1242 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1243 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1245 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1246 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1247 (__arch_compare_and_exchange_val_16_acq): Likewise.
1248 (__arch_compare_and_exchange_val_32_acq): Likewise.
1249 (atomic_exchange_and_add): Fix gUSA sequence.
1250 (atomic_add): Likewise.
1251 (atomic_add_negative): Likewise.
1252 (atomic_add_zero): Likewise.
1253 (atomic_bit_test_set): Likewise.
1255 2012-06-22 Andreas Schwab <schwab@redhat.com>
1258 * include/link.h (struct link_map): Add l_free_initfini.
1259 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1261 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1262 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1263 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1266 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1268 * configure.in: Use AC_LANG_SOURCE.
1269 * configure: Regenerate.
1271 2012-06-22 Roland McGrath <roland@hack.frob.com>
1273 * configure.in (libc_cv_localstatedir): New substituted variable.
1274 * configure: Regenerated.
1275 * config.make.in (localstatedir): New variable, substituted from
1276 libc_cv_localstatedir.
1277 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1278 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1279 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1280 * sysdeps/gnu/configure: Regenerated.
1282 2012-06-21 Jeff Law <law@redhat.com>
1285 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1286 free. Simplify list management for _LIBC case.
1288 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1291 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1292 Clear sign bit of 64-bit integer value before comparing against
1295 * sysdeps/mach/configure: Regenerated.
1297 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1300 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1302 2012-06-21 Jeff Law <law@redhat.com>
1305 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1306 uint16_t for elements in the "seen" array to avoid char overflows.
1307 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1308 * elf/dl-open.c (dl_open_worker): Likewise.
1310 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1312 * scripts/list-sources.sh: Scan PORTS for translations.
1313 * po/libc.pot: Regenerated.
1315 2012-06-21 Andreas Jaeger <aj@suse.de>
1318 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1320 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1321 * bits/byteswap-16.h (__bswap_16): Likewise.
1322 * bits/byteswap.h (__bswap_constant_16): Likewise.
1324 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1327 * sysdeps/i386/fpu_control.h: Removed.
1328 * sysdeps/x86_64/fpu_control.h: Moved to ...
1329 * sysdeps/x86/fpu_control.h: Here.
1331 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1332 (_FPU_SETCW): Likewise.
1334 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1337 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1338 * sysdeps/x86/fpu/bits/mathinline.h: This.
1339 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1343 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1344 functions if __x86_64__ is defined.
1346 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1348 * string/endian.h: Add !__ASSEMBLER__ condition for including
1349 conversion interfaces.
1351 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1355 of ABS(x) in calculating zero to negative powers other than odd
1357 * math/libm-test.inc (pow_test): Add more tests.
1359 2012-06-15 Andreas Jaeger <aj@suse.de>
1361 * manual/contrib.texi (Contributors): Update entry of Liubov
1362 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1365 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1367 * string/string.h: Add __wur to GNU version of strerror_r.
1369 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1372 * string/Makefile (tests): Add tst-strtok_r.
1373 * string/tst-strtok_r.c: New file.
1374 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1375 RAX_LP/RDX_LP on SAVE_PTR.
1377 2012-06-14 Roland McGrath <roland@hack.frob.com>
1379 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1381 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1383 * libm_test.inc (csqrt_test): Allow more spurious underflow
1385 (j0_test): Likewise.
1386 (j1_test): Likewise.
1387 (y0_test): Likewise.
1388 (y1_test): Likewise.
1390 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1392 * po/Makefile (libc.pot): Use UTF-8 charset.
1394 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1397 Suppress sign-conversion warning from FD_SET.
1398 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1399 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1400 not unsigned long int.
1401 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1403 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1407 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1408 __extern_always_inline instead of __extern_inline.
1409 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1410 (__signbit): Likewise.
1411 (__signbitl): Support C++ namespace.
1412 (lrintf): New inline function.
1414 (llrintf): Likewise.
1426 (nearbyint): Likewise.
1427 (nearbyintf): Likewise.
1429 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1431 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1432 non-default versions.
1434 2012-06-11 Roland McGrath <roland@hack.frob.com>
1437 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1439 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1441 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1442 (FE_UPWARD, FE_DOWNWARD): Don't define.
1443 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1444 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1446 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1448 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1449 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1451 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1453 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1455 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1456 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1458 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1461 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1462 * sysdeps/i386/fpu/Implies: New file.
1463 * sysdeps/x86_64/fpu/Implies: Likewise.
1464 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1465 * sysdeps/x86/fpu/bits/fenv.h: This.
1467 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1470 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1473 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1474 character 0xffff that matches the last element of the
1477 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1479 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1482 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1485 values higher than 25.6283.
1487 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1489 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1490 subnormal exponent extraction and add some __builtin_expect.
1491 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1492 Fix for subnormal mantissa calculation.
1494 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1496 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1497 cpu2 is -1 and errno is not ENOSYS.
1499 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1502 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1503 * sysdeps/x86/bits/string.h: This.
1504 * sysdeps/x86_64/bits/string.h: Removed.
1506 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1507 if not compiling for x86-64, but compiling for >= i486.
1509 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1510 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1512 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1513 New macro from Linux kernel 3.4.0.
1514 (FP_XSTATE_MAGIC2): Likewise.
1515 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1516 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1517 (struct _fpx_sw_bytes): New struct.
1518 (struct _xsave_hdr): Likewise.
1519 (struct _ymmh_state): Likewise.
1520 (struct _xstate): Likewise.
1522 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1523 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1524 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1525 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1526 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1527 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1529 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1530 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1531 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1532 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1533 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1534 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1536 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1539 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1540 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1541 (sysdep_headers): Include sys/platform/ppc.h.
1542 * sysdeps/powerpc/test-gettimebase.c: Test for
1543 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1544 * manual/Makefile (appendices): Include platform.texi.
1545 * manual/contrib.texi (Contributors): Update @node pointers.
1546 * manual/maint.texi (Maintenance): Likewise.
1547 (Platform): New node.
1548 * manual/platform.texi: New file. Document the new features.
1550 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1551 Jakub Jelinek <jakub@redhat.com>
1554 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1555 where __builtin_expect is unavailable.
1557 2012-06-03 David S. Miller <davem@davemloft.net>
1559 * stdlib/longlong.h: Updated from GCC.
1561 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1564 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1565 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1568 (GLIBC_2.16): Likewise.
1570 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1572 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1574 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1577 (default-abi): New variable.
1578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1579 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1581 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1583 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1585 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1588 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1589 definition. Document in comment.
1591 2012-06-01 David S. Miller <davem@davemloft.net>
1593 * stdlib/longlong.h: Updated from GCC.
1595 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1598 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1599 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1600 sys/debugreg.h sys/io.h here.
1601 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1602 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1604 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1605 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1606 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1607 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1608 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1609 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1611 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1612 Define only if __x86_64__ is defined.
1614 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1617 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1618 Use int64_t for variable i.
1619 * math/libm-test.inc (fmod_test): Add more tests.
1621 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1622 z computation is not scheduled after fetestexcept.
1623 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1624 Use math_force_eval instead of asm to ensure calculation scheduled
1625 before exception test.
1626 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1627 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1629 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1632 computation is not scheduled after fetestexcept.
1634 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1637 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1638 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1640 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1643 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1645 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1648 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1650 (__WCHAR_MIN): Support __WORDSIZE == 64.
1651 (__WCHAR_MAX): Likewise.
1653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1654 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1657 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1658 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1661 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1662 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1664 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1665 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1667 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1668 Defined to 1 if __x86_64__ isn't defined.
1669 (_STAT_VER_LINUX_OLD): New.
1670 (st_atime): Remove duplicate.
1671 (st_mtime): Likewise.
1672 (st_ctime): Likewise.
1674 2012-05-31 David S. Miller <davem@davemloft.net>
1676 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1679 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1681 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1685 * elf/dl-reloc.c: Include <_itoa.h>.
1686 (_dl_reloc_bad_type): Remove use of INTUSE.
1687 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1688 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1689 * stdio-common/psiginfo.c (psiginfo): Likewise.
1690 * stdio-common/psignal.c (psignal): Likewise.
1691 * string/strsignal.c (strsignal): Likewise.
1692 * include/signal.h (_sys_siglist): Declare hidden proto.
1693 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1694 INTVARDEF with libc_hidden_data_def.
1695 * stdio-common/itoa-udigits.c: Likewise.
1696 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1697 (_itoa_lower_digits_internal): Remove declaration.
1698 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1699 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1700 (_sys_sigabbrev_internal): Remove aliases.
1701 (_sys_siglist): Define hidden alias.
1703 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1708 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1711 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1712 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1714 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1715 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1716 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1717 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1719 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1721 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1722 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1723 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1725 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1733 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1734 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1735 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1737 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1738 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1740 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1741 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1742 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1744 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1745 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1747 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1748 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1750 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1751 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1752 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1754 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1755 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1757 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1759 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1760 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1761 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1763 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1765 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1767 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1769 * math/math.h (M_El): Use two more decimal places.
1770 (M_LOG2El): Likewise.
1771 (M_LOG10El): Likewise.
1773 (M_LN10l): Likewise.
1775 (M_PI_2l): Likewise.
1776 (M_PI_4l): Likewise.
1777 (M_1_PIl): Likewise.
1778 (M_2_PIl): Likewise.
1779 (M_2_SQRTPIl): Likewise.
1780 (M_SQRT2l): Likewise.
1781 (M_SQRT1_2l): Likewise.
1783 2012-05-31 David S. Miller <davem@davemloft.net>
1785 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1786 values between float registers.
1787 * sysdeps/sparc/sparc64/memset.S: Likewise.
1788 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1790 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1792 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1793 -D_FORTIFY_SOURCE=1.
1794 (CPPFLAGS-tst-longjmp_chk.c): Define.
1795 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1796 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1797 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1798 CFLAGS-tst-wchar-h.c.
1800 2012-05-31 Marek Polacek <polacek@redhat.com>
1803 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1804 __endmntent_internal): Remove declaration.
1805 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1806 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1807 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1809 2012-05-30 David S. Miller <davem@davemloft.net>
1811 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1812 (___Q_simulate_exceptions): Use real FP ops rather than writing
1814 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1817 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1820 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1821 * sysdeps/x86/bits/xtitypes.h: This.
1823 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1824 * sysdeps/x86/bits/wordsize.h: This.
1826 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1827 * sysdeps/x86/bits/huge_vall.h: This.
1829 * sysdeps/i386/bits/select.h: Removed.
1830 * sysdeps/x86_64/bits/select.h: Renamed to ...
1831 * sysdeps/x86/bits/select.h: This.
1833 * sysdeps/i386/bits/setjmp.h: Removed.
1834 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1835 * sysdeps/x86/bits/setjmp.h: This.
1837 * sysdeps/i386/bits/mathdef.h: Removed.
1838 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1839 * sysdeps/x86/bits/mathdef.h: This.
1841 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1844 * include/sys/socket.h (__connect_internal)
1845 (__libc_sa_len_internal): Remove declaration.
1846 (__connect, __libc_sa_len): Declare hidden_proto.
1847 (SA_LEN): Remove use of INTUSE.
1848 * socket/connect.c: Add libc_hidden_def.
1849 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1850 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1851 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1853 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1854 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1855 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1856 of adding _internal alias.
1858 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1861 * sysdeps/i386/bits/link.h: Removed.
1862 * sysdeps/i386/bits/linkmap.h: Likewise.
1863 * sysdeps/x86_64/bits/link.h: Renamed to ...
1864 * sysdeps/x86/bits/link.h: This.
1865 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1866 * sysdeps/x86/bits/linkmap.h: This.
1868 * sysdeps/i386/bits/endian.h: Removed.
1869 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1870 * sysdeps/x86/bits/endian.h: This.
1872 * sysdeps/i386/bits/byteswap.h: Removed.
1873 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1874 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1875 * sysdeps/x86/bits/byteswap.h: This.
1876 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1877 * sysdeps/x86/bits/byteswap-16.h: This.
1878 * sysdeps/i386/Implies: Add x86.
1879 * sysdeps/x86_64/Implies: Likewise.
1881 2012-05-30 David S. Miller <davem@davemloft.net>
1883 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1884 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1885 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1886 (FP_TRAPPING_EXCEPTIONS): Define.
1887 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1888 (FP_TRAPPING_EXCEPTIONS): Define.
1889 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1890 subnormals only when inexact has been signalled or underflow
1891 exceptions are enabled.
1892 (_FP_PACK_CANONICAL): Likewise.
1894 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1897 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1898 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1900 2012-05-30 Richard Henderson <rth@twiddle.net>
1902 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1903 with #ifndef NOT_IN_libc.
1905 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1906 marked to avoid plt entry.
1908 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1911 * Makeconfig (default-abi): New macro.
1912 (abi-includes): Likewise.
1913 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1914 $(abi-$(default-abi)-lib-soname) for soname if defined.
1915 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1917 * Makefile (installed-stubs): Likewise.
1918 * include/stubs-biarch.h: Removed.
1919 * scripts/lib-names.awk: Only handle one library at a time.
1920 * scripts/soversions.awk: Remove WORDSIZE support.
1921 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1923 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1925 (syscall-list-default-condition): Likewise.
1926 (syscall-list-default-condition): Likewise.
1927 (syscall-list-includes): Likewise.
1928 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1929 syscall-list-* with abi-*. Handle undefined abi-variants.
1930 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1931 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1932 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1933 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1934 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1935 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1937 (syscall-list-32-options): Likewise.
1938 (syscall-list-32-condition): Likewise.
1939 (syscall-list-64-options): Likewise.
1940 (syscall-list-64-condition): Likewise.
1941 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1943 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1946 (abi-64-ld-soname): New macro.
1947 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1948 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1951 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1952 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1954 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1956 * sysdeps/unix/sysv/linux/kernel-features.h
1957 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1958 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1959 include <kernel-features.h>.
1960 [!__NR_ftruncate64]: Remove conditional code.
1961 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1962 [__NR_ftruncate64]: Make code unconditional.
1963 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1964 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1965 include <kernel-features.h>.
1966 [!__NR_ftruncate64]: Remove conditional code.
1967 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1968 [__NR_ftruncate64]: Make code unconditional.
1969 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1971 include <kernel-features.h>.
1972 [!__NR_ftruncate64]: Remove conditional code.
1973 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1974 [__NR_ftruncate64]: Make code unconditional.
1975 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1977 include <kernel-features.h>.
1978 [!__NR_ftruncate64]: Remove conditional code.
1979 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1980 [__NR_ftruncate64]: Make code unconditional.
1981 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1983 * configure.in (libc_cv_fpie): Weaken to a compile test using
1985 * configure: Regenerated.
1987 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2002 2012-05-27 David S. Miller <davem@davemloft.net>
2004 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2006 (__Q_simulate_exceptions): Return void. Change to simulate
2007 exceptions by writing into the %fsr.
2008 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2009 (__Qp_handle_exceptions): Likewise.
2011 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2012 __Qp_handle_exceptions.
2013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2014 __Qp_handle_exceptions.
2015 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2016 as unused and give dummy FP_RND_NEAREST initializer.
2017 (FP_INHIBIT_RESULTS): Define.
2018 (___Q_simulate_exceptions): Update declaration.
2019 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2021 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2022 as unused and give dummy FP_RND_NEAREST initializer.
2023 (__Qp_handle_exceptions): Update declaration.
2024 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2027 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2029 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2030 the temporary FPU control word.
2031 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2032 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2033 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2034 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2035 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2036 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2037 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2038 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2039 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2040 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2041 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2043 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2045 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2048 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2050 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2051 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2052 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2053 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2055 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2056 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2059 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2061 * po/h.po: Update from translation team.
2063 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2065 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2067 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2068 handling of denormals.
2069 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2070 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2071 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2072 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2074 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2078 2012-05-26 Marek Polacek <polacek@redhat.com>
2081 * math/libm-test.inc (fma_test): Don't always expect underflow
2084 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2087 * elf/tst-execstack.c: Include stackinfo.h.
2088 (do_test): Adjust test case to ensure that pthread_getattr_np
2089 behaviour remains the same after marking stack executable.
2091 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2093 * sysdeps/unix/sysv/linux/kernel-features.h
2094 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2095 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2097 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2098 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2099 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2101 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2102 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2104 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2106 * configure.in: Define the default includes to being none.
2107 * configure: Regenerated.
2109 2012-05-25 Roland McGrath <roland@hack.frob.com>
2111 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2112 * sysdeps/x86_64/setjmp.S: Likewise.
2113 * sysdeps/i386/bsd-setjmp.S: Likewise.
2114 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2115 * sysdeps/i386/setjmp.S: Likewise.
2116 * sysdeps/i386/__longjmp.S: Likewise.
2117 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2118 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2120 * include/stap-probe.h: New file.
2121 * configure.in: Handle --enable-systemtap.
2122 * configure: Regenerated.
2123 * config.h.in (USE_STAP_PROBE): New #undef.
2124 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2125 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2126 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2128 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2131 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2132 to 2.4.0 where earlier.
2133 * sysdeps/unix/sysv/linux/configure: Regenerated.
2134 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2135 <kernel-features.h>.
2136 [__ASSUME_32BITUIDS]: Make code unconditional.
2137 [!__ASSUME_32BITUIDS]: Remove conditional code.
2138 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2139 <kernel-features.h>.
2140 [__ASSUME_32BITUIDS]: Make code unconditional.
2141 [!__ASSUME_32BITUIDS]: Remove conditional code.
2142 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2143 [__ASSUME_32BITUIDS]: Make code unconditional.
2144 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2145 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2146 <kernel-features.h>.
2147 [__ASSUME_32BITUIDS]: Make code unconditional.
2148 [!__ASSUME_32BITUIDS]: Remove conditional code.
2149 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2150 <kernel-features.h>.
2151 [__ASSUME_32BITUIDS]: Make code unconditional.
2152 [!__ASSUME_32BITUIDS]: Remove conditional code.
2153 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2154 <kernel-features.h>.
2155 [__ASSUME_32BITUIDS]: Make code unconditional.
2156 [!__ASSUME_32BITUIDS]: Remove conditional code.
2157 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2158 <kernel-features.h>.
2159 [__ASSUME_32BITUIDS]: Make code unconditional.
2160 [!__ASSUME_32BITUIDS]: Remove conditional code.
2161 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2162 <kernel-features.h>.
2163 [__ASSUME_32BITUIDS]: Make code unconditional.
2164 [!__ASSUME_32BITUIDS]: Remove conditional code.
2165 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2166 <kernel-features.h>.
2167 [__ASSUME_32BITUIDS]: Make code unconditional.
2168 [!__ASSUME_32BITUIDS]: Remove conditional code.
2169 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2170 <kernel-features.h>.
2171 [__ASSUME_32BITUIDS]: Make code unconditional.
2172 [!__ASSUME_32BITUIDS]: Remove conditional code.
2173 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2174 <kernel-features.h>.
2175 [__ASSUME_32BITUIDS]: Make code unconditional.
2176 [!__ASSUME_32BITUIDS]: Remove conditional code.
2177 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2178 <kernel-features.h>.
2179 [__ASSUME_32BITUIDS]: Make code unconditional.
2180 [!__ASSUME_32BITUIDS]: Remove conditional code.
2181 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2182 <kernel-features.h>.
2183 [__ASSUME_32BITUIDS]: Make code unconditional.
2184 [!__ASSUME_32BITUIDS]: Remove conditional code.
2185 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2186 <kernel-features.h>.
2187 [__NR_setresgid] (__setresgid): Do not declare.
2188 [__ASSUME_32BITUIDS]: Make code unconditional.
2189 [!__ASSUME_32BITUIDS]: Remove conditional code.
2190 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2191 <kernel-features.h>.
2192 [__NR_setresuid] (__setresuid): Do not declare.
2193 [__ASSUME_32BITUIDS]: Make code unconditional.
2194 [!__ASSUME_32BITUIDS]: Remove conditional code.
2195 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2196 <kernel-features.h>.
2197 [__ASSUME_32BITUIDS]: Make code unconditional.
2198 [!__ASSUME_32BITUIDS]: Remove conditional code.
2199 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2200 <kernel-features.h>.
2201 [__ASSUME_32BITUIDS]: Make code unconditional.
2202 [!__ASSUME_32BITUIDS]: Remove conditional code.
2203 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2204 <kernel-features.h>.
2205 [__ASSUME_32BITUIDS]: Make code unconditional.
2206 [!__ASSUME_32BITUIDS]: Remove conditional code.
2207 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2208 <kernel-features.h>.
2209 [__ASSUME_32BITUIDS]: Make code unconditional.
2210 [!__ASSUME_32BITUIDS]: Remove conditional code.
2211 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2212 <kernel-features.h>.
2213 [__ASSUME_32BITUIDS]: Make code unconditional.
2214 [!__ASSUME_32BITUIDS]: Remove conditional code.
2215 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2216 <kernel-features.h>.
2217 [__ASSUME_32BITUIDS]: Make code unconditional.
2218 [!__ASSUME_32BITUIDS]: Remove conditional code.
2219 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2220 <kernel-features.h>.
2221 [__ASSUME_32BITUIDS]: Make code unconditional.
2222 [!__ASSUME_32BITUIDS]: Remove conditional code.
2223 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2224 <kernel-features.h>.
2225 [__ASSUME_32BITUIDS]: Make code unconditional.
2226 [!__ASSUME_32BITUIDS]: Remove conditional code.
2227 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2228 <kernel-features.h>.
2229 [__ASSUME_32BITUIDS]: Make code unconditional.
2230 [!__ASSUME_32BITUIDS]: Remove conditional code.
2231 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2232 <kernel-features.h>.
2233 [__ASSUME_32BITUIDS]: Make code unconditional.
2234 [!__ASSUME_32BITUIDS]: Remove conditional code.
2235 * sysdeps/unix/sysv/linux/kernel-features.h
2236 (__ASSUME_SETRESUID_SYSCALL): Remove.
2237 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2238 (__ASSUME_32BITUIDS): Likewise.
2239 (__ASSUME_LDT_WORKS): Likewise.
2240 (__ASSUME_O_DIRECTORY): Likewise.
2241 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2242 architecture but not kernel version.
2243 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2244 (__ASSUME_MMAP2_SYSCALL): Likewise.
2245 (__ASSUME_STAT64_SYSCALL): Likewise.
2246 (__ASSUME_IPC64): Likewise.
2247 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2248 <kernel-features.h>.
2249 [__ASSUME_32BITUIDS]: Make code unconditional.
2250 [!__ASSUME_32BITUIDS]: Remove conditional code.
2251 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2252 <kernel-features.h>.
2253 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2254 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2255 132096]: Remove conditional code.
2256 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2257 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2258 <kernel-features.h>.
2259 [__ASSUME_32BITUIDS]: Make code unconditional.
2260 [!__ASSUME_32BITUIDS]: Remove conditional code.
2261 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2262 <kernel-features.h>.
2263 [__ASSUME_32BITUIDS]: Make code unconditional.
2264 [!__ASSUME_32BITUIDS]: Remove conditional code.
2265 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2266 <kernel-features.h>.
2267 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2269 (__setresgid): Do not declare.
2270 [__ASSUME_32BITUIDS]: Make code unconditional.
2271 [!__ASSUME_32BITUIDS]: Remove conditional code.
2272 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2273 <kernel-features.h>.
2274 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2276 (__setresuid): Do not declare.
2277 [__ASSUME_32BITUIDS]: Make code unconditional.
2278 [!__ASSUME_32BITUIDS]: Remove conditional code.
2279 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2280 <kernel-features.h>.
2281 [__ASSUME_32BITUIDS]: Make code unconditional.
2282 [!__ASSUME_32BITUIDS]: Remove conditional code.
2283 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2284 <kernel-features.h>.
2285 [__ASSUME_32BITUIDS]: Make code unconditional.
2286 [!__ASSUME_32BITUIDS]: Remove conditional code.
2288 2012-05-25 Richard Henderson <rth@twiddle.net>
2290 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2291 dl_hwcap to ifunc resolver.
2292 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2294 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2295 dl_hwcap to ifunc resolver.
2296 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2298 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2301 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2302 for |x| <= 2**-26, not 2**-57.
2303 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2306 2012-05-24 Jeff Law <law@redhat.com>
2308 * stdio-common/Makefile (tests): Add bug25.
2309 * stdio-common/bug25.c: New test.
2311 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2314 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2315 multiple of MALLOC_ALIGNMENT in size.
2316 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2318 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2320 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2322 (FILENAME_MAX): Use macro-int-constant.
2323 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2324 (_IOFBF): Use macro-int-constant.
2327 (SEEK_CUR): Likewise.
2328 (SEEK_END): Likewise.
2329 (SEEK_SET): Likewise.
2330 (TMP_MAX): Likewise.
2331 (EOF): Use macro-int-constant. Require < 0.
2332 (NULL): Use macro-constant. Require == 0.
2333 (stdin): Require type to be FILE *.
2336 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2338 (EXIT_SUCCESS): Likewise.
2339 (NULL): Use macro-constant. Require == 0.
2340 (RAND_MAX): Use macro-int-constant.
2341 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2342 [C99-based standards] (strtof): Require function.
2343 [C99-based standards] (strtold): Likewise.
2344 [C99-based standards] (strtoll): Likewise.
2345 [C99-based standards] (strtoull): Likewise.
2346 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2347 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2348 [ISO || ISO99 || ISO11] (math.h): Likewise.
2349 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2350 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2353 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2356 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2357 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2358 * intl/dgettext.c (DCGETTEXT): Likewise.
2359 * intl/gettext.c (DCGETTEXT): Likewise.
2360 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2361 * posix/regex_internal.h (gettext): Likewise.
2362 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2364 * include/argz.h (__argz_count_internal)
2365 (__argz_stringify_internal): Remove declaration.
2366 (__argz_count, __argz_stringify): Declare hidden proto.
2367 * intl/dcgettext.c: Remove use of INTDEF.
2368 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2369 * string/argz-stringify.c: Likewise.
2370 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2371 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2372 Declare hidden proto.
2373 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2374 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2375 Declare hidden proto.
2376 * include/stdio.h (__asprintf_internal): Don't declare.
2377 (__asprintf): Don't define as macro. Declare hidden proto.
2378 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2379 (__fsetlocking): Declare hidden proto.
2380 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2381 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2383 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2384 (_IO_setlinebuf): Remove use of INTUSE.
2385 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2386 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2387 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2389 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2390 (_IO_do_flush): Remove use of INTUSE.
2391 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2392 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2393 (_IO_adjust_column, _IO_least_wmarker)
2394 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2395 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2396 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2397 (_IO_default_doallocate, _IO_wdefault_doallocate)
2398 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2399 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2400 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2401 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2402 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2403 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2404 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2405 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2406 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2407 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2408 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2409 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2410 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2412 (_IO_flush_all_internal, _IO_adjust_column_internal)
2413 (_IO_default_uflow_internal, _IO_default_finish_internal)
2414 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2415 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2416 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2417 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2418 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2419 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2420 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2421 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2422 (_IO_file_close_internal, _IO_file_close_it_internal)
2423 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2424 (_IO_file_init_internal, _IO_file_attach_internal)
2425 (_IO_file_fopen_internal, _IO_file_read_internal)
2426 (_IO_file_sync_internal, _IO_file_seek_internal)
2427 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2428 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2429 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2430 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2431 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2432 (_IO_list_all_internal, _IO_link_in_internal)
2433 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2434 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2435 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2436 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2437 (_IO_do_write_internal, _IO_padn_internal)
2438 (_IO_getline_info_internal, _IO_getline_internal)
2439 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2440 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2441 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2442 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2443 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2444 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2445 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2446 with libc_hidden_ver, remove use of INTUSE.
2447 * libio/genops.c: Likewise.
2448 * libio/freopen.c: Likewise.
2449 * libio/freopen64.c: Likewise.
2450 * libio/iofclose.c: Likewise.
2451 * libio/iofdopen.c: Likewise.
2452 * libio/iofflush.c: Likewise.
2453 * libio/iofflush_u.c: Likewise.
2454 * libio/iofgets.c: Likewise.
2455 * libio/iofgets_u.c: Likewise.
2456 * libio/iofopen.c: Likewise.
2457 * libio/iofopncook.c: Likewise.
2458 * libio/iofread.c: Likewise.
2459 * libio/iofread_u.c: Likewise.
2460 * libio/ioftell.c: Likewise.
2461 * libio/iofwrite.c: Likewise.
2462 * libio/iogetline.c: Likewise.
2463 * libio/iogets.c: Likewise.
2464 * libio/iogetwline.c: Likewise.
2465 * libio/iopadn.c: Likewise.
2466 * libio/iopopen.c: Likewise.
2467 * libio/ioseekoff.c: Likewise.
2468 * libio/ioseekpos.c: Likewise.
2469 * libio/iosetbuffer.c: Likewise.
2470 * libio/iosetvbuf.c: Likewise.
2471 * libio/ioungetc.c: Likewise.
2472 * libio/ioungetwc.c: Likewise.
2473 * libio/iovdprintf.c: Likewise.
2474 * libio/iovsprintf.c: Likewise.
2475 * libio/iovsscanf.c: Likewise.
2476 * libio/memstream.c: Likewise.
2477 * libio/obprintf.c: Likewise.
2478 * libio/oldfileops.c: Likewise.
2479 * libio/oldiofclose.c: Likewise.
2480 * libio/oldiofdopen.c: Likewise.
2481 * libio/oldiofopen.c: Likewise.
2482 * libio/oldiopopen.c: Likewise.
2483 * libio/oldstdfiles.c: Likewise.
2484 * libio/putc.c: Likewise.
2485 * libio/setbuf.c: Likewise.
2486 * libio/setlinebuf.c: Likewise.
2487 * libio/stdfiles.c: Likewise.
2488 * libio/strops.c: Likewise.
2489 * libio/vasprintf.c: Likewise.
2490 * libio/vscanf.c: Likewise.
2491 * libio/vsnprintf.c: Likewise.
2492 * libio/vswprintf.c: Likewise.
2493 * libio/wfiledoalloc.c: Likewise.
2494 * libio/wfileops.c: Likewise.
2495 * libio/wgenops.c: Likewise.
2496 * libio/wmemstream.c: Likewise.
2497 * libio/wstrops.c: Likewise.
2498 * libio/__fpurge.c: Likewise.
2499 * libio/__fsetlocking.c: Likewise.
2500 * assert/assert.c: Likewise.
2501 * debug/fgets_chk.c: Likewise.
2502 * debug/fgets_u_chk.c: Likewise.
2503 * debug/fread_chk.c: Likewise.
2504 * debug/fread_u_chk.c: Likewise.
2505 * debug/gets_chk.c: Likewise.
2506 * debug/obprintf_chk.c: Likewise.
2507 * debug/vasprintf_chk.c: Likewise.
2508 * debug/vdprintf_chk.c: Likewise.
2509 * debug/vsnprintf_chk.c: Likewise.
2510 * debug/vsprintf_chk.c: Likewise.
2511 * malloc/mtrace.c: Likewise.
2512 * misc/error.c: Likewise.
2513 * misc/syslog.c: Likewise.
2514 * stdio-common/asprintf.c: Likewise.
2515 * stdio-common/fxprintf.c: Likewise.
2516 * stdio-common/getw.c: Likewise.
2517 * stdio-common/isoc99_fscanf.c: Likewise.
2518 * stdio-common/isoc99_scanf.c: Likewise.
2519 * stdio-common/isoc99_vfscanf.c: Likewise.
2520 * stdio-common/isoc99_vscanf.c: Likewise.
2521 * stdio-common/isoc99_vsscanf.c: Likewise.
2522 * stdio-common/printf-prs.c: Likewise.
2523 * stdio-common/printf_fp.c: Likewise.
2524 * stdio-common/printf_fphex.c: Likewise.
2525 * stdio-common/printf_size.c: Likewise.
2526 * stdio-common/putw.c: Likewise.
2527 * stdio-common/scanf.c: Likewise.
2528 * stdio-common/sprintf.c: Likewise.
2529 * stdio-common/tmpfile.c: Likewise.
2530 * stdio-common/vfprintf.c: Likewise.
2531 * stdio-common/vfscanf.c: Likewise.
2532 * stdlib/strfmon_l.c: Likewise.
2533 * sunrpc/openchild.c: Likewise.
2534 * sunrpc/xdr_stdio.c: Likewise.
2535 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2536 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2538 2012-05-24 Roland McGrath <roland@hack.frob.com>
2540 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2542 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2543 in the third column, to generate for the shared library an IFUNC
2544 that uses _dl_vdso_vsym.
2545 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2546 * Makeconfig (object-suffixes-noshared): New variable.
2548 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2549 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2550 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2551 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2554 * include/sys/time.h (__gettimeofday): Remove macro.
2555 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2556 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2558 (__gettimeofday): Add libc_hidden_def.
2559 (gettimeofday): Add libc_hidden_weak.
2560 * sysdeps/mach/gettimeofday.c: Likewise.
2561 * sysdeps/posix/gettimeofday.c: Likewise.
2562 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2563 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2564 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2565 (__gettimeofday_internal): Remove strong_alias.
2566 (__gettimeofday): Add libc_hidden_def.
2567 (gettimeofday): Add libc_hidden_weak.
2568 * sysdeps/unix/syscalls.list (gettimeofday):
2569 Remove __gettimeofday_internal alias.
2571 2012-05-24 Daniel Jacobowitz <drow@false.org>
2572 H.J. Lu <hongjiu.lu@intel.com>
2575 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2576 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2577 (largebin_index_32_big): New.
2578 (largebin_index): Use it for 16-byte alignment.
2579 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2580 correction with front_misalign.
2582 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2610 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2611 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2613 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2617 * math/libm-test.inc (exp_test): Add test from bug 14036.
2618 (pow_test): Add test from bug 10846.
2620 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2622 (special_function): Do not include flags in test name.
2623 (parse_args): Likewise.
2624 * sysdeps/i386/fpu/libm-test-ulps: Update.
2625 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2626 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2627 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2630 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2632 * math/libm-test.inc ("Philosophy"): Update comment about
2634 (UNDERFLOW_EXCEPTION): New macro.
2635 (UNDERFLOW_EXCEPTION_OK): Likewise.
2636 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2637 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2638 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2639 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2640 (INVALID_EXCEPTION_OK): Update value.
2641 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2642 (OVERFLOW_EXCEPTION_OK): Likewise.
2643 (IGNORE_ZERO_INF_SIGN): Likewise.
2644 (test_exceptions): Handle underflow exceptions.
2645 (acos_test): Update for underflow exception expectations.
2646 (cexp_test): Likewise.
2647 (clog_test): Likewise.
2648 (clog10_test): Likewise.
2649 (csqrt_test): Likewise.
2650 (ctan_test): Likewise.
2651 (ctanh_test): Likewise.
2652 (exp_test): Likewise.
2653 (exp10_test): Likewise.
2654 (exp2_test): Likewise.
2655 (expm1_test): Likewise.
2656 (fma_test): Likewise.
2657 (j0_test): Likewise.
2658 (jn_test): Likewise.
2659 (nexttoward_test): Likewise.
2660 (pow_test): Likewise.
2661 (scalbn_test): Likewise.
2662 (scalbln_test): Likewise.
2663 (tan_test): Likewise.
2664 (y1_test): Likewise.
2665 * sysdeps/i386/fpu/libm-test-ulps: Update.
2666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2668 2012-05-23 David S. Miller <davem@davemloft.net>
2670 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2671 (__libc_sigaction): Remove unused local variables.
2673 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2675 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2677 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2679 mktime: avoid signed integer overflow
2680 * time/mktime.c (__mktime_internal): Do not mishandle the case
2681 where diff == INT_MIN.
2683 mktime: simplify computation of average
2684 * time/mktime.c (ranged_convert): Use new time_t_avg function
2685 instead of rolling our own (probably-slower) code.
2687 mktime: do not assume signed right shift propagates sign bit
2688 * time/mktime.c (isdst_differ): New static function.
2689 (__mktime_internal): No need to normalize tm_isdst now.
2690 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2693 mktime: merge another wrapv change from gnulib
2694 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2695 from some compilers.
2697 mktime: remove incorrect attempt at unusual arithmetics
2698 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2699 The code didn't really work on such machines anyway.
2700 (TYPE_MINIMUM): Assume two's complement.
2701 (twos_complement_arithmetic): Verify that long_int and time_t
2702 are two's complement (or unsigned, in the latter case).
2704 mktime: check signed shifts on long_int and time_t, too
2705 * time/mktime.c (SHR): Check that shifts work as desired
2706 on the types long_int and time_t too, as SHR is used on
2709 mktime: do not assume 'long' is wide enough
2710 * time/mktime.c (verify): Move decl up.
2711 (long_int): New type.
2712 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2713 to remove assumption in the code that 'long' is wide enough to
2714 store year values. This assumption is not true on x32 and on
2715 some non-glibc platforms.
2717 mktime: merge wrapv change from gnulib
2718 * time/mktime.c (WRAPV): New macro.
2719 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2720 (guess_time_tm, __mktime_internal): Do not assume that signed
2721 integer overflow wraps around; modern compilers generate code
2722 where this assumption is no longer valid.
2724 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2726 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2727 Replace "jmp L(pseudo_end)" with "ret".
2728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2731 2012-05-23 Andreas Jaeger <aj@suse.de>
2733 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2734 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2736 2012-05-23 Andreas Jaeger <aj@suse.de>
2737 Maximilian Attems <max@stro.at>
2739 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2742 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2744 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2745 code so that pseudo_end is just ret and the stack pointer is
2746 correct also for static library in error case.
2748 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2750 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2751 move to syscalls.list.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2757 * manual/install.texi (Running make install): Do not mention Linux
2758 kernel version for which pt_chown is not needed.
2759 (Linux): Do not mention problems with nscd with 2.0 kernels.
2760 * INSTALL: Regenerated.
2762 2012-05-23 Andreas Jaeger <aj@suse.de>
2764 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2765 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2767 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2768 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2769 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2770 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2771 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2772 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2774 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2775 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2776 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2777 * sysdeps/unix/sysv/linux/bits/in.h
2778 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2780 2012-05-22 Roland McGrath <roland@hack.frob.com>
2782 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2783 (PREPARE_VERSION): Just use assert instead, it will be elided
2784 under [NDEBUG] anyway.
2786 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2788 * sysdeps/unix/sysv/linux/Makefile: Include
2789 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2790 (sysdep_routines): Remove sysctl.
2791 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2792 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2793 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2794 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2795 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2797 2012-05-22 Andreas Jaeger <aj@suse.de>
2799 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2800 that pseudo_end is just ret and the stack pointer is correct also
2801 for static library in error case.
2803 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2806 * nss/nsswitch.c (defconfig_entries): New variable.
2807 (__nss_database_lookup): Don't leak defconfig entries.
2808 (nss_parse_service_list): Don't leak on error paths.
2809 (free_database_entries): New function.
2810 (free_defconfig): New function.
2811 (free_mem): Move common code to free_database_entries.
2813 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2815 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2817 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2819 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2820 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2823 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2824 (INTERNAL_SYSCALL_TYPES): Likewise.
2825 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2826 (LOAD_REGS_TYPES_[1-6]): Likewise.
2827 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2828 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2830 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2832 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2833 copysignl for GLIBC_2_0.
2834 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2835 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2836 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2837 logbl for GLIBC_2_0.
2838 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2839 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2841 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2843 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2844 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2846 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2849 * time/mktime.c: Update copyright years.
2851 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2853 mktime: merge comment-quoting-style change from gnulib
2854 * time/mktime.c: Quote 'like this' in comments.
2855 The GNU coding standards suggest that we no longer quote `like this',
2856 as "`" and "'" are typically rendered asymmetrically nowadays.
2857 The typical gnulib style is to quote 'like this' when quoting
2858 code, and "like this" when quoting English.
2860 * time/mktime.c (compile-command): Add "-I.".
2862 mktime: merge mktime-internal.h change from gnulib
2863 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2865 mktime: merge time_r change from gnulib
2866 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2868 mktime: merge DEBUG change from gnulib
2869 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2870 case system <time.h> has a #define.
2872 mktime: merge <sys/types.h> change from gnulib
2873 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2874 since <time.t> is now guaranteed to define time_t.
2876 mktime: merge HAVE_CONFIG_H change from gnulib
2877 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2879 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2884 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2886 (struct rusage): Use anonymous union to pad each field to
2889 2012-05-21 David S. Miller <davem@davemloft.net>
2891 * Makefules (o-iterator): Remove .s cases.
2892 (compile-command.s): Delete.
2893 (COMPILE.s): Delete.
2894 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2896 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2898 * configure.in (libc_cv_predef_stack_protector): Only consider
2899 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2900 * configure: Regenerated.
2902 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2905 New macro. Use R*LP on int and pointer.
2906 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2907 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2908 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2909 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2911 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2912 [__WORDSIZE_TIME64_COMPAT32] instead of
2913 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2914 (struct utmp): Likewise.
2915 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2916 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2918 (__WORDSIZE_TIME64_COMPAT32): This.
2919 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2920 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2921 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2922 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2923 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2924 (__WORDSIZE_TIME64_COMPAT32): New macro.
2926 2012-05-21 Andreas Jaeger <aj@suse.de>
2928 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2929 only if [SHARED]. Add prototype for __wcschr_ia32.
2931 2012-05-21 Roland McGrath <roland@hack.frob.com>
2933 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2934 of %rbp unmolested in the jmp_buf while mangling the low bits.
2935 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2936 unmolested high bits of %rbp while demangling the low bits.
2937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2939 2012-05-21 Andreas Jaeger <aj@suse.de>
2941 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2942 * sunrpc/svc_simple.c: Use it for registerrpc.
2943 * sunrpc/xcrypt.c: Use it for passwd2des.
2945 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2947 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2949 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2950 Don't define if [__SYSCALL_WORDSIZE != 32].
2951 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2954 2012-05-21 Bruno Haible <bruno@clisp.org>
2955 Andreas Jaeger <aj@suse.de>
2957 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2958 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2959 inptr and inend for must_buffer_ch.
2960 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2961 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2962 * stdio-common/Makefile (tests): Remove bug15.
2963 (bug15-ENV): Remove macro.
2964 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2967 2012-05-19 Andreas Jaeger <aj@suse.de>
2968 Roland McGrath <roland@hack.frob.com>
2970 * manual/contrib.texi: Completely rewritten. It contains now an
2971 alphabetical list of contributors and their contributions.
2973 2012-05-21 Richard Henderson <rth@twiddle.net>
2975 * misc/getauxval.c (__getauxval): Use unsigned long int.
2976 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2977 (getauxval): Use unsigned long int.
2979 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2981 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2983 2012-05-21 Roland McGrath <roland@hack.frob.com>
2985 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2986 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2987 __alignof__ (long double).
2989 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2993 2012-05-20 Richard Henderson <rth@twiddle.net>
2995 * misc/getauxval.c: New file.
2996 * misc/sys/auxv.h: New file.
2997 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2998 (routines): Add getauxval.
2999 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3000 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3001 * elf/dl-sysdep.c (_dl_auxv): Remove.
3002 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3003 * elf/dl-support.c (_dl_auxv): New variable.
3004 (_dl_aux_init): Initialize it.
3005 * manual/startup.texi (Auxiliary Vector): New node.
3006 * sysdeps/generic/bits/hwcap.h: New file.
3007 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3008 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3009 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3010 * sysdeps/sparc/sysdep.h: ... here. Include it.
3011 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3012 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3024 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3028 2012-05-19 David S. Miller <davem@davemloft.net>
3030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3032 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3035 * math/s_ccosh.c: Include <float.h>
3036 (__ccosh): Avoid internal overflow calculating sinh and cosh
3037 values before multiplying by sin and cos values.
3038 * math/s_ccoshf.c: Likewise.
3039 * math/s_ccoshl.c: Likewise.
3040 * math/s_csin.c: Likewise.
3041 * math/s_csinf.c: Likewise.
3042 * math/s_csinl.c: Likewise.
3043 * math/s_csinh.c: Likewise.
3044 * math/s_csinhf.c: Likewise.
3045 * math/s_csinhl.c: Likewise.
3046 * math/libm-test.inc (ccos_test): Add more tests.
3047 (ccosh_test): Likewise.
3048 (csin_test): Likewise.
3049 (csinh_test): Likewise.
3050 * sysdeps/i386/fpu/libm-test-ulps: Update.
3051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3053 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3055 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3056 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3058 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3060 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3062 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3063 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3064 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3065 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3066 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3067 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3068 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3069 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3070 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3071 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3072 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3073 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3074 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3075 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3076 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3077 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3078 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3079 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3080 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3081 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3082 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3083 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3084 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3085 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3086 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3087 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3088 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3089 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3090 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3091 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3092 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3094 2012-05-18 Andreas Jaeger <aj@suse.de>
3096 * csu/.gitignore: Delete.
3098 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3100 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3101 (timex): Use __syscall_slong_t.
3103 2012-05-18 Andreas Jaeger <aj@suse.de>
3104 Carlos O'Donell <carlos_odonell@mentor.com>
3106 * manual/install.texi (Configuring and compiling): Update
3107 description about files modified in the source directory.
3108 * INSTALL: Regenerated.
3110 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3112 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3113 value. Use "or" to set return value to -1.
3114 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3115 negate return value.
3117 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3119 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3120 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3121 failure if the compiler has Graphite support disabled.
3122 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3124 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3125 CFLAGS-memmove.c): Likewise.
3126 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3129 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3131 * sysdeps/x86_64/x32/_itoa.h: New file.
3133 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3134 getdents system call only if kernel and user dirents have the
3135 same d_ino and d_off.
3137 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3138 LLONG_MAX != LONG_MAX.
3139 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3140 (_fitoa_word): Likewise.
3142 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3144 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3145 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3146 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3148 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3149 include <bits/wordsize.h>. Check __x86_64__ instead of
3151 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3152 if __x86_64__ is defined. Use anonymous union on fpstate.
3154 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3157 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3159 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3160 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3161 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3162 Refer to _rtld_local_ro instead of _rtld_global_ro.
3163 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3165 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3167 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3169 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3170 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3171 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3173 * sysdeps/powerpc/powerpc32/dl-machine.c
3174 (__elf_machine_runtime_setup) [PROF]: Don't reference
3177 2012-05-18 Andreas Jaeger <aj@suse.de>
3179 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3180 function only available for GCCs before 3.4 since GCC 3.4
3181 introduced a builtin.
3183 (llrintf): Likewise.
3191 (nearbyint): Likewise.
3192 (nearbyintf): Likewise.
3198 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3200 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3201 on both fields and cast pointer to __syscall_ulong_t.
3203 * bits/types.h (__fsword_t): New type.
3204 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3205 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3206 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3207 (__FSWORD_T_TYPE): Likewise.
3208 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3209 (__FSWORD_T_TYPE): Likewise.
3210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3211 (__FSWORD_T_TYPE): Likewise.
3212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3213 (__FSWORD_T_TYPE): Likewise.
3214 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3215 __SWORD_TYPE with __fsword_t.
3216 (statfs64): Likewise.
3218 2012-05-17 David S. Miller <davem@davemloft.net>
3220 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3222 2012-05-17 Andreas Jaeger <aj@suse.de>
3224 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3227 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3229 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3231 2012-05-17 Andreas Jaeger <aj@suse.de>
3233 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3236 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3238 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3240 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3242 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3243 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3245 2012-05-17 Andreas Jaeger <aj@suse.de>
3246 Carlos O'Donell <carlos_odonell@mentor.com>
3249 * sysdeps/x86_64/multiarch/init-arch.h
3250 (bit_YMM_Usable): Rename to...
3251 (bit_AVX_Usable): ... this.
3252 (bit_FMA4_Usable): New macro.
3253 (bit_XMM_state): New macro.
3254 (bit_YMM_state): New macro.
3255 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3256 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3257 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3258 (CPUID_OSXSAVE): New macro.
3259 (CPUID_AVX): New macro.
3260 (CPUID_FMA4): New macro.
3261 (index_YMM_Usable): Rename to...
3262 (index_AVX_Usable): ... this.
3263 (HAS_AVX): Use HAS_ARCH_FEATURE.
3264 (HAS_FMA4): Likewise.
3265 (HAS_YMM_USABLE): Remove.
3266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3267 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3269 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3270 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3271 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3272 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3273 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3275 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3277 * math/libm-test.c: Support platforms without multiple rounding modes.
3278 * math/bug-nextafter.c: Support platforms without FP exceptions.
3279 * math/bug-nexttoward.c: Likewise.
3280 * math/test-fenv.c: Likewise.
3281 * math/test-misc.c: Likewise.
3282 * stdlib/bug-getcontext.c: Likewise.
3284 2012-05-17 Andreas Jaeger <aj@suse.de>
3286 * manual/examples/search.c (critter_cmp): Change signature to
3288 * manual/string.texi (Collation Functions): Likewise.
3290 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3292 * bits/types.h: Fold copyright years.
3293 * bits/typesizes.h: Likewise.
3294 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3298 * time/time.h: Likewise.
3300 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3303 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3304 in instead of returning them. Return void.
3305 (__libc_mallinfo): Accumulate over all arenas.
3306 (__malloc_stats): Adjust for change in int_mallinfo interface.
3308 2012-05-16 Roland McGrath <roland@hack.frob.com>
3311 * configure.in (NM): Add AC_CHECK_TOOL for it.
3312 (libc_extra_cflags): New substituted variable.
3313 Check for -fstack-protector being used implicitly.
3314 * configure: Regenerated.
3315 * config.make.in (config-extra-cflags): New variable,
3316 gets @libc_extra_cflags@.
3317 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3320 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3321 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3322 * configure: Regenerated.
3323 * config.make.in (CPPUNDEFS): New substituted variable.
3324 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3325 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3326 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3328 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3330 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3331 (mq_attr): Use __syscall_slong_t.
3333 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3335 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3336 Check __x86_64__ instead of __WORDSIZE.
3337 (_STAT_VER_LINUX): Likewise.
3338 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3339 __syscall_ulong_t and __syscall_slong_t.
3342 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3344 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3346 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3348 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3350 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3352 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3355 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3356 include <bits/wordsize.h>. Check __x86_64__ instead of
3358 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3360 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3362 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3363 include <bits/wordsize.h>. Check __x86_64__ instead of
3365 (user_regs_struct): Use "__extension__ unsigned long long"
3366 instead of "unsigned long" if __x86_64__ is defined.
3367 (user): Likewise. Pad after pointer field if __ILP32__ is
3370 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3372 * configure.in (makeinfo): Require version 4.5 or later. Allow
3374 * configure: Regenerated.
3375 * manual/install.texi (texinfo): Increase version requirement to
3377 * INSTALL: Regenerated.
3379 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3381 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3383 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3385 * sysdeps/x86_64/x32/ffs.c: New file.
3387 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3389 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3390 defined. Use __syscall_ulong_t.
3391 (shminfo): Use __syscall_ulong_t.
3392 (shm_info): Likewise.
3394 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3397 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3399 (msgqnum_t): Use __syscall_ulong_t.
3400 (msglen_t): Likewise.
3401 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3404 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3405 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3407 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3409 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3410 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3412 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3415 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3416 include <bits/wordsize.h>. Check __x86_64__ instead of
3419 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3420 "unsigned long long int" if __x86_64__ is defined.
3421 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3423 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3424 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3425 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3427 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3429 (GET_PC): Cast to uintptr_t first.
3430 (GET_FRAME): Likewise.
3431 (GET_STACK): Likewise.
3433 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3434 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3435 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3436 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3437 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3438 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3439 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3440 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3441 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3442 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3443 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3444 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3445 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3446 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3447 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3448 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3449 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3450 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3451 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3452 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3453 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3454 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3455 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3456 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3457 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3458 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3459 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3460 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3461 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3463 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3465 * Makerules (+depfiles): Also collect depfiles from .oS in
3467 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3468 .oS, $(libnldbl-routines)).
3470 * Makerules (native-compile-mkdep-flags): Define.
3471 * sunrpc/Makefile (extra-objs): Add $(addprefix
3472 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3473 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3474 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3475 calling $(make-target-directory).
3477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3479 * bits/types.h (__snseconds_t): Removed.
3480 * time/time.h (struct timespec): Replace __snseconds_t with
3482 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3483 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3485 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3486 (__SNSECONDS_T_TYPE): Likewise.
3487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3488 (__SNSECONDS_T_TYPE): Likewise.
3489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3490 (__SNSECONDS_T_TYPE): Likewise.
3492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3494 * sysdeps/mach/hurd/bits/typesizes.h
3495 (__SYSCALL_SLONG_TYPE): New macro.
3496 (__SYSCALL_ULONG_TYPE): Likewise.
3498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3500 * bits/types.h (__syscall_slong_t): New type.
3501 (__syscall_ulong_t): Likewise.
3503 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3504 (__SYSCALL_ULONG_TYPE): Likewise.
3505 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3506 (__SYSCALL_SLONG_TYPE): Likewise.
3507 (__SYSCALL_ULONG_TYPE): Likewise.
3508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3509 (__SYSCALL_SLONG_TYPE): Likewise.
3510 (__SYSCALL_ULONG_TYPE): Likewise.
3511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3512 (__SYSCALL_SLONG_TYPE): Likewise.
3513 (__SYSCALL_ULONG_TYPE): Likewise.
3515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3517 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3518 Add sigaltstack-offsets.sym.
3519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3520 <sigaltstack-offsets.h>.
3521 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3522 longjmp_msg pointer.
3523 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3524 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3526 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3528 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3530 * elf/stackguard-macros.h: Remove file.
3531 * sysdeps/generic/stackguard-macros.h: New file.
3532 * sysdeps/i386/stackguard-macros.h: Likewise.
3533 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3534 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3535 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3536 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3537 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3538 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3539 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3540 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3541 <elf/stackguard-macros.h>.
3544 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3545 __aligned__ in attribute.
3546 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3547 (gregset_t): Likewise.
3549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3551 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3552 * sysdeps/x86_64/64/Implies-after: Here. New file.
3553 * sysdeps/x86_64/x32/Implies-after: New file.
3555 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3557 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3558 and access return value for _dl_profile_fixup. Use R10_LP to
3561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3563 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3565 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3567 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3568 * sysdeps/x86_64/x32/sysdep.h: New file.
3570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3572 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3573 * sysdeps/x86_64/setjmp.S: Likewise.
3575 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3577 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3578 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3579 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3581 remove unused global constant.
3583 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3585 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3586 include of <not-cancel.h>.
3588 2012-05-15 Roland McGrath <roland@hack.frob.com>
3590 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3592 2012-05-15 Jeff Law <law@redhat.com>
3593 Andreas Jaeger <aj@suse.de>
3596 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3598 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3599 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3600 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3601 code changing __hst_map_handle.map.
3603 2012-05-15 Roland McGrath <roland@hack.frob.com>
3605 * configure.in (sysnames): Look for Implies-before and Implies-after
3607 * configure: Regenerated.
3609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3611 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3612 8-byte data alignment with LP_SIZE alignment.
3614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3616 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3621 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3625 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3626 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3627 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3629 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3633 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3634 (stackinfo_sub_sp): Likewise.
3636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3638 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3643 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3648 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3653 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3657 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3658 into R11_LP and load __x86_64_shared_cache_size_half into
3661 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3663 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3666 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3670 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3674 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3675 powerpc32/power7/fpu/s_logb.c via #include.
3676 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3677 powerpc32/power7/fpu/s_logbf.c via #include.
3678 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3679 powerpc32/power7/fpu/s_logbl.c via #include.
3681 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3683 * README.libm: Remove file.
3685 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3687 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3688 count for x32. Use R*_LP and omit operand-size suffix.
3690 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3692 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3693 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3694 * sysdeps/x86_64/x32/shlib-versions: New file.
3696 2012-05-14 Roland McGrath <roland@hack.frob.com>
3698 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3699 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3700 Use _dl_fatal_printf instead.
3702 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3704 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3705 set if not set by the user. Do not allow for being unset.
3706 * sysdeps/unix/sysv/linux/configure: Regenerated.
3708 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3710 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3711 the `q' suffix from lea and replace .quad with ASM_ADDR.
3713 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3716 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3718 (PTR_DEMANGLE): Likewise.
3720 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3722 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3724 (ASM_ADDR): Likewise.
3742 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3744 * sysdeps/x86_64/x32/dl-machine.h: New file.
3746 2012-05-14 Andreas Jaeger <aj@suse.de>
3748 * manual/Makefile (subdir): Remove export of subdir.
3749 (all): Remove target.
3750 (.PHONY): Remove all from list.
3751 (mkinstalldirs): Remove.
3752 (.PHONY): Remove installdirs from list.
3753 ($(inst_infodir)/libc.info): Use make-target-directory.
3754 (installdirs): Remove.
3756 (glibc-targets): Remove.
3759 ($(objpfx)stubs ../po/manual.pot): Remove.
3760 ($(objpfx)stamp%): Remove.
3761 (make-target-directory): Remove.
3762 (subdir_install): Remove.
3770 * manual/.gitignore: Remove, it's not needed anymore.
3771 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3773 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3775 (texis): Renamed to $(objpfx)texis.
3776 (texis-path): New, contains path to generated files.
3777 (chapters.%): Use texis-path for complete path, add extra argument
3779 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3780 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3781 (summary,texi, stamp-summary): Use complete path of
3782 files. Generate files in build dir.
3783 (dir-add.texi): Build in build dir.
3784 (libm-err.texi,stamp-libm-err): Likewise.
3785 (version.texi, stamp-version): Likewise.
3786 (.%c.texi): Likewise.
3787 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3788 (mostlyclean): Remove target.
3789 (realclean): Remove target.
3790 (generated): Add new variable with contents from mostlyclean and
3791 realclean, remove entries duplicated in common-mostlyclean, add
3792 stamp-libm-err and stamp-version.
3793 (generated-dirs): Add libc directory.
3794 ($(inst_infodir)/libc.info): Install files from build dir.
3796 * manual/install.texi (Configuring and compiling): Adjust since
3797 the info files are not part of the tar ball anymore.
3799 2012-05-14 Andreas Jaeger <aj@suse.de>
3801 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3804 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3808 to 2.2.0 where earlier.
3809 * sysdeps/unix/sysv/linux/configure: Regenerated.
3810 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3811 Remove conditional code.
3812 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3813 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3814 Remove conditional code.
3815 [!__NR_lchown]: Likewise.
3816 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3817 [__NR_lchown]: Likewise.
3818 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3819 comment referencing __ASSUME_LCHOWN_SYSCALL.
3820 * sysdeps/unix/sysv/linux/i386/sigaction.c
3821 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3822 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3823 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3824 Remove conditional code.
3825 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3826 (__protocol_available): Remove #if 0 code.
3827 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3829 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3830 * sysdeps/unix/sysv/linux/kernel-features.h
3831 (__ASSUME_GETCWD_SYSCALL): Don't define.
3832 (__ASSUME_REALTIME_SIGNALS): Likewise.
3833 (__ASSUME_PREAD_SYSCALL): Likewise.
3834 (__ASSUME_PWRITE_SYSCALL): Likewise.
3835 (__ASSUME_POLL_SYSCALL): Likewise.
3836 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3837 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3839 (__ASSUME_SIOCGIFNAME): Don't define.
3840 (__ASSUME_MSG_NOSIGNAL): Likewise.
3841 (__ASSUME_SENDFILE): Define unconditionally.
3842 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3843 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3845 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3846 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3847 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3848 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3849 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3850 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3851 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3853 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3854 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3856 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3857 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3859 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3860 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3862 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3863 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3865 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3866 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3868 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3869 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3871 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3874 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3876 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3877 Remove conditional code.
3878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3879 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3880 Remove conditional code.
3881 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3882 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3883 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3884 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3885 Remove conditional code.
3886 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3887 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3888 Remove conditional code.
3889 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3890 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3891 Remove conditional code.
3892 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3893 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3894 Remove conditional code.
3895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3896 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3897 Remove conditional code.
3898 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3899 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3900 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3901 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3902 * sysdeps/unix/sysv/linux/sigaction.c
3903 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3904 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3905 * sysdeps/unix/sysv/linux/sigpending.c
3906 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3907 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3908 * sysdeps/unix/sysv/linux/sigprocmask.c
3909 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3910 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3911 * sysdeps/unix/sysv/linux/sigsuspend.c
3912 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3913 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3914 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3915 (__libc_missing_rt_sigs): Remove.
3916 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3917 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3918 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3919 Remove conditional code.
3920 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3921 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3923 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3924 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3925 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3926 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3928 2012-05-14 Andreas Jaeger <aj@suse.de>
3930 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3931 it's not used in glibc.
3932 (__coshm1): Likewise.
3933 (__acosh1p): Likewise.
3936 * manual/string.texi (Copying and Concatenation): Add missing
3937 variable in concat example.
3938 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3940 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3943 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3944 __builtin_clzl with __builtin_clzll.
3946 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3949 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3952 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3954 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3955 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3956 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3957 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3959 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3961 * NEWS: Update ia64 info.
3963 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3965 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3968 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3970 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3971 * sysdeps/unix/syscalls.list (dup3): Likewise.
3972 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3973 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3975 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3977 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3978 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3980 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3982 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3984 (TLS_IE): Use mov/add instead of movq/addq to load thread
3986 (TLS_GD_PREFIX): New.
3989 2012-05-11 David S. Miller <davem@davemloft.net>
3991 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3992 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3993 (_FPU_SETCW): Likewise.
3995 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3997 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4000 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4003 * iconvdata/gb18030.c: Update tables.
4004 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4005 characters specially.
4006 (BODY for TO_LOOP): Add encoding of missing ranges.
4008 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4011 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4012 * sysdeps/mach/hurd/dup3.c: Likewise.
4013 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4014 * sysdeps/powerpc/memmove.c:: Likewise.
4016 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4018 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4019 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4021 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4023 * elf/elf.h (R_X86_64_RELATIVE64): New.
4024 (R_X86_64_NUM): Updated.
4025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4026 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4027 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4028 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4029 tst-quad1pie tst-quad2pie
4030 (modules-names): Add tst-quadmod1 tst-quadmod2.
4031 ($(objpfx)tst-quad1): New dependency.
4032 ($(objpfx)tst-quad2): Likewise.
4033 ($(objpfx)tst-quad1pie): Likewise.
4034 ($(objpfx)tst-quad2pie): Likewise.
4035 * sysdeps/x86_64/tst-quad1.c: New file.
4036 * sysdeps/x86_64/tst-quad1pie.c: New file.
4037 * sysdeps/x86_64/tst-quad2.c: Likewise.
4038 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4039 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4040 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4041 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4042 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4044 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4046 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4047 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4048 * streams/stropts.h (t_scalar_t): Define type.
4050 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4051 (_PATH_PRESERVE): Set to "/var/lib".
4052 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4054 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4057 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4058 if __dir_mkfile succeeded.
4060 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4061 checking for _hurd_dtablesize. Unlock it right after having
4062 finished _hurd_dtable allocation.
4064 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4066 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4067 * sysdeps/mach/hurd/configure: Regenerated.
4068 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4069 special-casing to...
4070 * sysdeps/gnu/configure.in: ... this new file.
4071 * sysdeps/unix/sysv/linux/configure: Regenerated.
4072 * sysdeps/gnu/configure: New generated file.
4074 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4075 for Linux: use nsec instead of usec, as well as:
4076 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4077 members of type struct timespec.
4078 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4080 (struct stat64): Likewise.
4081 (_STATBUF_ST_NSEC): New macro.
4082 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4084 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4085 __strtoul_internal rather than strtoul.
4087 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4089 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4092 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4094 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4095 which preserves existing values.
4096 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4098 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4100 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4101 TIMEOUT values. Return EINVAL for NFDS values either negative or
4102 greater than FD_SETSIZE.
4104 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4106 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4107 allocated, call __vm_protect to finish enabling the existing space, and
4108 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4109 allocate the remainder.
4111 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4113 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4114 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4116 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4118 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4119 sysdeps/mach/hurd/readlink.c.
4121 * posix/tst-sysconf.c (posix_options): Only use
4122 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4123 _POSIX_SYNCHRONIZED_IO when they are defined
4124 * sysdeps/mach/hurd/bits/posix_opt.h:
4125 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4126 (_XOPEN_REALTIME): Undefine macro.
4127 (_XOPEN_REALTIME_THREADS): Undefine macro.
4128 (_XOPEN_SHM): Undefine macro.
4129 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4131 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4133 (_POSIX_ASYNC_IO): Undefine macro.
4134 (_POSIX_PRIORITIZED_IO): Undefine macro.
4135 (_POSIX_SPIN_LOCKS): Define macro to -1.
4137 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4138 SA_NODEFER, SA_RESETHAND.
4139 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4140 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4143 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4145 * elf/Makefile (pldd-modules): Define unconditionally.
4147 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4149 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4151 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4153 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4154 Return ENOENT when name is empty.
4155 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4159 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4161 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4163 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4165 Fix mlock in all cases except non-readable pages.
4166 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4167 instead of VM_PROT_ALL as parameter to __vm_wire function.
4169 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4170 (__mkdir): When path is `/', just fail with EEXIST.
4171 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4173 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4175 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4176 <sys/uio.h> (for writev).
4177 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4178 and <sys/param.h> (for MIN).
4180 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4182 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4183 REQUESTED_TIME. Properly set the remaining time and return EINTR
4186 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4188 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4189 Depend on against $(link-rpcuserlibs).
4191 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4193 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4194 (__libc_stack_end): Do not use attribute_relro.
4195 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4196 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4197 to libthread-provided value.
4198 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4201 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4204 * bits/libc-lock.h (__libc_once_get): New macro.
4205 * sysdeps/mach/bits/libc-lock.h: Likewise.
4206 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4207 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4208 instead of using implementation details.
4210 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4211 * libio/freopen.c: Likewise.
4212 * libio/freopen64.c: Likewise.
4213 * misc/syslog.c: Likewise.
4214 * nscd/connections.c: Likewise.
4215 * nscd/netgroupcache.c: Likewise.
4216 * sysdeps/posix/getcwd.c: Likewise.
4218 2012-05-10 Roland McGrath <roland@hack.frob.com>
4220 * math/w_ilogbf.c: Add #include <limits.h>.
4222 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4224 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4225 path instead of returning without unlocking.
4227 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4228 immediate-write ioctls.
4229 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4231 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4233 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4234 __builtin_frame_address instead of making assumptions about the
4235 location of the return address relative to DATA. Force early load of
4237 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4238 __builtin_frame_address.
4241 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4242 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4243 implement dup3 and do some further code clean-ups.
4244 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4245 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4247 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4249 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4251 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4252 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4253 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4254 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4255 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4258 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4259 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4260 when handler == SIG_ERR, not when handler != SIG_ERR.
4262 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4264 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4265 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4268 accept4 for GNU Hurd.
4269 * include/sys/socket.h (__libc_accept4): New prototype.
4270 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4271 to implement __libc_accept4.
4272 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4274 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4276 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4277 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4278 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4281 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4283 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4285 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4287 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4288 assertion on O_CLOEXEC flag.
4289 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4290 * hurd/intern-fd.c: Likewise.
4291 * hurd/port2fd.c: Likewise.
4293 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4296 * bits/in.h (IPV6_PKTINFO): Define new macro.
4297 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4299 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4304 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4305 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4306 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4307 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4308 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4309 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4310 * math/libm-test.inc (logb_test) : Additional logb tests.
4312 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4313 Andreas Jaeger <aj@suse.de>
4315 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4316 * configure: Regenerated.
4317 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4318 * config.make.in (link-obsolete-rpc): New substituted variable.
4319 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4320 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4321 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4322 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4323 so that libc.a contains the symbols.
4324 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4325 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4326 * sunrpc/auth_none.c: Likewise.
4327 * sunrpc/auth_unix.c: Likewise.
4328 * sunrpc/authdes_prot.c: Likewise.
4329 * sunrpc/authuxprot.c: Likewise.
4330 * sunrpc/clnt_gen.c: Likewise.
4331 * sunrpc/clnt_perr.c: Likewise.
4332 * sunrpc/clnt_raw.c: Likewise.
4333 * sunrpc/clnt_simp.c: Likewise.
4334 * sunrpc/clnt_tcp.c: Likewise.
4335 * sunrpc/clnt_udp.c: Likewise.
4336 * sunrpc/clnt_unix.c: Likewise.
4337 * sunrpc/des_crypt.c: Likewise.
4338 * sunrpc/des_soft.c: Likewise.
4339 * sunrpc/get_myaddr.c: Likewise.
4340 * sunrpc/key_call.c: Likewise.
4341 * sunrpc/key_prot.c: Likewise.
4342 * sunrpc/netname.c: Likewise.
4343 * sunrpc/pm_getmaps.c: Likewise.
4344 * sunrpc/pm_getport.c: Likewise.
4345 * sunrpc/pmap_clnt.c: Likewise.
4346 * sunrpc/pmap_prot.c: Likewise.
4347 * sunrpc/pmap_prot2.c: Likewise.
4348 * sunrpc/pmap_rmt.c: Likewise.
4349 * sunrpc/publickey.c: Likewise.
4350 * sunrpc/rpc_cmsg.c: Likewise.
4351 * sunrpc/rpc_common.c: Likewise.
4352 * sunrpc/rpc_dtable.c: Likewise.
4353 * sunrpc/rpc_prot.c: Likewise.
4354 * sunrpc/rpc_thread.c: Likewise.
4355 * sunrpc/rtime.c: Likewise.
4356 * sunrpc/svc.c: Likewise.
4357 * sunrpc/svc_auth.c: Likewise.
4358 * sunrpc/svc_raw.c: Likewise.
4359 * sunrpc/svc_run.c: Likewise.
4360 * sunrpc/svc_tcp.c: Likewise.
4361 * sunrpc/svc_udp.c: Likewise.
4362 * sunrpc/svc_unix.c: Likewise.
4363 * sunrpc/svcauth_des.c: Likewise.
4364 * sunrpc/xcrypt.c: Likewise.
4365 * sunrpc/xdr.c: Likewise.
4366 * sunrpc/xdr_array.c: Likewise.
4367 * sunrpc/xdr_float.c: Likewise.
4368 * sunrpc/xdr_intXX_t.c: Likewise.
4369 * sunrpc/xdr_mem.c: Likewise.
4370 * sunrpc/xdr_rec.c: Likewise.
4371 * sunrpc/xdr_ref.c: Likewise.
4372 * sunrpc/xdr_sizeof.c: Likewise.
4373 * sunrpc/xdr_stdio.c: Likewise.
4375 2012-05-10 Roland McGrath <roland@hack.frob.com>
4377 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4378 change. Update copyright years.
4380 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4382 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4384 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4385 Joseph Myers <joseph@codesourcery.com>
4386 Paul Pluzhnikov <ppluzhnikov@google.com>
4389 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4391 [cross-compiling] (extra-libs): Likewise.
4392 [cross-compiling] (extra-libs-others): Likewise.
4393 [cross-compiling] (librpcsvc-routines): Likewise.
4394 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4395 [cross-compiling] (omit-deps): Likewise.
4396 (sunrpc-CPPFLAGS): New variable.
4397 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4398 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4399 (cross-rpcgen-objs): New variable.
4400 (extra-objs): Append $(cross-rpcgen-objs).
4401 ($(cross-rpcgen-objs)): New rule.
4402 ($(objpfx)cross-rpcgen): Likewise.
4403 (rpcgen-cmd): Define to use $(built-program-file). Expand
4405 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4406 ($(objpfx)x%.stmp): Likewise.
4407 * sunrpc/proto.h [IS_IN_build] (_): Define.
4408 [IS_IN_build] (_libc_intl_domainname): Likewise.
4410 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4413 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4414 and R_X86_64_TPOFF64.
4416 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4418 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4419 sysdeps/unix/sysv/syscalls.list.
4422 * sysdeps/unix/sysv/syscalls.list: Remove file.
4424 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4427 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4428 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4429 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4430 (__LC_IDENTIFICATION): Make these macros useful in #if
4431 expressions, as required by C99.
4433 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4435 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4436 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4439 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4441 * stdlib/longlong.h: Updated from GCC.
4443 2012-05-09 Andreas Jaeger <aj@suse.de>
4445 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4446 default is first entry.
4447 (run_mode): Set type.
4448 (main): Remove informal message about syslog.
4449 (options): Fix typo.
4452 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4455 (llrintf): Likewise.
4459 (nearbyint): Likewise.
4460 (nearbyintf): Likewise.
4462 2012-05-09 Andreas Jaeger <aj@suse.de>
4463 Pedro Alves <palves@redhat.com>
4465 * nscd/nscd.c (run_mode): Use enum.
4466 (main): Cleanup coding style issue.
4468 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4469 Andreas Jaeger <aj@suse.de>
4471 * nscd/nscd.c (go_background): Replaced with...
4472 (run_mode): ... this.
4473 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4474 (options): Add -F --foreground.
4475 (main): Implement it.
4476 (parse_opt): Parse it.
4478 2012-05-09 Andreas Jaeger <aj@suse.de>
4481 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4482 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4483 -Wconversion warning.
4484 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4487 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4489 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4491 (LC_ALL): Use macro-int-constant.
4492 (LC_COLLATE): Likewise.
4493 (LC_CTYPE): Likewise.
4494 (LC_MESSAGES): Likewise.
4495 (LC_MONETARY): Likewise.
4496 (LC_NUMERIC): Likewise.
4497 (LC_TIME): Likewise.
4498 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4499 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4501 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4503 [C99-based standards] (float_t): Expect type.
4504 [C99-based standards] (double_t): Expect type.
4505 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4507 [C99-based standards] (HUGE_VALL): Likewise.
4508 [C99-based standards] (INFINITY): Likewise.
4509 [C99-based standards] (NAN): Likewise.
4510 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4511 [C99-based standards] (FP_NAN): Likewise.
4512 [C99-based standards] (FP_NORMAL): Likewise.
4513 [C99-based standards] (FP_SUBNORMAL): Likewise.
4514 [C99-based standards] (FP_ZERO): Likewise.
4515 [C99-based standards] (FP_FAST_FMA): Use
4516 optional-macro-int-constant. Specify type. Require == 1.
4517 [C99-based standards] (FP_FAST_FMAF): Likewise.
4518 [C99-based standards] (FP_FAST_FMAL): Likewise.
4519 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4520 [C99-based standards] (FP_ILOGBNAN): Likewise.
4521 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4523 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4524 [C99-based standards] (math_errhandling): Specify type.
4525 [ISO99 || ISO11] (signgam): Do not allow.
4526 [non-C99-based standards] (copysignf): Do not allow.
4527 [non-C99-based standards] (exp2f): Likewise.
4528 [non-C99-based standards] (log2f): Likewise.
4529 [non-C99-based standards] (modff): Allow.
4530 [non-C99-based standards] (erff): Do not allow.
4531 [non-C99-based standards] (erfcf): Likewise.
4532 [non-C99-based standards] (gammaf): Likewise.
4533 [non-C99-based standards] (hypotf): Likewise.
4534 [non-C99-based standards] (j0f): Likewise.
4535 [non-C99-based standards] (j1f): Likewise.
4536 [non-C99-based standards] (jnf): Likewise.
4537 [non-C99-based standards] (lgammaf): Likewise.
4538 [non-C99-based standards] (tgammaf): Likewise.
4539 [non-C99-based standards] (y0f): Likewise.
4540 [non-C99-based standards] (y1f): Likewise.
4541 [non-C99-based standards] (ynf): Likewise.
4542 [non-C99-based standards] (isnanf): Likewise.
4543 [non-C99-based standards] (acoshf): Likewise.
4544 [non-C99-based standards] (asinhf): Likewise.
4545 [non-C99-based standards] (atanhf): Likewise.
4546 [non-C99-based standards] (cbrtf): Likewise.
4547 [non-C99-based standards] (expm1f): Likewise.
4548 [non-C99-based standards] (ilogbf): Likewise.
4549 [non-C99-based standards] (log1pf): Likewise.
4550 [non-C99-based standards] (logbf): Likewise.
4551 [non-C99-based standards] (nextafterf): Likewise.
4552 [non-C99-based standards] (remainderf): Likewise.
4553 [non-C99-based standards] (rintf): Likewise.
4554 [non-C99-based standards] (scalbf): Likewise.
4555 [non-C99-based standards] (copysignl): Likewise.
4556 [non-C99-based standards] (exp2l): Likewise.
4557 [non-C99-based standards] (log2l): Likewise.
4558 [non-C99-based standards] (modfl): Allow.
4559 [non-C99-based standards] (erfl): Do not allow.
4560 [non-C99-based standards] (erfcl): Likewise.
4561 [non-C99-based standards] (gammal): Likewise.
4562 [non-C99-based standards] (hypotl): Likewise.
4563 [non-C99-based standards] (j0l): Likewise.
4564 [non-C99-based standards] (j1l): Likewise.
4565 [non-C99-based standards] (jnl): Likewise.
4566 [non-C99-based standards] (lgammal): Likewise.
4567 [non-C99-based standards] (tgammal): Likewise.
4568 [non-C99-based standards] (y0l): Likewise.
4569 [non-C99-based standards] (y1l): Likewise.
4570 [non-C99-based standards] (ynl): Likewise.
4571 [non-C99-based standards] (isnanl): Likewise.
4572 [non-C99-based standards] (acoshl): Likewise.
4573 [non-C99-based standards] (asinhl): Likewise.
4574 [non-C99-based standards] (atanhl): Likewise.
4575 [non-C99-based standards] (cbrtl): Likewise.
4576 [non-C99-based standards] (expm1l): Likewise.
4577 [non-C99-based standards] (ilogbl): Likewise.
4578 [non-C99-based standards] (log1pl): Likewise.
4579 [non-C99-based standards] (logbl): Likewise.
4580 [non-C99-based standards] (nextafterl): Likewise.
4581 [non-C99-based standards] (remainderl): Likewise.
4582 [non-C99-based standards] (rintl): Likewise.
4583 [non-C99-based standards] (scalbl): Likewise.
4584 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4585 [non-C99-based standards] (FP_*): Do not allow.
4586 [C99-based standards] (FP_*): Change to
4587 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4588 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4590 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4591 (SIG_ERR): Likewise.
4592 [X/Open-based standards] (SIG_HOLD): Likewise.
4593 (SIG_IGN): Likewise.
4594 (SIGABRT): Use macro-int-constant. Specify type. Require
4599 (SIGSEGV): Likewise.
4601 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4602 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4603 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4604 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4605 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4606 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4607 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4608 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4609 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4610 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4611 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4612 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4613 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4614 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4615 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4616 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4617 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4618 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4619 [X/Open-based standards] (SIGTRAP): Likewise.
4620 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4621 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4622 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4623 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4624 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4627 2012-05-08 Ian Wienand <ianw@vmware.com>
4630 * time/tzset.c (__tzset_parse_tz): Update default rules for
4631 daylight time changes in the Energy Policy Act of 2005.
4633 2012-05-09 Andreas Jaeger <aj@suse.de>
4636 * elf/ldconfig.c (parse_conf): Change string to make clear that
4637 ldconfig only issued a warning if ld.so.conf does not exist.
4639 2012-05-08 David S. Miller <davem@davemloft.net>
4641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4642 movxtod instead of popping the value on the stack.
4644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4646 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4648 * config.h.in: Add HAVE_ARM_PCS_VFP.
4650 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4653 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4654 checking but the checks are disabled for any reason.
4656 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4658 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4659 and ELF64_R_TYPE with ELFW(R_TYPE).
4661 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4663 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4666 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4667 (settimeofday): Likewise.
4669 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4671 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4672 a struct th_u2 inside the union, and move tu_block/tu_code into
4673 a new th_u3 union of tu_block/tu_code inside of that. Move
4674 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4675 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4676 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4677 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4678 (th_stuff): Change to th_u1.tu_stuff.
4680 (th_msg): Change to th_u1.th_u2.tu_data.
4682 2012-05-07 David S. Miller <davem@davemloft.net>
4684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4687 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4688 (SETUP_PIC_REG): Use it.
4689 (SETUP_PIC_REG_LEAF): Use it.
4691 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4695 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4697 (EXPL_FINITE): Likewise.
4699 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4700 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4702 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4704 (EXPL_FINITE): Likewise.
4706 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4707 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4709 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4710 test of -max_value argument for long double.
4711 * sysdeps/i386/fpu/libm-test-ulps: Update.
4712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4714 2012-05-06 David S. Miller <davem@davemloft.net>
4716 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4717 quad soft-float symbols whose references which are compiler
4719 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4721 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4725 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4727 (EXPL_FINITE): Likewise.
4731 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4732 Adjust comments for base varying.
4733 (__expl_finite): Change alias to EXPL_FINITE.
4734 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4736 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4737 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4738 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4739 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4740 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4742 (EXPL_FINITE): Likewise.
4746 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4747 Adjust comments for base varying.
4748 (__expl_finite): Change alias to EXPL_FINITE.
4749 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4754 * math/libm-test.inc (check_float_internal): Correct ulp
4755 calculation for subnormal expected results.
4757 2012-05-06 Andreas Jaeger <aj@suse.de>
4759 * Makeconfig (+math-flags): New, set to -frounding-math.
4760 (+cflags): Add +math-flags so that all of glibc gets compiled with
4763 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4765 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4767 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4773 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4774 (__ieee754_expl): Allow for and saturate large arguments.
4775 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4776 (u_threshold): Likewise.
4777 (__exp): Call __ieee754_exp before checking for overflow and
4779 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4780 (u_threshold): Likewise.
4781 (__expf): Call __ieee754_expf before checking for overflow and
4783 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4784 (u_threshold): Likewise.
4785 (__expl): Call __ieee754_expl before checking for overflow and
4787 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4788 (__ieee754_expl): Allow for and saturate large arguments.
4789 * math/libm-test.inc (exp_test): Add another test. Do not allow
4790 missing overflow exception on overflow.
4791 (expm1_test): Do not allow missing overflow exception on overflow.
4793 * sysdeps/i386/fpu/e_expl.c: Move to ...
4794 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4795 rather than using inline asm.
4796 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4797 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4798 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4800 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4807 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4809 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4810 sysdeps/unix/common/syscalls.list.
4813 (ftruncate): Likewise.
4814 (getrusage): Likewise.
4815 (gettimeofday): Likewise.
4816 (setpgid): Likewise.
4817 (setregid): Likewise.
4818 (setreuid): Likewise.
4819 (sigaction): Likewise.
4820 (truncate): Likewise.
4821 (vhangup): Likewise.
4822 * sysdeps/unix/common/syscalls.list: Remove file.
4823 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4824 * sysdeps/unix/sysv/linux/Implies: Likewise.
4826 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4828 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4830 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4834 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4837 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4840 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4843 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4846 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4849 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4852 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4856 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4860 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4863 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4867 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4871 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4873 * sysdeps/unix/common/bits/dirent.h: Remove file.
4874 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4876 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4877 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4878 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4879 * sysdeps/unix/bsd/isatty.c: Likewise.
4880 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4881 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4882 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4884 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4887 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4888 long double comparison inaccuracies.
4889 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4892 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4894 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4897 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4900 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4901 nonzero digits before rounding a hex value.
4902 * stdlib/tst-strtod.c (tests): Add another test.
4904 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4906 * sysdeps/s390/fpu/libm-test-ulps: Update.
4908 2012-05-03 Andreas Jaeger <aj@suse.de>
4910 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4911 does not get optimized out.
4912 (malloc_opt_barrier): New.
4914 2012-05-03 Andreas Jaeger <aj@suse.de>
4915 Roland McGrath <roland@hack.frob.com>
4917 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4918 intermediate file deletion.
4919 (generated): Add .symlist files.
4921 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4924 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4925 Redirect under this condition.
4926 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4927 [__USE_GNU] (__dprintf_chk): Not under this condition.
4928 [__USE_GNU] (__vdprintf_chk): Likewise.
4929 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4930 under this condition.
4931 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4932 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4933 [__USE_XOPEN2K8] (vdprintf): Likewise.
4934 [__USE_GNU] (__dprintf_chk): Not under this condition.
4935 [__USE_GNU] (__vdprintf_chk): Likewise.
4936 [__USE_GNU] (dprintf): Likewise.
4937 [__USE_GNU] (vdprintf): Likewise.
4939 2012-05-03 Roland McGrath <roland@hack.frob.com>
4941 * elf/Makefile (common-generated): Set this instead of generated for
4942 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4943 $(all-built-dso)-derived lists.
4945 2012-05-03 Andreas Jaeger <aj@suse.de>
4947 * sysdeps/i386/fpu/libm-test-ulps: Update.
4951 * scripts/gen-FAQ.pl: Likewise.
4952 * manual/install.texi (Installation): Point to online location of
4954 * Makefile (files-for-dist): Remove FAQ.
4957 2012-05-02 Allan McRae <allan@archlinux.org>
4959 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4960 (LDFLAGS-reldepmod5.so): Likewise.
4961 (LDFLAGS-reldep6mod1.so): Likewise.
4962 (LDFLAGS-reldep6mod4.so): Likewise.
4963 (LDFLAGS-reldep8mod3.so): Likewise.
4964 (LDFLAGS-unload4mod1.so): Likewise.
4965 (LDFLAGS-unload4mod2.so): Likewise.
4966 (LDFLAGS-tst-initorder): Likewise.
4967 (LDFLAGS-tst-initordera2.so): Likewise.
4968 (LDFLAGS-tst-initordera3.so): Likewise.
4969 (LDFLAGS-tst-initordera4.so): Likewise.
4970 (LDFLAGS-tst-initorderb2.so): Likewise.
4971 (LDFLAGS-noload): Likewise.
4972 (LDFLAGS-next): Likewise.
4973 (LDFLAGS-order2mod1.so): Likewise.
4974 (LDFLAGS-order2mod2.so): Likewise.
4975 (LDFLAGS-tst-initorder2): Likewise.
4976 (LDFLAGS-tst-initorder2a.so): Likewise.
4977 (LDFLAGS-tst-initorder2b.so): Likewise.
4978 (LDFLAGS-tst-initorder2c.so): Likewise.
4979 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4981 2012-05-02 David S. Miller <davem@davemloft.net>
4983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4985 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4988 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4990 2012-05-02 Andreas Jaeger <aj@suse.de>
4992 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4993 since we manipulate rounding mode.
4994 (CPPFLAGS-test-idouble.c): Likewise.
4995 (CPPFLAGS-test-ifloat.c): Likewise.
4996 (CFLAGS-test-ldouble.c): Likewise.
4997 (CFLAGS-test-double.c): Likewise.
4998 (CFLAGS-test-float.c): Likewise.
4999 (CFLAGS-test-misc.c): Likewise.
5000 (CFLAGS-test-test-fenv.c): Likewise.
5002 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5006 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5007 comparisons to determine direction to adjust input.
5009 2012-05-01 Roland McGrath <roland@hack.frob.com>
5011 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5012 output to the target.
5014 * scripts/localplt.awk: New file.
5015 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5016 (check-localplt-CFLAGS): Variable removed.
5017 ($(all-built-dso:=.jmprel)): New static pattern rule.
5018 (generated): Add those targets.
5019 (localplt-built-dso): New variable.
5020 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5022 * elf/check-localplt.c: File removed.
5024 * scripts/check-execstack.awk: New file.
5025 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5026 (check-execstack-CFLAGS): Variable removed.
5027 ($(objpfx)check-execstack.h): Target removed.
5028 ($(objpfx)execstack-default): New target.
5029 (generated): Add that instead of check-execstack.h.
5030 ($(all-built-dso:=.phdr)): New static pattern rule.
5031 (generated): Add those targets.
5032 * elf/check-execstack.c: File removed.
5034 * scripts/check-textrel.awk: New file.
5035 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5036 (check-textrel-CFLAGS): Variable removed.
5037 (all-built-dso): Use := to define.o
5038 ($(all-built-dso:=.dyn)): New static pattern rule.
5039 (generated): Add those targets.
5040 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5041 * config.make.in (READELF): New substituted variable.
5042 * elf/check-textrel.c: File removed.
5044 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5046 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5048 * conform/data/ctype.h-data [C99-based standards] (isblank):
5050 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5051 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5052 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5053 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5054 Specify type. Require positive value.
5057 [ISO || POSIX] (EILSEQ): Do not expect.
5058 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5059 Specify type. Require positive value.
5060 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5061 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5062 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5063 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5064 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5065 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5066 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5067 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5069 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5070 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5071 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5072 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5073 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5074 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5075 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5076 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5077 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5078 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5079 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5080 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5081 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5082 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5083 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5084 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5085 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5086 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5087 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5088 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5089 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5090 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5092 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5093 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5094 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5095 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5096 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5097 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5098 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5099 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5100 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5101 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5102 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5103 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5104 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5105 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5106 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5107 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5108 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5109 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5110 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5111 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5112 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5113 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5114 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5115 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5116 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5117 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5118 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5119 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5120 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5121 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5122 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5123 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5124 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5125 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5129 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5130 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5131 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5132 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5133 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5134 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5135 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5136 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5138 (FLT_ROUNDS): Expect as macro, not constant.
5139 (FLT_MANT_DIG): Use macro-int-constant.
5140 (DBL_MANT_DIG): Likewise.
5141 (LDBL_MANT_DIG): Likewise.
5142 (FLT_DIG): Likewise.
5143 (DBL_DIG): Likewise.
5144 (LDBL_DIG): Likewise.
5145 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5146 (DBL_MIN_EXP): Likewise.
5147 (LDBL_MIN_EXP): Likewise.
5148 (FLT_MAX_EXP): Use macro-int-constant.
5149 (DBL_MAX_EXP): Likewise.
5150 (LDBL_MAX_EXP): Likewise.
5151 (FLT_MAX_10_EXP): Likewise.
5152 (DBL_MAX_10_EXP): Likewise.
5153 (LDBL_MAX_10_EXP): Likewise.
5154 (FLT_MAX): Use macro-constant.
5155 (DBL_MAX): Likewise.
5156 (LDBL_MAX): Likewise.
5157 (FLT_EPSILON): Use macro-constant. Give upper bound.
5158 (DBL_EPSILON): Likewise.
5159 (LDBL_EPSILON): Likewise.
5160 (FLT_MIN): Likewise.
5161 (DBL_MIN): Likewise.
5162 (LDBL_MIN): Likewise.
5163 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5164 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5165 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5166 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5167 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5168 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5169 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5170 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5171 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5172 [ISO11] (FLT_TRUE_MIN): Likewise.
5173 [ISO11] (LDBL_TRUE_MIN): Likewise.
5174 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5175 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5176 (SCHAR_MIN): Use macro-int-constant. Specify type.
5177 (SCHAR_MAX): Likewise.
5178 (UCHAR_MAX): Likewise.
5179 (CHAR_MIN): Likewise.
5180 (CHAR_MAX): Likewise.
5181 (MB_LEN_MAX): Use macro-int-constant.
5182 (SHRT_MIN): Use macro-int-constant. Specify type.
5183 (SHRT_MAX): Likewise.
5184 (USHRT_MAX): Likewise.
5185 (INT_MAX): Likewise.
5186 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5188 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5190 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5192 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5193 bound negative. Suffix upper bound with "L".
5194 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5196 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5198 [C99-based standards] (LLONG_MAX): Likewise.
5199 [C99-based standards] (ULLONG_MAX): Likewise.
5200 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5202 [ISO11] (max_align_t): Require type.
5203 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5205 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5206 from $CFLAGS, without defining away __attribute__ calls.
5207 (checknamespace): Use $CFLAGS_namespace.
5209 * conform/conformtest.pl (@keywords): Only include C99 keywords
5210 for standards based on C99 or C11.
5212 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5214 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5217 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5218 usability of symbols in #if.
5220 * conform/conformtest.pl: If macro or constant types start
5221 "promoted:", expect the symbol to be of the following type
5222 promoted by the integer promotions.
5224 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5225 in one place. Also handle "macro-constant".
5227 * conform/conformtest.pl: Only accept expected macro values with
5228 "==". Parse all "macro" lines in one place.
5229 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5231 * conform/conformtest.pl: Handle braced types on "constant" lines
5232 instead of handling "typed-constant".
5233 * conform/data/signal.h-data: Use "constant" instead of
5236 * conform/conformtest.pl: Handle "optional-" at start of lines in
5237 one place rather than duplicating several cases. Handle each
5238 format of "macro" line with initial "optional-".
5240 * conform/conformtest.pl: Only accept expected constant or
5241 optional-constant values with "==". Parse all "constant" lines in
5242 one place. Parse all "optional-constant" lines in one place.
5243 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5244 * conform/data/fmtmsg.h-data: Likewise.
5245 * conform/data/netinet/in.h-data: Likewise.
5246 * conform/data/tar.h-data: Likewise.
5247 * conform/data/limits.h-data: Use "==" form on "constant" and
5248 "optional-constant" lines.
5250 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5251 Use -std=c99 for XOPEN2K.
5252 (@knownproblems): Remove.
5253 (newtoken): Don't check %isknown.
5255 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5256 Do not expect macro.
5257 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5262 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5263 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5265 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5266 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5267 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5268 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5269 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5270 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5271 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5272 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5273 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5274 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5275 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5276 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5277 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5278 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5279 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5280 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5281 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5285 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5286 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5287 [XPG3] (acosh): Likewise.
5288 [XPG3] (asinh): Likewise.
5289 [XPG3] (atanh): Likewise.
5290 [XPG3] (cbrt): Likewise.
5291 [XPG3] (expm1): Likewise.
5292 [XPG3] (ilogb): Likewise.
5293 [XPG3] (log1p): Likewise.
5294 [XPG3] (logb): Likewise.
5295 [XPG3] (nextafter): Likewise.
5296 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5297 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5298 [XPG3] (remainder): Likewise.
5299 [XPG3] (rint): Likewise.
5300 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5301 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5302 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5303 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5304 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5305 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5306 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5307 [UNIX98 || XOPEN2K] (scalb): Expect.
5308 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5309 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5310 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5311 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5312 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5313 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5314 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5315 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5316 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5317 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5318 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5319 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5320 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5321 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5322 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5323 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5324 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5325 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5326 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5327 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5328 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5329 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5330 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5331 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5332 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5333 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5334 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5335 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5336 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5337 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5338 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5339 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5340 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5341 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5342 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5343 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5344 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5345 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5346 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5347 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5348 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5349 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5350 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5351 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5352 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5353 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5354 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5355 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5356 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5357 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5358 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5359 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5360 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5361 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5362 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5363 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5364 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5365 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5366 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5367 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5368 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5369 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5370 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5371 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5372 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5373 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5374 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5375 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5376 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5377 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5378 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5379 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5380 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5381 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5382 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5383 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5384 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5385 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5386 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5387 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5388 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5389 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5390 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5391 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5392 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5393 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5394 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5395 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5396 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5397 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5398 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5399 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5400 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5401 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5402 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5403 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5404 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5405 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5406 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5407 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5408 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5409 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5410 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5411 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5412 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5413 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5414 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5415 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5416 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5417 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5418 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5419 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5420 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5421 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5422 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5423 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5424 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5425 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5426 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5427 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5428 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5429 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5430 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5431 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5432 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5433 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5434 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5435 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5436 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5437 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5438 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5439 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5440 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5441 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5442 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5443 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5444 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5446 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5447 _XOPEN_SOURCE_EXTENDED for XPG4.
5449 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5451 * Makeconfig (localtime): Remove variable.
5452 (inst_localtime-file): Likewise.
5454 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5475 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5479 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5480 comparisons to determine direction to adjust input.
5481 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5482 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5483 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5485 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5487 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5489 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5490 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5492 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5494 * math/libm-test.inc (nexttoward_test): Add more tests.
5496 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5499 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5500 in version GLIBC_2.1, not GLIBC_2.0.
5501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5504 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5507 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5509 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5510 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5511 * math/libm-test.inc (acos_test): Add more tests.
5512 (asin_test): Likewise.
5513 * sysdeps/i386/fpu/libm-test-ulps: Update.
5514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5517 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5519 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5520 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5521 * math/libm-test.inc (acos_test_tonearest): New function.
5522 (acos_test_towardzero): Likewise.
5523 (acos_test_downward): Likewise.
5524 (acos_test_upward): Likewise.
5525 (asin_test_tonearest): Likewise.
5526 (asin_test_towardzero): Likewise.
5527 (asin_test_downward): Likewise.
5528 (asin_test_upward): Likewise.
5529 (main): Call the new functions.
5530 * sysdeps/i386/fpu/libm-test-ulps: Update.
5531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5535 * math/e_exp10.c: Include <float.h>.
5536 (__ieee754_exp10): Handle underflow here rather than multiplying
5537 large negative argument by M_LN10.
5538 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5540 * math/e_exp10l.c: Include <float.h>.
5541 (__ieee754_exp10l): Handle underflow here rather than multiplying
5542 large negative argument by M_LN10l.
5543 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5544 spurious overflow exception on underflow.
5546 2012-04-29 Marek Polacek <polacek@redhat.com>
5548 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5549 (__fortify_function): New macro.
5550 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5551 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5552 __extern_always_inline.
5553 * libio/bits/stdio2.h: Likewise.
5554 * libio/bits/stdio.h: Likewise.
5555 * string/string.h: Likewise.
5556 * string/bits/string3.h: Likewise.
5557 * include/stdio.h: Likewise.
5558 * stdlib/bits/stdlib.h: Likewise.
5559 * stdlib/stdlib.h: Likewise.
5560 * rt/bits/mqueue2.h: Likewise.
5561 * rt/mqueue.h: Likewise.
5562 * posix/bits/unistd.h: Likewise.
5563 * posix/unistd.h: Likewise.
5564 * io/bits/poll2.h: Likewise.
5565 * io/bits/fcntl2.h: Likewise.
5566 * io/fcntl.h: Likewise.
5567 * io/sys/poll.h: Likewise.
5568 * misc/bits/syslog.h: Likewise.
5569 * misc/bits/syslog-ldbl.h: Likewise.
5570 * misc/sys/syslog.h: Likewise.
5571 * socket/bits/socket2.h: Likewise.
5572 * socket/sys/socket.h: Likewise.
5573 * debug/tst-chk1.c: Likewise.
5574 * wcsmbs/bits/wchar2.h: Likewise.
5575 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5576 * wcsmbs/wchar.h: Likewise.
5578 2012-04-29 Andreas Jaeger <aj@suse.de>
5580 * Makerules (tests): Remove enable-check-abi protection.
5581 (check-abi-warn): Remove.
5582 (check-abi-%): Remove check-abi-warn usage.
5584 * configure.in: Remove check-abi configure option.
5585 * configure: Regenerated.
5586 * config.make.in (enable-check-abi): Remove.
5588 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5591 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5592 double functions to double *_finite functions.
5595 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5596 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5598 * stdio-common/Makefile (tests): Add tst-sprintf3.
5599 * stdio-common/tst-sprintf3.c: New file.
5601 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5602 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5604 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5606 * conform/conformtest.pl: Remove duplicate typed-constant
5609 2012-04-28 David S. Miller <davem@davemloft.net>
5611 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5612 (check-abi-%): Remove AWK script prerequisite and explicit
5614 (check-abi): Rewrite to just diff the symlist with the abilist.
5615 (config-tls, config-abi-config): Delete, no longer used.
5616 (update-abi-%): Remove AWK script and explicit abilist directory.
5617 (update-abi): Rewrite to simply compare and conditionally copy the
5618 symlist and the sysdep abilist file. Remove update-abi-config
5620 * abilist/ld.abilist: Remove.
5621 * abilist/libBrokenLocale.abilist: Remove.
5622 * abilist/libanl.abilist: Remove.
5623 * abilist/libcrypt.abilist: Remove.
5624 * abilist/libdl.abilist: Remove.
5625 * abilist/librt.abilist: Remove.
5626 * abilist/libthread_db.abilist: Remove.
5627 * abilist/libutil.abilist: Remove.
5628 * scripts/extract-abilist.awk: Remove.
5629 * scripts/merge-abilist.awk: Remove.
5630 * sysdeps/generic/libcidn.abilist: New file.
5631 * sysdeps/generic/libnss_compat.abilist: New file.
5632 * sysdeps/generic/libnss_db.abilist: New file.
5633 * sysdeps/generic/libnss_dns.abilist: New file.
5634 * sysdeps/generic/libnss_files.abilist: New file.
5635 * sysdeps/generic/libnss_hesiod.abilist: New file.
5636 * sysdeps/generic/libnss_nis.abilist: New file.
5637 * sysdeps/generic/libnss_nisplus.abilist: New file.
5638 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5639 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5640 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5642 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5643 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5644 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5645 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5646 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5647 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5648 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5649 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5650 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5652 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5653 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5654 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5655 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5657 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5658 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5659 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5660 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5661 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5662 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5664 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5665 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5666 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5668 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5771 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5772 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5773 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5775 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5776 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5777 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5778 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5779 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5780 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5781 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5782 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5783 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5784 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5836 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5838 * conform/conformtest.pl: Fix typo in handling typed-constant from
5841 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5843 * README: Cut down references to pre-2.6 Linux kernels and
5844 Linuxthreads. Update lists of configurations in libc and ports
5845 and sort alphabetically. Say "or newer" with Linux kernel version
5848 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5850 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5853 * math/libm-test.inc (logb_test_downward): New test to expose
5854 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5857 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5860 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5862 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5863 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5865 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5867 * sysdeps/unix/i386/brk.S: Remove file.
5868 * sysdeps/unix/i386/dl-brk.S: Likewise.
5869 * sysdeps/unix/i386/pipe.S: Likewise.
5870 * sysdeps/unix/i386/sigreturn.S: Likewise.
5871 * sysdeps/unix/i386/syscall.S: Likewise.
5872 * sysdeps/unix/i386/vfork.S: Likewise.
5873 * sysdeps/unix/i386/wait.S: Likewise.
5875 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5876 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5878 * configure.in (arm*-none*): Do not allow without
5879 --enable-hacker-mode.
5880 (netbsd*): Remove case setting base_os.
5881 (386bsd*): Likewise.
5882 (freebsd*): Likewise.
5886 (ultrix*): Likewise.
5887 (newsos*): Likewise.
5897 (solaris[2-9]*): Likewise.
5899 * configure: Regenerated.
5901 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5904 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5905 overflow or cancellation in calculating denominator.
5906 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5907 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5908 down expression to avoid unexpected rounding in newer GCCs.
5909 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5911 2012-04-26 David S. Miller <davem@davemloft.net>
5913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5914 long-double compat symbols.
5915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5929 2012-04-25 David S. Miller <davem@davemloft.net>
5931 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5932 HWCAP_* values only after the memory barriers have been defined.
5933 (atomic_full_barrier): Define.
5934 (atomic_read_barrier): Define.
5935 (atomic_write_barrier): Define.
5937 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5939 * shlib-versions: Add libgcc_s version information.
5940 * sysdeps/generic/libgcc_s.h: Remove.
5941 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5943 * sysdeps/gnu/unwind-resume.c: Likewise.
5944 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5946 2012-04-25 David S. Miller <davem@davemloft.net>
5948 * sysdeps/unix/sparc/brk.S: Delete.
5949 * sysdeps/unix/sparc/dl-brk.S: Delete.
5950 * sysdeps/unix/sparc/pipe.S: Delete.
5951 * sysdeps/unix/sparc/sysdep.S: Delete.
5952 * sysdeps/unix/sparc/sysdep.h: Delete.
5953 * sysdeps/unix/sparc/vfork.S: Delete.
5954 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5955 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5956 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5957 ret_ERRVAL, r0, r1, MOVE): Define.
5958 (JUMPTARGET): Remove.
5959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5960 sysdeps/unix/sparc/sysdep.h
5961 (ENTRY, END): Remove.
5962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5964 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5966 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5967 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5970 * timezone/README: Update upstream location and email address for
5972 * timezone/zdump.c: Update from tzcode 2012b.
5973 * timezone/zic.c: Likewise.
5975 * configure.in (libc_cv_as_needed): Remove test.
5976 * configure: Regenerated.
5977 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5978 conditional definition.
5979 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5980 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5981 * config.make.in (have-as-needed): Remove variable.
5983 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5984 Paul Pluzhnikov <ppluzhnikov@google.com>
5986 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5989 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5991 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5992 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5993 * sysdeps/sh/strlen.S: Likewise.
5995 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5997 * sysdeps/unix/fork.S: Remove file.
5998 * sysdeps/unix/i386/fork.S: Likewise.
5999 * sysdeps/unix/sparc/fork.S: Likewise.
6001 * sysdeps/unix/system.c: Remove file.
6002 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6004 * sysdeps/unix/getegid.S: Remove file.
6005 * sysdeps/unix/geteuid.S: Likewise.
6007 2012-04-24 Roland McGrath <roland@hack.frob.com>
6009 * scripts/check-localplt.awk: New file.
6010 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6012 * scripts/data/localplt-generic.data: Add a comment.
6014 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6015 NODE when __dir_mkfile failed.
6016 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6017 Reported by Ludovic Courtès <ludo@gnu.org>.
6019 2012-04-24 Andreas Jaeger <aj@suse.de>
6021 * Makerules (common-clean): Also remove gen-as-const-headers
6024 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6026 * Makerules (native-compile): Do not change working directory for
6027 build. Use $(OUTPUT_OPTION) in command.
6028 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6030 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6033 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6034 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6035 * math/libm-test.inc (floor_test): Add more tests.
6036 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6038 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6040 * sysdeps/unix/getdents.c: Remove file.
6041 * sysdeps/unix/sysv/getdents.c: Likewise.
6042 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6044 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6045 sysdeps/unix/mman/syscalls.list.
6047 (mprotect): Likewise.
6050 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6051 * sysdeps/unix/mman/syscalls.list: Remove.
6052 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6054 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6055 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6056 * configure: Regenerated.
6057 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6059 * config.make.in (libgcc_s_suffix): Remove variable.
6061 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6063 * sysdeps/unix/sysv/gethostname.c: Move to ...
6064 * sysdeps/posix/gethostname.c: ... here.
6066 * sysdeps/unix/execve.S: Remove file.
6068 * sysdeps/unix/_exit.S: Remove file.
6070 2012-04-23 Andreas Jaeger <aj@suse.de>
6073 * manual/Makefile: Remove make dist support, there's no
6074 need for a stand-alone documentation tar ball.
6075 (TEXI2DVI): Define always, it's not in Makeconfig.
6079 (glibc-doc-$(edition).tar): Removed
6083 (ETAGS): Remove, it's in Makeconfig.
6084 (move-if-change): Remove, it's in Makeconfig.
6086 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6089 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6090 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6091 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6092 (strtod_l, strtof_l, strtold_l): Remove __wur.
6093 It is not necessarily an error to ignore strtol's return value.
6094 One can reliably look at the stored endptr to decide whether
6095 the number had valid syntax.
6097 2012-04-21 Andreas Jaeger <aj@suse.de>
6100 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6102 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6104 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6105 * sysdeps/unix/sysv/Versions: Remove file.
6107 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6112 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6116 version from __vm86.
6118 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6120 * sysdeps/unix/common/lxstat.c: Remove file.
6121 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6123 * sysdeps/unix/sysv/Makefile: Remove file.
6125 * sysdeps/unix/sysv/direct.h: Remove file.
6127 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6128 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6129 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6130 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6131 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6132 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6133 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6135 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6137 * sysdeps/unix/xmknod.c: Remove file.
6138 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6140 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6142 * sysdeps/unix/sysv/i386/time.S: Remove file.
6144 * sysdeps/unix/fxstat.c: Remove file.
6145 * sysdeps/unix/xstat.c: Likewise.
6146 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6148 * sysdeps/unix/sysv/sigaction.c: Remove file.
6150 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6151 (sysdep_headers): Remove variable.
6152 [termio.h not in sysdep_headers] (generated): Likewise.
6153 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6154 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6155 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6156 * sysdeps/unix/sysv/tcflow.c: Likewise.
6157 * sysdeps/unix/sysv/tcflush.c: Likewise.
6158 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6159 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6160 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6161 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6162 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6164 * sysdeps/unix/siglist.c: Remove file.
6166 * sysdeps/unix/getppid.S: Remove file.
6168 * sysdeps/unix/mkdir.c: Remove file.
6169 * sysdeps/unix/rmdir.c: Likewise.
6171 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6173 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6175 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6176 errlist-compat value.
6178 2012-04-18 David S. Miller <davem@davemloft.net>
6180 * sysdeps/generic/memcopy.h (reg_char): Delete.
6181 * debug/strcat_chk.c: Use char, not reg_char.
6182 * debug/strcpy_chk.c: Likewise.
6183 * debug/strncat_chk.c: Likewise.
6184 * debug/strncpy_chk.c: Likewise.
6185 * string/memchr.c: Likewise.
6186 * string/memrchr.c: Likewise.
6187 * string/rawmemchr.c: Likewise.
6188 * string/strcat.c: Likewise.
6189 * string/strchr.c: Likewise.
6190 * string/strchrnul.c: Likewise.
6191 * string/strcmp.c: Likewise.
6192 * string/strcpy.c: Likewise.
6193 * string/strncat.c: Likewise.
6194 * string/strncmp.c: Likewise.
6195 * string/strncpy.c: Likewise.
6197 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6199 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6200 __builtin_memcopy is called when src and dest ranges are known to not
6203 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6205 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6206 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6207 fwd_align_merge macro call.
6208 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6209 bwd_align_merge macro call.
6210 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6212 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6214 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6215 bwd_align_merge macros.
6216 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6217 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6218 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6220 2012-04-18 David S. Miller <davem@davemloft.net>
6222 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6224 2012-04-18 Andreas Jaeger <aj@suse.de>
6227 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6228 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6229 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6231 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6232 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6233 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6235 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6236 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6237 Adjust for changed ldbl-128 files.
6239 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6240 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6241 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6243 2012-04-17 David S. Miller <davem@davemloft.net>
6245 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6247 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6249 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6250 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6251 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6252 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6253 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6254 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6256 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6259 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6260 * math/libm-test.inc: Add ilogb errno and exception tests.
6261 * math/w_ilogb.c: New file: ilogb wrapper.
6262 * math/w_ilogbf.c: New file: ilogbf wrapper.
6263 * math/w_ilogbl.c: New file: ilogbl wrapper.
6264 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6265 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6266 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6267 exception being thrown with 0.0 as argument.
6268 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6269 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6270 exception being thrown with 0.0 as argument.
6271 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6272 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6273 exception being thrown with 0.0 as argument.
6274 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6275 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6276 exception being thrown with 0.0 as argument.
6277 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6278 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6279 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6280 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6281 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6282 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6283 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6284 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6285 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6287 2012-04-17 Petr Baudis <pasky@ucw.cz>
6289 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6292 2012-04-16 Marek Polacek <polacek@redhat.com>
6294 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6296 2012-04-16 Marek Polacek <polacek@redhat.com>
6298 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6299 operands of fdivp instruction.
6301 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6303 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6304 * elf/tst-auditmod3b.c: Likewise.
6305 * elf/tst-auditmod4b.c: Likewise.
6306 * elf/tst-auditmod5b.c: Likewise.
6307 * elf/tst-auditmod6b.c: Likewise.
6308 * elf/tst-auditmod6c.c: Likewise.
6309 * elf/tst-auditmod7b.c: Likewise.
6310 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6311 * sysdeps/x86_64/preconfigure.in: Likewise.
6312 * sysdeps/x86_64/preconfigure: Regenerated.
6314 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6316 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6319 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6322 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6324 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6327 * locale/iso-639.def: Fix gl language name. Spotted by
6330 2012-04-12 Roland McGrath <roland@hack.frob.com>
6333 * libio/libio.h (__io_write_fn): Update comment.
6335 2012-04-12 Petr Baudis <pasky@ucw.cz>
6338 * stdio.texi (Hook Functions): The user provided writer function
6339 is not allowed to return -1.
6341 2012-04-11 David S. Miller <davem@davemloft.net>
6343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6345 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6347 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6348 Add a leading slash to rtkaio.
6350 2012-04-11 Jim Meyering <meyering@redhat.com>
6353 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6354 It is not necessarily an error to ignore fwrite's return
6355 value. One can reliably use ferror to test for errors after
6358 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6360 * bits/types.h (__snseconds_t): New type.
6361 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6363 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6365 (__SNSECONDS_T_TYPE): Likewise.
6366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6367 (__SNSECONDS_T_TYPE): Likewise.
6368 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6369 (__SNSECONDS_T_TYPE): Likewise.
6371 2012-04-10 Andreas Jaeger <aj@suse.de>
6374 * manual/time.texi (Processor Time): Return type of times is
6375 elapsed real time since an arbitrary point in the past.
6376 (CPU Time): Move CLK_TCK from here...
6377 (Processor Time): ...to here. Correct description.
6378 * manual/conf.texi (Constants for Sysconf): Correct description of
6381 2012-04-10 David S. Miller <davem@davemloft.net>
6384 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6385 where the is a gap between DT_REL(A) and DT_JMPREL.
6387 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6389 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6390 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6391 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6393 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6395 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6396 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6397 (dl_main): Handle --inhibit-cache.
6398 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6400 * elf/dl-load.c (_dl_map_object): Use it.
6401 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6403 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6406 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6407 (__ieee754_powl): Saturate large exponents rather than testing for
6408 overflow of y*log2(x).
6409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6410 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6414 * math/s_ctan.c: Include <float.h>.
6415 (__ctan): Avoid internal overflow or cancellation in calculating
6417 * math/s_ctanf.c: Likewise.
6418 * math/s_ctanl.c: Likewise.
6419 * math/s_ctanh.c: Likewise.
6420 * math/s_ctanhf.c: Likewise.
6421 * math/s_ctanhl.c: Likewise.
6422 * math/libm-test.inc (ctan_test): Add more tests.
6423 (ctanh_test): Likewise.
6424 * sysdeps/i386/fpu/libm-test-ulps: Update.
6425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6427 2012-04-09 Andreas Jaeger <aj@suse.de>
6430 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6431 is an optional BSD extension.
6434 * manual/stdio.texi (Opening Streams): Document additional fopen
6437 2012-04-09 Roland McGrath <roland@hack.frob.com>
6439 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6440 %eax without telling the compiler.
6442 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6445 * manual/install.texi: Use sourceware.org.
6447 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6450 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6451 (__ieee754_pow): Generate overflow and underflow using huge*huge
6452 and tiny*tiny rather than just returning constant infinity or zero
6453 for large exponents.
6454 * math/libm-test.inc (pow_test): Require overflow exceptions for
6455 applicable cases of large exponents.
6458 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6459 (__ieee754_pow): Use iterative multiplication algorithm only for
6460 integer exponents with absolute value below 1024. Check for odd
6461 integer exponents when using algorithm for real exponents.
6462 * math/libm-test.inc (pow_test): Add more tests.
6463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6465 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6468 * math/libm-test.inc (exp_test): Do not allow overflow exception
6471 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6474 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6475 instead of __kernel_standard_f.
6477 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6479 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6480 * sysdeps/x86_64/memset_chk.S: Likewise.
6482 2012-04-08 Andreas Jaeger <aj@suse.de>
6485 * manual/startup.texi (Environment Access): Describe return value
6486 for putenv and setenv.
6489 * manual/filesys.texi (Directory Entries): Add description for
6493 * manual/filesys.texi (Directory Entries): Clarify that it's file
6494 system not operating system in the description of DT_UNKNOWN.
6497 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6499 2012-04-08 Stephen Compall <s11@member.fsf.org>
6502 * manual/llio.texi (Opening and Closing Files): Add cross
6503 reference to explain mode argument.
6505 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6507 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6508 * sysdeps/x86_64/memset_chk.S: Likewise.
6510 2012-04-07 David S. Miller <davem@davemloft.net>
6512 * elf/elf.h (R_SPARC_WDISP10): Define.
6513 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6515 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6516 R_SPARC_SIZE64 and R_SPARC_H34.
6518 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6520 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6521 conditions and remove no longer applicable assertion.
6523 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6525 * bits/byteswap.h: Include <features.h>.
6526 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6527 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6529 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6531 * bits/byteswap.h (__bswap_16): Removed.
6532 Include <bits/byteswap-16.h> to get __bswap_16.
6533 * sysdeps/i386/bits/byteswap.h: Likewise.
6534 * sysdeps/s390/bits/byteswap.h: Likewise.
6535 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6536 * bits/byteswap-16.h: New file.
6537 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6538 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6539 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6540 * string/Makefile (headers): Add bits/byteswap-16.h.
6542 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6545 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6547 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6548 * nss/tst-nss-static.c: New.
6550 2012-04-06 Robert Millan <rmh@gnu.org>
6553 * manual/llio.texi (File Position Primitive): lseek
6554 refers to WHENCE when it really means OFFSET.
6556 2012-04-06 Andreas Jaeger <aj@suse.de>
6558 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6559 strncmp declarations.
6561 * abilist/libc.abilist: Add __poll and __ppoll.
6563 2012-04-05 David S. Miller <davem@davemloft.net>
6565 * scripts/check-local-headers.sh: Accept a host triplet in the
6566 path matched by the exclude regexp.
6568 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6570 * sysdeps/powerpc/powerpc32/dl-machine.h
6571 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6572 * sysdeps/s390/s390-32/dl-machine.h
6573 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6574 * sysdeps/sparc/sparc32/dl-machine.h
6575 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6576 * sysdeps/sparc/sparc64/dl-machine.h
6577 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6579 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6581 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6582 undefined symbol errors.
6584 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6587 2012-04-05 Michael Matz <matz@suse.de>
6590 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6592 2012-04-05 Andreas Jaeger <aj@suse.de>
6595 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6598 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6600 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6601 which ROUND is no valid rounding mode.
6603 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6605 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6607 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6609 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6611 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6612 an exception using FPU order intentionally.
6614 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6616 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6617 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6618 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6619 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6621 2012-04-05 Simon Josefsson <simon@josefsson.org>
6624 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6625 EINVAL when BUFLEN is too smal.
6627 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6630 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6631 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6633 2012-04-03 Andreas Jaeger <aj@suse.de>
6636 * manual/setjmp.texi (System V contexts): Fix sentence.
6639 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6640 New macro for this case.
6641 [!__GNUC__] (__bswap_64): New inline function for this case.
6642 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6643 * bits/byteswap.h: Likewise.
6644 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6645 ull, guard with __GLIBC_HAVE_LONG_LONG.
6647 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6648 __GLIBC_HAVE_LONG_LONG.
6650 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6651 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6653 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6656 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6657 inptr and inend, rather than using last_ch.
6659 2012-04-02 David S. Miller <davem@davemloft.net>
6661 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6662 * stdio-common/printf-parse.h (read_int): Change return type to
6663 'int', return -1 on INT_MAX overflow.
6664 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6665 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6666 overflows INT_MAX. Check for overflow of in-format-string precision
6667 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6668 SIZE_MAX not INT_MAX for integer overflow test.
6669 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6670 skip the construct in the format string but do not record anything.
6671 * stdio-common/bug22.c: Adjust to test both width/prevision
6672 INT_MAX overflow as well as total length INT_MAX overflow. Check
6673 explicitly for proper errno values.
6675 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6677 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6679 * string/test-strcmp.c [! WIDE]: Likewise.
6680 * time/tst-mktime2.c: Likewise for INT_MAX.
6681 * string/test-string.h: #include <sys/param.h> for MIN.
6683 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6684 * sysdeps/i386/init-first.c (init): Likewise.
6685 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6686 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6687 * sysdeps/sh/init-first.c (init): Likewise.
6689 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6691 * po/ru.po: Update from translation team.
6692 * po/vi.po: Likewise.
6694 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6696 * resolv/nss_dns/dns-host.c: Merge copyright years.
6698 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6700 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6701 Optimize memcpy with prefetch if
6702 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6703 src, dst pointers have unequal 16 byte alignments.
6705 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6708 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6709 from a CNAME entry and return the minimum ttl for the query.
6710 (gaih_getanswer_slice): Likewise.
6712 2012-03-30 Jeff Law <law@redhat.com>
6714 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6716 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6717 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6719 * resolv/nss_dns/dns-host.c: Update copyright year.
6721 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6723 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6724 requests to save a system call. Fix check that all bytes are sent.
6726 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6727 comments for sendmmsg.
6729 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6732 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6733 with only 1 character between 0x0041 and 0x01b0.
6734 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6735 * wcsmbs/tst-mbsnrtowcs.c: New file.
6737 2012-03-29 David S. Miller <davem@davemloft.net>
6739 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6740 small copies by hand.
6742 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6745 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6746 _nss_compat_initgroups_dyn): Fall back to malloc/free
6747 for large group memberships.
6749 2012-03-28 David S. Miller <davem@davemloft.net>
6751 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6752 that branches into memcpy.
6753 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6754 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6755 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6756 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6757 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6759 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6761 * sysdeps/sparc/mempcpy.S: New file.
6763 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6764 the IFUNC routine in the libc case.
6765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6767 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6768 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6769 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6770 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6771 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6772 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6773 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6774 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6776 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6777 loop to 256 bytes instead of 64 bytes and fix test signedness.
6779 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6780 * sysdeps/sparc/sparc32/Makefile: rather than here...
6781 * sysdeps/sparc/sparc64/Makefile: and here.
6783 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6785 * malloc/mallocbug.c: Avoid warnings about unused variables.
6787 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6790 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6791 in the right place. Discard and retry query if response is
6792 larger than input buffer size.
6794 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6799 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6800 x for large integer exponent.
6801 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6802 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6803 sign of result as needed afterwards.
6804 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6805 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6806 result for underflowing pow the same as for overflow.
6807 (__kernel_standard_l): Handle powl overflow and underflow here
6808 rather than calling __kernel_standard.
6809 * math/libm-test.inc (pow_test): Add more tests.
6824 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6825 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6826 (__kernel_standard_l): New function.
6827 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6829 * math/w_acosl.c (__acosl): Likewise.
6830 * math/w_asinl.c (__asinl): Likewise.
6831 * math/w_atan2l.c (__atan2l): Likewise.
6832 * math/w_atanhl.c (__atanhl): Likewise.
6833 * math/w_coshl.c (__coshl): Likewise.
6834 * math/w_exp10l.c (__exp10l): Likewise.
6835 * math/w_exp2l.c (__exp2l): Likewise.
6836 * math/w_fmodl.c (__fmodl): Likewise.
6837 * math/w_hypotl.c (__hypotl): Likewise.
6838 * math/w_j0l.c (__j0l, __y0l): Likewise.
6839 * math/w_j1l.c (__j1l, __y1l): Likewise.
6840 * math/w_jnl.c (__jnl, __ynl): Likewise.
6841 * math/w_lgammal.c (__lgammal): Likewise.
6842 * math/w_log10l.c (__log10l): Likewise.
6843 * math/w_log2l.c (__log2l): Likewise.
6844 * math/w_logl.c (__logl): Likewise.
6845 * math/w_powl.c (__powl): Likewise.
6846 * math/w_remainderl.c (__remainderl): Likewise.
6847 * math/w_scalbl.c (sysv_scalbl): Likewise.
6848 * math/w_sinhl.c (__sinhl): Likewise.
6849 * math/w_sqrtl.c (__sqrtl): Likewise.
6850 * math/w_tgammal.c (__tgammal): Likewise.
6851 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6852 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6853 * math/libm-test.inc (acos_test): Add more tests.
6854 (acosh_test): Likewise.
6855 (asin_test): Likewise.
6856 (atanh_test): Likewise.
6857 (exp_test): Likewise.
6858 (exp10_test): Likewise.
6859 (exp2_test): Likewise.
6860 (expm1_test): Likewise.
6861 (lgamma_test): Likewise.
6862 (log_test): Likewise.
6863 (log10_test): Likewise.
6864 (log1p_test): Likewise.
6865 (log2_test): Likewise.
6866 (pow_test): Do not allow some spurious overflow exceptions.
6867 (sqrt_test): Add more tests.
6868 (tgamma_test): Likewise.
6869 (y0_test): Likewise.
6870 (y1_test): Likewise.
6871 (yn_test): Likewise.
6873 2012-03-27 Anton Blanchard <anton@samba.org>
6875 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6877 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6878 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6879 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6881 2012-03-27 David S. Miller <davem@davemloft.net>
6883 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6885 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6888 2012-03-27 Andreas Jaeger <aj@suse.de>
6890 * sysdeps/x86_64/elf/configure.in: Moved to ...
6891 * sysdeps/x86_64/configure.in: ... here.
6892 * sysdeps/x86_64/elf/start.S: Moved to ...
6893 * sysdeps/x86_64/start.S: ... here.
6894 * sysdeps/x86_64/elf/configure: Delete.
6896 * sysdeps/x86_64/configure.in: Merge contents from
6897 sysdeps/i386/configure.in (without i686 check).
6899 * sysdeps/i386/elf/Versions: Merge into ...
6900 * sysdeps/i386/Versions: ... this.
6901 * sysdeps/i386/elf/Versions: Delete file.
6902 * sysdeps/i386/elf/start.S: Moved to ...
6903 * sysdeps/i386/start.S: ...here.
6904 * sysdeps/i386/elf/configure.in: Merge into...
6905 * sysdeps/i386/configure.in: ...here.
6906 * sysdeps/i386/elf/configure.in: Delete file.
6907 * sysdeps/i386/elf/configure: Delete file.
6909 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6910 * debug/backtracesyms.c: ... here.
6911 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6912 * debug/backtracesymsfd.c: ... here.
6913 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6914 * sysdeps/generic/ifunc-sel.h: ... here.
6916 * sysdeps/unix/i386/start.c: Delete file.
6917 * sysdeps/unix/sparc/start.c: Delete file.
6918 * sysdeps/unix/start.c: Delete file.
6920 * sysdeps/sh/elf/configure.in: Moved to ...
6921 * sysdeps/sh/configure.in: ... here.
6922 * sysdeps/sh/elf/start.S: Moved to ...
6923 * sysdeps/sh/start.S: ... here.
6924 * sysdeps/sh/elf/configure: Delete file.
6926 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6927 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6928 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6929 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6930 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6931 * sysdeps/powerpc/powerpc64/start.S: here.
6932 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6933 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6934 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6935 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6936 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6938 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6939 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6940 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6941 * sysdeps/powerpc/powerpc32/start.S: ... here.
6942 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6943 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6944 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6946 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6947 * sysdeps/powerpc/ifunc-sel.h: ... here.
6948 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6949 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6951 * sysdeps/sparc/elf/configure.in: Moved to ...
6952 * sysdeps/sparc/configure.in: ... here.
6953 * sysdeps/sparc/elf/configure: Delete file.
6954 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6955 * sysdeps/sparc/sparc32/start.S: ... here.
6956 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6957 * sysdeps/sparc/sparc64/start.S: ... here.
6958 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6959 * sysdeps/sparc/sparc32/Makefile: ... this.
6960 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6961 * sysdeps/sparc/sparc64/Makefile: ... this.
6963 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6964 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6965 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6966 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6967 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6968 * sysdeps/s390/s390-32/setjmp.S: ... here.
6969 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6970 * sysdeps/s390/s390-32/configure.in: ... here.
6971 * sysdeps/s390/s390-32/elf/configure: Delete file.
6972 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6973 * sysdeps/s390/s390-32/start.S: ... here.
6975 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6976 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6977 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6978 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6979 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6980 * sysdeps/s390/s390-64/setjmp.S: ... here.
6981 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6982 * sysdeps/s390/s390-64/configure.in: ... here
6983 * sysdeps/s390/s390-64/elf/configure: Delete file.
6984 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6985 * sysdeps/s390/s390-64/start.S: ... here.
6986 * sysdeps/s390/s390-64/elf/configure: Delete.
6988 * configure.in: Remove support for elf directories in sysdeps.
6990 * configure: Regenerated.
6991 * sysdeps/i386/configure: Regenerated.
6992 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6993 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6994 * sysdeps/s390/s390-32/configure: Regenerated.
6995 * sysdeps/s390/s390-64/configure: Regenerated.
6996 * sysdeps/sh/configure: Regenerated.
6997 * sysdeps/sparc/configure: Regenerated.
6998 * sysdeps/x86_64/configure: Regenerated.
7000 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7004 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7005 denormal result into account.
7007 2012-03-25 Roland McGrath <roland@hack.frob.com>
7009 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7010 Reported by Allan McRae <allan@archlinux.org>.
7012 2012-03-23 Jeff Law <law@redhat.com>
7014 * nss/getnssent.c (__nss_getent): Fix typo.
7016 2012-03-23 David S. Miller <davem@davemloft.net>
7018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7020 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7022 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7023 to pad to uint64_t for each field.
7024 (dl_tls_index): Replace unsigned long with uint64_t.
7026 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7027 Paul Pluzhnikov <ppluzhnikov@google.com>
7030 * grp/Makefile (otherlibs): Don't set it.
7031 * inet/Makefile (otherlibs): Likewise.
7032 * login/Makefile (otherlibs): Likewise.
7033 * nscd/Makefile (otherlibs): Likewise.
7034 * posix/Makefile (otherlibs): Likewise.
7035 * pwd/Makefile (otherlibs): Likewise.
7036 * rt/Makefile (otherlibs): Likewise.
7037 * sunrpc/Makefile (otherlibs): Likewise.
7038 * nss/Makefile (otherlibs): Likewise.
7039 Add libnss_files to routines and static-only-routines.
7040 ($(objpfx)getent): Remove rule.
7041 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7042 static-only-routines.
7044 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7047 * math/s_cexp.c: Include <float.h>.
7048 (__cexp): Handle exp result overflowing not necessarily
7049 overflowing both real and imaginary parts of result.
7050 * math/s_cexpf.c: Likewise.
7051 * math/s_cexpl.c: Likewise.
7052 * math/libm-test.inc (cexp_test): Add more tests.
7053 * sysdeps/i386/fpu/libm-test-ulps: Update.
7054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7056 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7058 * include/link.h (ELFW): New macro.
7059 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7060 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7062 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7064 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7067 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7069 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7071 (struct La_x32_retval): Likewise.
7073 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7075 * sysdeps/x86_64/preconfigure.in: New file.
7076 * sysdeps/x86_64/preconfigure: New generated file.
7078 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7081 * math/e_exp2l.c: Include <float.h>.
7082 (__ieee754_exp2l): Handle overflow and underflow cases
7083 separately. Only pass fractional part of argument to
7085 * math/libm-test.inc (exp2_test): Add more tests.
7087 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7088 negating x to take absolute value.
7089 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7091 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7092 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7094 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7095 computing low part if x was negated.
7096 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7098 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7100 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7102 (pltexit): Cast int_retval to ptrdiff_t.
7103 * elf/tst-auditmod3b.c: Likewise.
7104 * elf/tst-auditmod4b.c: Likewise.
7105 * elf/tst-auditmod5b.c: Likewise.
7106 * elf/tst-auditmod6b.c: Likewise.
7107 * elf/tst-auditmod6c.c: Likewise.
7108 * elf/tst-auditmod7b.c: Likewise.
7110 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7111 and x32_gnu_pltexit.
7113 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7115 (La_x32_regs): New macro.
7116 (La_x32_retval): Likewise.
7117 (la_x32_gnu_pltenter): New function prototype.
7118 (la_x32_gnu_pltexit): Likewise.
7120 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7127 * configure.in (libc_cv_cc_nofma): Check for option to disable
7128 generation of FMA instructions.
7129 * configure: Regenerate.
7130 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7131 * sysdeps/ieee754/dbl-64/Makefile: New file.
7132 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7133 Remove brandred-fma4.
7134 (CFLAGS-brandred-fma4.c): Remove.
7135 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7136 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7138 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7141 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7143 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7144 LLONG_MAX != LONG_MAX.
7145 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7146 (_fitoa_word): Likewise.
7147 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7148 LLONG_MAX != LONG_MAX.
7149 * stdio-common/_itowa.h: Include <_itoa.h>.
7150 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7151 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7152 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7153 only if not defined.
7154 (_ITOA_WORD_TYPE): Likewise.
7155 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7156 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7158 2012-03-21 David S. Miller <davem@davemloft.net>
7160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7162 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7164 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7165 of x86_64 when setting libc_cv_slibdir, libdir and
7167 * sysdeps/unix/sysv/linux/configure: Regenerated.
7169 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7171 * manual/lang.texi (Old Varargs): Remove section.
7172 (How Variadic): Update menu.
7173 (va_start): Do not mention varargs.h.
7175 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7176 Joseph Myers <joseph@codesourcery.com>
7178 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7180 * configure: Regenerated.
7182 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7184 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7185 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7188 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7191 * Makefile (files-for-dist): Remove NOTES.
7192 (NOTES): Remove rule.
7193 * README: Don't refer to NOTES.
7194 * manual/creature.texi: Don't include macros.texi.
7195 * manual/intro.texi (creature.texi): Remove comment referring to
7198 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7199 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7200 * configure: Regenerated.
7201 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7203 (libc_cv_as_i686): Likewise.
7204 (libc_cv_cc_avx): Likewise.
7205 (libc_cv_cc_sse2avx): Likewise.
7206 (libc_cv_cc_fma4): Likewise.
7207 (libc_cv_cc_novzeroupper): Likewise.
7208 * sysdeps/i386/configure: Regenerated.
7211 * sysdeps/i386/fpu/s_cexp.S: Remove.
7212 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7213 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7214 * math/libm-test.inc (cexp_test): Add more tests.
7215 * sysdeps/i386/fpu/libm-test-ulps: Update.
7216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7218 2012-03-21 Allan McRae <allan@archlinux.org>
7220 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7222 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7225 * math/w_exp2.c: Do not include <float.h>.
7226 (o_threshold, u_threshold): Remove.
7227 (__exp2): Calculate result before checking finiteness and calling
7229 * math/w_exp2f.c: Likewise.
7230 * math/w_exp2l.c: Likewise.
7231 * math/libm-test.inc (exp2_test): Require overflow exception for
7235 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7236 range of signed 64-bit integers before using fistpll. Remove
7237 checks for whether integers fit in mantissa bits.
7238 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7239 the range of signed 32-bit integers before using fistpl. Remove
7240 checks for whether integers fit in mantissa bits.
7241 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7242 (__ieee754_powl): Test for y outside the range of signed 64-bit
7243 integers before using fistpll. Reduce 64-bit values to 63-bit
7245 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7246 divide-by-zero is raised for zero to large negative powers.
7247 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7248 (__ieee754_powl): Test for y outside the range of signed 64-bit
7249 integers before using fistpll. Reduce 64-bit values to 63-bit
7251 * math/libm-test.inc (pow_test): Add more tests.
7253 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7255 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7256 <stdio-common/_itoa.h>.
7257 * debug/segfault.c: Likewise.
7258 * elf/dl-cache.c: Likewise.
7259 * elf/dl-minimal.c: Likewise.
7260 * elf/dl-misc.c: Likewise.
7261 * elf/dl-sysdep.c: Likewise.
7262 * elf/dl-version.c: Likewise.
7263 * elf/rtld.c: Likewise.
7264 * hurd/hurdsock.c: Likewise.
7265 * hurd/lookup-retry.c: Likewise.
7266 * malloc/malloc.c: Likewise.
7267 * malloc/mtrace.c: Likewise.
7268 * nscd/nscd_getgr_r.c: Likewise.
7269 * nscd/nscd_getpw_r.c: Likewise.
7270 * nscd/nscd_getserv_r.c: Likewise.
7271 * posix/getopt_init.c: Likewise.
7272 * posix/wordexp.c: Likewise.
7273 * stdio-common/_itoa.c: Likewise.
7274 * stdio-common/printf_fphex.c: Likewise.
7275 * stdio-common/vfprintf.c: Likewise.
7276 * string/_strerror.c: Likewise.
7277 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7278 * sysdeps/i386/i686/hp-timing.h: Likewise.
7279 * sysdeps/mach/_strerror.c: Likewise.
7280 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7281 * sysdeps/mach/hurd/sethostid.c: Likewise.
7282 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7283 * sysdeps/mach/xpg-strerror.c: Likewise.
7284 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7285 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7286 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7287 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7288 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7289 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7290 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7291 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7292 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7293 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7294 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7295 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7296 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7297 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7298 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7299 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7300 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7301 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7302 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7303 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7304 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7306 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7308 * stdio-common/_itoa.h: Moved to ...
7309 * sysdeps/generic/_itoa.h: Here.
7311 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7313 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7314 instead of "_itoa.h" and "_itowa.h".
7315 * stdio-common/vfprintf.: Likewise.
7317 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7319 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7321 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7322 (__signbit): Likwise.
7326 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7328 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7331 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7333 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7334 OVERFLOW_EXCEPTION_OK.
7335 * math/libm-test.inc ("Philosophy"): Update comment about
7337 (OVERFLOW_EXCEPTION): Define.
7338 (OVERFLOW_EXCEPTION_OK): Likewise.
7339 (INVALID_EXCEPTION_OK): Renumber.
7340 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7341 (IGNORE_ZERO_INF_SIGN): Likewise.
7342 (test_exceptions): Handle FE_OVERFLOW.
7343 (exp10_test): Expect overflow exceptions.
7344 (exp2_test): Likewise.
7345 (expm1_test): Likewise.
7346 (nextafter_test): Likewise.
7347 (pow_test): Likewise.
7348 (scalbn_test): Likewise.
7349 (scalbln_test): Likewise.
7351 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7353 * sysdeps/x86_64/bits/atomic.h
7354 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7356 (atomic_exchange_acq): Likewise.
7357 (__arch_exchange_and_add_body): Likewise.
7358 (__arch_add_body): Likewise.
7359 (atomic_add_negative): Likewise.
7360 (atomic_add_zero): Likewise.
7362 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7364 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7365 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7367 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7369 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7370 Check __x86_64__ instead of __WORDSIZE.
7372 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7374 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7376 2012-03-19 David S. Miller <davem@davemloft.net>
7378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7380 * sysdeps/sparc/fpu/fenv_private.h: New file.
7381 * sysdeps/sparc/fpu/math_private.h: Use it.
7382 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7384 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7385 (libc_feholdexcept_setroundl): Remove.
7386 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7388 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7389 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7391 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7393 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7394 int64_t instead of long int.
7395 (INSERT_WORDS64): Likwise.
7397 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7399 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7400 _Unwind_GetCFA return to _Unwind_Ptr first.
7402 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7405 * math/s_clog.c: Include <float.h>.
7406 (__clog): Scale large or subnormal inputs.
7407 * math/s_clogf.c: Likewise.
7408 * math/s_clogl.c: Likewise.
7409 * math/s_clog10.c: Include <float.h>.
7410 (M_LOG10_2): Define.
7411 (__clog10): Scale large or subnormal inputs.
7412 * math/s_clog10f.c: Likewise.
7413 * math/s_clog10l.c: Likewise.
7414 * math/libm-test.inc (clog_test): Add more tests.
7415 (clog10_test): Likewise.
7416 * sysdeps/i386/fpu/libm-test-ulps: Update.
7417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7420 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7422 * math/libm-test.inc (atan2_test): Add another test.
7424 * Makerules (common-objdir-compile): Remove.
7425 * sysdeps/unix/Makefile (config-generated): Do not add
7426 $(unix-generated) to variable.
7427 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7428 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7430 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7432 [generic bits/local_lim.h] (before-compile): Do not append to
7434 [generic bits/local_lim.h] (common-generated): Likewise.
7435 [generic sys/param.h] (before-compile): Do not append to variable.
7436 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7437 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7438 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7439 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7441 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7442 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7443 [generic sys/param.h] ($(addprefix
7444 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7445 [generic sys/param.h] (common-generated): Do not append to
7447 [generic sys/param.h] (sysdep_headers): Likewise.
7448 [generic bits/errno.h] (before-compile): Do not append to
7450 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7452 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7453 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7454 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7455 [generic bits/errno.h] (common-generated): Do not append to
7457 [generic bits/ioctls.h] (before-compile): Do not append to
7459 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7461 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7462 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7463 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7465 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7466 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7467 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7468 [generic bits/ioctls.h] (common-generated): Do not append to
7470 [generic sys/syscall.h] (syscall.h): Remove variable.
7471 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7473 [generic sys/syscall.h] (before-compile): Do not append to
7475 [generic sys/syscall.h] (common-generated): Likewise.
7476 * sysdeps/unix/errnos-tmpl.c: Remove file.
7477 * sysdeps/unix/errnos.awk: Likewise.
7478 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7479 * sysdeps/unix/ioctls.awk: Likewise.
7480 * sysdeps/unix/mk-local_lim.c: Likewise.
7481 * sysdeps/unix/snarf-ioctls: Likewise.
7483 2012-03-19 Richard Henderson <rth@twiddle.net>
7485 * sysdeps/i386/fpu/fenv_private.h: New file.
7486 * sysdeps/i386/fpu/math_private.h: Use it.
7487 (math_opt_barrier, math_force_eval): Remove.
7488 (libc_feholdexcept_setround_53bit): Remove.
7489 (libc_feupdateenv_53bit): Remove.
7490 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7491 (math_opt_barrier, math_force_eval): Remove.
7492 (libc_feholdexcept): Remove.
7493 (libc_feholdexcept_setround): Remove.
7494 (libc_fetestexcept, libc_fesetenv): Remove.
7495 (libc_feupdateenv_test): Remove.
7496 (libc_feupdateenv, libc_feholdsetround): Remove.
7497 (libc_feresetround): Remove.
7499 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7500 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7502 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7503 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7504 (libc_feupdateenv_testl): New.
7505 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7506 (libc_feupdateenv_testf): New.
7507 (libc_feupdateenv): Use libc_feupdateenv_test.
7508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7509 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7511 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7512 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7513 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7514 (libc_feresetround_noex): New.
7515 (libc_feresetround_noexf): New.
7516 (libc_feresetround_noexl): New.
7517 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7518 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7519 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7520 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7523 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7525 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7526 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7527 SET_RESTORE_ROUND_NOEX.
7528 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7529 SET_RESTORE_ROUND_NOEXF.
7530 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7531 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7532 (libc_feholdsetroundf): New.
7533 (libc_feresetround, libc_feresetroundf): New.
7535 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7536 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7537 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7539 * sysdeps/generic/math_private.h: Include <fenv.h>.
7540 (default_libc_feholdexcept): New.
7541 (default_libc_feholdexcept_setround): New.
7542 (default_libc_fesetenv, default_libc_feupdateenv): New.
7543 (libc_feholdexcept): Only define if undefined.
7544 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7545 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7546 (libc_feholdexcept_setroundl): Likewise.
7547 (libc_feholdexcept_setround_53bit): Likewise.
7548 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7549 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7550 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7551 (libc_feupdateenv_53bit): Likewise.
7552 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7553 (libc_feholdexcept): Convert from macro to inline function.
7554 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7555 (libc_fesetenv, libc_feupdateenv): Likewise.
7557 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7558 not previously defined.
7559 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7560 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7561 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7562 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7563 * sysdeps/ieee754/flt-32/math_private.h: New file.
7564 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7565 math_private.h below SET_FLOAT_WORD.
7566 (__isnan, __isinf_ns, __finite): Remove.
7567 (__isnanf, __isinf_nsf, __finitef): Remove.
7569 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7573 2012-03-17 David S. Miller <davem@davemloft.net>
7576 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7579 2012-03-16 David S. Miller <davem@davemloft.net>
7581 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7585 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7587 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7588 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7589 sysdep_routines when subdir is sysvipc.
7590 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7593 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7595 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7597 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7600 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7602 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7603 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7604 (__lround): Renamed to ...
7605 (__llround): This. Replace long int with long long int.
7606 Define lround functions as aliases of llround functions.
7607 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7609 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7611 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7612 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7613 adresses to uintptr_t. Replace "long int" and "unsigned long
7614 int" with "greg_t" on va_arg.
7616 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7618 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7619 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7621 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7622 Move e_machine check before EI_CLASS check. Handle x32
7623 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7624 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7625 SKIP_EM_IA_64 and include
7626 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7628 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7629 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7630 (add_system_dir): New macro.
7632 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7633 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7635 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7646 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7648 * math/w_j0f.c (j0f): Likewise.
7650 * math/w_j0l.c (__j0l): Likewise.
7652 * math/w_j1.c (j1): Likewise.
7654 * math/w_j1f.c (j1f): Likewise.
7656 * math/w_j1l.c (__j1l): Likewise.
7658 * math/w_jn.c (jn): Likewise.
7660 * math/w_jnf.c (jnf): Likewise.
7662 * math/w_jnl.c (__jnl): Likewise.
7664 * math/libm-test.inc (j0_test): Add more tests.
7665 (j1_test): Likewise.
7666 (jn_test): Likewise. Add trailing semicolon to existing test.
7667 (y0_test): Likewise.
7668 (y1_test): Likewise.
7669 * sysdeps/i386/fpu/libm-test-ulps: Update.
7670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7674 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7675 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7676 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7677 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7678 (__tanl): Set errno for infinite argument.
7679 * sysdeps/i386/fpu/mptan.c: Remove.
7680 * sysdeps/i386/fpu/s_tan.S: Likewise.
7681 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7682 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7683 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7684 * math/libm-test.inc (tan_test): Add more tests and enable more
7685 tests for double and long double.
7686 * sysdeps/i386/fpu/libm-test-ulps: Update.
7687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7689 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7691 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7692 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7694 2012-03-16 Roland McGrath <roland@hack.frob.com>
7696 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7697 * configure.in: Use it for both main tree and add-ons.
7698 * configure: Regenerated.
7700 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7702 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7704 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7706 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7710 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7711 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7712 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7713 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7714 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7716 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7719 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7720 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7721 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7722 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7723 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7724 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7725 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7726 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7727 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7728 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7729 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7730 * math/libm-test.inc (cos_test): Add more tests and enable more
7731 tests for long double.
7732 (sin_test): Likewise.
7733 (sincos_test): Likewise.
7734 * sysdeps/i386/fpu/libm-test-ulps: Update.
7735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7737 2012-03-16 David S. Miller <davem@davemloft.net>
7739 * sysdeps/sparc/fpu/math_private.h: New file.
7741 2012-03-15 David S. Miller <davem@davemloft.net>
7743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7757 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7758 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7760 * sysdeps/sparc/sparc-ifunc.h: New file.
7761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7787 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7788 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7799 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7806 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7808 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7812 2012-03-15 Andreas Jaeger <aj@suse.de>
7815 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7816 ieee754/flt-32 implementation for sin, cos and sincos.
7817 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7818 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7819 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7820 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7821 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7822 ieee754/flt-32 implementation for tan.
7824 * math/libm-test.inc (cos_test): Enable some large input tests for
7826 (sin_test): Likewise.
7827 (sincos_test): Likewise.
7828 (tan_test): Add tests for large input.
7830 * sysdeps/i386/fpu/libm-test-ulps: Update.
7832 2012-03-15 Andreas Jaeger <aj@suse.de>
7835 * math/libm-test.inc (cos_test): Add more test cases.
7836 (sin_test): Likewise.
7837 (sincos_test): Likewise.
7839 2012-03-15 Andreas Jaeger <aj@suse.de>
7842 * math/libm-test.inc (cos_test): Add a test case for large input
7844 (sin_test): Likewise.
7845 (sincos_test): Likewise.
7847 2012-03-15 Andreas Jaeger <aj@suse.de>,
7848 Joseph Myers <joseph@codesourcery.com>
7851 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7852 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7853 * sysdeps/i386/fpu/branred.c: Likewise.
7854 * sysdeps/i386/fpu/dosincos.c: Likewise.
7855 * sysdeps/i386/fpu/mpa.c: Likewise.
7856 * sysdeps/i386/fpu/s_cos.S: Likewise.
7857 * sysdeps/i386/fpu/s_sin.S: Likewise.
7858 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7859 * sysdeps/i386/fpu/sincos32.c: Likewise.
7861 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7863 (libc_feupdateenv_53bit): Define.
7864 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7866 (libc_feupdateenv_53bit): Define.
7868 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7869 53 bit (without extend i386 double precision).
7871 * math/libm-test.inc (sincos_test): Add tests for large input.
7875 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7877 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7881 2012-03-15 David S. Miller <davem@davemloft.net>
7883 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7884 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7885 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7886 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7911 fmin/fmax sysdep routines.
7912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7914 2012-03-14 David S. Miller <davem@davemloft.net>
7916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7920 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7943 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7988 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7993 * sysdeps/sparc/configure.in: New file.
7994 * sysdeps/sparc/configure: Generate.
7995 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7996 * configure: Regenerate.
7997 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7998 * config.make.in (have-as-vis3): New.
7999 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8000 available use -Av9d instead of -Av9a.
8001 * sysdeps/sparc/sparc64/Makefile: Likewise.
8002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8011 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8012 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8013 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8014 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8015 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8017 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8018 fzeros/fnegs to load 0x80000000 into a float register instead of
8020 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8022 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8026 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8027 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8028 ($(inst_includedir)/bits/syscall.h): Remove rule.
8029 ($(objpfx)bits/syscall.d): Include instead of
8030 $(objpfx)syscall-list.d.
8031 (generated): Change syscall-list.h and syscall-list.d to
8032 bits/syscall.h and bits/syscall.d.
8034 2012-03-14 Roland McGrath <roland@hack.frob.com>
8037 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8039 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8042 * math/s_csqrt.c: Include <float.h>.
8043 (__csqrt): Scale large or subnormal inputs.
8044 * math/s_csqrtf.c: Likewise.
8045 * math/s_csqrtl.c: Likewise.
8046 * math/libm-test.inc (csqrt_test): Add more tests.
8047 * sysdeps/i386/fpu/libm-test-ulps: Update.
8048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8051 * math/libm-test.inc (hypot_test): Add more tests.
8053 2012-03-13 David S. Miller <davem@davemloft.net>
8056 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8057 double-precision for the calculation instead of scaling.
8059 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8061 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8062 manipulate bits before adding and subtracting TWO52[sx].
8063 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8064 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8068 2012-03-13 David S. Miller <davem@davemloft.net>
8070 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8071 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8073 rtld-global-offsets.h
8074 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8076 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8079 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8081 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8082 'err' in the ifdef scope in which it is actually used.
8084 * nss/nss_db/db-init.c: Include string.h
8086 2012-03-12 David S. Miller <davem@davemloft.net>
8088 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8089 masking out of the most significant byte of random value used.
8090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8091 Fix coding style in previous change.
8093 * sysdeps/unix/sysv/linux/kernel-features.h
8094 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8095 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8097 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8100 2012-03-11 David S. Miller <davem@davemloft.net>
8102 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8103 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8104 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8105 for 'resultvar' otherwise things get truncated on 64-bit.
8107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8108 Fix masking out of the most significant byte of random value used.
8110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8112 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8116 2012-03-09 David S. Miller <davem@davemloft.net>
8118 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8119 variables with appropriate CPP guards.
8120 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8121 frame pointer, not the stack pointer. Correct layout comments. Fix test
8122 on resulting framesize and the management of the outregs buffer for pltexit.
8123 Preserve floating point return values across _dl_call_pltexit call.
8124 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8125 framesize and the management of the outregs buffer for pltexit.
8126 Preserve floating point return values across _dl_call_pltexit
8128 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8129 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8130 (print_exit): Fix format string for return register value.
8132 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8134 * sunrpc/Makefile (others): Add rpcgen.
8135 ($(objpfx)rpcgen): Remove special build rule and dependency on
8137 * sunrpc/rpcgen.c: New file.
8139 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8142 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8143 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8144 * sysdeps/i386/crti.S: Likewise.
8145 * sysdeps/i386/crtn.S: Likewise.
8146 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8147 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8148 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8149 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8150 * sysdeps/sh/crti.S: Likewise.
8151 * sysdeps/sh/crtn.S: Likewise.
8152 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8155 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8157 * locale/programs/locfile-kw.gperf: Likewise.
8158 * locale/programs/charmap-kw.h: Regenerated.
8159 * locale/programs/locfile-kw.h: Likewise.
8162 * intl/plural.y: Replace FSF snail mail address with URL.
8163 * intl/plural.c: Regenerated.
8165 2012-03-09 Richard Henderson <rth@twiddle.net>
8167 * include/math_private.h: Remove file.
8168 * math/math_private.h: Move file ...
8169 * sysdeps/generic/math_private.h: ... here.
8171 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8172 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8173 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8175 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8176 and <math_private.h>.
8177 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8178 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8179 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8180 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8181 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8184 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8209 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8218 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8219 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8220 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8245 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8265 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8266 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8267 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8268 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8269 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8270 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8271 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8272 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8273 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8274 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8275 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8277 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8278 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8279 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8280 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8281 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8282 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8283 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8284 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8285 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8286 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8287 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8288 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8289 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8290 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8291 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8292 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8293 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8294 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8295 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8296 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8297 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8298 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8299 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8300 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8301 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8302 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8303 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8304 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8305 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8306 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8307 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8308 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8309 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8310 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8311 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8312 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8313 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8314 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8315 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8316 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8317 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8318 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8319 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8320 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8321 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8322 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8323 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8324 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8325 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8326 * sysdeps/ieee754/k_standard.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8376 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8377 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8378 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8379 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8418 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8419 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8420 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8425 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8430 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8431 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8437 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8438 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8439 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8440 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8442 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8443 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8444 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8445 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8446 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8447 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8449 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8451 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8452 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8453 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8454 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8455 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8456 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8457 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8458 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8459 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8460 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8461 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8462 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8463 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8464 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8465 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8466 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8467 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8468 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8469 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8470 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8471 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8472 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8473 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8474 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8475 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8476 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8477 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8478 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8479 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8480 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8481 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8482 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8483 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8484 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8485 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8486 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8487 * sysdeps/ieee754/s_lib_version.c: Likewise.
8488 * sysdeps/ieee754/s_matherr.c: Likewise.
8489 * sysdeps/ieee754/s_signgam.c: Likewise.
8490 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8491 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8492 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8493 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8494 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8495 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8496 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8497 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8498 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8499 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8500 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8501 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8502 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8503 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8504 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8505 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8506 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8507 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8508 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8510 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8512 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8514 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8515 * sunrpc/rpc_main.c: Likewise.
8516 * sunrpc/rpc_svcout.c: Likewise.
8518 2012-03-09 David S. Miller <davem@davemloft.net>
8520 * include/math_private.h: New file.
8522 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8524 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8525 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8526 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8527 from <bits/socket_type.h>.
8528 (enum __socket_type): Don't define here.
8529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8534 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8537 * Makerules ($(inst_includedir)/%.h): New rule.
8538 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8539 (install-others): Remove variable setting.
8540 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8542 2012-03-08 Richard Henderson <rth@twiddle.net>
8544 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8545 from macro to inline function; merge with the
8546 !__LIBC_INTERNAL_MATH_INLINES version.
8547 (__ieee754_sqrtf): Likewise.
8549 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8551 (__rintf, __floor, __floorf): Likewise.
8553 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8554 macro to inline function.
8555 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8557 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8558 not <math/math_private.h>.
8560 2012-03-08 David S. Miller <davem@davemloft.net>
8562 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8564 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8566 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8568 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8570 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8571 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8573 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8575 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8576 be defined individually, they must be defined as a block. Define
8577 S for printing a string instead of hidint the different by using a
8578 macro for adding the 'l'.
8579 * stdio-common/tst-fphex-wide.c: Adjust.
8581 2012-03-07 Marek Polacek <polacek@redhat.com>
8583 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8585 2012-03-08 Marek Polacek <polacek@redhat.com>
8588 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8589 * stdio-common/tst-fphex.c: Define a few macros to make the
8590 test reusable. Use them.
8591 * stdio-common/tst-fphex-wide.c: New file.
8593 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8596 * manual/macros.texi (gnusystems): New macro.
8597 (nongnusystems): Likewise.
8598 (gnulinuxhurdsystems): Likewise.
8599 (gnuhurdsystems): Likewise..
8600 (gnulinuxsystems): Likewise.
8601 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8602 variants of the GNU system, not "GNU system".
8603 * manual/conf.texi: Likewise.
8604 * manual/errno.texi: Likewise. Update example of errno macro
8606 * manual/filesys.texi: Likewise.
8607 (getumask): Document as specific to GNU/Hurd.
8608 * manual/install.texi: Likewise. Reword some references to
8610 * manual/intro.texi: Likewise.
8611 * manual/io.texi: Likewise.
8612 (File Name Portability): Detail which constraints are inapplicable
8613 to all GNU systems and which are only inapplicable to GNU/Hurd.
8614 * manual/job.texi: Likewise.
8615 * manual/llio.texi: Likewise.
8616 (O_NOCTTY): Document as present on GNU/Linux.
8617 * manual/maint.texi: Likewise.
8618 * manual/memory.texi: Likewise.
8619 * manual/pattern.texi: Likewise.
8620 * manual/pipe.texi: Likewise.
8621 * manual/process.texi: Likewise.
8622 * manual/resource.texi: Likewise.
8623 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8625 * manual/setjmp.texi: Likewise.
8626 * manual/signal.texi: Likewise.
8627 * manual/startup.texi: Likewise.
8628 * manual/stdio.texi: Likewise.
8629 * manual/terminal.texi: Likewise.
8630 (ONLCR): Document as POSIX.
8631 (OXTABS): Document availability on GNU/Linux as XTABS.
8632 (ONOEOT): Document availability separately from other bits.
8633 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8634 * manual/time.texi: Likewise.
8635 * manual/users.texi: Likewise.
8636 * INSTALL: Regenerated.
8637 * sysdeps/gnu/errlist.c: Regenerated.
8639 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8640 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8641 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8643 * configure: Regenerated.
8645 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8647 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8648 default includes instead of AC_HEADER_CHECK.
8649 * sysdeps/i386/configure: Regenerated.
8652 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8653 * math/s_cacoshf.c (__cacoshf): Likewise.
8654 * math/s_cacoshl.c (__cacoshl): Likewise.
8655 * math/s_casinh.c (__casinh): Set signs of result from argument.
8656 * math/s_casinhf.c (__casinhf): Likewise.
8657 * math/s_casinhl.c (__casinhl): Likewise.
8658 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8659 (casinh_test): Add more tests.
8660 * sysdeps/i386/fpu/libm-test-ulps: Update.
8661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8663 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8665 * po/zh_TW.po: Update from translation team.
8667 * login/Makefile (distribute): Remove variable.
8668 * catgets/Makefile: Likewise.
8669 * mach/Makefile: Likewise.
8670 * malloc/Makefile: Likewise.
8671 * misc/Makefile: Likewise.
8672 * iconv/Makefile: Likewise.
8673 * nscd/Makefile: Likewise.
8674 * hurd/Makefile: Likewise.
8675 * manual/Makefile: Likewise.
8676 * locale/Makefile: Likewise.
8677 * intl/Makefile: Likewise.
8678 * conform/Makefile: Likewise.
8679 * nss/Makefile: Likewise.
8680 * time/Makefile: Likewise.
8681 * soft-fp/Makefile: Likewise.
8682 * dirent/Makefile: Likewise.
8683 * gmon/Makefile: Likewise.
8684 * po/Makefile: Likewise.
8685 * rt/Makefile: Likewise.
8686 * socket/Makefile: Likewise.
8687 * math/Makefile: Likewise.
8688 * signal/Makefile: Likewise.
8689 * debug/Makefile: Likewise.
8690 * elf/Makefile: Likewise.
8691 * timezone/Makefile: Likewise.
8692 * stdlib/Makefile: Likewise.
8693 * iconvdata/Makefile: Likewise.
8694 * sunrpc/Makefile: Likewise.
8695 * io/Makefile: Likewise.
8696 * argp/Makefile: Likewise.
8697 * inet/Makefile: Likewise.
8698 * hesiod/Makefile: Likewise.
8699 * grp/Makefile: Likewise.
8700 * csu/Makefile: Likewise.
8701 * wctype/Makefile: Likewise.
8702 * crypt/Makefile: Likewise.
8703 * libio/Makefile: Likewise.
8704 * string/Makefile: Likewise.
8705 * nis/Makefile: Likewise.
8706 * resolv/Makefile: Likewise.
8707 * stdio-common/Makefile: Likewise.
8708 * wcsmbs/Makefile: Likewise.
8709 * dlfcn/Makefile: Likewise.
8710 * posix/Makefile: Likewise.
8713 * timezone/Makefile: Don't install timezone files, just the programs
8716 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8718 * nss/databases.def: Add missing gshadow entry.
8720 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8722 2012-03-06 Marek Polacek <polacek@redhat.com>
8725 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8726 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8727 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8728 * stdio-common/tst-long-dbl-fphex.c: New file.
8730 2012-03-06 David S. Miller <davem@davemloft.net>
8732 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8733 (set_obp_int): New function.
8734 (get_obp_int): New function.
8735 (__get_clockfreq_via_dev_openprom): Likewise.
8736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8737 Avoid unused variable warnings on 'val' and use builtin_expect.
8738 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8740 (INLINE_CLONE_SYSCALL): Likewise.
8742 2012-03-05 David S. Miller <davem@davemloft.net>
8744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8746 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8750 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8752 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8754 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8757 Replace gettimeofday with __vdso_gettimeofday.
8759 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8760 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8761 __vdso_clock_gettime and __vdso_getcpu.
8763 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8764 time with __vdso_time.
8766 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8768 * manual/lang.texi (size_t): Note types to which size_t may be
8769 equivalent with the GNU C Library, but do not describe when
8770 differences between them are significant.
8772 2012-03-05 Andreas Jaeger <aj@suse.de>
8774 * sysdeps/i386/fpu/libm-test-ulps: Update.
8776 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8779 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8780 (__ieee754_pow): Save and restore rounding mode and use
8781 round-to-nearest for main computations.
8782 * math/libm-test.inc (pow_test_tonearest): New function.
8783 (pow_test_towardzero): Likewise.
8784 (pow_test_downward): Likewise.
8785 (pow_test_upward): Likewise.
8786 (main): Call the new functions.
8787 * sysdeps/i386/fpu/libm-test-ulps: Update.
8788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8791 * math/libm-test.inc (cosh_test_tonearest): New function.
8792 (cosh_test_towardzero): Likewise.
8793 (cosh_test_downward): Likewise.
8794 (cosh_test_upward): Likewise.
8795 (sinh_test_tonearest): Likewise.
8796 (sinh_test_towardzero): Likewise.
8797 (sinh_test_downward): Likewise.
8798 (sinh_test_upward): Likewise.
8799 (main): Call the new functions.
8800 * sysdeps/i386/fpu/libm-test-ulps: Update.
8801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8803 2012-03-05 Tom de Vries <tom@codesourcery.com>
8805 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8806 default stack guard is set in last bytes.
8807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8809 2012-03-05 Kees Cook <keescook@chromium.org>
8811 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8814 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8815 possibly allocate from heap instead of stack.
8816 * stdio-common/bug-vfprintf-nargs.c: New file.
8817 * stdio-common/Makefile (tests): Add nargs overflow test.
8819 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8823 2012-03-03 Marek Polacek <polacek@redhat.com>
8825 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8826 * math/math_private.h: Likewise.
8827 * stdlib/tst-strtod.c: Likewise.
8828 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8829 * sysdeps/x86_64/bits/atomic.h: Likewise.
8831 2012-03-02 David S. Miller <davem@davemloft.net>
8833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8837 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8838 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8839 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8840 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8842 2012-03-02 Roland McGrath <roland@hack.frob.com>
8845 * manual/examples/README: New file, says the example source files
8846 can be used under GPL>=2.
8847 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8848 line containing just "*/".
8849 * manual/examples/add.c: Add copyright header (GPL>=2).
8850 * manual/examples/argp-ex1.c: Likewise.
8851 * manual/examples/argp-ex2.c: Likewise.
8852 * manual/examples/argp-ex3.c: Likewise.
8853 * manual/examples/argp-ex4.c: Likewise.
8854 * manual/examples/atexit.c: Likewise.
8855 * manual/examples/db.c: Likewise.
8856 * manual/examples/dir.c: Likewise.
8857 * manual/examples/dir2.c: Likewise.
8858 * manual/examples/execinfo.c: Likewise.
8859 * manual/examples/filecli.c: Likewise.
8860 * manual/examples/filesrv.c: Likewise.
8861 * manual/examples/fmtmsgexpl.c: Likewise.
8862 * manual/examples/genpass.c: Likewise.
8863 * manual/examples/inetcli.c: Likewise.
8864 * manual/examples/inetsrv.c: Likewise.
8865 * manual/examples/isockad.c: Likewise.
8866 * manual/examples/longopt.c: Likewise.
8867 * manual/examples/memopen.c: Likewise.
8868 * manual/examples/memstrm.c: Likewise.
8869 * manual/examples/mkfsock.c: Likewise.
8870 * manual/examples/mkisock.c: Likewise.
8871 * manual/examples/mygetpass.c: Likewise.
8872 * manual/examples/pipe.c: Likewise.
8873 * manual/examples/popen.c: Likewise.
8874 * manual/examples/rprintf.c: Likewise.
8875 * manual/examples/search.c: Likewise.
8876 * manual/examples/select.c: Likewise.
8877 * manual/examples/setjmp.c: Likewise.
8878 * manual/examples/sigh1.c: Likewise.
8879 * manual/examples/sigusr.c: Likewise.
8880 * manual/examples/stpcpy.c: Likewise.
8881 * manual/examples/strdupa.c: Likewise.
8882 * manual/examples/strftim.c: Likewise.
8883 * manual/examples/strncat.c: Likewise.
8884 * manual/examples/subopt.c: Likewise.
8885 * manual/examples/swapcontext.c: Likewise.
8886 * manual/examples/termios.c: Likewise.
8887 * manual/examples/testopt.c: Likewise.
8888 * manual/examples/testpass.c: Likewise.
8889 * manual/examples/timeval_subtract.c: Likewise.
8892 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8894 * manual/timeval_subtract.c.texi: ... here, new file.
8896 2012-03-02 David S. Miller <davem@davemloft.net>
8898 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8900 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8903 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8904 (__sin): Save and restore rounding mode and use round-to-nearest
8905 for all computations.
8906 (__cos): Save and restore rounding mode and use round-to-nearest
8907 for all computations.
8908 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8910 (tan): Save and restore rounding mode and use round-to-nearest for
8912 * math/libm-test.inc (cos_test_tonearest): New function.
8913 (cos_test_towardzero): Likewise.
8914 (cos_test_downward): Likewise.
8915 (cos_test_upward): Likewise.
8916 (sin_test_tonearest): Likewise.
8917 (sin_test_towardzero): Likewise.
8918 (sin_test_downward): Likewise.
8919 (sin_test_upward): Likewise.
8920 (tan_test_tonearest): Likewise.
8921 (tan_test_towardzero): Likewise.
8922 (tan_test_downward): Likewise.
8923 (tan_test_upward): Likewise.
8924 (main): Call the new functions.
8925 * sysdeps/i386/fpu/libm-test-ulps: Update.
8926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8929 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8930 small n, then large n, before computing and testing k+n.
8931 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8934 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8936 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8937 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8938 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8939 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8940 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8941 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8942 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8944 * math/libm-test.inc (scalbn_test): Add more tests.
8945 (scalbln_test): Likewise.
8947 * manual/filesys.texi (mode_t): Describe constraints on size and
8948 signedness, not exact equivalence to a particular type.
8950 (ino64_t): Likewise.
8952 (nlink_t): Likewise.
8953 (blkcnt_t): Likewise.
8954 (blkcnt64_t): Likewise.
8955 * manual/llio.texi (off_t): Likewise.
8958 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8959 (__ieee754_exp): Save and restore rounding mode and use
8960 round-to-nearest for all computations.
8961 * math/libm-test.inc (exp_test_tonearest): New function.
8962 (exp_test_towardzero): Likewise.
8963 (exp_test_downward): Likewise.
8964 (exp_test_upward): Likewise.
8965 (main): Call the new functions.
8966 * sysdeps/i386/fpu/libm-test-ulps: Update.
8967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8969 2012-03-01 Chris Demetriou <cgd@google.com>
8971 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8972 have predictable order.
8974 2012-03-01 David S. Miller <davem@davemloft.net>
8976 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8978 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8979 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8980 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8981 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8983 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8984 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8985 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8987 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8988 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8989 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8990 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8991 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8995 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8996 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8997 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8999 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9000 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9001 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9002 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9003 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9004 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9005 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9006 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9007 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9008 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9009 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9010 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9012 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9013 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9015 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9016 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9017 * sysdeps/sparc/elf/configure: Regenerated.
9019 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9021 * configure.in (AS, LD): Require binutils 2.20 or later.
9022 * configure: Regenerated.
9023 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9024 as required minimum version.
9025 * INSTALL: Regenerated.
9029 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9030 before squaring exponent.
9031 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9032 bottom long double and 27 bits of top long double before squaring
9034 * math/libm-test.inc (erfc_test): Add more tests.
9035 * sysdeps/i386/fpu/libm-test-ulps: Update.
9036 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9039 2012-03-01 Kai Tietz <ktietz@redhat.com>
9041 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9042 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9043 containing bit-fields.
9044 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9045 * soft-fp/single.h (_FP_UNION_S): Likewise.
9046 * soft-fp/double.h (_FP_UNION_D): Likewise.
9048 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9051 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9052 not include ../strcmp.S.
9053 [USE_AS_STRNCASECMP_L]: Likewise.
9054 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9055 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9056 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9057 (__strncasecmp_l_ia32): Define as alias to
9058 __strncasecmp_l_nonascii.
9061 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9062 * sysdeps/i386/fpu/libm-test-ulps: Update.
9063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9065 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9068 2012-02-29 Jeff Law <law@redhat.com>
9070 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9073 2012-02-29 Marek Polacek <polacek@redhat.com>
9076 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9077 * elf/Makefile: Add rules to run tst-unused-dep.out.
9079 2012-02-28 David S. Miller <davem@davemloft.net>
9081 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9082 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9085 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9086 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9088 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9090 * math/libm-test.inc (llround_test): Move one test from
9091 lround_test. Use TEST_f_L in moved test.
9092 (lround_test): Move misplaced test to llround_test. Add testcase
9095 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9097 * sysdeps/x86_64/fpu/e_expf.S: New file.
9098 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9100 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9103 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9104 of remain_len that may cause incomplete multi-byte character and
9106 * posix/bug-regex33.c: New file.
9107 * posix/Makefile (tests): Add bug-regex33.
9109 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9111 * manual/macros.texi: New file.
9112 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9113 * manual/libc.texinfo: Include macros.texi.
9114 * manual/creatute.texi: Likewise.
9115 * manual/install.texi: Likewise.
9116 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9117 @glibcadj{} in references to the GNU C Library.
9118 * manual/charset.texi: Likewise.
9119 * manual/conf.texi: Likewise.
9120 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9121 when not using those macros.
9122 * manual/creature.texi: Likewise.
9123 * manual/crypt.texi: Likewise.
9124 * manual/errno.texi: Likewise.
9125 * manual/filesys.texi: Likewise.
9126 * manual/header.texi: Likewise.
9127 * manual/install.texi: Likewise.
9128 * manual/intro.texi: Likewise.
9129 * manual/io.texi: Likewise.
9130 * manual/job.texi: Likewise.
9131 * manual/lang.texi: Likewise.
9132 * manual/libc.texiinfo: Likewise.
9133 * manual/llio.texi: Likewise.
9134 * manual/locale.texi: Likewise.
9135 * manual/maint.texi: Likewise.
9136 * manual/math.texi: Likewise.
9137 * manual/memory.texi: Likewise.
9138 * manual/message.texi: Likewise.
9139 * manual/nss.texi: Likewise.
9140 * manual/pattern.texi: Likewise.
9141 * manual/process.texi: Likewise.
9142 * manual/resource.texi: Likewise.
9143 * manual/search.texi: Likewise.
9144 * manual/setjmp.texi: Likewise.
9145 * manual/signal.texi: Likewise.
9146 * manual/socket.texi: Likewise.
9147 * manual/startup.texi: Likewise.
9148 * manual/stdio.texi: Likewise.
9149 * manual/string.texi: Likewise.
9150 * manual/sysinfo.texi: Likewise.
9151 * manual/syslog.texi: Likewise.
9152 * manual/terminal.texi: Likewise.
9153 * manual/time.texi: Likewise.
9154 * manual/users.texi: Likewise.
9155 * INSTALL: Regenerated.
9156 * NOTES: Regenerated.
9157 * sysdeps/gnu/errlist.c: Regenerated.
9159 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9161 * include/dirent.h: Include <dirstream.h> before
9164 2012-02-28 David S. Miller <davem@davemloft.net>
9166 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9167 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9168 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9169 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9171 2012-02-27 David S. Miller <davem@davemloft.net>
9173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9175 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9176 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9179 frame pointer instead of stack pointer relative arg slot.
9180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9181 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9182 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9184 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9187 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9189 2012-02-27 David S. Miller <davem@davemloft.net>
9191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9195 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9196 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9197 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9198 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9200 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9202 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9203 later. Allow versions 5-9.
9204 * configure: Regenerated.
9205 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9206 required minimum version and 4.6 as recommended version. Do not
9207 mention bugs in GCC 2.7 and 2.8.
9208 * INSTALL: Regenerated.
9210 2012-02-27 David S. Miller <davem@davemloft.net>
9212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9216 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9217 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9218 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9219 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9222 manipulate bits before adding and subtracting TWO112[sx].
9223 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9225 2012-02-27 Roland McGrath <roland@hack.frob.com>
9228 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9229 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9230 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9231 being in POSIX, because they are in 1003.1-2008.
9233 * rt/tst-aio.c: Include <fcntl.h>.
9234 * rt/tst-aio7.c: Likewise.
9235 * rt/tst-aio64.c: Likewise.
9237 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9239 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9241 * manual/install.texi (--with-headers): Describe headers as
9242 interface headers, not private headers.
9243 (Specific advice for GNU/Linux systems): Describe use of headers
9244 from "make headers_install", not private headers from older
9246 * INSTALL: Regenerated.
9247 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9249 * sysdeps/unix/sysv/linux/configure: Regenerated.
9251 * manual/llio.texi (fclean): Remove documentation.
9253 * manual/Makefile (libc-texi-generated): New variable. Include
9255 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9256 $(libc-texi-generated), not duplicated list of files.
9257 (version.texi, stamp-version): New rules.
9258 (realclean): Remove $(libc-texi-generated), not individual files
9259 from that list. Do not remove dir-add.texinfo.
9260 * manual/libc.texinfo: Comment out uses of edition numbers and
9261 references to printed manual. Remove last-updated dates.
9262 (EDITION): Comment out.
9264 (VERSION, UPDATED): Remove.
9265 (version.texi): Include.
9267 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9269 * sysdeps/posix/spawni.c: Include <signal.h>.
9270 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9271 * sysdeps/pthread/aio_fsync.c: Likewise.
9273 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9275 * conform/Makefile (tests): Run only when not cross-compiling and
9276 when fast-check is not defined.
9278 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9279 * conform/data/limits.h-data: Fixes for POSIX2008.
9280 * conform/run-conformtest.sh: Run all tests.
9281 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9283 * include/bits/dlfcn.h: Likewise.
9284 * include/langinfo.h: Likewise.
9285 * include/monetary.h: Likewise.
9286 * include/sys/poll.h: Likewise.
9288 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9290 * posix/spawn.h: Define __need_sigset_t.
9291 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9292 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9293 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9294 to get sigevent_t only.
9295 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9298 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9299 process_vm_writev only for __USE_GNU.
9300 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9302 * conform/Makefile: For now ignore errors from run-conformtest.
9303 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9304 POSIX to avoid namespace pollution. Don't prepend headers.
9305 * conform/data/aio.h-data: Fixes for POSIX testing.
9306 * conform/data/fcntl.h-data: Likewise.
9307 * conform/data/glob.h-data: Likewise.
9308 * conform/data/grp.h-data: Likewise.
9309 * conform/data/pthread.h-data: Likewise.
9310 * conform/data/pwd.h-data: Likewise.
9311 * conform/data/signal.h-data: Likewise.
9312 * conform/data/spawn.h-data: Likewise.
9313 * conform/data/stdio.h-data: Likewise.
9314 * conform/data/stdlib.h-data: Likewise.
9315 * conform/data/stropts.h-data: Likewise.
9316 * conform/data/sys/mman.h-data: Likewise.
9317 * conform/data/sys/stat.h-data: Likewise.
9318 * conform/data/sys/types.h-data: Likewise.
9319 * conform/data/sys/wait.h-data: Likewise.
9320 * conform/data/time.h-data: Likewise.
9321 * conform/data/unistd.h-data: Likewise.
9322 * conform/data/utime.h-data: Likewise.
9324 * io/sys/stat.h: fchmod was always in POSIX.
9325 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9326 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9327 * rt/aio.h: Define __need_timespec before including <time.h>.
9328 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9329 struct. Add forward declaration of pthread_attr_t and use it in
9331 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9332 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9333 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9334 always remove CLK_TCK definition.
9336 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9338 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9340 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9342 * conform/run-conformtest.sh: New file.
9343 * conform/Makefile: Run run-conformtest for tests.
9344 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9347 * conform/data/uchar.h-data: New file.
9348 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9349 * conform/data/arpa/inet.h-data: Likewise.
9350 * conform/data/assert.h-data: Likewise.
9351 * conform/data/complex.h-data: Likewise.
9352 * conform/data/cpio.h-data: Likewise.
9353 * conform/data/ctype.h-data: Likewise.
9354 * conform/data/dirent.h-data: Likewise.
9355 * conform/data/dlfcn.h-data: Likewise.
9356 * conform/data/errno.h-data: Likewise.
9357 * conform/data/fcntl.h-data: Likewise.
9358 * conform/data/float.h-data: Likewise.
9359 * conform/data/fmtmsg.h-data: Likewise.
9360 * conform/data/fnmatch.h-data: Likewise.
9361 * conform/data/ftw.h-data: Likewise.
9362 * conform/data/glob.h-data: Likewise.
9363 * conform/data/grp.h-data: Likewise.
9364 * conform/data/iconv.h-data: Likewise.
9365 * conform/data/inttypes.h-data: Likewise.
9366 * conform/data/langinfo.h-data: Likewise.
9367 * conform/data/libgen.h-data: Likewise.
9368 * conform/data/limits.h-data: Likewise.
9369 * conform/data/locale.h-data: Likewise.
9370 * conform/data/math.h-data: Likewise.
9371 * conform/data/monetary.h-data: Likewise.
9372 * conform/data/mqueue.h-data: Likewise.
9373 * conform/data/ndbm.h-data: Likewise.
9374 * conform/data/net/if.h-data: Likewise.
9375 * conform/data/netdb.h-data: Likewise.
9376 * conform/data/netinet/in.h-data: Likewise.
9377 * conform/data/nl_types.h-data: Likewise.
9378 * conform/data/poll.h-data: Likewise.
9379 * conform/data/pthread.h-data: Likewise.
9380 * conform/data/pwd.h-data: Likewise.
9381 * conform/data/regex.h-data: Likewise.
9382 * conform/data/sched.h-data: Likewise.
9383 * conform/data/search.h-data: Likewise.
9384 * conform/data/semaphore.h-data: Likewise.
9385 * conform/data/setjmp.h-data: Likewise.
9386 * conform/data/signal.h-data: Likewise.
9387 * conform/data/spawn.h-data: Likewise.
9388 * conform/data/stdarg.h-data: Likewise.
9389 * conform/data/stdio.h-data: Likewise.
9390 * conform/data/stdlib.h-data: Likewise.
9391 * conform/data/string.h-data: Likewise.
9392 * conform/data/strings.h-data: Likewise.
9393 * conform/data/stropts.h-data: Likewise.
9394 * conform/data/sys/ipc.h-data: Likewise.
9395 * conform/data/sys/mman.h-data: Likewise.
9396 * conform/data/sys/msg.h-data: Likewise.
9397 * conform/data/sys/resource.h-data: Likewise.
9398 * conform/data/sys/select.h-data: Likewise.
9399 * conform/data/sys/sem.h-data: Likewise.
9400 * conform/data/sys/shm.h-data: Likewise.
9401 * conform/data/sys/socket.h-data: Likewise.
9402 * conform/data/sys/stat.h-data: Likewise.
9403 * conform/data/sys/statvfs.h-data: Likewise.
9404 * conform/data/sys/time.h-data: Likewise.
9405 * conform/data/sys/timeb.h-data: Likewise.
9406 * conform/data/sys/times.h-data: Likewise.
9407 * conform/data/sys/types.h-data: Likewise.
9408 * conform/data/sys/uio.h-data: Likewise.
9409 * conform/data/sys/un.h-data: Likewise.
9410 * conform/data/sys/utsname.h-data: Likewise.
9411 * conform/data/sys/wait.h-data: Likewise.
9412 * conform/data/syslog.h-data: Likewise.
9413 * conform/data/tar.h-data: Likewise.
9414 * conform/data/termios.h-data: Likewise.
9415 * conform/data/utime.h-data: Likewise.
9416 * conform/data/utmpx.h-data: Likewise.
9417 * conform/data/varargs.h-data: Likewise.
9418 * conform/data/wchar.h-data: Likewise.
9419 * conform/data/wctype.h-data: Likewise.
9420 * conform/data/wordexp.h-data: Likewise.
9422 * include/stropts.h: New file.
9423 * include/uchar.h: New file.
9424 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9425 * include/assert.h: Likewise.
9426 * include/ctype.h: Likewise.
9427 * include/dirent.h: Likewise.
9428 * include/dlfcn.h: Likewise.
9429 * include/fcntl.h: Likewise.
9430 * include/fnmatch.h: Likewise.
9431 * include/glob.h: Likewise.
9432 * include/grp.h: Likewise.
9433 * include/libio.h: Likewise.
9434 * include/locale.h: Likewise.
9435 * include/math.h: Likewise.
9436 * include/net/if.h: Likewise.
9437 * include/netdb.h: Likewise.
9438 * include/netinet/in.h: Likewise.
9439 * include/pthread.h: Likewise.
9440 * include/pwd.h: Likewise.
9441 * include/regex.h: Likewise.
9442 * include/sched.h: Likewise.
9443 * include/search.h: Likewise.
9444 * include/setjmp.h: Likewise.
9445 * include/signal.h: Likewise.
9446 * include/stdio.h: Likewise.
9447 * include/stdlib.h: Likewise.
9448 * include/string.h: Likewise.
9449 * include/sys/cdefs.h: Likewise.
9450 * include/sys/mman.h: Likewise.
9451 * include/sys/msg.h: Likewise.
9452 * include/sys/resource.h: Likewise.
9453 * include/sys/select.h: Likewise.
9454 * include/sys/socket.h: Likewise.
9455 * include/sys/stat.h: Likewise.
9456 * include/sys/statvfs.h: Likewise.
9457 * include/sys/time.h: Likewise.
9458 * include/sys/times.h: Likewise.
9459 * include/sys/uio.h: Likewise.
9460 * include/sys/utsname.h: Likewise.
9461 * include/sys/wait.h: Likewise.
9462 * include/termios.h: Likewise.
9463 * include/time.h: Likewise.
9464 * include/ulimit.h: Likewise.
9465 * include/unistd.h: Likewise.
9466 * include/utime.h: Likewise.
9467 * include/wchar.h: Likewise.
9468 * include/wctype.h: Likewise.
9469 * include/wordexp.h: Likewise.
9471 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9473 * time/time.h: TIME_UTC must be a macro.
9474 Make timespec_get available for ISO C11 only as well.
9476 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9478 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9479 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9481 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9483 * configure.in: Use -o not -a in test for unsupported multi-arch.
9485 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9487 * manual/texinfo.tex: Update to version 2012-01-19.16.
9489 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9491 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9493 2012-02-24 Roland McGrath <roland@hack.frob.com>
9496 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9497 * manual/fdl-1.3.texi: New file.
9498 * manual/fdl-1.1.texi: File removed.
9501 * manual/libc.texinfo (FDL_VERSION): New @set.
9502 Use it for mention of FDL in cover text.
9503 (Documentation License): Use it in @include file name.
9505 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9506 Roland McGrath <roland@hack.frob.com>
9509 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9510 not LONG_LONG_MAX and LONG_LONG_MIN.
9511 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9512 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9514 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9516 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9520 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9521 manipulate bits before adding and subtracting TWO23[sx].
9522 * math/libm-test.inc (nearbyint_test): Add more tests.
9524 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9527 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9528 bits before adding and subtracting TWO23[sx].
9529 * math/libm-test.inc (rint_test): Add more tests.
9530 (rint_test_tonearest): Likewise.
9531 (rint_test_towardzero): Likewise.
9532 (rint_test_downward): Likewise.
9533 (rint_test_upward: Likewise.
9535 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9538 * include/stdc-predef.h: New file. Extracted from features.h.
9539 * include/features.h: Include stdc-predef.h.
9540 * Makefile (headers): Add stdc-predef.h.
9541 * CONFORMANCE (Compiler limitations): Update.
9543 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9545 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9547 2012-02-21 David S. Miller <davem@davemloft.net>
9549 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9550 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9552 2012-02-20 David S. Miller <davem@davemloft.net>
9554 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9555 using a normal save/restore sequence, rather than allocating a
9556 dummy stack frame just to store a frame pointer and restore.
9557 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9559 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9561 * manual/install.texi: Fix stray word in line-wrapped comment.
9563 2012-02-20 David S. Miller <davem@davemloft.net>
9565 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9566 both binutils and gcc support GOTDATA.
9568 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9569 "rd %pc" in the PIC register setup sequences.
9571 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9572 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9573 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9574 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9575 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9577 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9580 (SYSCALL_ERROR_HANDLER): Likewise.
9581 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9582 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9583 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9584 (SYSCALL_ERROR_HANDLER): Likewise.
9586 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9587 (HAVE_GCC_GOTDATA): New.
9588 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9589 relocation support in both binutils and gcc.
9590 * sysdeps/sparc/elf/configure: Regenerate.
9592 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9593 * sysdeps/sparc/sparc32/elf/configure: Delete.
9594 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9595 * sysdeps/sparc/sparc64/elf/configure: Delete.
9596 * sysdeps/sparc/elf/configure.in: New file.
9597 * sysdeps/sparc/elf/configure: Generate.
9599 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9600 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9601 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9602 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9603 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9605 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9607 * manual/install.texi: Do not mention specific glibc version
9609 * manual/libc.texinfo (VERSION, UPDATED): Update.
9610 (@copying): Use @copyright{} and range of years.
9612 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9615 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9616 [crti.S not in sysdirs] (generated): Do not append.
9617 [crti.S not in sysdirs] (omit-deps): Likewise.
9618 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9619 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9620 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9621 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9622 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9624 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9625 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9626 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9627 * csu/defs.awk: Remove file.
9628 * sysdeps/generic/initfini.c: Likewise.
9629 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9631 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9634 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9636 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9637 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9638 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9639 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9640 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9641 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9643 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9644 (__EPOLL_PACKED): Define to empty if not defined by
9646 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9650 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9652 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9653 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9654 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9655 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9657 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9661 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9663 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9665 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9666 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9667 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9670 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9672 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9673 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9675 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9677 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9678 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9680 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9682 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9685 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9687 * math/w_acos.c: Use non-signaling floating-point comparisons.
9688 * math/w_acosf.c: Likewise.
9689 * math/w_acosh.c: Likewise.
9690 * math/w_acoshf.c: Likewise.
9691 * math/w_acoshl.c: Likewise.
9692 * math/w_acosl.c: Likewise.
9693 * math/w_asin.c: Likewise.
9694 * math/w_asinf.c: Likewise.
9695 * math/w_asinl.c: Likewise.
9696 * math/w_atanh.c: Likewise.
9697 * math/w_atanhf.c: Likewise.
9698 * math/w_atanhl.c: Likewise.
9699 * math/w_exp2.c: Likewise.
9700 * math/w_exp2f.c: Likewise.
9701 * math/w_exp2l.c: Likewise.
9702 * math/w_j0.c: Likewise.
9703 * math/w_j0f.c: Likewise.
9704 * math/w_j0l.c: Likewise.
9705 * math/w_j1.c: Likewise.
9706 * math/w_j1f.c: Likewise.
9707 * math/w_j1l.c: Likewise.
9708 * math/w_jn.c: Likewise.
9709 * math/w_jnf.c: Likewise.
9710 * math/w_log.c: Likewise.
9711 * math/w_log10.c: Likewise.
9712 * math/w_log10f.c: Likewise.
9713 * math/w_log10l.c: Likewise.
9714 * math/w_log2.c: Likewise.
9715 * math/w_log2f.c: Likewise.
9716 * math/w_log2l.c: Likewise.
9717 * math/w_logf.c: Likewise.
9718 * math/w_logl.c: Likewise.
9719 * math/w_sqrt.c: Likewise.
9720 * math/w_sqrtf.c: Likewise.
9721 * math/w_sqrtl.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9723 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9724 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9725 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9726 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9728 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9731 * manual/string.texi (strnlen): Use correct parameter name in
9732 equivalent expression.
9734 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9737 * manual/users.texi (seteuid): Consistently use neweuid for
9740 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9743 * manual/nss.texi (Services in the NSS configuration): Correct
9744 list of services in example configuration file.
9746 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9749 * manual/arith.texi: Remove statements about negative zero
9750 behaving identically to zero.
9752 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9755 * manual/install.texi: Do not document upgrading from libc5.
9757 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9760 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9762 2012-02-18 David S. Miller <davem@davemloft.net>
9764 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9765 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9766 %o7 across the call.
9767 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9772 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9773 * sysdeps/sparc/crtn.S: Likewise.
9775 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9777 * aout/Makefile: Remove.
9779 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9782 * manual/examples/argp-ex1.c (main): Format definition in GNU
9784 * manual/examples/argp-ex2.c (main): Likewise.
9785 * manual/examples/argp-ex3.c (main): Likewise.
9786 * manual/examples/argp-ex4.c (main): Likewise.
9787 * manual/examples/longopt.c (main): Use new-style prototype
9789 * manual/examples/strncat.c (main): Specify return type and use
9790 (void) for arguments.
9791 * manual/examples/subopt.c (main): Use char **argv argument.
9793 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9796 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9799 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9802 * manual/string.texi (strchr): Change when strchrnul is
9805 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9808 * manual/locale.texi (setlocale): Document LOCPATH.
9810 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9813 * manual/process.texi (execle): Move @dots{} before last argument.
9815 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9818 * manual/charset.texi (Generic Charset Conversion): Fix typo
9819 (LC_TYPE -> LC_CTYPE).
9821 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9824 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9825 (scalbnf): Likewise.
9826 (scalbnl): Likewise.
9827 (scalbln): Likewise.
9828 (scalblnf): Likewise.
9829 (scalblnl): Likewise.
9830 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9834 * manual/filesys.texi (telldir): Use braces around return type.
9835 * manual/llio.texi (mmap): Add space after comma.
9837 * manual/math.texi (jn): Use @var{} on parameter names.
9843 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9845 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9847 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9848 (sched_get_priority_max): Likewise.
9849 * manual/signal.texi (sigvec): Add space after comma.
9850 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9852 (if_indextoname): Likewise.
9853 (if_freenameindex): Likewise.
9854 (sendto): Use ',' instead of '.' in prototype.
9855 * manual/startup.texi (syscall): Use @dots{} instead of literal
9857 * manual/stdio.texi (__fpending): Separate initial words of
9858 paragraph from @deftypefun line.
9859 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9861 (vsyslog): Use @var{} on parameter names.
9862 * manual/terminal.texi (stty): Use @var{} on parameter names.
9863 * manual/users.texi (getutmp): Use @var{} on parameter names.
9864 (getutmpx): Likewise.
9866 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9869 * manual/stdio.texi (fopen): Fix typos in description of
9872 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9875 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9876 get clock_id definition.
9878 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9881 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9882 (madvise): Cast every argument to void on its own.
9884 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9887 * manual/startup.texi (Exit Status): Fix typo.
9889 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9892 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9893 * manual/examples/argp-ex2.c: Likewise.
9894 * manual/examples/argp-ex3.c: Likewise.
9896 2012-02-16 Richard Henderson <rth@redhat.com>
9898 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9899 * sysdeps/s390/s390-32/initfini.c: Remove.
9900 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9901 * sysdeps/s390/s390-64/initfini.c: Remove.
9903 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9905 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9906 compiler output for sysdeps/generic/initfini.c.
9907 * sysdeps/sh/elf/initfini.c: Remove file.
9909 2012-02-16 David S. Miller <davem@davemloft.net>
9912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9914 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9915 * sysdeps/sparc/crti.S: New file.
9916 * sysdeps/sparc/crtn.S: New file.
9917 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9918 * sysdeps/sparc/sparc64/Makefile: Likewise.
9920 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9923 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9925 2012-02-15 Roland McGrath <roland@hack.frob.com>
9928 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9930 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9931 (write, read, close): Likewise.
9932 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9934 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9936 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9937 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9938 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9939 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9941 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9945 2012-02-14 Marek Polacek <polacek@redhat.com>
9947 * sysdeps/x86_64/crti.S: New file.
9948 * sysdeps/x86_64/crtn.S: New file.
9949 * sysdeps/x86_64/elf/initfini.c: Remove file.
9951 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9953 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9954 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9955 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9956 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9958 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9962 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9964 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9965 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9966 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9967 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9969 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9973 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9975 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9976 __feraiseexcept instead of feraiseexcept.
9978 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9979 nanosleep invocations.
9980 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9981 strings, and add error checking for a nanosleep invocations.
9983 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9985 Replace FSF snail mail address with URLs, as per GNU coding standards.
9986 Most of the snail mail addresses were wrong anyway, and omitting
9987 them makes the source code easier to maintain. Almost all of the
9988 changes are to license notices and to locale LC_IDENTIFICATION
9989 addresses, except for this one:
9990 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9991 not its snail mail address.
9993 2012-02-09 Richard Henderson <rth@twiddle.net>
9995 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9996 of kernel-features.h.
9998 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10000 2012-02-08 Marek Polacek <polacek@redhat.com>
10002 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10003 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10004 * sysdeps/gnu/_G_config.h: Likewise.
10005 * sysdeps/generic/_G_config.h: Likewise.
10007 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10009 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10013 * sysdeps/powerpc/powerpc32/crti.S: New file.
10014 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10015 * sysdeps/powerpc/powerpc64/crti.S: New file.
10016 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10018 * Makeconfig (have-initfini): Don't set.
10019 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10020 * configure.in (nopic_initfini): Don't substitute.
10021 * config.h.in (HAVE_INITFINI): Don't #undef.
10022 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10023 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10025 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10027 Support crti.S and crtn.S provided directly by architectures.
10028 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10029 [crti.S in sysdirs] (omit-deps): Likewise.
10030 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10031 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10032 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10033 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10034 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10035 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10036 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10037 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10038 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10039 compiler output for sysdeps/generic/initfini.c.
10040 * sysdeps/i386/elf/Makefile: Remove file.
10041 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10043 2012-02-07 Marek Polacek <polacek@redhat.com>
10045 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10046 * sysdeps/gnu/_G_config.h: Likewise.
10047 * sysdeps/mach/hurd/_G_config.h: Likewise.
10049 2012-02-07 Marek Polacek <polacek@redhat.com>
10051 * math/Makefile (tests): Add tst-CMPLX2.
10052 * math/tst-CMPLX2.c: New file.
10054 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10056 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10058 * math/libm-test.inc (jn_test): Add missing L suffix.
10060 2012-02-06 Marek Polacek <polacek@redhat.com>
10062 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10063 * sysdeps/i386/fpu/e_powf.S: Likewise.
10064 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10065 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10066 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10067 * sysdeps/i386/fpu/e_pow.S: Likewise.
10068 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10069 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10070 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10071 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10072 * sysdeps/i386/fpu/e_log2.S: Likewise.
10073 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10074 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10075 * sysdeps/i386/fpu/e_powl.S: Likewise.
10076 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10077 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10078 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10079 * sysdeps/i386/fpu/e_logl.S: Likewise.
10080 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10081 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10082 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10083 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10084 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10085 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10086 * sysdeps/i386/fpu/e_log.S: Likewise.
10087 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10088 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10089 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10090 * sysdeps/i386/fpu/e_logf.S: Likewise.
10091 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10092 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10093 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10094 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10095 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10096 * sysdeps/i386/fpu/e_log10.S: Likewise.
10097 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10098 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10099 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10100 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10101 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10102 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10103 * sysdeps/i386/asm-syntax.h: Likewise.
10104 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10105 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10106 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10107 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10108 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10109 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10110 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10111 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10112 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10113 * sysdeps/powerpc/sysdep.h: Likewise.
10114 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10115 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10117 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10120 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10122 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10124 * sysdeps/i386/sysdep.h: Include <features.h>.
10125 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10128 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10130 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10132 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10135 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10137 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10138 (SETUP_PIC_REG): Use GET_PC_THUNK.
10139 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10142 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10144 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10145 for non-PIC compilation.
10146 (SETUP_PIC_REG): Add .p2align directive.
10147 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10148 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10149 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10150 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10151 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10152 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10153 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10155 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10156 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10157 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10158 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10159 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10160 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10161 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10162 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10163 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10164 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10165 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10166 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10167 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10168 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10169 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10170 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10171 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10172 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10173 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10174 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10175 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10176 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10177 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10178 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10179 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10180 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10181 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10182 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10183 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10184 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10185 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10186 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10187 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10189 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10191 * math/tst-CMPLX.c: Include <stdio.h>.
10193 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10195 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10197 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10198 * sysdeps/sparc/bits/mathdef.h: Likewise.
10200 2012-01-31 Marek Polacek <polacek@redhat.com>
10202 * libio/libio.h: Don't define _PARAMS.
10203 * locale/programs/config.h: Don't define PARAMS.
10204 * stdlib/strtol_l.c: Likewise.
10205 (__strtol_l): Remove PARAMS from the prototype.
10207 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10209 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10210 names. Just use the correct names. Remove unnecessary wrapper
10212 * malloc/arena.c: Likewise.
10213 * malloc/hooks.c: Likewise.
10215 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10216 ARENA_TEST says not to. Simplify test for creation of a new arena.
10217 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10219 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10221 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10223 (update_get_addr): New function.
10224 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10225 GET_ADDR_MODULE parameter.
10227 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10229 * crypt/cert.c: Remove __STDC__ conditionals.
10230 * crypt/crypt-entry.c: Likewise.
10231 * crypt/crypt_util.c: Likewise.
10232 * libio/filedoalloc.c: Likewise.
10233 * libio/fileops.c: Likewise.
10234 * libio/genops.c: Likewise.
10235 * libio/iofclose.c: Likewise.
10236 * libio/iofdopen.c: Likewise.
10237 * libio/iofopen.c: Likewise.
10238 * libio/iofopen64.c: Likewise.
10239 * libio/iogetdelim.c: Likewise.
10240 * libio/iopopen.c: Likewise.
10241 * libio/obprintf.c: Likewise.
10242 * libio/oldfileops.c: Likewise.
10243 * libio/oldiofclose.c: Likewise.
10244 * libio/oldiofdopen.c: Likewise.
10245 * libio/oldiofopen.c: Likewise.
10246 * libio/oldiopopen.c: Likewise.
10247 * libio/wfiledoalloc.c: Likewise.
10248 * libio/wgenops.c: Likewise.
10249 * locale/programs/xmalloc.c: Likewise.
10250 * misc/syslog.c: Likewise.
10251 * stdio-common/xbug.c: Likewise.
10252 * string/memchr.c: Likewise.
10253 * string/memcmp.c: Likewise.
10254 * string/memrchr.c: Likewise.
10255 * string/rawmemchr.c: Likewise.
10256 * sysdeps/posix/getcwd.c: Likewise.
10257 * time/strftime_l.c: Likewise.
10259 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10261 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10262 * config.make.in (config-cflags-sse2avx): Define.
10263 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10266 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10268 * scripts/config.guess: Update from upstream config git repository.
10269 * scripts/config.sub: Likewise.
10271 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10273 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10275 (R_TILEPRO_*, R_TILEGX_*): New macros.
10277 * scripts/firstversions.awk: Fix bug in version range handling.
10279 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10281 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10283 * include/sys/epoll.h: New file.
10284 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10287 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10289 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10290 Avoid unnecessary __WORDSIZE == 64 test.
10291 (fmaxf): Use VEX format if possible.
10296 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10297 * math/math_private.h: Remove libc_fegetround* and
10299 * sysdeps/i386/configure.in: Check for -msse2avx.
10300 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10301 also if SSE2AVX is defined.
10302 Remove libc_fegetround* and libc_fesetround*.
10303 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10304 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10305 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10307 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10308 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10309 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10310 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10311 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10313 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10315 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10317 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10319 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10321 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10324 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10326 * Makeconfig (libm): Define.
10327 * elf/Makefile: Add rules to build and run tst-relsort1.
10328 * elf/tst-relsort1.c: New file.
10329 * elf/tst-relsort1mod1.c: New file.
10330 * elf/tst-relsort1mod2.c: New file.
10332 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10334 * math/s_ldexp.c: Remove __STDC__ conditionals.
10335 * math/s_ldexpf.c: Likewise.
10336 * math/s_ldexpl.c: Likewise.
10337 * math/s_nextafter.c: Likewise.
10338 * math/s_nexttowardf.c: Likewise.
10339 * math/s_significand.c: Likewise.
10340 * math/s_significandf.c: Likewise.
10341 * math/s_significandl.c: Likewise.
10342 * math/w_jnl.c: Likewise.
10343 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10344 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10345 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10346 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10347 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10362 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10363 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10364 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10365 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10366 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10367 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10368 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10369 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10370 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10371 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10372 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10373 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10374 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10375 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10376 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10377 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10378 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10379 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10380 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10381 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10382 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10383 * sysdeps/ieee754/k_standard.c: Likewise.
10384 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10386 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10388 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10390 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10391 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10393 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10397 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10400 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10401 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10402 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10403 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10406 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10414 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10417 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10419 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10420 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10421 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10424 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10427 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10430 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10434 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10435 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10436 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10439 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10440 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10443 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10445 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10450 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10458 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10459 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10463 * sysdeps/ieee754/s_matherr.c: Likewise.
10464 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10465 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10466 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10467 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10469 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10471 * crypt/md5.h: Remove __STDC__ conditionals.
10472 * libio/libioP.h: Likewise.
10473 * locale/programs/config.h: Likewise.
10474 * sysdeps/generic/sysdep.h: Likewise.
10475 * sysdeps/i386/asm-syntax.h: Likewise.
10476 * sysdeps/s390/asm-syntax.h: Likewise.
10477 * sysdeps/unix/sysdep.h: Likewise.
10478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10481 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10483 * libio/libio.h: Remove __STDC__ conditionals.
10484 * malloc/obstack.h: Likewise.
10485 * math/complex.h: Likewise.
10486 * math/math.h: Likewise.
10487 * sysdeps/generic/_G_config.h: Likewise.
10488 * sysdeps/gnu/_G_config.h: Likewise.
10489 * sysdeps/mach/hurd/_G_config.h: Likewise.
10490 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10491 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10492 * sysdeps/sparc/bits/mathdef.h: Likewise.
10494 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10497 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10498 Clean up HAS_* macros.
10499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10500 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10502 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10504 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10505 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10506 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10507 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10508 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10510 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10512 * elf/tst-unique3.cc (gets): Remove declaration.
10513 * elf/tst-unique3lib.cc (gets): Likewise.
10514 * elf/tst-unique3lib2.cc (gets): Likewise.
10515 * elf/tst-unique4.cc (gets): Likewise.
10517 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10519 * include/stdio.h: Add C++ protection. Add gets declarations and
10521 * debug/tst-chk1.c: Don't declare gets here.
10522 * stdio-common/tst-gets.c: Likewise.
10524 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10526 * posix/glob: Remove directory.
10528 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10530 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10532 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10534 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10535 of the non-standard EPFNOSUPPORT.
10537 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10539 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10540 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10541 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10543 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10545 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10547 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10549 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10551 * nscd/grpcache.c (cache_addgr): Likewise.
10552 * nscd/hstcache.c (cache_addhst): Likewise.
10553 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10554 * nscd/pwdcache.c (cache_addpw): Likewise.
10555 * nscd/servicescache.c (cache_addserv): Likewise.
10557 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10559 * malloc/malloc.c: Various cleanups.
10560 * malloc/hooks.c: Likewise.
10562 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10563 * stdlib/bug-fmtmsg1.c: New file.
10565 * stdlib/fmtmsg.c (init): Add missing unlock.
10566 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10568 2012-01-12 Marek Polacek <polacek@redhat.com>
10570 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10573 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10575 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10576 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10577 macro to ensure uniqueness of label name.
10578 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10579 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10581 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10583 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10585 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10586 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10587 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10590 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10594 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10595 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10596 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10598 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10600 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10601 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10602 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10605 * math/bits/math-finite.h: Add ldexp support.
10607 2012-01-10 Marek Polacek <polacek@redhat.com>
10609 * locale/programs/localedef.h (show_archive_content): Add noreturn
10612 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10614 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10616 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10618 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10620 * io/Makefile (headers): Add bits/poll2.h.
10622 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10625 typo #include statement.
10627 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10629 * include/sys/cdefs.h: Define __attribute_alloc_size.
10630 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10631 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10632 * elf/pldd.c: Likewise.
10633 * iconv/iconv_charmap.c: Likewise.
10634 * iconv/iconvconfig.c: Likewise.
10635 * iconv/strtab.c: Likewise.
10636 * locale/programs/locale.c: Likewise.
10637 * locale/programs/localedef.h: Likewise.
10638 * locale/programs/simple-hash.c: Likewise.
10639 * nscd/nscd.h: Likewise.
10640 * nss/makedb.c: Likewise.
10641 * sysdeps/generic/ldconfig.h: Likewise.
10642 * locale/programs/localedef.c: Remove xmalloc prototype.
10643 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10645 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10647 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10650 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10652 * math/Makefile (tests): Add tst-CMPLX.
10653 * math/tst-CMPLX.c: New file.
10655 * math/complex.h (CMPLXL): Fix typo.
10657 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10658 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10660 * debug/tst-chk1.c: Add poll and ppoll tests.
10661 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10662 * include/sys/poll.h: Add hidden proto for ppoll.
10663 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10664 * sysdeps/mach/hurd/ppoll.c: Likewise.
10665 * io/ppoll.c: Likewise.
10666 * debug/poll_chk.c: New file.
10667 * debug/ppoll_chk.c: New file.
10668 * include/bits/poll2.h: New file.
10669 * io/bits/poll2.h: New file.
10672 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10674 * configure.in: static is always set to yes. Remove.
10675 * config.make.in: Don't set build-static.
10676 * Makeconfig: Remove use of build-static.
10677 * dlfcn/Makefile: Likewise.
10678 * elf/Makefile: Likewise.
10679 * math/Makefile: Likewise.
10680 * misc/Makefile: Likewise.
10681 * nptl/Makefile: Likewise.
10682 * sysdeps/mach/hurd/Makefile: Likewise.
10684 * configure.in: PWD_P is not used anymore.
10685 * config.make.in: Remove PWD_P entry.
10687 * configure.in: Remove last remnants of RANLIB.
10688 No need to check for signed size_t anymore.
10689 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10691 Remove __builtin_expect test because we require at least gcc 3.4.
10692 * aclocal.m4: Likewise.
10694 * wcsmbs/mbrtoc16.c: Implement using towc function.
10695 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10696 * wcsmbs/wcsmbsload.c: Likewise.
10697 * iconv/gconv_simple.c: Likewise.
10698 * iconv/gconv_int.h: Likewise.
10699 * iconv/gconv_builtin.h: Likewise.
10700 * iconv/iconv_prog.c: Remove CHAR16 handling.
10702 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10704 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10706 * configure.in: Remove --with-elf and --enable-bounded options.
10707 Dont set base_machine for ia64. More non-ELF conditions removed.
10708 Remove testing and setting of leading underscore information.
10709 * config.make.in (build-bounded): Set to no.
10710 * config.h.in: Remove NO_UNDERSCORES entry.
10711 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10713 * csu/start.c: Remove !NO_UNDERSCORE code.
10714 * locale/localeinfo.h: Likewise.
10715 * sysdeps/generic/machine-gmon.h: Likewise.
10716 * sysdeps/generic/sysdep.h: Likewise.
10717 * sysdeps/i386/sysdep.h: Likewise.
10718 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10719 * sysdeps/mach/sysdep.h: Likewise.
10720 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10721 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10722 * sysdeps/sh/sysdep.h: Likewise.
10723 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10724 * sysdeps/unix/i386/sysdep.S: Likewise.
10725 * sysdeps/unix/sparc/start.c: Likewise.
10726 * sysdeps/unix/sparc/sysdep.S: Likewise.
10727 * sysdeps/unix/sparc/sysdep.h: Likewise.
10728 * sysdeps/unix/start.c: Likewise.
10729 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10730 * sysdeps/x86_64/sysdep.h: Likewise.
10732 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10735 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10737 * argp/argp-fmtstream.h: Use const instead __const.
10738 * argp/argp.h: Likewise.
10739 * assert/assert.h: Likewise.
10740 * bits/fenv.h: Likewise.
10741 * bits/sched.h: Likewise.
10742 * bits/sigset.h: Likewise.
10743 * bits/sigthread.h: Likewise.
10744 * catgets/nl_types.h: Likewise.
10745 * conform/data/pthread.h-data: Likewise.
10746 * crypt/crypt-private.h: Likewise.
10747 * crypt/crypt.h: Likewise.
10748 * crypt/crypt_util.c: Likewise.
10749 * ctype/ctype.h: Likewise.
10750 * debug/execinfo.h: Likewise.
10751 * debug/mbsnrtowcs_chk.c: Likewise.
10752 * debug/mbsrtowcs_chk.c: Likewise.
10753 * debug/wcsnrtombs_chk.c: Likewise.
10754 * debug/wcsrtombs_chk.c: Likewise.
10755 * debug/wcstombs_chk.c: Likewise.
10756 * dirent/dirent.h: Likewise.
10757 * dlfcn/dlfcn.h: Likewise.
10758 * elf/neededtest4.c: Likewise.
10759 * grp/grp.h: Likewise.
10760 * gshadow/gshadow.h: Likewise.
10761 * iconv/gconv.h: Likewise.
10762 * iconv/gconv_int.h: Likewise.
10763 * iconv/gconv_simple.c: Likewise.
10764 * iconv/iconv.h: Likewise.
10765 * iconv/loop.c: Likewise.
10766 * iconv/skeleton.c: Likewise.
10767 * include/aio.h: Likewise.
10768 * include/aliases.h: Likewise.
10769 * include/argz.h: Likewise.
10770 * include/arpa/inet.h: Likewise.
10771 * include/assert.h: Likewise.
10772 * include/dirent.h: Likewise.
10773 * include/dlfcn.h: Likewise.
10774 * include/execinfo.h: Likewise.
10775 * include/fcntl.h: Likewise.
10776 * include/fenv.h: Likewise.
10777 * include/glob.h: Likewise.
10778 * include/grp.h: Likewise.
10779 * include/libintl.h: Likewise.
10780 * include/mntent.h: Likewise.
10781 * include/netdb.h: Likewise.
10782 * include/pwd.h: Likewise.
10783 * include/rpc/netdb.h: Likewise.
10784 * include/sched.h: Likewise.
10785 * include/search.h: Likewise.
10786 * include/shadow.h: Likewise.
10787 * include/signal.h: Likewise.
10788 * include/stdio.h: Likewise.
10789 * include/stdlib.h: Likewise.
10790 * include/string.h: Likewise.
10791 * include/sys/socket.h: Likewise.
10792 * include/sys/stat.h: Likewise.
10793 * include/sys/statfs.h: Likewise.
10794 * include/sys/statvfs.h: Likewise.
10795 * include/sys/syslog.h: Likewise.
10796 * include/sys/time.h: Likewise.
10797 * include/sys/uio.h: Likewise.
10798 * include/time.h: Likewise.
10799 * include/unistd.h: Likewise.
10800 * include/utmp.h: Likewise.
10801 * include/wchar.h: Likewise.
10802 * include/wctype.h: Likewise.
10803 * inet/aliases.h: Likewise.
10804 * inet/arpa/inet.h: Likewise.
10805 * inet/netinet/ether.h: Likewise.
10806 * inet/netinet/in.h: Likewise.
10807 * intl/libintl.h: Likewise.
10808 * io/bits/fcntl2.h: Likewise.
10809 * io/fcntl.h: Likewise.
10810 * io/ftw.h: Likewise.
10811 * io/sys/poll.h: Likewise.
10812 * io/sys/stat.h: Likewise.
10813 * io/sys/statfs.h: Likewise.
10814 * io/sys/statvfs.h: Likewise.
10815 * io/utime.h: Likewise.
10816 * libio/bits/stdio.h: Likewise.
10817 * libio/bits/stdio2.h: Likewise.
10818 * libio/libio.h: Likewise.
10819 * libio/libioP.h: Likewise.
10820 * libio/stdio.h: Likewise.
10821 * locale/lc-ctype.c: Likewise.
10822 * locale/locale.h: Likewise.
10823 * login/utmp.h: Likewise.
10824 * malloc/arena.c: Likewise.
10825 * malloc/malloc.c: Likewise.
10826 * malloc/malloc.h: Likewise.
10827 * malloc/mcheck.c: Likewise.
10828 * malloc/mtrace.c: Likewise.
10829 * math/bits/mathcalls.h: Likewise.
10830 * math/fenv.h: Likewise.
10831 * math/math_private.h: Likewise.
10832 * misc/bits/error.h: Likewise.
10833 * misc/bits/syslog.h: Likewise.
10834 * misc/err.h: Likewise.
10835 * misc/error.h: Likewise.
10836 * misc/fstab.h: Likewise.
10837 * misc/mntent.h: Likewise.
10838 * misc/regexp.h: Likewise.
10839 * misc/search.h: Likewise.
10840 * misc/sgtty.h: Likewise.
10841 * misc/sys/mman.h: Likewise.
10842 * misc/sys/syslog.h: Likewise.
10843 * misc/sys/uio.h: Likewise.
10844 * misc/sys/xattr.h: Likewise.
10845 * misc/ttyent.h: Likewise.
10846 * nis/rpcsvc/ypclnt.h: Likewise.
10847 * nss/nss.h: Likewise.
10848 * posix/bits/unistd.h: Likewise.
10849 * posix/fnmatch.h: Likewise.
10850 * posix/glob.h: Likewise.
10851 * posix/sched.h: Likewise.
10852 * posix/spawn.h: Likewise.
10853 * posix/sys/wait.h: Likewise.
10854 * posix/unistd.h: Likewise.
10855 * posix/wordexp.h: Likewise.
10856 * pwd/pwd.h: Likewise.
10857 * resolv/netdb.h: Likewise.
10858 * resource/sys/resource.h: Likewise.
10859 * rt/aio.h: Likewise.
10860 * rt/bits/mqueue2.h: Likewise.
10861 * rt/mqueue.h: Likewise.
10862 * shadow/shadow.h: Likewise.
10863 * signal/signal.h: Likewise.
10864 * socket/send.c: Likewise.
10865 * socket/sendto.c: Likewise.
10866 * socket/sys/socket.h: Likewise.
10867 * stdio-common/printf.h: Likewise.
10868 * stdlib/bits/stdlib.h: Likewise.
10869 * stdlib/fmtmsg.h: Likewise.
10870 * stdlib/monetary.h: Likewise.
10871 * stdlib/stdlib.h: Likewise.
10872 * stdlib/ucontext.h: Likewise.
10873 * streams/stropts.h: Likewise.
10874 * string/argz.h: Likewise.
10875 * string/bits/string2.h: Likewise.
10876 * string/string.h: Likewise.
10877 * string/strings.h: Likewise.
10878 * sunrpc/rpc/auth.h: Likewise.
10879 * sunrpc/rpc/auth_des.h: Likewise.
10880 * sunrpc/rpc/clnt.h: Likewise.
10881 * sunrpc/rpc/netdb.h: Likewise.
10882 * sunrpc/rpc/pmap_clnt.h: Likewise.
10883 * sunrpc/rpc/xdr.h: Likewise.
10884 * sysdeps/generic/inttypes.h: Likewise.
10885 * sysdeps/generic/net/if.h: Likewise.
10886 * sysdeps/generic/sys/swap.h: Likewise.
10887 * sysdeps/gnu/net/if.h: Likewise.
10888 * sysdeps/gnu/utmpx.h: Likewise.
10889 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10890 * sysdeps/i386/i486/bits/string.h: Likewise.
10891 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10892 * sysdeps/s390/bits/string.h: Likewise.
10893 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10894 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10895 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10896 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10897 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10898 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10899 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10900 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10901 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10902 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10903 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10904 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10905 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10906 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10907 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10908 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10909 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10911 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10912 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10914 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10915 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10916 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10917 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10918 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10919 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10920 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10921 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10922 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10923 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10924 * sysvipc/sys/ipc.h: Likewise.
10925 * sysvipc/sys/msg.h: Likewise.
10926 * sysvipc/sys/sem.h: Likewise.
10927 * sysvipc/sys/shm.h: Likewise.
10928 * termios/termios.h: Likewise.
10929 * time/sys/time.h: Likewise.
10930 * time/time.h: Likewise.
10931 * wcsmbs/bits/wchar2.h: Likewise.
10932 * wcsmbs/uchar.h: Likewise.
10933 * wcsmbs/wchar.h: Likewise.
10934 * wctype/wctype.h: Likewise.
10937 * Makeconfig: Remove all but ELF support including AIX support.
10938 * Makerules: Likewise.
10939 * config.h.in: Likewise.
10940 * config.make.in: Likewise.
10941 * configure: Likewise.
10942 * configure.in: Likewise.
10943 * csu/Makefile: Likewise.
10944 * csu/version.c: Likewise.
10945 * debug/Makefile: Likewise.
10946 * dlfcn/Makefile: Likewise.
10947 * elf/Makefile: Likewise.
10948 * extra-lib.mk: Likewise.
10949 * iconv/Makefile: Likewise.
10950 * include/libc-symbols.h: Likewise.
10951 * include/shlib-compat.h: Likewise.
10952 * resolv/Makefile: Likewise.
10953 * resolv/res_libc.c: Likewise.
10954 * rt/Makefile: Likewise.
10955 * sysdeps/i386/asm-syntax.h: Likewise.
10956 * sysdeps/i386/sysdep.h: Likewise.
10957 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10958 * sysdeps/mach/sysdep.h: Likewise.
10959 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10960 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10961 * sysdeps/s390/asm-syntax.h: Likewise.
10962 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10963 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10964 * sysdeps/sh/sysdep.h: Likewise.
10965 * sysdeps/unix/sparc/sysdep.h: Likewise.
10966 * sysdeps/wordsize-32/divdi3.c: Likewise.
10967 * sysdeps/x86_64/sysdep.h: Likewise.
10969 * argp/Versions: Remove _argp_unlock_xxx.
10972 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10973 * abilist/libBrokenLocale.abilist: Likewise.
10974 * abilist/libanl.abilist: Likewise.
10975 * abilist/libc.abilist: Likewise.
10976 * abilist/libcrypt.abilist: Likewise.
10977 * abilist/libdl.abilist: Likewise.
10978 * abilist/libm.abilist: Likewise.
10979 * abilist/libnsl.abilist: Likewise.
10980 * abilist/libpthread.abilist: Likewise.
10981 * abilist/libresolv.abilist: Likewise.
10982 * abilist/librt.abilist: Likewise.
10983 * abilist/libthread_db.abilist: Likewise.
10984 * abilist/libutil.abilist: Likewise.
10985 * abilist/libnss_db.abilist: New file.
10987 * scripts/abilist.awk: Add support for indirect functions.
10989 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10991 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10993 * shlib-versions: Remove entries for ports architectures.
10995 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10997 * elf/stackguard-macros.h: Remove support for IA-64.
10998 * elf/tst-auditmod1.c: Likewise.
10999 * sysdeps/generic/ldsodefs.h: Likewise.
11001 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11002 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11006 * configure.in: Remove --enable-omitfp support.
11008 * config.make.in: Likewise.
11009 * Makeconfig: Likewise.
11010 * manual/install.texi: Likewise.
11012 In case anyone cares, the IA-64 architecture could move to ports.
11013 * sysdeps/ia64/*: Removed.
11014 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11015 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11018 * configure.in: Remove entries for unsupported architectures.
11021 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11022 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11024 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11025 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11026 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11027 fall back to using wcrtomb.
11028 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11029 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11031 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11032 * wcsmbs/tst-c16c32-1.c: New file.
11034 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11037 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11039 * elf/tst-unique3.cc: Add explicit declaration of gets.
11040 * elf/tst-unique3lib.cc: Likewise.
11041 * elf/tst-unique3lib2.cc: Likewise.
11042 * elf/tst-unique4.cc: Likewise.
11044 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11046 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11049 * assert/assert.h (static_assert): Don't define for C++.
11050 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11051 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11053 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11055 * iconv/loop.c (single loop): Fix assertion in storing of
11058 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11060 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11062 * posix/getconf.c: Update copyright year.
11063 * nss/getent.c: Likewise.
11064 * nss/makedb.c: Likewise.
11065 * iconv/iconvconfig.c: Likewise.
11066 * iconv/iconv_prog.c: Likewise.
11067 * elf/ldconfig.c: Likewise.
11068 * elf/pldd.c: Likewise.
11069 * elf/sotruss.ksh: Likewise.
11070 * catgets/gencat.c: Likewise.
11071 * csu/version.c: Likewise.
11072 * elf/ldd.bash.in: Likewise.
11073 * elf/sprof.c (print_version): Likewise.
11074 * locale/programs/locale.c: Likewise.
11075 * locale/programs/localedef.c: Likewise.
11076 * login/programs/pt_chown.c: Likewise.
11077 * nscd/nscd.c (print_version): Likewise.
11078 * debug/xtrace.sh: Likewise.
11079 * malloc/memusage.sh: Likewise.
11080 * malloc/mtrace.pl: Likewise.
11081 * debug/catchsegv.sh: Likewise.
11083 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11085 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11088 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11091 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11092 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11094 * iconv/gconv_int.h: Likewise.
11095 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11096 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11097 from libc for GLIBC_2.16.
11098 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11099 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11100 * wcsmbs/uchar.h: Really define mbstate_t.
11101 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11102 * wcsmbs/c16rtomb.c: New file.
11103 * wcsmbs/mbrtoc16.c: New file.
11104 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11105 for C/POSIX locale.
11106 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11107 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11109 * wcsmbs/wchar.h: Add missing __restrict.
11111 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11114 * time/Makefile (routines): Add timespec_get.
11115 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11116 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11117 timespec for ISO C11.
11118 * time/timespec_get.c: New file.
11119 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11120 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11123 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11124 * stdlib/stdlib.h: Declare aligned_alloc.
11125 * Versions.def: Add GLIBC_2.16 for libc.
11126 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11129 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11132 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11136 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11139 * assert/assert.h (static_assert): Define.
11141 * version.h: Update for 2.16 development version.
11144 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11147 * version.h (RELEASE): Bump for 2.15 release.
11148 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11150 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11151 Patch by Marek Polacek <mpolacek@redhat.com>.
11153 * bits/byteswap.h: Protect long long constants with __extension__.
11154 * sysdeps/i386/bits/byteswap.h: Likewise.
11155 * sysdeps/ia64/bits/byteswap.h: Likewise.
11156 * sysdeps/s390/bits/byteswap.h: Likewise.
11157 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11159 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11162 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11163 destination buffer.
11164 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11166 2011-12-23 Marek Polacek <polacek@redhat.com>
11168 * elf/dl-addr.c (determine_info): Add inline keyword.
11169 * elf/tst-auditmod4b.c (check_avx): Likewise.
11170 * elf/tst-auditmod6b.c (check_avx): Likewise.
11171 * elf/tst-auditmod6c.c (check_avx): Likewise.
11172 * elf/tst-auditmod7b.c (check_avx): Likewise.
11174 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11176 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11179 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11182 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11183 processing for last bytes.
11185 2011-08-06 Bruno Haible <bruno@clisp.org>
11188 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11189 U+0385, not to U+1FEE.
11192 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11193 entry for U+00A5 U+0301.
11195 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11198 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11199 buffer for the output is too small.
11201 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11205 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11206 SSE flags if possible.
11208 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11211 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11212 processing for last bytes.
11214 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11216 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11217 (syscall-list-default-options, syscall-list-default-condition)
11218 (syscall-list-includes): Define.
11219 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11220 list of ABIs and options and #if conditions for each ABI. Do not
11221 handle common syscalls between ABIs specially.
11222 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11224 (syscall-list-variants, syscall-list-32bit-options)
11225 (syscall-list-32bit-condition, syscall-list-64bit-options)
11226 (syscall-list-64bit-condition): Define.
11227 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11228 (syscall-list-variants, syscall-list-32bit-options)
11229 (syscall-list-32bit-condition, syscall-list-64bit-options)
11230 (syscall-list-64bit-condition): Define.
11231 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11233 (syscall-list-variants, syscall-list-32bit-options)
11234 (syscall-list-32bit-condition, syscall-list-64bit-options)
11235 (syscall-list-64bit-condition): Define.
11236 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11238 (syscall-list-variants, syscall-list-32bit-options)
11239 (syscall-list-32bit-condition, syscall-list-64bit-options)
11240 (syscall-list-64bit-condition): Define.
11242 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11244 * locale/iso-639.def: Add brx entry.
11247 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11248 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11250 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11251 __feraiseexcept_renamed.
11253 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11256 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11257 EPOLLET with unsigned values.
11258 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11259 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11261 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11262 to large cancellation.
11263 * math/s_cacoshf.c: Likewise.
11264 * math/s_cacoshl.c: Likewise.
11266 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11270 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11271 * math/s_cacoshf.c: Likewise.
11272 * math/s_cacoshl.c: Likewise.
11274 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11277 * iconv/gconv.h: Define __GCONV_SWAP.
11278 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11279 * iconvdata/utf-16.c: Likewise.
11280 * iconvdata/utf-32.c: Likewise.
11282 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11285 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11286 numerator after shifting it by one limb.
11288 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11290 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11291 under [__USE_EXTERN_INLINES].
11293 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11296 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11298 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11300 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11301 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11303 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11304 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11305 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11306 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11307 for strncasecmp/strncasecmp_l compilation.
11308 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11309 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11311 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11314 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11317 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11320 * time/tzfile.c (__tzfile_read): Check values from file header.
11322 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11324 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11325 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11326 * powerpc/powerpc32/dl-start.S: Likewise.
11327 * powerpc/powerpc32/elf/start.S: Likewise.
11328 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11329 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11330 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11331 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11332 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11333 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11334 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11335 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11336 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11337 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11338 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11339 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11340 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11341 * powerpc/powerpc32/memset.S: Likewise.
11342 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11343 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11344 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11345 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11346 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11347 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11348 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11349 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11350 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11351 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11352 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11353 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11354 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11356 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11358 * math/libm-test.inc: Added more nearbyint tests.
11359 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11360 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11361 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11362 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11364 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11366 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11369 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11371 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11372 Add wcscpy-ssse3 wcscpy-c.
11373 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11374 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11375 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11376 * sysdeps/x86_64/wcschr.S: New file.
11377 * sysdeps/x86_64/wcsrchr.S: New file.
11378 * string/test-strcmp.c: Remove checking of wcscmp function for
11380 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11381 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11382 wcsrchr-sse2 wcsrchr-c.
11383 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11384 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11385 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11386 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11387 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11388 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11389 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11390 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11391 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11392 * wcsmbc/wcschr.c (WCSCHR): New macro.
11394 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11396 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11397 * wcsmbs/test-wcsrchr.c: New file.
11398 * string/test-strrchr.c: Add wcsrchr support.
11400 * wcsmbs/test-wcscpy.c: New file.
11401 * string/test-strcpy.c: Add wcscpy support.
11404 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11406 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11409 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11412 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11414 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11416 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11417 Minor optimizations.
11419 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11420 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11421 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11423 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11425 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11426 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11427 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11428 for gcc to avoid warnings.
11429 * inet/Makefile (tests): Add tst-checks.
11430 * inet/tst-checks.c: New file.
11432 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11435 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11438 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11439 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11441 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11443 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11445 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11448 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11450 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11452 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11453 conditional on GCC version.
11454 (__arch_compare_and_exchange_val_8_acq)
11455 (__arch_compare_and_exchange_val_16_acq)
11456 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11457 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11458 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11460 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11462 * sysdeps/sh/backtrace.c: New file.
11464 2011-12-02 Andreas Schwab <schwab@redhat.com>
11466 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11469 2011-12-01 Andreas Schwab <schwab@redhat.com>
11471 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11472 falling back to utime.
11474 2011-11-30 Andreas Schwab <schwab@redhat.com>
11476 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11477 expectations for float.
11479 2011-11-29 Andreas Schwab <schwab@redhat.com>
11481 * locale/weight.h (findidx): Add parameter len.
11482 * locale/weightwc.h (findidx): Likewise.
11483 * posix/fnmatch_loop.c (FCT): Adjust caller.
11484 * posix/regcomp.c (build_equiv_class): Likewise.
11485 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11486 * posix/regexec.c (check_node_accept_bytes): Likewise.
11487 * string/strcoll_l.c (STRCOLL): Likewise.
11488 * string/strxfrm_l.c (STRXFRM): Likewise.
11490 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11492 * Makefile.in: Remove CVSOPT handling.
11493 * configure.in: Remove use of AC_REVISION.
11494 * iconvdata/Makefile (distribute): No need to filter out CVS.
11495 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11498 2011-11-16 Andreas Schwab <schwab@redhat.com>
11500 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11501 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11502 [USE_AS_STRNCASECMP_L]: Likewise.
11503 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11504 NO_TLS_DIRECT_SEG_REFS.
11505 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11506 Fix argument offsets for non-PIC.
11507 [USE_AS_STRNCASECMP_L]: Likewise.
11508 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11509 NO_TLS_DIRECT_SEG_REFS.
11511 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11513 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11515 * locale/loadlocale.c (_nl_load_locale): Likewise.
11517 2011-11-15 Andreas Schwab <schwab@redhat.com>
11519 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11520 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11521 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11522 (SYSCALL_GETTIME): Set errno on error.
11524 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11525 count references to noai6ai_cached.
11527 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11529 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11531 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11532 FD_CLOEXEC for /proc/self/maps.
11534 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11535 FD_CLOEXEC for /proc/meminfo.
11537 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11540 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11541 FD_CLOEXEC for given file.
11543 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11545 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11546 FD_CLOEXEC for /etc/hosts.
11547 (_gethtent): Likewise.
11549 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11551 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11552 cancellation and set FD_CLOEXEC for /etc/netgroup.
11554 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11555 reading /etc/publickey.
11557 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11558 allow cancellation when reading /etc/group.
11560 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11562 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11564 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11565 when using data file.
11567 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11569 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11570 (write_nis_obj): Use "c" and "e" in fopen.
11572 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11574 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11576 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11578 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11580 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11583 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11585 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11587 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11589 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11590 file parsing and set FD_CLOEXEC.
11592 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11594 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11596 2011-11-14 Andreas Schwab <schwab@redhat.com>
11598 * malloc/arena.c (arena_get2): Don't call reused_arena when
11599 _int_new_arena failed.
11601 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11603 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11604 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11605 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11606 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11608 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11609 to compile strcasecmp and strncasecmp.
11610 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11611 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11615 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11617 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11618 locale-defines.sym to gen-as-const-headers.
11619 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11620 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11621 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11622 to compile strcasecmp and strncasecmp.
11623 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11624 strcasecmp_l and strncasecmp_l.
11625 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11626 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11627 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11628 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11629 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11630 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11631 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11632 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11633 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11634 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11635 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11637 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11639 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11640 result of SYSDEP_GETTIME_CPU to retval.
11641 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11642 parameter list to macro. Remove trailing semicolon. Adjust users.
11644 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11647 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11649 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11651 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11652 from unused variable.
11654 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11656 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11659 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11662 * sunrpc/rpc_prot.c (rejected): Fix case value.
11664 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11665 unsigned long long int to avoid warnings in shift.
11667 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11669 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11672 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11673 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11674 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11676 * nis/nis_table.c (nis_list): Use variable of correct type for
11677 result of __follow_path call.
11679 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11681 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11682 of math functions ceil, trunc, floor, round, and sqrt, when
11683 avaliable on the platform.
11684 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11686 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11687 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11688 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11690 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11692 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11693 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11695 2011-11-11 Roland McGrath <roland@hack.frob.com>
11697 * include/unistd.h: Fix __readlink return type.
11698 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11700 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11702 * stdlib/ucontext.h: Undo last change for makecontext.
11704 2011-11-11 Andreas Schwab <schwab@redhat.com>
11706 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11708 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11709 * setjmp/setjmp.h: Mark functions as non-leaf.
11710 * setjmp/bits/setjmp2.h: Likewise.
11711 * stdlib/ucontext.h: Likewise.
11713 2011-11-10 Andreas Schwab <schwab@redhat.com>
11715 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11716 (reused_arena): Don't check arena limit.
11717 (arena_get2): Atomically check arena limit.
11719 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11721 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11722 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11724 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11727 2011-11-07 Andreas Schwab <schwab@redhat.com>
11729 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11730 handler when locking.
11732 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11733 Fix size of allocated buffer.
11735 2011-11-04 Andreas Schwab <schwab@redhat.com>
11738 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11739 declarations for long double functions.
11740 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11742 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11744 2011-11-03 Andreas Schwab <schwab@redhat.com>
11746 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11749 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11752 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11754 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11756 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11758 * include/alloca.h (stackinfo_alloca_round): Define.
11759 (extend_alloca): Use it.
11760 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11761 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11764 * scripts/check-local-headers.sh: Ignore libaudit.h.
11766 * nscd/Makefile (extra-objs): Make recursively expanded.
11768 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11770 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11773 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11774 * posix/tst-rfc3484-2.c: Likewise.
11775 * posix/tst-rfc3484-3.c: Likewise.
11777 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11779 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11781 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11782 process_vm_writev from libc using GLIBC_2.15 version.
11784 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11786 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11788 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11791 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11794 * nss/getent.c (initgroups_keys): Show error message in case no group
11797 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11798 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11799 __bump_nl_timestamp.
11800 * nscd/connections (nscd_init): When host database is served open
11801 netlink socket and request notification about configuration changes.
11802 (main_loop_poll): Track netlink file descriptor and bump timestamp
11803 in case data becomes available.
11804 (main_loop_epoll): Likewise.
11805 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11806 (database_pers_head): Add extra_data fileds.
11807 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11808 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11809 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11811 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11812 in6ai data, call __free_in6ai.
11813 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11814 Add -DHAVE_NETLINK.
11815 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11816 interface information. Reuse previous data if netlink timestamp
11818 (__bump_nl_timestamp): New function.
11819 (__free_in6ai): New function.
11821 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11823 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11824 close_not_cancel_no_status here.
11825 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11827 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11830 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11833 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11834 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11835 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11837 2011-07-03 Andreas Jaeger <aj@suse.de>
11840 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11841 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11842 * math/libm-test.inc (sin_test): Add test case.
11844 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11847 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11848 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11850 * elf/chroot_canon.c (chroot_canon): Cleanups.
11852 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11855 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11856 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11858 * string/test-strchr.c: Make usable for strchrnul testing.
11859 * string/test-strchrnul.c: New file.
11860 * string/Makefile (strop-tests): Add strchrnul.
11862 * po/it.po: Update from translation team.
11863 * po/es.po: Likewise.
11865 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11867 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11868 the three constants needed as parameters. Drop the others.
11869 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11870 __m128i_strloadu_tolower.
11871 Create and initialize variable zero and use it in all the places
11872 where _mm_setzero_si128 was used.
11874 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11875 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11876 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11877 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11879 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11880 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11881 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11882 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11883 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11884 __mpranred, __mptan.
11885 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11886 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11887 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11888 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11889 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11890 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11891 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11892 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11893 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11895 2011-10-28 Andreas Schwab <schwab@redhat.com>
11897 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11898 redefine if SHARED.
11899 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11902 wide char related routines to wcsmbs subdir.
11904 2011-10-27 Andreas Schwab <schwab@redhat.com>
11907 * misc/sys/cdefs.h (__THROWNL): Define.
11908 * posix/unistd.h: Use __THREADNL instead of __THREAD
11909 for memory synchronization functions.
11911 2011-10-26 Roland McGrath <roland@hack.frob.com>
11914 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11916 * manual/stdio.texi (Obstack Streams): Node removed.
11918 2011-10-26 Andreas Schwab <schwab@redhat.com>
11920 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11921 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11922 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11924 * math/math_private.h (math_force_eval): Allow non-addressable
11926 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11928 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11930 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11931 file is not needed.
11933 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11935 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11936 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11937 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11938 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11939 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11940 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11942 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11943 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11944 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11945 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11946 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11947 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11948 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11949 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11950 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11951 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11952 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11953 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11954 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11955 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11956 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11957 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11958 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11959 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11960 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11962 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11963 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11965 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11966 place. Use VEX encoding when compiling for AVX.
11968 2011-10-25 Andreas Schwab <schwab@redhat.com>
11970 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11971 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11973 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11975 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11977 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11978 useless if() expression.
11979 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11980 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11981 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11982 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11983 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11984 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11985 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11986 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11987 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11988 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11989 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11990 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11991 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11992 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11993 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11994 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11995 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11996 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11997 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11999 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12001 2011-10-25 Andreas Schwab <schwab@redhat.com>
12003 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12005 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12007 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12009 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12010 .text section. Avoid duplicate constants.
12011 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12013 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12019 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12020 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12021 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12022 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12023 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12024 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12026 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12027 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12028 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12029 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12034 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12035 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12036 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12037 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12038 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12039 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12040 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12041 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12042 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12043 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12044 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12045 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12046 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12047 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12048 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12049 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12050 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12052 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12053 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12054 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12055 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12057 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12059 * sysdeps/x86_64/dla.h: Move to ...
12060 * sysdeps/x86_64/fpu/dla.h: ...here.
12061 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12062 situations. Use __builtin_fma only for gcc 4.6 and up.
12064 * config.make.in: Add have-mfma4 entry.
12065 * configure.in: Substitute libc_cv_cc_fma4.
12066 * math/Makefile (dbl-only-routines): Add sincostab.
12067 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12068 Use __sincostab not sincos.
12069 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12071 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12074 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12076 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12077 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12078 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12079 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12081 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12082 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12084 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12085 define aliases when function name is a macro.
12086 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12087 sysdeps/ieee754/dbl-64/sincos.tbl.
12088 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12089 fma4-enabled routines.
12090 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12091 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12092 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12093 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12094 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12095 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12096 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12097 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12098 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12099 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12100 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12101 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12102 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12103 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12104 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12105 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12106 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12107 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12108 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12109 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12110 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12111 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12112 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12113 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12115 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12116 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12117 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12118 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12119 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12121 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12123 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12124 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12129 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12132 2011-10-24 Andreas Schwab <schwab@redhat.com>
12134 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12136 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12138 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12140 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12142 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12144 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12145 Remove unused variable magic_bits.
12146 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12148 * string/strnlen.c: Define and use STRNLEN macro.
12149 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12150 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12152 * wcsmbs/wcslen.c: Define and use WCSLEN.
12153 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12154 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12155 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12156 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12157 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12158 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12159 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12161 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12164 strnlen-sse2-no-bsf.
12165 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12166 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12167 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12168 Add strnlen support.
12169 (USE_AS_STRNLEN): New macro.
12170 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12171 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12172 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12173 * sysdeps/x86_64/wcslen.S: New file.
12175 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12177 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12178 XMM-moves are used for copying on small sizes.
12180 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12182 * wcsmbs/Makefile (strop-tests): Add wcschr.
12183 * wcsmbs/test-wcschr.c: New file.
12184 * string/test-strchr.c: Update.
12185 Add wcschr support.
12188 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12190 * wcsmbs/Makefile (strop-tests): Add wcslen.
12191 * wcsmbs/test-wcslen.c: New file.
12192 * string/test-strlen.c: Update.
12193 Add wcslen support.
12196 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12198 * po/it.po: Update from translation team.
12200 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12202 * sysdeps/x86_64/wcscmp.S: Update.
12203 Fix wrong comparison semantics.
12204 wcscmp shall use signed comparison not unsigned.
12205 Don't use substraction to avoid overflow bug.
12206 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12207 * wcsmbc/wcscmp.c: Likewise.
12208 * string/test-strcmp.c: Likewise.
12209 Add new tests to check cases with negative values.
12211 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12213 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12214 * sysdeps/x86_64/dla.h: ...here. New file.
12215 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12216 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12217 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12220 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12223 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12225 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12228 __ynl_finite aliases.
12230 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12234 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12236 [DLA_FMA] (EMULV): Use DLA_FMA.
12237 [DLA_FMA] (MUL12): Use EMULV.
12238 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12239 that are not needed.
12240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12248 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12250 * math/s_nan.c: Undef __nan.
12251 * math/s_nanf.c: Undef __nanf.
12252 * math/s_nanl.c: Undef __nanl.
12253 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12256 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12258 * math/s_catan.c: Add branch predictions.
12259 * math/s_catanf.c: Likewise.
12260 * math/s_catanh.c: Likewise.
12261 * math/s_catanhf.c: Likewise.
12262 * math/s_catanhl.c: Likewise.
12263 * math/s_catanl.c: Likewise.
12264 * math/s_cexp.c: Likewise.
12265 * math/s_cexpf.c: Likewise.
12266 * math/s_cexpl.c: Likewise.
12267 * math/s_clog.c: Likewise.
12268 * math/s_clog10.c: Likewise.
12269 * math/s_clog10f.c: Likewise.
12270 * math/s_clog10l.c: Likewise.
12271 * math/s_clogf.c: Likewise.
12272 * math/s_clogl.c: Likewise.
12273 * math/s_csqrt.c: Likewise.
12274 * math/s_csqrtf.c: Likewise.
12275 * math/s_csqrtl.c: Likewise.
12276 * math/s_ctanf.c: Likewise.
12277 * math/s_ctanh.c: Likewise.
12278 * math/s_ctanhf.c: Likewise.
12279 * math/s_ctanhl.c: Likewise.
12280 * math/s_ctanl.c: Likewise.
12282 * math/math_private.h: Define __nan, __nanf, __nanl.
12283 * math/s_cacosh.c: Include <math_private.h>.
12284 * math/s_cacoshl.c: Likewise.
12285 * math/s_casinh.c: Likewise.
12286 * math/s_casinhf.c: Likewise.
12287 * math/s_casinhl.c: Likewise.
12288 * math/s_ccos.c: Rely entire on ccosh.
12289 * math/s_ccosf.c: Rely entire on ccoshf.
12290 * math/s_ccosl.c: Rely entirely on ccoshl.
12291 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12292 Remove tests for FE_INVALID.
12293 * math/s_ccoshf.c: Likewise.
12294 * math/s_ccoshl.c: Likewise.
12295 * math/s_csin.c: Likewise.
12296 * math/s_csinf.c: Likewise.
12297 * math/s_csinh.c Likewise.
12298 * math/s_csinhf.c: Likewise.
12299 * math/s_csinhl.c: Likewise.
12300 * math/s_csinl.c: Likewise.
12301 * math/s_ctan.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12303 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12304 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12306 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12309 compilation problems.
12311 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12314 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12316 * sysdeps/i386/configure.in: Test for -mfma4 option.
12317 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12318 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12319 COMMON_CPUID_INDEX_80000001.
12320 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12321 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12322 use it if FMA3 is not supported.
12323 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12325 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12326 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12328 2011-10-20 Andreas Schwab <schwab@redhat.com>
12331 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12332 it would create a cycle with a link time dependency.
12334 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12336 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12338 * string/Makefile (strop-tests): Add rawmemchr.
12339 * string/test-rawmemchr.c: New file.
12341 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12342 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12343 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12344 when compiling str{,n}casecmp and when AVX is available. Hook up
12345 new optimized code in initializers.
12347 2011-10-19 Andreas Schwab <schwab@redhat.com>
12349 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12350 __feraiseexcept instead of feraiseexcept.
12352 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12354 * math/math_private.h: Define defaults for libc_fetestexcept and
12356 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12357 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12358 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12359 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12360 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12361 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12362 libc_fetestexcept and libc_feupdateenv.
12364 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12365 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12366 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12367 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12368 libc_feholdexcept_setround.
12370 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12371 Add s_nearbyint-c and s_nearbyintf-c.
12372 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12373 nearbyintf inlines.
12374 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12375 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12376 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12377 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12379 * math/math_private.h: Define defaults for libc_fegetround,
12380 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12381 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12382 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12383 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12384 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12385 standard functions.
12386 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12387 Remove comments and hacks for old compiler versions.
12388 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12389 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12390 libc_feholdexceptl.
12392 2011-10-18 Andreas Schwab <schwab@redhat.com>
12394 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12395 (__feraiseexcept_renamed): Add __NTH.
12396 (feraiseexcept): Add __NTH. Rename local variables to fix
12397 namespace violations.
12399 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12401 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12403 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12405 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12406 recently added interfaces.
12407 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12409 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12410 about macro parameter expansion.
12412 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12413 __NO_MATH_INLINES is defined. Cleanups.
12415 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12416 and __floorf is target has SSE4.1.
12417 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12418 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12419 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12420 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12422 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12424 (floorf): Likewise.
12426 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12428 2011-10-17 Andreas Schwab <schwab@redhat.com>
12430 * misc/sys/cdefs.h: Fix last change.
12432 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12435 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12437 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12439 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12440 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12441 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12442 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12443 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12445 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12446 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12447 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12448 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12449 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12450 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12451 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12452 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12453 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12454 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12455 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12456 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12457 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12458 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12459 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12460 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12462 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12463 ceil, ceilf, floor, floorf.
12465 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12466 Perform IRELATIVE relocations last.
12468 * elf/do-rel.h: Add another parameter nrelative, replacing the
12469 local variable with the same name. Change name of the function
12470 to end in Rel or Rela (uppercase).
12471 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12472 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12473 elf_dynamic_do_##reloc function.
12475 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12477 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12478 is sufficient, at least on modern CPUs.
12480 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12482 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12483 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12485 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12487 * math/bits/math-finite.h: Add entries for exp.
12488 * math/e_expl.c: Add __*_finite alias.
12489 * sysdeps/i386/fpu/e_exp.S: Likewise.
12490 * sysdeps/i386/fpu/e_expf.S: Likewise.
12491 * sysdeps/i386/fpu/e_expl.c: Likewise.
12492 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12493 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12494 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12496 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12497 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12498 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12500 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12501 is sufficient, at least on modern CPUs.
12503 * ctype/ctype-info.c (__ctype_init): Define.
12504 * include/ctype.h (__ctype_init): Declare.
12505 (__ctype_b_loc): The variable is always initialized.
12506 (__ctype_toupper_loc): Likewise.
12507 (__ctype_tolower_loc): Likewise.
12508 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12509 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12511 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12513 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12515 * configure.in: Also look in $cxxmachine/include for C++ system
12518 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12520 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12521 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12522 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12523 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12525 (USE_AS_WMEMCMP): New macro.
12527 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12528 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12529 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12530 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12532 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12533 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12534 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12535 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12536 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12537 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12538 (USE_AS_WMEMCMP): New macro.
12539 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12540 * sysdeps/string/test-memcmp.c: Update.
12541 Fix simple_wmemcmp.
12543 * wcsmbs/wmemcmp.c: Update.
12544 (WMEMCMP): New macro.
12547 2011-10-12 Andreas Jaeger <aj@suse.de>
12550 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12552 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12554 * libio/iofwide.c (do_length): Avoid warning.
12556 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12558 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12560 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12562 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12563 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12564 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12565 * sysdeps/i386/i686/fpu/e_log.S: New file.
12566 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12567 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12569 * ctype/ctype.h: Add support for inlined isXXX functions when
12570 compiling C++ code.
12572 2011-10-14 Andreas Schwab <schwab@redhat.com>
12574 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12576 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12578 2011-10-13 Roland McGrath <roland@hack.frob.com>
12581 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12583 2011-10-13 Andreas Schwab <schwab@redhat.com>
12585 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12586 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12589 * sysdeps/x86_64/memrchr.S: Check for zero size.
12591 * string/stratcliff.c: Add memrchr tests.
12593 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12596 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12597 rawmemchr-sse2 rawmemchr-sse2-bsf.
12598 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12599 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12600 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12601 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12602 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12603 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12604 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12605 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12606 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12607 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12608 * string/memrchr.c (MEMRCHR): New macro.
12610 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12612 Add integration with gcc's -ffinite-math-only and optimize wrapper
12614 * Versions.def: Define GLIBC_2.15 version for libm.
12615 * math/Makefile (headers): Add bits/math-finite.h.
12616 * math/bits/math-finite.h: New file.
12617 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12618 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12619 * math/e_acoshl.c: Add __*_finite alias.
12620 * math/e_acosl.c: Likewise.
12621 * math/e_asinl.c: Likewise.
12622 * math/e_atan2l.c: Likewise.
12623 * math/e_atanhl.c: Likewise.
12624 * math/e_coshl.c: Likewise.
12625 * math/e_exp10.c: Likewise.
12626 * math/e_exp10f.c: Likewise.
12627 * math/e_exp10l.c: Likewise.
12628 * math/e_exp2l.c: Likewise.
12629 * math/e_fmodl.c: Likewise.
12630 * math/e_gammal_r.c: Likewise.
12631 * math/e_hypotl.c: Likewise.
12632 * math/e_j0l.c: Likewise.
12633 * math/e_j1l.c: Likewise.
12634 * math/e_jnl.c: Likewise.
12635 * math/e_lgammal_r.c: Likewise.
12636 * math/e_log10l.c: Likewise.
12637 * math/e_log2l.c: Likewise.
12638 * math/e_logl.c: Likewise.
12639 * math/e_powl.c: Likewise.
12640 * math/e_sinhl.c: Likewise.
12641 * math/e_sqrtl.c: Likewise.
12642 * math/e_scalb.c: Completely rewritten and optimized.
12643 * math/e_scalbf.c: Likewise.
12644 * math/e_scalbl.c: Likewise.
12645 * math/w_acos.c: Likewise.
12646 * math/w_acosf.c: Likewise.
12647 * math/w_acosl.c: Likewise.
12648 * math/w_acosh.c: Likewise.
12649 * math/w_acoshf.c: Likewise.
12650 * math/w_acoshl.c: Likewise.
12651 * math/w_asin.c: Likewise.
12652 * math/w_asinf.c: Likewise.
12653 * math/w_asinl.c: Likewise.
12654 * math/w_atan2.c: Likewise.
12655 * math/w_atan2f.c: Likewise.
12656 * math/w_atan2l.c: Likewise.
12657 * math/w_atanh.c: Likewise.
12658 * math/w_atanhf.c: Likewise.
12659 * math/w_atanhl.c: Likewise.
12660 * math/w_exp10.c: Likewise.
12661 * math/w_exp10f.c: Likewise.
12662 * math/w_exp10l.c: Likewise.
12663 * math/w_fmod.c: Likewise.
12664 * math/w_fmodf.c: Likewise.
12665 * math/w_fmodl.c: Likewise.
12666 * math/w_j0.c: Likewise.
12667 * math/w_j0f.c: Likewise.
12668 * math/w_j0l.c: Likewise.
12669 * math/w_j1.c: Likewise.
12670 * math/w_j1f.c: Likewise.
12671 * math/w_j1l.c: Likewise.
12672 * math/w_jn.c: Likewise.
12673 * math/w_jnf.c: Likewise.
12674 * math/w_log.c: Likewise.
12675 * math/w_logf.c: Likewise.
12676 * math/w_logl.c: Likewise.
12677 * math/w_log10.c: Likewise.
12678 * math/w_log10f.c: Likewise.
12679 * math/w_log10l.c: Likewise.
12680 * math/w_log2.c: Likewise.
12681 * math/w_log2f.c: Likewise.
12682 * math/w_log2l.c: Likewise.
12683 * math/w_pow.c: Likewise.
12684 * math/w_powf.c: Likewise.
12685 * math/w_powl.c: Likewise.
12686 * math/w_remainder.c: Likewise.
12687 * math/w_remainderf.c: Likewise.
12688 * math/w_remainderl.c: Likewise.
12689 * math/w_scalb.c: Likewise.
12690 * math/w_scalbf.c: Likewise.
12691 * math/w_scalbl.c: Likewise.
12692 * math/w_sqrt.c: Likewise.
12693 * math/w_sqrtf.c: Likewise.
12694 * math/w_sqrtl.c: Likewise.
12695 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12696 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12698 * math/math_private.h: Declare __kernel_standard_f.
12699 * math/w_cosh.c: Remove cruft and optimize a bit.
12700 * math/w_coshf.c: Likewise.
12701 * math/w_coshl.c: Likewise.
12702 * math/w_exp2.c: Likewise.
12703 * math/w_exp2f.c: Likewise.
12704 * math/w_exp2l.c: Likewise.
12705 * math/w_hypot.c: Likewise.
12706 * math/w_hypotf.c: Likewise.
12707 * math/w_hypotl.c: Likewise.
12708 * math/w_lgamma.c: Likewise.
12709 * math/w_lgamma_r.c: Likewise.
12710 * math/w_lgammaf.c: Likewise.
12711 * math/w_lgammaf_r.c: Likewise.
12712 * math/w_lgammal.c: Likewise.
12713 * math/w_lgammal_r.c: Likewise.
12714 * math/w_sinh.c: Likewise.
12715 * math/w_sinhf.c: Likewise.
12716 * math/w_sinhl.c: Likewise.
12717 * math/w_tgamma.c: Likewise.
12718 * math/w_tgammaf.c: Likewise.
12719 * math/w_tgammal.c: Likewise.
12720 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12721 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12722 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12723 Minor optimizations. Pretty printing. Remove cruft.
12724 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12725 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12726 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12727 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12728 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12729 * sysdeps/i386/fpu/e_asin.S: Likewise.
12730 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12731 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12732 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12733 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12734 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12735 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12736 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12737 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12738 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12739 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12740 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12741 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12742 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12743 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12744 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12745 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12746 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12747 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12748 * sysdeps/i386/fpu/e_log.S: Likewise.
12749 * sysdeps/i386/fpu/e_log10.S: Likewise.
12750 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12751 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12752 * sysdeps/i386/fpu/e_log2.S: Likewise.
12753 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12754 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12755 * sysdeps/i386/fpu/e_logf.S: Likewise.
12756 * sysdeps/i386/fpu/e_logl.S: Likewise.
12757 * sysdeps/i386/fpu/e_pow.S: Likewise.
12758 * sysdeps/i386/fpu/e_powf.S: Likewise.
12759 * sysdeps/i386/fpu/e_powl.S: Likewise.
12760 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12761 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12762 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12763 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12764 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12765 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12766 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12767 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12768 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12790 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12791 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12792 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12793 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12794 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12795 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12796 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12797 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12798 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12799 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12800 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12801 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12803 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12804 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12805 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12806 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12808 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12809 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12810 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12852 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12854 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12855 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12857 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12860 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12861 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12862 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12863 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12864 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12865 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12866 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12867 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12868 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12869 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12870 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12871 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12872 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12873 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12874 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12875 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12876 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12877 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12878 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12879 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12880 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12881 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12882 (__isnanf): Likewise.
12883 (__isinf_ns): Likewise.
12884 (__isinf_nsf): Likewise.
12885 (__finite): Likewise.
12886 (__finitef): Likewise.
12887 (__ieee754_sqrt): Define as macro.
12888 (__ieee754_sqrtf): Define as macro.
12889 (__ieee754_sqrtl): Define as macro.
12890 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12892 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12893 __FINITE_MATH_ONLY__ consistent.
12894 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12896 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12898 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12901 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12903 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12905 * po/ja.po: Update from translation team.
12907 2011-10-08 Roland McGrath <roland@hack.frob.com>
12909 * locale/programs/locarchive.c (prepare_address_space): New function.
12910 (create_archive, enlarge_archive, open_archive): Use it.
12912 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12913 inside [SHARED], where it is used.
12915 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12917 * nss/getent.c (netgroup_keys): Remove unused variable.
12918 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12920 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12922 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12923 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12925 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12926 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12927 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12928 * math/Makefile (libm-calls): Add s_isinf_ns.
12929 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12930 * math/multc3.c: Likewise.
12931 * math/s_casin.c: Likewise.
12932 * math/s_casinf.c: Likewise.
12933 * math/s_casinl.c: Likewise.
12934 * math/s_ccos.c: Likewise.
12935 * math/s_ccosf.c: Likewise.
12936 * math/s_ccosl.c: Likewise.
12937 * math/s_ctan.c: Likewise.
12938 * math/s_ctanf.c: Likewise.
12939 * math/s_ctanh.c: Likewise.
12940 * math/s_ctanhf.c: Likewise.
12941 * math/s_ctanhl.c: Likewise.
12942 * math/s_ctanl.c: Likewise.
12943 * math/w_fmod.c: Likewise.
12944 * math/w_fmodf.c: Likewise.
12945 * math/w_fmodl.c: Likewise.
12946 * math/w_remainder.c: Likewise.
12947 * math/w_remainderf.c: Likewise.
12948 * math/w_remainderl.c: Likewise.
12949 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12950 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12951 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12953 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12954 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12955 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12956 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12958 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12960 * stdio-common/printf_fphex.c: Likewise.
12961 * stdio-common/printf_size.c: Likewise.
12963 * math/e_exp10.c: Include math_private.h using <...> not "...".
12964 * math/e_exp10f.c: Likewise.
12965 * math/e_exp10l.c: Likewise.
12966 * math/e_exp2l.c: Likewise.
12967 * math/e_j0l.c: Likewise.
12968 * math/e_j1l.c: Likewise.
12969 * math/e_jnl.c: Likewise.
12970 * math/e_lgammal_r.c: Likewise.
12971 * math/e_rem_pio2l.c: Likewise.
12972 * math/e_scalb.c: Likewise.
12973 * math/e_scalbf.c: Likewise.
12974 * math/e_scalbl.c: Likewise.
12975 * math/k_cosl.c: Likewise.
12976 * math/k_sinl.c: Likewise.
12977 * math/k_tanl.c: Likewise.
12978 * math/s_cacoshf.c: Likewise.
12979 * math/s_catan.c: Likewise.
12980 * math/s_catanf.c: Likewise.
12981 * math/s_catanh.c: Likewise.
12982 * math/s_catanhf.c: Likewise.
12983 * math/s_catanhl.c: Likewise.
12984 * math/s_catanl.c: Likewise.
12985 * math/s_ccosh.c: Likewise.
12986 * math/s_ccoshf.c: Likewise.
12987 * math/s_ccoshl.c: Likewise.
12988 * math/s_cexp.c: Likewise.
12989 * math/s_cexpf.c: Likewise.
12990 * math/s_cexpl.c: Likewise.
12991 * math/s_clog.c: Likewise.
12992 * math/s_clog10.c: Likewise.
12993 * math/s_clog10f.c: Likewise.
12994 * math/s_clog10l.c: Likewise.
12995 * math/s_clogf.c: Likewise.
12996 * math/s_clogl.c: Likewise.
12997 * math/s_csin.c: Likewise.
12998 * math/s_csinf.c: Likewise.
12999 * math/s_csinh.c: Likewise.
13000 * math/s_csinhf.c: Likewise.
13001 * math/s_csinhl.c: Likewise.
13002 * math/s_csinl.c: Likewise.
13003 * math/s_csqrt.c: Likewise.
13004 * math/s_csqrtf.c: Likewise.
13005 * math/s_csqrtl.c: Likewise.
13006 * math/s_ctan.c: Likewise.
13007 * math/s_ctanf.c: Likewise.
13008 * math/s_ctanh.c: Likewise.
13009 * math/s_ctanhf.c: Likewise.
13010 * math/s_ctanhl.c: Likewise.
13011 * math/s_ctanl.c: Likewise.
13012 * math/s_ldexp.c: Likewise.
13013 * math/s_ldexpf.c: Likewise.
13014 * math/s_ldexpl.c: Likewise.
13015 * math/s_significand.c: Likewise.
13016 * math/s_significandf.c: Likewise.
13017 * math/s_significandl.c: Likewise.
13018 * math/w_acos.c: Likewise.
13019 * math/w_acosf.c: Likewise.
13020 * math/w_acosh.c: Likewise.
13021 * math/w_acoshf.c: Likewise.
13022 * math/w_acoshl.c: Likewise.
13023 * math/w_acosl.c: Likewise.
13024 * math/w_asin.c: Likewise.
13025 * math/w_asinf.c: Likewise.
13026 * math/w_asinl.c: Likewise.
13027 * math/w_atan2.c: Likewise.
13028 * math/w_atan2f.c: Likewise.
13029 * math/w_atan2l.c: Likewise.
13030 * math/w_atanh.c: Likewise.
13031 * math/w_atanhf.c: Likewise.
13032 * math/w_atanhl.c: Likewise.
13033 * math/w_cosh.c: Likewise.
13034 * math/w_coshf.c: Likewise.
13035 * math/w_coshl.c: Likewise.
13036 * math/w_dremf.c: Likewise.
13037 * math/w_exp10.c: Likewise.
13038 * math/w_exp10f.c: Likewise.
13039 * math/w_exp10l.c: Likewise.
13040 * math/w_exp2.c: Likewise.
13041 * math/w_exp2f.c: Likewise.
13042 * math/w_fmod.c: Likewise.
13043 * math/w_fmodf.c: Likewise.
13044 * math/w_fmodl.c: Likewise.
13045 * math/w_hypot.c: Likewise.
13046 * math/w_hypotf.c: Likewise.
13047 * math/w_hypotl.c: Likewise.
13048 * math/w_j0.c: Likewise.
13049 * math/w_j0f.c: Likewise.
13050 * math/w_j0l.c: Likewise.
13051 * math/w_j1.c: Likewise.
13052 * math/w_j1f.c: Likewise.
13053 * math/w_j1l.c: Likewise.
13054 * math/w_jn.c: Likewise.
13055 * math/w_jnf.c: Likewise.
13056 * math/w_jnl.c: Likewise.
13057 * math/w_lgamma.c: Likewise.
13058 * math/w_lgamma_r.c: Likewise.
13059 * math/w_lgammaf.c: Likewise.
13060 * math/w_lgammaf_r.c: Likewise.
13061 * math/w_lgammal.c: Likewise.
13062 * math/w_lgammal_r.c: Likewise.
13063 * math/w_log.c: Likewise.
13064 * math/w_log10.c: Likewise.
13065 * math/w_log10f.c: Likewise.
13066 * math/w_log10l.c: Likewise.
13067 * math/w_log2.c: Likewise.
13068 * math/w_log2f.c: Likewise.
13069 * math/w_log2l.c: Likewise.
13070 * math/w_logf.c: Likewise.
13071 * math/w_logl.c: Likewise.
13072 * math/w_pow.c: Likewise.
13073 * math/w_powf.c: Likewise.
13074 * math/w_powl.c: Likewise.
13075 * math/w_remainder.c: Likewise.
13076 * math/w_remainderf.c: Likewise.
13077 * math/w_remainderl.c: Likewise.
13078 * math/w_scalb.c: Likewise.
13079 * math/w_scalbf.c: Likewise.
13080 * math/w_scalbl.c: Likewise.
13081 * math/w_sinh.c: Likewise.
13082 * math/w_sinhf.c: Likewise.
13083 * math/w_sinhl.c: Likewise.
13084 * math/w_sqrt.c: Likewise.
13085 * math/w_sqrtf.c: Likewise.
13086 * math/w_sqrtl.c: Likewise.
13087 * math/w_tgamma.c: Likewise.
13088 * math/w_tgammaf.c: Likewise.
13089 * math/w_tgammal.c: Likewise.
13091 * po/ja.po: Update from translation team.
13093 2011-09-29 Andreas Jaeger <aj@suse.de>
13096 * sunrpc/netname.c (netname2host): Fix logic.
13100 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13102 * math/w_remainder.c (__remainder): Likewise.
13103 * math/w_remainderf.c (__remainderf): Likewise.
13104 * math/libm-test.inc (remainder_test): Add test cases.
13106 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13108 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13111 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13113 * string/test-memcmp.c: Avoid unncessary #defines.
13114 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13116 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13118 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13119 Use new sse2 version for core i3 - i7 as it's faster
13120 than sse42 version.
13121 (bit_Prefer_PMINUB_for_stringop): New.
13122 * sysdeps/x86_64/rawmemchr.S: Update.
13123 Replace with faster SSE2 version.
13124 * sysdeps/x86_64/memrchr.S: New file.
13125 * sysdeps/x86_64/memchr.S: Update.
13126 Replace with faster SSE2 version.
13128 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13130 * elf/dl-load.c (lose): Add cast to avoid warning.
13132 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13134 * po/ca.po: Update from translation team.
13136 * inet/getnetgrent_r.c: Hook up nscd.
13137 * nscd/Makefile (routines): Add nscd_netgroup.
13138 (nscd-modules): Add netgroupcache.
13139 (CFLAGS-netgroupcache.c): Define.
13140 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13141 (cache_search): Add const to second parameter.
13142 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13144 (dbs): Add netgrdb entry.
13145 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13146 (verify_persistent_db): Handle netgrdb.
13147 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13148 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13150 (netgroup_response_header): Define.
13151 (innetgroup_response_header): Define.
13152 (datahead): Add netgroup_response_header and innetgroup_response_header
13154 * nscd/nscd.conf: Add entries for netgroup cache.
13155 * nscd/nscd.h (dbtype): Add netgrdb.
13156 (_PATH_NSCD_NETGROUP_DB): Define.
13157 (netgroup_iov_disabled): Declare.
13158 (xmalloc, xcalloc, xrealloc): Move declarations here.
13159 (cache_search): Adjust prototype.
13160 Add netgroup-related prototypes.
13161 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13162 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13163 (__nscd_innetgr): Declare.
13164 * nscd/selinux.c (perms): Use access_vector_t as element type and
13165 add netgroup-related initializers.
13166 * nscd/netgroupcache.c: New file.
13167 * nscd/nscd_netgroup.c: New file.
13168 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13169 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13170 For four parameters use innetgr.
13171 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13172 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13173 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13174 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13176 * nscd/connections.c (register_traced_file): Don't register file
13177 for disabled databases.
13179 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13181 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13183 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13184 from tree and freeing node.
13186 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13188 * nss/nsswitch.c (__nss_database_lookup): Handle
13189 nss_parse_service_list out of memory case.
13191 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13193 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13194 out of memory case.
13196 2011-10-04 Andreas Schwab <schwab@redhat.com>
13198 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13199 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13201 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13202 elf_machine_rela, elf_machine_lazy_rel.
13203 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13204 (ELF_DYNAMIC_DO_REL): Likewise.
13205 (ELF_DYNAMIC_DO_RELA): Likewise.
13206 (ELF_DYNAMIC_RELOCATE): Likewise.
13207 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13208 to ELF_DYNAMIC_DO_REL.
13209 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13210 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13211 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13213 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13214 skip_ifunc, don't call ifunc function if non-zero.
13215 (elf_machine_rela): Likewise.
13216 (elf_machine_lazy_rel): Likewise.
13217 (elf_machine_lazy_rela): Likewise.
13218 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13219 (elf_machine_lazy_rel): Likewise.
13220 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13222 (elf_machine_lazy_rel): Likewise.
13223 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13225 (elf_machine_lazy_rel): Likewise.
13226 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13227 (elf_machine_lazy_rel): Likewise.
13228 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13229 (elf_machine_lazy_rel): Likewise.
13230 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13231 (elf_machine_lazy_rel): Likewise.
13232 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13233 (elf_machine_lazy_rel): Likewise.
13234 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13235 (elf_machine_lazy_rel): Likewise.
13236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13237 (elf_machine_lazy_rel): Likewise.
13239 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13241 * nss/nss_files/files-init.c (_nss_files_init): Use static
13242 initialization for all the *_traced_file variables.
13244 2011-09-28 Andreas Schwab <schwab@redhat.com>
13246 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13248 2011-09-27 Roland McGrath <roland@hack.frob.com>
13251 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13253 2011-09-27 Andreas Schwab <schwab@redhat.com>
13255 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13256 Reread the line before reparsing it.
13258 2011-09-26 Andreas Schwab <schwab@redhat.com>
13260 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13262 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13263 Maxim Kuvyrkov <maxim@codesourcery.com>
13264 Joseph Myers <joseph@codesourcery.com>
13266 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13267 if needed for __stack_chk_guard.
13269 2011-09-19 Roland McGrath <roland@hack.frob.com>
13271 * sysdeps/posix/spawni.c (script_execute): Always define it.
13272 It will be optimized away if unused.
13273 (maybe_script_execute): New function.
13274 (__spawni): Call it.
13276 * Makerules: Don't include tls.make.
13277 (config-tls): Always set to thread.
13278 * tls.make.c: File removed.
13280 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13282 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13283 * config.make.in (CPPFLAGS-config): New substituted variable.
13285 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13287 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13290 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13291 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13293 2011-09-15 Roland McGrath <roland@hack.frob.com>
13295 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13296 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13298 (CALL_FAIL): Likewise.
13299 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13300 (CALL_FAIL): Macro removed.
13301 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13303 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13305 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13306 for __FINITE_MATH_ONLY__ == 1.
13308 2011-09-15 Andreas Schwab <schwab@redhat.com>
13310 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13311 __ieee754_sqrt instead of sqrt.
13312 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13313 __ieee754_sqrtf instead of sqrtf.
13314 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13315 __floorf instead of floorf.
13316 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13317 __floorf, __truncf instead of floorf, truncf.
13319 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13321 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13323 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13324 __extern_always_inline.
13325 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13328 2011-09-14 Andreas Schwab <schwab@redhat.com>
13330 * elf/rtld.c (dl_main): Also relocate in dependency order when
13331 doing symbol dependency testing.
13333 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13335 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13336 Always define `refsym'.
13338 2011-09-13 Andreas Schwab <schwab@redhat.com>
13340 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13341 (__FD_ELT): Renamed from __FDELT.
13342 * misc/bits/select2.h (__FD_ELT): Likewise.
13343 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13344 __FD_MASK instead of __FDELT, __FDMASK.
13345 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13347 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13350 * elf/Makefile (gen-ldd): Fix pattern.
13352 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13353 (init_tls): Likewise.
13355 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13359 2011-09-12 Andreas Schwab <schwab@redhat.com>
13361 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13362 `struct cmsghdr *' instead of `void *'.
13363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13366 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13368 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13370 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13371 ldd_rewrite_script.
13373 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13375 * configure.in: Remove --with-tls option.
13376 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13377 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13378 out in case it is missing.
13379 * sysdeps/ia64/elf/configure.in: Likewise.
13380 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13381 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13382 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13383 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13384 * sysdeps/sh/elf/configure.in: Likewise.
13385 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13386 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13387 * sysdeps/x86_64/elf/configure.in: Likewise.
13388 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13389 * sysdeps/mach/hurd/tls.h: Likewise.
13392 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13395 * configure.in: Fix use of AC_INIT.
13397 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13399 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13401 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13403 * malloc/hooks.c: Likewise.
13406 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13407 variables statically.
13408 (narenas): Initialize.
13409 (list_lock): Initialize.
13410 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13411 initializtion of main_arena and list_lock. Small cleanups.
13412 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13413 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13414 Add initializers to main_arena and mp_.
13415 (malloc_state): Remove pagesize member. Change all users to use
13418 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13419 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13420 is always initialized.
13422 * malloc/malloc.c: Removed unused configurations and dead code.
13423 * malloc/arena.c: Likewise.
13424 * malloc/hooks.c: Likewise.
13425 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13427 * include/tls.h: Removed. USE___THREAD must always be defined.
13428 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13429 * elf/dl-libc.c: Likewise.
13430 * elf/dl-tsd.c: Likewise.
13431 * include/errno.h: Likewise.
13432 * include/netdb.h: Likewise.
13433 * include/resolv.h: Likewise.
13434 * inet/herrno-loc.c: Likewise.
13435 * inet/herrno.c: Likewise.
13436 * malloc/arena.c: Likewise.
13437 * malloc/hooks.c: Likewise.
13438 * malloc/malloc.c: Likewise.
13439 * resolv/res-state.c: Likewise.
13440 * resolv/res_libc.c: Likewise.
13441 * sysdeps/i386/dl-machine.h: Likewise.
13442 * sysdeps/ia64/dl-machine.h: Likewise.
13443 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13444 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13445 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13446 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13447 * sysdeps/sh/dl-machine.h: Likewise.
13448 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13449 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13450 * sysdeps/unix/i386/sysdep.S: Likewise.
13451 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13452 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13453 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13454 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13455 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13457 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13459 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13461 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13462 * sysdeps/x86_64/dl-machine.h: Likewise.
13463 * tls.make.c: Likewise.
13465 * configure.in: Remove --with-__thread option. Make tests for
13466 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13467 tls_model attribute fail if no support is available. Remove
13469 * Makeconfig: Adjust for dropped configure option. All features are
13471 * Makerules: Likewise.
13472 * Versions.def: Likewise.
13473 * argp/argp-fmtstream.c: Likewise.
13474 * argp/argp-fmtstream.h: Likewise.
13475 * argp/argp-help.c: Likewise.
13476 * assert/assert.c: Likewise.
13477 * config.h.in: Likewise.
13478 * config.make.in: Likewise.
13479 * configure: Likewise.
13480 * configure.in: Likewise.
13481 * csu/Versions: Likewise.
13482 * csu/init.c: Likewise.
13483 * elf/tst-audit2.c: Likewise.
13484 * elf/tst-tls10.c: Likewise.
13485 * elf/tst-tls10.h: Likewise.
13486 * elf/tst-tls11.c: Likewise.
13487 * elf/tst-tls12.c: Likewise.
13488 * elf/tst-tls14.c: Likewise.
13489 * elf/tst-tlsmod11.c: Likewise.
13490 * elf/tst-tlsmod12.c: Likewise.
13491 * elf/tst-tlsmod13.c: Likewise.
13492 * elf/tst-tlsmod13a.c: Likewise.
13493 * elf/tst-tlsmod14a.c: Likewise.
13494 * elf/tst-tlsmod15b.c: Likewise.
13495 * elf/tst-tlsmod16a.c: Likewise.
13496 * elf/tst-tlsmod16b.c: Likewise.
13497 * elf/tst-tlsmod7.c: Likewise.
13498 * elf/tst-tlsmod8.c: Likewise.
13499 * elf/tst-tlsmod9.c: Likewise.
13500 * gmon/gmon.c: Likewise.
13501 * grp/fgetgrent_r.c: Likewise.
13502 * grp/putgrent.c: Likewise.
13503 * hurd/fopenport.c: Likewise.
13504 * include/libc-symbols.h: Likewise.
13505 * include/tls.h: Likewise.
13506 * intl/gettextP.h: Likewise.
13507 * intl/loadinfo.h: Likewise.
13508 * locale/global-locale.c: Likewise.
13509 * locale/localeinfo.h: Likewise.
13510 * mach/devstream.c: Likewise.
13511 * malloc/arena.c: Likewise.
13512 * malloc/set-freeres.c: Likewise.
13513 * misc/err.c: Likewise.
13514 * misc/getttyent.c: Likewise.
13515 * misc/mntent_r.c: Likewise.
13516 * posix/getopt.c: Likewise.
13517 * posix/wordexp.c: Likewise.
13518 * pwd/fgetpwent_r.c: Likewise.
13519 * resolv/Versions: Likewise.
13520 * resolv/res_hconf.c: Likewise.
13521 * shadow/fgetspent_r.c: Likewise.
13522 * shadow/putspent.c: Likewise.
13523 * stdio-common/printf_fphex.c: Likewise.
13524 * stdio-common/tmpfile.c: Likewise.
13525 * stdlib/abort.c: Likewise.
13526 * stdlib/fmtmsg.c: Likewise.
13527 * sunrpc/auth_unix.c: Likewise.
13528 * sunrpc/clnt_perr.c: Likewise.
13529 * sunrpc/clnt_tcp.c: Likewise.
13530 * sunrpc/clnt_udp.c: Likewise.
13531 * sunrpc/clnt_unix.c: Likewise.
13532 * sunrpc/openchild.c: Likewise.
13533 * sunrpc/svc_simple.c: Likewise.
13534 * sunrpc/svc_tcp.c: Likewise.
13535 * sunrpc/svc_udp.c: Likewise.
13536 * sunrpc/svc_unix.c: Likewise.
13537 * sunrpc/xdr.c: Likewise.
13538 * sunrpc/xdr_array.c: Likewise.
13539 * sunrpc/xdr_rec.c: Likewise.
13540 * sunrpc/xdr_ref.c: Likewise.
13541 * sunrpc/xdr_stdio.c: Likewise.
13543 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13545 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13547 2011-07-03 Andreas Jaeger <aj@suse.de>
13549 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13550 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13551 regenerate with gen-libm-tests.pl.
13553 2010-05-12 Petr Baudis <pasky@suse.cz>
13556 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13557 around j0() zero points by switching to j1().
13558 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13563 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13565 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13567 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13570 Patch in part by Pavel Roskin <proski@gnu.org>.
13573 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13575 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13576 Free memory block if necessary.
13579 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13580 be NULL. Don't lock in this case.
13582 2011-09-09 Roland McGrath <roland@hack.frob.com>
13584 * elf/elf.h (ELFOSABI_GNU): New macro.
13585 (ELFOSABI_LINUX): Define to that.
13587 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13589 * string/strncat.c (strncat): Undef the symbol in case it has been
13590 defined in bits/string.h.
13592 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13594 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13596 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13599 2011-08-17 Andreas Jaeger <aj@suse.de>
13601 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13603 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13604 Ian Lance Taylor <iant@google.com>
13606 * math/libm-test.inc (lround_test): New testcase.
13607 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13609 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13611 * Makefile: Remove support for automatic cvs check-ins.
13612 * Makerules: Likewise.
13613 * config.make.in: Likewise.
13614 * configure.in: Likewise.
13615 * intl/Makefile: Likewise.
13616 * locale/Makefile: Likewise.
13617 * po/Makefile: Likewise.
13618 * posix/Makefile: Likewise.
13619 * sysdeps/gnu/Makefile: Likewise.
13620 * sysdeps/mach/hurd/Makefile: Likewise.
13621 * sysdeps/sparc/sparc32/Makefile: Likewise.
13624 * posix/Makefile (bug-regex32-ENV): Define.
13625 Patch by John Stanley <jpsinthemix@verizon.net>.
13627 * misc/Makefile (headers): Add bits/select2.h.
13628 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13629 * misc/bits/select2.h: New file.
13630 * include/bits/select2.h: New file.
13631 * debug/Makefile (routines): Add fdelt_chk.
13632 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13633 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13635 * debug/fdelt_chk.c: New file.
13637 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13638 * wcsmbs/test-wmemcmp.c: Likewise.
13639 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13640 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13642 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13644 * string/Makefile (strop-tests): Add memcmp.
13645 * string/test-wmemcmp.c: New file.
13646 * string/test-memcmp.c: Add wmemcmp support.
13648 2011-09-08 Roland McGrath <roland@hack.frob.com>
13651 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13654 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13655 garbage value in a __mach_port_mod_refs call in the cases of the
13656 task-self and thread-self ports.
13658 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13660 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13662 2011-09-08 Andreas Schwab <schwab@redhat.com>
13664 * elf/dl-load.c (lose): Check for non-null L.
13666 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13668 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13670 * elf/dl-libc.c (dlerror_run): Pass back error code from
13674 * elf/dl-load.c (lose): Free l_origin if it is valid.
13676 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13678 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13679 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13680 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13681 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13682 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13683 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13685 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13687 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13688 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13689 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13690 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13691 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13692 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13693 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13694 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13695 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13696 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13698 2011-08-15 Alan Modra <amodra@gmail.com>
13701 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13702 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13703 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13704 ppc_mcount to static-only-routines.
13705 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13707 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13708 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13710 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13712 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13713 for finite and infinity parameters.
13715 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13717 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13718 and add nop instructions for throughput optimization.
13719 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13721 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13723 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13724 aligned copy for power7 with vector-scalar instructions.
13725 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13727 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13732 2011-09-07 Andreas Schwab <schwab@redhat.com>
13735 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13738 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13740 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13741 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13742 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13743 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13746 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13748 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13749 Forgot to demangle the pointer.
13751 * sysdeps/i386/sysdep.h: Define atom_text_section.
13752 * sysdeps/x86_64/sysdep.h: Likewise.
13753 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13754 section with atom_text_section.
13755 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13756 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13757 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13758 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13759 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13761 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13762 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13763 already be defined. Change to take two parameters and don't assign
13764 result to variable. Adjust all users.
13765 Define INTERNAL_GETTIME if not already defined.
13766 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13769 HAVE_CLOCK_GETTIME_VSYSCALL.
13770 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13773 gettimeofday vsyscall, just use time.
13775 2011-09-06 Andreas Schwab <schwab@redhat.com>
13777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13780 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13782 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13786 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13787 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13788 syscall if possible.
13790 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13792 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13793 e_ident. Don't pass to find_mapsXX.
13794 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13796 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13799 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13800 * sysdeps/x86_64/multiarch/strchr.S: Update.
13801 Check bit_slow_BSF bit.
13802 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13803 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13804 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13806 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13809 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13811 (tryshell): Define.
13812 (__spawni): Change last parameter to be flag. Test
13813 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13814 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13815 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13816 * posix/spawni.c: Likewise.
13817 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13818 * posix/spawnp.c: Likewise. Change normal version to use
13819 SPAWN_XFLAGS_USE_PATH.
13820 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13821 SPAWN_XFLAGS_TRY_SHELL.
13824 * posix/glob.h: Remove gcc 1.x support.
13827 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13829 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13832 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13834 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13835 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13836 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13837 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13838 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13839 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13841 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13843 * sysdeps/x86_64/wcscmp.S: New file.
13845 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13846 wcscmp-c wcscmp-sse2
13847 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13848 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13849 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13850 * wcsmbs/wcscmp.c: Allow renaming.
13852 2011-09-05 David S. Miller <davem@davemloft.net>
13854 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13855 stack slot, rather than the struct return pointer slot.
13856 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13857 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13859 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13861 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13863 * po/ja.po: Update from translation team.
13866 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13867 kernel in 64-bit binaries.
13869 2011-09-01 David S. Miller <davem@davemloft.net>
13871 * elf/elf.h (HWCAP_SPARC_*): Move to..
13872 * sysdeps/sparc/sysdep.h: this new file and add new values.
13873 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13874 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13875 _DL_HWCAP_COUNT to 24.
13876 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13878 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13879 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13880 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13882 instead of magic constants.
13883 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13885 2011-08-31 David S. Miller <davem@davemloft.net>
13887 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13889 Reimplement to do errno handling inline.
13890 (SYSCALL_ERROR_HANDLER): New macro.
13891 (__SYSCALL_STRING): Do not do errno handling in asm.
13892 (__CLONE_SYSCALL_STRING): Delete.
13893 (__INTERNAL_SYSCALL_STRING): Delete.
13894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13895 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13896 (PSEUDO): Reimplement to do errno handling inline.
13897 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13898 (SYSCALL_ERROR_HANDLER): New macro.
13899 (__SYSCALL_STRING): Do not do errno handling in asm.
13900 (__CLONE_SYSCALL_STRING): Delete.
13901 (__INTERNAL_SYSCALL_STRING): Delete.
13902 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13903 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13905 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13906 (inline_syscall*): Add 'err' argument.
13907 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13908 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13909 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13910 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13912 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13913 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13915 2011-08-30 Andreas Schwab <schwab@redhat.com>
13917 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13919 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13921 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13924 2011-08-24 David S. Miller <davem@davemloft.net>
13926 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13928 2011-08-24 Andreas Schwab <schwab@redhat.com>
13930 * elf/Makefile: Add rules to build and run unload8 test.
13931 * elf/unload8.c: New file.
13932 * elf/unload8mod1.c: New file.
13933 * elf/unload8mod1x.c: New file.
13934 * elf/unload8mod2.c: New file.
13935 * elf/unload8mod3.c: New file.
13937 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13940 2011-08-23 David S. Miller <davem@davemloft.net>
13942 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13943 subtract stack bias.
13944 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13945 %sp not %fp in calculations.
13946 (_JMPBUF_UNWINDS_ADJ): Likewise.
13948 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13949 (aio_suspend): Call it to force an exception region around the
13950 AIO_MISC_WAIT() invocation.
13952 2011-08-23 Andreas Schwab <schwab@redhat.com>
13954 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13957 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13959 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13961 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13962 and <dl-machine.h>.
13963 (Elf64_FuncDesc): Remove.
13965 2011-08-22 David S. Miller <davem@davemloft.net>
13967 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13968 sigaltstack check, add missing cfi directives.
13969 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13970 missing cfi directives, and sigaltstack handling.
13972 2011-08-16 Andreas Schwab <schwab@redhat.com>
13975 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13976 object is seen twice.
13977 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13979 * elf/Makefile (distribute): Add tst-initorder2.c.
13980 (tests): Add tst-initorder2.
13981 (modules-names): Add tst-initorder2a tst-initorder2b
13982 tst-initorder2c tst-initorder2d. Add rules to build them.
13983 ($(objpfx)tst-initorder2.out): New rule.
13984 * elf/tst-initorder2.c: New file.
13985 * elf/tst-initorder2.exp: New file.
13987 2011-08-22 Andreas Schwab <schwab@redhat.com>
13989 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13991 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13992 dependencies back to end of function.
13994 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13995 $(elfobjdir)/ld.so.
13997 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13999 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14000 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14002 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14003 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14004 of __vdso_gettimeofday.
14005 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14006 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14008 (_libc_vdso_platform_setup): Remove initialization of
14009 __vdso_gettimeofday and __vdso_time.
14011 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14013 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14014 and fgetc_unlocked.
14015 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14018 * elf/dl-open.c (add_to_global): Report additions to the global scope
14019 for LD_DEBUG=scopes.
14020 (dl_open_worker): Also print scope of newly loaded dependencies.
14021 (_dl_show_scope): Indicate if there is no scope.
14024 * stdio-common/Makefile (tests): Add bug24.
14025 * stdio-common/bug24.c: New file.
14027 2011-08-19 Andreas Jaeger <aj@suse.de>
14030 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14031 non-existant file when using close-on-exec mode.
14033 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14036 the very first instruction.
14038 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14039 the CFI state in the end.
14040 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14041 inclusion of dl-trampoline.h.
14042 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14044 2011-08-19 Andreas Schwab <schwab@redhat.com>
14046 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14047 expectations for long double.
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14050 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14052 2011-08-14 David S. Miller <davem@davemloft.net>
14054 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14055 artificual limit depends upon the system page size.
14057 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14059 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14060 * resolv/Makefile: Define CFLAGS-libresolv.
14062 2011-08-17 Andreas Schwab <schwab@redhat.com>
14064 * nss/makedb.c (compute_tables): Make variables used in nested
14067 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14069 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14070 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14071 if buffer was too small.
14073 * elf/pldd.c (main): Attach to all threads in the process.
14074 Rewrite /proc handling to use *at functions.
14076 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14078 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14079 specifies first scope to show.
14080 (dl_open_worker): Update callers. Move printing scope of new
14081 object to before the relocation.
14082 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14083 * sysdeps/generic/ldsodefs.h: Update declaration.
14085 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14086 string for the scope number.
14088 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14090 * nscd/servicescache.c (cache_addserv): Make sure written is always
14093 2011-08-14 Roland McGrath <roland@hack.frob.com>
14095 * sysdeps/i386/i486/bits/atomic.h
14096 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14097 statement expression, so as to suppress "set but not used" warning.
14098 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14100 * string/strncat.c (STRNCAT): Use prototype definition.
14102 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14103 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14105 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14106 (localedef-modules): Add localedef.
14107 (locale-modules): Add locale.
14109 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14110 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14111 to avoid a warning.
14113 2011-08-14 David S. Miller <davem@davemloft.net>
14115 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14116 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14118 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14120 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14121 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14122 * elf/rtld.c (dl_main): Set l_name of vDSO.
14123 Call _dl_show_scope when DL_DEBUG_SCOPES.
14124 (process_dl_debug): Recognize scopes flag and also set it for all.
14125 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14126 Declare _dl_show_scope.
14128 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14129 (do_dlopen): Pass caller_dlopen to dl_open.
14130 (__libc_dlopen_mode): Initialize caller_dlopen.
14132 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14133 of libc. Make tolower call locale-independent. Optimize a bit by
14134 using isdigit instead of isalnum.
14135 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14137 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14139 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14140 was a dependency or dynamically loaded.
14142 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14144 * intl/l10nflist.c: Allow architecture-specific pop function.
14145 * sysdeps/x86_64/l10nflist.c: New file.
14147 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14150 2011-08-10 Andreas Schwab <schwab@redhat.com>
14152 * include/dirent.h: Add libc_hidden_proto for scandirat and
14153 scandirat64. Don't declare __scandirat64.
14154 * dirent/scandirat.c: Add libc_hidden_def.
14155 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14156 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14158 2011-08-10 David S. Miller <davem@davemloft.net>
14160 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14162 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14163 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14164 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14166 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14168 * Versions.def [libc]: Add GLIBC_2.15.
14169 * dirent/Makefile (routines): Add scandirat and scandirat64.
14170 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14172 * dirent/dirent.h: Declare scandirat and scandirat64.
14173 * dirent/scandirat.c: New file.
14174 * dirent/scandirat64.c: New file.
14175 * sysdeps/wordsize-64/scandirat.c: New file.
14176 * sysdeps/wordsize-64/scandirat64.c: New file.
14177 * dirent/opendir.c: Define opendirat.
14178 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14180 * dirent/scandir64.c: Adjust for scandir.c change.
14181 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14182 __scandirat64, and __scandir_cancel_handler.
14183 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14184 additional parameter and use openat instead of open (outside of ld.so).
14185 Add new __opendir as wrapper around __opendirat.
14186 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14187 here without requiring old scandirat implementation.
14189 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14191 * dirent/scandir.c (cancel_handler): Renamed to
14192 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14193 defined. Adjust users.
14194 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14195 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14197 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14199 * string/test-string.h (IMPL): Use __STRING to expand name and then
14202 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14205 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14207 * string/Makefile: Update.
14208 (strop-tests): Append strncat.
14209 * string/test-wcscmp.c: New file.
14210 New comprehensive test for wcscmp.
14211 * string/test-strcmp.c: Update.
14212 (WIDE): New define.
14214 2011-07-22 Andreas Schwab <schwab@redhat.com>
14216 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14219 2011-07-26 Andreas Schwab <schwab@redhat.com>
14221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14222 encoding to ACE if AI_IDN.
14224 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14226 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14227 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14229 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14231 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14232 Fix overflow bug in strncat.
14233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14235 * string/test-strncat.c: Update.
14236 Add new tests for checking overflow bugs.
14238 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14241 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14242 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14243 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14244 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14245 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14246 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14247 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14248 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14251 (USE_AS_STRCAT): Define.
14252 Add strcat and strncat support.
14253 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14255 2011-07-25 Andreas Schwab <schwab@redhat.com>
14257 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14258 __n bigger than INT_MAX+1.
14259 (__strncmp_g): Likewise.
14261 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14263 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14264 * libio/stido.h: Likewise.
14266 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14271 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14272 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14273 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14274 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14275 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14278 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14281 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14283 (_dl_x86_64_save_sse): Likewise.
14285 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14287 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14289 (_dl_x86_64_save_sse): Likewise.
14291 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14293 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14295 2011-07-21 Andreas Schwab <schwab@redhat.com>
14297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14299 (_dl_x86_64_save_sse): Use correct AVX check.
14301 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14303 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14304 bug in strncpy/strncat.
14305 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14307 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14309 * string/tester.c (test_strcat): Add tests for different alignments
14310 of source and destination.
14311 (test_strncat): Likewise.
14313 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14316 * posix/glob.c (glob): Check passed in values before using them in
14317 expressions to avoid some overflows.
14318 (glob_in_dir): Likewise.
14321 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14322 check for AVX enablement so that we don't crash with old kernels and
14324 * elf/tst-audit4.c: Add same checks here.
14325 * elf/tst-audit6.c: Likewise.
14327 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14329 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14331 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14333 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14335 * po/cs.po: Update from translation team.
14336 * po/bg.po: Likewise.
14338 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14340 * misc/sys/cdefs.h: Add support for const attribute.
14341 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14342 to gnu_dev_{major,minor,makedev} functions.
14344 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14346 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14348 2011-07-20 Andreas Schwab <schwab@redhat.com>
14350 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14353 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14355 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14356 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14357 register in order to avoid conflicts with the soft frame pointer
14358 being held in r11 when necessary.
14359 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14360 (INTERNAL_VSYSCALL_NCS): Likewise.
14362 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14364 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14365 * elf/dl-fini.c (_dl_fini): Adjust caller.
14366 * elf/dl-close.c (_dl_close_worker): Likewise.
14367 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14369 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14371 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14372 "aux_cache->nlibs < 0".
14374 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14375 in the reload-count case.
14377 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14380 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14381 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14382 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14383 * sysdeps/x86_64/multiarch/strcat.S: New file.
14384 * sysdeps/x86_64/multiarch/strncat.S: New file.
14385 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14386 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14387 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14388 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14389 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14390 (USE_AS_STRCAT): Define.
14391 Add strcat and strncat support.
14392 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14393 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14394 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14395 * string/strncat.c: Update.
14396 (USE_AS_STRNCAT): Define.
14397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14398 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14400 * sysdeps/x86_64/multiarch/init-arch.h
14401 (bit_Prefer_PMINUB_for_stringop): New.
14402 (index_Prefer_PMINUB_for_stringop): Likewise.
14403 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14404 bit_Prefer_PMINUB_for_stringop.
14406 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14408 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14410 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14411 of casting of buffer.
14412 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14413 buffer32 and buffer64.
14414 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14415 writes instead of casting of buffer.
14416 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14418 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14421 2011-07-19 Andreas Schwab <schwab@redhat.com>
14423 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14425 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14427 * nscd/nscd.c (termination_handler): Don't do anything for a database
14428 if it has not yet been initialized.
14430 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14432 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14434 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14436 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14438 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14440 * po/nl.po: Update from translation team.
14441 * po/sv.po: Likewise.
14443 2011-07-16 Roland McGrath <roland@hack.frob.com>
14445 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14446 now disallowed by GCC.
14448 * configure.in (use-default-link): Default to yes if a test -shared
14449 link meets our qualifications.
14450 * configure: Regenerated.
14452 * config.make.in (output-format): New variable.
14453 * configure.in: Check for ld --print-output-format support.
14454 * configure: Regenerated.
14455 * Makerules ($(common-objpfx)format.lds)
14456 [$(output-format) != unknown]: Just use $(output-format),
14457 instead of the linker-script munging.
14459 2011-07-14 Roland McGrath <roland@hack.frob.com>
14461 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14462 of $(common-objpfx)shlib.lds.
14463 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14465 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14466 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14468 * configure.in (-z relro check): Adjust test code to add a large
14469 writable data section after it.
14470 * configure: Regenerated.
14472 2011-07-11 Roland McGrath <roland@hack.frob.com>
14474 * configure.in (-z relro check): Fix test code to make the variable
14476 * configure: Regenerated.
14478 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14480 * nscd/nscd.h (struct traced_file): Define.
14481 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14482 elements. Add traced_files.
14483 (inotify_fd): Declare.
14484 (register_traced_file): Declare.
14485 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14486 (inotify_fd): Export.
14487 (resolv_conf_descr): Remove.
14488 (nscd_init): Move inotify descriptor creation to main.
14489 Don't register files for notification here.
14490 (register_traced_file): New function.
14491 (invalidate_cache): Don't use reset_res to determine whether to call
14492 res_init, go through the list of registered files.
14493 (main_loop_poll): The inotify descriptors are now stored in the
14494 structures for the traced files.
14495 (main_loop_epoll): Likewise
14496 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14497 to __nss_disable_nscd.
14498 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14499 for a database anymore. Check the records for all the registered
14501 * nss/Makefile (libnss_files-routines): Add files-init.
14502 (libnss_db-routines): Add db-init.
14503 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14504 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14505 * nss/nss_db/db-init.c: New file.
14506 * nss/nss_files/files-init.c: New file.
14507 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14508 __nss_lookup_function.
14509 (__nss_lookup_function): Call nss_load_library.
14510 (nss_load_all_libraries): New function.
14511 (__nss_disable_nscd): Take parameter with callback function for files
14512 to register. Set is_nscd. Load all the DSOs for the NSS modules
14513 used for the cached services.
14514 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14515 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14516 options for features to all the files in nscd.
14518 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14520 2011-07-10 Roland McGrath <roland@hack.frob.com>
14522 * csu/elf-init.c (__libc_csu_init): Comment typo.
14524 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14526 * po/pl.po: Update from translation team.
14527 * po/ja.po: Likewise.
14528 * po/ru.po: Likewise.
14529 * po/ko.po: Likewise.
14530 * po/fr.po: Likewise.
14532 2011-07-09 Roland McGrath <roland@hack.frob.com>
14534 * configure.in (.ctors/.dtors header and trailer check):
14535 Use an empirical test on a built program.
14536 * configure: Regenerated.
14538 * configure.in (-z relro check): Use an empirical test on a built DSO.
14539 Detect, but do not require, on ia64.
14540 * configure: Regenerated.
14542 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14543 Update tests that use readelf to use $READELF instead.
14544 * configure: Regenerated.
14546 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14548 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14549 if the result is not used.
14551 2011-07-05 Andreas Jaeger <aj@suse.de>
14554 * stdlib/tst-strtod.c: Add testcase.
14556 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14558 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14559 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14560 The latter has a higher limit. Take additional parameter to pass to
14562 (__pathconf): Pass file to __statfs_link_max.
14563 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14565 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14569 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14570 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14572 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14573 (__statfs_filesize_max): Likewise.
14574 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14576 2011-07-05 Andreas Jaeger <aj@suse.de>
14578 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14580 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14582 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14584 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14587 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14589 * Makefile (strop-tests): Add strncat.
14590 * string/test-strncat.c: New file.
14592 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14594 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14596 2011-06-21 Andreas Jaeger <aj@suse.de>
14598 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14599 Copy rule from iconvdata/Makefile.
14601 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14604 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14605 but no long options are defined, just return 'W'.
14607 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14610 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14612 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14614 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14616 (innetgr): Likewise.
14618 2011-07-05 Roland McGrath <roland@hack.frob.com>
14620 * config.make.in (install_root): Default to $(DESTDIR).
14622 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14624 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14626 2011-07-02 Roland McGrath <roland@hack.frob.com>
14628 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14630 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14631 containing directory rather than embedding absolute directory names.
14633 * scripts/check-local-headers.sh: Rewritten using awk.
14634 Match by word, not by line. Print error messages for matches.
14635 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14637 * Makerules [shlib-lds-flags empty]:
14638 ($(common-objpfx)libc_pic.opts): New target.
14639 ($(common-objpfx)libc_pic.os.clean): New target.
14640 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14642 * config.make.in (OBJCOPY): New variable.
14643 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14644 * configure: Regenerated.
14646 * config.make.in (use-default-link): New variable.
14647 * configure.in (use_default_link): Grok --with-default-link to set it.
14648 * configure: Regenerated.
14649 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14650 (shlib-lds, shlib-lds-flags): Define to empty.
14652 * Makerules (shlib-lds): New variable.
14653 (shlib-lds-flags): New variable.
14654 (build-shlib, build-moduile, build-module-asneeded): Use it.
14655 ($(common-objpfx)libc.so): Use $(shlib-lds).
14656 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14657 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14659 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14660 DT_FLAGS/DT_FLAGS_1 with zero flags.
14662 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14663 linker script munging.
14665 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14667 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14669 * crypt/sha512.c (sha512_process_block): Perform total addition using
14670 128-bit if possible.
14671 (__sha512_finish_ctx): Likewise.
14672 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14674 * crypt/sha256.c (SWAP64): Define.
14675 (sha256_process_block): Perform total addition using 64-bit if
14677 (__sha256_finish_ctx): Likewise.
14679 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14681 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14682 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14683 * nscd/hstcache.c (cache_addhst): Likewise.
14684 * nscd/grpcache.c (cache_addgr): Likewise.
14685 * nscd/aicache.c (addhstaiX): Likewise
14686 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14688 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14690 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14692 * nscd/hstcache.c (cache_addhst): Likewise.
14693 * nscd/grpcache.c (cache_addgr): Likewise.
14694 * nscd/aicache.c (addhstaiX): Likewise
14696 2011-07-01 Andreas Schwab <schwab@redhat.com>
14698 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14699 domain only when needed.
14701 2011-06-30 Andreas Schwab <schwab@redhat.com>
14703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14704 is always restored.
14706 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14708 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14709 are re-adding the entry.
14710 * nscd/servicescache.c (cache_addserv): Likewise.
14712 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14714 * sysdeps/generic/dl-irel.h: fix protection against multiple
14716 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14718 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14721 * malloc/memusage.sh: Fix quoting in message.
14722 * debug/xtrace.sh: Likewise.
14724 * configure.in: Remove support for --experimental-malloc option, make
14726 * config.make.in: Likewise.
14727 * malloc/Makefile: Likewise.
14729 2011-06-27 Andreas Schwab <schwab@redhat.com>
14731 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14732 two-byte characters.
14734 2011-06-27 Roland McGrath <roland@hack.frob.com>
14736 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14737 AC_CACHE_CHECK invocation.
14738 * configure: Regenerated.
14740 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14742 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14745 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14746 bit from old_res_options.
14748 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14750 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14751 value type for setfct.
14753 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14756 __gettimeofday instead of gettimeofday.
14758 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14760 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14762 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14764 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14769 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14772 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14773 strcpy-sse2-unaligned strncpy-sse2-unaligned
14774 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14775 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14776 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14777 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14778 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14779 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14780 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14781 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14782 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14783 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14784 (STRCPY): Support SSE2 and SSSE3 versions.
14786 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14789 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14790 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14791 kernels which artificially limit size of requests.
14793 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14796 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14797 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14798 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14799 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14800 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14801 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14802 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14805 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14806 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14807 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14808 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14809 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14811 Enable unaligned load optimization for Intel Core i3, i5 and i7
14813 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14815 (index_Fast_Unaligned_Load): Define.
14816 (HAS_FAST_UNALIGNED_LOAD): Define.
14818 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14820 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14822 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14825 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14826 until it is clear that the information is realy needed.
14827 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14829 2011-06-22 Andreas Schwab <schwab@redhat.com>
14831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14833 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14835 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14836 /sys/devices/system/cpu/online if it is usable.
14838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14839 reading the information from the /proc filesystem to once a second.
14841 2011-06-21 Andreas Jaeger <aj@suse.de>
14843 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14844 NULL after inclusion of kernel headers.
14846 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14848 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14849 calls to internal_setent.
14852 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14853 addresses using gethostbyname4_r ignore IPv4 addresses.
14855 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14856 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14858 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14860 2011-06-20 David S. Miller <davem@davemloft.net>
14862 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14864 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14866 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14867 (elf_irel): Use it.
14868 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14869 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14870 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14871 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14872 * sysdeps/x86_64/dl-irel.h: Likewise.
14874 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14875 * elf/dl-sym.c: Likewise.
14877 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14879 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14880 need to dereference resplen2.
14882 2011-06-14 Andreas Schwab <schwab@redhat.com>
14884 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14886 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14888 * Makeconfig: Define vardbdir and inst_vardbdir.
14889 * nss/Makefile: Add rules to install db-Makefile.
14891 * nss/nss_db/db-XXX.c: Cleanup.
14893 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14894 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14896 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14897 * nss/makedb.c: Implement -g option to specify that value strings
14898 are generated and should not be added to table iterated over for
14900 * nss/nss_db/db-initgroups.c: New file.
14902 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14905 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14906 (internal_getgrouplist): Adjust to name change.
14907 Update use_initgroups_entry if this is not the first call.
14908 * nss/databases.def: Add initgroups entry.
14910 * nss/makedb.c (compute_tables): Check result of multiple hash table
14911 sizes to minimize maximum chain length.
14913 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14915 * Versions.def: Add entry for libnss_db.
14916 * shlib-versions: Likewise.
14917 * nss/Makefile: Add rules to build libnss_db.
14918 * nss/Versions: Add libnss_db information. Organize libnss_files
14920 * nss/db-Makefile: Add gshadow support. Change rules for the new
14921 makedb progra. Some minor improvements to generate smaller files.
14922 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14924 * nss/makedb.c: ...here.
14925 Improve database format to be smaller and require less memory at
14927 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14929 * nss/nss_db/db-netgrp.c: Likewise.
14930 * nss/nss_db/db-open.c: Likewise.
14931 * nss/nss_files/flies-XXX.x: Adjust comments.
14932 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14933 * nss/nss_files/files-grp.c: Likewise.
14934 * nss/nss_files/files-hosts.c: Likewise.
14935 * nss/nss_files/files-network.c: Likewise.
14936 * nss/nss_files/files-proto.c: Likewise.
14937 * nss/nss_files/files-pwd.c: Likewise.
14938 * nss/nss_files/files-rpc.c: Likewise.
14939 * nss/nss_files/files-service.c: Likewise.
14940 * nss/nss_files/files-sgrp.c: Likewise.
14941 * nss/nss_files/files-spwd.c: Likewise.
14942 * nss/nss_db/db-alias.c: Removed.
14943 * nss/nss_db/dummy-db.h: Removed.
14945 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14947 * nss/makedb.c: Rewritten to not use database library.
14948 * nss/Makefile: Update to build new makedb program.
14950 2011-06-14 Andreas Jaeger <aj@suse.de>
14952 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14953 memset declaration.
14955 2011-06-10 Andreas Schwab <schwab@redhat.com>
14957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14960 2011-06-10 Roland McGrath <roland@hack.frob.com>
14962 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14963 * elf/Makefile ($(objpfx)ld.so): Likewise.
14965 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14966 Don't list ld.so twice in dependencies.
14968 * posix/bug-regex31.c: Include <stdlib.h>.
14970 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14972 * nis/nss_compat/compat-spwd.c
14973 (getspent_next_nss_netgr): Remove unused variable.
14974 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14976 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14977 nonmembers" output to use the right array.
14979 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14981 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14983 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14984 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14985 * catgets/gencat.c (read_input_file): Likewise.
14986 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14988 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14989 variable definition inside #if's controlling its use.
14991 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14993 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14995 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14997 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15000 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15002 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15003 * configure: Regenerated.
15005 * Makerules: Revert last change.
15006 * elf/Makefile: Likewise.
15008 2011-06-09 Roland McGrath <roland@hack.frob.com>
15010 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15011 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15012 (reloc-link): Likewise.
15014 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15016 * elf/Makefile: Add rules to build pldd.
15017 * elf/pldd.c: New file.
15018 * elf/pldd-xx.c: New file.
15020 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15022 * version.h: Update for 2.15 development version.
15024 2011-06-07 David S. Miller <davem@davemloft.net>
15026 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15028 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15029 elf_machine_lazy_rel): Likewise.
15030 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15032 elf_machine_lazy_rel): Likewise.
15033 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15034 dl_hwcap via passed in argument.
15035 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15038 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15040 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15042 2011-06-06 Roland McGrath <roland@hack.frob.com>
15045 * manual/fdl-1.1.texi: New file, verbatim from:
15046 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15047 * manual/lgpl-2.1.texi: New file, verbatim from:
15048 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15049 * manual/Makefile (licenses): New variable, list those new file names.
15051 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15053 * manual/fdl.texi: File removed.
15054 * manual/lesser.texi: File removed.
15055 * manual/libc.texinfo (Copying, Documentation License):
15056 Use new @include file names, put @appendix directive before @include.
15058 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15061 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15062 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15063 (mq_open): Add __NTH.
15065 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15068 Assume Intel Core i3/i5/i7 processor if AVX is available.
15070 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15072 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15075 2011-05-31 Andreas Schwab <schwab@redhat.com>
15077 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15078 memory. Use alloca_account. Fix memory leak when retrying.
15080 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15082 * version.h (RELEASE): Bump for 2.14 release.
15083 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15085 * config.make.in (RANLIB): Remove entry.
15087 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15089 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15090 (libc.pot): Work around missing support for .ksh extension in xgettext.
15093 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15094 if both request failed.
15095 (send_dg): In case of server errors clear resplen or *resplen2.
15098 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15099 when there are multiple maps.
15100 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15101 (_dl_fini): Remove test here.
15103 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15105 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15108 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15109 bit from old_res_options.
15110 (gaih_inet): Likewise.
15113 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15116 * resolv/res_init.c (res_setoptions): Make the code more compact.
15119 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15123 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15125 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15128 * malloc/malloc.h: Declare malloc hook variables as volatile.
15130 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15134 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15135 raise in the comment.
15136 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15137 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15138 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15140 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15143 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15144 grow the buffers more if it already has to be sufficient.
15145 (build_wcs_upper_buffer): Likewise.
15146 * posix/regexec.c (check_matching): Likewise.
15147 (clean_state_log_if_needed): Likewise.
15148 (extend_buffers): Don't enlarge buffers beyond size of the input
15150 Patches mostly by Emil Wojak <emil@wojak.eu>.
15151 * posix/bug-regex32.c: New file.
15152 * posix/Makefile (tests): Add bug-regex32.
15154 * locale/findlocale.c (_nl_find_locale): Return right away if
15155 _nl_explode_name failed.
15156 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15158 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15160 * debug/xtrace.sh: Unify messages.
15161 * malloc/memusage.sh: Likewise.
15164 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15165 time symbol from vDSO. Substitute with vsyscall if not available.
15166 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15169 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15170 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15171 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15172 Add sendmmsg and internal_sendmmsg.
15173 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15174 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15175 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15177 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15178 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15179 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15181 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15184 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15185 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15187 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15191 * iconvdata/Makefile (tests): Add bug-iconv9.
15192 * iconvdata/bug-iconv9.c: New file.
15194 2011-05-27 Andreas Schwab <schwab@redhat.com>
15197 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15199 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15201 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15202 (struct user_regs_struct): Change intcs field back to cs.
15204 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15206 * po/ja.po: Update from translation team.
15208 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15211 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15212 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15214 2011-05-20 Andreas Schwab <schwab@redhat.com>
15216 * stdlib/longlong.h: Update from GCC.
15218 2011-05-23 Andreas Schwab <schwab@redhat.com>
15220 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15222 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15223 Add parameter name.
15224 (__sysconf): Pass it down.
15226 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15229 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15232 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15233 add in in __libc_use_alloca calls. Adjust callers.
15234 (glob): Use malloc in some situations.
15236 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15237 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15240 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15242 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15243 and CLOCK_BOOTTIME_ALARM.
15246 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15249 * string/_strerror.c (__strerror_r): Print negative errors as signed
15253 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15254 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15255 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15257 * configure.in: Fix typo in redirection and correct removal of test
15258 files in two cases.
15261 * locale/setlocale.c (new_composite_name): Fix test to check for
15262 identical name of all categories.
15265 * libio/filedoalloc.c (local_isatty): New function.
15266 (_IO_file_doallocate): Use local_isatty.
15267 * stdio-common/perror.c (perror): In case a new stream is used
15268 forward the stream error.
15269 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15272 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15277 * include/alloca.h (extend_alloca_account): Define.
15280 * posix/regex.h: Fix comments with documentation of user-accessible
15281 fields after compilation and describe correct free'ing of pattern
15282 after re_compile_pattern.
15283 Patch by Reuben Thomas <rrt@sc3d.org>.
15285 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15287 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15288 and -mno-altivec to prevent the compiler from using Altivec and/or
15289 VSX instructions when the corresponding registers are not available.
15291 2011-05-19 Andreas Schwab <schwab@redhat.com>
15293 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15295 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15297 * libio/freopen.c (freopen): Use __dup2, not dup2.
15298 * libio/freopen64.c (freopen64): Likewise.
15300 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15303 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15304 * math/Makefile (tests): Add test-powl.
15305 (CFLAGS-test-powl.c): Define.
15306 * math/test-powl.c: New file.
15308 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15310 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15312 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15315 * iconvdata/gb18030.c: Update to GB18020-2005.
15317 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15319 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15320 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15321 Patch by Aharon Robbins <arnold@skeeve.com>.
15324 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15328 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15329 through underflows.
15332 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15333 point to strings before performing equality test for error_one_per_line
15337 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15340 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15341 (struct user_fpregs_struct): Avoid __uint*_t types.
15344 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15345 symbol info. Use it instead of calling _dl_addr locally.
15346 (lock_and_info): New function.
15347 (tr_freehook): Call lock_and_info and pass symbol info as additional
15348 parameter to tr_where.
15349 (tr_mallochook): Likewise.
15350 (tr_reallochook): Likewise.
15351 (tr_memalignhook): Likewise.
15353 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15354 used and couldn't be at all thread-safe.
15356 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15358 * libio/freopen.c (freopen): Don't close old file descriptor
15359 before the new one is opened. Instead dup the new file descriptor
15360 to the old one after the new stream is created.
15361 * libio/freopen64.c (freopen64): Likewise.
15362 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15363 * libio/fileops.c (_IO_new_file_close_it): Handle new
15364 _IO_FLAGS2_NOCLOSE flag.
15365 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15366 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15367 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15368 _IO_FLAGS2_NOCLOSE flag.
15369 * include/unistd.h: Add hidden_proto for dup3.
15370 Define __have_dup3.
15371 * io/dup3.c: Define hidden symbol.
15372 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15375 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15376 when an incomplete long option is used.
15377 * posix/tst-getopt_long1.c: New file.
15378 * posix/Makefile (tests): Add tst-getopt_long1.
15381 * scripts/config.guess: Update from autoconf-2.68.
15382 * scripts/config.sub: Likewise.
15385 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15387 (has_cpuclock): ...this. New function.
15388 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15389 macro here based on has_cpuclock code.
15392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15393 First byte (not low byte) is now always NUL.
15394 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15397 Use non-cancelable interfaces.
15400 * locale/iso-639.def: Add entry for Sorani.
15403 * include/stdlib.h: Move include protection to the right place.
15404 Define abort_msg_s. Declare __abort_msg with it.
15405 * stdlib/abort.c (__abort_msg): Adjust type.
15406 * assert/assert.c (__assert_fail_base): New function. Majority
15407 of code from __assert_fail. Allocate memory for __abort_msg with
15409 (__assert_fail): Now call __assert_fail_base.
15410 * assert/assert-perr.c: Remove bulk of implementation. Use
15411 __assert_fail_base.
15412 * include/assert.hL Declare __assert_fail_base.
15413 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15415 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15417 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15421 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15422 until all modules are registered in the DTV.
15423 * elf/Makefile: Add rules to build and run tst-tls19.
15424 * elf/tst-tls19.c: New file.
15425 * elf/tst-tls19mod1.c: New file.
15426 * elf/tst-tls19mod2.c: New file.
15427 * elf/tst-tls19mod3.c: New file.
15428 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15431 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15435 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15436 two-byte sequence errors.
15437 * iconvdata/Makefile (tests): Add bug-iconv8.
15438 * iconvdata/bug-iconv8.c: New file.
15441 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15444 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15447 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15448 (dummy_getcfa): New function.
15449 (init): Get _Unwind_GetCFA address, use dummy if not found.
15450 (backtrace_helper): In recursion check, also check whether CFA changes.
15451 (__backtrace): Completely initialize arg.
15453 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15454 storing incomplete byte sequence in state object. Avoid testing for
15455 guaranteed too small input if we know there is enough data available.
15457 2011-05-11 Andreas Schwab <schwab@redhat.com>
15459 * Makeconfig (+link-pie): Indent.
15460 * Rules (binaries-pie): Define if $(have-fpie) and
15462 (binaries-shared): Also filter out $(binaries-pie).
15463 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15464 * nscd/Makefile (others-pie): Add nscd.
15465 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15466 ($(objpfx)nscd): Remove command override.
15467 * login/Makefile (others-pie): Add pt_chown.
15468 ($(objpfx)pt_chown): Remove command override.
15469 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15470 remove command overrides.
15472 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15474 * libio/tst_putwc.c: Fix error messages.
15477 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15478 currently writing and seek to current position when not.
15479 * libio/Makefile (tests): Add bug-fclose1.
15480 * libio/bug-fclose1.c: New file.
15482 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15485 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15486 don't set DF_1_NODELETE here.
15487 (do_lookup_x): When entering new entry test for copy relocation
15488 and if necessary set DF_1_NODELETE flag.
15489 * elf/tst-unique4.cc: New file.
15490 * elf/tst-unique4.h: New file.
15491 * elf/tst-unique4lib.cc: New file.
15492 * elf/Makefile: Add rules to build and run tst-unique4.
15493 Patch by Piotr Bury <pbury@goahead.com>.
15495 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15498 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15501 * misc/mntent_r.c (addmntent): Flush the stream after the output
15504 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15505 (is_trusted_path_normalize): Skip initial colon. Append slash
15506 to empty buffer. Duplicate is_trusted_path code but allow
15507 constructed patch to be prefix.
15508 (is_dst): Allow $ORIGIN followed by /.
15509 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15510 Correct testing of result of is_trusted_path_normalize
15511 (decompose_rpath): Fix warning.
15513 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15516 * grp/initgroups.c (internal_getgrouplist): When we found the service
15517 list through the initgroups entry in nsswitch.conf do not always
15518 continue on a successful lookup. Don't always use the
15519 __nss_group_database value if it is set.
15520 * nss/nsswitch.conf (initgroups): Change action for successful db
15521 lookup to continue for compatibility.
15523 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15526 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15528 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15530 * iconvdata/tst-tables.sh: Likewise.
15531 * iconvdata/cp770.c: New file.
15532 * iconvdata/cp771.c: New file.
15533 * iconvdata/cp772.c: New file.
15534 * iconvdata/cp773.c: New file.
15535 * iconvdata/cp774.c: New file.
15536 * iconvdata/testdata/CP770: New file.
15537 * iconvdata/testdata/CP770..UTF8: New file.
15538 * iconvdata/testdata/CP771: New file.
15539 * iconvdata/testdata/CP771..UTF8: New file.
15540 * iconvdata/testdata/CP772: New file.
15541 * iconvdata/testdata/CP772..UTF8: New file.
15542 * iconvdata/testdata/CP773: New file.
15543 * iconvdata/testdata/CP773..UTF8: New file.
15544 * iconvdata/testdata/CP774: New file.
15545 * iconvdata/testdata/CP774..UTF8: New file.
15547 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15549 * iconvdata/gen-8bit-gap.sh: Likewise.
15550 * iconvdata/gen-8bit.sh: Likewise.
15552 * locale/iso-639.def: Add ary entry.
15555 * locale/C-translit.h.in: Add U20A1 transliteration.
15558 * locale/iso-639.def: Add wae entry.
15559 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15562 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15566 * locale/C-translit.h.in: Add entry for U20B9.
15567 Patch by pravin.d.s@gmail.com.
15569 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15572 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15573 ENAMETOOLONG use generic getcwd.
15574 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15575 in rtld. Use *stat64.
15576 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15577 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15578 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15579 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15580 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15581 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15582 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15583 __fstatat64 macros.
15584 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15585 * dirent/rewinddir.c: Add libc_hidden_def.
15586 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15587 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15589 * include/dirent.h (__alloc_dir): Add flags parameter.
15590 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15591 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15593 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15594 from fdopendir if O_CLOEXEC is already set.
15596 2011-03-15 Alan Modra <amodra@gmail.com>
15598 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15599 l_tls_firstbyte_offset non-zero. Save padding offset in
15600 l_tls_firstbyte_offset for later use.
15601 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15602 freeing static tls block.
15604 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15606 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15607 where #ifdef was intended. The intent is to prevent ARG_MAX from
15608 being defined by the kernel headers.
15610 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15613 * resolv/resolv.h: Define RES_NOTLDQUERY.
15614 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15615 no-tld-query and set RES_NOTLDQUERY.
15616 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15617 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15618 modern BIND to search name as TLD unless forbidden.
15620 2011-05-07 Petr Baudis <pasky@suse.cz>
15621 Ulrich Drepper <drepper@gmail.com>
15624 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15625 (is_trusted_path): ...to here.
15626 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15627 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15628 using is_trusted_path_normalize() in setuid scripts.
15630 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15632 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15633 __BEGIN/__END_DECLS.
15635 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15638 NSS_STATUS_NOTFOUND if no record was found.
15640 2011-05-05 Andreas Schwab <schwab@redhat.com>
15642 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15643 (headers-not-in-tirpc): Remove rpc/netdb.h
15644 * resolv/netdb.h: Revert last change.
15646 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15648 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15649 circular dependency between libgcc.a and libc.a.
15651 2011-05-05 Andreas Schwab <schwab@redhat.com>
15653 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15654 * nis/Makefile: Don't install rpcsvc/*.
15655 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15656 instead of <rpc/types.h>.
15657 (MAXHOSTNAMELEN): Define.
15659 2011-05-03 Andreas Schwab <schwab@redhat.com>
15661 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15663 2011-04-28 Maciej Babinski <mbabinski@google.com>
15666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15667 gethostbyname4_r when IPv6 results are possible.
15669 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15672 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15673 _PC_PIPE_BUF handling.
15675 2011-04-30 Bruno Haible <bruno@clisp.org>
15678 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15679 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15681 * inet/getnameinfo.c (getnameinfo): Likewise.
15683 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15685 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15686 to groups setting in database lookup.
15687 * nss/nsswitch.conf: Add initgroups entry.
15689 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15692 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15694 Patch by Eric Blake <eblake@redhat.com>.
15696 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15698 * sunrpc/Makefile (need-export-routines): Add svc_run.
15699 (routines): Remove svc_run.
15700 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15701 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15702 * sunrpc/svc_run.c (svc_run): Likewise.
15703 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15705 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15707 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15708 problem in reallocation in last patch.
15710 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15712 * sunrpc/Makefile: Move inclusion of Rules.
15714 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15716 * nss/nss_files/files-initgroups.c: New file.
15717 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15718 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15719 _nss_files_initgroups_dyn.
15721 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15723 * elf/elf.h (R_ARM_IRELATIVE): Define.
15725 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15727 * po/ru.po: Update from translation team.
15729 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15731 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15734 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15737 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15738 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15739 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15740 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15741 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15743 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15745 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15747 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15748 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15749 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15751 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15754 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15756 * stdlib/bug-getcontext.c: New file.
15757 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15759 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15761 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15762 instructions into .machine "z9-109".
15763 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15764 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15766 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15768 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15769 between environment variables and auxiliary vector.
15771 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15773 * Makefile: Add rules to build linkobj/libc.so.
15774 * include/libc-symbols.h: Define libc_hidden_nolink.
15775 * include/rpc/auth.h: Mark functions which are to be hidden.
15776 * include/rpc/auth_des.h: Likewise.
15777 * include/rpc/auth_unix.h: Likewise.
15778 * include/rpc/clnt.h: Likewise.
15779 * include/rpc/des_crypt.h: Likewise.
15780 * include/rpc/key_prot.h: Likewise.
15781 * include/rpc/pmap_clnt.h: Likewise.
15782 * include/rpc/pmap_prot.h: Likewise.
15783 * include/rpc/pmap_rmt.h: Likewise.
15784 * include/rpc/rpc_msg.h: Likewise.
15785 * include/rpc/svc.h: Likewise.
15786 * include/rpc/svc_auth.h: Likewise.
15787 * include/rpc/xdr.h: Likewise.
15788 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15789 * nss/Makefile: Likewise.
15790 * sunrpc/Makefile: Don't install headers. Build library with normal
15791 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15792 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15793 for the compat linking library. Remove use of INTDEF/INTUSE.
15794 * sunrpc/auth_none.c: Likewise.
15795 * sunrpc/auth_unix.c: Likewise.
15796 * sunrpc/authdes_prot.c: Likewise.
15797 * sunrpc/authuxprot.c: Likewise.
15798 * sunrpc/clnt_gen.c: Likewise.
15799 * sunrpc/clnt_perr.c: Likewise.
15800 * sunrpc/clnt_raw.c: Likewise.
15801 * sunrpc/clnt_simp.c: Likewise.
15802 * sunrpc/clnt_tcp.c: Likewise.
15803 * sunrpc/clnt_udp.c: Likewise.
15804 * sunrpc/clnt_unix.c: Likewise.
15805 * sunrpc/des_crypt.c: Likewise.
15806 * sunrpc/des_soft.c: Likewise.
15807 * sunrpc/get_myaddr.c: Likewise.
15808 * sunrpc/key_call.c: Likewise.
15809 * sunrpc/key_prot.c: Likewise.
15810 * sunrpc/netname.c: Likewise.
15811 * sunrpc/pm_getmaps.c: Likewise.
15812 * sunrpc/pm_getport.c: Likewise.
15813 * sunrpc/pmap_clnt.c: Likewise.
15814 * sunrpc/pmap_prot.c: Likewise.
15815 * sunrpc/pmap_prot2.c: Likewise.
15816 * sunrpc/pmap_rmt.c: Likewise.
15817 * sunrpc/publickey.c: Likewise.
15818 * sunrpc/rpc_cmsg.c: Likewise.
15819 * sunrpc/rpc_common.c: Likewise.
15820 * sunrpc/rpc_dtable.c: Likewise.
15821 * sunrpc/rpc_prot.c: Likewise.
15822 * sunrpc/rpc_thread.c: Likewise.
15823 * sunrpc/rtime.c: Likewise.
15824 * sunrpc/svc.c: Likewise.
15825 * sunrpc/svc_auth.c: Likewise.
15826 * sunrpc/svc_authux.c: Likewise.
15827 * sunrpc/svc_raw.c: Likewise.
15828 * sunrpc/svc_run.c: Likewise.
15829 * sunrpc/svc_simple.c: Likewise.
15830 * sunrpc/svc_tcp.c: Likewise.
15831 * sunrpc/svc_udp.c: Likewise.
15832 * sunrpc/svc_unix.c: Likewise.
15833 * sunrpc/svcauth_des.c: Likewise.
15834 * sunrpc/xcrypt.c: Likewise.
15835 * sunrpc/xdr.c: Likewise.
15836 * sunrpc/xdr_array.c: Likewise.
15837 * sunrpc/xdr_float.c: Likewise.
15838 * sunrpc/xdr_intXX_t.c: Likewise.
15839 * sunrpc/xdr_mem.c: Likewise.
15840 * sunrpc/xdr_rec.c: Likewise.
15841 * sunrpc/xdr_ref.c: Likewise.
15842 * sunrpc/xdr_sizeof.c: Likewise.
15843 * sunrpc/xdr_stdio.c: Likewise.
15845 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15848 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15849 * sysdeps/ia64/dl-tls.h: Likewise.
15850 * sysdeps/powerpc/dl-tls.h: Likewise.
15851 * sysdeps/s390/dl-tls.h: Likewise.
15852 * sysdeps/sh/dl-tls.h: Likewise.
15853 * sysdeps/sparc/dl-tls.h: Likewise.
15854 * sysdeps/x86_64/dl-tls.h: Likewise.
15855 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15857 2011-03-14 Andreas Schwab <schwab@redhat.com>
15859 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15860 rpath element also skip the following colon.
15861 (expand_dynamic_string_token): Add is_path parameter and pass
15862 down to DL_DST_REQUIRED and _dl_dst_substitute.
15863 (decompose_rpath): Call expand_dynamic_string_token with
15864 non-zero is_path. Ignore empty rpaths.
15865 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15868 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15873 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15876 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15877 Patch by Filipe David Manana <fdmanana@apache.org>.
15879 2011-04-07 Andreas Schwab <schwab@redhat.com>
15881 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15882 Maintain aligned stack.
15883 (CHECK_RSP): Remove unused macro.
15885 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15887 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15888 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15890 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15892 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15894 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15896 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15899 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15900 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15901 * sysdeps/x86_64/memmove.c: New file.
15902 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15903 (memcpy): Renamed to ...
15904 (__new_memcpy): This.
15905 (memcpy): Provide GLIBC_2_14 memcpy.
15906 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15907 (memcpy): Provide GLIBC_2_2_5 memcpy.
15909 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15912 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15914 2011-03-30 Andreas Schwab <schwab@redhat.com>
15916 * misc/syncfs.c: New file.
15917 * misc/Makefile (routines): Add syncfs.
15918 * posix/unistd.h: Declare syncfs.
15919 * sysdeps/unix/syscalls.list: Add syncfs.
15921 2011-04-01 Andreas Schwab <schwab@redhat.com>
15923 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15925 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15926 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15928 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15929 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15930 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15931 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15933 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15935 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15936 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15937 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15939 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15941 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15943 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15944 sync_file_range.c with -fexceptions.
15945 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15946 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15947 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15948 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15949 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15950 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15951 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15952 sync_file_range as cancellation point
15953 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15954 now a wrapper around __call_sync_file_range with cancellation handling.
15955 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15956 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15957 function name to __call_sync_file_range.
15958 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15959 Add call_sync_file_range.
15961 2011-04-01 Andreas Schwab <schwab@redhat.com>
15963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15966 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15968 * iconv/iconv.h: Fix typo in comment.
15969 * io/fcntl.h: Likewise.
15970 * libio/stdio.h: Likewise.
15971 * posix/spawn.h: Likewise.
15972 * posix/unistd.h: Likewise.
15973 * stdlib/stdlib.h: Likewise.
15974 * time/time.h: Likewise.
15975 * wcsmbs/wchar.h: Likewise.
15977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15978 open_by_handle): Add.
15979 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15980 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15981 Augment a few comments.
15982 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15984 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15986 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15987 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15990 * io/fcntl.h (AT_EMPTY_PATH): Define.
15992 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15994 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15995 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15996 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15998 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15999 * Versions.def: Add GLIBC_2.14.
16000 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16003 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16005 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16007 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16009 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16012 * string/test-strncmp.c (do_page_test): New function.
16013 (check2): Likewise.
16014 (test_main): Call check2.
16015 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16017 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16020 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16021 Handle cache information in CPU leaf 4.
16022 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16024 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16027 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16028 character representation.
16029 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16031 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16033 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16034 END(__isnan) to END(__isnanf) to match function entry point/label
16035 EALIGN(__isnanf,...).
16037 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16039 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16041 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16044 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16045 copy from the symbol referenced in the relocation to initialize the
16047 Patch by Piotr Bury <pbury@goahead.com>.
16048 * elf/Makefile: Add rules to build and tst-unique3.
16049 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16050 * elf/tst-unique3.cc: New file.
16051 * elf/tst-unique3.h: New file.
16052 * elf/tst-unique3lib.cc: New file.
16053 * elf/tst-unique3lib2.cc: New file.
16055 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16057 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16059 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16060 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16063 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16065 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16066 to-be-loaded object along a path to loader is ld.so.
16068 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16069 Ulrich Drepper <drepper@gmail.com>
16071 * sysdeps/x86_64/memset.S: After aligning destination, code
16072 branches to different locations depending on the value of
16073 misalignment, when multiarch is enabled. Fix this.
16075 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16077 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16078 Set _x86_64_preferred_memory_instruction for AMD processsors.
16079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16080 Set bit_Prefer_SSE_for_memop for AMD processors.
16082 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16084 * libio/fmemopen.c (fmemopen): Optimize a bit.
16086 2011-03-03 Andreas Schwab <schwab@redhat.com>
16088 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16090 2011-03-03 Roland McGrath <roland@redhat.com>
16092 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16094 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16096 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16097 __bzero_ultra1 instead of __memset_ultra1.
16099 2011-02-23 Andreas Schwab <schwab@redhat.com>
16100 Ulrich Drepper <drepper@gmail.com>
16103 * include/link.h (struct link_map): Add l_orig_initfini.
16104 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16105 returning unsuccessfully.
16106 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16107 close of a file loaded at startup, restore the original l_initfini
16109 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16110 list, store the pointer.
16111 * elf/Makefile ($(objpfx)noload-mem): New rule.
16112 (noload-ENV): Define.
16113 (tests): Add $(objpfx)noload-mem.
16114 * elf/noload.c: Include <memcheck.h>.
16115 (main): Call mtrace. Close all opened handles.
16117 2011-02-17 Andreas Schwab <schwab@redhat.com>
16120 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16121 dependencies are missing.
16123 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16125 Fix __if_freereq crash: Unlike the generic version which uses free,
16127 * sysdeps/mach/hurd/ifreq.h: New file.
16129 2011-01-27 Petr Baudis <pasky@suse.cz>
16130 Ulrich Drepper <drepper@gmail.com>
16133 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16134 to extend_alloca().
16135 * stdio-common/bug23.c: New file.
16136 * stdio-common/Makefile (tests): Add bug23.
16138 2010-09-28 Andreas Schwab <schwab@redhat.com>
16139 Ulrich Drepper <drepper@gmail.com>
16142 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16143 before performing relro protection. At old place add assertion
16144 to make sure nothing changed.
16146 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16147 Glauber de Oliveira Costa <glommer@gmail.com>
16149 * elf/elf.h: Add new ARM TLS relocs.
16151 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16154 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16156 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16158 * sysdeps/wordsize-64/tst-writev.c: New file.
16160 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16162 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16163 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16164 insns in _dl_start to prevent a TOC reference before relocs are
16167 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16170 * Makeconfig: Remove RANLIB definition.
16171 * Makerules: Don't use RANLIB.
16172 * aclocal.m4: Remove ranlib test.
16173 * configure.in: No need to check for ranlib.
16174 * elf/rtld-Rules: Don't use RANLIB.
16176 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16178 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16180 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16181 inclusion protection macro.
16183 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16184 SIGRTMIN and SIGRTMAX and print information in that case only when
16185 SIGRTMIN is defined.
16187 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16189 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16190 arginfo fn returning -1.
16192 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16193 and thousands string is zero terminated.
16195 2011-02-03 Andreas Schwab <schwab@redhat.com>
16197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16198 sysdeps/unix/sysv/linux/bits/socket.h.
16200 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16202 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16203 (__CPU_COUNT): Remove old macros.
16204 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16205 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16206 (__CPU_ALLOC, __CPU_FREE): Add macros.
16207 (__sched_cpualloc, __sched_cpufree): Add declarations.
16209 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16211 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16212 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16213 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16214 (readdhstai): Return value of addhstaiX call.
16215 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16216 (addgrbyX): Return value returned by cache_addgr.
16217 (readdgrbyname): Return value returned by addgrbyX.
16218 (readdgrbygid): Likewise.
16219 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16220 (addpwbyX): Return value returned by cache_addpw.
16221 (readdpwbyname): Return value returned by addhstbyX.
16222 (readdpwbyuid): Likewise.
16223 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16224 (addservbyX): Return value returned by cache_addserv.
16225 (readdservbyname): Return value returned by addservbyX:
16226 (readdservbyport): Likewise.
16227 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16228 (addhstbyX): Return value returned by cache_addhst.
16229 (readdhstbyname): Return value returned by addhstbyX.
16230 (readdhstbyaddr): Likewise.
16231 (readdhstbynamev6): Likewise.
16232 (readdhstbyaddrv6): Likewise.
16233 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16234 (readdinitgroups): Return value returned by addinitgroupsX.
16235 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16236 (prune_cache): Keep track of timeout value of re-added entries.
16237 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16238 * nscd/nscd.h: Adjust prototypes of readd* functions.
16240 2011-02-04 Roland McGrath <roland@redhat.com>
16242 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16243 (nis_stats): Likewise.
16244 * nis/nis_modify.c (nis_modify): Likewise.
16245 * nis/nis_remove.c (nis_remove): Likewise.
16246 * nis/nis_add.c (nis_add): Likewise.
16248 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16250 * posix/fnmatch_loop.c: Add some consts.
16252 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16254 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16257 * config.make.in (config-cflags-novzeroupper): Define.
16258 * configure.in: Substitute libc_cv_cc_novzeroupper.
16259 * elf/Makefile (AVX-CFLAGS): Define.
16260 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16261 (CFLAGS-tst-auditmod4a.c): Likewise.
16262 (CFLAGS-tst-auditmod4b.c): Likewise.
16263 (CFLAGS-tst-auditmod6b.c): Likewise.
16264 (CFLAGS-tst-auditmod6c.c): Likewise.
16265 (CFLAGS-tst-auditmod7b.c): Likewise.
16266 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16268 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16270 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16271 function to the callback.
16272 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16274 2011-02-02 Andreas Schwab <schwab@redhat.com>
16276 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16279 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16282 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16284 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16286 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16289 * elf/Makefile: Add rules to build and run new test.
16290 * elf/tst-initorder.c: New file.
16291 * elf/tst-initorder.exp: New file.
16292 * elf/tst-initordera1.c: New file.
16293 * elf/tst-initordera2.c: New file.
16294 * elf/tst-initordera3.c: New file.
16295 * elf/tst-initordera4.c: New file.
16296 * elf/tst-initorderb1.c: New file.
16297 * elf/tst-initorderb2.c: New file.
16298 * elf/tst-order-a1.c: New file.
16299 * elf/tst-order-a2.c: New file.
16300 * elf/tst-order-a3.c: New file.
16301 * elf/tst-order-a4.c: New file.
16302 * elf/tst-order-b1.c: New file.
16303 * elf/tst-order-b2.c: New file.
16304 * elf/tst-order-main.c: New file.
16305 New test case by George Gensure <werkt0@gmail.com>.
16307 2010-10-01 Andreas Schwab <schwab@redhat.com>
16309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16310 decoding ACE if AI_CANONIDN.
16312 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16314 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16316 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16318 * version.h (RELEASE): Bump for 2.13 release.
16319 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16321 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16323 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16325 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16326 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16327 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16328 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16329 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16330 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16332 * posix/getconf.c: Update copyright year.
16333 * catgets/gencat.c: Likewise.
16334 * csu/version.c: Likewise.
16335 * debug/catchsegv.sh: Likewise.
16336 * debug/xtrace.sh: Likewise.
16337 * elf/ldconfig.c: Likewise.
16338 * elf/ldd.bash.in: Likewise.
16339 * elf/sprof.c (print_version): Likewise.
16340 * iconv/iconv_prog.c: Likewise.
16341 * iconv/iconvconfig.c: Likewise.
16342 * locale/programs/locale.c: Likewise.
16343 * locale/programs/localedef.c: Likewise.
16344 * malloc/memusage.sh: Likewise.
16345 * malloc/mtrace.pl: Likewise.
16346 * nscd/nscd.c (print_version): Likewise.
16347 * nss/getent.c: Likewise.
16349 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16350 PF_CAIF, and PF_ALG.
16351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16353 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16355 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16356 (modules-names): Use them.
16357 (ifunc-test-modules, ifunc-pie-tests): Define.
16358 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16359 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16360 (test-extras): Likewise.
16361 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16362 $(compile-command.c).
16363 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16364 (all-built-dso): Define.
16365 (check-textrel.out, check-execstack.out): Depend on it.
16367 * configure.in: Don't override --enable-multi-arch.
16369 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16372 * nscd/hstcache.c (tryagain): Define.
16373 (cache_addhst): Return tryagain not notfound for temporary errors.
16374 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16377 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16380 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16381 to make the syscall.
16382 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16385 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16386 and fall back to matching as normal character if the string ends before
16387 the matching ']' is found. This is what POSIX requires.
16388 * posix/testfnm.c: Adjust test result.
16389 * posix/globtest.sh: Adjust test result. Add new test.
16390 * posix/tst-fnmatch.input: Likewise.
16391 * posix/tst-fnmatch2.c: Add new test.
16393 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16395 * elf/Makefile (check-execstack): Revert last change. Depend on
16397 (check-execstack.h): New target.
16398 (generated): Add check-execstack.h.
16399 * elf/check-execstack.c: Include "check-execstack.h".
16400 (main): Revert last change.
16401 (handle_file): Return zero if GNU_STACK is absent and
16402 DEFAULT_STACK_PERMS doesn't include PF_X.
16404 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16406 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16407 in child fails because the descriptor is already closed.
16408 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16409 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16410 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16413 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16417 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16418 temporary buffer used to handle multi lookups locally.
16419 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16421 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16423 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16426 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16428 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16429 alignment for SSE2.
16431 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16434 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16435 characters. When rounding increased number of integer digits recompute
16437 * stdio-common/tst-grouping.c: New file.
16438 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16440 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16442 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16443 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16445 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16447 * bits/select.h: Likewise.
16449 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16451 * po/ja.po: Update from translation team.
16453 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16456 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16457 implementation just like for lxstat, fxstatat, et al.
16459 2010-12-27 Jim Meyering <meyering@redhat.com>
16462 * posix/regexec.c (build_trtable): Return failure indication upon
16463 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16465 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16468 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16469 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16470 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16471 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16474 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16477 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16478 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16480 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16482 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16483 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16484 script has SORT_BY_INIT_PRIORITY.
16485 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16486 NO_CTORS_DTORS_SECTIONS is defined.
16487 * elf/soinit.c: Likewise.
16488 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16489 NO_CTORS_DTORS_SECTIONS is defined.
16490 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16491 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16492 * sysdeps/sh/init-first.c: Likewise.
16493 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16495 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16497 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16498 always use the slow path.
16500 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16502 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16503 similar rule which adds the sysdep directories to the header search in
16504 order to pick up the correct platform stackinfo.h.
16505 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16506 perform test if it is, otherwise return successfully without testing.
16507 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16508 DEFAULT_STACK_PERMS define in stackinfo.h.
16509 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16510 defined in stackinfo.h.
16511 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16512 DEFAULT_STACK_PERMS defined in stackinfo.h.
16513 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16514 * sysdeps/ia64/stackinfo.h: Likewise.
16515 * sysdeps/s390/stackinfo.h: Likewise.
16516 * sysdeps/sh/stackinfo.h: Likewise.
16517 * sysdeps/sparc/stackinfo.h: Likewise.
16518 * sysdeps/x86_64/stackinfo.h: Likewise.
16519 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16520 PF_X for powerpc64. Retain PF_X for powerpc32.
16522 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16524 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16526 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16527 GETDENTS_64BIT_ALIGNED.
16529 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16531 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16533 2010-12-10 Andreas Schwab <schwab@redhat.com>
16535 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16538 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16539 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16541 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16542 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16544 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16547 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16550 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16552 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16554 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16556 * po/it.po: Update from translation team.
16558 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16563 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16565 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16567 2010-11-24 Andreas Schwab <schwab@redhat.com>
16569 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16571 (gaih_getanswer_slice): Likewise.
16573 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16577 2010-05-31 Petr Baudis <pasky@suse.cz>
16580 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16581 silently even in the chroot mode.
16583 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16585 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16586 last patch a bit. Pretty printing
16588 2010-05-31 Petr Baudis <pasky@suse.cz>
16591 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16592 initialization of skip_initgroups_dyn.
16594 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16596 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16597 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16599 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16601 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16603 2010-11-11 Andreas Schwab <schwab@redhat.com>
16605 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16606 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16607 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16608 ($(objpfx)tst-fnmatch-mem): New rule.
16609 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16610 * posix/tst-fnmatch.c (main): Call mtrace.
16612 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16615 Support Intel processor model 6 and model 0x2c.
16617 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16619 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16622 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16625 * string/test-strncasecmp.c (check_result): New function.
16626 (do_one_test): Use it.
16627 (check1): New function.
16628 (test_main): Use it.
16629 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16630 Support strcasecmp and strncasecmp.
16632 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16635 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16636 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16638 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16640 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16644 * sysdeps/x86_64/multiarch/bzero.S: New file.
16645 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16646 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16647 * sysdeps/x86_64/multiarch/memset.S: New file.
16648 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16650 Set bit_Prefer_SSE_for_memop for Intel processors.
16651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16653 (index_Prefer_SSE_for_memop): Define.
16654 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16656 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16658 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16659 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16661 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16664 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16665 (__x86_64_raw_data_cache_size_half): Likewise.
16666 (__x86_64_raw_shared_cache_size): Likewise.
16667 (__x86_64_raw_shared_cache_size_half): Likewise.
16669 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16670 (__x86_64_raw_data_cache_size_half): Likewise.
16671 (__x86_64_raw_shared_cache_size): Likewise.
16672 (__x86_64_raw_shared_cache_size_half): Likewise.
16673 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16674 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16675 and __x86_64_raw_shared_cache_size_half. Round
16676 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16677 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16678 to multiple of 256 bytes.
16680 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16683 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16684 of inacessible symlinks. Verify result of symlink before returning it.
16685 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16686 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16688 2010-10-28 Erich Ritz <erichritz@gmail.com>
16690 * math/math.h (isinf): Fix typo in comment.
16692 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16694 * po/da.po: Update from translation team.
16696 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16698 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16699 is added to the list.
16701 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16702 Ulrich Drepper <drepper@gmail.com>
16704 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16705 the global list here. Move code to...
16706 (_dl_add_to_namespace_list): ...here. New function.
16707 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16708 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16709 * elf/dl-load.c (lose): Don't remove the element from the list.
16710 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16711 (_dl_map_object): Likewise.
16713 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16716 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16717 into all bytes of SSE register.
16718 Patch by Richard Li <richardpku@gmail.com>.
16720 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16723 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16726 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16728 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16729 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16730 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16731 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16736 2010-10-22 Andreas Schwab <schwab@redhat.com>
16738 * include/dlfcn.h (__RTLD_SECURE): Define.
16739 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16740 mode & __RTLD_SECURE instead.
16741 (open_path): Rename preloaded parameter to secure.
16742 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16743 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16744 * elf/dl-deps.c (openaux): Likewise.
16745 * elf/rtld.c (struct map_args): Remove is_preloaded.
16746 (map_doit): Don't use it.
16747 (dl_main): Likewise.
16748 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16749 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16751 2010-09-09 Andreas Schwab <schwab@redhat.com>
16753 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16754 (sysd-rules-targets): Remove duplicates.
16755 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16756 rtld-%.$o dependency.
16758 2010-10-18 Andreas Schwab <schwab@redhat.com>
16760 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16761 _dl_map_object do it.
16763 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16765 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16766 fast fma builtins, define the macros in the C99 standard.
16767 (FP_FAST_FMAF): Likewise.
16768 (FP_FAST_FMAL): Likewise.
16769 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16771 * bits/mathdef.h: Update copyright year.
16772 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16774 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16776 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16777 builtins, define the macros in the C99 standard.
16778 (FP_FAST_FMAF): Likewise.
16779 (FP_FAST_FMAL): Likewise.
16780 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16782 (FP_FAST_FMAF): Likewise.
16784 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16787 * math/libm-test.inc (fma_test): Some new testcases.
16788 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16789 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16790 y and infinite z. Do multiplication by C already in long double.
16791 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16793 y and infinite z. Do bitwise or of inexact bit into u.d.
16794 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16795 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16796 * sysdeps/i386/fpu/s_fma.S: Removed.
16797 * sysdeps/i386/fpu/s_fmal.S: Removed.
16799 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16802 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16804 computation is not scheduled after fetestexcept. Fix value
16805 of minimum denormal long double.
16807 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16810 * math/libm-test.inc (fma_test): Add some more tests.
16811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16814 2010-10-15 Andreas Schwab <schwab@redhat.com>
16816 * scripts/data/localplt-s390-linux-gnu.data: New file.
16817 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16819 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16822 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16823 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16825 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16827 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16829 if one of x and y is very large and the other is subnormal.
16830 * sysdeps/s390/fpu/s_fmaf.c: New file.
16831 * sysdeps/s390/fpu/s_fma.c: New file.
16832 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16833 * sysdeps/powerpc/fpu/s_fma.S: New file.
16834 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16835 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16836 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16838 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16841 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16843 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16844 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16845 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16846 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16847 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16848 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16849 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16851 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16854 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16855 * posix/bug-regex31.input: Add test case.
16857 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16859 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16860 * posix/bug-regex31.input: New file.
16863 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16864 (parse_sub_exp): Fix last change, use postorder.
16866 * posix/bug-regex31.c: New file.
16867 * posix/Makefile: Add rules to build and run bug-regex31.
16869 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16872 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16875 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16876 to have entries in sys_siglist.
16879 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16882 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16885 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16886 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16887 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16888 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16889 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16890 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16891 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16892 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16893 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16894 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16895 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16896 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16897 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16898 * math/ftestexcept.c (fetestexcept): Likewise.
16899 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16900 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16901 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16902 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16903 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16904 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16905 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16907 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16910 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16913 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16915 * string/bug-strstr1.c: New file.
16916 * string/Makefile: Add rules to build and run bug-strstr1.
16918 2010-10-05 Eric Blake <eblake@redhat.com>
16921 * string/str-two-way.h (two_way_long_needle): Always clear memory
16922 when skipping input due to the shift table.
16924 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16927 * malloc/mcheck.c: Handle large requests.
16930 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16931 for strncmp and strncasecmp.
16932 * string/stratcliff.c: Add tests for strcmp and strncmp.
16933 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16935 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16937 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16940 2010-09-30 Andreas Jaeger <aj@suse.de>
16942 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16943 (CGROUP_SUPER_MAGIC): Define.
16944 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16945 Handle btrfs and cgroup file systems.
16946 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16949 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16951 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16952 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16954 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16957 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16958 trying to locate the ELF header.
16960 2010-09-27 Andreas Schwab <schwab@redhat.com>
16963 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16964 Mask out sign-bit copies when constructing f_fsid.
16966 2010-09-24 Petr Baudis <pasky@suse.cz>
16968 * debug/stack_chk_fail_local.c: Add missing licence exception.
16969 * debug/warning-nop.c: Likewise.
16971 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16973 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16974 implementing getdents64 using getdents syscall, set d_type if
16975 __ASSUME_GETDENTS32_D_TYPE.
16977 2010-09-16 Andreas Schwab <schwab@redhat.com>
16979 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16980 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16982 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16985 * posix/unistd.h: Undo change of feature selection for ftruncate from
16988 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16990 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16993 2010-09-20 Andreas Schwab <schwab@redhat.com>
16995 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16997 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16999 2010-09-14 Andreas Schwab <schwab@redhat.com>
17001 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17002 variables after CHECK_SP call.
17003 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17005 2010-09-13 Andreas Schwab <schwab@redhat.com>
17006 Ulrich Drepper <drepper@redhat.com>
17008 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17009 re-relocationg ld.so.
17010 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17011 _dl_init_paths call.
17012 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17015 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17017 * resolv/res_init.c (__res_vinit): Count the default server we added.
17019 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17020 Ulrich Drepper <drepper@redhat.com>
17023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17024 (____longjmp_chk): Use %ebx for saving value across system call.
17027 2010-09-06 Andreas Schwab <schwab@redhat.com>
17029 * manual/Makefile: Don't mix pattern rules with normal rules.
17031 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17033 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17035 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17036 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17037 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17038 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17042 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17045 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17046 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17048 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17050 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17051 * sysdeps/x86_64/addmul_1.S: Likewise.
17052 * sysdeps/x86_64/lshift.S: Likewise.
17053 * sysdeps/x86_64/mul_1.S: Likewise.
17054 * sysdeps/x86_64/rshift.S: Likewise.
17055 * sysdeps/x86_64/sub_n.S: Likewise.
17056 * sysdeps/x86_64/submul_1.S: Likewise.
17058 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17060 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17061 Define __sched_param instead of SCHED_* and sched_param when
17062 <bits/sched.h> is included with __need_schedparam defined.
17063 * bits/sched.h [__need_schedparam]
17064 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17065 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17066 (__defined_schedparam): Define to 1.
17067 (__sched_param): New structure, identical to sched_param.
17068 (__need_schedparam): Undefine.
17070 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17073 (epoll_create1): Declare.
17075 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17077 2010-08-31 Andreas Schwab <schwab@redhat.com>
17080 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17081 shifting retval into place.
17083 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17085 * nis/rpcsvc/nis.h: Update copyright notice.
17086 * nis/rpcsvc/nis.x: Likewise.
17087 * nis/rpcsvc/nis_callback.h: Likewise.
17088 * nis/rpcsvc/nis_callback.x: Likewise.
17089 * nis/rpcsvc/nis_object.x: Likewise.
17090 * nis/rpcsvc/nis_tags.h: Likewise.
17091 * nis/rpcsvc/yp.h: Likewise.
17092 * nis/rpcsvc/yp.x: Likewise.
17093 * nis/rpcsvc/ypupd.h: Likewise.
17094 * nis/yp_xdr.c: Likewise.
17095 * nis/ypupdate_xdr.c: Likewise.
17097 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17098 mainly the body of pmap_getport. Add parameters to specify timeouts.
17099 (pmap_getport): Use __libc_rpc_getport.
17100 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17101 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17102 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17104 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17109 2010-08-27 Roland McGrath <roland@redhat.com>
17111 * sysdeps/i386/i686/multiarch/Makefile
17112 (CFLAGS-varshift.c): New variable.
17114 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17116 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17117 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17119 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17121 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17123 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17125 * sysdeps/x86_64/strlen.S: Unroll the loop.
17126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17127 strlen-sse2 strlen-sse2-bsf.
17128 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17129 __strlen_no_bsf if bit_Slow_BSF is set.
17130 (__strlen_sse42): Removed.
17131 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17132 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17134 2010-08-25 Roland McGrath <roland@redhat.com>
17136 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17137 * sysdeps/x86_64/multiarch/varshift.c: New file.
17138 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17139 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17140 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17141 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17143 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17146 strlen-sse2 strlen-sse2-bsf.
17147 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17148 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17149 (__strlen_sse2): Removed.
17150 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17153 bit_Slow_BSF for Atom.
17154 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17155 (index_Slow_BSF): Define.
17156 (HAS_SLOW_BSF): Define.
17158 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17161 * resolv/res_init.c (__res_vinit): When no server address at all
17162 is given default to loopback.
17164 2010-08-24 Roland McGrath <roland@redhat.com>
17166 * configure.in: Remove config-name.h generation.
17167 * configure: Regenerated.
17168 * config-name.in: File removed.
17169 * scripts/config-uname.sh: New file.
17170 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17171 ($(objdir)config-name.h): New target.
17173 * sunrpc/rpc_parse.h: Avoid nested comment.
17175 2010-08-24 Richard Henderson <rth@redhat.com>
17176 Ulrich Drepper <drepper@redhat.com>
17177 H.J. Lu <hongjiu.lu@intel.com>
17179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17181 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17182 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17183 _mm_alignr_epi8 with _mm_loadu_si128.
17184 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17185 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17186 (__m128i_shift_right): Removed.
17187 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17188 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17189 * sysdeps/x86_64/multiarch/varshift.h: New file.
17190 * sysdeps/x86_64/multiarch/varshift.S: New file.
17192 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17194 * configure.in: Move assembler checks to before sysdep dir checking.
17196 2010-08-20 Petr Baudis <pasky@suse.cz>
17198 * LICENSES: Sync the sunrpc license.
17200 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17202 * sunrpc/auth_des.c: Update copyright notice once again.
17203 * sunrpc/auth_none.c: Likewise.
17204 * sunrpc/auth_unix.c: Likewise.
17205 * sunrpc/authdes_prot.c: Likewise.
17206 * sunrpc/authuxprot.c: Likewise.
17207 * sunrpc/bindrsvprt.c: Likewise.
17208 * sunrpc/clnt_gen.c: Likewise.
17209 * sunrpc/clnt_perr.c: Likewise.
17210 * sunrpc/clnt_raw.c: Likewise.
17211 * sunrpc/clnt_simp.c: Likewise.
17212 * sunrpc/clnt_tcp.c: Likewise.
17213 * sunrpc/clnt_udp.c: Likewise.
17214 * sunrpc/clnt_unix.c: Likewise.
17215 * sunrpc/des_crypt.c: Likewise.
17216 * sunrpc/des_soft.c: Likewise.
17217 * sunrpc/get_myaddr.c: Likewise.
17218 * sunrpc/getrpcport.c: Likewise.
17219 * sunrpc/key_call.c: Likewise.
17220 * sunrpc/key_prot.c: Likewise.
17221 * sunrpc/openchild.c: Likewise.
17222 * sunrpc/pm_getmaps.c: Likewise.
17223 * sunrpc/pm_getport.c: Likewise.
17224 * sunrpc/pmap_clnt.c: Likewise.
17225 * sunrpc/pmap_prot.c: Likewise.
17226 * sunrpc/pmap_prot2.c: Likewise.
17227 * sunrpc/pmap_rmt.c: Likewise.
17228 * sunrpc/rpc/auth.h: Likewise.
17229 * sunrpc/rpc/auth_unix.h: Likewise.
17230 * sunrpc/rpc/clnt.h: Likewise.
17231 * sunrpc/rpc/des_crypt.h: Likewise.
17232 * sunrpc/rpc/key_prot.h: Likewise.
17233 * sunrpc/rpc/netdb.h: Likewise.
17234 * sunrpc/rpc/pmap_clnt.h: Likewise.
17235 * sunrpc/rpc/pmap_prot.h: Likewise.
17236 * sunrpc/rpc/pmap_rmt.h: Likewise.
17237 * sunrpc/rpc/rpc.h: Likewise.
17238 * sunrpc/rpc/rpc_des.h: Likewise.
17239 * sunrpc/rpc/rpc_msg.h: Likewise.
17240 * sunrpc/rpc/svc.h: Likewise.
17241 * sunrpc/rpc/svc_auth.h: Likewise.
17242 * sunrpc/rpc/types.h: Likewise.
17243 * sunrpc/rpc/xdr.h: Likewise.
17244 * sunrpc/rpc_clntout.c: Likewise.
17245 * sunrpc/rpc_cmsg.c: Likewise.
17246 * sunrpc/rpc_common.c: Likewise.
17247 * sunrpc/rpc_cout.c: Likewise.
17248 * sunrpc/rpc_dtable.c: Likewise.
17249 * sunrpc/rpc_hout.c: Likewise.
17250 * sunrpc/rpc_main.c: Likewise.
17251 * sunrpc/rpc_parse.c: Likewise.
17252 * sunrpc/rpc_parse.h: Likewise.
17253 * sunrpc/rpc_prot.c: Likewise.
17254 * sunrpc/rpc_sample.c: Likewise.
17255 * sunrpc/rpc_scan.c: Likewise.
17256 * sunrpc/rpc_scan.h: Likewise.
17257 * sunrpc/rpc_svcout.c: Likewise.
17258 * sunrpc/rpc_tblout.c: Likewise.
17259 * sunrpc/rpc_util.c: Likewise.
17260 * sunrpc/rpc_util.h: Likewise.
17261 * sunrpc/rpcinfo.c: Likewise.
17262 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17263 * sunrpc/rpcsvc/key_prot.x: Likewise.
17264 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17265 * sunrpc/rpcsvc/mount.x: Likewise.
17266 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17267 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17268 * sunrpc/rpcsvc/rex.x: Likewise.
17269 * sunrpc/rpcsvc/rstat.x: Likewise.
17270 * sunrpc/rpcsvc/rusers.x: Likewise.
17271 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17272 * sunrpc/rpcsvc/spray.x: Likewise.
17273 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17274 * sunrpc/rtime.c: Likewise.
17275 * sunrpc/svc.c: Likewise.
17276 * sunrpc/svc_auth.c: Likewise.
17277 * sunrpc/svc_authux.c: Likewise.
17278 * sunrpc/svc_raw.c: Likewise.
17279 * sunrpc/svc_run.c: Likewise.
17280 * sunrpc/svc_simple.c: Likewise.
17281 * sunrpc/svc_tcp.c: Likewise.
17282 * sunrpc/svc_udp.c: Likewise.
17283 * sunrpc/svc_unix.c: Likewise.
17284 * sunrpc/svcauth_des.c: Likewise.
17285 * sunrpc/xcrypt.c: Likewise.
17286 * sunrpc/xdr.c: Likewise.
17287 * sunrpc/xdr_array.c: Likewise.
17288 * sunrpc/xdr_float.c: Likewise.
17289 * sunrpc/xdr_mem.c: Likewise.
17290 * sunrpc/xdr_rec.c: Likewise.
17291 * sunrpc/xdr_ref.c: Likewise.
17292 * sunrpc/xdr_sizeof.c: Likewise.
17293 * sunrpc/xdr_stdio.c: Likewise.
17295 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17298 2010-08-19 Andreas Schwab <schwab@redhat.com>
17300 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17302 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17304 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17305 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17306 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17307 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17308 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17309 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17310 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17311 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17312 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17313 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17314 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17315 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17316 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17317 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17319 2010-07-26 Anton Blanchard <anton@samba.org>
17321 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17322 * malloc/arena.c (heap_trim): Likewise.
17324 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17326 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17329 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17331 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17333 * sysdeps/i386/elf/Makefile: New file.
17335 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17337 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17338 from fanotify_init.
17339 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17340 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17342 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17344 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17346 * sysdeps/multiarch/strcmp.S: Likewise.
17348 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17350 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17351 strncase_l-nonascii.
17352 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17353 Add strncase_l-ssse3.
17354 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17355 * sysdeps/x86_64/strcmp.S: Likewise.
17356 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17357 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17358 * sysdeps/x86_64/strncase.S: New file.
17359 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17360 * sysdeps/x86_64/strncase_l.S: New file.
17361 * string/Makefile (strop-tests): Add strncasecmp.
17362 * string/test-strncasecmp.c: New file.
17364 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17367 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17368 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17370 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17372 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17374 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17376 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17377 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17378 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17380 2010-05-01 Alan Modra <amodra@gmail.com>
17382 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17383 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17384 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17385 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17386 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17387 tidying. Don't tail-call __sigjmp_save for static lib.
17388 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17390 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17391 (CALL_MCOUNT): Add eh info, and nop after bl.
17392 (TAIL_CALL_SYSCALL_ERROR): New macro.
17393 (PSEUDO_RET): Use it.
17394 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17395 Correct save location of integer regs and cr.
17396 (_dl_profile_resolve): Correct cr save location. Delete nops
17397 after bl when SHARED. Reduce cfi size a little by better
17398 placement of cfi directives.
17399 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17400 make a stack frame. Instead use parm save area as a temp.
17401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17402 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17404 Don't make a stack frame for parent, use parm save area.
17405 Increase child stack frame to 112 bytes. Don't save unused reg,
17406 and adjust reg usage. Set up cfi on error recovery and
17407 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17409 (__makecontext): Add dummy nop after jump to exit.
17410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17411 Use correct parm save area and cr save, reduce stack frame.
17412 Correct cfi for possible PSEUDO_RET frame setup.
17413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17414 Branch to local label emitted by PSEUDO_RET rather than
17417 2010-08-12 Andreas Schwab <schwab@redhat.com>
17420 * locale/programs/locale.c (print_assignment): New function.
17421 (show_locale_vars): Use it.
17423 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17425 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17427 (struct statfs64): Likewise.
17428 (_STATFS_F_FLAGS): Define.
17429 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17430 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17431 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17432 (ST_VALID): Define locally.
17433 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17434 __statvfs_getflags, use the provided value.
17435 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17436 __ASSUME_STATFS_F_FLAGS.
17438 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17440 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17441 Add sys/fanotify.h.
17442 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17443 fanotify_mask for GLIBC_2.13.
17444 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17445 fanotify_init and fanotify_mark.
17446 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17447 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17449 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17451 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17452 prlimit64 for GLIBC_2.13.
17453 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17455 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17459 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17460 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17461 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17463 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17466 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17467 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17469 * nss/Makefile: Add rules to build and run tst-nss-test1.
17470 * shlib-versions: Add entry for libnss_test1.
17471 * nss/nss_test1.c: New file.
17472 * nss/tst-nss-test1.c: New file.
17474 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17475 (__nss_configure_lookup): Set appropriate entry in
17476 __nss_configure_lookup to true.
17477 * nss/nsswitch.h: Define enum with indeces of databases in
17478 databases and __nss_database_custom arrays. Declare
17479 __nss_database_custom.
17480 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17481 to avoid using nscd when custom rules are installed.
17482 * nss/getXXbyYY_r.c: Likewise.
17483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17485 * nss/nss_files/files-parse.c: Whitespace fixes.
17487 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17490 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17491 * posix/fnmatch_loop.c: Likewise.
17493 2010-07-17 Andi Kleen <ak@linux.intel.com>
17495 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17496 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17497 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17498 * Versions.def [GLIBC_2.13]: Add.
17500 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17502 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17503 Also fail if tpwd after pwuid call is NULL.
17505 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17507 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17508 when converting to ms.
17510 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17512 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17513 EOPNOTSUPP errors with ENOTTY.
17514 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17515 EOPNOTSUPP errors with ENOTTY.
17517 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17519 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17520 Add strcasecmp_l-ssse3.
17521 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17523 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17524 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17525 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17527 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17529 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17531 * string/Makefile (strop-tests): Add strcasecmp.
17532 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17533 strcasecmp_l-nonascii.
17534 (gen-as-const-headers): Add locale-defines.sym.
17535 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17536 * sysdeps/x86_64/strcasecmp.S: New file.
17537 * sysdeps/x86_64/strcasecmp_l.S: New file.
17538 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17539 * sysdeps/x86_64/locale-defines.sym: New file.
17540 * string/test-strcasecmp.c: New file.
17542 * string/test-strcasestr.c: Test both ends of the range of characters.
17543 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17545 2010-07-29 Roland McGrath <roland@redhat.com>
17548 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17550 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17552 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17555 2010-07-27 Andreas Schwab <schwab@redhat.com>
17557 * manual/memory.texi (Malloc Tunable Parameters): Document
17560 2010-07-26 Roland McGrath <roland@redhat.com>
17563 * configure.in (-fgnu89-inline check): Set and substitute
17564 gnu89_inline, not libc_cv_gnu89_inline.
17565 * configure: Regenerated.
17566 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17568 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17570 * string/test-strnlen.c: New file.
17571 * string/Makefile (strop-tests): Add strnlen.
17572 * string/tester.c (test_strnlen): Add a few more test cases.
17573 * string/tst-strlen.c: Better error reporting.
17575 * sysdeps/x86_64/strnlen.S: New file.
17577 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17579 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17580 lower-latency instructions.
17582 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17584 * string/test-strcasestr.c: New file.
17585 * string/test-strstr.c: New file.
17586 * string/Makefile (strop-tests): Add strstr and strcasestr.
17587 * string/str-two-way.h: Don't undefine MAX.
17588 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17590 2010-07-21 Andreas Schwab <schwab@redhat.com>
17592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17593 strcasestr-nonascii.
17594 (CFLAGS-strcasestr-nonascii.c): Define.
17595 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17596 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17597 Remove unused attribute.
17599 2010-07-20 Roland McGrath <roland@redhat.com>
17601 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17602 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17603 ld.so.cache was broken. With it, there is no way to disable dsocaps
17604 like LD_HWCAP_MASK can disable hwcaps.
17606 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17608 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17610 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17612 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17613 call in strcasestr.
17614 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17615 __strcasestr_sse42_nonascii.
17616 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17617 strcasestr-nonascii.c.
17618 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17620 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17622 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17623 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17624 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17625 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17627 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17629 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17632 2010-07-06 Andreas Schwab <schwab@redhat.com>
17635 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17638 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17640 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17641 _PC_PIPE_BUF using F_GETPIPE_SZ.
17643 2010-07-05 Roland McGrath <roland@redhat.com>
17645 * manual/arith.texi (Rounding Functions): Fix rint description
17646 implicit in round description.
17648 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17650 * elf/Makefile: Fix linking for a few tests to make recent linker
17653 2010-06-30 Andreas Schwab <schwab@redhat.com>
17655 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17656 $(common-objpfx)libc_nonshared.a.
17658 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17660 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17661 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17662 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17663 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17664 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17665 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17666 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17667 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17682 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17683 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17684 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17685 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17686 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17687 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17688 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17689 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17690 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17691 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17692 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17693 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17709 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17711 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17712 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17713 * string/memmove.c (memmove): Renamed to ...
17714 (MEMMOVE): ...this. Default to memmove.
17715 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17716 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17719 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17720 mempcpy-ssse3-back memmove-ssse3-back.
17721 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17722 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17723 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17724 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17725 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17726 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17727 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17728 * sysdeps/x86_64/multiarch/memmove.c: New file.
17729 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17730 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17731 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17732 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17733 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17734 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17736 (index_Fast_Copy_Backward): Define.
17737 (HAS_ARCH_FEATURE): Define.
17738 (HAS_FAST_REP_STRING): Define.
17739 (HAS_FAST_COPY_BACKWARD): Define.
17741 2010-06-21 Andreas Schwab <schwab@redhat.com>
17743 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17744 Restore proper fallback handling.
17746 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17749 * posix/group_member.c (__group_member): Correct checking loop.
17751 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17752 OOM in getpwuid_r correctly. Return error number when the caller
17753 should return, otherwise -1.
17754 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17755 call returning > 0 value.
17756 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17758 2010-06-07 Andreas Schwab <schwab@redhat.com>
17760 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17761 libc_nonshared.a from targets in modules-names.
17763 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17765 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17768 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17770 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17771 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17772 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17773 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17775 2010-06-02 Andreas Schwab <schwab@redhat.com>
17777 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17779 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17781 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17783 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17787 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17788 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17790 2010-06-14 Roland McGrath <roland@redhat.com>
17792 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17794 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17796 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17797 __REDIRECT followed by __THROW.
17798 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17799 * posix/getopt.h (getopt): Likewise.
17801 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17803 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17804 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17805 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17807 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17808 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17810 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17812 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17814 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17818 Properly check family and model.
17820 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17822 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17824 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17826 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17828 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17830 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17833 2010-05-19 Andreas Schwab <schwab@redhat.com>
17835 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17838 2010-05-21 Andreas Schwab <schwab@redhat.com>
17840 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17841 and internal_recvmmsg.
17842 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17843 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17844 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17845 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17847 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17848 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17849 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17851 2010-05-20 Andreas Schwab <schwab@redhat.com>
17853 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17855 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17857 POWER7 optimizations.
17858 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17859 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17861 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17863 * version.h: Update for 2.13 development version.
17865 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17867 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17868 exceptions. Return 0.
17870 2010-05-07 Roland McGrath <roland@redhat.com>
17872 * elf/ldconfig.c (main): Add a const.
17874 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17876 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17877 (args_options): Add no-idn option.
17878 (ahosts_keys_int): Add idn_flags to ai_flags.
17879 (parse_option): Handle 'i' option to clear idn_flags.
17881 * malloc/malloc.c (_int_free): Possible race in the most recently
17882 added check. Only act on the data if no current modification
17885 See ChangeLog.17 for earlier changes.