1 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3 * stdlib/secure-getenv.c (__secure_getenv): Replace
4 GLIBC_2_16 with GLIBC_2_17.
6 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11 2012-08-03 David S. Miller <davem@davemloft.net>
13 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19 (__ASSUME_CORRECT_SI_PID): Likewise.
20 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21 (__ASSUME_TMPFS_NAME): Likewise.
22 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
23 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25 (HAVE_AUX_SECURE): Make definition unconditional.
26 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29 2012-08-03 Roland McGrath <roland@hack.frob.com>
31 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35 __eloop_threshold instead of SYMLOOP_MAX.
37 * sysdeps/generic/eloop-threshold.h: New file.
38 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40 * elf/chroot_canon.c (chroot_canon): Likewise.
42 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46 Change to 2.6.0 everywhere.
47 * sysdeps/unix/sysv/linux/configure: Regenerated.
48 * sysdeps/unix/sysv/linux/kernel-features.h
49 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
50 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52 (__ASSUME_POSIX_TIMERS): Define unconditionally.
53 (__ASSUME_FUTEX_REQUEUE): Remove.
54 (__ASSUME_STATFS64): Define unconditionally.
55 (__ASSUME_AT_SECURE): Likewise.
56 (__ASSUME_CORRECT_SI_PID): Likewise.
57 (__ASSUME_TGKILL): Define without depending on kernel version for
59 (__ASSUME_UTIMES): Likewise.
60 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63 (__ASSUME_TMPFS_NAME): Likewise.
64 * README: Update reference to Linux kernel versions.
66 2012-08-02 Marek Polacek <polacek@redhat.com>
69 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
70 libc_cv_asm_type_prefix with %.
71 * configure: Regenerated.
72 * include/libc-symbols.h: Remove comment about
73 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
76 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
79 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
80 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
81 * elf/tst-unique2mod1.c: Likewise.
82 * elf/tst-unique1mod2.c: Likewise.
83 * elf/tst-unique1mod1.c: Likewise.
84 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
85 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
86 Replace ASM_TYPE_DIRECTIVE with .type.
87 * sysdeps/s390/s390-64/sysdep.h: Likewise.
88 * sysdeps/i386/sysdep.h: Likewise.
89 * sysdeps/x86_64/sysdep.h: Likewise.
90 * sysdeps/sh/sysdep.h: Likewise.
91 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
92 Do not define ASM_TYPE_DIRECTIVE.
93 * sysdeps/powerpc/sysdep.h: Likewise.
94 * sysdeps/powerpc/powerpc32/sysdep.h:
95 Replace ASM_TYPE_DIRECTIVE with .type.
96 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
97 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
98 * sysdeps/i386/fpu/e_powf.S: Likewise.
99 * sysdeps/i386/fpu/e_expl.S: Likewise.
100 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
101 * sysdeps/i386/fpu/e_acosh.S: Likewise.
102 * sysdeps/i386/fpu/e_pow.S: Likewise.
103 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
104 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
105 * sysdeps/i386/fpu/s_expm1.S: Likewise.
106 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
107 * sysdeps/i386/fpu/e_log2.S: Likewise.
108 * sysdeps/i386/fpu/e_log2l.S: Likewise.
109 * sysdeps/i386/fpu/e_scalb.S: Likewise.
110 * sysdeps/i386/fpu/e_powl.S: Likewise.
111 * sysdeps/i386/fpu/e_log10f.S: Likewise.
112 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
113 * sysdeps/i386/fpu/e_logl.S: Likewise.
114 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
115 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
116 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
117 * sysdeps/i386/fpu/e_log2f.S: Likewise.
118 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
119 * sysdeps/i386/fpu/e_log.S: Likewise.
120 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
121 * sysdeps/i386/fpu/e_logf.S: Likewise.
122 * sysdeps/i386/fpu/e_log10l.S: Likewise.
123 * sysdeps/i386/fpu/e_atanh.S: Likewise.
124 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
125 * sysdeps/i386/fpu/e_log10.S: Likewise.
126 * sysdeps/i386/fpu/s_frexp.S: Likewise.
127 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
128 * sysdeps/i386/fpu/s_asinh.S: Likewise.
129 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
130 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
131 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
132 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
133 * sysdeps/i386/i686/strtok.S: Likewise.
134 * sysdeps/i386/i386-mcount.S: Likewise.
135 * sysdeps/i386/strtok.S: Likewise.
136 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
137 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
138 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
139 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
140 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
141 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
142 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
143 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
144 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
145 * sysdeps/x86_64/_mcount.S: Likewise.
146 * sysdeps/x86_64/strtok.S: Likewise.
147 * sysdeps/sh/_mcount.S: Likewise.
149 2012-08-01 Roland McGrath <roland@hack.frob.com>
151 * libio/iofopen.c: Include <fcntl.h>.
152 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
153 (_IO_fopen64, fopen64): Define as aliases.
154 * libio/iofopen64.c: Include <fcntl.h>.
155 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
156 Conditionalize body on this.
157 * sysdeps/wordsize-64/iofopen.c: File removed.
158 * sysdeps/wordsize-64/iofopen64.c: File removed.
160 2012-08-01 Marek Polacek <polacek@redhat.com>
162 * libc/Makeconfig: Use elf in place of binfmt-subdir.
163 Use dlfcn directly instead of a variable.
164 (binfmt-subdir): Do not define.
167 2012-08-01 Joseph Myers <joseph@codesourcery.com>
169 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
170 Remove all definitions.
171 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
173 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
174 (miss_F_GETOWN_EX): Remove all definitions.
175 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
177 [!__ASSUME_FCNTL64]: Remove conditional code.
178 [__ASSUME_FCNTL64]: Make code unconditional.
179 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
181 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
182 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
183 (lockf64) [__NR_fcntl64]: Make code unconditional.
184 (lockf64) [__ASSUME_FCNTL64]: Likewise.
186 * sysdeps/unix/sysv/linux/kernel-features.h
187 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
188 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
189 Make code unconditional.
190 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
191 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
193 [__NR_vfork]: Make code unconditional.
194 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
195 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
197 [__NR_vfork]: Make code unconditional.
198 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
199 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
201 2012-08-01 Roland McGrath <roland@hack.frob.com>
203 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
204 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
206 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
207 Define mkstemp64 as an alias.
208 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
209 Define mkstemps64 as an alias.
210 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
211 Define mkostemp64 as an alias.
212 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
213 Define mkostemps64 as an alias.
214 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
215 Conditionalize body on this.
216 * misc/mkostemp64.c: Likewise.
217 * misc/mkostemps64.c: Likewise.
218 * misc/mkstemps64.c: Likewise.
219 * sysdeps/wordsize-64/mkstemp64.c: File removed.
220 * sysdeps/wordsize-64/mkostemp64.c: File removed.
221 * sysdeps/wordsize-64/mkostemp.c: File removed.
222 * sysdeps/wordsize-64/mkstemp.c: File removed.
223 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
224 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
225 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
226 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
229 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
230 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
231 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
232 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
234 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
235 compat_symbol macros from <shlib-compat.h> rather than the underlying
236 default_symbol_version and symbol_version macros, so that DEFAULT
237 lines in shlib-versions are respected.
238 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
240 2012-08-01 Florian Weimer <fweimer@redhat.com>
242 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
243 Declare with warn_unused_result.
244 (setgid, setregid, setegid, setresgid): Likewise.
245 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
247 * WUR-REPORT: Remove set*id functions.
249 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
251 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
253 2012-07-31 Roland McGrath <roland@hack.frob.com>
255 * include/sys/socket.h (__libc_accept, __libc_accept4):
256 Add attribute_hidden.
257 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
259 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
261 * inet/getnetgrent_r.c (setup): Likewise.
263 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
265 2012-07-31 David S. Miller <davem@davemloft.net>
267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
269 2012-07-31 Joseph Myers <joseph@codesourcery.com>
272 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
273 value between 1.0 and 2.0 and smaller part has absolute value less
275 * math/s_clog10.c (__clog10): Likewise.
276 * math/s_clog10f.c (__clog10f): Likewise.
277 * math/s_clog10l.c (__clog10l): Likewise.
278 * math/s_clogf.c (__clogf): Likewise.
279 * math/s_clogl.c (__clogl): Likewise.
280 * math/libm-test.inc (clog_test): Add more tests.
281 (clog10_test): Likewise.
282 * sysdeps/i386/fpu/libm-test-ulps: Update.
283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
285 2012-07-31 Florian Weimer <fweimer@redhat.com>
287 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
288 Exit with zero in case no suitable GID is found, and write a
289 message to standard error.
291 2012-07-30 Roland McGrath <roland@hack.frob.com>
293 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
295 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
296 (MAXPATHLEN): Removed.
297 (NOGROUP, NODEV): New macros.
298 (setbit, clrbit, isset, isclr): New macros.
299 (howmany, roundup, powerof2): New macros.
300 (DEV_BSIZE): New macro.
302 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
303 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
305 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
306 definition on [!__NO_LONG_DOUBLE_MATH].
308 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
309 PTR_MANGLE and PTR_DEMANGLE.
311 * socket/accept4.c (accept4): Rename to __libc_accept4.
312 Define accept4 as a weak alias.
314 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
315 on [_DIRENT_HAVE_D_TYPE].
316 * io/ftw.c (ftw_dir): Likewise.
318 * io/xmknod.c (__xmknod): Don't check PATH for being null.
320 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
322 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
323 Use the BSD numbers rather than the arbitrary ones we had.
324 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
325 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
326 (SIGXCPU, SIGXFSZ): New macros.
329 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
330 initializer on [_LIBC_REENTRANT].
332 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
333 definitions inside [_POSIX_MAPPED_FILES].
335 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
337 * dirent/opendir.c: Include <fcntl.h>.
339 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
340 (__libc_getspecific): Likewise.
341 (__libc_key_create): Likewise.
343 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
344 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
345 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
346 (tmpfile64): Define as alias.
347 * sysdeps/wordsize-64/tmpfile.c: File removed.
348 * sysdeps/wordsize-64/tmpfile64.c: File removed.
349 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
352 * stdio-common/vfscanf.c: Include <stdbool.h>.
353 * nss/makedb.c: Likewise.
354 * stdio-common/_i18n_number.h: Likewise.
355 * argp/argp-help.c: Likewise.
356 * posix/wordexp.c: Likewise.
357 * sysdeps/posix/spawni.c: Likewise.
358 * nss/nss_files/files-initgroups.c: Likewise.
359 * stdio-common/reg-modifier.c: Include <stdlib.h>.
360 * nss/nss_files/files-initgroups.c: Likewise.
361 * nss/nss_db/db-netgrp.c: Likewise.
362 * nss/nss_db/db-initgroups.c: Likewise.
363 * io/fchmodat.c: Include <sys/stat.h>.
365 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
366 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
368 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
371 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
372 Add multiple inclusion protection.
374 2012-07-27 David S. Miller <davem@davemloft.net>
376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
378 2012-07-27 Gary Benson <gbenson@redhat.com>
381 * elf/rtld.c: Include <stap-probe.h>.
382 (dl_main): Added static probes "init_start" and "init_complete".
383 * elf/dl-load.c: Include <stap-probe.h>.
384 (lose): Take new parameter "nsid".
385 Added static probe "map_failed".
386 (_dl_map_object_from_fd): Pass namespace id to lose.
387 Added static probe "map_start".
388 (open_verify): Pass namespace id to lose.
389 * elf/dl-open.c: Include <stap-probe.h>.
390 (dl_open_worker) Added static probes "map_complete", "reloc_start"
391 and "reloc_complete".
392 * elf/dl-close.c: Include <stap-probe.h>.
393 (_dl_close_worker): Added static probes "unmap_start" and
395 * elf/rtld-debugger-interface.txt: New file documenting the above.
397 2012-07-26 Roland McGrath <roland@hack.frob.com>
399 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
400 rather than a string variable.
401 * sunrpc/rpc_main.c (h_output): Likewise.
402 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
404 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
406 * inet/check_native.c: New file.
408 2012-07-26 Joseph Myers <joseph@codesourcery.com>
411 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
412 if larger part has absolute value 1.0.
413 * math/s_clog10.c (__clog10): Likewise.
414 * math/s_clog10f.c (__clog10f): Likewise.
415 * math/s_clog10l.c (__clog10l): Likewise.
416 * math/s_clogf.c (__clogf): Likewise.
417 * math/s_clogl.c (__clogl): Likewise.
418 * math/libm-test.inc (clog_test): Add more tests.
419 (clog10_test): Likewise.
420 * sysdeps/i386/fpu/libm-test-ulps: Update.
421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
423 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
426 (La_retval): Likewise.
427 (int_retval): Likewise.
428 Update #error for removed macros to refer only to definitions in
430 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
434 (La_retval): Likewise.
435 (int_retval): Likewise.
436 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
440 (La_retval): Likewise.
441 (int_retval): Likewise.
442 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
446 (La_retval): Likewise.
447 (int_retval): Likewise.
448 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
452 (La_retval): Likewise.
453 (int_retval): Likewise.
454 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
458 (La_retval): Likewise.
459 (int_retval): Likewise.
460 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
464 (La_retval): Likewise.
465 (int_retval): Likewise.
466 * sysdeps/generic/tst-audit.h: Update comment to refer only to
467 macro definitions in tst-audit.h.
468 * sysdeps/i386/tst-audit.h: New file.
469 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
470 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
471 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
472 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
473 * sysdeps/sh/tst-audit.h: Likewise.
474 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
475 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
476 * sysdeps/x86_64/tst-audit.h: Likewise.
478 2012-07-26 Andreas Jaeger <aj@suse.de>
480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
483 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
484 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
485 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
487 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
488 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
489 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
491 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
494 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
496 (si_call_addr, si_syscall, si_arch): Define new macro.
497 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
499 (si_call_addr, si_syscall, si_arch): Define new marcro.
500 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
502 (si_call_addr, si_syscall, si_arch): Define new macro.
503 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
505 (si_call_addr, si_syscall, si_arch): Define new macro.
507 2012-07-25 Joseph Myers <joseph@codesourcery.com>
510 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
511 Change to 2.4.21 where previously 2.4.1.
512 * sysdeps/unix/sysv/linux/configure: Regenerated.
513 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
514 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
515 Linux kernel version.
516 (__ASSUME_STD_AUXV): Remove.
517 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
519 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
520 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
521 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
522 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
523 (__ASSUME_NETLINK_SUPPORT): Likewise.
524 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
525 (__no_netlink_support): Remove conditional definition.
526 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
528 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
529 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
530 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
531 (if_nameindex_ioctl): Remove.
532 (if_nameindex_netlink): Do not handle __no_netlink_support.
533 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
535 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
536 Remove conditional code.
537 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
539 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
541 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
542 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
543 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
545 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
546 [!__ASSUME_STD_AUXV]: Remove conditional code.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
548 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
549 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
551 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
552 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
554 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
556 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
557 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
559 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
561 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
564 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
567 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
569 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
571 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
573 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
576 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
578 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
581 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
583 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
585 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
587 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
590 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
592 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
594 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
596 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
599 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
601 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
602 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
603 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
604 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
605 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
606 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
607 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
608 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
609 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
610 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
611 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
612 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
613 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
614 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
615 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
616 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
617 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
618 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
619 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
621 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
622 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
623 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
625 2012-07-25 Florian Weimer <fweimer@redhat.com>
627 * Versions.def: Add GLIBC_2.17.
628 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
629 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
630 Introduce __libc_secure_getenv.
631 * stdlib/Versions (2.17): Add secure_getenv
632 (GLIBC_PRIVATE): Add __libc_secure_getenv.
633 * stdlib/secure-getenv.c: Rename __secure_getenv to
634 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
635 symbol __secure_getenv for GLIBC_2.0.
636 * stdlib/tst-secure-getenv.c: New.
637 * stdlib/Makefile (tests): Add testcase.
638 * manual/startup.texi (Environment Access): Document
640 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
641 __libc_secure_getenv.
642 * inet/ruserpass.c (ruserpass): Likewise.
643 * malloc/mtrace.c (mtrace): Likewise.
644 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
645 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
646 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
647 * sysdeps/posix/tempname.c: Likewise. Evaluate
649 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
650 __secure_getenv to __libc_secure_getenv.
651 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
658 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
664 2012-07-25 Joseph Myers <joseph@codesourcery.com>
666 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
667 (struct La_i86_retval): Likewise.
668 (struct La_x86_64_regs): Likewise.
669 (struct La_x86_64_retval): Likewise.
670 (struct La_x32_regs): Likewise.
671 (struct La_x32_retval): Likewise.
672 (struct La_ppc32_regs): Likewise.
673 (struct La_ppc32_retval): Likewise.
674 (struct La_ppc64_regs): Likewise.
675 (struct La_ppc64_retval): Likewise.
676 (struct La_sh_regs): Likewise.
677 (struct La_sh_retval): Likewise.
678 (struct La_s390_32_regs): Likewise.
679 (struct La_s390_32_retval): Likewise.
680 (struct La_s390_64_regs): Likewise.
681 (struct La_s390_64_retval): Likewise.
682 (struct La_sparc32_regs): Likewise.
683 (struct La_sparc32_retval): Likewise.
684 (struct La_sparc64_regs): Likewise.
685 (struct La_sparc64_retval): Likewise.
686 (struct audit_ifaces): Remove architecture-specific pltenter and
688 * sysdeps/i386/ldsodefs.h: New file.
689 * sysdeps/powerpc/ldsodefs.h: Likewise.
690 * sysdeps/s390/ldsodefs.h: Likewise.
691 * sysdeps/sh/ldsodefs.h: Likewise.
692 * sysdeps/sparc/ldsodefs.h: Likewise.
693 * sysdeps/x86_64/ldsodefs.h: Likewise.
695 2012-07-25 Marek Polacek <polacek@redhat.com>
698 * math/libm-test.inc (yn_test): Add another test.
699 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
700 to ERANGE when the result is +-Inf.
701 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
702 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
703 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
704 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
706 2012-07-24 Joseph Myers <joseph@codesourcery.com>
708 * conform/data/time.h-data (NULL): Use macro-constant. Require
710 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
712 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
714 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
716 * configure.in <sysdeps resolving>: Correct printing
718 * configure: Regenerate.
720 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
722 * math/w_ilogb.c: Include <limits.h>.
723 * math/w_ilogbl.c: Likewise.
725 2012-07-20 Joseph Myers <joseph@codesourcery.com>
727 * manual/lang.texi (__va_copy): Document primarily as ISO C99
728 va_copy. Document allowing for unavailable va_copy only as
729 pre-C99 compatibility.
730 * manual/string.texi (Copying and Concatenation): Use va_copy
731 instead of __va_copy in concat example.
733 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
735 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
736 (__sendto): Use create_address_port. Initialize APORT and deallocate
739 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
740 with O_NOLINK passed to __file_name_lookup.
742 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
743 with O_NOLINK passed to __file_name_lookup.
745 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
746 negative N or less than NGIDS.
748 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
749 type to string_t. Set ERANGE as errno and return it if NAME is not big
750 enough. Use memcpy instead of strncpy.
752 2012-07-20 Joseph Myers <joseph@codesourcery.com>
754 * elf/Makefile (check-data): Remove.
755 (localplt.data): New vpath directive.
756 ($(objpfx)check-localplt.out): Use localplt.data from vpath
757 instead of $(check-data).
758 * scripts/data/localplt-generic.data: Move to ...
759 * sysdeps/generic/localplt.data: ... here.
760 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
761 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
762 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
765 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
768 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
771 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
774 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
777 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
781 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
783 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
784 PPC32 and PPC64 files.
785 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
786 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
788 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
790 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
791 __makecontext_ret to ...
792 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
793 ... here and call exit if uc_link is NULL. New file.
794 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
796 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
797 __makecontext_ret to ...
798 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
799 ... here and call exit if uc_link is NULL. New file.
800 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
803 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
805 * elf/elf.h (R_390_IRELATIVE): New definition.
806 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
807 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
808 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
809 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
810 (elf_machine_lazy_rel): Likewise.
811 * sysdeps/s390/dl-irel.h: New file.
812 * sysdeps/s390/s390-64/memcpy.S: New asm code.
813 * sysdeps/s390/s390-64/memset.S: New asm code.
814 * sysdeps/s390/s390-64/memcmp.S: New asm code.
815 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
816 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
817 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
818 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
819 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
820 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
821 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
822 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
823 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
824 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
825 * sysdeps/s390/s390-32/memcpy.S: New asm code.
826 * sysdeps/s390/s390-32/memset.S: New asm code.
827 * sysdeps/s390/s390-32/memcmp.S: New asm code.
829 2012-07-17 Marek Polacek <polacek@redhat.com>
832 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
833 * sysdeps/s390/s390-64/configure.in: Likewise.
834 * sysdeps/sparc/configure.in: Likewise.
835 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
836 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
837 * sysdeps/i386/configure.in: Likewise.
838 * sysdeps/x86_64/configure.in: Likewise.
839 * sysdeps/sh/configure.in: Likewise.
840 * sysdeps/s390/s390-32/configure: Regenerated.
841 * sysdeps/s390/s390-64/configure: Likewise.
842 * sysdeps/x86_64/configure: Likewise.
843 * sysdeps/sh/configure: Likewise.
844 * sysdeps/powerpc/powerpc64/configure: Likewise.
845 * sysdeps/powerpc/powerpc32/configure: Likewise.
846 * sysdeps/sparc/configure: Likwise.
847 * sysdeps/i386/configure: Likewise.
849 * elf/dl-open.c: Comment fixes.
851 2012-07-17 Joseph Myers <joseph@codesourcery.com>
853 * Makefile [CXX] (check-data): Remove.
854 [CXX] (c++-types.data): New vpath directive.
855 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
856 vpath. Do not allow for C++ type data being missing.
857 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
858 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
859 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
860 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
861 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
862 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
863 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
866 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
869 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
872 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
875 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
878 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
881 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
884 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
887 * elf/tls-macros.h (TLS_LE): Move architecture-specific
888 definitions to architecture-specific files.
892 * sysdeps/i386/tls-macros.h: New file.
893 * sysdeps/powerpc/tls-macros.h: Likewise.
894 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
895 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
896 * sysdeps/sh/tls-macros.h: Likewise.
897 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
898 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
899 * sysdeps/x86_64/tls-macros.h: Likewise.
901 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
903 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
904 zero value for regular exit case.
906 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
907 (__start_context): Preserve zero value for regular exit case.
909 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
910 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
912 * manual/setjmp.texi (setcontext): Clarify normal process
913 termination when uc_link is the null pointer.
914 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
917 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
919 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
920 preprocessor. Test for each exception mask separately.
922 2012-07-16 Andreas Jaeger <aj@suse.de>
924 * po/ru.po: Update from translation team.
926 2012-07-15 Joseph Myers <joseph@codesourcery.com>
928 * conform/data/string.h-data (NULL): Use macro-constant. Require
930 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
931 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
932 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
933 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
934 [ISO || ISO99 || ISO11] (*_t): Do not allow.
936 2012-07-13 Andreas Jaeger <aj@suse.de>
938 * po/fr.po: Update from translation team.
940 2012-07-12 Marek Polacek <polacek@redhat.com>
943 * math/libm-test.inc (yn_test): Add test for BZ #14173.
944 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
947 2012-07-12 Joseph Myers <joseph@codesourcery.com>
950 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
951 Change to 2.4.1 where previously 2.4.0.
952 * sysdeps/unix/sysv/linux/configure: Regenerated.
953 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
954 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
956 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
957 (__ASSUME_AT_CLKTCK): Remove.
958 (__ASSUME_AT_PAGESIZE): Likewise.
959 (__ASSUME_AT_XID): Likewise.
960 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
961 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
962 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
964 (HAVE_AUX_PAGESIZE): Likewise.
965 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
966 [__ASSUME_AT_CLKTCK]: Make code unconditional.
967 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
969 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
973 the temporary buffer used to invoke __gethostbyname2_r,
974 __gethostbyaddr_r and gethostbyname4_r to make room for struct
975 host_data / struct gaih_addrtuple.
976 * resolv/nss_dns/dns-host.c (global scope): Move definition of
977 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
978 header file nss/nsswitch.h.
979 * nss/nsswitch.h (global scope): Add definition of implementation
980 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
981 resolv/nss_dns/dns-host.c).
983 2012-07-11 Andreas Jaeger <aj@suse.de>
985 * po/fr.po: Update from translation team.
987 * po/sv.po: Update from translation team
988 * po/fr.po: Another update from translation team.
990 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
992 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
993 for subnormals or multiply small sinh result by itself.
994 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
997 2012-07-11 David S. Miller <davem@davemloft.net>
999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1001 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1004 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1005 (INTERNAL_MARK): Shift it here.
1007 2012-07-10 Marek Polacek <polacek@redhat.com>
1010 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1011 libc_cv_asm_global_directive with .globl.
1012 * configure: Regenerated.
1013 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1015 * sysdeps/i386/configure: Regenerated.
1016 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1018 * sysdeps/x86_64/configure: Regenerated.
1019 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1020 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1021 * elf/tst-unique2mod2.c: Likewise.
1022 * elf/tst-unique2mod1.c: Likewise.
1023 * elf/tst-unique1mod2.c: Likewise.
1024 * elf/tst-unique1mod1.c: Likewise.
1025 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1026 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1027 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1028 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1029 * sysdeps/mach/sysdep.h: Likewise.
1030 * sysdeps/i386/sysdep.h: Likewise.
1031 * sysdeps/i386/i386-mcount.S: Likewise.
1032 * sysdeps/x86_64/_mcount.S: Likewise.
1033 * sysdeps/x86_64/sysdep.h: Likewise.
1034 * sysdeps/sh/_mcount.S: Likewise.
1035 * sysdeps/sh/sysdep.h: Likewise.
1036 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1037 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1038 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1039 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1040 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1041 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1042 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1043 * locale/localeinfo.h: Likewise.
1044 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1045 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1047 2012-07-09 Roland McGrath <roland@hack.frob.com>
1050 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1052 * manual/message.texi (The Uniforum approach): Likewise.
1053 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1054 (glibc iconv Implementation): Likewise.
1056 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1059 * math/s_clog.c (__clog): Avoid scaling a value down where that
1060 could result in underflow.
1061 * math/s_clog10.c (__clog10): Likewise.
1062 * math/s_clog10f.c (__clog10f): Likewise.
1063 * math/s_clog10l.c (__clog10l): Likewise.
1064 * math/s_clogf.c (__clogf): Likewise.
1065 * math/s_clogl.c (__clogl): Likewise.
1066 * math/libm-test.inc (clog_test): Add more tests.
1067 (clog10_test): Likewise.
1068 * sysdeps/i386/fpu/libm-test-ulps: Update.
1069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1071 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1074 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1075 by 7 not 8 to examine high bit of fractional part.
1078 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1079 for call to __mcount_internal.
1080 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1081 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1082 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1084 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1087 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1088 approximation for values within 0x1p-13f of an odd multiple of
1090 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1091 exception. Add more tests.
1092 * sysdeps/i386/fpu/libm-test-ulps: Update.
1095 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1096 inputs and return -1 for them. Do not check for +Inf in case not
1098 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1099 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1100 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1101 and return -1 for them. Do not check for +Inf in case not
1103 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1105 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1106 and return -1 for them. Do not check for +Inf in case not
1108 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1110 * sysdeps/i386/fpu/libm-test-ulps: Update.
1111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1113 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1115 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1117 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1121 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1122 could result in spurious underflow. Scale down values above
1123 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1124 * math/s_csqrtf.c (__csqrtf): Likewise.
1125 * math/s_csqrtl.c (__csqrtl): Likewise.
1126 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1128 * sysdeps/i386/fpu/libm-test-ulps: Update.
1129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1131 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1133 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1135 * catgets/xopen-msg.awk: New file.
1136 * catgets/xopen-msg.sed: Removed.
1138 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1140 * intl/po2test.awk: New file.
1141 * intl/po2test.sed: Removed.
1143 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1146 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1147 or multiply small sinh result by itself.
1148 * math/s_ctanf.c (__ctanf): Likewise.
1149 * math/s_ctanh.c (__ctanh): Likewise.
1150 * math/s_ctanhf.c (__ctanhf): Likewise.
1151 * math/s_ctanhl.c (__ctanhl): Likewise.
1152 * math/s_ctanl.c (__ctanl): Likewise.
1153 * math/libm-test.inc (ctan_test_tonearest): New function.
1154 (ctan_test_towardzero): Likewise.
1155 (ctan_test_downward): Likewise.
1156 (ctan_test_upward): Likewise.
1157 (ctanh_test_tonearest): Likewise.
1158 (ctanh_test_towardzero): Likewise.
1159 (ctanh_test_downward): Likewise.
1160 (ctanh_test_upward): Likewise.
1161 (main): Call these new functions.
1162 * sysdeps/i386/fpu/libm-test-ulps: Update.
1163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1165 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1167 * .gitignore: Delete /ports entry.
1169 2012-07-03 Andreas Jaeger <aj@suse.de>
1171 * po/bg.po: Update from translation team.
1172 * po/cs.po: Likewise.
1173 * po/de.po: Likewise.
1174 * po/hr.po: Likewise.
1175 * po/nl.pl: Likewise.
1176 * po/pl.po: Likewise.
1177 * po/vi.po: Likewise.
1179 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1181 * Makeconfig [!+link] (+link-before-libc): New variable.
1182 [!+link] (+link-after-libc): Likewise.
1183 [!+link] (+link-tests): Likewise.
1184 [!+link] (+link): Define in terms of $(+link-before-libc) and
1185 $(+link-after-libc).
1186 [!+link-static] (+link-static-before-libc): New variable.
1187 [!+link-static] (+link-static-after-libc): Likewise.
1188 [!+link-static] (+link-static-tests): Likewise.
1189 [!+link-static] (+link-static): Define in terms of
1190 $(+link-static-before-libc) and $(+link-static-after-libc).
1191 [build-shared] (link-libc-before-gnulib): New variable.
1192 [build-shared] (link-libc-tests): Likewise.
1193 [build-shared] (link-libc): Define in terms of
1194 $(link-libc-before-gnulib).
1195 [!build-shared] (link-libc-tests): New variable.
1196 (link-libc-static-tests): New variable.
1197 [!gnulib] (gnulib-arch): New variable.
1198 [!gnulib] (gnulib-tests): Likewise.
1199 [!gnulib] (static-gnulib-arch): Likewise.
1200 [!gnulib] (static-gnulib-tests): Likewise.
1201 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1202 Define with "=" instead of ":=".
1203 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1204 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1205 * Rules (binaries-all-notests): New variable.
1206 (binaries-all-tests): Likewise.
1207 (binaries-static-notests): Likewise.
1208 (binaries-static-tests): Likewise.
1209 (binaries-all): Define using $(binaries-all-notests) and
1210 $(binaries-all-tests).
1211 (binaries-static): Define using $(binaries-static-notests) and
1212 $(binaries-static-tests).
1213 (binaries-shared-tests): New variable.
1214 (binaries-shared-notests): Likewise.
1215 (binaries-shared): Remove variable.
1216 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1217 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1218 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1219 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1220 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1221 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1222 * elf/Makefile (sln-modules): New variable.
1223 (extra-objs): Add $(sln-modules:=.o).
1224 (ldconfig-modules): Add static-stubs.
1225 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1226 * elf/static-stubs.c: New file.
1229 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1230 by 7 not 8 to examine high bit of fractional part. Use volatile
1231 variables when splitting into final array of floats if
1232 __FLT_EVAL_METHOD__ != 0.
1233 * math/libm-test.inc (cos_test): Add another test.
1234 (sin_test): Likewise.
1235 * sysdeps/i386/fpu/libm-test-ulps: Update.
1238 * math/libm-test.inc (cosh_test): Add more tests.
1240 * version.h (RELEASE): Set to "development".
1241 (VERSION): Set to "2.16.90".
1243 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1245 * NEWS: Update copyright. Remove last-updated date.
1246 Mention math library bug fixes and timezone data changes.
1247 * README: Mention GNU/Hurd, x32, and HPPA support status.
1249 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1251 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1253 2012-06-27 Andreas Jaeger <aj@suse.de>
1255 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1257 2012-06-25 Andreas Jaeger <aj@suse.de>
1259 * sysdeps/s390/fpu/libm-test-ulps: Update.
1261 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1262 Thomas Schwinge <thomas@codesourcery.com>
1264 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1265 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1269 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1271 * sysdeps/mach/start.c: Remove file.
1272 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1273 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1274 * sysdeps/sh/init-first.c: Likewise.
1276 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1277 registers for frame unwinding purposes, add CFI directives.
1278 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1279 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1280 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1283 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1284 __fortify_fail returning.
1285 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1287 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1288 sysdeps/sh/____longjmp_chk.S.
1289 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1290 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1291 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1292 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1294 * sysdeps/sh/abort-instr.h: New file.
1295 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1296 process in case exit returns.
1298 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1299 initialize the GOT register before use.
1301 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1302 calculation of ARGC > 4.
1304 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1305 meaningful names to some local labels.
1307 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1308 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1310 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1311 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1312 (__arch_compare_and_exchange_val_16_acq): Likewise.
1313 (__arch_compare_and_exchange_val_32_acq): Likewise.
1314 (atomic_exchange_and_add): Fix gUSA sequence.
1315 (atomic_add): Likewise.
1316 (atomic_add_negative): Likewise.
1317 (atomic_add_zero): Likewise.
1318 (atomic_bit_test_set): Likewise.
1320 2012-06-22 Andreas Schwab <schwab@redhat.com>
1323 * include/link.h (struct link_map): Add l_free_initfini.
1324 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1326 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1327 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1328 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1331 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1333 * configure.in: Use AC_LANG_SOURCE.
1334 * configure: Regenerate.
1336 2012-06-22 Roland McGrath <roland@hack.frob.com>
1338 * configure.in (libc_cv_localstatedir): New substituted variable.
1339 * configure: Regenerated.
1340 * config.make.in (localstatedir): New variable, substituted from
1341 libc_cv_localstatedir.
1342 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1343 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1344 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1345 * sysdeps/gnu/configure: Regenerated.
1347 2012-06-21 Jeff Law <law@redhat.com>
1350 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1351 free. Simplify list management for _LIBC case.
1353 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1356 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1357 Clear sign bit of 64-bit integer value before comparing against
1360 * sysdeps/mach/configure: Regenerated.
1362 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1365 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1367 2012-06-21 Jeff Law <law@redhat.com>
1370 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1371 uint16_t for elements in the "seen" array to avoid char overflows.
1372 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1373 * elf/dl-open.c (dl_open_worker): Likewise.
1375 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1377 * scripts/list-sources.sh: Scan PORTS for translations.
1378 * po/libc.pot: Regenerated.
1380 2012-06-21 Andreas Jaeger <aj@suse.de>
1383 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1385 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1386 * bits/byteswap-16.h (__bswap_16): Likewise.
1387 * bits/byteswap.h (__bswap_constant_16): Likewise.
1389 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1392 * sysdeps/i386/fpu_control.h: Removed.
1393 * sysdeps/x86_64/fpu_control.h: Moved to ...
1394 * sysdeps/x86/fpu_control.h: Here.
1396 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1397 (_FPU_SETCW): Likewise.
1399 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1402 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1403 * sysdeps/x86/fpu/bits/mathinline.h: This.
1404 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1408 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1409 functions if __x86_64__ is defined.
1411 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1413 * string/endian.h: Add !__ASSEMBLER__ condition for including
1414 conversion interfaces.
1416 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1420 of ABS(x) in calculating zero to negative powers other than odd
1422 * math/libm-test.inc (pow_test): Add more tests.
1424 2012-06-15 Andreas Jaeger <aj@suse.de>
1426 * manual/contrib.texi (Contributors): Update entry of Liubov
1427 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1430 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1432 * string/string.h: Add __wur to GNU version of strerror_r.
1434 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1437 * string/Makefile (tests): Add tst-strtok_r.
1438 * string/tst-strtok_r.c: New file.
1439 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1440 RAX_LP/RDX_LP on SAVE_PTR.
1442 2012-06-14 Roland McGrath <roland@hack.frob.com>
1444 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1446 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1448 * libm_test.inc (csqrt_test): Allow more spurious underflow
1450 (j0_test): Likewise.
1451 (j1_test): Likewise.
1452 (y0_test): Likewise.
1453 (y1_test): Likewise.
1455 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1457 * po/Makefile (libc.pot): Use UTF-8 charset.
1459 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1462 Suppress sign-conversion warning from FD_SET.
1463 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1464 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1465 not unsigned long int.
1466 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1468 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1472 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1473 __extern_always_inline instead of __extern_inline.
1474 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1475 (__signbit): Likewise.
1476 (__signbitl): Support C++ namespace.
1477 (lrintf): New inline function.
1479 (llrintf): Likewise.
1491 (nearbyint): Likewise.
1492 (nearbyintf): Likewise.
1494 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1496 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1497 non-default versions.
1499 2012-06-11 Roland McGrath <roland@hack.frob.com>
1502 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1504 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1506 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1507 (FE_UPWARD, FE_DOWNWARD): Don't define.
1508 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1509 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1511 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1513 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1514 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1516 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1518 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1520 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1521 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1523 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1526 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1527 * sysdeps/i386/fpu/Implies: New file.
1528 * sysdeps/x86_64/fpu/Implies: Likewise.
1529 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1530 * sysdeps/x86/fpu/bits/fenv.h: This.
1532 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1535 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1538 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1539 character 0xffff that matches the last element of the
1542 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1544 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1547 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1550 values higher than 25.6283.
1552 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1554 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1555 subnormal exponent extraction and add some __builtin_expect.
1556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1557 Fix for subnormal mantissa calculation.
1559 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1561 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1562 cpu2 is -1 and errno is not ENOSYS.
1564 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1567 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1568 * sysdeps/x86/bits/string.h: This.
1569 * sysdeps/x86_64/bits/string.h: Removed.
1571 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1572 if not compiling for x86-64, but compiling for >= i486.
1574 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1575 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1577 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1578 New macro from Linux kernel 3.4.0.
1579 (FP_XSTATE_MAGIC2): Likewise.
1580 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1581 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1582 (struct _fpx_sw_bytes): New struct.
1583 (struct _xsave_hdr): Likewise.
1584 (struct _ymmh_state): Likewise.
1585 (struct _xstate): Likewise.
1587 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1588 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1589 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1590 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1591 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1592 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1594 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1595 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1596 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1597 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1598 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1599 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1601 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1604 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1605 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1606 (sysdep_headers): Include sys/platform/ppc.h.
1607 * sysdeps/powerpc/test-gettimebase.c: Test for
1608 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1609 * manual/Makefile (appendices): Include platform.texi.
1610 * manual/contrib.texi (Contributors): Update @node pointers.
1611 * manual/maint.texi (Maintenance): Likewise.
1612 (Platform): New node.
1613 * manual/platform.texi: New file. Document the new features.
1615 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1616 Jakub Jelinek <jakub@redhat.com>
1619 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1620 where __builtin_expect is unavailable.
1622 2012-06-03 David S. Miller <davem@davemloft.net>
1624 * stdlib/longlong.h: Updated from GCC.
1626 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1629 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1630 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1633 (GLIBC_2.16): Likewise.
1635 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1637 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1639 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1642 (default-abi): New variable.
1643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1644 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1646 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1648 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1650 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1653 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1654 definition. Document in comment.
1656 2012-06-01 David S. Miller <davem@davemloft.net>
1658 * stdlib/longlong.h: Updated from GCC.
1660 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1663 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1664 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1665 sys/debugreg.h sys/io.h here.
1666 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1667 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1669 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1670 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1671 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1672 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1673 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1674 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1676 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1677 Define only if __x86_64__ is defined.
1679 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1682 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1683 Use int64_t for variable i.
1684 * math/libm-test.inc (fmod_test): Add more tests.
1686 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1687 z computation is not scheduled after fetestexcept.
1688 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1689 Use math_force_eval instead of asm to ensure calculation scheduled
1690 before exception test.
1691 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1692 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1694 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1697 computation is not scheduled after fetestexcept.
1699 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1702 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1703 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1705 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1707 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1708 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1710 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1713 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1715 (__WCHAR_MIN): Support __WORDSIZE == 64.
1716 (__WCHAR_MAX): Likewise.
1718 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1719 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1722 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1723 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1726 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1727 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1729 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1730 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1732 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1733 Defined to 1 if __x86_64__ isn't defined.
1734 (_STAT_VER_LINUX_OLD): New.
1735 (st_atime): Remove duplicate.
1736 (st_mtime): Likewise.
1737 (st_ctime): Likewise.
1739 2012-05-31 David S. Miller <davem@davemloft.net>
1741 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1744 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1746 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1750 * elf/dl-reloc.c: Include <_itoa.h>.
1751 (_dl_reloc_bad_type): Remove use of INTUSE.
1752 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1753 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1754 * stdio-common/psiginfo.c (psiginfo): Likewise.
1755 * stdio-common/psignal.c (psignal): Likewise.
1756 * string/strsignal.c (strsignal): Likewise.
1757 * include/signal.h (_sys_siglist): Declare hidden proto.
1758 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1759 INTVARDEF with libc_hidden_data_def.
1760 * stdio-common/itoa-udigits.c: Likewise.
1761 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1762 (_itoa_lower_digits_internal): Remove declaration.
1763 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1764 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1765 (_sys_sigabbrev_internal): Remove aliases.
1766 (_sys_siglist): Define hidden alias.
1768 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1773 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1776 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1777 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1779 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1780 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1781 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1782 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1783 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1784 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1786 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1787 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1788 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1790 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1798 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1799 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1800 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1802 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1803 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1804 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1805 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1806 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1807 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1809 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1810 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1812 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1813 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1815 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1817 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1819 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1820 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1822 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1824 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1825 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1826 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1828 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1830 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1832 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1834 * math/math.h (M_El): Use two more decimal places.
1835 (M_LOG2El): Likewise.
1836 (M_LOG10El): Likewise.
1838 (M_LN10l): Likewise.
1840 (M_PI_2l): Likewise.
1841 (M_PI_4l): Likewise.
1842 (M_1_PIl): Likewise.
1843 (M_2_PIl): Likewise.
1844 (M_2_SQRTPIl): Likewise.
1845 (M_SQRT2l): Likewise.
1846 (M_SQRT1_2l): Likewise.
1848 2012-05-31 David S. Miller <davem@davemloft.net>
1850 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1851 values between float registers.
1852 * sysdeps/sparc/sparc64/memset.S: Likewise.
1853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1855 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1857 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1858 -D_FORTIFY_SOURCE=1.
1859 (CPPFLAGS-tst-longjmp_chk.c): Define.
1860 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1861 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1862 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1863 CFLAGS-tst-wchar-h.c.
1865 2012-05-31 Marek Polacek <polacek@redhat.com>
1868 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1869 __endmntent_internal): Remove declaration.
1870 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1871 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1872 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1874 2012-05-30 David S. Miller <davem@davemloft.net>
1876 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1877 (___Q_simulate_exceptions): Use real FP ops rather than writing
1879 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1882 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1885 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1886 * sysdeps/x86/bits/xtitypes.h: This.
1888 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1889 * sysdeps/x86/bits/wordsize.h: This.
1891 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1892 * sysdeps/x86/bits/huge_vall.h: This.
1894 * sysdeps/i386/bits/select.h: Removed.
1895 * sysdeps/x86_64/bits/select.h: Renamed to ...
1896 * sysdeps/x86/bits/select.h: This.
1898 * sysdeps/i386/bits/setjmp.h: Removed.
1899 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1900 * sysdeps/x86/bits/setjmp.h: This.
1902 * sysdeps/i386/bits/mathdef.h: Removed.
1903 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1904 * sysdeps/x86/bits/mathdef.h: This.
1906 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1909 * include/sys/socket.h (__connect_internal)
1910 (__libc_sa_len_internal): Remove declaration.
1911 (__connect, __libc_sa_len): Declare hidden_proto.
1912 (SA_LEN): Remove use of INTUSE.
1913 * socket/connect.c: Add libc_hidden_def.
1914 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1915 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1916 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1918 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1919 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1920 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1921 of adding _internal alias.
1923 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1926 * sysdeps/i386/bits/link.h: Removed.
1927 * sysdeps/i386/bits/linkmap.h: Likewise.
1928 * sysdeps/x86_64/bits/link.h: Renamed to ...
1929 * sysdeps/x86/bits/link.h: This.
1930 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1931 * sysdeps/x86/bits/linkmap.h: This.
1933 * sysdeps/i386/bits/endian.h: Removed.
1934 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1935 * sysdeps/x86/bits/endian.h: This.
1937 * sysdeps/i386/bits/byteswap.h: Removed.
1938 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1939 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1940 * sysdeps/x86/bits/byteswap.h: This.
1941 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1942 * sysdeps/x86/bits/byteswap-16.h: This.
1943 * sysdeps/i386/Implies: Add x86.
1944 * sysdeps/x86_64/Implies: Likewise.
1946 2012-05-30 David S. Miller <davem@davemloft.net>
1948 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1949 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1950 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1951 (FP_TRAPPING_EXCEPTIONS): Define.
1952 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1953 (FP_TRAPPING_EXCEPTIONS): Define.
1954 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1955 subnormals only when inexact has been signalled or underflow
1956 exceptions are enabled.
1957 (_FP_PACK_CANONICAL): Likewise.
1959 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1962 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1963 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1965 2012-05-30 Richard Henderson <rth@twiddle.net>
1967 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1968 with #ifndef NOT_IN_libc.
1970 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1971 marked to avoid plt entry.
1973 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1976 * Makeconfig (default-abi): New macro.
1977 (abi-includes): Likewise.
1978 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1979 $(abi-$(default-abi)-lib-soname) for soname if defined.
1980 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1982 * Makefile (installed-stubs): Likewise.
1983 * include/stubs-biarch.h: Removed.
1984 * scripts/lib-names.awk: Only handle one library at a time.
1985 * scripts/soversions.awk: Remove WORDSIZE support.
1986 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1988 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1990 (syscall-list-default-condition): Likewise.
1991 (syscall-list-default-condition): Likewise.
1992 (syscall-list-includes): Likewise.
1993 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1994 syscall-list-* with abi-*. Handle undefined abi-variants.
1995 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1996 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1997 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1998 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1999 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2000 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2002 (syscall-list-32-options): Likewise.
2003 (syscall-list-32-condition): Likewise.
2004 (syscall-list-64-options): Likewise.
2005 (syscall-list-64-condition): Likewise.
2006 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2008 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2011 (abi-64-ld-soname): New macro.
2012 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2013 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2016 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2017 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2019 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2021 * sysdeps/unix/sysv/linux/kernel-features.h
2022 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2023 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2024 include <kernel-features.h>.
2025 [!__NR_ftruncate64]: Remove conditional code.
2026 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2027 [__NR_ftruncate64]: Make code unconditional.
2028 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2029 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2030 include <kernel-features.h>.
2031 [!__NR_ftruncate64]: Remove conditional code.
2032 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2033 [__NR_ftruncate64]: Make code unconditional.
2034 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2036 include <kernel-features.h>.
2037 [!__NR_ftruncate64]: Remove conditional code.
2038 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2039 [__NR_ftruncate64]: Make code unconditional.
2040 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2042 include <kernel-features.h>.
2043 [!__NR_ftruncate64]: Remove conditional code.
2044 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2045 [__NR_ftruncate64]: Make code unconditional.
2046 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2048 * configure.in (libc_cv_fpie): Weaken to a compile test using
2050 * configure: Regenerated.
2052 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2067 2012-05-27 David S. Miller <davem@davemloft.net>
2069 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2071 (__Q_simulate_exceptions): Return void. Change to simulate
2072 exceptions by writing into the %fsr.
2073 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2074 (__Qp_handle_exceptions): Likewise.
2076 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2077 __Qp_handle_exceptions.
2078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2079 __Qp_handle_exceptions.
2080 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2081 as unused and give dummy FP_RND_NEAREST initializer.
2082 (FP_INHIBIT_RESULTS): Define.
2083 (___Q_simulate_exceptions): Update declaration.
2084 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2086 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2087 as unused and give dummy FP_RND_NEAREST initializer.
2088 (__Qp_handle_exceptions): Update declaration.
2089 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2092 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2094 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2095 the temporary FPU control word.
2096 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2097 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2098 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2099 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2100 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2101 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2102 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2103 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2104 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2105 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2106 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2108 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2110 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2113 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2115 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2116 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2117 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2118 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2120 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2121 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2124 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2126 * po/h.po: Update from translation team.
2128 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2130 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2132 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2133 handling of denormals.
2134 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2135 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2136 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2137 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2143 2012-05-26 Marek Polacek <polacek@redhat.com>
2146 * math/libm-test.inc (fma_test): Don't always expect underflow
2149 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2152 * elf/tst-execstack.c: Include stackinfo.h.
2153 (do_test): Adjust test case to ensure that pthread_getattr_np
2154 behaviour remains the same after marking stack executable.
2156 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2158 * sysdeps/unix/sysv/linux/kernel-features.h
2159 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2160 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2162 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2163 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2164 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2166 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2167 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2169 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2171 * configure.in: Define the default includes to being none.
2172 * configure: Regenerated.
2174 2012-05-25 Roland McGrath <roland@hack.frob.com>
2176 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2177 * sysdeps/x86_64/setjmp.S: Likewise.
2178 * sysdeps/i386/bsd-setjmp.S: Likewise.
2179 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2180 * sysdeps/i386/setjmp.S: Likewise.
2181 * sysdeps/i386/__longjmp.S: Likewise.
2182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2183 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2185 * include/stap-probe.h: New file.
2186 * configure.in: Handle --enable-systemtap.
2187 * configure: Regenerated.
2188 * config.h.in (USE_STAP_PROBE): New #undef.
2189 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2190 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2191 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2193 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2197 to 2.4.0 where earlier.
2198 * sysdeps/unix/sysv/linux/configure: Regenerated.
2199 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
2208 [__ASSUME_32BITUIDS]: Make code unconditional.
2209 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2210 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2211 <kernel-features.h>.
2212 [__ASSUME_32BITUIDS]: Make code unconditional.
2213 [!__ASSUME_32BITUIDS]: Remove conditional code.
2214 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2215 <kernel-features.h>.
2216 [__ASSUME_32BITUIDS]: Make code unconditional.
2217 [!__ASSUME_32BITUIDS]: Remove conditional code.
2218 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2219 <kernel-features.h>.
2220 [__ASSUME_32BITUIDS]: Make code unconditional.
2221 [!__ASSUME_32BITUIDS]: Remove conditional code.
2222 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2223 <kernel-features.h>.
2224 [__ASSUME_32BITUIDS]: Make code unconditional.
2225 [!__ASSUME_32BITUIDS]: Remove conditional code.
2226 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2227 <kernel-features.h>.
2228 [__ASSUME_32BITUIDS]: Make code unconditional.
2229 [!__ASSUME_32BITUIDS]: Remove conditional code.
2230 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2231 <kernel-features.h>.
2232 [__ASSUME_32BITUIDS]: Make code unconditional.
2233 [!__ASSUME_32BITUIDS]: Remove conditional code.
2234 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2235 <kernel-features.h>.
2236 [__ASSUME_32BITUIDS]: Make code unconditional.
2237 [!__ASSUME_32BITUIDS]: Remove conditional code.
2238 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2239 <kernel-features.h>.
2240 [__ASSUME_32BITUIDS]: Make code unconditional.
2241 [!__ASSUME_32BITUIDS]: Remove conditional code.
2242 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2243 <kernel-features.h>.
2244 [__ASSUME_32BITUIDS]: Make code unconditional.
2245 [!__ASSUME_32BITUIDS]: Remove conditional code.
2246 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2247 <kernel-features.h>.
2248 [__ASSUME_32BITUIDS]: Make code unconditional.
2249 [!__ASSUME_32BITUIDS]: Remove conditional code.
2250 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2251 <kernel-features.h>.
2252 [__NR_setresgid] (__setresgid): Do not declare.
2253 [__ASSUME_32BITUIDS]: Make code unconditional.
2254 [!__ASSUME_32BITUIDS]: Remove conditional code.
2255 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2256 <kernel-features.h>.
2257 [__NR_setresuid] (__setresuid): Do not declare.
2258 [__ASSUME_32BITUIDS]: Make code unconditional.
2259 [!__ASSUME_32BITUIDS]: Remove conditional code.
2260 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2261 <kernel-features.h>.
2262 [__ASSUME_32BITUIDS]: Make code unconditional.
2263 [!__ASSUME_32BITUIDS]: Remove conditional code.
2264 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2265 <kernel-features.h>.
2266 [__ASSUME_32BITUIDS]: Make code unconditional.
2267 [!__ASSUME_32BITUIDS]: Remove conditional code.
2268 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2269 <kernel-features.h>.
2270 [__ASSUME_32BITUIDS]: Make code unconditional.
2271 [!__ASSUME_32BITUIDS]: Remove conditional code.
2272 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2273 <kernel-features.h>.
2274 [__ASSUME_32BITUIDS]: Make code unconditional.
2275 [!__ASSUME_32BITUIDS]: Remove conditional code.
2276 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2277 <kernel-features.h>.
2278 [__ASSUME_32BITUIDS]: Make code unconditional.
2279 [!__ASSUME_32BITUIDS]: Remove conditional code.
2280 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2281 <kernel-features.h>.
2282 [__ASSUME_32BITUIDS]: Make code unconditional.
2283 [!__ASSUME_32BITUIDS]: Remove conditional code.
2284 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2285 <kernel-features.h>.
2286 [__ASSUME_32BITUIDS]: Make code unconditional.
2287 [!__ASSUME_32BITUIDS]: Remove conditional code.
2288 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2289 <kernel-features.h>.
2290 [__ASSUME_32BITUIDS]: Make code unconditional.
2291 [!__ASSUME_32BITUIDS]: Remove conditional code.
2292 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2293 <kernel-features.h>.
2294 [__ASSUME_32BITUIDS]: Make code unconditional.
2295 [!__ASSUME_32BITUIDS]: Remove conditional code.
2296 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2297 <kernel-features.h>.
2298 [__ASSUME_32BITUIDS]: Make code unconditional.
2299 [!__ASSUME_32BITUIDS]: Remove conditional code.
2300 * sysdeps/unix/sysv/linux/kernel-features.h
2301 (__ASSUME_SETRESUID_SYSCALL): Remove.
2302 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2303 (__ASSUME_32BITUIDS): Likewise.
2304 (__ASSUME_LDT_WORKS): Likewise.
2305 (__ASSUME_O_DIRECTORY): Likewise.
2306 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2307 architecture but not kernel version.
2308 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2309 (__ASSUME_MMAP2_SYSCALL): Likewise.
2310 (__ASSUME_STAT64_SYSCALL): Likewise.
2311 (__ASSUME_IPC64): Likewise.
2312 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2313 <kernel-features.h>.
2314 [__ASSUME_32BITUIDS]: Make code unconditional.
2315 [!__ASSUME_32BITUIDS]: Remove conditional code.
2316 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2317 <kernel-features.h>.
2318 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2319 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2320 132096]: Remove conditional code.
2321 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2322 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2323 <kernel-features.h>.
2324 [__ASSUME_32BITUIDS]: Make code unconditional.
2325 [!__ASSUME_32BITUIDS]: Remove conditional code.
2326 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2327 <kernel-features.h>.
2328 [__ASSUME_32BITUIDS]: Make code unconditional.
2329 [!__ASSUME_32BITUIDS]: Remove conditional code.
2330 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2331 <kernel-features.h>.
2332 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2334 (__setresgid): Do not declare.
2335 [__ASSUME_32BITUIDS]: Make code unconditional.
2336 [!__ASSUME_32BITUIDS]: Remove conditional code.
2337 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2338 <kernel-features.h>.
2339 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2341 (__setresuid): Do not declare.
2342 [__ASSUME_32BITUIDS]: Make code unconditional.
2343 [!__ASSUME_32BITUIDS]: Remove conditional code.
2344 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2345 <kernel-features.h>.
2346 [__ASSUME_32BITUIDS]: Make code unconditional.
2347 [!__ASSUME_32BITUIDS]: Remove conditional code.
2348 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2349 <kernel-features.h>.
2350 [__ASSUME_32BITUIDS]: Make code unconditional.
2351 [!__ASSUME_32BITUIDS]: Remove conditional code.
2353 2012-05-25 Richard Henderson <rth@twiddle.net>
2355 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2356 dl_hwcap to ifunc resolver.
2357 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2359 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2360 dl_hwcap to ifunc resolver.
2361 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2363 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2366 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2367 for |x| <= 2**-26, not 2**-57.
2368 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2371 2012-05-24 Jeff Law <law@redhat.com>
2373 * stdio-common/Makefile (tests): Add bug25.
2374 * stdio-common/bug25.c: New test.
2376 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2379 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2380 multiple of MALLOC_ALIGNMENT in size.
2381 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2383 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2385 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2387 (FILENAME_MAX): Use macro-int-constant.
2388 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2389 (_IOFBF): Use macro-int-constant.
2392 (SEEK_CUR): Likewise.
2393 (SEEK_END): Likewise.
2394 (SEEK_SET): Likewise.
2395 (TMP_MAX): Likewise.
2396 (EOF): Use macro-int-constant. Require < 0.
2397 (NULL): Use macro-constant. Require == 0.
2398 (stdin): Require type to be FILE *.
2401 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2403 (EXIT_SUCCESS): Likewise.
2404 (NULL): Use macro-constant. Require == 0.
2405 (RAND_MAX): Use macro-int-constant.
2406 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2407 [C99-based standards] (strtof): Require function.
2408 [C99-based standards] (strtold): Likewise.
2409 [C99-based standards] (strtoll): Likewise.
2410 [C99-based standards] (strtoull): Likewise.
2411 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2412 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2413 [ISO || ISO99 || ISO11] (math.h): Likewise.
2414 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2415 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2418 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2421 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2422 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2423 * intl/dgettext.c (DCGETTEXT): Likewise.
2424 * intl/gettext.c (DCGETTEXT): Likewise.
2425 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2426 * posix/regex_internal.h (gettext): Likewise.
2427 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2429 * include/argz.h (__argz_count_internal)
2430 (__argz_stringify_internal): Remove declaration.
2431 (__argz_count, __argz_stringify): Declare hidden proto.
2432 * intl/dcgettext.c: Remove use of INTDEF.
2433 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2434 * string/argz-stringify.c: Likewise.
2435 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2436 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2437 Declare hidden proto.
2438 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2439 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2440 Declare hidden proto.
2441 * include/stdio.h (__asprintf_internal): Don't declare.
2442 (__asprintf): Don't define as macro. Declare hidden proto.
2443 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2444 (__fsetlocking): Declare hidden proto.
2445 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2446 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2448 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2449 (_IO_setlinebuf): Remove use of INTUSE.
2450 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2451 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2452 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2454 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2455 (_IO_do_flush): Remove use of INTUSE.
2456 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2457 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2458 (_IO_adjust_column, _IO_least_wmarker)
2459 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2460 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2461 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2462 (_IO_default_doallocate, _IO_wdefault_doallocate)
2463 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2464 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2465 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2466 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2467 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2468 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2469 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2470 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2471 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2472 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2473 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2474 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2475 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2477 (_IO_flush_all_internal, _IO_adjust_column_internal)
2478 (_IO_default_uflow_internal, _IO_default_finish_internal)
2479 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2480 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2481 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2482 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2483 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2484 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2485 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2486 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2487 (_IO_file_close_internal, _IO_file_close_it_internal)
2488 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2489 (_IO_file_init_internal, _IO_file_attach_internal)
2490 (_IO_file_fopen_internal, _IO_file_read_internal)
2491 (_IO_file_sync_internal, _IO_file_seek_internal)
2492 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2493 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2494 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2495 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2496 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2497 (_IO_list_all_internal, _IO_link_in_internal)
2498 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2499 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2500 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2501 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2502 (_IO_do_write_internal, _IO_padn_internal)
2503 (_IO_getline_info_internal, _IO_getline_internal)
2504 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2505 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2506 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2507 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2508 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2509 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2510 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2511 with libc_hidden_ver, remove use of INTUSE.
2512 * libio/genops.c: Likewise.
2513 * libio/freopen.c: Likewise.
2514 * libio/freopen64.c: Likewise.
2515 * libio/iofclose.c: Likewise.
2516 * libio/iofdopen.c: Likewise.
2517 * libio/iofflush.c: Likewise.
2518 * libio/iofflush_u.c: Likewise.
2519 * libio/iofgets.c: Likewise.
2520 * libio/iofgets_u.c: Likewise.
2521 * libio/iofopen.c: Likewise.
2522 * libio/iofopncook.c: Likewise.
2523 * libio/iofread.c: Likewise.
2524 * libio/iofread_u.c: Likewise.
2525 * libio/ioftell.c: Likewise.
2526 * libio/iofwrite.c: Likewise.
2527 * libio/iogetline.c: Likewise.
2528 * libio/iogets.c: Likewise.
2529 * libio/iogetwline.c: Likewise.
2530 * libio/iopadn.c: Likewise.
2531 * libio/iopopen.c: Likewise.
2532 * libio/ioseekoff.c: Likewise.
2533 * libio/ioseekpos.c: Likewise.
2534 * libio/iosetbuffer.c: Likewise.
2535 * libio/iosetvbuf.c: Likewise.
2536 * libio/ioungetc.c: Likewise.
2537 * libio/ioungetwc.c: Likewise.
2538 * libio/iovdprintf.c: Likewise.
2539 * libio/iovsprintf.c: Likewise.
2540 * libio/iovsscanf.c: Likewise.
2541 * libio/memstream.c: Likewise.
2542 * libio/obprintf.c: Likewise.
2543 * libio/oldfileops.c: Likewise.
2544 * libio/oldiofclose.c: Likewise.
2545 * libio/oldiofdopen.c: Likewise.
2546 * libio/oldiofopen.c: Likewise.
2547 * libio/oldiopopen.c: Likewise.
2548 * libio/oldstdfiles.c: Likewise.
2549 * libio/putc.c: Likewise.
2550 * libio/setbuf.c: Likewise.
2551 * libio/setlinebuf.c: Likewise.
2552 * libio/stdfiles.c: Likewise.
2553 * libio/strops.c: Likewise.
2554 * libio/vasprintf.c: Likewise.
2555 * libio/vscanf.c: Likewise.
2556 * libio/vsnprintf.c: Likewise.
2557 * libio/vswprintf.c: Likewise.
2558 * libio/wfiledoalloc.c: Likewise.
2559 * libio/wfileops.c: Likewise.
2560 * libio/wgenops.c: Likewise.
2561 * libio/wmemstream.c: Likewise.
2562 * libio/wstrops.c: Likewise.
2563 * libio/__fpurge.c: Likewise.
2564 * libio/__fsetlocking.c: Likewise.
2565 * assert/assert.c: Likewise.
2566 * debug/fgets_chk.c: Likewise.
2567 * debug/fgets_u_chk.c: Likewise.
2568 * debug/fread_chk.c: Likewise.
2569 * debug/fread_u_chk.c: Likewise.
2570 * debug/gets_chk.c: Likewise.
2571 * debug/obprintf_chk.c: Likewise.
2572 * debug/vasprintf_chk.c: Likewise.
2573 * debug/vdprintf_chk.c: Likewise.
2574 * debug/vsnprintf_chk.c: Likewise.
2575 * debug/vsprintf_chk.c: Likewise.
2576 * malloc/mtrace.c: Likewise.
2577 * misc/error.c: Likewise.
2578 * misc/syslog.c: Likewise.
2579 * stdio-common/asprintf.c: Likewise.
2580 * stdio-common/fxprintf.c: Likewise.
2581 * stdio-common/getw.c: Likewise.
2582 * stdio-common/isoc99_fscanf.c: Likewise.
2583 * stdio-common/isoc99_scanf.c: Likewise.
2584 * stdio-common/isoc99_vfscanf.c: Likewise.
2585 * stdio-common/isoc99_vscanf.c: Likewise.
2586 * stdio-common/isoc99_vsscanf.c: Likewise.
2587 * stdio-common/printf-prs.c: Likewise.
2588 * stdio-common/printf_fp.c: Likewise.
2589 * stdio-common/printf_fphex.c: Likewise.
2590 * stdio-common/printf_size.c: Likewise.
2591 * stdio-common/putw.c: Likewise.
2592 * stdio-common/scanf.c: Likewise.
2593 * stdio-common/sprintf.c: Likewise.
2594 * stdio-common/tmpfile.c: Likewise.
2595 * stdio-common/vfprintf.c: Likewise.
2596 * stdio-common/vfscanf.c: Likewise.
2597 * stdlib/strfmon_l.c: Likewise.
2598 * sunrpc/openchild.c: Likewise.
2599 * sunrpc/xdr_stdio.c: Likewise.
2600 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2601 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2603 2012-05-24 Roland McGrath <roland@hack.frob.com>
2605 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2607 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2608 in the third column, to generate for the shared library an IFUNC
2609 that uses _dl_vdso_vsym.
2610 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2611 * Makeconfig (object-suffixes-noshared): New variable.
2613 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2614 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2615 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2616 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2619 * include/sys/time.h (__gettimeofday): Remove macro.
2620 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2621 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2623 (__gettimeofday): Add libc_hidden_def.
2624 (gettimeofday): Add libc_hidden_weak.
2625 * sysdeps/mach/gettimeofday.c: Likewise.
2626 * sysdeps/posix/gettimeofday.c: Likewise.
2627 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2628 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2629 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2630 (__gettimeofday_internal): Remove strong_alias.
2631 (__gettimeofday): Add libc_hidden_def.
2632 (gettimeofday): Add libc_hidden_weak.
2633 * sysdeps/unix/syscalls.list (gettimeofday):
2634 Remove __gettimeofday_internal alias.
2636 2012-05-24 Daniel Jacobowitz <drow@false.org>
2637 H.J. Lu <hongjiu.lu@intel.com>
2640 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2641 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2642 (largebin_index_32_big): New.
2643 (largebin_index): Use it for 16-byte alignment.
2644 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2645 correction with front_misalign.
2647 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2675 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2676 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2678 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2682 * math/libm-test.inc (exp_test): Add test from bug 14036.
2683 (pow_test): Add test from bug 10846.
2685 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2687 (special_function): Do not include flags in test name.
2688 (parse_args): Likewise.
2689 * sysdeps/i386/fpu/libm-test-ulps: Update.
2690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2691 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2692 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2695 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2697 * math/libm-test.inc ("Philosophy"): Update comment about
2699 (UNDERFLOW_EXCEPTION): New macro.
2700 (UNDERFLOW_EXCEPTION_OK): Likewise.
2701 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2702 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2703 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2704 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2705 (INVALID_EXCEPTION_OK): Update value.
2706 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2707 (OVERFLOW_EXCEPTION_OK): Likewise.
2708 (IGNORE_ZERO_INF_SIGN): Likewise.
2709 (test_exceptions): Handle underflow exceptions.
2710 (acos_test): Update for underflow exception expectations.
2711 (cexp_test): Likewise.
2712 (clog_test): Likewise.
2713 (clog10_test): Likewise.
2714 (csqrt_test): Likewise.
2715 (ctan_test): Likewise.
2716 (ctanh_test): Likewise.
2717 (exp_test): Likewise.
2718 (exp10_test): Likewise.
2719 (exp2_test): Likewise.
2720 (expm1_test): Likewise.
2721 (fma_test): Likewise.
2722 (j0_test): Likewise.
2723 (jn_test): Likewise.
2724 (nexttoward_test): Likewise.
2725 (pow_test): Likewise.
2726 (scalbn_test): Likewise.
2727 (scalbln_test): Likewise.
2728 (tan_test): Likewise.
2729 (y1_test): Likewise.
2730 * sysdeps/i386/fpu/libm-test-ulps: Update.
2731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2733 2012-05-23 David S. Miller <davem@davemloft.net>
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2736 (__libc_sigaction): Remove unused local variables.
2738 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2740 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2742 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2744 mktime: avoid signed integer overflow
2745 * time/mktime.c (__mktime_internal): Do not mishandle the case
2746 where diff == INT_MIN.
2748 mktime: simplify computation of average
2749 * time/mktime.c (ranged_convert): Use new time_t_avg function
2750 instead of rolling our own (probably-slower) code.
2752 mktime: do not assume signed right shift propagates sign bit
2753 * time/mktime.c (isdst_differ): New static function.
2754 (__mktime_internal): No need to normalize tm_isdst now.
2755 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2758 mktime: merge another wrapv change from gnulib
2759 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2760 from some compilers.
2762 mktime: remove incorrect attempt at unusual arithmetics
2763 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2764 The code didn't really work on such machines anyway.
2765 (TYPE_MINIMUM): Assume two's complement.
2766 (twos_complement_arithmetic): Verify that long_int and time_t
2767 are two's complement (or unsigned, in the latter case).
2769 mktime: check signed shifts on long_int and time_t, too
2770 * time/mktime.c (SHR): Check that shifts work as desired
2771 on the types long_int and time_t too, as SHR is used on
2774 mktime: do not assume 'long' is wide enough
2775 * time/mktime.c (verify): Move decl up.
2776 (long_int): New type.
2777 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2778 to remove assumption in the code that 'long' is wide enough to
2779 store year values. This assumption is not true on x32 and on
2780 some non-glibc platforms.
2782 mktime: merge wrapv change from gnulib
2783 * time/mktime.c (WRAPV): New macro.
2784 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2785 (guess_time_tm, __mktime_internal): Do not assume that signed
2786 integer overflow wraps around; modern compilers generate code
2787 where this assumption is no longer valid.
2789 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2791 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2792 Replace "jmp L(pseudo_end)" with "ret".
2793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2796 2012-05-23 Andreas Jaeger <aj@suse.de>
2798 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2799 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2801 2012-05-23 Andreas Jaeger <aj@suse.de>
2802 Maximilian Attems <max@stro.at>
2804 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2807 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2809 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2810 code so that pseudo_end is just ret and the stack pointer is
2811 correct also for static library in error case.
2813 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2815 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2816 move to syscalls.list.
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2822 * manual/install.texi (Running make install): Do not mention Linux
2823 kernel version for which pt_chown is not needed.
2824 (Linux): Do not mention problems with nscd with 2.0 kernels.
2825 * INSTALL: Regenerated.
2827 2012-05-23 Andreas Jaeger <aj@suse.de>
2829 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2830 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2832 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2833 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2834 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2835 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2836 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2837 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2838 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2839 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2840 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2841 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2842 * sysdeps/unix/sysv/linux/bits/in.h
2843 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2845 2012-05-22 Roland McGrath <roland@hack.frob.com>
2847 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2848 (PREPARE_VERSION): Just use assert instead, it will be elided
2849 under [NDEBUG] anyway.
2851 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2853 * sysdeps/unix/sysv/linux/Makefile: Include
2854 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2855 (sysdep_routines): Remove sysctl.
2856 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2857 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2858 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2859 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2860 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2862 2012-05-22 Andreas Jaeger <aj@suse.de>
2864 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2865 that pseudo_end is just ret and the stack pointer is correct also
2866 for static library in error case.
2868 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2871 * nss/nsswitch.c (defconfig_entries): New variable.
2872 (__nss_database_lookup): Don't leak defconfig entries.
2873 (nss_parse_service_list): Don't leak on error paths.
2874 (free_database_entries): New function.
2875 (free_defconfig): New function.
2876 (free_mem): Move common code to free_database_entries.
2878 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2880 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2882 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2884 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2885 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2888 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2889 (INTERNAL_SYSCALL_TYPES): Likewise.
2890 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2891 (LOAD_REGS_TYPES_[1-6]): Likewise.
2892 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2893 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2895 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2897 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2898 copysignl for GLIBC_2_0.
2899 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2900 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2902 logbl for GLIBC_2_0.
2903 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2904 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2906 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2909 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2911 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2914 * time/mktime.c: Update copyright years.
2916 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2918 mktime: merge comment-quoting-style change from gnulib
2919 * time/mktime.c: Quote 'like this' in comments.
2920 The GNU coding standards suggest that we no longer quote `like this',
2921 as "`" and "'" are typically rendered asymmetrically nowadays.
2922 The typical gnulib style is to quote 'like this' when quoting
2923 code, and "like this" when quoting English.
2925 * time/mktime.c (compile-command): Add "-I.".
2927 mktime: merge mktime-internal.h change from gnulib
2928 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2930 mktime: merge time_r change from gnulib
2931 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2933 mktime: merge DEBUG change from gnulib
2934 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2935 case system <time.h> has a #define.
2937 mktime: merge <sys/types.h> change from gnulib
2938 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2939 since <time.t> is now guaranteed to define time_t.
2941 mktime: merge HAVE_CONFIG_H change from gnulib
2942 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2944 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2949 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2951 (struct rusage): Use anonymous union to pad each field to
2954 2012-05-21 David S. Miller <davem@davemloft.net>
2956 * Makefules (o-iterator): Remove .s cases.
2957 (compile-command.s): Delete.
2958 (COMPILE.s): Delete.
2959 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2961 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2963 * configure.in (libc_cv_predef_stack_protector): Only consider
2964 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2965 * configure: Regenerated.
2967 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2970 New macro. Use R*LP on int and pointer.
2971 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2972 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2973 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2974 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2976 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2977 [__WORDSIZE_TIME64_COMPAT32] instead of
2978 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2979 (struct utmp): Likewise.
2980 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2981 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2983 (__WORDSIZE_TIME64_COMPAT32): This.
2984 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2985 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2986 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2987 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2988 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2989 (__WORDSIZE_TIME64_COMPAT32): New macro.
2991 2012-05-21 Andreas Jaeger <aj@suse.de>
2993 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2994 only if [SHARED]. Add prototype for __wcschr_ia32.
2996 2012-05-21 Roland McGrath <roland@hack.frob.com>
2998 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2999 of %rbp unmolested in the jmp_buf while mangling the low bits.
3000 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3001 unmolested high bits of %rbp while demangling the low bits.
3002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3004 2012-05-21 Andreas Jaeger <aj@suse.de>
3006 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3007 * sunrpc/svc_simple.c: Use it for registerrpc.
3008 * sunrpc/xcrypt.c: Use it for passwd2des.
3010 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3012 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3014 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3015 Don't define if [__SYSCALL_WORDSIZE != 32].
3016 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3019 2012-05-21 Bruno Haible <bruno@clisp.org>
3020 Andreas Jaeger <aj@suse.de>
3022 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3023 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3024 inptr and inend for must_buffer_ch.
3025 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3026 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3027 * stdio-common/Makefile (tests): Remove bug15.
3028 (bug15-ENV): Remove macro.
3029 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3032 2012-05-19 Andreas Jaeger <aj@suse.de>
3033 Roland McGrath <roland@hack.frob.com>
3035 * manual/contrib.texi: Completely rewritten. It contains now an
3036 alphabetical list of contributors and their contributions.
3038 2012-05-21 Richard Henderson <rth@twiddle.net>
3040 * misc/getauxval.c (__getauxval): Use unsigned long int.
3041 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3042 (getauxval): Use unsigned long int.
3044 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3046 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3048 2012-05-21 Roland McGrath <roland@hack.frob.com>
3050 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3051 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3052 __alignof__ (long double).
3054 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3058 2012-05-20 Richard Henderson <rth@twiddle.net>
3060 * misc/getauxval.c: New file.
3061 * misc/sys/auxv.h: New file.
3062 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3063 (routines): Add getauxval.
3064 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3065 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3066 * elf/dl-sysdep.c (_dl_auxv): Remove.
3067 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3068 * elf/dl-support.c (_dl_auxv): New variable.
3069 (_dl_aux_init): Initialize it.
3070 * manual/startup.texi (Auxiliary Vector): New node.
3071 * sysdeps/generic/bits/hwcap.h: New file.
3072 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3073 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3074 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3075 * sysdeps/sparc/sysdep.h: ... here. Include it.
3076 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3077 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3083 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3089 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3093 2012-05-19 David S. Miller <davem@davemloft.net>
3095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3097 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3100 * math/s_ccosh.c: Include <float.h>
3101 (__ccosh): Avoid internal overflow calculating sinh and cosh
3102 values before multiplying by sin and cos values.
3103 * math/s_ccoshf.c: Likewise.
3104 * math/s_ccoshl.c: Likewise.
3105 * math/s_csin.c: Likewise.
3106 * math/s_csinf.c: Likewise.
3107 * math/s_csinl.c: Likewise.
3108 * math/s_csinh.c: Likewise.
3109 * math/s_csinhf.c: Likewise.
3110 * math/s_csinhl.c: Likewise.
3111 * math/libm-test.inc (ccos_test): Add more tests.
3112 (ccosh_test): Likewise.
3113 (csin_test): Likewise.
3114 (csinh_test): Likewise.
3115 * sysdeps/i386/fpu/libm-test-ulps: Update.
3116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3118 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3120 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3121 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3123 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3125 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3127 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3128 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3129 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3130 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3131 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3132 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3133 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3134 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3135 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3136 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3137 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3138 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3139 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3140 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3141 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3142 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3143 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3144 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3145 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3146 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3147 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3148 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3149 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3150 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3151 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3152 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3153 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3154 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3155 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3156 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3157 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3159 2012-05-18 Andreas Jaeger <aj@suse.de>
3161 * csu/.gitignore: Delete.
3163 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3165 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3166 (timex): Use __syscall_slong_t.
3168 2012-05-18 Andreas Jaeger <aj@suse.de>
3169 Carlos O'Donell <carlos_odonell@mentor.com>
3171 * manual/install.texi (Configuring and compiling): Update
3172 description about files modified in the source directory.
3173 * INSTALL: Regenerated.
3175 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3177 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3178 value. Use "or" to set return value to -1.
3179 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3180 negate return value.
3182 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3184 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3185 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3186 failure if the compiler has Graphite support disabled.
3187 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3189 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3190 CFLAGS-memmove.c): Likewise.
3191 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3194 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3196 * sysdeps/x86_64/x32/_itoa.h: New file.
3198 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3199 getdents system call only if kernel and user dirents have the
3200 same d_ino and d_off.
3202 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3203 LLONG_MAX != LONG_MAX.
3204 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3205 (_fitoa_word): Likewise.
3207 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3209 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3210 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3211 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3213 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3214 include <bits/wordsize.h>. Check __x86_64__ instead of
3216 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3217 if __x86_64__ is defined. Use anonymous union on fpstate.
3219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3222 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3224 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3225 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3226 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3227 Refer to _rtld_local_ro instead of _rtld_global_ro.
3228 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3230 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3232 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3234 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3235 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3236 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3238 * sysdeps/powerpc/powerpc32/dl-machine.c
3239 (__elf_machine_runtime_setup) [PROF]: Don't reference
3242 2012-05-18 Andreas Jaeger <aj@suse.de>
3244 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3245 function only available for GCCs before 3.4 since GCC 3.4
3246 introduced a builtin.
3248 (llrintf): Likewise.
3256 (nearbyint): Likewise.
3257 (nearbyintf): Likewise.
3263 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3265 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3266 on both fields and cast pointer to __syscall_ulong_t.
3268 * bits/types.h (__fsword_t): New type.
3269 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3270 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3271 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3272 (__FSWORD_T_TYPE): Likewise.
3273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3274 (__FSWORD_T_TYPE): Likewise.
3275 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3276 (__FSWORD_T_TYPE): Likewise.
3277 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3278 (__FSWORD_T_TYPE): Likewise.
3279 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3280 __SWORD_TYPE with __fsword_t.
3281 (statfs64): Likewise.
3283 2012-05-17 David S. Miller <davem@davemloft.net>
3285 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3287 2012-05-17 Andreas Jaeger <aj@suse.de>
3289 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3292 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3294 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3296 2012-05-17 Andreas Jaeger <aj@suse.de>
3298 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3301 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3303 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3305 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3307 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3308 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3310 2012-05-17 Andreas Jaeger <aj@suse.de>
3311 Carlos O'Donell <carlos_odonell@mentor.com>
3314 * sysdeps/x86_64/multiarch/init-arch.h
3315 (bit_YMM_Usable): Rename to...
3316 (bit_AVX_Usable): ... this.
3317 (bit_FMA4_Usable): New macro.
3318 (bit_XMM_state): New macro.
3319 (bit_YMM_state): New macro.
3320 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3321 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3322 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3323 (CPUID_OSXSAVE): New macro.
3324 (CPUID_AVX): New macro.
3325 (CPUID_FMA4): New macro.
3326 (index_YMM_Usable): Rename to...
3327 (index_AVX_Usable): ... this.
3328 (HAS_AVX): Use HAS_ARCH_FEATURE.
3329 (HAS_FMA4): Likewise.
3330 (HAS_YMM_USABLE): Remove.
3331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3332 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3334 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3335 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3336 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3337 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3338 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3340 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3342 * math/libm-test.c: Support platforms without multiple rounding modes.
3343 * math/bug-nextafter.c: Support platforms without FP exceptions.
3344 * math/bug-nexttoward.c: Likewise.
3345 * math/test-fenv.c: Likewise.
3346 * math/test-misc.c: Likewise.
3347 * stdlib/bug-getcontext.c: Likewise.
3349 2012-05-17 Andreas Jaeger <aj@suse.de>
3351 * manual/examples/search.c (critter_cmp): Change signature to
3353 * manual/string.texi (Collation Functions): Likewise.
3355 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3357 * bits/types.h: Fold copyright years.
3358 * bits/typesizes.h: Likewise.
3359 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3362 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3363 * time/time.h: Likewise.
3365 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3368 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3369 in instead of returning them. Return void.
3370 (__libc_mallinfo): Accumulate over all arenas.
3371 (__malloc_stats): Adjust for change in int_mallinfo interface.
3373 2012-05-16 Roland McGrath <roland@hack.frob.com>
3376 * configure.in (NM): Add AC_CHECK_TOOL for it.
3377 (libc_extra_cflags): New substituted variable.
3378 Check for -fstack-protector being used implicitly.
3379 * configure: Regenerated.
3380 * config.make.in (config-extra-cflags): New variable,
3381 gets @libc_extra_cflags@.
3382 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3385 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3386 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3387 * configure: Regenerated.
3388 * config.make.in (CPPUNDEFS): New substituted variable.
3389 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3390 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3391 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3393 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3395 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3396 (mq_attr): Use __syscall_slong_t.
3398 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3400 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3401 Check __x86_64__ instead of __WORDSIZE.
3402 (_STAT_VER_LINUX): Likewise.
3403 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3404 __syscall_ulong_t and __syscall_slong_t.
3407 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3409 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3411 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3413 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3415 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3417 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3420 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3421 include <bits/wordsize.h>. Check __x86_64__ instead of
3423 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3425 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3427 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3428 include <bits/wordsize.h>. Check __x86_64__ instead of
3430 (user_regs_struct): Use "__extension__ unsigned long long"
3431 instead of "unsigned long" if __x86_64__ is defined.
3432 (user): Likewise. Pad after pointer field if __ILP32__ is
3435 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3437 * configure.in (makeinfo): Require version 4.5 or later. Allow
3439 * configure: Regenerated.
3440 * manual/install.texi (texinfo): Increase version requirement to
3442 * INSTALL: Regenerated.
3444 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3446 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3448 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3450 * sysdeps/x86_64/x32/ffs.c: New file.
3452 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3454 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3455 defined. Use __syscall_ulong_t.
3456 (shminfo): Use __syscall_ulong_t.
3457 (shm_info): Likewise.
3459 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3462 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3464 (msgqnum_t): Use __syscall_ulong_t.
3465 (msglen_t): Likewise.
3466 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3469 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3470 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3472 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3474 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3475 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3477 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3480 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3481 include <bits/wordsize.h>. Check __x86_64__ instead of
3484 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3485 "unsigned long long int" if __x86_64__ is defined.
3486 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3488 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3489 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3490 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3492 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3494 (GET_PC): Cast to uintptr_t first.
3495 (GET_FRAME): Likewise.
3496 (GET_STACK): Likewise.
3498 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3499 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3500 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3501 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3502 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3503 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3504 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3505 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3506 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3508 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3509 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3510 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3511 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3512 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3513 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3514 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3519 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3520 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3521 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3522 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3523 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3524 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3525 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3526 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3528 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3530 * Makerules (+depfiles): Also collect depfiles from .oS in
3532 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3533 .oS, $(libnldbl-routines)).
3535 * Makerules (native-compile-mkdep-flags): Define.
3536 * sunrpc/Makefile (extra-objs): Add $(addprefix
3537 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3538 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3539 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3540 calling $(make-target-directory).
3542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3544 * bits/types.h (__snseconds_t): Removed.
3545 * time/time.h (struct timespec): Replace __snseconds_t with
3547 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3548 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3551 (__SNSECONDS_T_TYPE): Likewise.
3552 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3553 (__SNSECONDS_T_TYPE): Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3555 (__SNSECONDS_T_TYPE): Likewise.
3557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3559 * sysdeps/mach/hurd/bits/typesizes.h
3560 (__SYSCALL_SLONG_TYPE): New macro.
3561 (__SYSCALL_ULONG_TYPE): Likewise.
3563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3565 * bits/types.h (__syscall_slong_t): New type.
3566 (__syscall_ulong_t): Likewise.
3568 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3569 (__SYSCALL_ULONG_TYPE): Likewise.
3570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3571 (__SYSCALL_SLONG_TYPE): Likewise.
3572 (__SYSCALL_ULONG_TYPE): Likewise.
3573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3574 (__SYSCALL_SLONG_TYPE): Likewise.
3575 (__SYSCALL_ULONG_TYPE): Likewise.
3576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3577 (__SYSCALL_SLONG_TYPE): Likewise.
3578 (__SYSCALL_ULONG_TYPE): Likewise.
3580 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3582 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3583 Add sigaltstack-offsets.sym.
3584 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3585 <sigaltstack-offsets.h>.
3586 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3587 longjmp_msg pointer.
3588 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3589 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3591 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3593 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3595 * elf/stackguard-macros.h: Remove file.
3596 * sysdeps/generic/stackguard-macros.h: New file.
3597 * sysdeps/i386/stackguard-macros.h: Likewise.
3598 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3599 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3600 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3601 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3602 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3603 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3604 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3605 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3606 <elf/stackguard-macros.h>.
3609 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3610 __aligned__ in attribute.
3611 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3612 (gregset_t): Likewise.
3614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3616 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3617 * sysdeps/x86_64/64/Implies-after: Here. New file.
3618 * sysdeps/x86_64/x32/Implies-after: New file.
3620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3622 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3623 and access return value for _dl_profile_fixup. Use R10_LP to
3626 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3628 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3632 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3633 * sysdeps/x86_64/x32/sysdep.h: New file.
3635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3637 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3638 * sysdeps/x86_64/setjmp.S: Likewise.
3640 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3642 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3643 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3644 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3645 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3646 remove unused global constant.
3648 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3650 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3651 include of <not-cancel.h>.
3653 2012-05-15 Roland McGrath <roland@hack.frob.com>
3655 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3657 2012-05-15 Jeff Law <law@redhat.com>
3658 Andreas Jaeger <aj@suse.de>
3661 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3663 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3664 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3665 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3666 code changing __hst_map_handle.map.
3668 2012-05-15 Roland McGrath <roland@hack.frob.com>
3670 * configure.in (sysnames): Look for Implies-before and Implies-after
3672 * configure: Regenerated.
3674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3676 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3677 8-byte data alignment with LP_SIZE alignment.
3679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3681 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3684 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3686 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3690 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3691 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3692 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3694 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3696 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3698 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3699 (stackinfo_sub_sp): Likewise.
3701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3703 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3708 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3713 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3718 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3722 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3723 into R11_LP and load __x86_64_shared_cache_size_half into
3726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3728 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3731 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3739 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3740 powerpc32/power7/fpu/s_logb.c via #include.
3741 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3742 powerpc32/power7/fpu/s_logbf.c via #include.
3743 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3744 powerpc32/power7/fpu/s_logbl.c via #include.
3746 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3748 * README.libm: Remove file.
3750 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3752 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3753 count for x32. Use R*_LP and omit operand-size suffix.
3755 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3757 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3758 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3759 * sysdeps/x86_64/x32/shlib-versions: New file.
3761 2012-05-14 Roland McGrath <roland@hack.frob.com>
3763 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3764 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3765 Use _dl_fatal_printf instead.
3767 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3769 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3770 set if not set by the user. Do not allow for being unset.
3771 * sysdeps/unix/sysv/linux/configure: Regenerated.
3773 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3775 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3776 the `q' suffix from lea and replace .quad with ASM_ADDR.
3778 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3781 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3783 (PTR_DEMANGLE): Likewise.
3785 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3787 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3789 (ASM_ADDR): Likewise.
3807 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3809 * sysdeps/x86_64/x32/dl-machine.h: New file.
3811 2012-05-14 Andreas Jaeger <aj@suse.de>
3813 * manual/Makefile (subdir): Remove export of subdir.
3814 (all): Remove target.
3815 (.PHONY): Remove all from list.
3816 (mkinstalldirs): Remove.
3817 (.PHONY): Remove installdirs from list.
3818 ($(inst_infodir)/libc.info): Use make-target-directory.
3819 (installdirs): Remove.
3821 (glibc-targets): Remove.
3824 ($(objpfx)stubs ../po/manual.pot): Remove.
3825 ($(objpfx)stamp%): Remove.
3826 (make-target-directory): Remove.
3827 (subdir_install): Remove.
3835 * manual/.gitignore: Remove, it's not needed anymore.
3836 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3838 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3840 (texis): Renamed to $(objpfx)texis.
3841 (texis-path): New, contains path to generated files.
3842 (chapters.%): Use texis-path for complete path, add extra argument
3844 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3845 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3846 (summary,texi, stamp-summary): Use complete path of
3847 files. Generate files in build dir.
3848 (dir-add.texi): Build in build dir.
3849 (libm-err.texi,stamp-libm-err): Likewise.
3850 (version.texi, stamp-version): Likewise.
3851 (.%c.texi): Likewise.
3852 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3853 (mostlyclean): Remove target.
3854 (realclean): Remove target.
3855 (generated): Add new variable with contents from mostlyclean and
3856 realclean, remove entries duplicated in common-mostlyclean, add
3857 stamp-libm-err and stamp-version.
3858 (generated-dirs): Add libc directory.
3859 ($(inst_infodir)/libc.info): Install files from build dir.
3861 * manual/install.texi (Configuring and compiling): Adjust since
3862 the info files are not part of the tar ball anymore.
3864 2012-05-14 Andreas Jaeger <aj@suse.de>
3866 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3869 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3872 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3873 to 2.2.0 where earlier.
3874 * sysdeps/unix/sysv/linux/configure: Regenerated.
3875 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3876 Remove conditional code.
3877 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3878 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3879 Remove conditional code.
3880 [!__NR_lchown]: Likewise.
3881 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3882 [__NR_lchown]: Likewise.
3883 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3884 comment referencing __ASSUME_LCHOWN_SYSCALL.
3885 * sysdeps/unix/sysv/linux/i386/sigaction.c
3886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3888 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3889 Remove conditional code.
3890 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3891 (__protocol_available): Remove #if 0 code.
3892 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3894 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3895 * sysdeps/unix/sysv/linux/kernel-features.h
3896 (__ASSUME_GETCWD_SYSCALL): Don't define.
3897 (__ASSUME_REALTIME_SIGNALS): Likewise.
3898 (__ASSUME_PREAD_SYSCALL): Likewise.
3899 (__ASSUME_PWRITE_SYSCALL): Likewise.
3900 (__ASSUME_POLL_SYSCALL): Likewise.
3901 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3902 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3904 (__ASSUME_SIOCGIFNAME): Don't define.
3905 (__ASSUME_MSG_NOSIGNAL): Likewise.
3906 (__ASSUME_SENDFILE): Define unconditionally.
3907 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3908 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3910 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3911 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3912 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3913 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3914 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3915 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3916 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3918 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3921 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3924 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3927 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3930 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3933 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3936 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3941 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3942 Remove conditional code.
3943 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3944 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3945 Remove conditional code.
3946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3947 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3948 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3949 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3950 Remove conditional code.
3951 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3952 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3953 Remove conditional code.
3954 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3955 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3956 Remove conditional code.
3957 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3958 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3959 Remove conditional code.
3960 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3961 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3962 Remove conditional code.
3963 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3964 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3965 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3966 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3967 * sysdeps/unix/sysv/linux/sigaction.c
3968 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3969 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3970 * sysdeps/unix/sysv/linux/sigpending.c
3971 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3972 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3973 * sysdeps/unix/sysv/linux/sigprocmask.c
3974 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3975 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3976 * sysdeps/unix/sysv/linux/sigsuspend.c
3977 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3978 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3979 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3980 (__libc_missing_rt_sigs): Remove.
3981 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3982 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3983 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3984 Remove conditional code.
3985 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3986 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3988 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3989 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3990 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3991 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3993 2012-05-14 Andreas Jaeger <aj@suse.de>
3995 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3996 it's not used in glibc.
3997 (__coshm1): Likewise.
3998 (__acosh1p): Likewise.
4001 * manual/string.texi (Copying and Concatenation): Add missing
4002 variable in concat example.
4003 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4005 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4009 __builtin_clzl with __builtin_clzll.
4011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4014 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4017 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4019 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4020 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4021 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4022 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4024 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4026 * NEWS: Update ia64 info.
4028 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4030 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4033 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4035 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4036 * sysdeps/unix/syscalls.list (dup3): Likewise.
4037 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4038 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4040 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4042 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4043 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4045 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4047 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4049 (TLS_IE): Use mov/add instead of movq/addq to load thread
4051 (TLS_GD_PREFIX): New.
4054 2012-05-11 David S. Miller <davem@davemloft.net>
4056 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4057 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4058 (_FPU_SETCW): Likewise.
4060 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4062 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4065 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4068 * iconvdata/gb18030.c: Update tables.
4069 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4070 characters specially.
4071 (BODY for TO_LOOP): Add encoding of missing ranges.
4073 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4076 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4077 * sysdeps/mach/hurd/dup3.c: Likewise.
4078 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4079 * sysdeps/powerpc/memmove.c:: Likewise.
4081 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4084 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4086 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4088 * elf/elf.h (R_X86_64_RELATIVE64): New.
4089 (R_X86_64_NUM): Updated.
4090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4091 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4092 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4093 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4094 tst-quad1pie tst-quad2pie
4095 (modules-names): Add tst-quadmod1 tst-quadmod2.
4096 ($(objpfx)tst-quad1): New dependency.
4097 ($(objpfx)tst-quad2): Likewise.
4098 ($(objpfx)tst-quad1pie): Likewise.
4099 ($(objpfx)tst-quad2pie): Likewise.
4100 * sysdeps/x86_64/tst-quad1.c: New file.
4101 * sysdeps/x86_64/tst-quad1pie.c: New file.
4102 * sysdeps/x86_64/tst-quad2.c: Likewise.
4103 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4104 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4105 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4106 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4107 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4109 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4111 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4112 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4113 * streams/stropts.h (t_scalar_t): Define type.
4115 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4116 (_PATH_PRESERVE): Set to "/var/lib".
4117 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4119 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4122 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4123 if __dir_mkfile succeeded.
4125 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4126 checking for _hurd_dtablesize. Unlock it right after having
4127 finished _hurd_dtable allocation.
4129 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4131 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4132 * sysdeps/mach/hurd/configure: Regenerated.
4133 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4134 special-casing to...
4135 * sysdeps/gnu/configure.in: ... this new file.
4136 * sysdeps/unix/sysv/linux/configure: Regenerated.
4137 * sysdeps/gnu/configure: New generated file.
4139 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4140 for Linux: use nsec instead of usec, as well as:
4141 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4142 members of type struct timespec.
4143 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4145 (struct stat64): Likewise.
4146 (_STATBUF_ST_NSEC): New macro.
4147 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4149 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4150 __strtoul_internal rather than strtoul.
4152 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4154 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4159 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4160 which preserves existing values.
4161 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4163 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4165 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4166 TIMEOUT values. Return EINVAL for NFDS values either negative or
4167 greater than FD_SETSIZE.
4169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4171 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4172 allocated, call __vm_protect to finish enabling the existing space, and
4173 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4174 allocate the remainder.
4176 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4178 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4179 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4181 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4183 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4184 sysdeps/mach/hurd/readlink.c.
4186 * posix/tst-sysconf.c (posix_options): Only use
4187 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4188 _POSIX_SYNCHRONIZED_IO when they are defined
4189 * sysdeps/mach/hurd/bits/posix_opt.h:
4190 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4191 (_XOPEN_REALTIME): Undefine macro.
4192 (_XOPEN_REALTIME_THREADS): Undefine macro.
4193 (_XOPEN_SHM): Undefine macro.
4194 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4196 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4198 (_POSIX_ASYNC_IO): Undefine macro.
4199 (_POSIX_PRIORITIZED_IO): Undefine macro.
4200 (_POSIX_SPIN_LOCKS): Define macro to -1.
4202 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4203 SA_NODEFER, SA_RESETHAND.
4204 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4205 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4208 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4210 * elf/Makefile (pldd-modules): Define unconditionally.
4212 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4214 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4218 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4219 Return ENOENT when name is empty.
4220 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4222 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4224 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4226 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4228 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4230 Fix mlock in all cases except non-readable pages.
4231 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4232 instead of VM_PROT_ALL as parameter to __vm_wire function.
4234 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4235 (__mkdir): When path is `/', just fail with EEXIST.
4236 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4238 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4240 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4241 <sys/uio.h> (for writev).
4242 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4243 and <sys/param.h> (for MIN).
4245 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4247 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4248 REQUESTED_TIME. Properly set the remaining time and return EINTR
4251 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4253 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4254 Depend on against $(link-rpcuserlibs).
4256 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4258 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4259 (__libc_stack_end): Do not use attribute_relro.
4260 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4261 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4262 to libthread-provided value.
4263 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4266 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4269 * bits/libc-lock.h (__libc_once_get): New macro.
4270 * sysdeps/mach/bits/libc-lock.h: Likewise.
4271 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4272 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4273 instead of using implementation details.
4275 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4276 * libio/freopen.c: Likewise.
4277 * libio/freopen64.c: Likewise.
4278 * misc/syslog.c: Likewise.
4279 * nscd/connections.c: Likewise.
4280 * nscd/netgroupcache.c: Likewise.
4281 * sysdeps/posix/getcwd.c: Likewise.
4283 2012-05-10 Roland McGrath <roland@hack.frob.com>
4285 * math/w_ilogbf.c: Add #include <limits.h>.
4287 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4289 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4290 path instead of returning without unlocking.
4292 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4293 immediate-write ioctls.
4294 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4296 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4298 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4299 __builtin_frame_address instead of making assumptions about the
4300 location of the return address relative to DATA. Force early load of
4302 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4303 __builtin_frame_address.
4306 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4307 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4308 implement dup3 and do some further code clean-ups.
4309 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4310 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4312 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4314 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4316 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4317 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4318 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4319 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4320 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4323 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4324 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4325 when handler == SIG_ERR, not when handler != SIG_ERR.
4327 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4329 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4330 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4333 accept4 for GNU Hurd.
4334 * include/sys/socket.h (__libc_accept4): New prototype.
4335 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4336 to implement __libc_accept4.
4337 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4339 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4341 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4342 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4343 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4346 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4348 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4350 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4352 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4353 assertion on O_CLOEXEC flag.
4354 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4355 * hurd/intern-fd.c: Likewise.
4356 * hurd/port2fd.c: Likewise.
4358 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4361 * bits/in.h (IPV6_PKTINFO): Define new macro.
4362 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4364 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4369 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4370 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4371 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4372 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4374 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4375 * math/libm-test.inc (logb_test) : Additional logb tests.
4377 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4378 Andreas Jaeger <aj@suse.de>
4380 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4381 * configure: Regenerated.
4382 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4383 * config.make.in (link-obsolete-rpc): New substituted variable.
4384 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4385 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4386 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4387 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4388 so that libc.a contains the symbols.
4389 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4390 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4391 * sunrpc/auth_none.c: Likewise.
4392 * sunrpc/auth_unix.c: Likewise.
4393 * sunrpc/authdes_prot.c: Likewise.
4394 * sunrpc/authuxprot.c: Likewise.
4395 * sunrpc/clnt_gen.c: Likewise.
4396 * sunrpc/clnt_perr.c: Likewise.
4397 * sunrpc/clnt_raw.c: Likewise.
4398 * sunrpc/clnt_simp.c: Likewise.
4399 * sunrpc/clnt_tcp.c: Likewise.
4400 * sunrpc/clnt_udp.c: Likewise.
4401 * sunrpc/clnt_unix.c: Likewise.
4402 * sunrpc/des_crypt.c: Likewise.
4403 * sunrpc/des_soft.c: Likewise.
4404 * sunrpc/get_myaddr.c: Likewise.
4405 * sunrpc/key_call.c: Likewise.
4406 * sunrpc/key_prot.c: Likewise.
4407 * sunrpc/netname.c: Likewise.
4408 * sunrpc/pm_getmaps.c: Likewise.
4409 * sunrpc/pm_getport.c: Likewise.
4410 * sunrpc/pmap_clnt.c: Likewise.
4411 * sunrpc/pmap_prot.c: Likewise.
4412 * sunrpc/pmap_prot2.c: Likewise.
4413 * sunrpc/pmap_rmt.c: Likewise.
4414 * sunrpc/publickey.c: Likewise.
4415 * sunrpc/rpc_cmsg.c: Likewise.
4416 * sunrpc/rpc_common.c: Likewise.
4417 * sunrpc/rpc_dtable.c: Likewise.
4418 * sunrpc/rpc_prot.c: Likewise.
4419 * sunrpc/rpc_thread.c: Likewise.
4420 * sunrpc/rtime.c: Likewise.
4421 * sunrpc/svc.c: Likewise.
4422 * sunrpc/svc_auth.c: Likewise.
4423 * sunrpc/svc_raw.c: Likewise.
4424 * sunrpc/svc_run.c: Likewise.
4425 * sunrpc/svc_tcp.c: Likewise.
4426 * sunrpc/svc_udp.c: Likewise.
4427 * sunrpc/svc_unix.c: Likewise.
4428 * sunrpc/svcauth_des.c: Likewise.
4429 * sunrpc/xcrypt.c: Likewise.
4430 * sunrpc/xdr.c: Likewise.
4431 * sunrpc/xdr_array.c: Likewise.
4432 * sunrpc/xdr_float.c: Likewise.
4433 * sunrpc/xdr_intXX_t.c: Likewise.
4434 * sunrpc/xdr_mem.c: Likewise.
4435 * sunrpc/xdr_rec.c: Likewise.
4436 * sunrpc/xdr_ref.c: Likewise.
4437 * sunrpc/xdr_sizeof.c: Likewise.
4438 * sunrpc/xdr_stdio.c: Likewise.
4440 2012-05-10 Roland McGrath <roland@hack.frob.com>
4442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4443 change. Update copyright years.
4445 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4447 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4449 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4450 Joseph Myers <joseph@codesourcery.com>
4451 Paul Pluzhnikov <ppluzhnikov@google.com>
4454 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4456 [cross-compiling] (extra-libs): Likewise.
4457 [cross-compiling] (extra-libs-others): Likewise.
4458 [cross-compiling] (librpcsvc-routines): Likewise.
4459 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4460 [cross-compiling] (omit-deps): Likewise.
4461 (sunrpc-CPPFLAGS): New variable.
4462 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4463 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4464 (cross-rpcgen-objs): New variable.
4465 (extra-objs): Append $(cross-rpcgen-objs).
4466 ($(cross-rpcgen-objs)): New rule.
4467 ($(objpfx)cross-rpcgen): Likewise.
4468 (rpcgen-cmd): Define to use $(built-program-file). Expand
4470 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4471 ($(objpfx)x%.stmp): Likewise.
4472 * sunrpc/proto.h [IS_IN_build] (_): Define.
4473 [IS_IN_build] (_libc_intl_domainname): Likewise.
4475 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4478 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4479 and R_X86_64_TPOFF64.
4481 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4483 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4484 sysdeps/unix/sysv/syscalls.list.
4487 * sysdeps/unix/sysv/syscalls.list: Remove file.
4489 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4492 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4493 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4494 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4495 (__LC_IDENTIFICATION): Make these macros useful in #if
4496 expressions, as required by C99.
4498 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4500 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4501 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4504 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4506 * stdlib/longlong.h: Updated from GCC.
4508 2012-05-09 Andreas Jaeger <aj@suse.de>
4510 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4511 default is first entry.
4512 (run_mode): Set type.
4513 (main): Remove informal message about syslog.
4514 (options): Fix typo.
4517 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4520 (llrintf): Likewise.
4524 (nearbyint): Likewise.
4525 (nearbyintf): Likewise.
4527 2012-05-09 Andreas Jaeger <aj@suse.de>
4528 Pedro Alves <palves@redhat.com>
4530 * nscd/nscd.c (run_mode): Use enum.
4531 (main): Cleanup coding style issue.
4533 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4534 Andreas Jaeger <aj@suse.de>
4536 * nscd/nscd.c (go_background): Replaced with...
4537 (run_mode): ... this.
4538 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4539 (options): Add -F --foreground.
4540 (main): Implement it.
4541 (parse_opt): Parse it.
4543 2012-05-09 Andreas Jaeger <aj@suse.de>
4546 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4547 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4548 -Wconversion warning.
4549 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4552 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4554 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4556 (LC_ALL): Use macro-int-constant.
4557 (LC_COLLATE): Likewise.
4558 (LC_CTYPE): Likewise.
4559 (LC_MESSAGES): Likewise.
4560 (LC_MONETARY): Likewise.
4561 (LC_NUMERIC): Likewise.
4562 (LC_TIME): Likewise.
4563 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4564 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4565 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4566 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4568 [C99-based standards] (float_t): Expect type.
4569 [C99-based standards] (double_t): Expect type.
4570 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4572 [C99-based standards] (HUGE_VALL): Likewise.
4573 [C99-based standards] (INFINITY): Likewise.
4574 [C99-based standards] (NAN): Likewise.
4575 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4576 [C99-based standards] (FP_NAN): Likewise.
4577 [C99-based standards] (FP_NORMAL): Likewise.
4578 [C99-based standards] (FP_SUBNORMAL): Likewise.
4579 [C99-based standards] (FP_ZERO): Likewise.
4580 [C99-based standards] (FP_FAST_FMA): Use
4581 optional-macro-int-constant. Specify type. Require == 1.
4582 [C99-based standards] (FP_FAST_FMAF): Likewise.
4583 [C99-based standards] (FP_FAST_FMAL): Likewise.
4584 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4585 [C99-based standards] (FP_ILOGBNAN): Likewise.
4586 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4588 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4589 [C99-based standards] (math_errhandling): Specify type.
4590 [ISO99 || ISO11] (signgam): Do not allow.
4591 [non-C99-based standards] (copysignf): Do not allow.
4592 [non-C99-based standards] (exp2f): Likewise.
4593 [non-C99-based standards] (log2f): Likewise.
4594 [non-C99-based standards] (modff): Allow.
4595 [non-C99-based standards] (erff): Do not allow.
4596 [non-C99-based standards] (erfcf): Likewise.
4597 [non-C99-based standards] (gammaf): Likewise.
4598 [non-C99-based standards] (hypotf): Likewise.
4599 [non-C99-based standards] (j0f): Likewise.
4600 [non-C99-based standards] (j1f): Likewise.
4601 [non-C99-based standards] (jnf): Likewise.
4602 [non-C99-based standards] (lgammaf): Likewise.
4603 [non-C99-based standards] (tgammaf): Likewise.
4604 [non-C99-based standards] (y0f): Likewise.
4605 [non-C99-based standards] (y1f): Likewise.
4606 [non-C99-based standards] (ynf): Likewise.
4607 [non-C99-based standards] (isnanf): Likewise.
4608 [non-C99-based standards] (acoshf): Likewise.
4609 [non-C99-based standards] (asinhf): Likewise.
4610 [non-C99-based standards] (atanhf): Likewise.
4611 [non-C99-based standards] (cbrtf): Likewise.
4612 [non-C99-based standards] (expm1f): Likewise.
4613 [non-C99-based standards] (ilogbf): Likewise.
4614 [non-C99-based standards] (log1pf): Likewise.
4615 [non-C99-based standards] (logbf): Likewise.
4616 [non-C99-based standards] (nextafterf): Likewise.
4617 [non-C99-based standards] (remainderf): Likewise.
4618 [non-C99-based standards] (rintf): Likewise.
4619 [non-C99-based standards] (scalbf): Likewise.
4620 [non-C99-based standards] (copysignl): Likewise.
4621 [non-C99-based standards] (exp2l): Likewise.
4622 [non-C99-based standards] (log2l): Likewise.
4623 [non-C99-based standards] (modfl): Allow.
4624 [non-C99-based standards] (erfl): Do not allow.
4625 [non-C99-based standards] (erfcl): Likewise.
4626 [non-C99-based standards] (gammal): Likewise.
4627 [non-C99-based standards] (hypotl): Likewise.
4628 [non-C99-based standards] (j0l): Likewise.
4629 [non-C99-based standards] (j1l): Likewise.
4630 [non-C99-based standards] (jnl): Likewise.
4631 [non-C99-based standards] (lgammal): Likewise.
4632 [non-C99-based standards] (tgammal): Likewise.
4633 [non-C99-based standards] (y0l): Likewise.
4634 [non-C99-based standards] (y1l): Likewise.
4635 [non-C99-based standards] (ynl): Likewise.
4636 [non-C99-based standards] (isnanl): Likewise.
4637 [non-C99-based standards] (acoshl): Likewise.
4638 [non-C99-based standards] (asinhl): Likewise.
4639 [non-C99-based standards] (atanhl): Likewise.
4640 [non-C99-based standards] (cbrtl): Likewise.
4641 [non-C99-based standards] (expm1l): Likewise.
4642 [non-C99-based standards] (ilogbl): Likewise.
4643 [non-C99-based standards] (log1pl): Likewise.
4644 [non-C99-based standards] (logbl): Likewise.
4645 [non-C99-based standards] (nextafterl): Likewise.
4646 [non-C99-based standards] (remainderl): Likewise.
4647 [non-C99-based standards] (rintl): Likewise.
4648 [non-C99-based standards] (scalbl): Likewise.
4649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4650 [non-C99-based standards] (FP_*): Do not allow.
4651 [C99-based standards] (FP_*): Change to
4652 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4653 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4655 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4656 (SIG_ERR): Likewise.
4657 [X/Open-based standards] (SIG_HOLD): Likewise.
4658 (SIG_IGN): Likewise.
4659 (SIGABRT): Use macro-int-constant. Specify type. Require
4664 (SIGSEGV): Likewise.
4666 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4667 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4668 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4669 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4670 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4671 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4672 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4673 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4674 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4675 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4676 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4677 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4678 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4679 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4680 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4681 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4682 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4683 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4684 [X/Open-based standards] (SIGTRAP): Likewise.
4685 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4686 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4687 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4688 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4689 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4692 2012-05-08 Ian Wienand <ianw@vmware.com>
4695 * time/tzset.c (__tzset_parse_tz): Update default rules for
4696 daylight time changes in the Energy Policy Act of 2005.
4698 2012-05-09 Andreas Jaeger <aj@suse.de>
4701 * elf/ldconfig.c (parse_conf): Change string to make clear that
4702 ldconfig only issued a warning if ld.so.conf does not exist.
4704 2012-05-08 David S. Miller <davem@davemloft.net>
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4707 movxtod instead of popping the value on the stack.
4709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4711 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4713 * config.h.in: Add HAVE_ARM_PCS_VFP.
4715 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4718 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4719 checking but the checks are disabled for any reason.
4721 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4723 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4724 and ELF64_R_TYPE with ELFW(R_TYPE).
4726 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4728 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4731 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4732 (settimeofday): Likewise.
4734 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4736 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4737 a struct th_u2 inside the union, and move tu_block/tu_code into
4738 a new th_u3 union of tu_block/tu_code inside of that. Move
4739 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4740 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4741 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4742 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4743 (th_stuff): Change to th_u1.tu_stuff.
4745 (th_msg): Change to th_u1.th_u2.tu_data.
4747 2012-05-07 David S. Miller <davem@davemloft.net>
4749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4752 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4753 (SETUP_PIC_REG): Use it.
4754 (SETUP_PIC_REG_LEAF): Use it.
4756 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4760 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4762 (EXPL_FINITE): Likewise.
4764 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4765 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4767 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4769 (EXPL_FINITE): Likewise.
4771 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4772 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4774 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4775 test of -max_value argument for long double.
4776 * sysdeps/i386/fpu/libm-test-ulps: Update.
4777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4779 2012-05-06 David S. Miller <davem@davemloft.net>
4781 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4782 quad soft-float symbols whose references which are compiler
4784 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4786 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4790 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4792 (EXPL_FINITE): Likewise.
4796 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4797 Adjust comments for base varying.
4798 (__expl_finite): Change alias to EXPL_FINITE.
4799 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4801 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4802 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4803 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4804 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4805 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4807 (EXPL_FINITE): Likewise.
4811 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4812 Adjust comments for base varying.
4813 (__expl_finite): Change alias to EXPL_FINITE.
4814 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4819 * math/libm-test.inc (check_float_internal): Correct ulp
4820 calculation for subnormal expected results.
4822 2012-05-06 Andreas Jaeger <aj@suse.de>
4824 * Makeconfig (+math-flags): New, set to -frounding-math.
4825 (+cflags): Add +math-flags so that all of glibc gets compiled with
4828 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4830 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4832 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4838 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4839 (__ieee754_expl): Allow for and saturate large arguments.
4840 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4841 (u_threshold): Likewise.
4842 (__exp): Call __ieee754_exp before checking for overflow and
4844 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4845 (u_threshold): Likewise.
4846 (__expf): Call __ieee754_expf before checking for overflow and
4848 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4849 (u_threshold): Likewise.
4850 (__expl): Call __ieee754_expl before checking for overflow and
4852 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4853 (__ieee754_expl): Allow for and saturate large arguments.
4854 * math/libm-test.inc (exp_test): Add another test. Do not allow
4855 missing overflow exception on overflow.
4856 (expm1_test): Do not allow missing overflow exception on overflow.
4858 * sysdeps/i386/fpu/e_expl.c: Move to ...
4859 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4860 rather than using inline asm.
4861 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4862 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4863 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4865 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4872 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4874 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4875 sysdeps/unix/common/syscalls.list.
4878 (ftruncate): Likewise.
4879 (getrusage): Likewise.
4880 (gettimeofday): Likewise.
4881 (setpgid): Likewise.
4882 (setregid): Likewise.
4883 (setreuid): Likewise.
4884 (sigaction): Likewise.
4885 (truncate): Likewise.
4886 (vhangup): Likewise.
4887 * sysdeps/unix/common/syscalls.list: Remove file.
4888 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4889 * sysdeps/unix/sysv/linux/Implies: Likewise.
4891 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4893 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4895 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4899 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4902 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4905 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4908 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4911 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4914 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4917 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4921 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4925 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4928 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4932 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4936 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4938 * sysdeps/unix/common/bits/dirent.h: Remove file.
4939 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4941 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4942 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4943 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4944 * sysdeps/unix/bsd/isatty.c: Likewise.
4945 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4946 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4947 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4949 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4952 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4953 long double comparison inaccuracies.
4954 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4957 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4959 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4960 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4962 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4965 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4966 nonzero digits before rounding a hex value.
4967 * stdlib/tst-strtod.c (tests): Add another test.
4969 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4971 * sysdeps/s390/fpu/libm-test-ulps: Update.
4973 2012-05-03 Andreas Jaeger <aj@suse.de>
4975 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4976 does not get optimized out.
4977 (malloc_opt_barrier): New.
4979 2012-05-03 Andreas Jaeger <aj@suse.de>
4980 Roland McGrath <roland@hack.frob.com>
4982 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4983 intermediate file deletion.
4984 (generated): Add .symlist files.
4986 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4989 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4990 Redirect under this condition.
4991 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4992 [__USE_GNU] (__dprintf_chk): Not under this condition.
4993 [__USE_GNU] (__vdprintf_chk): Likewise.
4994 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4995 under this condition.
4996 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4997 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4998 [__USE_XOPEN2K8] (vdprintf): Likewise.
4999 [__USE_GNU] (__dprintf_chk): Not under this condition.
5000 [__USE_GNU] (__vdprintf_chk): Likewise.
5001 [__USE_GNU] (dprintf): Likewise.
5002 [__USE_GNU] (vdprintf): Likewise.
5004 2012-05-03 Roland McGrath <roland@hack.frob.com>
5006 * elf/Makefile (common-generated): Set this instead of generated for
5007 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5008 $(all-built-dso)-derived lists.
5010 2012-05-03 Andreas Jaeger <aj@suse.de>
5012 * sysdeps/i386/fpu/libm-test-ulps: Update.
5016 * scripts/gen-FAQ.pl: Likewise.
5017 * manual/install.texi (Installation): Point to online location of
5019 * Makefile (files-for-dist): Remove FAQ.
5022 2012-05-02 Allan McRae <allan@archlinux.org>
5024 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5025 (LDFLAGS-reldepmod5.so): Likewise.
5026 (LDFLAGS-reldep6mod1.so): Likewise.
5027 (LDFLAGS-reldep6mod4.so): Likewise.
5028 (LDFLAGS-reldep8mod3.so): Likewise.
5029 (LDFLAGS-unload4mod1.so): Likewise.
5030 (LDFLAGS-unload4mod2.so): Likewise.
5031 (LDFLAGS-tst-initorder): Likewise.
5032 (LDFLAGS-tst-initordera2.so): Likewise.
5033 (LDFLAGS-tst-initordera3.so): Likewise.
5034 (LDFLAGS-tst-initordera4.so): Likewise.
5035 (LDFLAGS-tst-initorderb2.so): Likewise.
5036 (LDFLAGS-noload): Likewise.
5037 (LDFLAGS-next): Likewise.
5038 (LDFLAGS-order2mod1.so): Likewise.
5039 (LDFLAGS-order2mod2.so): Likewise.
5040 (LDFLAGS-tst-initorder2): Likewise.
5041 (LDFLAGS-tst-initorder2a.so): Likewise.
5042 (LDFLAGS-tst-initorder2b.so): Likewise.
5043 (LDFLAGS-tst-initorder2c.so): Likewise.
5044 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5046 2012-05-02 David S. Miller <davem@davemloft.net>
5048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5050 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5053 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5055 2012-05-02 Andreas Jaeger <aj@suse.de>
5057 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5058 since we manipulate rounding mode.
5059 (CPPFLAGS-test-idouble.c): Likewise.
5060 (CPPFLAGS-test-ifloat.c): Likewise.
5061 (CFLAGS-test-ldouble.c): Likewise.
5062 (CFLAGS-test-double.c): Likewise.
5063 (CFLAGS-test-float.c): Likewise.
5064 (CFLAGS-test-misc.c): Likewise.
5065 (CFLAGS-test-test-fenv.c): Likewise.
5067 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5071 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5072 comparisons to determine direction to adjust input.
5074 2012-05-01 Roland McGrath <roland@hack.frob.com>
5076 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5077 output to the target.
5079 * scripts/localplt.awk: New file.
5080 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5081 (check-localplt-CFLAGS): Variable removed.
5082 ($(all-built-dso:=.jmprel)): New static pattern rule.
5083 (generated): Add those targets.
5084 (localplt-built-dso): New variable.
5085 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5087 * elf/check-localplt.c: File removed.
5089 * scripts/check-execstack.awk: New file.
5090 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5091 (check-execstack-CFLAGS): Variable removed.
5092 ($(objpfx)check-execstack.h): Target removed.
5093 ($(objpfx)execstack-default): New target.
5094 (generated): Add that instead of check-execstack.h.
5095 ($(all-built-dso:=.phdr)): New static pattern rule.
5096 (generated): Add those targets.
5097 * elf/check-execstack.c: File removed.
5099 * scripts/check-textrel.awk: New file.
5100 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5101 (check-textrel-CFLAGS): Variable removed.
5102 (all-built-dso): Use := to define.o
5103 ($(all-built-dso:=.dyn)): New static pattern rule.
5104 (generated): Add those targets.
5105 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5106 * config.make.in (READELF): New substituted variable.
5107 * elf/check-textrel.c: File removed.
5109 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5111 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5113 * conform/data/ctype.h-data [C99-based standards] (isblank):
5115 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5116 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5118 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5119 Specify type. Require positive value.
5122 [ISO || POSIX] (EILSEQ): Do not expect.
5123 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5124 Specify type. Require positive value.
5125 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5129 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5130 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5131 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5132 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5133 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5135 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5136 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5137 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5138 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5139 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5140 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5141 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5142 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5143 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5144 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5145 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5146 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5147 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5148 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5149 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5150 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5151 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5152 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5153 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5154 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5155 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5156 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5157 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5158 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5159 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5160 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5161 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5162 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5163 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5164 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5165 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5166 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5167 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5168 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5169 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5170 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5171 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5172 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5173 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5174 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5175 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5176 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5177 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5178 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5179 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5180 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5181 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5182 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5183 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5184 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5185 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5186 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5187 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5188 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5189 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5190 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5191 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5192 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5193 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5194 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5195 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5196 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5197 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5198 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5199 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5200 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5201 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5203 (FLT_ROUNDS): Expect as macro, not constant.
5204 (FLT_MANT_DIG): Use macro-int-constant.
5205 (DBL_MANT_DIG): Likewise.
5206 (LDBL_MANT_DIG): Likewise.
5207 (FLT_DIG): Likewise.
5208 (DBL_DIG): Likewise.
5209 (LDBL_DIG): Likewise.
5210 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5211 (DBL_MIN_EXP): Likewise.
5212 (LDBL_MIN_EXP): Likewise.
5213 (FLT_MAX_EXP): Use macro-int-constant.
5214 (DBL_MAX_EXP): Likewise.
5215 (LDBL_MAX_EXP): Likewise.
5216 (FLT_MAX_10_EXP): Likewise.
5217 (DBL_MAX_10_EXP): Likewise.
5218 (LDBL_MAX_10_EXP): Likewise.
5219 (FLT_MAX): Use macro-constant.
5220 (DBL_MAX): Likewise.
5221 (LDBL_MAX): Likewise.
5222 (FLT_EPSILON): Use macro-constant. Give upper bound.
5223 (DBL_EPSILON): Likewise.
5224 (LDBL_EPSILON): Likewise.
5225 (FLT_MIN): Likewise.
5226 (DBL_MIN): Likewise.
5227 (LDBL_MIN): Likewise.
5228 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5229 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5230 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5231 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5232 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5233 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5234 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5235 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5236 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5237 [ISO11] (FLT_TRUE_MIN): Likewise.
5238 [ISO11] (LDBL_TRUE_MIN): Likewise.
5239 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5240 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5241 (SCHAR_MIN): Use macro-int-constant. Specify type.
5242 (SCHAR_MAX): Likewise.
5243 (UCHAR_MAX): Likewise.
5244 (CHAR_MIN): Likewise.
5245 (CHAR_MAX): Likewise.
5246 (MB_LEN_MAX): Use macro-int-constant.
5247 (SHRT_MIN): Use macro-int-constant. Specify type.
5248 (SHRT_MAX): Likewise.
5249 (USHRT_MAX): Likewise.
5250 (INT_MAX): Likewise.
5251 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5253 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5255 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5257 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5258 bound negative. Suffix upper bound with "L".
5259 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5261 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5263 [C99-based standards] (LLONG_MAX): Likewise.
5264 [C99-based standards] (ULLONG_MAX): Likewise.
5265 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5267 [ISO11] (max_align_t): Require type.
5268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5270 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5271 from $CFLAGS, without defining away __attribute__ calls.
5272 (checknamespace): Use $CFLAGS_namespace.
5274 * conform/conformtest.pl (@keywords): Only include C99 keywords
5275 for standards based on C99 or C11.
5277 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5279 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5282 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5283 usability of symbols in #if.
5285 * conform/conformtest.pl: If macro or constant types start
5286 "promoted:", expect the symbol to be of the following type
5287 promoted by the integer promotions.
5289 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5290 in one place. Also handle "macro-constant".
5292 * conform/conformtest.pl: Only accept expected macro values with
5293 "==". Parse all "macro" lines in one place.
5294 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5296 * conform/conformtest.pl: Handle braced types on "constant" lines
5297 instead of handling "typed-constant".
5298 * conform/data/signal.h-data: Use "constant" instead of
5301 * conform/conformtest.pl: Handle "optional-" at start of lines in
5302 one place rather than duplicating several cases. Handle each
5303 format of "macro" line with initial "optional-".
5305 * conform/conformtest.pl: Only accept expected constant or
5306 optional-constant values with "==". Parse all "constant" lines in
5307 one place. Parse all "optional-constant" lines in one place.
5308 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5309 * conform/data/fmtmsg.h-data: Likewise.
5310 * conform/data/netinet/in.h-data: Likewise.
5311 * conform/data/tar.h-data: Likewise.
5312 * conform/data/limits.h-data: Use "==" form on "constant" and
5313 "optional-constant" lines.
5315 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5316 Use -std=c99 for XOPEN2K.
5317 (@knownproblems): Remove.
5318 (newtoken): Don't check %isknown.
5320 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5321 Do not expect macro.
5322 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5323 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5324 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5325 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5326 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5327 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5328 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5329 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5330 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5331 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5332 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5333 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5334 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5335 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5336 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5337 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5338 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5339 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5340 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5341 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5342 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5343 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5344 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5345 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5346 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5347 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5348 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5349 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5350 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5351 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5352 [XPG3] (acosh): Likewise.
5353 [XPG3] (asinh): Likewise.
5354 [XPG3] (atanh): Likewise.
5355 [XPG3] (cbrt): Likewise.
5356 [XPG3] (expm1): Likewise.
5357 [XPG3] (ilogb): Likewise.
5358 [XPG3] (log1p): Likewise.
5359 [XPG3] (logb): Likewise.
5360 [XPG3] (nextafter): Likewise.
5361 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5362 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5363 [XPG3] (remainder): Likewise.
5364 [XPG3] (rint): Likewise.
5365 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5366 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5367 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5368 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5369 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5370 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5371 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5372 [UNIX98 || XOPEN2K] (scalb): Expect.
5373 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5374 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5375 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5376 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5377 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5378 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5379 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5380 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5381 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5382 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5383 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5384 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5385 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5386 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5387 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5388 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5389 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5390 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5391 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5392 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5393 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5394 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5395 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5396 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5397 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5398 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5399 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5400 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5401 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5402 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5403 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5404 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5405 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5406 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5407 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5408 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5409 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5410 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5411 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5412 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5413 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5414 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5415 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5416 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5417 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5418 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5419 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5420 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5421 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5422 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5423 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5424 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5425 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5426 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5427 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5428 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5429 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5430 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5431 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5432 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5433 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5434 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5435 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5436 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5437 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5438 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5439 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5440 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5441 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5442 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5443 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5444 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5445 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5446 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5447 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5448 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5449 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5450 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5451 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5452 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5453 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5454 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5455 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5456 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5457 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5458 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5459 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5460 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5461 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5462 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5463 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5464 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5465 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5466 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5467 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5468 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5469 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5470 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5471 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5472 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5473 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5474 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5475 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5476 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5477 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5478 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5479 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5480 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5481 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5482 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5483 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5484 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5485 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5486 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5487 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5488 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5489 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5490 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5491 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5492 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5493 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5494 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5495 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5496 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5497 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5498 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5499 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5500 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5501 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5502 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5503 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5504 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5505 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5506 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5507 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5508 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5509 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5511 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5512 _XOPEN_SOURCE_EXTENDED for XPG4.
5514 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5516 * Makeconfig (localtime): Remove variable.
5517 (inst_localtime-file): Likewise.
5519 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5540 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5544 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5545 comparisons to determine direction to adjust input.
5546 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5547 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5548 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5550 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5552 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5554 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5555 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5557 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5559 * math/libm-test.inc (nexttoward_test): Add more tests.
5561 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5565 in version GLIBC_2.1, not GLIBC_2.0.
5566 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5569 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5572 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5574 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5575 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5576 * math/libm-test.inc (acos_test): Add more tests.
5577 (asin_test): Likewise.
5578 * sysdeps/i386/fpu/libm-test-ulps: Update.
5579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5582 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5584 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5585 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5586 * math/libm-test.inc (acos_test_tonearest): New function.
5587 (acos_test_towardzero): Likewise.
5588 (acos_test_downward): Likewise.
5589 (acos_test_upward): Likewise.
5590 (asin_test_tonearest): Likewise.
5591 (asin_test_towardzero): Likewise.
5592 (asin_test_downward): Likewise.
5593 (asin_test_upward): Likewise.
5594 (main): Call the new functions.
5595 * sysdeps/i386/fpu/libm-test-ulps: Update.
5596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5600 * math/e_exp10.c: Include <float.h>.
5601 (__ieee754_exp10): Handle underflow here rather than multiplying
5602 large negative argument by M_LN10.
5603 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5605 * math/e_exp10l.c: Include <float.h>.
5606 (__ieee754_exp10l): Handle underflow here rather than multiplying
5607 large negative argument by M_LN10l.
5608 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5609 spurious overflow exception on underflow.
5611 2012-04-29 Marek Polacek <polacek@redhat.com>
5613 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5614 (__fortify_function): New macro.
5615 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5616 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5617 __extern_always_inline.
5618 * libio/bits/stdio2.h: Likewise.
5619 * libio/bits/stdio.h: Likewise.
5620 * string/string.h: Likewise.
5621 * string/bits/string3.h: Likewise.
5622 * include/stdio.h: Likewise.
5623 * stdlib/bits/stdlib.h: Likewise.
5624 * stdlib/stdlib.h: Likewise.
5625 * rt/bits/mqueue2.h: Likewise.
5626 * rt/mqueue.h: Likewise.
5627 * posix/bits/unistd.h: Likewise.
5628 * posix/unistd.h: Likewise.
5629 * io/bits/poll2.h: Likewise.
5630 * io/bits/fcntl2.h: Likewise.
5631 * io/fcntl.h: Likewise.
5632 * io/sys/poll.h: Likewise.
5633 * misc/bits/syslog.h: Likewise.
5634 * misc/bits/syslog-ldbl.h: Likewise.
5635 * misc/sys/syslog.h: Likewise.
5636 * socket/bits/socket2.h: Likewise.
5637 * socket/sys/socket.h: Likewise.
5638 * debug/tst-chk1.c: Likewise.
5639 * wcsmbs/bits/wchar2.h: Likewise.
5640 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5641 * wcsmbs/wchar.h: Likewise.
5643 2012-04-29 Andreas Jaeger <aj@suse.de>
5645 * Makerules (tests): Remove enable-check-abi protection.
5646 (check-abi-warn): Remove.
5647 (check-abi-%): Remove check-abi-warn usage.
5649 * configure.in: Remove check-abi configure option.
5650 * configure: Regenerated.
5651 * config.make.in (enable-check-abi): Remove.
5653 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5656 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5657 double functions to double *_finite functions.
5660 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5661 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5663 * stdio-common/Makefile (tests): Add tst-sprintf3.
5664 * stdio-common/tst-sprintf3.c: New file.
5666 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5667 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5669 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5671 * conform/conformtest.pl: Remove duplicate typed-constant
5674 2012-04-28 David S. Miller <davem@davemloft.net>
5676 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5677 (check-abi-%): Remove AWK script prerequisite and explicit
5679 (check-abi): Rewrite to just diff the symlist with the abilist.
5680 (config-tls, config-abi-config): Delete, no longer used.
5681 (update-abi-%): Remove AWK script and explicit abilist directory.
5682 (update-abi): Rewrite to simply compare and conditionally copy the
5683 symlist and the sysdep abilist file. Remove update-abi-config
5685 * abilist/ld.abilist: Remove.
5686 * abilist/libBrokenLocale.abilist: Remove.
5687 * abilist/libanl.abilist: Remove.
5688 * abilist/libcrypt.abilist: Remove.
5689 * abilist/libdl.abilist: Remove.
5690 * abilist/librt.abilist: Remove.
5691 * abilist/libthread_db.abilist: Remove.
5692 * abilist/libutil.abilist: Remove.
5693 * scripts/extract-abilist.awk: Remove.
5694 * scripts/merge-abilist.awk: Remove.
5695 * sysdeps/generic/libcidn.abilist: New file.
5696 * sysdeps/generic/libnss_compat.abilist: New file.
5697 * sysdeps/generic/libnss_db.abilist: New file.
5698 * sysdeps/generic/libnss_dns.abilist: New file.
5699 * sysdeps/generic/libnss_files.abilist: New file.
5700 * sysdeps/generic/libnss_hesiod.abilist: New file.
5701 * sysdeps/generic/libnss_nis.abilist: New file.
5702 * sysdeps/generic/libnss_nisplus.abilist: New file.
5703 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5704 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5705 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5707 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5708 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5709 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5710 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5711 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5712 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5713 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5714 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5715 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5717 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5718 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5719 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5720 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5722 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5723 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5724 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5725 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5726 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5727 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5729 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5730 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5731 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5733 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5738 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5742 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5744 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5748 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5750 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5836 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5837 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5838 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5841 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5842 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5843 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5844 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5845 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5846 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5847 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5848 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5849 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5901 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5903 * conform/conformtest.pl: Fix typo in handling typed-constant from
5906 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5908 * README: Cut down references to pre-2.6 Linux kernels and
5909 Linuxthreads. Update lists of configurations in libc and ports
5910 and sort alphabetically. Say "or newer" with Linux kernel version
5913 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5915 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5918 * math/libm-test.inc (logb_test_downward): New test to expose
5919 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5922 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5925 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5927 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5928 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5930 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5932 * sysdeps/unix/i386/brk.S: Remove file.
5933 * sysdeps/unix/i386/dl-brk.S: Likewise.
5934 * sysdeps/unix/i386/pipe.S: Likewise.
5935 * sysdeps/unix/i386/sigreturn.S: Likewise.
5936 * sysdeps/unix/i386/syscall.S: Likewise.
5937 * sysdeps/unix/i386/vfork.S: Likewise.
5938 * sysdeps/unix/i386/wait.S: Likewise.
5940 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5941 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5943 * configure.in (arm*-none*): Do not allow without
5944 --enable-hacker-mode.
5945 (netbsd*): Remove case setting base_os.
5946 (386bsd*): Likewise.
5947 (freebsd*): Likewise.
5951 (ultrix*): Likewise.
5952 (newsos*): Likewise.
5962 (solaris[2-9]*): Likewise.
5964 * configure: Regenerated.
5966 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5969 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5970 overflow or cancellation in calculating denominator.
5971 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5972 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5973 down expression to avoid unexpected rounding in newer GCCs.
5974 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5976 2012-04-26 David S. Miller <davem@davemloft.net>
5978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5979 long-double compat symbols.
5980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5994 2012-04-25 David S. Miller <davem@davemloft.net>
5996 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5997 HWCAP_* values only after the memory barriers have been defined.
5998 (atomic_full_barrier): Define.
5999 (atomic_read_barrier): Define.
6000 (atomic_write_barrier): Define.
6002 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6004 * shlib-versions: Add libgcc_s version information.
6005 * sysdeps/generic/libgcc_s.h: Remove.
6006 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6008 * sysdeps/gnu/unwind-resume.c: Likewise.
6009 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6011 2012-04-25 David S. Miller <davem@davemloft.net>
6013 * sysdeps/unix/sparc/brk.S: Delete.
6014 * sysdeps/unix/sparc/dl-brk.S: Delete.
6015 * sysdeps/unix/sparc/pipe.S: Delete.
6016 * sysdeps/unix/sparc/sysdep.S: Delete.
6017 * sysdeps/unix/sparc/sysdep.h: Delete.
6018 * sysdeps/unix/sparc/vfork.S: Delete.
6019 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6020 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6022 ret_ERRVAL, r0, r1, MOVE): Define.
6023 (JUMPTARGET): Remove.
6024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6025 sysdeps/unix/sparc/sysdep.h
6026 (ENTRY, END): Remove.
6027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6029 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6031 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6032 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6035 * timezone/README: Update upstream location and email address for
6037 * timezone/zdump.c: Update from tzcode 2012b.
6038 * timezone/zic.c: Likewise.
6040 * configure.in (libc_cv_as_needed): Remove test.
6041 * configure: Regenerated.
6042 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6043 conditional definition.
6044 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6045 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6046 * config.make.in (have-as-needed): Remove variable.
6048 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6049 Paul Pluzhnikov <ppluzhnikov@google.com>
6051 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6054 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6056 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6057 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6058 * sysdeps/sh/strlen.S: Likewise.
6060 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6062 * sysdeps/unix/fork.S: Remove file.
6063 * sysdeps/unix/i386/fork.S: Likewise.
6064 * sysdeps/unix/sparc/fork.S: Likewise.
6066 * sysdeps/unix/system.c: Remove file.
6067 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6069 * sysdeps/unix/getegid.S: Remove file.
6070 * sysdeps/unix/geteuid.S: Likewise.
6072 2012-04-24 Roland McGrath <roland@hack.frob.com>
6074 * scripts/check-localplt.awk: New file.
6075 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6077 * scripts/data/localplt-generic.data: Add a comment.
6079 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6080 NODE when __dir_mkfile failed.
6081 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6082 Reported by Ludovic Courtès <ludo@gnu.org>.
6084 2012-04-24 Andreas Jaeger <aj@suse.de>
6086 * Makerules (common-clean): Also remove gen-as-const-headers
6089 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6091 * Makerules (native-compile): Do not change working directory for
6092 build. Use $(OUTPUT_OPTION) in command.
6093 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6095 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6098 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6099 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6100 * math/libm-test.inc (floor_test): Add more tests.
6101 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6103 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6105 * sysdeps/unix/getdents.c: Remove file.
6106 * sysdeps/unix/sysv/getdents.c: Likewise.
6107 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6109 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6110 sysdeps/unix/mman/syscalls.list.
6112 (mprotect): Likewise.
6115 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6116 * sysdeps/unix/mman/syscalls.list: Remove.
6117 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6119 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6120 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6121 * configure: Regenerated.
6122 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6124 * config.make.in (libgcc_s_suffix): Remove variable.
6126 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6128 * sysdeps/unix/sysv/gethostname.c: Move to ...
6129 * sysdeps/posix/gethostname.c: ... here.
6131 * sysdeps/unix/execve.S: Remove file.
6133 * sysdeps/unix/_exit.S: Remove file.
6135 2012-04-23 Andreas Jaeger <aj@suse.de>
6138 * manual/Makefile: Remove make dist support, there's no
6139 need for a stand-alone documentation tar ball.
6140 (TEXI2DVI): Define always, it's not in Makeconfig.
6144 (glibc-doc-$(edition).tar): Removed
6148 (ETAGS): Remove, it's in Makeconfig.
6149 (move-if-change): Remove, it's in Makeconfig.
6151 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6154 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6155 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6156 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6157 (strtod_l, strtof_l, strtold_l): Remove __wur.
6158 It is not necessarily an error to ignore strtol's return value.
6159 One can reliably look at the stored endptr to decide whether
6160 the number had valid syntax.
6162 2012-04-21 Andreas Jaeger <aj@suse.de>
6165 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6167 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6169 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6170 * sysdeps/unix/sysv/Versions: Remove file.
6172 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6177 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6180 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6181 version from __vm86.
6183 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6185 * sysdeps/unix/common/lxstat.c: Remove file.
6186 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6188 * sysdeps/unix/sysv/Makefile: Remove file.
6190 * sysdeps/unix/sysv/direct.h: Remove file.
6192 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6193 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6194 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6195 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6196 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6197 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6198 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6200 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6202 * sysdeps/unix/xmknod.c: Remove file.
6203 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6205 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6207 * sysdeps/unix/sysv/i386/time.S: Remove file.
6209 * sysdeps/unix/fxstat.c: Remove file.
6210 * sysdeps/unix/xstat.c: Likewise.
6211 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6213 * sysdeps/unix/sysv/sigaction.c: Remove file.
6215 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6216 (sysdep_headers): Remove variable.
6217 [termio.h not in sysdep_headers] (generated): Likewise.
6218 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6219 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6220 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6221 * sysdeps/unix/sysv/tcflow.c: Likewise.
6222 * sysdeps/unix/sysv/tcflush.c: Likewise.
6223 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6224 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6225 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6226 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6227 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6229 * sysdeps/unix/siglist.c: Remove file.
6231 * sysdeps/unix/getppid.S: Remove file.
6233 * sysdeps/unix/mkdir.c: Remove file.
6234 * sysdeps/unix/rmdir.c: Likewise.
6236 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6238 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6240 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6241 errlist-compat value.
6243 2012-04-18 David S. Miller <davem@davemloft.net>
6245 * sysdeps/generic/memcopy.h (reg_char): Delete.
6246 * debug/strcat_chk.c: Use char, not reg_char.
6247 * debug/strcpy_chk.c: Likewise.
6248 * debug/strncat_chk.c: Likewise.
6249 * debug/strncpy_chk.c: Likewise.
6250 * string/memchr.c: Likewise.
6251 * string/memrchr.c: Likewise.
6252 * string/rawmemchr.c: Likewise.
6253 * string/strcat.c: Likewise.
6254 * string/strchr.c: Likewise.
6255 * string/strchrnul.c: Likewise.
6256 * string/strcmp.c: Likewise.
6257 * string/strcpy.c: Likewise.
6258 * string/strncat.c: Likewise.
6259 * string/strncmp.c: Likewise.
6260 * string/strncpy.c: Likewise.
6262 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6264 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6265 __builtin_memcopy is called when src and dest ranges are known to not
6268 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6270 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6271 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6272 fwd_align_merge macro call.
6273 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6274 bwd_align_merge macro call.
6275 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6277 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6279 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6280 bwd_align_merge macros.
6281 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6282 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6283 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6285 2012-04-18 David S. Miller <davem@davemloft.net>
6287 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6289 2012-04-18 Andreas Jaeger <aj@suse.de>
6292 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6293 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6294 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6296 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6297 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6298 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6300 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6301 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6302 Adjust for changed ldbl-128 files.
6304 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6305 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6306 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6308 2012-04-17 David S. Miller <davem@davemloft.net>
6310 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6312 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6314 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6315 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6316 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6317 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6318 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6319 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6321 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6324 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6325 * math/libm-test.inc: Add ilogb errno and exception tests.
6326 * math/w_ilogb.c: New file: ilogb wrapper.
6327 * math/w_ilogbf.c: New file: ilogbf wrapper.
6328 * math/w_ilogbl.c: New file: ilogbl wrapper.
6329 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6330 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6331 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6332 exception being thrown with 0.0 as argument.
6333 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6334 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6335 exception being thrown with 0.0 as argument.
6336 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6337 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6338 exception being thrown with 0.0 as argument.
6339 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6340 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6341 exception being thrown with 0.0 as argument.
6342 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6343 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6344 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6345 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6346 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6347 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6348 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6349 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6350 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6352 2012-04-17 Petr Baudis <pasky@ucw.cz>
6354 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6357 2012-04-16 Marek Polacek <polacek@redhat.com>
6359 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6361 2012-04-16 Marek Polacek <polacek@redhat.com>
6363 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6364 operands of fdivp instruction.
6366 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6368 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6369 * elf/tst-auditmod3b.c: Likewise.
6370 * elf/tst-auditmod4b.c: Likewise.
6371 * elf/tst-auditmod5b.c: Likewise.
6372 * elf/tst-auditmod6b.c: Likewise.
6373 * elf/tst-auditmod6c.c: Likewise.
6374 * elf/tst-auditmod7b.c: Likewise.
6375 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6376 * sysdeps/x86_64/preconfigure.in: Likewise.
6377 * sysdeps/x86_64/preconfigure: Regenerated.
6379 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6381 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6384 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6387 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6389 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6392 * locale/iso-639.def: Fix gl language name. Spotted by
6395 2012-04-12 Roland McGrath <roland@hack.frob.com>
6398 * libio/libio.h (__io_write_fn): Update comment.
6400 2012-04-12 Petr Baudis <pasky@ucw.cz>
6403 * stdio.texi (Hook Functions): The user provided writer function
6404 is not allowed to return -1.
6406 2012-04-11 David S. Miller <davem@davemloft.net>
6408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6410 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6412 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6413 Add a leading slash to rtkaio.
6415 2012-04-11 Jim Meyering <meyering@redhat.com>
6418 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6419 It is not necessarily an error to ignore fwrite's return
6420 value. One can reliably use ferror to test for errors after
6423 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6425 * bits/types.h (__snseconds_t): New type.
6426 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6428 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6430 (__SNSECONDS_T_TYPE): Likewise.
6431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6432 (__SNSECONDS_T_TYPE): Likewise.
6433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6434 (__SNSECONDS_T_TYPE): Likewise.
6436 2012-04-10 Andreas Jaeger <aj@suse.de>
6439 * manual/time.texi (Processor Time): Return type of times is
6440 elapsed real time since an arbitrary point in the past.
6441 (CPU Time): Move CLK_TCK from here...
6442 (Processor Time): ...to here. Correct description.
6443 * manual/conf.texi (Constants for Sysconf): Correct description of
6446 2012-04-10 David S. Miller <davem@davemloft.net>
6449 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6450 where the is a gap between DT_REL(A) and DT_JMPREL.
6452 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6454 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6455 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6456 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6458 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6460 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6461 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6462 (dl_main): Handle --inhibit-cache.
6463 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6465 * elf/dl-load.c (_dl_map_object): Use it.
6466 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6468 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6471 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6472 (__ieee754_powl): Saturate large exponents rather than testing for
6473 overflow of y*log2(x).
6474 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6475 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6479 * math/s_ctan.c: Include <float.h>.
6480 (__ctan): Avoid internal overflow or cancellation in calculating
6482 * math/s_ctanf.c: Likewise.
6483 * math/s_ctanl.c: Likewise.
6484 * math/s_ctanh.c: Likewise.
6485 * math/s_ctanhf.c: Likewise.
6486 * math/s_ctanhl.c: Likewise.
6487 * math/libm-test.inc (ctan_test): Add more tests.
6488 (ctanh_test): Likewise.
6489 * sysdeps/i386/fpu/libm-test-ulps: Update.
6490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6492 2012-04-09 Andreas Jaeger <aj@suse.de>
6495 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6496 is an optional BSD extension.
6499 * manual/stdio.texi (Opening Streams): Document additional fopen
6502 2012-04-09 Roland McGrath <roland@hack.frob.com>
6504 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6505 %eax without telling the compiler.
6507 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6510 * manual/install.texi: Use sourceware.org.
6512 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6515 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6516 (__ieee754_pow): Generate overflow and underflow using huge*huge
6517 and tiny*tiny rather than just returning constant infinity or zero
6518 for large exponents.
6519 * math/libm-test.inc (pow_test): Require overflow exceptions for
6520 applicable cases of large exponents.
6523 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6524 (__ieee754_pow): Use iterative multiplication algorithm only for
6525 integer exponents with absolute value below 1024. Check for odd
6526 integer exponents when using algorithm for real exponents.
6527 * math/libm-test.inc (pow_test): Add more tests.
6528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6530 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6533 * math/libm-test.inc (exp_test): Do not allow overflow exception
6536 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6539 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6540 instead of __kernel_standard_f.
6542 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6544 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6545 * sysdeps/x86_64/memset_chk.S: Likewise.
6547 2012-04-08 Andreas Jaeger <aj@suse.de>
6550 * manual/startup.texi (Environment Access): Describe return value
6551 for putenv and setenv.
6554 * manual/filesys.texi (Directory Entries): Add description for
6558 * manual/filesys.texi (Directory Entries): Clarify that it's file
6559 system not operating system in the description of DT_UNKNOWN.
6562 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6564 2012-04-08 Stephen Compall <s11@member.fsf.org>
6567 * manual/llio.texi (Opening and Closing Files): Add cross
6568 reference to explain mode argument.
6570 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6572 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6573 * sysdeps/x86_64/memset_chk.S: Likewise.
6575 2012-04-07 David S. Miller <davem@davemloft.net>
6577 * elf/elf.h (R_SPARC_WDISP10): Define.
6578 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6580 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6581 R_SPARC_SIZE64 and R_SPARC_H34.
6583 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6585 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6586 conditions and remove no longer applicable assertion.
6588 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6590 * bits/byteswap.h: Include <features.h>.
6591 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6592 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6594 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6596 * bits/byteswap.h (__bswap_16): Removed.
6597 Include <bits/byteswap-16.h> to get __bswap_16.
6598 * sysdeps/i386/bits/byteswap.h: Likewise.
6599 * sysdeps/s390/bits/byteswap.h: Likewise.
6600 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6601 * bits/byteswap-16.h: New file.
6602 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6603 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6604 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6605 * string/Makefile (headers): Add bits/byteswap-16.h.
6607 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6610 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6612 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6613 * nss/tst-nss-static.c: New.
6615 2012-04-06 Robert Millan <rmh@gnu.org>
6618 * manual/llio.texi (File Position Primitive): lseek
6619 refers to WHENCE when it really means OFFSET.
6621 2012-04-06 Andreas Jaeger <aj@suse.de>
6623 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6624 strncmp declarations.
6626 * abilist/libc.abilist: Add __poll and __ppoll.
6628 2012-04-05 David S. Miller <davem@davemloft.net>
6630 * scripts/check-local-headers.sh: Accept a host triplet in the
6631 path matched by the exclude regexp.
6633 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6635 * sysdeps/powerpc/powerpc32/dl-machine.h
6636 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6637 * sysdeps/s390/s390-32/dl-machine.h
6638 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6639 * sysdeps/sparc/sparc32/dl-machine.h
6640 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6641 * sysdeps/sparc/sparc64/dl-machine.h
6642 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6644 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6646 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6647 undefined symbol errors.
6649 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6652 2012-04-05 Michael Matz <matz@suse.de>
6655 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6657 2012-04-05 Andreas Jaeger <aj@suse.de>
6660 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6663 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6665 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6666 which ROUND is no valid rounding mode.
6668 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6670 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6672 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6674 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6676 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6677 an exception using FPU order intentionally.
6679 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6681 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6682 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6683 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6684 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6686 2012-04-05 Simon Josefsson <simon@josefsson.org>
6689 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6690 EINVAL when BUFLEN is too smal.
6692 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6695 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6696 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6698 2012-04-03 Andreas Jaeger <aj@suse.de>
6701 * manual/setjmp.texi (System V contexts): Fix sentence.
6704 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6705 New macro for this case.
6706 [!__GNUC__] (__bswap_64): New inline function for this case.
6707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6708 * bits/byteswap.h: Likewise.
6709 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6710 ull, guard with __GLIBC_HAVE_LONG_LONG.
6712 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6713 __GLIBC_HAVE_LONG_LONG.
6715 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6716 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6718 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6721 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6722 inptr and inend, rather than using last_ch.
6724 2012-04-02 David S. Miller <davem@davemloft.net>
6726 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6727 * stdio-common/printf-parse.h (read_int): Change return type to
6728 'int', return -1 on INT_MAX overflow.
6729 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6730 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6731 overflows INT_MAX. Check for overflow of in-format-string precision
6732 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6733 SIZE_MAX not INT_MAX for integer overflow test.
6734 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6735 skip the construct in the format string but do not record anything.
6736 * stdio-common/bug22.c: Adjust to test both width/prevision
6737 INT_MAX overflow as well as total length INT_MAX overflow. Check
6738 explicitly for proper errno values.
6740 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6742 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6744 * string/test-strcmp.c [! WIDE]: Likewise.
6745 * time/tst-mktime2.c: Likewise for INT_MAX.
6746 * string/test-string.h: #include <sys/param.h> for MIN.
6748 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6749 * sysdeps/i386/init-first.c (init): Likewise.
6750 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6751 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6752 * sysdeps/sh/init-first.c (init): Likewise.
6754 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6756 * po/ru.po: Update from translation team.
6757 * po/vi.po: Likewise.
6759 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6761 * resolv/nss_dns/dns-host.c: Merge copyright years.
6763 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6765 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6766 Optimize memcpy with prefetch if
6767 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6768 src, dst pointers have unequal 16 byte alignments.
6770 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6773 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6774 from a CNAME entry and return the minimum ttl for the query.
6775 (gaih_getanswer_slice): Likewise.
6777 2012-03-30 Jeff Law <law@redhat.com>
6779 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6781 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6782 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6784 * resolv/nss_dns/dns-host.c: Update copyright year.
6786 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6788 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6789 requests to save a system call. Fix check that all bytes are sent.
6791 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6792 comments for sendmmsg.
6794 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6797 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6798 with only 1 character between 0x0041 and 0x01b0.
6799 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6800 * wcsmbs/tst-mbsnrtowcs.c: New file.
6802 2012-03-29 David S. Miller <davem@davemloft.net>
6804 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6805 small copies by hand.
6807 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6810 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6811 _nss_compat_initgroups_dyn): Fall back to malloc/free
6812 for large group memberships.
6814 2012-03-28 David S. Miller <davem@davemloft.net>
6816 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6817 that branches into memcpy.
6818 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6819 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6820 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6821 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6822 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6824 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6826 * sysdeps/sparc/mempcpy.S: New file.
6828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6829 the IFUNC routine in the libc case.
6830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6832 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6833 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6834 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6835 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6836 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6837 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6838 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6839 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6841 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6842 loop to 256 bytes instead of 64 bytes and fix test signedness.
6844 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6845 * sysdeps/sparc/sparc32/Makefile: rather than here...
6846 * sysdeps/sparc/sparc64/Makefile: and here.
6848 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6850 * malloc/mallocbug.c: Avoid warnings about unused variables.
6852 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6855 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6856 in the right place. Discard and retry query if response is
6857 larger than input buffer size.
6859 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6864 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6865 x for large integer exponent.
6866 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6867 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6868 sign of result as needed afterwards.
6869 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6870 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6871 result for underflowing pow the same as for overflow.
6872 (__kernel_standard_l): Handle powl overflow and underflow here
6873 rather than calling __kernel_standard.
6874 * math/libm-test.inc (pow_test): Add more tests.
6889 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6890 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6891 (__kernel_standard_l): New function.
6892 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6894 * math/w_acosl.c (__acosl): Likewise.
6895 * math/w_asinl.c (__asinl): Likewise.
6896 * math/w_atan2l.c (__atan2l): Likewise.
6897 * math/w_atanhl.c (__atanhl): Likewise.
6898 * math/w_coshl.c (__coshl): Likewise.
6899 * math/w_exp10l.c (__exp10l): Likewise.
6900 * math/w_exp2l.c (__exp2l): Likewise.
6901 * math/w_fmodl.c (__fmodl): Likewise.
6902 * math/w_hypotl.c (__hypotl): Likewise.
6903 * math/w_j0l.c (__j0l, __y0l): Likewise.
6904 * math/w_j1l.c (__j1l, __y1l): Likewise.
6905 * math/w_jnl.c (__jnl, __ynl): Likewise.
6906 * math/w_lgammal.c (__lgammal): Likewise.
6907 * math/w_log10l.c (__log10l): Likewise.
6908 * math/w_log2l.c (__log2l): Likewise.
6909 * math/w_logl.c (__logl): Likewise.
6910 * math/w_powl.c (__powl): Likewise.
6911 * math/w_remainderl.c (__remainderl): Likewise.
6912 * math/w_scalbl.c (sysv_scalbl): Likewise.
6913 * math/w_sinhl.c (__sinhl): Likewise.
6914 * math/w_sqrtl.c (__sqrtl): Likewise.
6915 * math/w_tgammal.c (__tgammal): Likewise.
6916 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6917 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6918 * math/libm-test.inc (acos_test): Add more tests.
6919 (acosh_test): Likewise.
6920 (asin_test): Likewise.
6921 (atanh_test): Likewise.
6922 (exp_test): Likewise.
6923 (exp10_test): Likewise.
6924 (exp2_test): Likewise.
6925 (expm1_test): Likewise.
6926 (lgamma_test): Likewise.
6927 (log_test): Likewise.
6928 (log10_test): Likewise.
6929 (log1p_test): Likewise.
6930 (log2_test): Likewise.
6931 (pow_test): Do not allow some spurious overflow exceptions.
6932 (sqrt_test): Add more tests.
6933 (tgamma_test): Likewise.
6934 (y0_test): Likewise.
6935 (y1_test): Likewise.
6936 (yn_test): Likewise.
6938 2012-03-27 Anton Blanchard <anton@samba.org>
6940 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6942 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6943 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6944 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6946 2012-03-27 David S. Miller <davem@davemloft.net>
6948 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6950 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6953 2012-03-27 Andreas Jaeger <aj@suse.de>
6955 * sysdeps/x86_64/elf/configure.in: Moved to ...
6956 * sysdeps/x86_64/configure.in: ... here.
6957 * sysdeps/x86_64/elf/start.S: Moved to ...
6958 * sysdeps/x86_64/start.S: ... here.
6959 * sysdeps/x86_64/elf/configure: Delete.
6961 * sysdeps/x86_64/configure.in: Merge contents from
6962 sysdeps/i386/configure.in (without i686 check).
6964 * sysdeps/i386/elf/Versions: Merge into ...
6965 * sysdeps/i386/Versions: ... this.
6966 * sysdeps/i386/elf/Versions: Delete file.
6967 * sysdeps/i386/elf/start.S: Moved to ...
6968 * sysdeps/i386/start.S: ...here.
6969 * sysdeps/i386/elf/configure.in: Merge into...
6970 * sysdeps/i386/configure.in: ...here.
6971 * sysdeps/i386/elf/configure.in: Delete file.
6972 * sysdeps/i386/elf/configure: Delete file.
6974 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6975 * debug/backtracesyms.c: ... here.
6976 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6977 * debug/backtracesymsfd.c: ... here.
6978 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6979 * sysdeps/generic/ifunc-sel.h: ... here.
6981 * sysdeps/unix/i386/start.c: Delete file.
6982 * sysdeps/unix/sparc/start.c: Delete file.
6983 * sysdeps/unix/start.c: Delete file.
6985 * sysdeps/sh/elf/configure.in: Moved to ...
6986 * sysdeps/sh/configure.in: ... here.
6987 * sysdeps/sh/elf/start.S: Moved to ...
6988 * sysdeps/sh/start.S: ... here.
6989 * sysdeps/sh/elf/configure: Delete file.
6991 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6992 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6993 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6994 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6995 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6996 * sysdeps/powerpc/powerpc64/start.S: here.
6997 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6998 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6999 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7000 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7001 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7003 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7004 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7005 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7006 * sysdeps/powerpc/powerpc32/start.S: ... here.
7007 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7008 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7009 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7011 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7012 * sysdeps/powerpc/ifunc-sel.h: ... here.
7013 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7014 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7016 * sysdeps/sparc/elf/configure.in: Moved to ...
7017 * sysdeps/sparc/configure.in: ... here.
7018 * sysdeps/sparc/elf/configure: Delete file.
7019 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7020 * sysdeps/sparc/sparc32/start.S: ... here.
7021 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7022 * sysdeps/sparc/sparc64/start.S: ... here.
7023 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7024 * sysdeps/sparc/sparc32/Makefile: ... this.
7025 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7026 * sysdeps/sparc/sparc64/Makefile: ... this.
7028 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7029 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7030 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7031 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7032 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7033 * sysdeps/s390/s390-32/setjmp.S: ... here.
7034 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7035 * sysdeps/s390/s390-32/configure.in: ... here.
7036 * sysdeps/s390/s390-32/elf/configure: Delete file.
7037 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7038 * sysdeps/s390/s390-32/start.S: ... here.
7040 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7041 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7042 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7043 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7044 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7045 * sysdeps/s390/s390-64/setjmp.S: ... here.
7046 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7047 * sysdeps/s390/s390-64/configure.in: ... here
7048 * sysdeps/s390/s390-64/elf/configure: Delete file.
7049 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7050 * sysdeps/s390/s390-64/start.S: ... here.
7051 * sysdeps/s390/s390-64/elf/configure: Delete.
7053 * configure.in: Remove support for elf directories in sysdeps.
7055 * configure: Regenerated.
7056 * sysdeps/i386/configure: Regenerated.
7057 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7058 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7059 * sysdeps/s390/s390-32/configure: Regenerated.
7060 * sysdeps/s390/s390-64/configure: Regenerated.
7061 * sysdeps/sh/configure: Regenerated.
7062 * sysdeps/sparc/configure: Regenerated.
7063 * sysdeps/x86_64/configure: Regenerated.
7065 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7069 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7070 denormal result into account.
7072 2012-03-25 Roland McGrath <roland@hack.frob.com>
7074 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7075 Reported by Allan McRae <allan@archlinux.org>.
7077 2012-03-23 Jeff Law <law@redhat.com>
7079 * nss/getnssent.c (__nss_getent): Fix typo.
7081 2012-03-23 David S. Miller <davem@davemloft.net>
7083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7085 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7087 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7088 to pad to uint64_t for each field.
7089 (dl_tls_index): Replace unsigned long with uint64_t.
7091 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7092 Paul Pluzhnikov <ppluzhnikov@google.com>
7095 * grp/Makefile (otherlibs): Don't set it.
7096 * inet/Makefile (otherlibs): Likewise.
7097 * login/Makefile (otherlibs): Likewise.
7098 * nscd/Makefile (otherlibs): Likewise.
7099 * posix/Makefile (otherlibs): Likewise.
7100 * pwd/Makefile (otherlibs): Likewise.
7101 * rt/Makefile (otherlibs): Likewise.
7102 * sunrpc/Makefile (otherlibs): Likewise.
7103 * nss/Makefile (otherlibs): Likewise.
7104 Add libnss_files to routines and static-only-routines.
7105 ($(objpfx)getent): Remove rule.
7106 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7107 static-only-routines.
7109 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7112 * math/s_cexp.c: Include <float.h>.
7113 (__cexp): Handle exp result overflowing not necessarily
7114 overflowing both real and imaginary parts of result.
7115 * math/s_cexpf.c: Likewise.
7116 * math/s_cexpl.c: Likewise.
7117 * math/libm-test.inc (cexp_test): Add more tests.
7118 * sysdeps/i386/fpu/libm-test-ulps: Update.
7119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7121 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7123 * include/link.h (ELFW): New macro.
7124 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7125 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7127 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7129 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7132 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7134 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7136 (struct La_x32_retval): Likewise.
7138 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7140 * sysdeps/x86_64/preconfigure.in: New file.
7141 * sysdeps/x86_64/preconfigure: New generated file.
7143 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7146 * math/e_exp2l.c: Include <float.h>.
7147 (__ieee754_exp2l): Handle overflow and underflow cases
7148 separately. Only pass fractional part of argument to
7150 * math/libm-test.inc (exp2_test): Add more tests.
7152 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7153 negating x to take absolute value.
7154 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7156 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7157 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7159 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7160 computing low part if x was negated.
7161 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7163 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7165 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7167 (pltexit): Cast int_retval to ptrdiff_t.
7168 * elf/tst-auditmod3b.c: Likewise.
7169 * elf/tst-auditmod4b.c: Likewise.
7170 * elf/tst-auditmod5b.c: Likewise.
7171 * elf/tst-auditmod6b.c: Likewise.
7172 * elf/tst-auditmod6c.c: Likewise.
7173 * elf/tst-auditmod7b.c: Likewise.
7175 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7176 and x32_gnu_pltexit.
7178 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7180 (La_x32_regs): New macro.
7181 (La_x32_retval): Likewise.
7182 (la_x32_gnu_pltenter): New function prototype.
7183 (la_x32_gnu_pltexit): Likewise.
7185 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7192 * configure.in (libc_cv_cc_nofma): Check for option to disable
7193 generation of FMA instructions.
7194 * configure: Regenerate.
7195 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7196 * sysdeps/ieee754/dbl-64/Makefile: New file.
7197 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7198 Remove brandred-fma4.
7199 (CFLAGS-brandred-fma4.c): Remove.
7200 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7201 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7203 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7206 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7208 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7209 LLONG_MAX != LONG_MAX.
7210 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7211 (_fitoa_word): Likewise.
7212 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7213 LLONG_MAX != LONG_MAX.
7214 * stdio-common/_itowa.h: Include <_itoa.h>.
7215 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7216 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7217 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7218 only if not defined.
7219 (_ITOA_WORD_TYPE): Likewise.
7220 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7221 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7223 2012-03-21 David S. Miller <davem@davemloft.net>
7225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7227 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7229 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7230 of x86_64 when setting libc_cv_slibdir, libdir and
7232 * sysdeps/unix/sysv/linux/configure: Regenerated.
7234 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7236 * manual/lang.texi (Old Varargs): Remove section.
7237 (How Variadic): Update menu.
7238 (va_start): Do not mention varargs.h.
7240 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7241 Joseph Myers <joseph@codesourcery.com>
7243 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7245 * configure: Regenerated.
7247 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7249 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7250 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7253 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7256 * Makefile (files-for-dist): Remove NOTES.
7257 (NOTES): Remove rule.
7258 * README: Don't refer to NOTES.
7259 * manual/creature.texi: Don't include macros.texi.
7260 * manual/intro.texi (creature.texi): Remove comment referring to
7263 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7264 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7265 * configure: Regenerated.
7266 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7268 (libc_cv_as_i686): Likewise.
7269 (libc_cv_cc_avx): Likewise.
7270 (libc_cv_cc_sse2avx): Likewise.
7271 (libc_cv_cc_fma4): Likewise.
7272 (libc_cv_cc_novzeroupper): Likewise.
7273 * sysdeps/i386/configure: Regenerated.
7276 * sysdeps/i386/fpu/s_cexp.S: Remove.
7277 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7278 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7279 * math/libm-test.inc (cexp_test): Add more tests.
7280 * sysdeps/i386/fpu/libm-test-ulps: Update.
7281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7283 2012-03-21 Allan McRae <allan@archlinux.org>
7285 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7287 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7290 * math/w_exp2.c: Do not include <float.h>.
7291 (o_threshold, u_threshold): Remove.
7292 (__exp2): Calculate result before checking finiteness and calling
7294 * math/w_exp2f.c: Likewise.
7295 * math/w_exp2l.c: Likewise.
7296 * math/libm-test.inc (exp2_test): Require overflow exception for
7300 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7301 range of signed 64-bit integers before using fistpll. Remove
7302 checks for whether integers fit in mantissa bits.
7303 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7304 the range of signed 32-bit integers before using fistpl. Remove
7305 checks for whether integers fit in mantissa bits.
7306 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7307 (__ieee754_powl): Test for y outside the range of signed 64-bit
7308 integers before using fistpll. Reduce 64-bit values to 63-bit
7310 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7311 divide-by-zero is raised for zero to large negative powers.
7312 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7313 (__ieee754_powl): Test for y outside the range of signed 64-bit
7314 integers before using fistpll. Reduce 64-bit values to 63-bit
7316 * math/libm-test.inc (pow_test): Add more tests.
7318 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7320 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7321 <stdio-common/_itoa.h>.
7322 * debug/segfault.c: Likewise.
7323 * elf/dl-cache.c: Likewise.
7324 * elf/dl-minimal.c: Likewise.
7325 * elf/dl-misc.c: Likewise.
7326 * elf/dl-sysdep.c: Likewise.
7327 * elf/dl-version.c: Likewise.
7328 * elf/rtld.c: Likewise.
7329 * hurd/hurdsock.c: Likewise.
7330 * hurd/lookup-retry.c: Likewise.
7331 * malloc/malloc.c: Likewise.
7332 * malloc/mtrace.c: Likewise.
7333 * nscd/nscd_getgr_r.c: Likewise.
7334 * nscd/nscd_getpw_r.c: Likewise.
7335 * nscd/nscd_getserv_r.c: Likewise.
7336 * posix/getopt_init.c: Likewise.
7337 * posix/wordexp.c: Likewise.
7338 * stdio-common/_itoa.c: Likewise.
7339 * stdio-common/printf_fphex.c: Likewise.
7340 * stdio-common/vfprintf.c: Likewise.
7341 * string/_strerror.c: Likewise.
7342 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7343 * sysdeps/i386/i686/hp-timing.h: Likewise.
7344 * sysdeps/mach/_strerror.c: Likewise.
7345 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7346 * sysdeps/mach/hurd/sethostid.c: Likewise.
7347 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7348 * sysdeps/mach/xpg-strerror.c: Likewise.
7349 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7350 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7351 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7352 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7353 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7354 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7355 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7356 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7357 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7358 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7359 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7360 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7361 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7362 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7363 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7364 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7365 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7366 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7367 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7368 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7369 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7371 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7373 * stdio-common/_itoa.h: Moved to ...
7374 * sysdeps/generic/_itoa.h: Here.
7376 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7378 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7379 instead of "_itoa.h" and "_itowa.h".
7380 * stdio-common/vfprintf.: Likewise.
7382 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7384 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7386 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7387 (__signbit): Likwise.
7391 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7393 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7396 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7398 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7399 OVERFLOW_EXCEPTION_OK.
7400 * math/libm-test.inc ("Philosophy"): Update comment about
7402 (OVERFLOW_EXCEPTION): Define.
7403 (OVERFLOW_EXCEPTION_OK): Likewise.
7404 (INVALID_EXCEPTION_OK): Renumber.
7405 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7406 (IGNORE_ZERO_INF_SIGN): Likewise.
7407 (test_exceptions): Handle FE_OVERFLOW.
7408 (exp10_test): Expect overflow exceptions.
7409 (exp2_test): Likewise.
7410 (expm1_test): Likewise.
7411 (nextafter_test): Likewise.
7412 (pow_test): Likewise.
7413 (scalbn_test): Likewise.
7414 (scalbln_test): Likewise.
7416 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7418 * sysdeps/x86_64/bits/atomic.h
7419 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7421 (atomic_exchange_acq): Likewise.
7422 (__arch_exchange_and_add_body): Likewise.
7423 (__arch_add_body): Likewise.
7424 (atomic_add_negative): Likewise.
7425 (atomic_add_zero): Likewise.
7427 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7429 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7430 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7432 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7434 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7435 Check __x86_64__ instead of __WORDSIZE.
7437 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7439 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7441 2012-03-19 David S. Miller <davem@davemloft.net>
7443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7445 * sysdeps/sparc/fpu/fenv_private.h: New file.
7446 * sysdeps/sparc/fpu/math_private.h: Use it.
7447 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7449 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7450 (libc_feholdexcept_setroundl): Remove.
7451 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7453 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7454 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7456 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7458 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7459 int64_t instead of long int.
7460 (INSERT_WORDS64): Likwise.
7462 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7464 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7465 _Unwind_GetCFA return to _Unwind_Ptr first.
7467 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7470 * math/s_clog.c: Include <float.h>.
7471 (__clog): Scale large or subnormal inputs.
7472 * math/s_clogf.c: Likewise.
7473 * math/s_clogl.c: Likewise.
7474 * math/s_clog10.c: Include <float.h>.
7475 (M_LOG10_2): Define.
7476 (__clog10): Scale large or subnormal inputs.
7477 * math/s_clog10f.c: Likewise.
7478 * math/s_clog10l.c: Likewise.
7479 * math/libm-test.inc (clog_test): Add more tests.
7480 (clog10_test): Likewise.
7481 * sysdeps/i386/fpu/libm-test-ulps: Update.
7482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7485 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7487 * math/libm-test.inc (atan2_test): Add another test.
7489 * Makerules (common-objdir-compile): Remove.
7490 * sysdeps/unix/Makefile (config-generated): Do not add
7491 $(unix-generated) to variable.
7492 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7493 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7495 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7497 [generic bits/local_lim.h] (before-compile): Do not append to
7499 [generic bits/local_lim.h] (common-generated): Likewise.
7500 [generic sys/param.h] (before-compile): Do not append to variable.
7501 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7502 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7503 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7504 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7506 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7507 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7508 [generic sys/param.h] ($(addprefix
7509 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7510 [generic sys/param.h] (common-generated): Do not append to
7512 [generic sys/param.h] (sysdep_headers): Likewise.
7513 [generic bits/errno.h] (before-compile): Do not append to
7515 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7517 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7518 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7519 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7520 [generic bits/errno.h] (common-generated): Do not append to
7522 [generic bits/ioctls.h] (before-compile): Do not append to
7524 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7526 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7527 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7528 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7530 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7531 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7532 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7533 [generic bits/ioctls.h] (common-generated): Do not append to
7535 [generic sys/syscall.h] (syscall.h): Remove variable.
7536 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7538 [generic sys/syscall.h] (before-compile): Do not append to
7540 [generic sys/syscall.h] (common-generated): Likewise.
7541 * sysdeps/unix/errnos-tmpl.c: Remove file.
7542 * sysdeps/unix/errnos.awk: Likewise.
7543 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7544 * sysdeps/unix/ioctls.awk: Likewise.
7545 * sysdeps/unix/mk-local_lim.c: Likewise.
7546 * sysdeps/unix/snarf-ioctls: Likewise.
7548 2012-03-19 Richard Henderson <rth@twiddle.net>
7550 * sysdeps/i386/fpu/fenv_private.h: New file.
7551 * sysdeps/i386/fpu/math_private.h: Use it.
7552 (math_opt_barrier, math_force_eval): Remove.
7553 (libc_feholdexcept_setround_53bit): Remove.
7554 (libc_feupdateenv_53bit): Remove.
7555 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7556 (math_opt_barrier, math_force_eval): Remove.
7557 (libc_feholdexcept): Remove.
7558 (libc_feholdexcept_setround): Remove.
7559 (libc_fetestexcept, libc_fesetenv): Remove.
7560 (libc_feupdateenv_test): Remove.
7561 (libc_feupdateenv, libc_feholdsetround): Remove.
7562 (libc_feresetround): Remove.
7564 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7565 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7567 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7568 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7569 (libc_feupdateenv_testl): New.
7570 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7571 (libc_feupdateenv_testf): New.
7572 (libc_feupdateenv): Use libc_feupdateenv_test.
7573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7574 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7576 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7577 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7578 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7579 (libc_feresetround_noex): New.
7580 (libc_feresetround_noexf): New.
7581 (libc_feresetround_noexl): New.
7582 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7583 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7584 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7585 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7587 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7590 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7591 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7592 SET_RESTORE_ROUND_NOEX.
7593 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7594 SET_RESTORE_ROUND_NOEXF.
7595 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7596 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7597 (libc_feholdsetroundf): New.
7598 (libc_feresetround, libc_feresetroundf): New.
7600 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7601 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7602 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7604 * sysdeps/generic/math_private.h: Include <fenv.h>.
7605 (default_libc_feholdexcept): New.
7606 (default_libc_feholdexcept_setround): New.
7607 (default_libc_fesetenv, default_libc_feupdateenv): New.
7608 (libc_feholdexcept): Only define if undefined.
7609 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7610 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7611 (libc_feholdexcept_setroundl): Likewise.
7612 (libc_feholdexcept_setround_53bit): Likewise.
7613 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7614 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7615 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7616 (libc_feupdateenv_53bit): Likewise.
7617 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7618 (libc_feholdexcept): Convert from macro to inline function.
7619 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7620 (libc_fesetenv, libc_feupdateenv): Likewise.
7622 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7623 not previously defined.
7624 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7625 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7626 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7627 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7628 * sysdeps/ieee754/flt-32/math_private.h: New file.
7629 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7630 math_private.h below SET_FLOAT_WORD.
7631 (__isnan, __isinf_ns, __finite): Remove.
7632 (__isnanf, __isinf_nsf, __finitef): Remove.
7634 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7638 2012-03-17 David S. Miller <davem@davemloft.net>
7641 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7644 2012-03-16 David S. Miller <davem@davemloft.net>
7646 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7650 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7652 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7653 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7654 sysdep_routines when subdir is sysvipc.
7655 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7658 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7660 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7662 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7665 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7667 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7668 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7669 (__lround): Renamed to ...
7670 (__llround): This. Replace long int with long long int.
7671 Define lround functions as aliases of llround functions.
7672 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7674 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7676 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7677 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7678 adresses to uintptr_t. Replace "long int" and "unsigned long
7679 int" with "greg_t" on va_arg.
7681 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7683 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7684 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7686 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7687 Move e_machine check before EI_CLASS check. Handle x32
7688 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7689 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7690 SKIP_EM_IA_64 and include
7691 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7693 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7694 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7695 (add_system_dir): New macro.
7697 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7698 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7700 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7711 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7713 * math/w_j0f.c (j0f): Likewise.
7715 * math/w_j0l.c (__j0l): Likewise.
7717 * math/w_j1.c (j1): Likewise.
7719 * math/w_j1f.c (j1f): Likewise.
7721 * math/w_j1l.c (__j1l): Likewise.
7723 * math/w_jn.c (jn): Likewise.
7725 * math/w_jnf.c (jnf): Likewise.
7727 * math/w_jnl.c (__jnl): Likewise.
7729 * math/libm-test.inc (j0_test): Add more tests.
7730 (j1_test): Likewise.
7731 (jn_test): Likewise. Add trailing semicolon to existing test.
7732 (y0_test): Likewise.
7733 (y1_test): Likewise.
7734 * sysdeps/i386/fpu/libm-test-ulps: Update.
7735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7739 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7740 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7741 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7742 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7743 (__tanl): Set errno for infinite argument.
7744 * sysdeps/i386/fpu/mptan.c: Remove.
7745 * sysdeps/i386/fpu/s_tan.S: Likewise.
7746 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7747 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7748 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7749 * math/libm-test.inc (tan_test): Add more tests and enable more
7750 tests for double and long double.
7751 * sysdeps/i386/fpu/libm-test-ulps: Update.
7752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7754 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7756 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7757 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7759 2012-03-16 Roland McGrath <roland@hack.frob.com>
7761 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7762 * configure.in: Use it for both main tree and add-ons.
7763 * configure: Regenerated.
7765 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7767 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7769 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7771 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7775 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7776 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7781 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7782 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7784 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7785 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7786 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7787 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7788 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7789 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7790 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7791 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7792 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7793 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7794 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7795 * math/libm-test.inc (cos_test): Add more tests and enable more
7796 tests for long double.
7797 (sin_test): Likewise.
7798 (sincos_test): Likewise.
7799 * sysdeps/i386/fpu/libm-test-ulps: Update.
7800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7802 2012-03-16 David S. Miller <davem@davemloft.net>
7804 * sysdeps/sparc/fpu/math_private.h: New file.
7806 2012-03-15 David S. Miller <davem@davemloft.net>
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7818 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7822 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7823 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7825 * sysdeps/sparc/sparc-ifunc.h: New file.
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7871 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7873 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7877 2012-03-15 Andreas Jaeger <aj@suse.de>
7880 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7881 ieee754/flt-32 implementation for sin, cos and sincos.
7882 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7883 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7884 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7885 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7886 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7887 ieee754/flt-32 implementation for tan.
7889 * math/libm-test.inc (cos_test): Enable some large input tests for
7891 (sin_test): Likewise.
7892 (sincos_test): Likewise.
7893 (tan_test): Add tests for large input.
7895 * sysdeps/i386/fpu/libm-test-ulps: Update.
7897 2012-03-15 Andreas Jaeger <aj@suse.de>
7900 * math/libm-test.inc (cos_test): Add more test cases.
7901 (sin_test): Likewise.
7902 (sincos_test): Likewise.
7904 2012-03-15 Andreas Jaeger <aj@suse.de>
7907 * math/libm-test.inc (cos_test): Add a test case for large input
7909 (sin_test): Likewise.
7910 (sincos_test): Likewise.
7912 2012-03-15 Andreas Jaeger <aj@suse.de>,
7913 Joseph Myers <joseph@codesourcery.com>
7916 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7917 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7918 * sysdeps/i386/fpu/branred.c: Likewise.
7919 * sysdeps/i386/fpu/dosincos.c: Likewise.
7920 * sysdeps/i386/fpu/mpa.c: Likewise.
7921 * sysdeps/i386/fpu/s_cos.S: Likewise.
7922 * sysdeps/i386/fpu/s_sin.S: Likewise.
7923 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7924 * sysdeps/i386/fpu/sincos32.c: Likewise.
7926 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7928 (libc_feupdateenv_53bit): Define.
7929 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7931 (libc_feupdateenv_53bit): Define.
7933 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7934 53 bit (without extend i386 double precision).
7936 * math/libm-test.inc (sincos_test): Add tests for large input.
7940 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7942 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7946 2012-03-15 David S. Miller <davem@davemloft.net>
7948 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7949 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7950 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7951 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7976 fmin/fmax sysdep routines.
7977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7979 2012-03-14 David S. Miller <davem@davemloft.net>
7981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7985 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8005 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8053 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8058 * sysdeps/sparc/configure.in: New file.
8059 * sysdeps/sparc/configure: Generate.
8060 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8061 * configure: Regenerate.
8062 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8063 * config.make.in (have-as-vis3): New.
8064 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8065 available use -Av9d instead of -Av9a.
8066 * sysdeps/sparc/sparc64/Makefile: Likewise.
8067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8082 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8083 fzeros/fnegs to load 0x80000000 into a float register instead of
8085 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8087 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8091 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8092 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8093 ($(inst_includedir)/bits/syscall.h): Remove rule.
8094 ($(objpfx)bits/syscall.d): Include instead of
8095 $(objpfx)syscall-list.d.
8096 (generated): Change syscall-list.h and syscall-list.d to
8097 bits/syscall.h and bits/syscall.d.
8099 2012-03-14 Roland McGrath <roland@hack.frob.com>
8102 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8104 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8107 * math/s_csqrt.c: Include <float.h>.
8108 (__csqrt): Scale large or subnormal inputs.
8109 * math/s_csqrtf.c: Likewise.
8110 * math/s_csqrtl.c: Likewise.
8111 * math/libm-test.inc (csqrt_test): Add more tests.
8112 * sysdeps/i386/fpu/libm-test-ulps: Update.
8113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8116 * math/libm-test.inc (hypot_test): Add more tests.
8118 2012-03-13 David S. Miller <davem@davemloft.net>
8121 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8122 double-precision for the calculation instead of scaling.
8124 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8126 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8127 manipulate bits before adding and subtracting TWO52[sx].
8128 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8129 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8131 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8133 2012-03-13 David S. Miller <davem@davemloft.net>
8135 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8136 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8137 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8138 rtld-global-offsets.h
8139 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8141 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8144 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8146 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8147 'err' in the ifdef scope in which it is actually used.
8149 * nss/nss_db/db-init.c: Include string.h
8151 2012-03-12 David S. Miller <davem@davemloft.net>
8153 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8154 masking out of the most significant byte of random value used.
8155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8156 Fix coding style in previous change.
8158 * sysdeps/unix/sysv/linux/kernel-features.h
8159 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8160 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8162 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8165 2012-03-11 David S. Miller <davem@davemloft.net>
8167 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8168 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8169 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8170 for 'resultvar' otherwise things get truncated on 64-bit.
8172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8173 Fix masking out of the most significant byte of random value used.
8175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8177 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8181 2012-03-09 David S. Miller <davem@davemloft.net>
8183 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8184 variables with appropriate CPP guards.
8185 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8186 frame pointer, not the stack pointer. Correct layout comments. Fix test
8187 on resulting framesize and the management of the outregs buffer for pltexit.
8188 Preserve floating point return values across _dl_call_pltexit call.
8189 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8190 framesize and the management of the outregs buffer for pltexit.
8191 Preserve floating point return values across _dl_call_pltexit
8193 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8194 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8195 (print_exit): Fix format string for return register value.
8197 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8199 * sunrpc/Makefile (others): Add rpcgen.
8200 ($(objpfx)rpcgen): Remove special build rule and dependency on
8202 * sunrpc/rpcgen.c: New file.
8204 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8207 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8208 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8209 * sysdeps/i386/crti.S: Likewise.
8210 * sysdeps/i386/crtn.S: Likewise.
8211 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8212 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8213 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8214 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8215 * sysdeps/sh/crti.S: Likewise.
8216 * sysdeps/sh/crtn.S: Likewise.
8217 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8220 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8222 * locale/programs/locfile-kw.gperf: Likewise.
8223 * locale/programs/charmap-kw.h: Regenerated.
8224 * locale/programs/locfile-kw.h: Likewise.
8227 * intl/plural.y: Replace FSF snail mail address with URL.
8228 * intl/plural.c: Regenerated.
8230 2012-03-09 Richard Henderson <rth@twiddle.net>
8232 * include/math_private.h: Remove file.
8233 * math/math_private.h: Move file ...
8234 * sysdeps/generic/math_private.h: ... here.
8236 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8237 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8238 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8240 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8241 and <math_private.h>.
8242 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8243 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8244 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8245 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8246 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8330 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8331 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8332 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8333 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8334 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8335 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8336 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8337 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8338 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8339 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8340 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8341 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8342 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8343 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8344 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8345 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8346 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8347 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8348 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8349 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8350 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8352 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8353 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8354 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8355 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8356 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8357 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8358 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8359 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8360 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8361 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8362 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8363 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8364 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8365 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8366 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8367 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8368 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8369 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8370 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8371 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8372 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8373 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8374 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8375 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8376 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8377 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8378 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8379 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8380 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8381 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8382 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8383 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8384 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8385 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8386 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8387 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8388 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8389 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8390 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8391 * sysdeps/ieee754/k_standard.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8419 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8423 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8425 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8430 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8431 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8437 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8438 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8439 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8440 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8442 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8443 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8444 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8445 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8449 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8451 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8452 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8453 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8454 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8455 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8456 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8458 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8459 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8460 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8461 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8462 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8464 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8465 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8466 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8469 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8470 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8474 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8475 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8476 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8477 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8478 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8479 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8480 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8481 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8482 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8483 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8484 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8485 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8486 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8489 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8491 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8493 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8494 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8495 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8496 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8499 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8500 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8501 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8502 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8504 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8505 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8506 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8507 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8509 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8510 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8511 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8512 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8513 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8514 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8519 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8524 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8527 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8540 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8541 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8552 * sysdeps/ieee754/s_lib_version.c: Likewise.
8553 * sysdeps/ieee754/s_matherr.c: Likewise.
8554 * sysdeps/ieee754/s_signgam.c: Likewise.
8555 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8556 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8557 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8558 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8559 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8560 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8561 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8562 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8563 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8564 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8565 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8566 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8567 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8568 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8569 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8571 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8572 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8573 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8574 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8577 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8579 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8580 * sunrpc/rpc_main.c: Likewise.
8581 * sunrpc/rpc_svcout.c: Likewise.
8583 2012-03-09 David S. Miller <davem@davemloft.net>
8585 * include/math_private.h: New file.
8587 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8589 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8590 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8591 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8592 from <bits/socket_type.h>.
8593 (enum __socket_type): Don't define here.
8594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8599 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8602 * Makerules ($(inst_includedir)/%.h): New rule.
8603 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8604 (install-others): Remove variable setting.
8605 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8607 2012-03-08 Richard Henderson <rth@twiddle.net>
8609 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8610 from macro to inline function; merge with the
8611 !__LIBC_INTERNAL_MATH_INLINES version.
8612 (__ieee754_sqrtf): Likewise.
8614 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8616 (__rintf, __floor, __floorf): Likewise.
8618 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8619 macro to inline function.
8620 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8622 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8623 not <math/math_private.h>.
8625 2012-03-08 David S. Miller <davem@davemloft.net>
8627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8629 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8631 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8633 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8635 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8636 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8638 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8640 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8641 be defined individually, they must be defined as a block. Define
8642 S for printing a string instead of hidint the different by using a
8643 macro for adding the 'l'.
8644 * stdio-common/tst-fphex-wide.c: Adjust.
8646 2012-03-07 Marek Polacek <polacek@redhat.com>
8648 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8650 2012-03-08 Marek Polacek <polacek@redhat.com>
8653 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8654 * stdio-common/tst-fphex.c: Define a few macros to make the
8655 test reusable. Use them.
8656 * stdio-common/tst-fphex-wide.c: New file.
8658 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8661 * manual/macros.texi (gnusystems): New macro.
8662 (nongnusystems): Likewise.
8663 (gnulinuxhurdsystems): Likewise.
8664 (gnuhurdsystems): Likewise..
8665 (gnulinuxsystems): Likewise.
8666 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8667 variants of the GNU system, not "GNU system".
8668 * manual/conf.texi: Likewise.
8669 * manual/errno.texi: Likewise. Update example of errno macro
8671 * manual/filesys.texi: Likewise.
8672 (getumask): Document as specific to GNU/Hurd.
8673 * manual/install.texi: Likewise. Reword some references to
8675 * manual/intro.texi: Likewise.
8676 * manual/io.texi: Likewise.
8677 (File Name Portability): Detail which constraints are inapplicable
8678 to all GNU systems and which are only inapplicable to GNU/Hurd.
8679 * manual/job.texi: Likewise.
8680 * manual/llio.texi: Likewise.
8681 (O_NOCTTY): Document as present on GNU/Linux.
8682 * manual/maint.texi: Likewise.
8683 * manual/memory.texi: Likewise.
8684 * manual/pattern.texi: Likewise.
8685 * manual/pipe.texi: Likewise.
8686 * manual/process.texi: Likewise.
8687 * manual/resource.texi: Likewise.
8688 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8690 * manual/setjmp.texi: Likewise.
8691 * manual/signal.texi: Likewise.
8692 * manual/startup.texi: Likewise.
8693 * manual/stdio.texi: Likewise.
8694 * manual/terminal.texi: Likewise.
8695 (ONLCR): Document as POSIX.
8696 (OXTABS): Document availability on GNU/Linux as XTABS.
8697 (ONOEOT): Document availability separately from other bits.
8698 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8699 * manual/time.texi: Likewise.
8700 * manual/users.texi: Likewise.
8701 * INSTALL: Regenerated.
8702 * sysdeps/gnu/errlist.c: Regenerated.
8704 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8705 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8706 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8708 * configure: Regenerated.
8710 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8712 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8713 default includes instead of AC_HEADER_CHECK.
8714 * sysdeps/i386/configure: Regenerated.
8717 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8718 * math/s_cacoshf.c (__cacoshf): Likewise.
8719 * math/s_cacoshl.c (__cacoshl): Likewise.
8720 * math/s_casinh.c (__casinh): Set signs of result from argument.
8721 * math/s_casinhf.c (__casinhf): Likewise.
8722 * math/s_casinhl.c (__casinhl): Likewise.
8723 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8724 (casinh_test): Add more tests.
8725 * sysdeps/i386/fpu/libm-test-ulps: Update.
8726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8728 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8730 * po/zh_TW.po: Update from translation team.
8732 * login/Makefile (distribute): Remove variable.
8733 * catgets/Makefile: Likewise.
8734 * mach/Makefile: Likewise.
8735 * malloc/Makefile: Likewise.
8736 * misc/Makefile: Likewise.
8737 * iconv/Makefile: Likewise.
8738 * nscd/Makefile: Likewise.
8739 * hurd/Makefile: Likewise.
8740 * manual/Makefile: Likewise.
8741 * locale/Makefile: Likewise.
8742 * intl/Makefile: Likewise.
8743 * conform/Makefile: Likewise.
8744 * nss/Makefile: Likewise.
8745 * time/Makefile: Likewise.
8746 * soft-fp/Makefile: Likewise.
8747 * dirent/Makefile: Likewise.
8748 * gmon/Makefile: Likewise.
8749 * po/Makefile: Likewise.
8750 * rt/Makefile: Likewise.
8751 * socket/Makefile: Likewise.
8752 * math/Makefile: Likewise.
8753 * signal/Makefile: Likewise.
8754 * debug/Makefile: Likewise.
8755 * elf/Makefile: Likewise.
8756 * timezone/Makefile: Likewise.
8757 * stdlib/Makefile: Likewise.
8758 * iconvdata/Makefile: Likewise.
8759 * sunrpc/Makefile: Likewise.
8760 * io/Makefile: Likewise.
8761 * argp/Makefile: Likewise.
8762 * inet/Makefile: Likewise.
8763 * hesiod/Makefile: Likewise.
8764 * grp/Makefile: Likewise.
8765 * csu/Makefile: Likewise.
8766 * wctype/Makefile: Likewise.
8767 * crypt/Makefile: Likewise.
8768 * libio/Makefile: Likewise.
8769 * string/Makefile: Likewise.
8770 * nis/Makefile: Likewise.
8771 * resolv/Makefile: Likewise.
8772 * stdio-common/Makefile: Likewise.
8773 * wcsmbs/Makefile: Likewise.
8774 * dlfcn/Makefile: Likewise.
8775 * posix/Makefile: Likewise.
8778 * timezone/Makefile: Don't install timezone files, just the programs
8781 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8783 * nss/databases.def: Add missing gshadow entry.
8785 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8787 2012-03-06 Marek Polacek <polacek@redhat.com>
8790 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8791 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8792 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8793 * stdio-common/tst-long-dbl-fphex.c: New file.
8795 2012-03-06 David S. Miller <davem@davemloft.net>
8797 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8798 (set_obp_int): New function.
8799 (get_obp_int): New function.
8800 (__get_clockfreq_via_dev_openprom): Likewise.
8801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8802 Avoid unused variable warnings on 'val' and use builtin_expect.
8803 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8805 (INLINE_CLONE_SYSCALL): Likewise.
8807 2012-03-05 David S. Miller <davem@davemloft.net>
8809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8811 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8815 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8819 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8822 Replace gettimeofday with __vdso_gettimeofday.
8824 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8825 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8826 __vdso_clock_gettime and __vdso_getcpu.
8828 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8829 time with __vdso_time.
8831 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8833 * manual/lang.texi (size_t): Note types to which size_t may be
8834 equivalent with the GNU C Library, but do not describe when
8835 differences between them are significant.
8837 2012-03-05 Andreas Jaeger <aj@suse.de>
8839 * sysdeps/i386/fpu/libm-test-ulps: Update.
8841 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8844 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8845 (__ieee754_pow): Save and restore rounding mode and use
8846 round-to-nearest for main computations.
8847 * math/libm-test.inc (pow_test_tonearest): New function.
8848 (pow_test_towardzero): Likewise.
8849 (pow_test_downward): Likewise.
8850 (pow_test_upward): Likewise.
8851 (main): Call the new functions.
8852 * sysdeps/i386/fpu/libm-test-ulps: Update.
8853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8856 * math/libm-test.inc (cosh_test_tonearest): New function.
8857 (cosh_test_towardzero): Likewise.
8858 (cosh_test_downward): Likewise.
8859 (cosh_test_upward): Likewise.
8860 (sinh_test_tonearest): Likewise.
8861 (sinh_test_towardzero): Likewise.
8862 (sinh_test_downward): Likewise.
8863 (sinh_test_upward): Likewise.
8864 (main): Call the new functions.
8865 * sysdeps/i386/fpu/libm-test-ulps: Update.
8866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8868 2012-03-05 Tom de Vries <tom@codesourcery.com>
8870 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8871 default stack guard is set in last bytes.
8872 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8874 2012-03-05 Kees Cook <keescook@chromium.org>
8876 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8879 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8880 possibly allocate from heap instead of stack.
8881 * stdio-common/bug-vfprintf-nargs.c: New file.
8882 * stdio-common/Makefile (tests): Add nargs overflow test.
8884 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8888 2012-03-03 Marek Polacek <polacek@redhat.com>
8890 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8891 * math/math_private.h: Likewise.
8892 * stdlib/tst-strtod.c: Likewise.
8893 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8894 * sysdeps/x86_64/bits/atomic.h: Likewise.
8896 2012-03-02 David S. Miller <davem@davemloft.net>
8898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8902 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8903 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8904 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8905 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8907 2012-03-02 Roland McGrath <roland@hack.frob.com>
8910 * manual/examples/README: New file, says the example source files
8911 can be used under GPL>=2.
8912 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8913 line containing just "*/".
8914 * manual/examples/add.c: Add copyright header (GPL>=2).
8915 * manual/examples/argp-ex1.c: Likewise.
8916 * manual/examples/argp-ex2.c: Likewise.
8917 * manual/examples/argp-ex3.c: Likewise.
8918 * manual/examples/argp-ex4.c: Likewise.
8919 * manual/examples/atexit.c: Likewise.
8920 * manual/examples/db.c: Likewise.
8921 * manual/examples/dir.c: Likewise.
8922 * manual/examples/dir2.c: Likewise.
8923 * manual/examples/execinfo.c: Likewise.
8924 * manual/examples/filecli.c: Likewise.
8925 * manual/examples/filesrv.c: Likewise.
8926 * manual/examples/fmtmsgexpl.c: Likewise.
8927 * manual/examples/genpass.c: Likewise.
8928 * manual/examples/inetcli.c: Likewise.
8929 * manual/examples/inetsrv.c: Likewise.
8930 * manual/examples/isockad.c: Likewise.
8931 * manual/examples/longopt.c: Likewise.
8932 * manual/examples/memopen.c: Likewise.
8933 * manual/examples/memstrm.c: Likewise.
8934 * manual/examples/mkfsock.c: Likewise.
8935 * manual/examples/mkisock.c: Likewise.
8936 * manual/examples/mygetpass.c: Likewise.
8937 * manual/examples/pipe.c: Likewise.
8938 * manual/examples/popen.c: Likewise.
8939 * manual/examples/rprintf.c: Likewise.
8940 * manual/examples/search.c: Likewise.
8941 * manual/examples/select.c: Likewise.
8942 * manual/examples/setjmp.c: Likewise.
8943 * manual/examples/sigh1.c: Likewise.
8944 * manual/examples/sigusr.c: Likewise.
8945 * manual/examples/stpcpy.c: Likewise.
8946 * manual/examples/strdupa.c: Likewise.
8947 * manual/examples/strftim.c: Likewise.
8948 * manual/examples/strncat.c: Likewise.
8949 * manual/examples/subopt.c: Likewise.
8950 * manual/examples/swapcontext.c: Likewise.
8951 * manual/examples/termios.c: Likewise.
8952 * manual/examples/testopt.c: Likewise.
8953 * manual/examples/testpass.c: Likewise.
8954 * manual/examples/timeval_subtract.c: Likewise.
8957 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8959 * manual/timeval_subtract.c.texi: ... here, new file.
8961 2012-03-02 David S. Miller <davem@davemloft.net>
8963 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8965 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8968 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8969 (__sin): Save and restore rounding mode and use round-to-nearest
8970 for all computations.
8971 (__cos): Save and restore rounding mode and use round-to-nearest
8972 for all computations.
8973 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8975 (tan): Save and restore rounding mode and use round-to-nearest for
8977 * math/libm-test.inc (cos_test_tonearest): New function.
8978 (cos_test_towardzero): Likewise.
8979 (cos_test_downward): Likewise.
8980 (cos_test_upward): Likewise.
8981 (sin_test_tonearest): Likewise.
8982 (sin_test_towardzero): Likewise.
8983 (sin_test_downward): Likewise.
8984 (sin_test_upward): Likewise.
8985 (tan_test_tonearest): Likewise.
8986 (tan_test_towardzero): Likewise.
8987 (tan_test_downward): Likewise.
8988 (tan_test_upward): Likewise.
8989 (main): Call the new functions.
8990 * sysdeps/i386/fpu/libm-test-ulps: Update.
8991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8994 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8995 small n, then large n, before computing and testing k+n.
8996 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8997 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9001 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9002 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9005 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9006 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9007 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9008 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9009 * math/libm-test.inc (scalbn_test): Add more tests.
9010 (scalbln_test): Likewise.
9012 * manual/filesys.texi (mode_t): Describe constraints on size and
9013 signedness, not exact equivalence to a particular type.
9015 (ino64_t): Likewise.
9017 (nlink_t): Likewise.
9018 (blkcnt_t): Likewise.
9019 (blkcnt64_t): Likewise.
9020 * manual/llio.texi (off_t): Likewise.
9023 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9024 (__ieee754_exp): Save and restore rounding mode and use
9025 round-to-nearest for all computations.
9026 * math/libm-test.inc (exp_test_tonearest): New function.
9027 (exp_test_towardzero): Likewise.
9028 (exp_test_downward): Likewise.
9029 (exp_test_upward): Likewise.
9030 (main): Call the new functions.
9031 * sysdeps/i386/fpu/libm-test-ulps: Update.
9032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9034 2012-03-01 Chris Demetriou <cgd@google.com>
9036 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9037 have predictable order.
9039 2012-03-01 David S. Miller <davem@davemloft.net>
9041 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9043 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9044 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9045 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9046 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9048 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9049 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9050 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9052 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9053 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9054 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9055 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9056 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9061 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9062 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9064 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9065 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9066 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9067 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9068 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9069 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9071 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9072 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9073 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9074 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9075 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9077 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9078 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9080 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9081 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9082 * sysdeps/sparc/elf/configure: Regenerated.
9084 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9086 * configure.in (AS, LD): Require binutils 2.20 or later.
9087 * configure: Regenerated.
9088 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9089 as required minimum version.
9090 * INSTALL: Regenerated.
9094 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9095 before squaring exponent.
9096 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9097 bottom long double and 27 bits of top long double before squaring
9099 * math/libm-test.inc (erfc_test): Add more tests.
9100 * sysdeps/i386/fpu/libm-test-ulps: Update.
9101 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9104 2012-03-01 Kai Tietz <ktietz@redhat.com>
9106 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9107 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9108 containing bit-fields.
9109 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9110 * soft-fp/single.h (_FP_UNION_S): Likewise.
9111 * soft-fp/double.h (_FP_UNION_D): Likewise.
9113 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9116 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9117 not include ../strcmp.S.
9118 [USE_AS_STRNCASECMP_L]: Likewise.
9119 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9120 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9121 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9122 (__strncasecmp_l_ia32): Define as alias to
9123 __strncasecmp_l_nonascii.
9126 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9127 * sysdeps/i386/fpu/libm-test-ulps: Update.
9128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9130 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9133 2012-02-29 Jeff Law <law@redhat.com>
9135 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9138 2012-02-29 Marek Polacek <polacek@redhat.com>
9141 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9142 * elf/Makefile: Add rules to run tst-unused-dep.out.
9144 2012-02-28 David S. Miller <davem@davemloft.net>
9146 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9147 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9148 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9150 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9151 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9153 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9155 * math/libm-test.inc (llround_test): Move one test from
9156 lround_test. Use TEST_f_L in moved test.
9157 (lround_test): Move misplaced test to llround_test. Add testcase
9160 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9162 * sysdeps/x86_64/fpu/e_expf.S: New file.
9163 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9165 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9168 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9169 of remain_len that may cause incomplete multi-byte character and
9171 * posix/bug-regex33.c: New file.
9172 * posix/Makefile (tests): Add bug-regex33.
9174 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9176 * manual/macros.texi: New file.
9177 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9178 * manual/libc.texinfo: Include macros.texi.
9179 * manual/creatute.texi: Likewise.
9180 * manual/install.texi: Likewise.
9181 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9182 @glibcadj{} in references to the GNU C Library.
9183 * manual/charset.texi: Likewise.
9184 * manual/conf.texi: Likewise.
9185 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9186 when not using those macros.
9187 * manual/creature.texi: Likewise.
9188 * manual/crypt.texi: Likewise.
9189 * manual/errno.texi: Likewise.
9190 * manual/filesys.texi: Likewise.
9191 * manual/header.texi: Likewise.
9192 * manual/install.texi: Likewise.
9193 * manual/intro.texi: Likewise.
9194 * manual/io.texi: Likewise.
9195 * manual/job.texi: Likewise.
9196 * manual/lang.texi: Likewise.
9197 * manual/libc.texiinfo: Likewise.
9198 * manual/llio.texi: Likewise.
9199 * manual/locale.texi: Likewise.
9200 * manual/maint.texi: Likewise.
9201 * manual/math.texi: Likewise.
9202 * manual/memory.texi: Likewise.
9203 * manual/message.texi: Likewise.
9204 * manual/nss.texi: Likewise.
9205 * manual/pattern.texi: Likewise.
9206 * manual/process.texi: Likewise.
9207 * manual/resource.texi: Likewise.
9208 * manual/search.texi: Likewise.
9209 * manual/setjmp.texi: Likewise.
9210 * manual/signal.texi: Likewise.
9211 * manual/socket.texi: Likewise.
9212 * manual/startup.texi: Likewise.
9213 * manual/stdio.texi: Likewise.
9214 * manual/string.texi: Likewise.
9215 * manual/sysinfo.texi: Likewise.
9216 * manual/syslog.texi: Likewise.
9217 * manual/terminal.texi: Likewise.
9218 * manual/time.texi: Likewise.
9219 * manual/users.texi: Likewise.
9220 * INSTALL: Regenerated.
9221 * NOTES: Regenerated.
9222 * sysdeps/gnu/errlist.c: Regenerated.
9224 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9226 * include/dirent.h: Include <dirstream.h> before
9229 2012-02-28 David S. Miller <davem@davemloft.net>
9231 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9232 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9233 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9234 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9236 2012-02-27 David S. Miller <davem@davemloft.net>
9238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9240 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9241 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9244 frame pointer instead of stack pointer relative arg slot.
9245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9246 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9247 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9249 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9252 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9254 2012-02-27 David S. Miller <davem@davemloft.net>
9256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9260 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9261 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9262 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9263 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9265 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9267 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9268 later. Allow versions 5-9.
9269 * configure: Regenerated.
9270 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9271 required minimum version and 4.6 as recommended version. Do not
9272 mention bugs in GCC 2.7 and 2.8.
9273 * INSTALL: Regenerated.
9275 2012-02-27 David S. Miller <davem@davemloft.net>
9277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9281 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9282 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9283 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9284 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9286 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9287 manipulate bits before adding and subtracting TWO112[sx].
9288 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9290 2012-02-27 Roland McGrath <roland@hack.frob.com>
9293 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9294 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9295 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9296 being in POSIX, because they are in 1003.1-2008.
9298 * rt/tst-aio.c: Include <fcntl.h>.
9299 * rt/tst-aio7.c: Likewise.
9300 * rt/tst-aio64.c: Likewise.
9302 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9304 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9306 * manual/install.texi (--with-headers): Describe headers as
9307 interface headers, not private headers.
9308 (Specific advice for GNU/Linux systems): Describe use of headers
9309 from "make headers_install", not private headers from older
9311 * INSTALL: Regenerated.
9312 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9314 * sysdeps/unix/sysv/linux/configure: Regenerated.
9316 * manual/llio.texi (fclean): Remove documentation.
9318 * manual/Makefile (libc-texi-generated): New variable. Include
9320 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9321 $(libc-texi-generated), not duplicated list of files.
9322 (version.texi, stamp-version): New rules.
9323 (realclean): Remove $(libc-texi-generated), not individual files
9324 from that list. Do not remove dir-add.texinfo.
9325 * manual/libc.texinfo: Comment out uses of edition numbers and
9326 references to printed manual. Remove last-updated dates.
9327 (EDITION): Comment out.
9329 (VERSION, UPDATED): Remove.
9330 (version.texi): Include.
9332 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9334 * sysdeps/posix/spawni.c: Include <signal.h>.
9335 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9336 * sysdeps/pthread/aio_fsync.c: Likewise.
9338 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9340 * conform/Makefile (tests): Run only when not cross-compiling and
9341 when fast-check is not defined.
9343 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9344 * conform/data/limits.h-data: Fixes for POSIX2008.
9345 * conform/run-conformtest.sh: Run all tests.
9346 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9348 * include/bits/dlfcn.h: Likewise.
9349 * include/langinfo.h: Likewise.
9350 * include/monetary.h: Likewise.
9351 * include/sys/poll.h: Likewise.
9353 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9355 * posix/spawn.h: Define __need_sigset_t.
9356 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9357 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9358 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9359 to get sigevent_t only.
9360 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9363 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9364 process_vm_writev only for __USE_GNU.
9365 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9367 * conform/Makefile: For now ignore errors from run-conformtest.
9368 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9369 POSIX to avoid namespace pollution. Don't prepend headers.
9370 * conform/data/aio.h-data: Fixes for POSIX testing.
9371 * conform/data/fcntl.h-data: Likewise.
9372 * conform/data/glob.h-data: Likewise.
9373 * conform/data/grp.h-data: Likewise.
9374 * conform/data/pthread.h-data: Likewise.
9375 * conform/data/pwd.h-data: Likewise.
9376 * conform/data/signal.h-data: Likewise.
9377 * conform/data/spawn.h-data: Likewise.
9378 * conform/data/stdio.h-data: Likewise.
9379 * conform/data/stdlib.h-data: Likewise.
9380 * conform/data/stropts.h-data: Likewise.
9381 * conform/data/sys/mman.h-data: Likewise.
9382 * conform/data/sys/stat.h-data: Likewise.
9383 * conform/data/sys/types.h-data: Likewise.
9384 * conform/data/sys/wait.h-data: Likewise.
9385 * conform/data/time.h-data: Likewise.
9386 * conform/data/unistd.h-data: Likewise.
9387 * conform/data/utime.h-data: Likewise.
9389 * io/sys/stat.h: fchmod was always in POSIX.
9390 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9391 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9392 * rt/aio.h: Define __need_timespec before including <time.h>.
9393 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9394 struct. Add forward declaration of pthread_attr_t and use it in
9396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9398 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9399 always remove CLK_TCK definition.
9401 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9403 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9405 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9407 * conform/run-conformtest.sh: New file.
9408 * conform/Makefile: Run run-conformtest for tests.
9409 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9412 * conform/data/uchar.h-data: New file.
9413 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9414 * conform/data/arpa/inet.h-data: Likewise.
9415 * conform/data/assert.h-data: Likewise.
9416 * conform/data/complex.h-data: Likewise.
9417 * conform/data/cpio.h-data: Likewise.
9418 * conform/data/ctype.h-data: Likewise.
9419 * conform/data/dirent.h-data: Likewise.
9420 * conform/data/dlfcn.h-data: Likewise.
9421 * conform/data/errno.h-data: Likewise.
9422 * conform/data/fcntl.h-data: Likewise.
9423 * conform/data/float.h-data: Likewise.
9424 * conform/data/fmtmsg.h-data: Likewise.
9425 * conform/data/fnmatch.h-data: Likewise.
9426 * conform/data/ftw.h-data: Likewise.
9427 * conform/data/glob.h-data: Likewise.
9428 * conform/data/grp.h-data: Likewise.
9429 * conform/data/iconv.h-data: Likewise.
9430 * conform/data/inttypes.h-data: Likewise.
9431 * conform/data/langinfo.h-data: Likewise.
9432 * conform/data/libgen.h-data: Likewise.
9433 * conform/data/limits.h-data: Likewise.
9434 * conform/data/locale.h-data: Likewise.
9435 * conform/data/math.h-data: Likewise.
9436 * conform/data/monetary.h-data: Likewise.
9437 * conform/data/mqueue.h-data: Likewise.
9438 * conform/data/ndbm.h-data: Likewise.
9439 * conform/data/net/if.h-data: Likewise.
9440 * conform/data/netdb.h-data: Likewise.
9441 * conform/data/netinet/in.h-data: Likewise.
9442 * conform/data/nl_types.h-data: Likewise.
9443 * conform/data/poll.h-data: Likewise.
9444 * conform/data/pthread.h-data: Likewise.
9445 * conform/data/pwd.h-data: Likewise.
9446 * conform/data/regex.h-data: Likewise.
9447 * conform/data/sched.h-data: Likewise.
9448 * conform/data/search.h-data: Likewise.
9449 * conform/data/semaphore.h-data: Likewise.
9450 * conform/data/setjmp.h-data: Likewise.
9451 * conform/data/signal.h-data: Likewise.
9452 * conform/data/spawn.h-data: Likewise.
9453 * conform/data/stdarg.h-data: Likewise.
9454 * conform/data/stdio.h-data: Likewise.
9455 * conform/data/stdlib.h-data: Likewise.
9456 * conform/data/string.h-data: Likewise.
9457 * conform/data/strings.h-data: Likewise.
9458 * conform/data/stropts.h-data: Likewise.
9459 * conform/data/sys/ipc.h-data: Likewise.
9460 * conform/data/sys/mman.h-data: Likewise.
9461 * conform/data/sys/msg.h-data: Likewise.
9462 * conform/data/sys/resource.h-data: Likewise.
9463 * conform/data/sys/select.h-data: Likewise.
9464 * conform/data/sys/sem.h-data: Likewise.
9465 * conform/data/sys/shm.h-data: Likewise.
9466 * conform/data/sys/socket.h-data: Likewise.
9467 * conform/data/sys/stat.h-data: Likewise.
9468 * conform/data/sys/statvfs.h-data: Likewise.
9469 * conform/data/sys/time.h-data: Likewise.
9470 * conform/data/sys/timeb.h-data: Likewise.
9471 * conform/data/sys/times.h-data: Likewise.
9472 * conform/data/sys/types.h-data: Likewise.
9473 * conform/data/sys/uio.h-data: Likewise.
9474 * conform/data/sys/un.h-data: Likewise.
9475 * conform/data/sys/utsname.h-data: Likewise.
9476 * conform/data/sys/wait.h-data: Likewise.
9477 * conform/data/syslog.h-data: Likewise.
9478 * conform/data/tar.h-data: Likewise.
9479 * conform/data/termios.h-data: Likewise.
9480 * conform/data/utime.h-data: Likewise.
9481 * conform/data/utmpx.h-data: Likewise.
9482 * conform/data/varargs.h-data: Likewise.
9483 * conform/data/wchar.h-data: Likewise.
9484 * conform/data/wctype.h-data: Likewise.
9485 * conform/data/wordexp.h-data: Likewise.
9487 * include/stropts.h: New file.
9488 * include/uchar.h: New file.
9489 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9490 * include/assert.h: Likewise.
9491 * include/ctype.h: Likewise.
9492 * include/dirent.h: Likewise.
9493 * include/dlfcn.h: Likewise.
9494 * include/fcntl.h: Likewise.
9495 * include/fnmatch.h: Likewise.
9496 * include/glob.h: Likewise.
9497 * include/grp.h: Likewise.
9498 * include/libio.h: Likewise.
9499 * include/locale.h: Likewise.
9500 * include/math.h: Likewise.
9501 * include/net/if.h: Likewise.
9502 * include/netdb.h: Likewise.
9503 * include/netinet/in.h: Likewise.
9504 * include/pthread.h: Likewise.
9505 * include/pwd.h: Likewise.
9506 * include/regex.h: Likewise.
9507 * include/sched.h: Likewise.
9508 * include/search.h: Likewise.
9509 * include/setjmp.h: Likewise.
9510 * include/signal.h: Likewise.
9511 * include/stdio.h: Likewise.
9512 * include/stdlib.h: Likewise.
9513 * include/string.h: Likewise.
9514 * include/sys/cdefs.h: Likewise.
9515 * include/sys/mman.h: Likewise.
9516 * include/sys/msg.h: Likewise.
9517 * include/sys/resource.h: Likewise.
9518 * include/sys/select.h: Likewise.
9519 * include/sys/socket.h: Likewise.
9520 * include/sys/stat.h: Likewise.
9521 * include/sys/statvfs.h: Likewise.
9522 * include/sys/time.h: Likewise.
9523 * include/sys/times.h: Likewise.
9524 * include/sys/uio.h: Likewise.
9525 * include/sys/utsname.h: Likewise.
9526 * include/sys/wait.h: Likewise.
9527 * include/termios.h: Likewise.
9528 * include/time.h: Likewise.
9529 * include/ulimit.h: Likewise.
9530 * include/unistd.h: Likewise.
9531 * include/utime.h: Likewise.
9532 * include/wchar.h: Likewise.
9533 * include/wctype.h: Likewise.
9534 * include/wordexp.h: Likewise.
9536 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9538 * time/time.h: TIME_UTC must be a macro.
9539 Make timespec_get available for ISO C11 only as well.
9541 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9543 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9544 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9546 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9548 * configure.in: Use -o not -a in test for unsupported multi-arch.
9550 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9552 * manual/texinfo.tex: Update to version 2012-01-19.16.
9554 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9556 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9558 2012-02-24 Roland McGrath <roland@hack.frob.com>
9561 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9562 * manual/fdl-1.3.texi: New file.
9563 * manual/fdl-1.1.texi: File removed.
9566 * manual/libc.texinfo (FDL_VERSION): New @set.
9567 Use it for mention of FDL in cover text.
9568 (Documentation License): Use it in @include file name.
9570 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9571 Roland McGrath <roland@hack.frob.com>
9574 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9575 not LONG_LONG_MAX and LONG_LONG_MIN.
9576 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9577 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9579 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9581 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9585 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9586 manipulate bits before adding and subtracting TWO23[sx].
9587 * math/libm-test.inc (nearbyint_test): Add more tests.
9589 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9592 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9593 bits before adding and subtracting TWO23[sx].
9594 * math/libm-test.inc (rint_test): Add more tests.
9595 (rint_test_tonearest): Likewise.
9596 (rint_test_towardzero): Likewise.
9597 (rint_test_downward): Likewise.
9598 (rint_test_upward: Likewise.
9600 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9603 * include/stdc-predef.h: New file. Extracted from features.h.
9604 * include/features.h: Include stdc-predef.h.
9605 * Makefile (headers): Add stdc-predef.h.
9606 * CONFORMANCE (Compiler limitations): Update.
9608 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9610 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9612 2012-02-21 David S. Miller <davem@davemloft.net>
9614 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9615 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9617 2012-02-20 David S. Miller <davem@davemloft.net>
9619 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9620 using a normal save/restore sequence, rather than allocating a
9621 dummy stack frame just to store a frame pointer and restore.
9622 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9624 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9626 * manual/install.texi: Fix stray word in line-wrapped comment.
9628 2012-02-20 David S. Miller <davem@davemloft.net>
9630 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9631 both binutils and gcc support GOTDATA.
9633 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9634 "rd %pc" in the PIC register setup sequences.
9636 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9637 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9638 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9639 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9640 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9641 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9642 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9643 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9645 (SYSCALL_ERROR_HANDLER): Likewise.
9646 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9649 (SYSCALL_ERROR_HANDLER): Likewise.
9651 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9652 (HAVE_GCC_GOTDATA): New.
9653 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9654 relocation support in both binutils and gcc.
9655 * sysdeps/sparc/elf/configure: Regenerate.
9657 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9658 * sysdeps/sparc/sparc32/elf/configure: Delete.
9659 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9660 * sysdeps/sparc/sparc64/elf/configure: Delete.
9661 * sysdeps/sparc/elf/configure.in: New file.
9662 * sysdeps/sparc/elf/configure: Generate.
9664 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9665 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9666 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9667 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9668 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9670 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9672 * manual/install.texi: Do not mention specific glibc version
9674 * manual/libc.texinfo (VERSION, UPDATED): Update.
9675 (@copying): Use @copyright{} and range of years.
9677 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9680 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9681 [crti.S not in sysdirs] (generated): Do not append.
9682 [crti.S not in sysdirs] (omit-deps): Likewise.
9683 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9684 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9685 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9686 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9687 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9689 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9690 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9691 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9692 * csu/defs.awk: Remove file.
9693 * sysdeps/generic/initfini.c: Likewise.
9694 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9696 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9699 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9701 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9702 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9703 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9705 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9706 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9708 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9709 (__EPOLL_PACKED): Define to empty if not defined by
9711 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9715 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9717 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9718 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9719 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9720 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9722 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9726 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9728 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9731 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9732 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9735 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9737 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9738 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9740 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9742 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9743 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9745 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9747 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9750 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9752 * math/w_acos.c: Use non-signaling floating-point comparisons.
9753 * math/w_acosf.c: Likewise.
9754 * math/w_acosh.c: Likewise.
9755 * math/w_acoshf.c: Likewise.
9756 * math/w_acoshl.c: Likewise.
9757 * math/w_acosl.c: Likewise.
9758 * math/w_asin.c: Likewise.
9759 * math/w_asinf.c: Likewise.
9760 * math/w_asinl.c: Likewise.
9761 * math/w_atanh.c: Likewise.
9762 * math/w_atanhf.c: Likewise.
9763 * math/w_atanhl.c: Likewise.
9764 * math/w_exp2.c: Likewise.
9765 * math/w_exp2f.c: Likewise.
9766 * math/w_exp2l.c: Likewise.
9767 * math/w_j0.c: Likewise.
9768 * math/w_j0f.c: Likewise.
9769 * math/w_j0l.c: Likewise.
9770 * math/w_j1.c: Likewise.
9771 * math/w_j1f.c: Likewise.
9772 * math/w_j1l.c: Likewise.
9773 * math/w_jn.c: Likewise.
9774 * math/w_jnf.c: Likewise.
9775 * math/w_log.c: Likewise.
9776 * math/w_log10.c: Likewise.
9777 * math/w_log10f.c: Likewise.
9778 * math/w_log10l.c: Likewise.
9779 * math/w_log2.c: Likewise.
9780 * math/w_log2f.c: Likewise.
9781 * math/w_log2l.c: Likewise.
9782 * math/w_logf.c: Likewise.
9783 * math/w_logl.c: Likewise.
9784 * math/w_sqrt.c: Likewise.
9785 * math/w_sqrtf.c: Likewise.
9786 * math/w_sqrtl.c: Likewise.
9787 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9788 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9789 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9790 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9791 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9793 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9796 * manual/string.texi (strnlen): Use correct parameter name in
9797 equivalent expression.
9799 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9802 * manual/users.texi (seteuid): Consistently use neweuid for
9805 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9808 * manual/nss.texi (Services in the NSS configuration): Correct
9809 list of services in example configuration file.
9811 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9814 * manual/arith.texi: Remove statements about negative zero
9815 behaving identically to zero.
9817 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9820 * manual/install.texi: Do not document upgrading from libc5.
9822 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9825 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9827 2012-02-18 David S. Miller <davem@davemloft.net>
9829 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9830 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9831 %o7 across the call.
9832 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9837 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9838 * sysdeps/sparc/crtn.S: Likewise.
9840 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9842 * aout/Makefile: Remove.
9844 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9847 * manual/examples/argp-ex1.c (main): Format definition in GNU
9849 * manual/examples/argp-ex2.c (main): Likewise.
9850 * manual/examples/argp-ex3.c (main): Likewise.
9851 * manual/examples/argp-ex4.c (main): Likewise.
9852 * manual/examples/longopt.c (main): Use new-style prototype
9854 * manual/examples/strncat.c (main): Specify return type and use
9855 (void) for arguments.
9856 * manual/examples/subopt.c (main): Use char **argv argument.
9858 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9861 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9864 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9867 * manual/string.texi (strchr): Change when strchrnul is
9870 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9873 * manual/locale.texi (setlocale): Document LOCPATH.
9875 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9878 * manual/process.texi (execle): Move @dots{} before last argument.
9880 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9883 * manual/charset.texi (Generic Charset Conversion): Fix typo
9884 (LC_TYPE -> LC_CTYPE).
9886 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9889 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9890 (scalbnf): Likewise.
9891 (scalbnl): Likewise.
9892 (scalbln): Likewise.
9893 (scalblnf): Likewise.
9894 (scalblnl): Likewise.
9895 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9899 * manual/filesys.texi (telldir): Use braces around return type.
9900 * manual/llio.texi (mmap): Add space after comma.
9902 * manual/math.texi (jn): Use @var{} on parameter names.
9908 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9910 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9912 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9913 (sched_get_priority_max): Likewise.
9914 * manual/signal.texi (sigvec): Add space after comma.
9915 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9917 (if_indextoname): Likewise.
9918 (if_freenameindex): Likewise.
9919 (sendto): Use ',' instead of '.' in prototype.
9920 * manual/startup.texi (syscall): Use @dots{} instead of literal
9922 * manual/stdio.texi (__fpending): Separate initial words of
9923 paragraph from @deftypefun line.
9924 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9926 (vsyslog): Use @var{} on parameter names.
9927 * manual/terminal.texi (stty): Use @var{} on parameter names.
9928 * manual/users.texi (getutmp): Use @var{} on parameter names.
9929 (getutmpx): Likewise.
9931 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9934 * manual/stdio.texi (fopen): Fix typos in description of
9937 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9940 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9941 get clock_id definition.
9943 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9946 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9947 (madvise): Cast every argument to void on its own.
9949 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9952 * manual/startup.texi (Exit Status): Fix typo.
9954 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9957 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9958 * manual/examples/argp-ex2.c: Likewise.
9959 * manual/examples/argp-ex3.c: Likewise.
9961 2012-02-16 Richard Henderson <rth@redhat.com>
9963 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9964 * sysdeps/s390/s390-32/initfini.c: Remove.
9965 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9966 * sysdeps/s390/s390-64/initfini.c: Remove.
9968 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9970 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9971 compiler output for sysdeps/generic/initfini.c.
9972 * sysdeps/sh/elf/initfini.c: Remove file.
9974 2012-02-16 David S. Miller <davem@davemloft.net>
9977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9979 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9980 * sysdeps/sparc/crti.S: New file.
9981 * sysdeps/sparc/crtn.S: New file.
9982 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9983 * sysdeps/sparc/sparc64/Makefile: Likewise.
9985 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9988 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9990 2012-02-15 Roland McGrath <roland@hack.frob.com>
9993 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9995 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9996 (write, read, close): Likewise.
9997 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9999 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10001 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10002 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10003 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10004 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10006 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10010 2012-02-14 Marek Polacek <polacek@redhat.com>
10012 * sysdeps/x86_64/crti.S: New file.
10013 * sysdeps/x86_64/crtn.S: New file.
10014 * sysdeps/x86_64/elf/initfini.c: Remove file.
10016 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10018 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10019 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10020 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10021 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10023 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10027 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10029 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10030 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10031 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10032 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10034 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10038 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10040 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10041 __feraiseexcept instead of feraiseexcept.
10043 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10044 nanosleep invocations.
10045 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10046 strings, and add error checking for a nanosleep invocations.
10048 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10050 Replace FSF snail mail address with URLs, as per GNU coding standards.
10051 Most of the snail mail addresses were wrong anyway, and omitting
10052 them makes the source code easier to maintain. Almost all of the
10053 changes are to license notices and to locale LC_IDENTIFICATION
10054 addresses, except for this one:
10055 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10056 not its snail mail address.
10058 2012-02-09 Richard Henderson <rth@twiddle.net>
10060 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10061 of kernel-features.h.
10063 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10065 2012-02-08 Marek Polacek <polacek@redhat.com>
10067 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10068 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10069 * sysdeps/gnu/_G_config.h: Likewise.
10070 * sysdeps/generic/_G_config.h: Likewise.
10072 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10074 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10078 * sysdeps/powerpc/powerpc32/crti.S: New file.
10079 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10080 * sysdeps/powerpc/powerpc64/crti.S: New file.
10081 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10083 * Makeconfig (have-initfini): Don't set.
10084 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10085 * configure.in (nopic_initfini): Don't substitute.
10086 * config.h.in (HAVE_INITFINI): Don't #undef.
10087 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10088 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10090 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10092 Support crti.S and crtn.S provided directly by architectures.
10093 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10094 [crti.S in sysdirs] (omit-deps): Likewise.
10095 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10096 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10097 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10098 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10099 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10100 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10101 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10102 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10103 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10104 compiler output for sysdeps/generic/initfini.c.
10105 * sysdeps/i386/elf/Makefile: Remove file.
10106 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10108 2012-02-07 Marek Polacek <polacek@redhat.com>
10110 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10111 * sysdeps/gnu/_G_config.h: Likewise.
10112 * sysdeps/mach/hurd/_G_config.h: Likewise.
10114 2012-02-07 Marek Polacek <polacek@redhat.com>
10116 * math/Makefile (tests): Add tst-CMPLX2.
10117 * math/tst-CMPLX2.c: New file.
10119 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10121 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10123 * math/libm-test.inc (jn_test): Add missing L suffix.
10125 2012-02-06 Marek Polacek <polacek@redhat.com>
10127 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10128 * sysdeps/i386/fpu/e_powf.S: Likewise.
10129 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10130 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10131 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10132 * sysdeps/i386/fpu/e_pow.S: Likewise.
10133 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10134 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10135 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10136 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10137 * sysdeps/i386/fpu/e_log2.S: Likewise.
10138 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10139 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10140 * sysdeps/i386/fpu/e_powl.S: Likewise.
10141 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10142 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10143 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10144 * sysdeps/i386/fpu/e_logl.S: Likewise.
10145 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10146 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10147 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10148 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10149 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10150 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10151 * sysdeps/i386/fpu/e_log.S: Likewise.
10152 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10153 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10154 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10155 * sysdeps/i386/fpu/e_logf.S: Likewise.
10156 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10157 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10158 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10159 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10160 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10161 * sysdeps/i386/fpu/e_log10.S: Likewise.
10162 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10163 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10164 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10165 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10166 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10167 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10168 * sysdeps/i386/asm-syntax.h: Likewise.
10169 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10170 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10171 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10172 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10173 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10175 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10176 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10178 * sysdeps/powerpc/sysdep.h: Likewise.
10179 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10180 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10182 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10185 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10187 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10189 * sysdeps/i386/sysdep.h: Include <features.h>.
10190 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10193 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10195 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10197 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10200 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10202 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10203 (SETUP_PIC_REG): Use GET_PC_THUNK.
10204 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10207 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10209 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10210 for non-PIC compilation.
10211 (SETUP_PIC_REG): Add .p2align directive.
10212 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10213 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10214 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10215 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10216 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10217 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10218 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10219 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10220 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10221 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10222 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10223 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10224 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10225 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10226 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10227 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10228 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10229 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10230 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10231 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10232 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10233 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10234 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10235 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10236 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10238 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10239 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10240 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10241 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10242 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10243 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10244 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10245 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10246 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10247 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10248 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10249 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10250 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10251 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10252 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10254 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10256 * math/tst-CMPLX.c: Include <stdio.h>.
10258 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10260 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10262 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10263 * sysdeps/sparc/bits/mathdef.h: Likewise.
10265 2012-01-31 Marek Polacek <polacek@redhat.com>
10267 * libio/libio.h: Don't define _PARAMS.
10268 * locale/programs/config.h: Don't define PARAMS.
10269 * stdlib/strtol_l.c: Likewise.
10270 (__strtol_l): Remove PARAMS from the prototype.
10272 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10274 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10275 names. Just use the correct names. Remove unnecessary wrapper
10277 * malloc/arena.c: Likewise.
10278 * malloc/hooks.c: Likewise.
10280 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10281 ARENA_TEST says not to. Simplify test for creation of a new arena.
10282 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10284 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10286 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10288 (update_get_addr): New function.
10289 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10290 GET_ADDR_MODULE parameter.
10292 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10294 * crypt/cert.c: Remove __STDC__ conditionals.
10295 * crypt/crypt-entry.c: Likewise.
10296 * crypt/crypt_util.c: Likewise.
10297 * libio/filedoalloc.c: Likewise.
10298 * libio/fileops.c: Likewise.
10299 * libio/genops.c: Likewise.
10300 * libio/iofclose.c: Likewise.
10301 * libio/iofdopen.c: Likewise.
10302 * libio/iofopen.c: Likewise.
10303 * libio/iofopen64.c: Likewise.
10304 * libio/iogetdelim.c: Likewise.
10305 * libio/iopopen.c: Likewise.
10306 * libio/obprintf.c: Likewise.
10307 * libio/oldfileops.c: Likewise.
10308 * libio/oldiofclose.c: Likewise.
10309 * libio/oldiofdopen.c: Likewise.
10310 * libio/oldiofopen.c: Likewise.
10311 * libio/oldiopopen.c: Likewise.
10312 * libio/wfiledoalloc.c: Likewise.
10313 * libio/wgenops.c: Likewise.
10314 * locale/programs/xmalloc.c: Likewise.
10315 * misc/syslog.c: Likewise.
10316 * stdio-common/xbug.c: Likewise.
10317 * string/memchr.c: Likewise.
10318 * string/memcmp.c: Likewise.
10319 * string/memrchr.c: Likewise.
10320 * string/rawmemchr.c: Likewise.
10321 * sysdeps/posix/getcwd.c: Likewise.
10322 * time/strftime_l.c: Likewise.
10324 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10326 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10327 * config.make.in (config-cflags-sse2avx): Define.
10328 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10331 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10333 * scripts/config.guess: Update from upstream config git repository.
10334 * scripts/config.sub: Likewise.
10336 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10338 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10340 (R_TILEPRO_*, R_TILEGX_*): New macros.
10342 * scripts/firstversions.awk: Fix bug in version range handling.
10344 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10346 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10348 * include/sys/epoll.h: New file.
10349 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10352 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10354 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10355 Avoid unnecessary __WORDSIZE == 64 test.
10356 (fmaxf): Use VEX format if possible.
10361 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10362 * math/math_private.h: Remove libc_fegetround* and
10364 * sysdeps/i386/configure.in: Check for -msse2avx.
10365 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10366 also if SSE2AVX is defined.
10367 Remove libc_fegetround* and libc_fesetround*.
10368 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10369 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10372 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10373 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10376 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10378 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10380 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10382 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10384 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10386 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10389 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10391 * Makeconfig (libm): Define.
10392 * elf/Makefile: Add rules to build and run tst-relsort1.
10393 * elf/tst-relsort1.c: New file.
10394 * elf/tst-relsort1mod1.c: New file.
10395 * elf/tst-relsort1mod2.c: New file.
10397 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10399 * math/s_ldexp.c: Remove __STDC__ conditionals.
10400 * math/s_ldexpf.c: Likewise.
10401 * math/s_ldexpl.c: Likewise.
10402 * math/s_nextafter.c: Likewise.
10403 * math/s_nexttowardf.c: Likewise.
10404 * math/s_significand.c: Likewise.
10405 * math/s_significandf.c: Likewise.
10406 * math/s_significandl.c: Likewise.
10407 * math/w_jnl.c: Likewise.
10408 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10409 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10410 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10411 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10412 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10427 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10428 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10429 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10430 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10432 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10433 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10434 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10435 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10436 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10437 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10438 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10439 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10440 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10441 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10442 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10443 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10444 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10445 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10446 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10447 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10448 * sysdeps/ieee754/k_standard.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10473 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10484 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10485 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10486 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10487 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10488 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10491 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10492 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10493 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10495 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10496 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10498 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10499 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10500 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10503 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10505 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10510 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10515 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10523 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10524 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10528 * sysdeps/ieee754/s_matherr.c: Likewise.
10529 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10530 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10531 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10534 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10536 * crypt/md5.h: Remove __STDC__ conditionals.
10537 * libio/libioP.h: Likewise.
10538 * locale/programs/config.h: Likewise.
10539 * sysdeps/generic/sysdep.h: Likewise.
10540 * sysdeps/i386/asm-syntax.h: Likewise.
10541 * sysdeps/s390/asm-syntax.h: Likewise.
10542 * sysdeps/unix/sysdep.h: Likewise.
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10546 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10548 * libio/libio.h: Remove __STDC__ conditionals.
10549 * malloc/obstack.h: Likewise.
10550 * math/complex.h: Likewise.
10551 * math/math.h: Likewise.
10552 * sysdeps/generic/_G_config.h: Likewise.
10553 * sysdeps/gnu/_G_config.h: Likewise.
10554 * sysdeps/mach/hurd/_G_config.h: Likewise.
10555 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10556 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10557 * sysdeps/sparc/bits/mathdef.h: Likewise.
10559 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10562 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10563 Clean up HAS_* macros.
10564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10565 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10567 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10569 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10570 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10571 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10572 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10573 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10575 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10577 * elf/tst-unique3.cc (gets): Remove declaration.
10578 * elf/tst-unique3lib.cc (gets): Likewise.
10579 * elf/tst-unique3lib2.cc (gets): Likewise.
10580 * elf/tst-unique4.cc (gets): Likewise.
10582 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10584 * include/stdio.h: Add C++ protection. Add gets declarations and
10586 * debug/tst-chk1.c: Don't declare gets here.
10587 * stdio-common/tst-gets.c: Likewise.
10589 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10591 * posix/glob: Remove directory.
10593 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10595 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10597 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10599 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10600 of the non-standard EPFNOSUPPORT.
10602 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10604 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10605 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10606 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10608 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10610 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10612 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10614 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10616 * nscd/grpcache.c (cache_addgr): Likewise.
10617 * nscd/hstcache.c (cache_addhst): Likewise.
10618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10619 * nscd/pwdcache.c (cache_addpw): Likewise.
10620 * nscd/servicescache.c (cache_addserv): Likewise.
10622 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10624 * malloc/malloc.c: Various cleanups.
10625 * malloc/hooks.c: Likewise.
10627 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10628 * stdlib/bug-fmtmsg1.c: New file.
10630 * stdlib/fmtmsg.c (init): Add missing unlock.
10631 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10633 2012-01-12 Marek Polacek <polacek@redhat.com>
10635 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10638 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10640 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10641 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10642 macro to ensure uniqueness of label name.
10643 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10644 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10646 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10648 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10650 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10651 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10652 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10655 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10657 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10659 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10660 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10661 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10663 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10665 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10666 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10667 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10670 * math/bits/math-finite.h: Add ldexp support.
10672 2012-01-10 Marek Polacek <polacek@redhat.com>
10674 * locale/programs/localedef.h (show_archive_content): Add noreturn
10677 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10679 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10681 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10683 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10685 * io/Makefile (headers): Add bits/poll2.h.
10687 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10690 typo #include statement.
10692 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10694 * include/sys/cdefs.h: Define __attribute_alloc_size.
10695 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10696 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10697 * elf/pldd.c: Likewise.
10698 * iconv/iconv_charmap.c: Likewise.
10699 * iconv/iconvconfig.c: Likewise.
10700 * iconv/strtab.c: Likewise.
10701 * locale/programs/locale.c: Likewise.
10702 * locale/programs/localedef.h: Likewise.
10703 * locale/programs/simple-hash.c: Likewise.
10704 * nscd/nscd.h: Likewise.
10705 * nss/makedb.c: Likewise.
10706 * sysdeps/generic/ldconfig.h: Likewise.
10707 * locale/programs/localedef.c: Remove xmalloc prototype.
10708 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10710 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10712 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10715 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10717 * math/Makefile (tests): Add tst-CMPLX.
10718 * math/tst-CMPLX.c: New file.
10720 * math/complex.h (CMPLXL): Fix typo.
10722 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10723 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10725 * debug/tst-chk1.c: Add poll and ppoll tests.
10726 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10727 * include/sys/poll.h: Add hidden proto for ppoll.
10728 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10729 * sysdeps/mach/hurd/ppoll.c: Likewise.
10730 * io/ppoll.c: Likewise.
10731 * debug/poll_chk.c: New file.
10732 * debug/ppoll_chk.c: New file.
10733 * include/bits/poll2.h: New file.
10734 * io/bits/poll2.h: New file.
10737 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10739 * configure.in: static is always set to yes. Remove.
10740 * config.make.in: Don't set build-static.
10741 * Makeconfig: Remove use of build-static.
10742 * dlfcn/Makefile: Likewise.
10743 * elf/Makefile: Likewise.
10744 * math/Makefile: Likewise.
10745 * misc/Makefile: Likewise.
10746 * nptl/Makefile: Likewise.
10747 * sysdeps/mach/hurd/Makefile: Likewise.
10749 * configure.in: PWD_P is not used anymore.
10750 * config.make.in: Remove PWD_P entry.
10752 * configure.in: Remove last remnants of RANLIB.
10753 No need to check for signed size_t anymore.
10754 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10756 Remove __builtin_expect test because we require at least gcc 3.4.
10757 * aclocal.m4: Likewise.
10759 * wcsmbs/mbrtoc16.c: Implement using towc function.
10760 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10761 * wcsmbs/wcsmbsload.c: Likewise.
10762 * iconv/gconv_simple.c: Likewise.
10763 * iconv/gconv_int.h: Likewise.
10764 * iconv/gconv_builtin.h: Likewise.
10765 * iconv/iconv_prog.c: Remove CHAR16 handling.
10767 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10769 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10771 * configure.in: Remove --with-elf and --enable-bounded options.
10772 Dont set base_machine for ia64. More non-ELF conditions removed.
10773 Remove testing and setting of leading underscore information.
10774 * config.make.in (build-bounded): Set to no.
10775 * config.h.in: Remove NO_UNDERSCORES entry.
10776 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10778 * csu/start.c: Remove !NO_UNDERSCORE code.
10779 * locale/localeinfo.h: Likewise.
10780 * sysdeps/generic/machine-gmon.h: Likewise.
10781 * sysdeps/generic/sysdep.h: Likewise.
10782 * sysdeps/i386/sysdep.h: Likewise.
10783 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10784 * sysdeps/mach/sysdep.h: Likewise.
10785 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10786 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10787 * sysdeps/sh/sysdep.h: Likewise.
10788 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10789 * sysdeps/unix/i386/sysdep.S: Likewise.
10790 * sysdeps/unix/sparc/start.c: Likewise.
10791 * sysdeps/unix/sparc/sysdep.S: Likewise.
10792 * sysdeps/unix/sparc/sysdep.h: Likewise.
10793 * sysdeps/unix/start.c: Likewise.
10794 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10795 * sysdeps/x86_64/sysdep.h: Likewise.
10797 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10800 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10802 * argp/argp-fmtstream.h: Use const instead __const.
10803 * argp/argp.h: Likewise.
10804 * assert/assert.h: Likewise.
10805 * bits/fenv.h: Likewise.
10806 * bits/sched.h: Likewise.
10807 * bits/sigset.h: Likewise.
10808 * bits/sigthread.h: Likewise.
10809 * catgets/nl_types.h: Likewise.
10810 * conform/data/pthread.h-data: Likewise.
10811 * crypt/crypt-private.h: Likewise.
10812 * crypt/crypt.h: Likewise.
10813 * crypt/crypt_util.c: Likewise.
10814 * ctype/ctype.h: Likewise.
10815 * debug/execinfo.h: Likewise.
10816 * debug/mbsnrtowcs_chk.c: Likewise.
10817 * debug/mbsrtowcs_chk.c: Likewise.
10818 * debug/wcsnrtombs_chk.c: Likewise.
10819 * debug/wcsrtombs_chk.c: Likewise.
10820 * debug/wcstombs_chk.c: Likewise.
10821 * dirent/dirent.h: Likewise.
10822 * dlfcn/dlfcn.h: Likewise.
10823 * elf/neededtest4.c: Likewise.
10824 * grp/grp.h: Likewise.
10825 * gshadow/gshadow.h: Likewise.
10826 * iconv/gconv.h: Likewise.
10827 * iconv/gconv_int.h: Likewise.
10828 * iconv/gconv_simple.c: Likewise.
10829 * iconv/iconv.h: Likewise.
10830 * iconv/loop.c: Likewise.
10831 * iconv/skeleton.c: Likewise.
10832 * include/aio.h: Likewise.
10833 * include/aliases.h: Likewise.
10834 * include/argz.h: Likewise.
10835 * include/arpa/inet.h: Likewise.
10836 * include/assert.h: Likewise.
10837 * include/dirent.h: Likewise.
10838 * include/dlfcn.h: Likewise.
10839 * include/execinfo.h: Likewise.
10840 * include/fcntl.h: Likewise.
10841 * include/fenv.h: Likewise.
10842 * include/glob.h: Likewise.
10843 * include/grp.h: Likewise.
10844 * include/libintl.h: Likewise.
10845 * include/mntent.h: Likewise.
10846 * include/netdb.h: Likewise.
10847 * include/pwd.h: Likewise.
10848 * include/rpc/netdb.h: Likewise.
10849 * include/sched.h: Likewise.
10850 * include/search.h: Likewise.
10851 * include/shadow.h: Likewise.
10852 * include/signal.h: Likewise.
10853 * include/stdio.h: Likewise.
10854 * include/stdlib.h: Likewise.
10855 * include/string.h: Likewise.
10856 * include/sys/socket.h: Likewise.
10857 * include/sys/stat.h: Likewise.
10858 * include/sys/statfs.h: Likewise.
10859 * include/sys/statvfs.h: Likewise.
10860 * include/sys/syslog.h: Likewise.
10861 * include/sys/time.h: Likewise.
10862 * include/sys/uio.h: Likewise.
10863 * include/time.h: Likewise.
10864 * include/unistd.h: Likewise.
10865 * include/utmp.h: Likewise.
10866 * include/wchar.h: Likewise.
10867 * include/wctype.h: Likewise.
10868 * inet/aliases.h: Likewise.
10869 * inet/arpa/inet.h: Likewise.
10870 * inet/netinet/ether.h: Likewise.
10871 * inet/netinet/in.h: Likewise.
10872 * intl/libintl.h: Likewise.
10873 * io/bits/fcntl2.h: Likewise.
10874 * io/fcntl.h: Likewise.
10875 * io/ftw.h: Likewise.
10876 * io/sys/poll.h: Likewise.
10877 * io/sys/stat.h: Likewise.
10878 * io/sys/statfs.h: Likewise.
10879 * io/sys/statvfs.h: Likewise.
10880 * io/utime.h: Likewise.
10881 * libio/bits/stdio.h: Likewise.
10882 * libio/bits/stdio2.h: Likewise.
10883 * libio/libio.h: Likewise.
10884 * libio/libioP.h: Likewise.
10885 * libio/stdio.h: Likewise.
10886 * locale/lc-ctype.c: Likewise.
10887 * locale/locale.h: Likewise.
10888 * login/utmp.h: Likewise.
10889 * malloc/arena.c: Likewise.
10890 * malloc/malloc.c: Likewise.
10891 * malloc/malloc.h: Likewise.
10892 * malloc/mcheck.c: Likewise.
10893 * malloc/mtrace.c: Likewise.
10894 * math/bits/mathcalls.h: Likewise.
10895 * math/fenv.h: Likewise.
10896 * math/math_private.h: Likewise.
10897 * misc/bits/error.h: Likewise.
10898 * misc/bits/syslog.h: Likewise.
10899 * misc/err.h: Likewise.
10900 * misc/error.h: Likewise.
10901 * misc/fstab.h: Likewise.
10902 * misc/mntent.h: Likewise.
10903 * misc/regexp.h: Likewise.
10904 * misc/search.h: Likewise.
10905 * misc/sgtty.h: Likewise.
10906 * misc/sys/mman.h: Likewise.
10907 * misc/sys/syslog.h: Likewise.
10908 * misc/sys/uio.h: Likewise.
10909 * misc/sys/xattr.h: Likewise.
10910 * misc/ttyent.h: Likewise.
10911 * nis/rpcsvc/ypclnt.h: Likewise.
10912 * nss/nss.h: Likewise.
10913 * posix/bits/unistd.h: Likewise.
10914 * posix/fnmatch.h: Likewise.
10915 * posix/glob.h: Likewise.
10916 * posix/sched.h: Likewise.
10917 * posix/spawn.h: Likewise.
10918 * posix/sys/wait.h: Likewise.
10919 * posix/unistd.h: Likewise.
10920 * posix/wordexp.h: Likewise.
10921 * pwd/pwd.h: Likewise.
10922 * resolv/netdb.h: Likewise.
10923 * resource/sys/resource.h: Likewise.
10924 * rt/aio.h: Likewise.
10925 * rt/bits/mqueue2.h: Likewise.
10926 * rt/mqueue.h: Likewise.
10927 * shadow/shadow.h: Likewise.
10928 * signal/signal.h: Likewise.
10929 * socket/send.c: Likewise.
10930 * socket/sendto.c: Likewise.
10931 * socket/sys/socket.h: Likewise.
10932 * stdio-common/printf.h: Likewise.
10933 * stdlib/bits/stdlib.h: Likewise.
10934 * stdlib/fmtmsg.h: Likewise.
10935 * stdlib/monetary.h: Likewise.
10936 * stdlib/stdlib.h: Likewise.
10937 * stdlib/ucontext.h: Likewise.
10938 * streams/stropts.h: Likewise.
10939 * string/argz.h: Likewise.
10940 * string/bits/string2.h: Likewise.
10941 * string/string.h: Likewise.
10942 * string/strings.h: Likewise.
10943 * sunrpc/rpc/auth.h: Likewise.
10944 * sunrpc/rpc/auth_des.h: Likewise.
10945 * sunrpc/rpc/clnt.h: Likewise.
10946 * sunrpc/rpc/netdb.h: Likewise.
10947 * sunrpc/rpc/pmap_clnt.h: Likewise.
10948 * sunrpc/rpc/xdr.h: Likewise.
10949 * sysdeps/generic/inttypes.h: Likewise.
10950 * sysdeps/generic/net/if.h: Likewise.
10951 * sysdeps/generic/sys/swap.h: Likewise.
10952 * sysdeps/gnu/net/if.h: Likewise.
10953 * sysdeps/gnu/utmpx.h: Likewise.
10954 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10955 * sysdeps/i386/i486/bits/string.h: Likewise.
10956 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10957 * sysdeps/s390/bits/string.h: Likewise.
10958 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10959 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10960 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10961 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10962 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10963 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10964 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10965 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10966 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10967 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10968 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10969 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10970 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10971 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10972 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10973 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10974 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10975 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10978 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10979 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10980 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10981 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10982 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10983 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10984 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10986 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10987 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10988 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10989 * sysvipc/sys/ipc.h: Likewise.
10990 * sysvipc/sys/msg.h: Likewise.
10991 * sysvipc/sys/sem.h: Likewise.
10992 * sysvipc/sys/shm.h: Likewise.
10993 * termios/termios.h: Likewise.
10994 * time/sys/time.h: Likewise.
10995 * time/time.h: Likewise.
10996 * wcsmbs/bits/wchar2.h: Likewise.
10997 * wcsmbs/uchar.h: Likewise.
10998 * wcsmbs/wchar.h: Likewise.
10999 * wctype/wctype.h: Likewise.
11002 * Makeconfig: Remove all but ELF support including AIX support.
11003 * Makerules: Likewise.
11004 * config.h.in: Likewise.
11005 * config.make.in: Likewise.
11006 * configure: Likewise.
11007 * configure.in: Likewise.
11008 * csu/Makefile: Likewise.
11009 * csu/version.c: Likewise.
11010 * debug/Makefile: Likewise.
11011 * dlfcn/Makefile: Likewise.
11012 * elf/Makefile: Likewise.
11013 * extra-lib.mk: Likewise.
11014 * iconv/Makefile: Likewise.
11015 * include/libc-symbols.h: Likewise.
11016 * include/shlib-compat.h: Likewise.
11017 * resolv/Makefile: Likewise.
11018 * resolv/res_libc.c: Likewise.
11019 * rt/Makefile: Likewise.
11020 * sysdeps/i386/asm-syntax.h: Likewise.
11021 * sysdeps/i386/sysdep.h: Likewise.
11022 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11023 * sysdeps/mach/sysdep.h: Likewise.
11024 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11025 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11026 * sysdeps/s390/asm-syntax.h: Likewise.
11027 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11028 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11029 * sysdeps/sh/sysdep.h: Likewise.
11030 * sysdeps/unix/sparc/sysdep.h: Likewise.
11031 * sysdeps/wordsize-32/divdi3.c: Likewise.
11032 * sysdeps/x86_64/sysdep.h: Likewise.
11034 * argp/Versions: Remove _argp_unlock_xxx.
11037 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11038 * abilist/libBrokenLocale.abilist: Likewise.
11039 * abilist/libanl.abilist: Likewise.
11040 * abilist/libc.abilist: Likewise.
11041 * abilist/libcrypt.abilist: Likewise.
11042 * abilist/libdl.abilist: Likewise.
11043 * abilist/libm.abilist: Likewise.
11044 * abilist/libnsl.abilist: Likewise.
11045 * abilist/libpthread.abilist: Likewise.
11046 * abilist/libresolv.abilist: Likewise.
11047 * abilist/librt.abilist: Likewise.
11048 * abilist/libthread_db.abilist: Likewise.
11049 * abilist/libutil.abilist: Likewise.
11050 * abilist/libnss_db.abilist: New file.
11052 * scripts/abilist.awk: Add support for indirect functions.
11054 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11056 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11058 * shlib-versions: Remove entries for ports architectures.
11060 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11062 * elf/stackguard-macros.h: Remove support for IA-64.
11063 * elf/tst-auditmod1.c: Likewise.
11064 * sysdeps/generic/ldsodefs.h: Likewise.
11066 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11067 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11071 * configure.in: Remove --enable-omitfp support.
11073 * config.make.in: Likewise.
11074 * Makeconfig: Likewise.
11075 * manual/install.texi: Likewise.
11077 In case anyone cares, the IA-64 architecture could move to ports.
11078 * sysdeps/ia64/*: Removed.
11079 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11080 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11083 * configure.in: Remove entries for unsupported architectures.
11086 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11087 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11089 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11090 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11091 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11092 fall back to using wcrtomb.
11093 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11094 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11096 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11097 * wcsmbs/tst-c16c32-1.c: New file.
11099 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11102 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11104 * elf/tst-unique3.cc: Add explicit declaration of gets.
11105 * elf/tst-unique3lib.cc: Likewise.
11106 * elf/tst-unique3lib2.cc: Likewise.
11107 * elf/tst-unique4.cc: Likewise.
11109 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11111 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11114 * assert/assert.h (static_assert): Don't define for C++.
11115 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11116 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11118 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11120 * iconv/loop.c (single loop): Fix assertion in storing of
11123 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11125 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11127 * posix/getconf.c: Update copyright year.
11128 * nss/getent.c: Likewise.
11129 * nss/makedb.c: Likewise.
11130 * iconv/iconvconfig.c: Likewise.
11131 * iconv/iconv_prog.c: Likewise.
11132 * elf/ldconfig.c: Likewise.
11133 * elf/pldd.c: Likewise.
11134 * elf/sotruss.ksh: Likewise.
11135 * catgets/gencat.c: Likewise.
11136 * csu/version.c: Likewise.
11137 * elf/ldd.bash.in: Likewise.
11138 * elf/sprof.c (print_version): Likewise.
11139 * locale/programs/locale.c: Likewise.
11140 * locale/programs/localedef.c: Likewise.
11141 * login/programs/pt_chown.c: Likewise.
11142 * nscd/nscd.c (print_version): Likewise.
11143 * debug/xtrace.sh: Likewise.
11144 * malloc/memusage.sh: Likewise.
11145 * malloc/mtrace.pl: Likewise.
11146 * debug/catchsegv.sh: Likewise.
11148 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11150 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11153 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11156 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11157 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11159 * iconv/gconv_int.h: Likewise.
11160 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11161 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11162 from libc for GLIBC_2.16.
11163 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11164 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11165 * wcsmbs/uchar.h: Really define mbstate_t.
11166 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11167 * wcsmbs/c16rtomb.c: New file.
11168 * wcsmbs/mbrtoc16.c: New file.
11169 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11170 for C/POSIX locale.
11171 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11172 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11174 * wcsmbs/wchar.h: Add missing __restrict.
11176 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11179 * time/Makefile (routines): Add timespec_get.
11180 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11181 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11182 timespec for ISO C11.
11183 * time/timespec_get.c: New file.
11184 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11185 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11188 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11189 * stdlib/stdlib.h: Declare aligned_alloc.
11190 * Versions.def: Add GLIBC_2.16 for libc.
11191 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11194 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11197 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11201 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11204 * assert/assert.h (static_assert): Define.
11206 * version.h: Update for 2.16 development version.
11209 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11212 * version.h (RELEASE): Bump for 2.15 release.
11213 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11215 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11216 Patch by Marek Polacek <mpolacek@redhat.com>.
11218 * bits/byteswap.h: Protect long long constants with __extension__.
11219 * sysdeps/i386/bits/byteswap.h: Likewise.
11220 * sysdeps/ia64/bits/byteswap.h: Likewise.
11221 * sysdeps/s390/bits/byteswap.h: Likewise.
11222 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11224 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11228 destination buffer.
11229 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11231 2011-12-23 Marek Polacek <polacek@redhat.com>
11233 * elf/dl-addr.c (determine_info): Add inline keyword.
11234 * elf/tst-auditmod4b.c (check_avx): Likewise.
11235 * elf/tst-auditmod6b.c (check_avx): Likewise.
11236 * elf/tst-auditmod6c.c (check_avx): Likewise.
11237 * elf/tst-auditmod7b.c (check_avx): Likewise.
11239 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11241 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11244 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11247 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11248 processing for last bytes.
11250 2011-08-06 Bruno Haible <bruno@clisp.org>
11253 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11254 U+0385, not to U+1FEE.
11257 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11258 entry for U+00A5 U+0301.
11260 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11263 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11264 buffer for the output is too small.
11266 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11270 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11271 SSE flags if possible.
11273 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11276 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11277 processing for last bytes.
11279 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11281 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11282 (syscall-list-default-options, syscall-list-default-condition)
11283 (syscall-list-includes): Define.
11284 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11285 list of ABIs and options and #if conditions for each ABI. Do not
11286 handle common syscalls between ABIs specially.
11287 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11289 (syscall-list-variants, syscall-list-32bit-options)
11290 (syscall-list-32bit-condition, syscall-list-64bit-options)
11291 (syscall-list-64bit-condition): Define.
11292 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11293 (syscall-list-variants, syscall-list-32bit-options)
11294 (syscall-list-32bit-condition, syscall-list-64bit-options)
11295 (syscall-list-64bit-condition): Define.
11296 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11298 (syscall-list-variants, syscall-list-32bit-options)
11299 (syscall-list-32bit-condition, syscall-list-64bit-options)
11300 (syscall-list-64bit-condition): Define.
11301 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11303 (syscall-list-variants, syscall-list-32bit-options)
11304 (syscall-list-32bit-condition, syscall-list-64bit-options)
11305 (syscall-list-64bit-condition): Define.
11307 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11309 * locale/iso-639.def: Add brx entry.
11312 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11313 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11315 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11316 __feraiseexcept_renamed.
11318 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11321 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11322 EPOLLET with unsigned values.
11323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11324 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11326 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11327 to large cancellation.
11328 * math/s_cacoshf.c: Likewise.
11329 * math/s_cacoshl.c: Likewise.
11331 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11335 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11336 * math/s_cacoshf.c: Likewise.
11337 * math/s_cacoshl.c: Likewise.
11339 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11342 * iconv/gconv.h: Define __GCONV_SWAP.
11343 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11344 * iconvdata/utf-16.c: Likewise.
11345 * iconvdata/utf-32.c: Likewise.
11347 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11350 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11351 numerator after shifting it by one limb.
11353 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11355 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11356 under [__USE_EXTERN_INLINES].
11358 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11361 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11363 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11365 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11366 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11368 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11369 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11370 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11371 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11372 for strncasecmp/strncasecmp_l compilation.
11373 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11374 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11376 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11379 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11382 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11385 * time/tzfile.c (__tzfile_read): Check values from file header.
11387 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11389 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11390 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11391 * powerpc/powerpc32/dl-start.S: Likewise.
11392 * powerpc/powerpc32/elf/start.S: Likewise.
11393 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11394 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11395 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11396 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11397 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11398 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11399 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11400 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11401 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11402 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11403 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11404 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11405 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11406 * powerpc/powerpc32/memset.S: Likewise.
11407 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11408 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11409 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11410 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11411 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11412 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11413 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11414 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11415 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11416 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11417 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11418 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11419 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11421 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11423 * math/libm-test.inc: Added more nearbyint tests.
11424 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11426 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11429 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11431 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11434 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11436 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11437 Add wcscpy-ssse3 wcscpy-c.
11438 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11439 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11440 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11441 * sysdeps/x86_64/wcschr.S: New file.
11442 * sysdeps/x86_64/wcsrchr.S: New file.
11443 * string/test-strcmp.c: Remove checking of wcscmp function for
11445 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11446 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11447 wcsrchr-sse2 wcsrchr-c.
11448 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11449 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11450 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11451 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11452 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11453 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11454 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11455 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11456 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11457 * wcsmbc/wcschr.c (WCSCHR): New macro.
11459 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11461 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11462 * wcsmbs/test-wcsrchr.c: New file.
11463 * string/test-strrchr.c: Add wcsrchr support.
11465 * wcsmbs/test-wcscpy.c: New file.
11466 * string/test-strcpy.c: Add wcscpy support.
11469 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11471 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11474 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11477 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11479 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11481 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11482 Minor optimizations.
11484 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11485 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11486 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11488 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11490 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11491 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11492 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11493 for gcc to avoid warnings.
11494 * inet/Makefile (tests): Add tst-checks.
11495 * inet/tst-checks.c: New file.
11497 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11500 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11503 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11504 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11506 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11508 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11510 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11513 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11515 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11517 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11518 conditional on GCC version.
11519 (__arch_compare_and_exchange_val_8_acq)
11520 (__arch_compare_and_exchange_val_16_acq)
11521 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11522 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11523 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11525 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11527 * sysdeps/sh/backtrace.c: New file.
11529 2011-12-02 Andreas Schwab <schwab@redhat.com>
11531 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11534 2011-12-01 Andreas Schwab <schwab@redhat.com>
11536 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11537 falling back to utime.
11539 2011-11-30 Andreas Schwab <schwab@redhat.com>
11541 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11542 expectations for float.
11544 2011-11-29 Andreas Schwab <schwab@redhat.com>
11546 * locale/weight.h (findidx): Add parameter len.
11547 * locale/weightwc.h (findidx): Likewise.
11548 * posix/fnmatch_loop.c (FCT): Adjust caller.
11549 * posix/regcomp.c (build_equiv_class): Likewise.
11550 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11551 * posix/regexec.c (check_node_accept_bytes): Likewise.
11552 * string/strcoll_l.c (STRCOLL): Likewise.
11553 * string/strxfrm_l.c (STRXFRM): Likewise.
11555 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11557 * Makefile.in: Remove CVSOPT handling.
11558 * configure.in: Remove use of AC_REVISION.
11559 * iconvdata/Makefile (distribute): No need to filter out CVS.
11560 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11563 2011-11-16 Andreas Schwab <schwab@redhat.com>
11565 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11566 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11567 [USE_AS_STRNCASECMP_L]: Likewise.
11568 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11569 NO_TLS_DIRECT_SEG_REFS.
11570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11571 Fix argument offsets for non-PIC.
11572 [USE_AS_STRNCASECMP_L]: Likewise.
11573 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11574 NO_TLS_DIRECT_SEG_REFS.
11576 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11578 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11580 * locale/loadlocale.c (_nl_load_locale): Likewise.
11582 2011-11-15 Andreas Schwab <schwab@redhat.com>
11584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11585 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11587 (SYSCALL_GETTIME): Set errno on error.
11589 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11590 count references to noai6ai_cached.
11592 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11594 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11596 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11597 FD_CLOEXEC for /proc/self/maps.
11599 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11600 FD_CLOEXEC for /proc/meminfo.
11602 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11605 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11606 FD_CLOEXEC for given file.
11608 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11610 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11611 FD_CLOEXEC for /etc/hosts.
11612 (_gethtent): Likewise.
11614 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11616 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11617 cancellation and set FD_CLOEXEC for /etc/netgroup.
11619 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11620 reading /etc/publickey.
11622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11623 allow cancellation when reading /etc/group.
11625 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11627 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11629 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11630 when using data file.
11632 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11634 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11635 (write_nis_obj): Use "c" and "e" in fopen.
11637 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11639 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11641 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11643 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11645 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11648 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11650 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11652 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11654 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11655 file parsing and set FD_CLOEXEC.
11657 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11659 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11661 2011-11-14 Andreas Schwab <schwab@redhat.com>
11663 * malloc/arena.c (arena_get2): Don't call reused_arena when
11664 _int_new_arena failed.
11666 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11668 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11669 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11670 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11671 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11672 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11673 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11674 to compile strcasecmp and strncasecmp.
11675 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11676 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11680 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11682 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11683 locale-defines.sym to gen-as-const-headers.
11684 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11685 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11687 to compile strcasecmp and strncasecmp.
11688 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11689 strcasecmp_l and strncasecmp_l.
11690 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11691 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11692 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11693 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11694 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11695 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11696 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11697 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11698 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11699 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11700 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11702 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11704 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11705 result of SYSDEP_GETTIME_CPU to retval.
11706 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11707 parameter list to macro. Remove trailing semicolon. Adjust users.
11709 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11712 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11714 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11716 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11717 from unused variable.
11719 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11721 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11724 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11727 * sunrpc/rpc_prot.c (rejected): Fix case value.
11729 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11730 unsigned long long int to avoid warnings in shift.
11732 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11734 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11737 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11738 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11739 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11741 * nis/nis_table.c (nis_list): Use variable of correct type for
11742 result of __follow_path call.
11744 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11746 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11747 of math functions ceil, trunc, floor, round, and sqrt, when
11748 avaliable on the platform.
11749 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11751 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11752 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11753 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11755 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11757 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11758 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11760 2011-11-11 Roland McGrath <roland@hack.frob.com>
11762 * include/unistd.h: Fix __readlink return type.
11763 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11765 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11767 * stdlib/ucontext.h: Undo last change for makecontext.
11769 2011-11-11 Andreas Schwab <schwab@redhat.com>
11771 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11773 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11774 * setjmp/setjmp.h: Mark functions as non-leaf.
11775 * setjmp/bits/setjmp2.h: Likewise.
11776 * stdlib/ucontext.h: Likewise.
11778 2011-11-10 Andreas Schwab <schwab@redhat.com>
11780 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11781 (reused_arena): Don't check arena limit.
11782 (arena_get2): Atomically check arena limit.
11784 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11786 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11787 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11792 2011-11-07 Andreas Schwab <schwab@redhat.com>
11794 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11795 handler when locking.
11797 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11798 Fix size of allocated buffer.
11800 2011-11-04 Andreas Schwab <schwab@redhat.com>
11803 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11804 declarations for long double functions.
11805 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11807 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11809 2011-11-03 Andreas Schwab <schwab@redhat.com>
11811 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11814 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11817 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11819 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11821 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11823 * include/alloca.h (stackinfo_alloca_round): Define.
11824 (extend_alloca): Use it.
11825 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11826 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11829 * scripts/check-local-headers.sh: Ignore libaudit.h.
11831 * nscd/Makefile (extra-objs): Make recursively expanded.
11833 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11835 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11836 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11838 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11839 * posix/tst-rfc3484-2.c: Likewise.
11840 * posix/tst-rfc3484-3.c: Likewise.
11842 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11844 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11846 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11847 process_vm_writev from libc using GLIBC_2.15 version.
11849 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11851 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11853 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11856 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11859 * nss/getent.c (initgroups_keys): Show error message in case no group
11862 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11863 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11864 __bump_nl_timestamp.
11865 * nscd/connections (nscd_init): When host database is served open
11866 netlink socket and request notification about configuration changes.
11867 (main_loop_poll): Track netlink file descriptor and bump timestamp
11868 in case data becomes available.
11869 (main_loop_epoll): Likewise.
11870 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11871 (database_pers_head): Add extra_data fileds.
11872 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11873 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11874 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11877 in6ai data, call __free_in6ai.
11878 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11879 Add -DHAVE_NETLINK.
11880 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11881 interface information. Reuse previous data if netlink timestamp
11883 (__bump_nl_timestamp): New function.
11884 (__free_in6ai): New function.
11886 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11889 close_not_cancel_no_status here.
11890 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11892 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11895 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11898 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11899 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11900 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11902 2011-07-03 Andreas Jaeger <aj@suse.de>
11905 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11906 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11907 * math/libm-test.inc (sin_test): Add test case.
11909 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11912 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11913 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11915 * elf/chroot_canon.c (chroot_canon): Cleanups.
11917 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11920 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11921 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11923 * string/test-strchr.c: Make usable for strchrnul testing.
11924 * string/test-strchrnul.c: New file.
11925 * string/Makefile (strop-tests): Add strchrnul.
11927 * po/it.po: Update from translation team.
11928 * po/es.po: Likewise.
11930 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11932 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11933 the three constants needed as parameters. Drop the others.
11934 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11935 __m128i_strloadu_tolower.
11936 Create and initialize variable zero and use it in all the places
11937 where _mm_setzero_si128 was used.
11939 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11940 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11941 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11942 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11944 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11945 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11946 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11947 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11948 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11949 __mpranred, __mptan.
11950 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11951 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11952 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11953 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11954 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11955 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11956 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11957 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11958 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11960 2011-10-28 Andreas Schwab <schwab@redhat.com>
11962 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11963 redefine if SHARED.
11964 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11967 wide char related routines to wcsmbs subdir.
11969 2011-10-27 Andreas Schwab <schwab@redhat.com>
11972 * misc/sys/cdefs.h (__THROWNL): Define.
11973 * posix/unistd.h: Use __THREADNL instead of __THREAD
11974 for memory synchronization functions.
11976 2011-10-26 Roland McGrath <roland@hack.frob.com>
11979 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11981 * manual/stdio.texi (Obstack Streams): Node removed.
11983 2011-10-26 Andreas Schwab <schwab@redhat.com>
11985 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11986 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11987 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11989 * math/math_private.h (math_force_eval): Allow non-addressable
11991 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11993 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11995 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11996 file is not needed.
11998 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11999 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12000 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12001 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12002 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12003 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12004 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12005 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12007 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12008 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12009 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12010 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12011 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12012 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12013 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12014 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12015 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12016 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12017 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12018 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12019 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12020 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12021 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12022 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12023 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12024 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12025 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12027 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12028 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12030 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12031 place. Use VEX encoding when compiling for AVX.
12033 2011-10-25 Andreas Schwab <schwab@redhat.com>
12035 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12036 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12038 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12040 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12042 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12043 useless if() expression.
12044 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12049 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12050 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12051 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12052 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12053 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12054 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12055 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12056 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12058 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12059 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12060 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12062 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12064 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12066 2011-10-25 Andreas Schwab <schwab@redhat.com>
12068 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12070 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12072 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12074 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12075 .text section. Avoid duplicate constants.
12076 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12080 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12085 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12086 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12087 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12088 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12091 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12093 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12094 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12099 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12100 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12101 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12102 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12103 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12104 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12105 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12106 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12107 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12108 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12109 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12110 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12111 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12112 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12114 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12115 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12116 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12117 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12118 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12119 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12120 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12122 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12124 * sysdeps/x86_64/dla.h: Move to ...
12125 * sysdeps/x86_64/fpu/dla.h: ...here.
12126 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12127 situations. Use __builtin_fma only for gcc 4.6 and up.
12129 * config.make.in: Add have-mfma4 entry.
12130 * configure.in: Substitute libc_cv_cc_fma4.
12131 * math/Makefile (dbl-only-routines): Add sincostab.
12132 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12133 Use __sincostab not sincos.
12134 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12136 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12141 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12142 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12143 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12144 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12146 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12147 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12149 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12150 define aliases when function name is a macro.
12151 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12152 sysdeps/ieee754/dbl-64/sincos.tbl.
12153 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12154 fma4-enabled routines.
12155 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12156 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12157 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12158 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12159 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12160 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12161 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12162 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12163 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12164 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12165 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12166 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12167 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12168 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12169 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12170 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12171 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12172 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12173 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12174 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12175 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12176 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12178 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12179 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12180 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12181 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12182 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12183 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12184 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12186 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12188 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12194 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12195 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12197 2011-10-24 Andreas Schwab <schwab@redhat.com>
12199 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12201 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12203 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12205 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12207 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12209 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12210 Remove unused variable magic_bits.
12211 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12213 * string/strnlen.c: Define and use STRNLEN macro.
12214 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12215 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12216 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12217 * wcsmbs/wcslen.c: Define and use WCSLEN.
12218 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12219 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12220 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12221 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12222 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12223 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12224 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12226 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12229 strnlen-sse2-no-bsf.
12230 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12231 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12232 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12233 Add strnlen support.
12234 (USE_AS_STRNLEN): New macro.
12235 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12236 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12237 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12238 * sysdeps/x86_64/wcslen.S: New file.
12240 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12242 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12243 XMM-moves are used for copying on small sizes.
12245 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12247 * wcsmbs/Makefile (strop-tests): Add wcschr.
12248 * wcsmbs/test-wcschr.c: New file.
12249 * string/test-strchr.c: Update.
12250 Add wcschr support.
12253 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12255 * wcsmbs/Makefile (strop-tests): Add wcslen.
12256 * wcsmbs/test-wcslen.c: New file.
12257 * string/test-strlen.c: Update.
12258 Add wcslen support.
12261 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12263 * po/it.po: Update from translation team.
12265 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12267 * sysdeps/x86_64/wcscmp.S: Update.
12268 Fix wrong comparison semantics.
12269 wcscmp shall use signed comparison not unsigned.
12270 Don't use substraction to avoid overflow bug.
12271 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12272 * wcsmbc/wcscmp.c: Likewise.
12273 * string/test-strcmp.c: Likewise.
12274 Add new tests to check cases with negative values.
12276 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12278 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12279 * sysdeps/x86_64/dla.h: ...here. New file.
12280 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12290 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12293 __ynl_finite aliases.
12295 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12299 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12301 [DLA_FMA] (EMULV): Use DLA_FMA.
12302 [DLA_FMA] (MUL12): Use EMULV.
12303 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12304 that are not needed.
12305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12313 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12315 * math/s_nan.c: Undef __nan.
12316 * math/s_nanf.c: Undef __nanf.
12317 * math/s_nanl.c: Undef __nanl.
12318 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12321 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12323 * math/s_catan.c: Add branch predictions.
12324 * math/s_catanf.c: Likewise.
12325 * math/s_catanh.c: Likewise.
12326 * math/s_catanhf.c: Likewise.
12327 * math/s_catanhl.c: Likewise.
12328 * math/s_catanl.c: Likewise.
12329 * math/s_cexp.c: Likewise.
12330 * math/s_cexpf.c: Likewise.
12331 * math/s_cexpl.c: Likewise.
12332 * math/s_clog.c: Likewise.
12333 * math/s_clog10.c: Likewise.
12334 * math/s_clog10f.c: Likewise.
12335 * math/s_clog10l.c: Likewise.
12336 * math/s_clogf.c: Likewise.
12337 * math/s_clogl.c: Likewise.
12338 * math/s_csqrt.c: Likewise.
12339 * math/s_csqrtf.c: Likewise.
12340 * math/s_csqrtl.c: Likewise.
12341 * math/s_ctanf.c: Likewise.
12342 * math/s_ctanh.c: Likewise.
12343 * math/s_ctanhf.c: Likewise.
12344 * math/s_ctanhl.c: Likewise.
12345 * math/s_ctanl.c: Likewise.
12347 * math/math_private.h: Define __nan, __nanf, __nanl.
12348 * math/s_cacosh.c: Include <math_private.h>.
12349 * math/s_cacoshl.c: Likewise.
12350 * math/s_casinh.c: Likewise.
12351 * math/s_casinhf.c: Likewise.
12352 * math/s_casinhl.c: Likewise.
12353 * math/s_ccos.c: Rely entire on ccosh.
12354 * math/s_ccosf.c: Rely entire on ccoshf.
12355 * math/s_ccosl.c: Rely entirely on ccoshl.
12356 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12357 Remove tests for FE_INVALID.
12358 * math/s_ccoshf.c: Likewise.
12359 * math/s_ccoshl.c: Likewise.
12360 * math/s_csin.c: Likewise.
12361 * math/s_csinf.c: Likewise.
12362 * math/s_csinh.c Likewise.
12363 * math/s_csinhf.c: Likewise.
12364 * math/s_csinhl.c: Likewise.
12365 * math/s_csinl.c: Likewise.
12366 * math/s_ctan.c: Likewise.
12367 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12368 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12369 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12371 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12374 compilation problems.
12376 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12379 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12381 * sysdeps/i386/configure.in: Test for -mfma4 option.
12382 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12383 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12384 COMMON_CPUID_INDEX_80000001.
12385 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12386 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12387 use it if FMA3 is not supported.
12388 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12390 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12391 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12393 2011-10-20 Andreas Schwab <schwab@redhat.com>
12396 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12397 it would create a cycle with a link time dependency.
12399 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12401 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12403 * string/Makefile (strop-tests): Add rawmemchr.
12404 * string/test-rawmemchr.c: New file.
12406 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12408 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12409 when compiling str{,n}casecmp and when AVX is available. Hook up
12410 new optimized code in initializers.
12412 2011-10-19 Andreas Schwab <schwab@redhat.com>
12414 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12415 __feraiseexcept instead of feraiseexcept.
12417 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12419 * math/math_private.h: Define defaults for libc_fetestexcept and
12421 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12422 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12423 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12424 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12425 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12426 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12427 libc_fetestexcept and libc_feupdateenv.
12429 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12430 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12431 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12432 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12433 libc_feholdexcept_setround.
12435 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12436 Add s_nearbyint-c and s_nearbyintf-c.
12437 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12438 nearbyintf inlines.
12439 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12440 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12441 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12444 * math/math_private.h: Define defaults for libc_fegetround,
12445 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12446 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12447 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12448 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12449 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12450 standard functions.
12451 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12452 Remove comments and hacks for old compiler versions.
12453 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12454 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12455 libc_feholdexceptl.
12457 2011-10-18 Andreas Schwab <schwab@redhat.com>
12459 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12460 (__feraiseexcept_renamed): Add __NTH.
12461 (feraiseexcept): Add __NTH. Rename local variables to fix
12462 namespace violations.
12464 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12466 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12468 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12470 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12471 recently added interfaces.
12472 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12474 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12475 about macro parameter expansion.
12477 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12478 __NO_MATH_INLINES is defined. Cleanups.
12480 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12481 and __floorf is target has SSE4.1.
12482 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12483 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12484 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12485 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12487 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12489 (floorf): Likewise.
12491 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12493 2011-10-17 Andreas Schwab <schwab@redhat.com>
12495 * misc/sys/cdefs.h: Fix last change.
12497 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12500 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12502 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12504 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12505 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12506 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12508 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12509 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12510 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12511 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12512 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12513 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12514 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12515 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12516 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12517 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12518 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12519 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12520 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12521 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12522 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12523 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12524 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12525 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12527 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12528 ceil, ceilf, floor, floorf.
12530 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12531 Perform IRELATIVE relocations last.
12533 * elf/do-rel.h: Add another parameter nrelative, replacing the
12534 local variable with the same name. Change name of the function
12535 to end in Rel or Rela (uppercase).
12536 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12537 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12538 elf_dynamic_do_##reloc function.
12540 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12542 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12543 is sufficient, at least on modern CPUs.
12545 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12547 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12548 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12550 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12552 * math/bits/math-finite.h: Add entries for exp.
12553 * math/e_expl.c: Add __*_finite alias.
12554 * sysdeps/i386/fpu/e_exp.S: Likewise.
12555 * sysdeps/i386/fpu/e_expf.S: Likewise.
12556 * sysdeps/i386/fpu/e_expl.c: Likewise.
12557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12558 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12559 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12560 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12561 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12562 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12563 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12565 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12566 is sufficient, at least on modern CPUs.
12568 * ctype/ctype-info.c (__ctype_init): Define.
12569 * include/ctype.h (__ctype_init): Declare.
12570 (__ctype_b_loc): The variable is always initialized.
12571 (__ctype_toupper_loc): Likewise.
12572 (__ctype_tolower_loc): Likewise.
12573 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12574 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12576 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12578 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12580 * configure.in: Also look in $cxxmachine/include for C++ system
12583 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12585 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12586 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12587 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12588 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12589 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12590 (USE_AS_WMEMCMP): New macro.
12592 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12593 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12594 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12595 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12597 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12598 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12599 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12600 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12601 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12602 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12603 (USE_AS_WMEMCMP): New macro.
12604 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12605 * sysdeps/string/test-memcmp.c: Update.
12606 Fix simple_wmemcmp.
12608 * wcsmbs/wmemcmp.c: Update.
12609 (WMEMCMP): New macro.
12612 2011-10-12 Andreas Jaeger <aj@suse.de>
12615 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12617 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12619 * libio/iofwide.c (do_length): Avoid warning.
12621 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12623 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12625 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12627 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12628 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12629 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12630 * sysdeps/i386/i686/fpu/e_log.S: New file.
12631 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12632 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12634 * ctype/ctype.h: Add support for inlined isXXX functions when
12635 compiling C++ code.
12637 2011-10-14 Andreas Schwab <schwab@redhat.com>
12639 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12641 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12643 2011-10-13 Roland McGrath <roland@hack.frob.com>
12646 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12648 2011-10-13 Andreas Schwab <schwab@redhat.com>
12650 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12651 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12654 * sysdeps/x86_64/memrchr.S: Check for zero size.
12656 * string/stratcliff.c: Add memrchr tests.
12658 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12661 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12662 rawmemchr-sse2 rawmemchr-sse2-bsf.
12663 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12664 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12665 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12666 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12667 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12668 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12669 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12670 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12671 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12672 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12673 * string/memrchr.c (MEMRCHR): New macro.
12675 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12677 Add integration with gcc's -ffinite-math-only and optimize wrapper
12679 * Versions.def: Define GLIBC_2.15 version for libm.
12680 * math/Makefile (headers): Add bits/math-finite.h.
12681 * math/bits/math-finite.h: New file.
12682 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12683 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12684 * math/e_acoshl.c: Add __*_finite alias.
12685 * math/e_acosl.c: Likewise.
12686 * math/e_asinl.c: Likewise.
12687 * math/e_atan2l.c: Likewise.
12688 * math/e_atanhl.c: Likewise.
12689 * math/e_coshl.c: Likewise.
12690 * math/e_exp10.c: Likewise.
12691 * math/e_exp10f.c: Likewise.
12692 * math/e_exp10l.c: Likewise.
12693 * math/e_exp2l.c: Likewise.
12694 * math/e_fmodl.c: Likewise.
12695 * math/e_gammal_r.c: Likewise.
12696 * math/e_hypotl.c: Likewise.
12697 * math/e_j0l.c: Likewise.
12698 * math/e_j1l.c: Likewise.
12699 * math/e_jnl.c: Likewise.
12700 * math/e_lgammal_r.c: Likewise.
12701 * math/e_log10l.c: Likewise.
12702 * math/e_log2l.c: Likewise.
12703 * math/e_logl.c: Likewise.
12704 * math/e_powl.c: Likewise.
12705 * math/e_sinhl.c: Likewise.
12706 * math/e_sqrtl.c: Likewise.
12707 * math/e_scalb.c: Completely rewritten and optimized.
12708 * math/e_scalbf.c: Likewise.
12709 * math/e_scalbl.c: Likewise.
12710 * math/w_acos.c: Likewise.
12711 * math/w_acosf.c: Likewise.
12712 * math/w_acosl.c: Likewise.
12713 * math/w_acosh.c: Likewise.
12714 * math/w_acoshf.c: Likewise.
12715 * math/w_acoshl.c: Likewise.
12716 * math/w_asin.c: Likewise.
12717 * math/w_asinf.c: Likewise.
12718 * math/w_asinl.c: Likewise.
12719 * math/w_atan2.c: Likewise.
12720 * math/w_atan2f.c: Likewise.
12721 * math/w_atan2l.c: Likewise.
12722 * math/w_atanh.c: Likewise.
12723 * math/w_atanhf.c: Likewise.
12724 * math/w_atanhl.c: Likewise.
12725 * math/w_exp10.c: Likewise.
12726 * math/w_exp10f.c: Likewise.
12727 * math/w_exp10l.c: Likewise.
12728 * math/w_fmod.c: Likewise.
12729 * math/w_fmodf.c: Likewise.
12730 * math/w_fmodl.c: Likewise.
12731 * math/w_j0.c: Likewise.
12732 * math/w_j0f.c: Likewise.
12733 * math/w_j0l.c: Likewise.
12734 * math/w_j1.c: Likewise.
12735 * math/w_j1f.c: Likewise.
12736 * math/w_j1l.c: Likewise.
12737 * math/w_jn.c: Likewise.
12738 * math/w_jnf.c: Likewise.
12739 * math/w_log.c: Likewise.
12740 * math/w_logf.c: Likewise.
12741 * math/w_logl.c: Likewise.
12742 * math/w_log10.c: Likewise.
12743 * math/w_log10f.c: Likewise.
12744 * math/w_log10l.c: Likewise.
12745 * math/w_log2.c: Likewise.
12746 * math/w_log2f.c: Likewise.
12747 * math/w_log2l.c: Likewise.
12748 * math/w_pow.c: Likewise.
12749 * math/w_powf.c: Likewise.
12750 * math/w_powl.c: Likewise.
12751 * math/w_remainder.c: Likewise.
12752 * math/w_remainderf.c: Likewise.
12753 * math/w_remainderl.c: Likewise.
12754 * math/w_scalb.c: Likewise.
12755 * math/w_scalbf.c: Likewise.
12756 * math/w_scalbl.c: Likewise.
12757 * math/w_sqrt.c: Likewise.
12758 * math/w_sqrtf.c: Likewise.
12759 * math/w_sqrtl.c: Likewise.
12760 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12761 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12763 * math/math_private.h: Declare __kernel_standard_f.
12764 * math/w_cosh.c: Remove cruft and optimize a bit.
12765 * math/w_coshf.c: Likewise.
12766 * math/w_coshl.c: Likewise.
12767 * math/w_exp2.c: Likewise.
12768 * math/w_exp2f.c: Likewise.
12769 * math/w_exp2l.c: Likewise.
12770 * math/w_hypot.c: Likewise.
12771 * math/w_hypotf.c: Likewise.
12772 * math/w_hypotl.c: Likewise.
12773 * math/w_lgamma.c: Likewise.
12774 * math/w_lgamma_r.c: Likewise.
12775 * math/w_lgammaf.c: Likewise.
12776 * math/w_lgammaf_r.c: Likewise.
12777 * math/w_lgammal.c: Likewise.
12778 * math/w_lgammal_r.c: Likewise.
12779 * math/w_sinh.c: Likewise.
12780 * math/w_sinhf.c: Likewise.
12781 * math/w_sinhl.c: Likewise.
12782 * math/w_tgamma.c: Likewise.
12783 * math/w_tgammaf.c: Likewise.
12784 * math/w_tgammal.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12787 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12788 Minor optimizations. Pretty printing. Remove cruft.
12789 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12790 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12791 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12792 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12793 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12794 * sysdeps/i386/fpu/e_asin.S: Likewise.
12795 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12796 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12797 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12798 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12799 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12800 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12801 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12802 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12803 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12804 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12805 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12806 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12807 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12808 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12809 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12810 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12811 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12812 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12813 * sysdeps/i386/fpu/e_log.S: Likewise.
12814 * sysdeps/i386/fpu/e_log10.S: Likewise.
12815 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12816 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12817 * sysdeps/i386/fpu/e_log2.S: Likewise.
12818 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12819 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12820 * sysdeps/i386/fpu/e_logf.S: Likewise.
12821 * sysdeps/i386/fpu/e_logl.S: Likewise.
12822 * sysdeps/i386/fpu/e_pow.S: Likewise.
12823 * sysdeps/i386/fpu/e_powf.S: Likewise.
12824 * sysdeps/i386/fpu/e_powl.S: Likewise.
12825 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12826 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12827 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12828 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12829 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12830 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12831 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12832 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12833 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12851 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12855 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12856 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12857 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12858 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12859 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12860 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12861 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12862 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12863 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12864 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12865 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12866 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12867 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12868 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12869 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12870 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12871 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12872 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12873 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12874 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12875 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12880 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12883 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12884 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12889 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12890 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12891 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12917 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12919 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12920 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12922 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12925 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12926 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12927 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12928 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12929 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12930 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12931 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12932 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12933 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12934 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12935 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12936 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12937 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12938 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12939 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12940 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12941 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12942 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12943 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12944 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12945 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12946 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12947 (__isnanf): Likewise.
12948 (__isinf_ns): Likewise.
12949 (__isinf_nsf): Likewise.
12950 (__finite): Likewise.
12951 (__finitef): Likewise.
12952 (__ieee754_sqrt): Define as macro.
12953 (__ieee754_sqrtf): Define as macro.
12954 (__ieee754_sqrtl): Define as macro.
12955 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12957 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12958 __FINITE_MATH_ONLY__ consistent.
12959 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12961 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12963 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12966 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12968 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12970 * po/ja.po: Update from translation team.
12972 2011-10-08 Roland McGrath <roland@hack.frob.com>
12974 * locale/programs/locarchive.c (prepare_address_space): New function.
12975 (create_archive, enlarge_archive, open_archive): Use it.
12977 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12978 inside [SHARED], where it is used.
12980 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12982 * nss/getent.c (netgroup_keys): Remove unused variable.
12983 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12985 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12987 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12988 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12989 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12990 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12991 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12992 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12993 * math/Makefile (libm-calls): Add s_isinf_ns.
12994 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12995 * math/multc3.c: Likewise.
12996 * math/s_casin.c: Likewise.
12997 * math/s_casinf.c: Likewise.
12998 * math/s_casinl.c: Likewise.
12999 * math/s_ccos.c: Likewise.
13000 * math/s_ccosf.c: Likewise.
13001 * math/s_ccosl.c: Likewise.
13002 * math/s_ctan.c: Likewise.
13003 * math/s_ctanf.c: Likewise.
13004 * math/s_ctanh.c: Likewise.
13005 * math/s_ctanhf.c: Likewise.
13006 * math/s_ctanhl.c: Likewise.
13007 * math/s_ctanl.c: Likewise.
13008 * math/w_fmod.c: Likewise.
13009 * math/w_fmodf.c: Likewise.
13010 * math/w_fmodl.c: Likewise.
13011 * math/w_remainder.c: Likewise.
13012 * math/w_remainderf.c: Likewise.
13013 * math/w_remainderl.c: Likewise.
13014 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13015 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13018 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13019 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13020 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13021 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13023 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13025 * stdio-common/printf_fphex.c: Likewise.
13026 * stdio-common/printf_size.c: Likewise.
13028 * math/e_exp10.c: Include math_private.h using <...> not "...".
13029 * math/e_exp10f.c: Likewise.
13030 * math/e_exp10l.c: Likewise.
13031 * math/e_exp2l.c: Likewise.
13032 * math/e_j0l.c: Likewise.
13033 * math/e_j1l.c: Likewise.
13034 * math/e_jnl.c: Likewise.
13035 * math/e_lgammal_r.c: Likewise.
13036 * math/e_rem_pio2l.c: Likewise.
13037 * math/e_scalb.c: Likewise.
13038 * math/e_scalbf.c: Likewise.
13039 * math/e_scalbl.c: Likewise.
13040 * math/k_cosl.c: Likewise.
13041 * math/k_sinl.c: Likewise.
13042 * math/k_tanl.c: Likewise.
13043 * math/s_cacoshf.c: Likewise.
13044 * math/s_catan.c: Likewise.
13045 * math/s_catanf.c: Likewise.
13046 * math/s_catanh.c: Likewise.
13047 * math/s_catanhf.c: Likewise.
13048 * math/s_catanhl.c: Likewise.
13049 * math/s_catanl.c: Likewise.
13050 * math/s_ccosh.c: Likewise.
13051 * math/s_ccoshf.c: Likewise.
13052 * math/s_ccoshl.c: Likewise.
13053 * math/s_cexp.c: Likewise.
13054 * math/s_cexpf.c: Likewise.
13055 * math/s_cexpl.c: Likewise.
13056 * math/s_clog.c: Likewise.
13057 * math/s_clog10.c: Likewise.
13058 * math/s_clog10f.c: Likewise.
13059 * math/s_clog10l.c: Likewise.
13060 * math/s_clogf.c: Likewise.
13061 * math/s_clogl.c: Likewise.
13062 * math/s_csin.c: Likewise.
13063 * math/s_csinf.c: Likewise.
13064 * math/s_csinh.c: Likewise.
13065 * math/s_csinhf.c: Likewise.
13066 * math/s_csinhl.c: Likewise.
13067 * math/s_csinl.c: Likewise.
13068 * math/s_csqrt.c: Likewise.
13069 * math/s_csqrtf.c: Likewise.
13070 * math/s_csqrtl.c: Likewise.
13071 * math/s_ctan.c: Likewise.
13072 * math/s_ctanf.c: Likewise.
13073 * math/s_ctanh.c: Likewise.
13074 * math/s_ctanhf.c: Likewise.
13075 * math/s_ctanhl.c: Likewise.
13076 * math/s_ctanl.c: Likewise.
13077 * math/s_ldexp.c: Likewise.
13078 * math/s_ldexpf.c: Likewise.
13079 * math/s_ldexpl.c: Likewise.
13080 * math/s_significand.c: Likewise.
13081 * math/s_significandf.c: Likewise.
13082 * math/s_significandl.c: Likewise.
13083 * math/w_acos.c: Likewise.
13084 * math/w_acosf.c: Likewise.
13085 * math/w_acosh.c: Likewise.
13086 * math/w_acoshf.c: Likewise.
13087 * math/w_acoshl.c: Likewise.
13088 * math/w_acosl.c: Likewise.
13089 * math/w_asin.c: Likewise.
13090 * math/w_asinf.c: Likewise.
13091 * math/w_asinl.c: Likewise.
13092 * math/w_atan2.c: Likewise.
13093 * math/w_atan2f.c: Likewise.
13094 * math/w_atan2l.c: Likewise.
13095 * math/w_atanh.c: Likewise.
13096 * math/w_atanhf.c: Likewise.
13097 * math/w_atanhl.c: Likewise.
13098 * math/w_cosh.c: Likewise.
13099 * math/w_coshf.c: Likewise.
13100 * math/w_coshl.c: Likewise.
13101 * math/w_dremf.c: Likewise.
13102 * math/w_exp10.c: Likewise.
13103 * math/w_exp10f.c: Likewise.
13104 * math/w_exp10l.c: Likewise.
13105 * math/w_exp2.c: Likewise.
13106 * math/w_exp2f.c: Likewise.
13107 * math/w_fmod.c: Likewise.
13108 * math/w_fmodf.c: Likewise.
13109 * math/w_fmodl.c: Likewise.
13110 * math/w_hypot.c: Likewise.
13111 * math/w_hypotf.c: Likewise.
13112 * math/w_hypotl.c: Likewise.
13113 * math/w_j0.c: Likewise.
13114 * math/w_j0f.c: Likewise.
13115 * math/w_j0l.c: Likewise.
13116 * math/w_j1.c: Likewise.
13117 * math/w_j1f.c: Likewise.
13118 * math/w_j1l.c: Likewise.
13119 * math/w_jn.c: Likewise.
13120 * math/w_jnf.c: Likewise.
13121 * math/w_jnl.c: Likewise.
13122 * math/w_lgamma.c: Likewise.
13123 * math/w_lgamma_r.c: Likewise.
13124 * math/w_lgammaf.c: Likewise.
13125 * math/w_lgammaf_r.c: Likewise.
13126 * math/w_lgammal.c: Likewise.
13127 * math/w_lgammal_r.c: Likewise.
13128 * math/w_log.c: Likewise.
13129 * math/w_log10.c: Likewise.
13130 * math/w_log10f.c: Likewise.
13131 * math/w_log10l.c: Likewise.
13132 * math/w_log2.c: Likewise.
13133 * math/w_log2f.c: Likewise.
13134 * math/w_log2l.c: Likewise.
13135 * math/w_logf.c: Likewise.
13136 * math/w_logl.c: Likewise.
13137 * math/w_pow.c: Likewise.
13138 * math/w_powf.c: Likewise.
13139 * math/w_powl.c: Likewise.
13140 * math/w_remainder.c: Likewise.
13141 * math/w_remainderf.c: Likewise.
13142 * math/w_remainderl.c: Likewise.
13143 * math/w_scalb.c: Likewise.
13144 * math/w_scalbf.c: Likewise.
13145 * math/w_scalbl.c: Likewise.
13146 * math/w_sinh.c: Likewise.
13147 * math/w_sinhf.c: Likewise.
13148 * math/w_sinhl.c: Likewise.
13149 * math/w_sqrt.c: Likewise.
13150 * math/w_sqrtf.c: Likewise.
13151 * math/w_sqrtl.c: Likewise.
13152 * math/w_tgamma.c: Likewise.
13153 * math/w_tgammaf.c: Likewise.
13154 * math/w_tgammal.c: Likewise.
13156 * po/ja.po: Update from translation team.
13158 2011-09-29 Andreas Jaeger <aj@suse.de>
13161 * sunrpc/netname.c (netname2host): Fix logic.
13165 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13167 * math/w_remainder.c (__remainder): Likewise.
13168 * math/w_remainderf.c (__remainderf): Likewise.
13169 * math/libm-test.inc (remainder_test): Add test cases.
13171 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13173 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13176 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13178 * string/test-memcmp.c: Avoid unncessary #defines.
13179 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13181 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13183 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13184 Use new sse2 version for core i3 - i7 as it's faster
13185 than sse42 version.
13186 (bit_Prefer_PMINUB_for_stringop): New.
13187 * sysdeps/x86_64/rawmemchr.S: Update.
13188 Replace with faster SSE2 version.
13189 * sysdeps/x86_64/memrchr.S: New file.
13190 * sysdeps/x86_64/memchr.S: Update.
13191 Replace with faster SSE2 version.
13193 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13195 * elf/dl-load.c (lose): Add cast to avoid warning.
13197 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13199 * po/ca.po: Update from translation team.
13201 * inet/getnetgrent_r.c: Hook up nscd.
13202 * nscd/Makefile (routines): Add nscd_netgroup.
13203 (nscd-modules): Add netgroupcache.
13204 (CFLAGS-netgroupcache.c): Define.
13205 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13206 (cache_search): Add const to second parameter.
13207 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13209 (dbs): Add netgrdb entry.
13210 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13211 (verify_persistent_db): Handle netgrdb.
13212 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13213 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13215 (netgroup_response_header): Define.
13216 (innetgroup_response_header): Define.
13217 (datahead): Add netgroup_response_header and innetgroup_response_header
13219 * nscd/nscd.conf: Add entries for netgroup cache.
13220 * nscd/nscd.h (dbtype): Add netgrdb.
13221 (_PATH_NSCD_NETGROUP_DB): Define.
13222 (netgroup_iov_disabled): Declare.
13223 (xmalloc, xcalloc, xrealloc): Move declarations here.
13224 (cache_search): Adjust prototype.
13225 Add netgroup-related prototypes.
13226 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13227 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13228 (__nscd_innetgr): Declare.
13229 * nscd/selinux.c (perms): Use access_vector_t as element type and
13230 add netgroup-related initializers.
13231 * nscd/netgroupcache.c: New file.
13232 * nscd/nscd_netgroup.c: New file.
13233 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13234 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13235 For four parameters use innetgr.
13236 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13237 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13238 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13239 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13241 * nscd/connections.c (register_traced_file): Don't register file
13242 for disabled databases.
13244 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13246 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13248 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13249 from tree and freeing node.
13251 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13253 * nss/nsswitch.c (__nss_database_lookup): Handle
13254 nss_parse_service_list out of memory case.
13256 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13258 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13259 out of memory case.
13261 2011-10-04 Andreas Schwab <schwab@redhat.com>
13263 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13264 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13266 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13267 elf_machine_rela, elf_machine_lazy_rel.
13268 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13269 (ELF_DYNAMIC_DO_REL): Likewise.
13270 (ELF_DYNAMIC_DO_RELA): Likewise.
13271 (ELF_DYNAMIC_RELOCATE): Likewise.
13272 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13273 to ELF_DYNAMIC_DO_REL.
13274 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13275 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13276 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13278 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13279 skip_ifunc, don't call ifunc function if non-zero.
13280 (elf_machine_rela): Likewise.
13281 (elf_machine_lazy_rel): Likewise.
13282 (elf_machine_lazy_rela): Likewise.
13283 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13284 (elf_machine_lazy_rel): Likewise.
13285 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13287 (elf_machine_lazy_rel): Likewise.
13288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13290 (elf_machine_lazy_rel): Likewise.
13291 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13292 (elf_machine_lazy_rel): Likewise.
13293 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13294 (elf_machine_lazy_rel): Likewise.
13295 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13296 (elf_machine_lazy_rel): Likewise.
13297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13298 (elf_machine_lazy_rel): Likewise.
13299 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13300 (elf_machine_lazy_rel): Likewise.
13301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13302 (elf_machine_lazy_rel): Likewise.
13304 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13306 * nss/nss_files/files-init.c (_nss_files_init): Use static
13307 initialization for all the *_traced_file variables.
13309 2011-09-28 Andreas Schwab <schwab@redhat.com>
13311 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13313 2011-09-27 Roland McGrath <roland@hack.frob.com>
13316 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13318 2011-09-27 Andreas Schwab <schwab@redhat.com>
13320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13321 Reread the line before reparsing it.
13323 2011-09-26 Andreas Schwab <schwab@redhat.com>
13325 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13327 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13328 Maxim Kuvyrkov <maxim@codesourcery.com>
13329 Joseph Myers <joseph@codesourcery.com>
13331 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13332 if needed for __stack_chk_guard.
13334 2011-09-19 Roland McGrath <roland@hack.frob.com>
13336 * sysdeps/posix/spawni.c (script_execute): Always define it.
13337 It will be optimized away if unused.
13338 (maybe_script_execute): New function.
13339 (__spawni): Call it.
13341 * Makerules: Don't include tls.make.
13342 (config-tls): Always set to thread.
13343 * tls.make.c: File removed.
13345 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13347 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13348 * config.make.in (CPPFLAGS-config): New substituted variable.
13350 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13352 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13355 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13356 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13358 2011-09-15 Roland McGrath <roland@hack.frob.com>
13360 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13361 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13362 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13363 (CALL_FAIL): Likewise.
13364 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13365 (CALL_FAIL): Macro removed.
13366 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13368 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13370 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13371 for __FINITE_MATH_ONLY__ == 1.
13373 2011-09-15 Andreas Schwab <schwab@redhat.com>
13375 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13376 __ieee754_sqrt instead of sqrt.
13377 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13378 __ieee754_sqrtf instead of sqrtf.
13379 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13380 __floorf instead of floorf.
13381 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13382 __floorf, __truncf instead of floorf, truncf.
13384 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13386 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13388 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13389 __extern_always_inline.
13390 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13393 2011-09-14 Andreas Schwab <schwab@redhat.com>
13395 * elf/rtld.c (dl_main): Also relocate in dependency order when
13396 doing symbol dependency testing.
13398 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13401 Always define `refsym'.
13403 2011-09-13 Andreas Schwab <schwab@redhat.com>
13405 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13406 (__FD_ELT): Renamed from __FDELT.
13407 * misc/bits/select2.h (__FD_ELT): Likewise.
13408 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13409 __FD_MASK instead of __FDELT, __FDMASK.
13410 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13412 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13415 * elf/Makefile (gen-ldd): Fix pattern.
13417 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13418 (init_tls): Likewise.
13420 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13422 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13424 2011-09-12 Andreas Schwab <schwab@redhat.com>
13426 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13427 `struct cmsghdr *' instead of `void *'.
13428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13431 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13433 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13435 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13436 ldd_rewrite_script.
13438 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13440 * configure.in: Remove --with-tls option.
13441 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13442 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13443 out in case it is missing.
13444 * sysdeps/ia64/elf/configure.in: Likewise.
13445 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13446 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13447 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13448 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13449 * sysdeps/sh/elf/configure.in: Likewise.
13450 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13451 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13452 * sysdeps/x86_64/elf/configure.in: Likewise.
13453 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13454 * sysdeps/mach/hurd/tls.h: Likewise.
13457 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13460 * configure.in: Fix use of AC_INIT.
13462 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13464 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13466 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13468 * malloc/hooks.c: Likewise.
13471 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13472 variables statically.
13473 (narenas): Initialize.
13474 (list_lock): Initialize.
13475 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13476 initializtion of main_arena and list_lock. Small cleanups.
13477 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13478 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13479 Add initializers to main_arena and mp_.
13480 (malloc_state): Remove pagesize member. Change all users to use
13483 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13484 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13485 is always initialized.
13487 * malloc/malloc.c: Removed unused configurations and dead code.
13488 * malloc/arena.c: Likewise.
13489 * malloc/hooks.c: Likewise.
13490 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13492 * include/tls.h: Removed. USE___THREAD must always be defined.
13493 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13494 * elf/dl-libc.c: Likewise.
13495 * elf/dl-tsd.c: Likewise.
13496 * include/errno.h: Likewise.
13497 * include/netdb.h: Likewise.
13498 * include/resolv.h: Likewise.
13499 * inet/herrno-loc.c: Likewise.
13500 * inet/herrno.c: Likewise.
13501 * malloc/arena.c: Likewise.
13502 * malloc/hooks.c: Likewise.
13503 * malloc/malloc.c: Likewise.
13504 * resolv/res-state.c: Likewise.
13505 * resolv/res_libc.c: Likewise.
13506 * sysdeps/i386/dl-machine.h: Likewise.
13507 * sysdeps/ia64/dl-machine.h: Likewise.
13508 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13509 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13510 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13511 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13512 * sysdeps/sh/dl-machine.h: Likewise.
13513 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13514 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13515 * sysdeps/unix/i386/sysdep.S: Likewise.
13516 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13517 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13520 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13522 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13524 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13526 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13527 * sysdeps/x86_64/dl-machine.h: Likewise.
13528 * tls.make.c: Likewise.
13530 * configure.in: Remove --with-__thread option. Make tests for
13531 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13532 tls_model attribute fail if no support is available. Remove
13534 * Makeconfig: Adjust for dropped configure option. All features are
13536 * Makerules: Likewise.
13537 * Versions.def: Likewise.
13538 * argp/argp-fmtstream.c: Likewise.
13539 * argp/argp-fmtstream.h: Likewise.
13540 * argp/argp-help.c: Likewise.
13541 * assert/assert.c: Likewise.
13542 * config.h.in: Likewise.
13543 * config.make.in: Likewise.
13544 * configure: Likewise.
13545 * configure.in: Likewise.
13546 * csu/Versions: Likewise.
13547 * csu/init.c: Likewise.
13548 * elf/tst-audit2.c: Likewise.
13549 * elf/tst-tls10.c: Likewise.
13550 * elf/tst-tls10.h: Likewise.
13551 * elf/tst-tls11.c: Likewise.
13552 * elf/tst-tls12.c: Likewise.
13553 * elf/tst-tls14.c: Likewise.
13554 * elf/tst-tlsmod11.c: Likewise.
13555 * elf/tst-tlsmod12.c: Likewise.
13556 * elf/tst-tlsmod13.c: Likewise.
13557 * elf/tst-tlsmod13a.c: Likewise.
13558 * elf/tst-tlsmod14a.c: Likewise.
13559 * elf/tst-tlsmod15b.c: Likewise.
13560 * elf/tst-tlsmod16a.c: Likewise.
13561 * elf/tst-tlsmod16b.c: Likewise.
13562 * elf/tst-tlsmod7.c: Likewise.
13563 * elf/tst-tlsmod8.c: Likewise.
13564 * elf/tst-tlsmod9.c: Likewise.
13565 * gmon/gmon.c: Likewise.
13566 * grp/fgetgrent_r.c: Likewise.
13567 * grp/putgrent.c: Likewise.
13568 * hurd/fopenport.c: Likewise.
13569 * include/libc-symbols.h: Likewise.
13570 * include/tls.h: Likewise.
13571 * intl/gettextP.h: Likewise.
13572 * intl/loadinfo.h: Likewise.
13573 * locale/global-locale.c: Likewise.
13574 * locale/localeinfo.h: Likewise.
13575 * mach/devstream.c: Likewise.
13576 * malloc/arena.c: Likewise.
13577 * malloc/set-freeres.c: Likewise.
13578 * misc/err.c: Likewise.
13579 * misc/getttyent.c: Likewise.
13580 * misc/mntent_r.c: Likewise.
13581 * posix/getopt.c: Likewise.
13582 * posix/wordexp.c: Likewise.
13583 * pwd/fgetpwent_r.c: Likewise.
13584 * resolv/Versions: Likewise.
13585 * resolv/res_hconf.c: Likewise.
13586 * shadow/fgetspent_r.c: Likewise.
13587 * shadow/putspent.c: Likewise.
13588 * stdio-common/printf_fphex.c: Likewise.
13589 * stdio-common/tmpfile.c: Likewise.
13590 * stdlib/abort.c: Likewise.
13591 * stdlib/fmtmsg.c: Likewise.
13592 * sunrpc/auth_unix.c: Likewise.
13593 * sunrpc/clnt_perr.c: Likewise.
13594 * sunrpc/clnt_tcp.c: Likewise.
13595 * sunrpc/clnt_udp.c: Likewise.
13596 * sunrpc/clnt_unix.c: Likewise.
13597 * sunrpc/openchild.c: Likewise.
13598 * sunrpc/svc_simple.c: Likewise.
13599 * sunrpc/svc_tcp.c: Likewise.
13600 * sunrpc/svc_udp.c: Likewise.
13601 * sunrpc/svc_unix.c: Likewise.
13602 * sunrpc/xdr.c: Likewise.
13603 * sunrpc/xdr_array.c: Likewise.
13604 * sunrpc/xdr_rec.c: Likewise.
13605 * sunrpc/xdr_ref.c: Likewise.
13606 * sunrpc/xdr_stdio.c: Likewise.
13608 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13610 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13612 2011-07-03 Andreas Jaeger <aj@suse.de>
13614 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13615 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13616 regenerate with gen-libm-tests.pl.
13618 2010-05-12 Petr Baudis <pasky@suse.cz>
13621 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13622 around j0() zero points by switching to j1().
13623 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13624 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13628 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13630 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13632 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13635 Patch in part by Pavel Roskin <proski@gnu.org>.
13638 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13640 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13641 Free memory block if necessary.
13644 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13645 be NULL. Don't lock in this case.
13647 2011-09-09 Roland McGrath <roland@hack.frob.com>
13649 * elf/elf.h (ELFOSABI_GNU): New macro.
13650 (ELFOSABI_LINUX): Define to that.
13652 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13654 * string/strncat.c (strncat): Undef the symbol in case it has been
13655 defined in bits/string.h.
13657 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13659 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13661 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13664 2011-08-17 Andreas Jaeger <aj@suse.de>
13666 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13668 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13669 Ian Lance Taylor <iant@google.com>
13671 * math/libm-test.inc (lround_test): New testcase.
13672 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13674 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13676 * Makefile: Remove support for automatic cvs check-ins.
13677 * Makerules: Likewise.
13678 * config.make.in: Likewise.
13679 * configure.in: Likewise.
13680 * intl/Makefile: Likewise.
13681 * locale/Makefile: Likewise.
13682 * po/Makefile: Likewise.
13683 * posix/Makefile: Likewise.
13684 * sysdeps/gnu/Makefile: Likewise.
13685 * sysdeps/mach/hurd/Makefile: Likewise.
13686 * sysdeps/sparc/sparc32/Makefile: Likewise.
13689 * posix/Makefile (bug-regex32-ENV): Define.
13690 Patch by John Stanley <jpsinthemix@verizon.net>.
13692 * misc/Makefile (headers): Add bits/select2.h.
13693 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13694 * misc/bits/select2.h: New file.
13695 * include/bits/select2.h: New file.
13696 * debug/Makefile (routines): Add fdelt_chk.
13697 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13698 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13700 * debug/fdelt_chk.c: New file.
13702 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13703 * wcsmbs/test-wmemcmp.c: Likewise.
13704 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13705 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13707 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13709 * string/Makefile (strop-tests): Add memcmp.
13710 * string/test-wmemcmp.c: New file.
13711 * string/test-memcmp.c: Add wmemcmp support.
13713 2011-09-08 Roland McGrath <roland@hack.frob.com>
13716 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13719 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13720 garbage value in a __mach_port_mod_refs call in the cases of the
13721 task-self and thread-self ports.
13723 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13725 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13727 2011-09-08 Andreas Schwab <schwab@redhat.com>
13729 * elf/dl-load.c (lose): Check for non-null L.
13731 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13733 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13735 * elf/dl-libc.c (dlerror_run): Pass back error code from
13739 * elf/dl-load.c (lose): Free l_origin if it is valid.
13741 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13743 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13744 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13745 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13746 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13747 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13748 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13750 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13752 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13753 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13754 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13755 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13756 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13757 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13758 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13759 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13760 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13761 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13763 2011-08-15 Alan Modra <amodra@gmail.com>
13766 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13767 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13768 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13769 ppc_mcount to static-only-routines.
13770 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13772 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13773 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13775 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13777 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13778 for finite and infinity parameters.
13780 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13782 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13783 and add nop instructions for throughput optimization.
13784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13786 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13788 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13789 aligned copy for power7 with vector-scalar instructions.
13790 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13792 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13797 2011-09-07 Andreas Schwab <schwab@redhat.com>
13800 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13803 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13805 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13806 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13807 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13808 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13811 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13813 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13814 Forgot to demangle the pointer.
13816 * sysdeps/i386/sysdep.h: Define atom_text_section.
13817 * sysdeps/x86_64/sysdep.h: Likewise.
13818 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13819 section with atom_text_section.
13820 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13821 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13822 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13823 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13824 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13826 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13827 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13828 already be defined. Change to take two parameters and don't assign
13829 result to variable. Adjust all users.
13830 Define INTERNAL_GETTIME if not already defined.
13831 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13834 HAVE_CLOCK_GETTIME_VSYSCALL.
13835 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13838 gettimeofday vsyscall, just use time.
13840 2011-09-06 Andreas Schwab <schwab@redhat.com>
13842 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13845 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13847 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13851 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13852 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13853 syscall if possible.
13855 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13857 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13858 e_ident. Don't pass to find_mapsXX.
13859 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13861 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13864 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13865 * sysdeps/x86_64/multiarch/strchr.S: Update.
13866 Check bit_slow_BSF bit.
13867 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13868 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13869 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13871 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13874 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13876 (tryshell): Define.
13877 (__spawni): Change last parameter to be flag. Test
13878 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13879 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13880 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13881 * posix/spawni.c: Likewise.
13882 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13883 * posix/spawnp.c: Likewise. Change normal version to use
13884 SPAWN_XFLAGS_USE_PATH.
13885 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13886 SPAWN_XFLAGS_TRY_SHELL.
13889 * posix/glob.h: Remove gcc 1.x support.
13892 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13894 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13897 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13899 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13900 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13901 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13902 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13903 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13904 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13906 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13908 * sysdeps/x86_64/wcscmp.S: New file.
13910 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13911 wcscmp-c wcscmp-sse2
13912 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13913 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13914 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13915 * wcsmbs/wcscmp.c: Allow renaming.
13917 2011-09-05 David S. Miller <davem@davemloft.net>
13919 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13920 stack slot, rather than the struct return pointer slot.
13921 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13922 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13924 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13926 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13928 * po/ja.po: Update from translation team.
13931 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13932 kernel in 64-bit binaries.
13934 2011-09-01 David S. Miller <davem@davemloft.net>
13936 * elf/elf.h (HWCAP_SPARC_*): Move to..
13937 * sysdeps/sparc/sysdep.h: this new file and add new values.
13938 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13939 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13940 _DL_HWCAP_COUNT to 24.
13941 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13943 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13944 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13945 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13947 instead of magic constants.
13948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13950 2011-08-31 David S. Miller <davem@davemloft.net>
13952 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13954 Reimplement to do errno handling inline.
13955 (SYSCALL_ERROR_HANDLER): New macro.
13956 (__SYSCALL_STRING): Do not do errno handling in asm.
13957 (__CLONE_SYSCALL_STRING): Delete.
13958 (__INTERNAL_SYSCALL_STRING): Delete.
13959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13960 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13961 (PSEUDO): Reimplement to do errno handling inline.
13962 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13963 (SYSCALL_ERROR_HANDLER): New macro.
13964 (__SYSCALL_STRING): Do not do errno handling in asm.
13965 (__CLONE_SYSCALL_STRING): Delete.
13966 (__INTERNAL_SYSCALL_STRING): Delete.
13967 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13968 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13970 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13971 (inline_syscall*): Add 'err' argument.
13972 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13973 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13974 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13975 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13977 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13978 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13980 2011-08-30 Andreas Schwab <schwab@redhat.com>
13982 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13984 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13986 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13989 2011-08-24 David S. Miller <davem@davemloft.net>
13991 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13993 2011-08-24 Andreas Schwab <schwab@redhat.com>
13995 * elf/Makefile: Add rules to build and run unload8 test.
13996 * elf/unload8.c: New file.
13997 * elf/unload8mod1.c: New file.
13998 * elf/unload8mod1x.c: New file.
13999 * elf/unload8mod2.c: New file.
14000 * elf/unload8mod3.c: New file.
14002 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14005 2011-08-23 David S. Miller <davem@davemloft.net>
14007 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14008 subtract stack bias.
14009 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14010 %sp not %fp in calculations.
14011 (_JMPBUF_UNWINDS_ADJ): Likewise.
14013 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14014 (aio_suspend): Call it to force an exception region around the
14015 AIO_MISC_WAIT() invocation.
14017 2011-08-23 Andreas Schwab <schwab@redhat.com>
14019 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14022 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14024 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14026 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14027 and <dl-machine.h>.
14028 (Elf64_FuncDesc): Remove.
14030 2011-08-22 David S. Miller <davem@davemloft.net>
14032 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14033 sigaltstack check, add missing cfi directives.
14034 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14035 missing cfi directives, and sigaltstack handling.
14037 2011-08-16 Andreas Schwab <schwab@redhat.com>
14040 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14041 object is seen twice.
14042 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14044 * elf/Makefile (distribute): Add tst-initorder2.c.
14045 (tests): Add tst-initorder2.
14046 (modules-names): Add tst-initorder2a tst-initorder2b
14047 tst-initorder2c tst-initorder2d. Add rules to build them.
14048 ($(objpfx)tst-initorder2.out): New rule.
14049 * elf/tst-initorder2.c: New file.
14050 * elf/tst-initorder2.exp: New file.
14052 2011-08-22 Andreas Schwab <schwab@redhat.com>
14054 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14056 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14057 dependencies back to end of function.
14059 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14060 $(elfobjdir)/ld.so.
14062 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14065 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14067 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14068 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14069 of __vdso_gettimeofday.
14070 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14071 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14073 (_libc_vdso_platform_setup): Remove initialization of
14074 __vdso_gettimeofday and __vdso_time.
14076 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14078 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14079 and fgetc_unlocked.
14080 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14083 * elf/dl-open.c (add_to_global): Report additions to the global scope
14084 for LD_DEBUG=scopes.
14085 (dl_open_worker): Also print scope of newly loaded dependencies.
14086 (_dl_show_scope): Indicate if there is no scope.
14089 * stdio-common/Makefile (tests): Add bug24.
14090 * stdio-common/bug24.c: New file.
14092 2011-08-19 Andreas Jaeger <aj@suse.de>
14095 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14096 non-existant file when using close-on-exec mode.
14098 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14101 the very first instruction.
14103 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14104 the CFI state in the end.
14105 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14106 inclusion of dl-trampoline.h.
14107 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14109 2011-08-19 Andreas Schwab <schwab@redhat.com>
14111 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14112 expectations for long double.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14115 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14117 2011-08-14 David S. Miller <davem@davemloft.net>
14119 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14120 artificual limit depends upon the system page size.
14122 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14124 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14125 * resolv/Makefile: Define CFLAGS-libresolv.
14127 2011-08-17 Andreas Schwab <schwab@redhat.com>
14129 * nss/makedb.c (compute_tables): Make variables used in nested
14132 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14134 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14135 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14136 if buffer was too small.
14138 * elf/pldd.c (main): Attach to all threads in the process.
14139 Rewrite /proc handling to use *at functions.
14141 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14143 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14144 specifies first scope to show.
14145 (dl_open_worker): Update callers. Move printing scope of new
14146 object to before the relocation.
14147 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14148 * sysdeps/generic/ldsodefs.h: Update declaration.
14150 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14151 string for the scope number.
14153 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14155 * nscd/servicescache.c (cache_addserv): Make sure written is always
14158 2011-08-14 Roland McGrath <roland@hack.frob.com>
14160 * sysdeps/i386/i486/bits/atomic.h
14161 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14162 statement expression, so as to suppress "set but not used" warning.
14163 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14165 * string/strncat.c (STRNCAT): Use prototype definition.
14167 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14168 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14170 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14171 (localedef-modules): Add localedef.
14172 (locale-modules): Add locale.
14174 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14175 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14176 to avoid a warning.
14178 2011-08-14 David S. Miller <davem@davemloft.net>
14180 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14181 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14183 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14185 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14186 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14187 * elf/rtld.c (dl_main): Set l_name of vDSO.
14188 Call _dl_show_scope when DL_DEBUG_SCOPES.
14189 (process_dl_debug): Recognize scopes flag and also set it for all.
14190 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14191 Declare _dl_show_scope.
14193 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14194 (do_dlopen): Pass caller_dlopen to dl_open.
14195 (__libc_dlopen_mode): Initialize caller_dlopen.
14197 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14198 of libc. Make tolower call locale-independent. Optimize a bit by
14199 using isdigit instead of isalnum.
14200 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14202 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14204 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14205 was a dependency or dynamically loaded.
14207 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14209 * intl/l10nflist.c: Allow architecture-specific pop function.
14210 * sysdeps/x86_64/l10nflist.c: New file.
14212 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14215 2011-08-10 Andreas Schwab <schwab@redhat.com>
14217 * include/dirent.h: Add libc_hidden_proto for scandirat and
14218 scandirat64. Don't declare __scandirat64.
14219 * dirent/scandirat.c: Add libc_hidden_def.
14220 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14221 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14223 2011-08-10 David S. Miller <davem@davemloft.net>
14225 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14227 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14228 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14229 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14231 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14233 * Versions.def [libc]: Add GLIBC_2.15.
14234 * dirent/Makefile (routines): Add scandirat and scandirat64.
14235 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14237 * dirent/dirent.h: Declare scandirat and scandirat64.
14238 * dirent/scandirat.c: New file.
14239 * dirent/scandirat64.c: New file.
14240 * sysdeps/wordsize-64/scandirat.c: New file.
14241 * sysdeps/wordsize-64/scandirat64.c: New file.
14242 * dirent/opendir.c: Define opendirat.
14243 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14245 * dirent/scandir64.c: Adjust for scandir.c change.
14246 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14247 __scandirat64, and __scandir_cancel_handler.
14248 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14249 additional parameter and use openat instead of open (outside of ld.so).
14250 Add new __opendir as wrapper around __opendirat.
14251 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14252 here without requiring old scandirat implementation.
14254 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14256 * dirent/scandir.c (cancel_handler): Renamed to
14257 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14258 defined. Adjust users.
14259 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14260 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14262 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14264 * string/test-string.h (IMPL): Use __STRING to expand name and then
14267 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14270 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14272 * string/Makefile: Update.
14273 (strop-tests): Append strncat.
14274 * string/test-wcscmp.c: New file.
14275 New comprehensive test for wcscmp.
14276 * string/test-strcmp.c: Update.
14277 (WIDE): New define.
14279 2011-07-22 Andreas Schwab <schwab@redhat.com>
14281 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14284 2011-07-26 Andreas Schwab <schwab@redhat.com>
14286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14287 encoding to ACE if AI_IDN.
14289 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14291 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14292 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14294 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14296 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14297 Fix overflow bug in strncat.
14298 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14300 * string/test-strncat.c: Update.
14301 Add new tests for checking overflow bugs.
14303 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14306 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14307 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14308 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14309 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14310 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14311 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14312 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14313 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14315 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14316 (USE_AS_STRCAT): Define.
14317 Add strcat and strncat support.
14318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14320 2011-07-25 Andreas Schwab <schwab@redhat.com>
14322 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14323 __n bigger than INT_MAX+1.
14324 (__strncmp_g): Likewise.
14326 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14328 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14329 * libio/stido.h: Likewise.
14331 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14336 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14337 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14339 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14340 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14343 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14348 (_dl_x86_64_save_sse): Likewise.
14350 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14354 (_dl_x86_64_save_sse): Likewise.
14356 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14358 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14360 2011-07-21 Andreas Schwab <schwab@redhat.com>
14362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14364 (_dl_x86_64_save_sse): Use correct AVX check.
14366 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14369 bug in strncpy/strncat.
14370 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14372 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14374 * string/tester.c (test_strcat): Add tests for different alignments
14375 of source and destination.
14376 (test_strncat): Likewise.
14378 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14381 * posix/glob.c (glob): Check passed in values before using them in
14382 expressions to avoid some overflows.
14383 (glob_in_dir): Likewise.
14386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14387 check for AVX enablement so that we don't crash with old kernels and
14389 * elf/tst-audit4.c: Add same checks here.
14390 * elf/tst-audit6.c: Likewise.
14392 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14394 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14396 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14398 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14400 * po/cs.po: Update from translation team.
14401 * po/bg.po: Likewise.
14403 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14405 * misc/sys/cdefs.h: Add support for const attribute.
14406 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14407 to gnu_dev_{major,minor,makedev} functions.
14409 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14411 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14413 2011-07-20 Andreas Schwab <schwab@redhat.com>
14415 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14418 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14421 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14422 register in order to avoid conflicts with the soft frame pointer
14423 being held in r11 when necessary.
14424 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14425 (INTERNAL_VSYSCALL_NCS): Likewise.
14427 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14429 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14430 * elf/dl-fini.c (_dl_fini): Adjust caller.
14431 * elf/dl-close.c (_dl_close_worker): Likewise.
14432 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14434 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14436 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14437 "aux_cache->nlibs < 0".
14439 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14440 in the reload-count case.
14442 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14445 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14446 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14447 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14448 * sysdeps/x86_64/multiarch/strcat.S: New file.
14449 * sysdeps/x86_64/multiarch/strncat.S: New file.
14450 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14451 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14452 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14453 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14454 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14455 (USE_AS_STRCAT): Define.
14456 Add strcat and strncat support.
14457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14459 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14460 * string/strncat.c: Update.
14461 (USE_AS_STRNCAT): Define.
14462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14463 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14465 * sysdeps/x86_64/multiarch/init-arch.h
14466 (bit_Prefer_PMINUB_for_stringop): New.
14467 (index_Prefer_PMINUB_for_stringop): Likewise.
14468 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14469 bit_Prefer_PMINUB_for_stringop.
14471 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14473 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14475 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14476 of casting of buffer.
14477 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14478 buffer32 and buffer64.
14479 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14480 writes instead of casting of buffer.
14481 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14483 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14486 2011-07-19 Andreas Schwab <schwab@redhat.com>
14488 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14490 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14492 * nscd/nscd.c (termination_handler): Don't do anything for a database
14493 if it has not yet been initialized.
14495 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14497 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14499 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14501 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14503 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14505 * po/nl.po: Update from translation team.
14506 * po/sv.po: Likewise.
14508 2011-07-16 Roland McGrath <roland@hack.frob.com>
14510 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14511 now disallowed by GCC.
14513 * configure.in (use-default-link): Default to yes if a test -shared
14514 link meets our qualifications.
14515 * configure: Regenerated.
14517 * config.make.in (output-format): New variable.
14518 * configure.in: Check for ld --print-output-format support.
14519 * configure: Regenerated.
14520 * Makerules ($(common-objpfx)format.lds)
14521 [$(output-format) != unknown]: Just use $(output-format),
14522 instead of the linker-script munging.
14524 2011-07-14 Roland McGrath <roland@hack.frob.com>
14526 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14527 of $(common-objpfx)shlib.lds.
14528 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14530 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14531 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14533 * configure.in (-z relro check): Adjust test code to add a large
14534 writable data section after it.
14535 * configure: Regenerated.
14537 2011-07-11 Roland McGrath <roland@hack.frob.com>
14539 * configure.in (-z relro check): Fix test code to make the variable
14541 * configure: Regenerated.
14543 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14545 * nscd/nscd.h (struct traced_file): Define.
14546 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14547 elements. Add traced_files.
14548 (inotify_fd): Declare.
14549 (register_traced_file): Declare.
14550 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14551 (inotify_fd): Export.
14552 (resolv_conf_descr): Remove.
14553 (nscd_init): Move inotify descriptor creation to main.
14554 Don't register files for notification here.
14555 (register_traced_file): New function.
14556 (invalidate_cache): Don't use reset_res to determine whether to call
14557 res_init, go through the list of registered files.
14558 (main_loop_poll): The inotify descriptors are now stored in the
14559 structures for the traced files.
14560 (main_loop_epoll): Likewise
14561 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14562 to __nss_disable_nscd.
14563 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14564 for a database anymore. Check the records for all the registered
14566 * nss/Makefile (libnss_files-routines): Add files-init.
14567 (libnss_db-routines): Add db-init.
14568 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14569 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14570 * nss/nss_db/db-init.c: New file.
14571 * nss/nss_files/files-init.c: New file.
14572 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14573 __nss_lookup_function.
14574 (__nss_lookup_function): Call nss_load_library.
14575 (nss_load_all_libraries): New function.
14576 (__nss_disable_nscd): Take parameter with callback function for files
14577 to register. Set is_nscd. Load all the DSOs for the NSS modules
14578 used for the cached services.
14579 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14580 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14581 options for features to all the files in nscd.
14583 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14585 2011-07-10 Roland McGrath <roland@hack.frob.com>
14587 * csu/elf-init.c (__libc_csu_init): Comment typo.
14589 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14591 * po/pl.po: Update from translation team.
14592 * po/ja.po: Likewise.
14593 * po/ru.po: Likewise.
14594 * po/ko.po: Likewise.
14595 * po/fr.po: Likewise.
14597 2011-07-09 Roland McGrath <roland@hack.frob.com>
14599 * configure.in (.ctors/.dtors header and trailer check):
14600 Use an empirical test on a built program.
14601 * configure: Regenerated.
14603 * configure.in (-z relro check): Use an empirical test on a built DSO.
14604 Detect, but do not require, on ia64.
14605 * configure: Regenerated.
14607 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14608 Update tests that use readelf to use $READELF instead.
14609 * configure: Regenerated.
14611 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14613 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14614 if the result is not used.
14616 2011-07-05 Andreas Jaeger <aj@suse.de>
14619 * stdlib/tst-strtod.c: Add testcase.
14621 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14623 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14624 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14625 The latter has a higher limit. Take additional parameter to pass to
14627 (__pathconf): Pass file to __statfs_link_max.
14628 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14630 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14634 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14635 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14637 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14638 (__statfs_filesize_max): Likewise.
14639 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14641 2011-07-05 Andreas Jaeger <aj@suse.de>
14643 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14645 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14647 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14649 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14652 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14654 * Makefile (strop-tests): Add strncat.
14655 * string/test-strncat.c: New file.
14657 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14659 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14661 2011-06-21 Andreas Jaeger <aj@suse.de>
14663 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14664 Copy rule from iconvdata/Makefile.
14666 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14669 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14670 but no long options are defined, just return 'W'.
14672 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14675 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14677 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14679 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14681 (innetgr): Likewise.
14683 2011-07-05 Roland McGrath <roland@hack.frob.com>
14685 * config.make.in (install_root): Default to $(DESTDIR).
14687 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14689 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14691 2011-07-02 Roland McGrath <roland@hack.frob.com>
14693 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14695 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14696 containing directory rather than embedding absolute directory names.
14698 * scripts/check-local-headers.sh: Rewritten using awk.
14699 Match by word, not by line. Print error messages for matches.
14700 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14702 * Makerules [shlib-lds-flags empty]:
14703 ($(common-objpfx)libc_pic.opts): New target.
14704 ($(common-objpfx)libc_pic.os.clean): New target.
14705 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14707 * config.make.in (OBJCOPY): New variable.
14708 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14709 * configure: Regenerated.
14711 * config.make.in (use-default-link): New variable.
14712 * configure.in (use_default_link): Grok --with-default-link to set it.
14713 * configure: Regenerated.
14714 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14715 (shlib-lds, shlib-lds-flags): Define to empty.
14717 * Makerules (shlib-lds): New variable.
14718 (shlib-lds-flags): New variable.
14719 (build-shlib, build-moduile, build-module-asneeded): Use it.
14720 ($(common-objpfx)libc.so): Use $(shlib-lds).
14721 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14722 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14724 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14725 DT_FLAGS/DT_FLAGS_1 with zero flags.
14727 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14728 linker script munging.
14730 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14732 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14734 * crypt/sha512.c (sha512_process_block): Perform total addition using
14735 128-bit if possible.
14736 (__sha512_finish_ctx): Likewise.
14737 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14739 * crypt/sha256.c (SWAP64): Define.
14740 (sha256_process_block): Perform total addition using 64-bit if
14742 (__sha256_finish_ctx): Likewise.
14744 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14746 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14748 * nscd/hstcache.c (cache_addhst): Likewise.
14749 * nscd/grpcache.c (cache_addgr): Likewise.
14750 * nscd/aicache.c (addhstaiX): Likewise
14751 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14753 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14755 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14756 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14757 * nscd/hstcache.c (cache_addhst): Likewise.
14758 * nscd/grpcache.c (cache_addgr): Likewise.
14759 * nscd/aicache.c (addhstaiX): Likewise
14761 2011-07-01 Andreas Schwab <schwab@redhat.com>
14763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14764 domain only when needed.
14766 2011-06-30 Andreas Schwab <schwab@redhat.com>
14768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14769 is always restored.
14771 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14773 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14774 are re-adding the entry.
14775 * nscd/servicescache.c (cache_addserv): Likewise.
14777 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14779 * sysdeps/generic/dl-irel.h: fix protection against multiple
14781 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14783 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14786 * malloc/memusage.sh: Fix quoting in message.
14787 * debug/xtrace.sh: Likewise.
14789 * configure.in: Remove support for --experimental-malloc option, make
14791 * config.make.in: Likewise.
14792 * malloc/Makefile: Likewise.
14794 2011-06-27 Andreas Schwab <schwab@redhat.com>
14796 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14797 two-byte characters.
14799 2011-06-27 Roland McGrath <roland@hack.frob.com>
14801 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14802 AC_CACHE_CHECK invocation.
14803 * configure: Regenerated.
14805 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14807 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14810 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14811 bit from old_res_options.
14813 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14815 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14816 value type for setfct.
14818 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14821 __gettimeofday instead of gettimeofday.
14823 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14825 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14827 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14829 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14834 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14837 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14838 strcpy-sse2-unaligned strncpy-sse2-unaligned
14839 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14840 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14841 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14842 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14843 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14844 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14845 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14846 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14847 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14848 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14849 (STRCPY): Support SSE2 and SSSE3 versions.
14851 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14854 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14855 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14856 kernels which artificially limit size of requests.
14858 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14861 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14862 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14863 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14864 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14865 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14866 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14867 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14868 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14869 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14870 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14871 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14872 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14873 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14874 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14876 Enable unaligned load optimization for Intel Core i3, i5 and i7
14878 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14880 (index_Fast_Unaligned_Load): Define.
14881 (HAS_FAST_UNALIGNED_LOAD): Define.
14883 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14885 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14887 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14890 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14891 until it is clear that the information is realy needed.
14892 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14894 2011-06-22 Andreas Schwab <schwab@redhat.com>
14896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14898 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14901 /sys/devices/system/cpu/online if it is usable.
14903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14904 reading the information from the /proc filesystem to once a second.
14906 2011-06-21 Andreas Jaeger <aj@suse.de>
14908 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14909 NULL after inclusion of kernel headers.
14911 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14913 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14914 calls to internal_setent.
14917 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14918 addresses using gethostbyname4_r ignore IPv4 addresses.
14920 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14921 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14923 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14925 2011-06-20 David S. Miller <davem@davemloft.net>
14927 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14929 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14931 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14932 (elf_irel): Use it.
14933 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14934 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14935 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14936 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14937 * sysdeps/x86_64/dl-irel.h: Likewise.
14939 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14940 * elf/dl-sym.c: Likewise.
14942 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14944 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14945 need to dereference resplen2.
14947 2011-06-14 Andreas Schwab <schwab@redhat.com>
14949 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14951 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14953 * Makeconfig: Define vardbdir and inst_vardbdir.
14954 * nss/Makefile: Add rules to install db-Makefile.
14956 * nss/nss_db/db-XXX.c: Cleanup.
14958 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14959 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14961 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14962 * nss/makedb.c: Implement -g option to specify that value strings
14963 are generated and should not be added to table iterated over for
14965 * nss/nss_db/db-initgroups.c: New file.
14967 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14970 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14971 (internal_getgrouplist): Adjust to name change.
14972 Update use_initgroups_entry if this is not the first call.
14973 * nss/databases.def: Add initgroups entry.
14975 * nss/makedb.c (compute_tables): Check result of multiple hash table
14976 sizes to minimize maximum chain length.
14978 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14980 * Versions.def: Add entry for libnss_db.
14981 * shlib-versions: Likewise.
14982 * nss/Makefile: Add rules to build libnss_db.
14983 * nss/Versions: Add libnss_db information. Organize libnss_files
14985 * nss/db-Makefile: Add gshadow support. Change rules for the new
14986 makedb progra. Some minor improvements to generate smaller files.
14987 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14989 * nss/makedb.c: ...here.
14990 Improve database format to be smaller and require less memory at
14992 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14994 * nss/nss_db/db-netgrp.c: Likewise.
14995 * nss/nss_db/db-open.c: Likewise.
14996 * nss/nss_files/flies-XXX.x: Adjust comments.
14997 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14998 * nss/nss_files/files-grp.c: Likewise.
14999 * nss/nss_files/files-hosts.c: Likewise.
15000 * nss/nss_files/files-network.c: Likewise.
15001 * nss/nss_files/files-proto.c: Likewise.
15002 * nss/nss_files/files-pwd.c: Likewise.
15003 * nss/nss_files/files-rpc.c: Likewise.
15004 * nss/nss_files/files-service.c: Likewise.
15005 * nss/nss_files/files-sgrp.c: Likewise.
15006 * nss/nss_files/files-spwd.c: Likewise.
15007 * nss/nss_db/db-alias.c: Removed.
15008 * nss/nss_db/dummy-db.h: Removed.
15010 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15012 * nss/makedb.c: Rewritten to not use database library.
15013 * nss/Makefile: Update to build new makedb program.
15015 2011-06-14 Andreas Jaeger <aj@suse.de>
15017 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15018 memset declaration.
15020 2011-06-10 Andreas Schwab <schwab@redhat.com>
15022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15025 2011-06-10 Roland McGrath <roland@hack.frob.com>
15027 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15028 * elf/Makefile ($(objpfx)ld.so): Likewise.
15030 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15031 Don't list ld.so twice in dependencies.
15033 * posix/bug-regex31.c: Include <stdlib.h>.
15035 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15037 * nis/nss_compat/compat-spwd.c
15038 (getspent_next_nss_netgr): Remove unused variable.
15039 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15041 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15042 nonmembers" output to use the right array.
15044 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15046 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15048 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15049 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15050 * catgets/gencat.c (read_input_file): Likewise.
15051 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15053 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15054 variable definition inside #if's controlling its use.
15056 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15058 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15060 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15062 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15065 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15067 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15068 * configure: Regenerated.
15070 * Makerules: Revert last change.
15071 * elf/Makefile: Likewise.
15073 2011-06-09 Roland McGrath <roland@hack.frob.com>
15075 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15076 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15077 (reloc-link): Likewise.
15079 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15081 * elf/Makefile: Add rules to build pldd.
15082 * elf/pldd.c: New file.
15083 * elf/pldd-xx.c: New file.
15085 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15087 * version.h: Update for 2.15 development version.
15089 2011-06-07 David S. Miller <davem@davemloft.net>
15091 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15094 elf_machine_lazy_rel): Likewise.
15095 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15096 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15097 elf_machine_lazy_rel): Likewise.
15098 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15099 dl_hwcap via passed in argument.
15100 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15103 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15105 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15107 2011-06-06 Roland McGrath <roland@hack.frob.com>
15110 * manual/fdl-1.1.texi: New file, verbatim from:
15111 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15112 * manual/lgpl-2.1.texi: New file, verbatim from:
15113 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15114 * manual/Makefile (licenses): New variable, list those new file names.
15116 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15118 * manual/fdl.texi: File removed.
15119 * manual/lesser.texi: File removed.
15120 * manual/libc.texinfo (Copying, Documentation License):
15121 Use new @include file names, put @appendix directive before @include.
15123 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15126 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15127 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15128 (mq_open): Add __NTH.
15130 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15133 Assume Intel Core i3/i5/i7 processor if AVX is available.
15135 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15140 2011-05-31 Andreas Schwab <schwab@redhat.com>
15142 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15143 memory. Use alloca_account. Fix memory leak when retrying.
15145 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15147 * version.h (RELEASE): Bump for 2.14 release.
15148 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15150 * config.make.in (RANLIB): Remove entry.
15152 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15154 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15155 (libc.pot): Work around missing support for .ksh extension in xgettext.
15158 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15159 if both request failed.
15160 (send_dg): In case of server errors clear resplen or *resplen2.
15163 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15164 when there are multiple maps.
15165 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15166 (_dl_fini): Remove test here.
15168 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15170 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15173 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15174 bit from old_res_options.
15175 (gaih_inet): Likewise.
15178 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15181 * resolv/res_init.c (res_setoptions): Make the code more compact.
15184 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15188 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15190 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15193 * malloc/malloc.h: Declare malloc hook variables as volatile.
15195 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15199 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15200 raise in the comment.
15201 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15203 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15205 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15208 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15209 grow the buffers more if it already has to be sufficient.
15210 (build_wcs_upper_buffer): Likewise.
15211 * posix/regexec.c (check_matching): Likewise.
15212 (clean_state_log_if_needed): Likewise.
15213 (extend_buffers): Don't enlarge buffers beyond size of the input
15215 Patches mostly by Emil Wojak <emil@wojak.eu>.
15216 * posix/bug-regex32.c: New file.
15217 * posix/Makefile (tests): Add bug-regex32.
15219 * locale/findlocale.c (_nl_find_locale): Return right away if
15220 _nl_explode_name failed.
15221 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15223 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15225 * debug/xtrace.sh: Unify messages.
15226 * malloc/memusage.sh: Likewise.
15229 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15230 time symbol from vDSO. Substitute with vsyscall if not available.
15231 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15234 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15235 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15236 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15237 Add sendmmsg and internal_sendmmsg.
15238 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15239 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15240 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15242 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15243 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15244 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15246 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15249 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15250 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15252 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15256 * iconvdata/Makefile (tests): Add bug-iconv9.
15257 * iconvdata/bug-iconv9.c: New file.
15259 2011-05-27 Andreas Schwab <schwab@redhat.com>
15262 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15264 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15266 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15267 (struct user_regs_struct): Change intcs field back to cs.
15269 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15271 * po/ja.po: Update from translation team.
15273 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15276 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15277 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15279 2011-05-20 Andreas Schwab <schwab@redhat.com>
15281 * stdlib/longlong.h: Update from GCC.
15283 2011-05-23 Andreas Schwab <schwab@redhat.com>
15285 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15287 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15288 Add parameter name.
15289 (__sysconf): Pass it down.
15291 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15294 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15296 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15297 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15298 add in in __libc_use_alloca calls. Adjust callers.
15299 (glob): Use malloc in some situations.
15301 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15302 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15305 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15307 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15308 and CLOCK_BOOTTIME_ALARM.
15311 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15314 * string/_strerror.c (__strerror_r): Print negative errors as signed
15318 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15319 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15320 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15322 * configure.in: Fix typo in redirection and correct removal of test
15323 files in two cases.
15326 * locale/setlocale.c (new_composite_name): Fix test to check for
15327 identical name of all categories.
15330 * libio/filedoalloc.c (local_isatty): New function.
15331 (_IO_file_doallocate): Use local_isatty.
15332 * stdio-common/perror.c (perror): In case a new stream is used
15333 forward the stream error.
15334 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15337 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15342 * include/alloca.h (extend_alloca_account): Define.
15345 * posix/regex.h: Fix comments with documentation of user-accessible
15346 fields after compilation and describe correct free'ing of pattern
15347 after re_compile_pattern.
15348 Patch by Reuben Thomas <rrt@sc3d.org>.
15350 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15352 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15353 and -mno-altivec to prevent the compiler from using Altivec and/or
15354 VSX instructions when the corresponding registers are not available.
15356 2011-05-19 Andreas Schwab <schwab@redhat.com>
15358 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15360 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15362 * libio/freopen.c (freopen): Use __dup2, not dup2.
15363 * libio/freopen64.c (freopen64): Likewise.
15365 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15368 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15369 * math/Makefile (tests): Add test-powl.
15370 (CFLAGS-test-powl.c): Define.
15371 * math/test-powl.c: New file.
15373 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15375 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15377 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15380 * iconvdata/gb18030.c: Update to GB18020-2005.
15382 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15384 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15385 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15386 Patch by Aharon Robbins <arnold@skeeve.com>.
15389 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15393 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15394 through underflows.
15397 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15398 point to strings before performing equality test for error_one_per_line
15402 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15405 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15406 (struct user_fpregs_struct): Avoid __uint*_t types.
15409 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15410 symbol info. Use it instead of calling _dl_addr locally.
15411 (lock_and_info): New function.
15412 (tr_freehook): Call lock_and_info and pass symbol info as additional
15413 parameter to tr_where.
15414 (tr_mallochook): Likewise.
15415 (tr_reallochook): Likewise.
15416 (tr_memalignhook): Likewise.
15418 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15419 used and couldn't be at all thread-safe.
15421 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15423 * libio/freopen.c (freopen): Don't close old file descriptor
15424 before the new one is opened. Instead dup the new file descriptor
15425 to the old one after the new stream is created.
15426 * libio/freopen64.c (freopen64): Likewise.
15427 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15428 * libio/fileops.c (_IO_new_file_close_it): Handle new
15429 _IO_FLAGS2_NOCLOSE flag.
15430 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15431 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15432 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15433 _IO_FLAGS2_NOCLOSE flag.
15434 * include/unistd.h: Add hidden_proto for dup3.
15435 Define __have_dup3.
15436 * io/dup3.c: Define hidden symbol.
15437 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15440 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15441 when an incomplete long option is used.
15442 * posix/tst-getopt_long1.c: New file.
15443 * posix/Makefile (tests): Add tst-getopt_long1.
15446 * scripts/config.guess: Update from autoconf-2.68.
15447 * scripts/config.sub: Likewise.
15450 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15452 (has_cpuclock): ...this. New function.
15453 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15454 macro here based on has_cpuclock code.
15457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15458 First byte (not low byte) is now always NUL.
15459 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15461 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15462 Use non-cancelable interfaces.
15465 * locale/iso-639.def: Add entry for Sorani.
15468 * include/stdlib.h: Move include protection to the right place.
15469 Define abort_msg_s. Declare __abort_msg with it.
15470 * stdlib/abort.c (__abort_msg): Adjust type.
15471 * assert/assert.c (__assert_fail_base): New function. Majority
15472 of code from __assert_fail. Allocate memory for __abort_msg with
15474 (__assert_fail): Now call __assert_fail_base.
15475 * assert/assert-perr.c: Remove bulk of implementation. Use
15476 __assert_fail_base.
15477 * include/assert.hL Declare __assert_fail_base.
15478 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15480 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15482 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15486 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15487 until all modules are registered in the DTV.
15488 * elf/Makefile: Add rules to build and run tst-tls19.
15489 * elf/tst-tls19.c: New file.
15490 * elf/tst-tls19mod1.c: New file.
15491 * elf/tst-tls19mod2.c: New file.
15492 * elf/tst-tls19mod3.c: New file.
15493 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15496 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15500 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15501 two-byte sequence errors.
15502 * iconvdata/Makefile (tests): Add bug-iconv8.
15503 * iconvdata/bug-iconv8.c: New file.
15506 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15509 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15512 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15513 (dummy_getcfa): New function.
15514 (init): Get _Unwind_GetCFA address, use dummy if not found.
15515 (backtrace_helper): In recursion check, also check whether CFA changes.
15516 (__backtrace): Completely initialize arg.
15518 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15519 storing incomplete byte sequence in state object. Avoid testing for
15520 guaranteed too small input if we know there is enough data available.
15522 2011-05-11 Andreas Schwab <schwab@redhat.com>
15524 * Makeconfig (+link-pie): Indent.
15525 * Rules (binaries-pie): Define if $(have-fpie) and
15527 (binaries-shared): Also filter out $(binaries-pie).
15528 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15529 * nscd/Makefile (others-pie): Add nscd.
15530 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15531 ($(objpfx)nscd): Remove command override.
15532 * login/Makefile (others-pie): Add pt_chown.
15533 ($(objpfx)pt_chown): Remove command override.
15534 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15535 remove command overrides.
15537 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15539 * libio/tst_putwc.c: Fix error messages.
15542 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15543 currently writing and seek to current position when not.
15544 * libio/Makefile (tests): Add bug-fclose1.
15545 * libio/bug-fclose1.c: New file.
15547 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15550 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15551 don't set DF_1_NODELETE here.
15552 (do_lookup_x): When entering new entry test for copy relocation
15553 and if necessary set DF_1_NODELETE flag.
15554 * elf/tst-unique4.cc: New file.
15555 * elf/tst-unique4.h: New file.
15556 * elf/tst-unique4lib.cc: New file.
15557 * elf/Makefile: Add rules to build and run tst-unique4.
15558 Patch by Piotr Bury <pbury@goahead.com>.
15560 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15563 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15566 * misc/mntent_r.c (addmntent): Flush the stream after the output
15569 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15570 (is_trusted_path_normalize): Skip initial colon. Append slash
15571 to empty buffer. Duplicate is_trusted_path code but allow
15572 constructed patch to be prefix.
15573 (is_dst): Allow $ORIGIN followed by /.
15574 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15575 Correct testing of result of is_trusted_path_normalize
15576 (decompose_rpath): Fix warning.
15578 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15581 * grp/initgroups.c (internal_getgrouplist): When we found the service
15582 list through the initgroups entry in nsswitch.conf do not always
15583 continue on a successful lookup. Don't always use the
15584 __nss_group_database value if it is set.
15585 * nss/nsswitch.conf (initgroups): Change action for successful db
15586 lookup to continue for compatibility.
15588 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15591 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15593 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15595 * iconvdata/tst-tables.sh: Likewise.
15596 * iconvdata/cp770.c: New file.
15597 * iconvdata/cp771.c: New file.
15598 * iconvdata/cp772.c: New file.
15599 * iconvdata/cp773.c: New file.
15600 * iconvdata/cp774.c: New file.
15601 * iconvdata/testdata/CP770: New file.
15602 * iconvdata/testdata/CP770..UTF8: New file.
15603 * iconvdata/testdata/CP771: New file.
15604 * iconvdata/testdata/CP771..UTF8: New file.
15605 * iconvdata/testdata/CP772: New file.
15606 * iconvdata/testdata/CP772..UTF8: New file.
15607 * iconvdata/testdata/CP773: New file.
15608 * iconvdata/testdata/CP773..UTF8: New file.
15609 * iconvdata/testdata/CP774: New file.
15610 * iconvdata/testdata/CP774..UTF8: New file.
15612 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15614 * iconvdata/gen-8bit-gap.sh: Likewise.
15615 * iconvdata/gen-8bit.sh: Likewise.
15617 * locale/iso-639.def: Add ary entry.
15620 * locale/C-translit.h.in: Add U20A1 transliteration.
15623 * locale/iso-639.def: Add wae entry.
15624 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15627 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15631 * locale/C-translit.h.in: Add entry for U20B9.
15632 Patch by pravin.d.s@gmail.com.
15634 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15637 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15638 ENAMETOOLONG use generic getcwd.
15639 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15640 in rtld. Use *stat64.
15641 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15642 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15643 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15644 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15645 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15646 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15647 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15648 __fstatat64 macros.
15649 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15650 * dirent/rewinddir.c: Add libc_hidden_def.
15651 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15652 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15654 * include/dirent.h (__alloc_dir): Add flags parameter.
15655 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15656 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15658 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15659 from fdopendir if O_CLOEXEC is already set.
15661 2011-03-15 Alan Modra <amodra@gmail.com>
15663 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15664 l_tls_firstbyte_offset non-zero. Save padding offset in
15665 l_tls_firstbyte_offset for later use.
15666 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15667 freeing static tls block.
15669 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15671 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15672 where #ifdef was intended. The intent is to prevent ARG_MAX from
15673 being defined by the kernel headers.
15675 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15678 * resolv/resolv.h: Define RES_NOTLDQUERY.
15679 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15680 no-tld-query and set RES_NOTLDQUERY.
15681 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15682 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15683 modern BIND to search name as TLD unless forbidden.
15685 2011-05-07 Petr Baudis <pasky@suse.cz>
15686 Ulrich Drepper <drepper@gmail.com>
15689 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15690 (is_trusted_path): ...to here.
15691 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15692 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15693 using is_trusted_path_normalize() in setuid scripts.
15695 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15697 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15698 __BEGIN/__END_DECLS.
15700 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15703 NSS_STATUS_NOTFOUND if no record was found.
15705 2011-05-05 Andreas Schwab <schwab@redhat.com>
15707 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15708 (headers-not-in-tirpc): Remove rpc/netdb.h
15709 * resolv/netdb.h: Revert last change.
15711 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15713 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15714 circular dependency between libgcc.a and libc.a.
15716 2011-05-05 Andreas Schwab <schwab@redhat.com>
15718 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15719 * nis/Makefile: Don't install rpcsvc/*.
15720 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15721 instead of <rpc/types.h>.
15722 (MAXHOSTNAMELEN): Define.
15724 2011-05-03 Andreas Schwab <schwab@redhat.com>
15726 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15728 2011-04-28 Maciej Babinski <mbabinski@google.com>
15731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15732 gethostbyname4_r when IPv6 results are possible.
15734 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15737 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15738 _PC_PIPE_BUF handling.
15740 2011-04-30 Bruno Haible <bruno@clisp.org>
15743 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15744 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15746 * inet/getnameinfo.c (getnameinfo): Likewise.
15748 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15750 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15751 to groups setting in database lookup.
15752 * nss/nsswitch.conf: Add initgroups entry.
15754 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15757 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15759 Patch by Eric Blake <eblake@redhat.com>.
15761 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15763 * sunrpc/Makefile (need-export-routines): Add svc_run.
15764 (routines): Remove svc_run.
15765 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15766 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15767 * sunrpc/svc_run.c (svc_run): Likewise.
15768 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15770 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15772 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15773 problem in reallocation in last patch.
15775 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15777 * sunrpc/Makefile: Move inclusion of Rules.
15779 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15781 * nss/nss_files/files-initgroups.c: New file.
15782 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15783 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15784 _nss_files_initgroups_dyn.
15786 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15788 * elf/elf.h (R_ARM_IRELATIVE): Define.
15790 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15792 * po/ru.po: Update from translation team.
15794 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15796 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15799 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15802 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15803 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15808 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15810 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15812 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15813 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15814 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15816 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15819 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15821 * stdlib/bug-getcontext.c: New file.
15822 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15824 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15826 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15827 instructions into .machine "z9-109".
15828 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15829 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15831 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15833 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15834 between environment variables and auxiliary vector.
15836 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15838 * Makefile: Add rules to build linkobj/libc.so.
15839 * include/libc-symbols.h: Define libc_hidden_nolink.
15840 * include/rpc/auth.h: Mark functions which are to be hidden.
15841 * include/rpc/auth_des.h: Likewise.
15842 * include/rpc/auth_unix.h: Likewise.
15843 * include/rpc/clnt.h: Likewise.
15844 * include/rpc/des_crypt.h: Likewise.
15845 * include/rpc/key_prot.h: Likewise.
15846 * include/rpc/pmap_clnt.h: Likewise.
15847 * include/rpc/pmap_prot.h: Likewise.
15848 * include/rpc/pmap_rmt.h: Likewise.
15849 * include/rpc/rpc_msg.h: Likewise.
15850 * include/rpc/svc.h: Likewise.
15851 * include/rpc/svc_auth.h: Likewise.
15852 * include/rpc/xdr.h: Likewise.
15853 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15854 * nss/Makefile: Likewise.
15855 * sunrpc/Makefile: Don't install headers. Build library with normal
15856 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15857 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15858 for the compat linking library. Remove use of INTDEF/INTUSE.
15859 * sunrpc/auth_none.c: Likewise.
15860 * sunrpc/auth_unix.c: Likewise.
15861 * sunrpc/authdes_prot.c: Likewise.
15862 * sunrpc/authuxprot.c: Likewise.
15863 * sunrpc/clnt_gen.c: Likewise.
15864 * sunrpc/clnt_perr.c: Likewise.
15865 * sunrpc/clnt_raw.c: Likewise.
15866 * sunrpc/clnt_simp.c: Likewise.
15867 * sunrpc/clnt_tcp.c: Likewise.
15868 * sunrpc/clnt_udp.c: Likewise.
15869 * sunrpc/clnt_unix.c: Likewise.
15870 * sunrpc/des_crypt.c: Likewise.
15871 * sunrpc/des_soft.c: Likewise.
15872 * sunrpc/get_myaddr.c: Likewise.
15873 * sunrpc/key_call.c: Likewise.
15874 * sunrpc/key_prot.c: Likewise.
15875 * sunrpc/netname.c: Likewise.
15876 * sunrpc/pm_getmaps.c: Likewise.
15877 * sunrpc/pm_getport.c: Likewise.
15878 * sunrpc/pmap_clnt.c: Likewise.
15879 * sunrpc/pmap_prot.c: Likewise.
15880 * sunrpc/pmap_prot2.c: Likewise.
15881 * sunrpc/pmap_rmt.c: Likewise.
15882 * sunrpc/publickey.c: Likewise.
15883 * sunrpc/rpc_cmsg.c: Likewise.
15884 * sunrpc/rpc_common.c: Likewise.
15885 * sunrpc/rpc_dtable.c: Likewise.
15886 * sunrpc/rpc_prot.c: Likewise.
15887 * sunrpc/rpc_thread.c: Likewise.
15888 * sunrpc/rtime.c: Likewise.
15889 * sunrpc/svc.c: Likewise.
15890 * sunrpc/svc_auth.c: Likewise.
15891 * sunrpc/svc_authux.c: Likewise.
15892 * sunrpc/svc_raw.c: Likewise.
15893 * sunrpc/svc_run.c: Likewise.
15894 * sunrpc/svc_simple.c: Likewise.
15895 * sunrpc/svc_tcp.c: Likewise.
15896 * sunrpc/svc_udp.c: Likewise.
15897 * sunrpc/svc_unix.c: Likewise.
15898 * sunrpc/svcauth_des.c: Likewise.
15899 * sunrpc/xcrypt.c: Likewise.
15900 * sunrpc/xdr.c: Likewise.
15901 * sunrpc/xdr_array.c: Likewise.
15902 * sunrpc/xdr_float.c: Likewise.
15903 * sunrpc/xdr_intXX_t.c: Likewise.
15904 * sunrpc/xdr_mem.c: Likewise.
15905 * sunrpc/xdr_rec.c: Likewise.
15906 * sunrpc/xdr_ref.c: Likewise.
15907 * sunrpc/xdr_sizeof.c: Likewise.
15908 * sunrpc/xdr_stdio.c: Likewise.
15910 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15913 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15914 * sysdeps/ia64/dl-tls.h: Likewise.
15915 * sysdeps/powerpc/dl-tls.h: Likewise.
15916 * sysdeps/s390/dl-tls.h: Likewise.
15917 * sysdeps/sh/dl-tls.h: Likewise.
15918 * sysdeps/sparc/dl-tls.h: Likewise.
15919 * sysdeps/x86_64/dl-tls.h: Likewise.
15920 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15922 2011-03-14 Andreas Schwab <schwab@redhat.com>
15924 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15925 rpath element also skip the following colon.
15926 (expand_dynamic_string_token): Add is_path parameter and pass
15927 down to DL_DST_REQUIRED and _dl_dst_substitute.
15928 (decompose_rpath): Call expand_dynamic_string_token with
15929 non-zero is_path. Ignore empty rpaths.
15930 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15933 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15938 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15941 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15942 Patch by Filipe David Manana <fdmanana@apache.org>.
15944 2011-04-07 Andreas Schwab <schwab@redhat.com>
15946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15947 Maintain aligned stack.
15948 (CHECK_RSP): Remove unused macro.
15950 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15952 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15953 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15955 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15957 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15959 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15961 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15964 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15965 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15966 * sysdeps/x86_64/memmove.c: New file.
15967 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15968 (memcpy): Renamed to ...
15969 (__new_memcpy): This.
15970 (memcpy): Provide GLIBC_2_14 memcpy.
15971 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15972 (memcpy): Provide GLIBC_2_2_5 memcpy.
15974 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15977 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15979 2011-03-30 Andreas Schwab <schwab@redhat.com>
15981 * misc/syncfs.c: New file.
15982 * misc/Makefile (routines): Add syncfs.
15983 * posix/unistd.h: Declare syncfs.
15984 * sysdeps/unix/syscalls.list: Add syncfs.
15986 2011-04-01 Andreas Schwab <schwab@redhat.com>
15988 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15990 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15991 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15993 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15995 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15996 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15998 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16001 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16002 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16005 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16006 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16008 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16009 sync_file_range.c with -fexceptions.
16010 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16011 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16012 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16013 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16014 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16015 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16016 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16017 sync_file_range as cancellation point
16018 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16019 now a wrapper around __call_sync_file_range with cancellation handling.
16020 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16021 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16022 function name to __call_sync_file_range.
16023 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16024 Add call_sync_file_range.
16026 2011-04-01 Andreas Schwab <schwab@redhat.com>
16028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16031 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16033 * iconv/iconv.h: Fix typo in comment.
16034 * io/fcntl.h: Likewise.
16035 * libio/stdio.h: Likewise.
16036 * posix/spawn.h: Likewise.
16037 * posix/unistd.h: Likewise.
16038 * stdlib/stdlib.h: Likewise.
16039 * time/time.h: Likewise.
16040 * wcsmbs/wchar.h: Likewise.
16042 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16043 open_by_handle): Add.
16044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16045 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16046 Augment a few comments.
16047 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16051 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16052 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16055 * io/fcntl.h (AT_EMPTY_PATH): Define.
16057 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16059 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16060 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16061 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16063 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16064 * Versions.def: Add GLIBC_2.14.
16065 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16068 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16070 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16072 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16074 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16077 * string/test-strncmp.c (do_page_test): New function.
16078 (check2): Likewise.
16079 (test_main): Call check2.
16080 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16082 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16085 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16086 Handle cache information in CPU leaf 4.
16087 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16089 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16092 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16093 character representation.
16094 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16096 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16098 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16099 END(__isnan) to END(__isnanf) to match function entry point/label
16100 EALIGN(__isnanf,...).
16102 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16104 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16106 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16109 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16110 copy from the symbol referenced in the relocation to initialize the
16112 Patch by Piotr Bury <pbury@goahead.com>.
16113 * elf/Makefile: Add rules to build and tst-unique3.
16114 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16115 * elf/tst-unique3.cc: New file.
16116 * elf/tst-unique3.h: New file.
16117 * elf/tst-unique3lib.cc: New file.
16118 * elf/tst-unique3lib2.cc: New file.
16120 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16122 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16124 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16125 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16128 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16130 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16131 to-be-loaded object along a path to loader is ld.so.
16133 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16134 Ulrich Drepper <drepper@gmail.com>
16136 * sysdeps/x86_64/memset.S: After aligning destination, code
16137 branches to different locations depending on the value of
16138 misalignment, when multiarch is enabled. Fix this.
16140 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16142 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16143 Set _x86_64_preferred_memory_instruction for AMD processsors.
16144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16145 Set bit_Prefer_SSE_for_memop for AMD processors.
16147 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16149 * libio/fmemopen.c (fmemopen): Optimize a bit.
16151 2011-03-03 Andreas Schwab <schwab@redhat.com>
16153 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16155 2011-03-03 Roland McGrath <roland@redhat.com>
16157 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16159 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16161 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16162 __bzero_ultra1 instead of __memset_ultra1.
16164 2011-02-23 Andreas Schwab <schwab@redhat.com>
16165 Ulrich Drepper <drepper@gmail.com>
16168 * include/link.h (struct link_map): Add l_orig_initfini.
16169 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16170 returning unsuccessfully.
16171 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16172 close of a file loaded at startup, restore the original l_initfini
16174 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16175 list, store the pointer.
16176 * elf/Makefile ($(objpfx)noload-mem): New rule.
16177 (noload-ENV): Define.
16178 (tests): Add $(objpfx)noload-mem.
16179 * elf/noload.c: Include <memcheck.h>.
16180 (main): Call mtrace. Close all opened handles.
16182 2011-02-17 Andreas Schwab <schwab@redhat.com>
16185 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16186 dependencies are missing.
16188 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16190 Fix __if_freereq crash: Unlike the generic version which uses free,
16192 * sysdeps/mach/hurd/ifreq.h: New file.
16194 2011-01-27 Petr Baudis <pasky@suse.cz>
16195 Ulrich Drepper <drepper@gmail.com>
16198 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16199 to extend_alloca().
16200 * stdio-common/bug23.c: New file.
16201 * stdio-common/Makefile (tests): Add bug23.
16203 2010-09-28 Andreas Schwab <schwab@redhat.com>
16204 Ulrich Drepper <drepper@gmail.com>
16207 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16208 before performing relro protection. At old place add assertion
16209 to make sure nothing changed.
16211 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16212 Glauber de Oliveira Costa <glommer@gmail.com>
16214 * elf/elf.h: Add new ARM TLS relocs.
16216 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16219 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16221 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16223 * sysdeps/wordsize-64/tst-writev.c: New file.
16225 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16227 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16228 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16229 insns in _dl_start to prevent a TOC reference before relocs are
16232 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16235 * Makeconfig: Remove RANLIB definition.
16236 * Makerules: Don't use RANLIB.
16237 * aclocal.m4: Remove ranlib test.
16238 * configure.in: No need to check for ranlib.
16239 * elf/rtld-Rules: Don't use RANLIB.
16241 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16243 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16245 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16246 inclusion protection macro.
16248 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16249 SIGRTMIN and SIGRTMAX and print information in that case only when
16250 SIGRTMIN is defined.
16252 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16254 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16255 arginfo fn returning -1.
16257 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16258 and thousands string is zero terminated.
16260 2011-02-03 Andreas Schwab <schwab@redhat.com>
16262 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16263 sysdeps/unix/sysv/linux/bits/socket.h.
16265 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16267 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16268 (__CPU_COUNT): Remove old macros.
16269 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16270 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16271 (__CPU_ALLOC, __CPU_FREE): Add macros.
16272 (__sched_cpualloc, __sched_cpufree): Add declarations.
16274 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16276 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16277 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16278 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16279 (readdhstai): Return value of addhstaiX call.
16280 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16281 (addgrbyX): Return value returned by cache_addgr.
16282 (readdgrbyname): Return value returned by addgrbyX.
16283 (readdgrbygid): Likewise.
16284 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16285 (addpwbyX): Return value returned by cache_addpw.
16286 (readdpwbyname): Return value returned by addhstbyX.
16287 (readdpwbyuid): Likewise.
16288 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16289 (addservbyX): Return value returned by cache_addserv.
16290 (readdservbyname): Return value returned by addservbyX:
16291 (readdservbyport): Likewise.
16292 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16293 (addhstbyX): Return value returned by cache_addhst.
16294 (readdhstbyname): Return value returned by addhstbyX.
16295 (readdhstbyaddr): Likewise.
16296 (readdhstbynamev6): Likewise.
16297 (readdhstbyaddrv6): Likewise.
16298 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16299 (readdinitgroups): Return value returned by addinitgroupsX.
16300 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16301 (prune_cache): Keep track of timeout value of re-added entries.
16302 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16303 * nscd/nscd.h: Adjust prototypes of readd* functions.
16305 2011-02-04 Roland McGrath <roland@redhat.com>
16307 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16308 (nis_stats): Likewise.
16309 * nis/nis_modify.c (nis_modify): Likewise.
16310 * nis/nis_remove.c (nis_remove): Likewise.
16311 * nis/nis_add.c (nis_add): Likewise.
16313 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16315 * posix/fnmatch_loop.c: Add some consts.
16317 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16319 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16322 * config.make.in (config-cflags-novzeroupper): Define.
16323 * configure.in: Substitute libc_cv_cc_novzeroupper.
16324 * elf/Makefile (AVX-CFLAGS): Define.
16325 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16326 (CFLAGS-tst-auditmod4a.c): Likewise.
16327 (CFLAGS-tst-auditmod4b.c): Likewise.
16328 (CFLAGS-tst-auditmod6b.c): Likewise.
16329 (CFLAGS-tst-auditmod6c.c): Likewise.
16330 (CFLAGS-tst-auditmod7b.c): Likewise.
16331 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16333 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16335 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16336 function to the callback.
16337 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16339 2011-02-02 Andreas Schwab <schwab@redhat.com>
16341 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16344 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16347 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16349 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16351 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16354 * elf/Makefile: Add rules to build and run new test.
16355 * elf/tst-initorder.c: New file.
16356 * elf/tst-initorder.exp: New file.
16357 * elf/tst-initordera1.c: New file.
16358 * elf/tst-initordera2.c: New file.
16359 * elf/tst-initordera3.c: New file.
16360 * elf/tst-initordera4.c: New file.
16361 * elf/tst-initorderb1.c: New file.
16362 * elf/tst-initorderb2.c: New file.
16363 * elf/tst-order-a1.c: New file.
16364 * elf/tst-order-a2.c: New file.
16365 * elf/tst-order-a3.c: New file.
16366 * elf/tst-order-a4.c: New file.
16367 * elf/tst-order-b1.c: New file.
16368 * elf/tst-order-b2.c: New file.
16369 * elf/tst-order-main.c: New file.
16370 New test case by George Gensure <werkt0@gmail.com>.
16372 2010-10-01 Andreas Schwab <schwab@redhat.com>
16374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16375 decoding ACE if AI_CANONIDN.
16377 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16379 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16381 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16383 * version.h (RELEASE): Bump for 2.13 release.
16384 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16386 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16388 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16390 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16391 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16392 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16393 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16394 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16397 * posix/getconf.c: Update copyright year.
16398 * catgets/gencat.c: Likewise.
16399 * csu/version.c: Likewise.
16400 * debug/catchsegv.sh: Likewise.
16401 * debug/xtrace.sh: Likewise.
16402 * elf/ldconfig.c: Likewise.
16403 * elf/ldd.bash.in: Likewise.
16404 * elf/sprof.c (print_version): Likewise.
16405 * iconv/iconv_prog.c: Likewise.
16406 * iconv/iconvconfig.c: Likewise.
16407 * locale/programs/locale.c: Likewise.
16408 * locale/programs/localedef.c: Likewise.
16409 * malloc/memusage.sh: Likewise.
16410 * malloc/mtrace.pl: Likewise.
16411 * nscd/nscd.c (print_version): Likewise.
16412 * nss/getent.c: Likewise.
16414 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16415 PF_CAIF, and PF_ALG.
16416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16418 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16420 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16421 (modules-names): Use them.
16422 (ifunc-test-modules, ifunc-pie-tests): Define.
16423 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16424 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16425 (test-extras): Likewise.
16426 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16427 $(compile-command.c).
16428 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16429 (all-built-dso): Define.
16430 (check-textrel.out, check-execstack.out): Depend on it.
16432 * configure.in: Don't override --enable-multi-arch.
16434 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16437 * nscd/hstcache.c (tryagain): Define.
16438 (cache_addhst): Return tryagain not notfound for temporary errors.
16439 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16442 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16445 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16446 to make the syscall.
16447 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16450 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16451 and fall back to matching as normal character if the string ends before
16452 the matching ']' is found. This is what POSIX requires.
16453 * posix/testfnm.c: Adjust test result.
16454 * posix/globtest.sh: Adjust test result. Add new test.
16455 * posix/tst-fnmatch.input: Likewise.
16456 * posix/tst-fnmatch2.c: Add new test.
16458 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16460 * elf/Makefile (check-execstack): Revert last change. Depend on
16462 (check-execstack.h): New target.
16463 (generated): Add check-execstack.h.
16464 * elf/check-execstack.c: Include "check-execstack.h".
16465 (main): Revert last change.
16466 (handle_file): Return zero if GNU_STACK is absent and
16467 DEFAULT_STACK_PERMS doesn't include PF_X.
16469 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16471 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16472 in child fails because the descriptor is already closed.
16473 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16474 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16475 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16478 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16482 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16483 temporary buffer used to handle multi lookups locally.
16484 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16486 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16488 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16491 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16493 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16494 alignment for SSE2.
16496 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16499 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16500 characters. When rounding increased number of integer digits recompute
16502 * stdio-common/tst-grouping.c: New file.
16503 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16505 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16507 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16508 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16510 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16512 * bits/select.h: Likewise.
16514 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16516 * po/ja.po: Update from translation team.
16518 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16521 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16522 implementation just like for lxstat, fxstatat, et al.
16524 2010-12-27 Jim Meyering <meyering@redhat.com>
16527 * posix/regexec.c (build_trtable): Return failure indication upon
16528 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16530 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16533 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16534 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16535 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16536 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16539 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16542 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16543 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16545 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16547 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16548 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16549 script has SORT_BY_INIT_PRIORITY.
16550 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16551 NO_CTORS_DTORS_SECTIONS is defined.
16552 * elf/soinit.c: Likewise.
16553 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16554 NO_CTORS_DTORS_SECTIONS is defined.
16555 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16556 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16557 * sysdeps/sh/init-first.c: Likewise.
16558 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16560 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16562 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16563 always use the slow path.
16565 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16567 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16568 similar rule which adds the sysdep directories to the header search in
16569 order to pick up the correct platform stackinfo.h.
16570 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16571 perform test if it is, otherwise return successfully without testing.
16572 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16573 DEFAULT_STACK_PERMS define in stackinfo.h.
16574 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16575 defined in stackinfo.h.
16576 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16577 DEFAULT_STACK_PERMS defined in stackinfo.h.
16578 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16579 * sysdeps/ia64/stackinfo.h: Likewise.
16580 * sysdeps/s390/stackinfo.h: Likewise.
16581 * sysdeps/sh/stackinfo.h: Likewise.
16582 * sysdeps/sparc/stackinfo.h: Likewise.
16583 * sysdeps/x86_64/stackinfo.h: Likewise.
16584 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16585 PF_X for powerpc64. Retain PF_X for powerpc32.
16587 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16589 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16591 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16592 GETDENTS_64BIT_ALIGNED.
16594 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16596 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16598 2010-12-10 Andreas Schwab <schwab@redhat.com>
16600 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16603 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16604 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16606 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16607 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16609 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16612 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16615 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16617 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16619 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16621 * po/it.po: Update from translation team.
16623 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16628 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16630 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16632 2010-11-24 Andreas Schwab <schwab@redhat.com>
16634 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16636 (gaih_getanswer_slice): Likewise.
16638 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16642 2010-05-31 Petr Baudis <pasky@suse.cz>
16645 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16646 silently even in the chroot mode.
16648 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16650 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16651 last patch a bit. Pretty printing
16653 2010-05-31 Petr Baudis <pasky@suse.cz>
16656 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16657 initialization of skip_initgroups_dyn.
16659 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16661 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16662 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16664 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16666 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16668 2010-11-11 Andreas Schwab <schwab@redhat.com>
16670 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16671 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16672 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16673 ($(objpfx)tst-fnmatch-mem): New rule.
16674 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16675 * posix/tst-fnmatch.c (main): Call mtrace.
16677 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16680 Support Intel processor model 6 and model 0x2c.
16682 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16684 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16687 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16690 * string/test-strncasecmp.c (check_result): New function.
16691 (do_one_test): Use it.
16692 (check1): New function.
16693 (test_main): Use it.
16694 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16695 Support strcasecmp and strncasecmp.
16697 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16700 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16701 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16703 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16705 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16709 * sysdeps/x86_64/multiarch/bzero.S: New file.
16710 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16711 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16712 * sysdeps/x86_64/multiarch/memset.S: New file.
16713 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16715 Set bit_Prefer_SSE_for_memop for Intel processors.
16716 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16718 (index_Prefer_SSE_for_memop): Define.
16719 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16721 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16723 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16724 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16726 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16729 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16730 (__x86_64_raw_data_cache_size_half): Likewise.
16731 (__x86_64_raw_shared_cache_size): Likewise.
16732 (__x86_64_raw_shared_cache_size_half): Likewise.
16734 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16735 (__x86_64_raw_data_cache_size_half): Likewise.
16736 (__x86_64_raw_shared_cache_size): Likewise.
16737 (__x86_64_raw_shared_cache_size_half): Likewise.
16738 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16739 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16740 and __x86_64_raw_shared_cache_size_half. Round
16741 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16742 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16743 to multiple of 256 bytes.
16745 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16749 of inacessible symlinks. Verify result of symlink before returning it.
16750 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16751 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16753 2010-10-28 Erich Ritz <erichritz@gmail.com>
16755 * math/math.h (isinf): Fix typo in comment.
16757 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16759 * po/da.po: Update from translation team.
16761 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16763 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16764 is added to the list.
16766 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16767 Ulrich Drepper <drepper@gmail.com>
16769 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16770 the global list here. Move code to...
16771 (_dl_add_to_namespace_list): ...here. New function.
16772 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16773 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16774 * elf/dl-load.c (lose): Don't remove the element from the list.
16775 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16776 (_dl_map_object): Likewise.
16778 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16781 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16782 into all bytes of SSE register.
16783 Patch by Richard Li <richardpku@gmail.com>.
16785 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16788 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16791 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16793 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16794 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16795 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16796 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16801 2010-10-22 Andreas Schwab <schwab@redhat.com>
16803 * include/dlfcn.h (__RTLD_SECURE): Define.
16804 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16805 mode & __RTLD_SECURE instead.
16806 (open_path): Rename preloaded parameter to secure.
16807 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16808 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16809 * elf/dl-deps.c (openaux): Likewise.
16810 * elf/rtld.c (struct map_args): Remove is_preloaded.
16811 (map_doit): Don't use it.
16812 (dl_main): Likewise.
16813 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16814 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16816 2010-09-09 Andreas Schwab <schwab@redhat.com>
16818 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16819 (sysd-rules-targets): Remove duplicates.
16820 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16821 rtld-%.$o dependency.
16823 2010-10-18 Andreas Schwab <schwab@redhat.com>
16825 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16826 _dl_map_object do it.
16828 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16830 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16831 fast fma builtins, define the macros in the C99 standard.
16832 (FP_FAST_FMAF): Likewise.
16833 (FP_FAST_FMAL): Likewise.
16834 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16836 * bits/mathdef.h: Update copyright year.
16837 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16839 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16841 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16842 builtins, define the macros in the C99 standard.
16843 (FP_FAST_FMAF): Likewise.
16844 (FP_FAST_FMAL): Likewise.
16845 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16847 (FP_FAST_FMAF): Likewise.
16849 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16852 * math/libm-test.inc (fma_test): Some new testcases.
16853 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16854 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16855 y and infinite z. Do multiplication by C already in long double.
16856 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16858 y and infinite z. Do bitwise or of inexact bit into u.d.
16859 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16860 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16861 * sysdeps/i386/fpu/s_fma.S: Removed.
16862 * sysdeps/i386/fpu/s_fmal.S: Removed.
16864 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16867 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16869 computation is not scheduled after fetestexcept. Fix value
16870 of minimum denormal long double.
16872 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16875 * math/libm-test.inc (fma_test): Add some more tests.
16876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16879 2010-10-15 Andreas Schwab <schwab@redhat.com>
16881 * scripts/data/localplt-s390-linux-gnu.data: New file.
16882 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16884 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16887 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16888 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16890 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16892 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16894 if one of x and y is very large and the other is subnormal.
16895 * sysdeps/s390/fpu/s_fmaf.c: New file.
16896 * sysdeps/s390/fpu/s_fma.c: New file.
16897 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16898 * sysdeps/powerpc/fpu/s_fma.S: New file.
16899 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16900 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16901 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16903 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16906 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16908 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16909 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16910 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16911 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16912 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16913 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16914 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16916 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16919 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16920 * posix/bug-regex31.input: Add test case.
16922 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16924 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16925 * posix/bug-regex31.input: New file.
16928 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16929 (parse_sub_exp): Fix last change, use postorder.
16931 * posix/bug-regex31.c: New file.
16932 * posix/Makefile: Add rules to build and run bug-regex31.
16934 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16937 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16940 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16941 to have entries in sys_siglist.
16944 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16947 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16950 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16951 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16952 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16953 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16954 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16955 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16956 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16957 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16958 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16959 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16960 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16961 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16962 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16963 * math/ftestexcept.c (fetestexcept): Likewise.
16964 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16965 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16966 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16967 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16968 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16969 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16970 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16972 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16975 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16978 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16980 * string/bug-strstr1.c: New file.
16981 * string/Makefile: Add rules to build and run bug-strstr1.
16983 2010-10-05 Eric Blake <eblake@redhat.com>
16986 * string/str-two-way.h (two_way_long_needle): Always clear memory
16987 when skipping input due to the shift table.
16989 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16992 * malloc/mcheck.c: Handle large requests.
16995 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16996 for strncmp and strncasecmp.
16997 * string/stratcliff.c: Add tests for strcmp and strncmp.
16998 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17000 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17002 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17005 2010-09-30 Andreas Jaeger <aj@suse.de>
17007 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17008 (CGROUP_SUPER_MAGIC): Define.
17009 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17010 Handle btrfs and cgroup file systems.
17011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17014 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17016 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17017 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17019 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17022 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17023 trying to locate the ELF header.
17025 2010-09-27 Andreas Schwab <schwab@redhat.com>
17028 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17029 Mask out sign-bit copies when constructing f_fsid.
17031 2010-09-24 Petr Baudis <pasky@suse.cz>
17033 * debug/stack_chk_fail_local.c: Add missing licence exception.
17034 * debug/warning-nop.c: Likewise.
17036 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17038 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17039 implementing getdents64 using getdents syscall, set d_type if
17040 __ASSUME_GETDENTS32_D_TYPE.
17042 2010-09-16 Andreas Schwab <schwab@redhat.com>
17044 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17045 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17047 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17050 * posix/unistd.h: Undo change of feature selection for ftruncate from
17053 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17055 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17058 2010-09-20 Andreas Schwab <schwab@redhat.com>
17060 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17062 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17064 2010-09-14 Andreas Schwab <schwab@redhat.com>
17066 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17067 variables after CHECK_SP call.
17068 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17070 2010-09-13 Andreas Schwab <schwab@redhat.com>
17071 Ulrich Drepper <drepper@redhat.com>
17073 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17074 re-relocationg ld.so.
17075 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17076 _dl_init_paths call.
17077 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17080 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17082 * resolv/res_init.c (__res_vinit): Count the default server we added.
17084 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17085 Ulrich Drepper <drepper@redhat.com>
17088 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17089 (____longjmp_chk): Use %ebx for saving value across system call.
17092 2010-09-06 Andreas Schwab <schwab@redhat.com>
17094 * manual/Makefile: Don't mix pattern rules with normal rules.
17096 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17098 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17100 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17101 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17102 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17103 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17104 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17107 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17110 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17111 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17113 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17115 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17116 * sysdeps/x86_64/addmul_1.S: Likewise.
17117 * sysdeps/x86_64/lshift.S: Likewise.
17118 * sysdeps/x86_64/mul_1.S: Likewise.
17119 * sysdeps/x86_64/rshift.S: Likewise.
17120 * sysdeps/x86_64/sub_n.S: Likewise.
17121 * sysdeps/x86_64/submul_1.S: Likewise.
17123 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17125 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17126 Define __sched_param instead of SCHED_* and sched_param when
17127 <bits/sched.h> is included with __need_schedparam defined.
17128 * bits/sched.h [__need_schedparam]
17129 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17130 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17131 (__defined_schedparam): Define to 1.
17132 (__sched_param): New structure, identical to sched_param.
17133 (__need_schedparam): Undefine.
17135 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17137 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17138 (epoll_create1): Declare.
17140 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17142 2010-08-31 Andreas Schwab <schwab@redhat.com>
17145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17146 shifting retval into place.
17148 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17150 * nis/rpcsvc/nis.h: Update copyright notice.
17151 * nis/rpcsvc/nis.x: Likewise.
17152 * nis/rpcsvc/nis_callback.h: Likewise.
17153 * nis/rpcsvc/nis_callback.x: Likewise.
17154 * nis/rpcsvc/nis_object.x: Likewise.
17155 * nis/rpcsvc/nis_tags.h: Likewise.
17156 * nis/rpcsvc/yp.h: Likewise.
17157 * nis/rpcsvc/yp.x: Likewise.
17158 * nis/rpcsvc/ypupd.h: Likewise.
17159 * nis/yp_xdr.c: Likewise.
17160 * nis/ypupdate_xdr.c: Likewise.
17162 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17163 mainly the body of pmap_getport. Add parameters to specify timeouts.
17164 (pmap_getport): Use __libc_rpc_getport.
17165 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17166 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17167 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17169 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17174 2010-08-27 Roland McGrath <roland@redhat.com>
17176 * sysdeps/i386/i686/multiarch/Makefile
17177 (CFLAGS-varshift.c): New variable.
17179 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17181 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17182 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17186 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17188 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17190 * sysdeps/x86_64/strlen.S: Unroll the loop.
17191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17192 strlen-sse2 strlen-sse2-bsf.
17193 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17194 __strlen_no_bsf if bit_Slow_BSF is set.
17195 (__strlen_sse42): Removed.
17196 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17197 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17199 2010-08-25 Roland McGrath <roland@redhat.com>
17201 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17202 * sysdeps/x86_64/multiarch/varshift.c: New file.
17203 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17204 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17205 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17206 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17208 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17211 strlen-sse2 strlen-sse2-bsf.
17212 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17213 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17214 (__strlen_sse2): Removed.
17215 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17216 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17218 bit_Slow_BSF for Atom.
17219 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17220 (index_Slow_BSF): Define.
17221 (HAS_SLOW_BSF): Define.
17223 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17226 * resolv/res_init.c (__res_vinit): When no server address at all
17227 is given default to loopback.
17229 2010-08-24 Roland McGrath <roland@redhat.com>
17231 * configure.in: Remove config-name.h generation.
17232 * configure: Regenerated.
17233 * config-name.in: File removed.
17234 * scripts/config-uname.sh: New file.
17235 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17236 ($(objdir)config-name.h): New target.
17238 * sunrpc/rpc_parse.h: Avoid nested comment.
17240 2010-08-24 Richard Henderson <rth@redhat.com>
17241 Ulrich Drepper <drepper@redhat.com>
17242 H.J. Lu <hongjiu.lu@intel.com>
17244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17246 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17247 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17248 _mm_alignr_epi8 with _mm_loadu_si128.
17249 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17250 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17251 (__m128i_shift_right): Removed.
17252 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17253 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17254 * sysdeps/x86_64/multiarch/varshift.h: New file.
17255 * sysdeps/x86_64/multiarch/varshift.S: New file.
17257 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17259 * configure.in: Move assembler checks to before sysdep dir checking.
17261 2010-08-20 Petr Baudis <pasky@suse.cz>
17263 * LICENSES: Sync the sunrpc license.
17265 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17267 * sunrpc/auth_des.c: Update copyright notice once again.
17268 * sunrpc/auth_none.c: Likewise.
17269 * sunrpc/auth_unix.c: Likewise.
17270 * sunrpc/authdes_prot.c: Likewise.
17271 * sunrpc/authuxprot.c: Likewise.
17272 * sunrpc/bindrsvprt.c: Likewise.
17273 * sunrpc/clnt_gen.c: Likewise.
17274 * sunrpc/clnt_perr.c: Likewise.
17275 * sunrpc/clnt_raw.c: Likewise.
17276 * sunrpc/clnt_simp.c: Likewise.
17277 * sunrpc/clnt_tcp.c: Likewise.
17278 * sunrpc/clnt_udp.c: Likewise.
17279 * sunrpc/clnt_unix.c: Likewise.
17280 * sunrpc/des_crypt.c: Likewise.
17281 * sunrpc/des_soft.c: Likewise.
17282 * sunrpc/get_myaddr.c: Likewise.
17283 * sunrpc/getrpcport.c: Likewise.
17284 * sunrpc/key_call.c: Likewise.
17285 * sunrpc/key_prot.c: Likewise.
17286 * sunrpc/openchild.c: Likewise.
17287 * sunrpc/pm_getmaps.c: Likewise.
17288 * sunrpc/pm_getport.c: Likewise.
17289 * sunrpc/pmap_clnt.c: Likewise.
17290 * sunrpc/pmap_prot.c: Likewise.
17291 * sunrpc/pmap_prot2.c: Likewise.
17292 * sunrpc/pmap_rmt.c: Likewise.
17293 * sunrpc/rpc/auth.h: Likewise.
17294 * sunrpc/rpc/auth_unix.h: Likewise.
17295 * sunrpc/rpc/clnt.h: Likewise.
17296 * sunrpc/rpc/des_crypt.h: Likewise.
17297 * sunrpc/rpc/key_prot.h: Likewise.
17298 * sunrpc/rpc/netdb.h: Likewise.
17299 * sunrpc/rpc/pmap_clnt.h: Likewise.
17300 * sunrpc/rpc/pmap_prot.h: Likewise.
17301 * sunrpc/rpc/pmap_rmt.h: Likewise.
17302 * sunrpc/rpc/rpc.h: Likewise.
17303 * sunrpc/rpc/rpc_des.h: Likewise.
17304 * sunrpc/rpc/rpc_msg.h: Likewise.
17305 * sunrpc/rpc/svc.h: Likewise.
17306 * sunrpc/rpc/svc_auth.h: Likewise.
17307 * sunrpc/rpc/types.h: Likewise.
17308 * sunrpc/rpc/xdr.h: Likewise.
17309 * sunrpc/rpc_clntout.c: Likewise.
17310 * sunrpc/rpc_cmsg.c: Likewise.
17311 * sunrpc/rpc_common.c: Likewise.
17312 * sunrpc/rpc_cout.c: Likewise.
17313 * sunrpc/rpc_dtable.c: Likewise.
17314 * sunrpc/rpc_hout.c: Likewise.
17315 * sunrpc/rpc_main.c: Likewise.
17316 * sunrpc/rpc_parse.c: Likewise.
17317 * sunrpc/rpc_parse.h: Likewise.
17318 * sunrpc/rpc_prot.c: Likewise.
17319 * sunrpc/rpc_sample.c: Likewise.
17320 * sunrpc/rpc_scan.c: Likewise.
17321 * sunrpc/rpc_scan.h: Likewise.
17322 * sunrpc/rpc_svcout.c: Likewise.
17323 * sunrpc/rpc_tblout.c: Likewise.
17324 * sunrpc/rpc_util.c: Likewise.
17325 * sunrpc/rpc_util.h: Likewise.
17326 * sunrpc/rpcinfo.c: Likewise.
17327 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17328 * sunrpc/rpcsvc/key_prot.x: Likewise.
17329 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17330 * sunrpc/rpcsvc/mount.x: Likewise.
17331 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17332 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17333 * sunrpc/rpcsvc/rex.x: Likewise.
17334 * sunrpc/rpcsvc/rstat.x: Likewise.
17335 * sunrpc/rpcsvc/rusers.x: Likewise.
17336 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17337 * sunrpc/rpcsvc/spray.x: Likewise.
17338 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17339 * sunrpc/rtime.c: Likewise.
17340 * sunrpc/svc.c: Likewise.
17341 * sunrpc/svc_auth.c: Likewise.
17342 * sunrpc/svc_authux.c: Likewise.
17343 * sunrpc/svc_raw.c: Likewise.
17344 * sunrpc/svc_run.c: Likewise.
17345 * sunrpc/svc_simple.c: Likewise.
17346 * sunrpc/svc_tcp.c: Likewise.
17347 * sunrpc/svc_udp.c: Likewise.
17348 * sunrpc/svc_unix.c: Likewise.
17349 * sunrpc/svcauth_des.c: Likewise.
17350 * sunrpc/xcrypt.c: Likewise.
17351 * sunrpc/xdr.c: Likewise.
17352 * sunrpc/xdr_array.c: Likewise.
17353 * sunrpc/xdr_float.c: Likewise.
17354 * sunrpc/xdr_mem.c: Likewise.
17355 * sunrpc/xdr_rec.c: Likewise.
17356 * sunrpc/xdr_ref.c: Likewise.
17357 * sunrpc/xdr_sizeof.c: Likewise.
17358 * sunrpc/xdr_stdio.c: Likewise.
17360 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17363 2010-08-19 Andreas Schwab <schwab@redhat.com>
17365 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17367 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17369 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17370 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17371 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17372 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17373 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17374 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17375 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17376 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17377 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17378 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17379 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17380 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17381 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17382 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17384 2010-07-26 Anton Blanchard <anton@samba.org>
17386 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17387 * malloc/arena.c (heap_trim): Likewise.
17389 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17391 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17394 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17396 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17398 * sysdeps/i386/elf/Makefile: New file.
17400 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17402 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17403 from fanotify_init.
17404 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17407 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17409 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17411 * sysdeps/multiarch/strcmp.S: Likewise.
17413 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17415 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17416 strncase_l-nonascii.
17417 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17418 Add strncase_l-ssse3.
17419 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17420 * sysdeps/x86_64/strcmp.S: Likewise.
17421 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17422 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17423 * sysdeps/x86_64/strncase.S: New file.
17424 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17425 * sysdeps/x86_64/strncase_l.S: New file.
17426 * string/Makefile (strop-tests): Add strncasecmp.
17427 * string/test-strncasecmp.c: New file.
17429 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17432 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17433 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17435 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17437 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17439 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17441 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17442 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17443 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17445 2010-05-01 Alan Modra <amodra@gmail.com>
17447 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17448 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17449 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17450 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17451 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17452 tidying. Don't tail-call __sigjmp_save for static lib.
17453 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17455 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17456 (CALL_MCOUNT): Add eh info, and nop after bl.
17457 (TAIL_CALL_SYSCALL_ERROR): New macro.
17458 (PSEUDO_RET): Use it.
17459 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17460 Correct save location of integer regs and cr.
17461 (_dl_profile_resolve): Correct cr save location. Delete nops
17462 after bl when SHARED. Reduce cfi size a little by better
17463 placement of cfi directives.
17464 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17465 make a stack frame. Instead use parm save area as a temp.
17466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17467 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17469 Don't make a stack frame for parent, use parm save area.
17470 Increase child stack frame to 112 bytes. Don't save unused reg,
17471 and adjust reg usage. Set up cfi on error recovery and
17472 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17474 (__makecontext): Add dummy nop after jump to exit.
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17476 Use correct parm save area and cr save, reduce stack frame.
17477 Correct cfi for possible PSEUDO_RET frame setup.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17479 Branch to local label emitted by PSEUDO_RET rather than
17482 2010-08-12 Andreas Schwab <schwab@redhat.com>
17485 * locale/programs/locale.c (print_assignment): New function.
17486 (show_locale_vars): Use it.
17488 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17490 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17492 (struct statfs64): Likewise.
17493 (_STATFS_F_FLAGS): Define.
17494 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17495 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17496 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17497 (ST_VALID): Define locally.
17498 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17499 __statvfs_getflags, use the provided value.
17500 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17501 __ASSUME_STATFS_F_FLAGS.
17503 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17505 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17506 Add sys/fanotify.h.
17507 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17508 fanotify_mask for GLIBC_2.13.
17509 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17510 fanotify_init and fanotify_mark.
17511 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17512 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17514 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17516 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17517 prlimit64 for GLIBC_2.13.
17518 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17520 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17523 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17524 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17525 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17526 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17528 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17531 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17532 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17534 * nss/Makefile: Add rules to build and run tst-nss-test1.
17535 * shlib-versions: Add entry for libnss_test1.
17536 * nss/nss_test1.c: New file.
17537 * nss/tst-nss-test1.c: New file.
17539 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17540 (__nss_configure_lookup): Set appropriate entry in
17541 __nss_configure_lookup to true.
17542 * nss/nsswitch.h: Define enum with indeces of databases in
17543 databases and __nss_database_custom arrays. Declare
17544 __nss_database_custom.
17545 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17546 to avoid using nscd when custom rules are installed.
17547 * nss/getXXbyYY_r.c: Likewise.
17548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17550 * nss/nss_files/files-parse.c: Whitespace fixes.
17552 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17555 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17556 * posix/fnmatch_loop.c: Likewise.
17558 2010-07-17 Andi Kleen <ak@linux.intel.com>
17560 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17561 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17562 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17563 * Versions.def [GLIBC_2.13]: Add.
17565 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17567 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17568 Also fail if tpwd after pwuid call is NULL.
17570 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17572 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17573 when converting to ms.
17575 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17577 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17578 EOPNOTSUPP errors with ENOTTY.
17579 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17580 EOPNOTSUPP errors with ENOTTY.
17582 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17584 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17585 Add strcasecmp_l-ssse3.
17586 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17588 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17589 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17590 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17592 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17594 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17596 * string/Makefile (strop-tests): Add strcasecmp.
17597 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17598 strcasecmp_l-nonascii.
17599 (gen-as-const-headers): Add locale-defines.sym.
17600 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17601 * sysdeps/x86_64/strcasecmp.S: New file.
17602 * sysdeps/x86_64/strcasecmp_l.S: New file.
17603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17604 * sysdeps/x86_64/locale-defines.sym: New file.
17605 * string/test-strcasecmp.c: New file.
17607 * string/test-strcasestr.c: Test both ends of the range of characters.
17608 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17610 2010-07-29 Roland McGrath <roland@redhat.com>
17613 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17615 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17617 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17620 2010-07-27 Andreas Schwab <schwab@redhat.com>
17622 * manual/memory.texi (Malloc Tunable Parameters): Document
17625 2010-07-26 Roland McGrath <roland@redhat.com>
17628 * configure.in (-fgnu89-inline check): Set and substitute
17629 gnu89_inline, not libc_cv_gnu89_inline.
17630 * configure: Regenerated.
17631 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17633 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17635 * string/test-strnlen.c: New file.
17636 * string/Makefile (strop-tests): Add strnlen.
17637 * string/tester.c (test_strnlen): Add a few more test cases.
17638 * string/tst-strlen.c: Better error reporting.
17640 * sysdeps/x86_64/strnlen.S: New file.
17642 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17644 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17645 lower-latency instructions.
17647 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17649 * string/test-strcasestr.c: New file.
17650 * string/test-strstr.c: New file.
17651 * string/Makefile (strop-tests): Add strstr and strcasestr.
17652 * string/str-two-way.h: Don't undefine MAX.
17653 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17655 2010-07-21 Andreas Schwab <schwab@redhat.com>
17657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17658 strcasestr-nonascii.
17659 (CFLAGS-strcasestr-nonascii.c): Define.
17660 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17661 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17662 Remove unused attribute.
17664 2010-07-20 Roland McGrath <roland@redhat.com>
17666 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17667 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17668 ld.so.cache was broken. With it, there is no way to disable dsocaps
17669 like LD_HWCAP_MASK can disable hwcaps.
17671 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17673 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17675 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17677 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17678 call in strcasestr.
17679 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17680 __strcasestr_sse42_nonascii.
17681 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17682 strcasestr-nonascii.c.
17683 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17685 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17687 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17689 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17690 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17692 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17694 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17697 2010-07-06 Andreas Schwab <schwab@redhat.com>
17700 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17703 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17705 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17706 _PC_PIPE_BUF using F_GETPIPE_SZ.
17708 2010-07-05 Roland McGrath <roland@redhat.com>
17710 * manual/arith.texi (Rounding Functions): Fix rint description
17711 implicit in round description.
17713 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17715 * elf/Makefile: Fix linking for a few tests to make recent linker
17718 2010-06-30 Andreas Schwab <schwab@redhat.com>
17720 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17721 $(common-objpfx)libc_nonshared.a.
17723 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17725 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17726 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17727 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17728 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17729 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17730 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17731 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17732 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17747 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17748 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17749 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17750 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17751 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17752 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17753 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17754 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17755 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17756 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17757 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17758 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17774 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17776 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17777 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17778 * string/memmove.c (memmove): Renamed to ...
17779 (MEMMOVE): ...this. Default to memmove.
17780 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17781 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17784 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17785 mempcpy-ssse3-back memmove-ssse3-back.
17786 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17788 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17789 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17790 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17791 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17792 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17793 * sysdeps/x86_64/multiarch/memmove.c: New file.
17794 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17795 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17796 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17797 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17798 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17801 (index_Fast_Copy_Backward): Define.
17802 (HAS_ARCH_FEATURE): Define.
17803 (HAS_FAST_REP_STRING): Define.
17804 (HAS_FAST_COPY_BACKWARD): Define.
17806 2010-06-21 Andreas Schwab <schwab@redhat.com>
17808 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17809 Restore proper fallback handling.
17811 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17814 * posix/group_member.c (__group_member): Correct checking loop.
17816 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17817 OOM in getpwuid_r correctly. Return error number when the caller
17818 should return, otherwise -1.
17819 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17820 call returning > 0 value.
17821 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17823 2010-06-07 Andreas Schwab <schwab@redhat.com>
17825 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17826 libc_nonshared.a from targets in modules-names.
17828 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17830 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17833 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17835 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17836 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17837 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17838 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17840 2010-06-02 Andreas Schwab <schwab@redhat.com>
17842 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17844 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17846 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17848 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17849 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17855 2010-06-14 Roland McGrath <roland@redhat.com>
17857 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17859 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17861 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17862 __REDIRECT followed by __THROW.
17863 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17864 * posix/getopt.h (getopt): Likewise.
17866 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17868 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17869 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17870 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17872 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17873 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17875 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17879 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17883 Properly check family and model.
17885 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17887 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17889 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17891 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17893 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17895 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17898 2010-05-19 Andreas Schwab <schwab@redhat.com>
17900 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17903 2010-05-21 Andreas Schwab <schwab@redhat.com>
17905 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17906 and internal_recvmmsg.
17907 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17908 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17909 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17910 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17912 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17913 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17914 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17916 2010-05-20 Andreas Schwab <schwab@redhat.com>
17918 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17920 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17922 POWER7 optimizations.
17923 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17924 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17926 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17928 * version.h: Update for 2.13 development version.
17930 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17932 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17933 exceptions. Return 0.
17935 2010-05-07 Roland McGrath <roland@redhat.com>
17937 * elf/ldconfig.c (main): Add a const.
17939 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17941 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17942 (args_options): Add no-idn option.
17943 (ahosts_keys_int): Add idn_flags to ai_flags.
17944 (parse_option): Handle 'i' option to clear idn_flags.
17946 * malloc/malloc.c (_int_free): Possible race in the most recently
17947 added check. Only act on the data if no current modification
17950 See ChangeLog.17 for earlier changes.